From 5f39e819191894678d242740d1d64f4ecefb5e37 Mon Sep 17 00:00:00 2001 From: Svante Schubert Date: Thu, 22 Dec 2022 01:00:48 +0100 Subject: [PATCH 01/15] Changing dependencies from ODF 1.2 to ODF 1.3 for ODFDOM project --- .github/workflows/deployment.yml | 2 +- README.md | 7 + odfdom/pom.xml | 245 +- odfdom/src/codegen/README.md | 5 + odfdom/src/main/javadoc/overview.html | 20 +- .../100000000000009A0000009122A8E996.png | Bin 1131 -> 0 bytes .../100000000000009A000000A03132DB2D.png | Bin 1211 -> 0 bytes .../100000000000009A000000A052ACB0F4.png | Bin 1190 -> 0 bytes .../100000000000009A000000A0BDF285E0.png | Bin 1202 -> 0 bytes .../100000000000011C0000004AA64D38BB.gif | Bin 1686 -> 0 bytes .../10000000000001D800000075C6C51876.png | Bin 11066 -> 0 bytes .../100002000000000A0000000ADDA84F49.gif | Bin 103 -> 0 bytes .../10000200000000BD000000BD0362D7E7.gif | Bin 2623 -> 0 bytes .../10000200000000BD000000BDC014E7D1.gif | Bin 2574 -> 0 bytes .../10000200000000BE000000BE145B66A3.gif | Bin 2304 -> 0 bytes .../10000200000000BE000000BE25E7F573.gif | Bin 2700 -> 0 bytes .../10000200000000BE000000BE348BB081.gif | Bin 2327 -> 0 bytes .../10000200000000BE000000BE4F61FAAA.gif | Bin 3011 -> 0 bytes .../10000200000000BE000000BE99314183.gif | Bin 2552 -> 0 bytes .../10000200000000BE000000BEB3958805.gif | Bin 2344 -> 0 bytes .../10000200000000BE000000BEC7C6AB3C.gif | Bin 2158 -> 0 bytes .../10000200000000BE000000BED3754382.gif | Bin 2066 -> 0 bytes .../10000200000000BE000000BEE615D9E6.gif | Bin 2059 -> 0 bytes .../resources/OpenDocument-v1.2-part1.html | 387 -- .../resources/OpenDocument-v1.2-part3.html | 178 - .../OpenDocument-v1.3-os-part2-packages.html | 207 + .../OpenDocument-v1.3-os-part3-schema.html | 4977 +++++++++++++++++ .../src/main/resources/OdfChartDocument.odc | Bin 2278 -> 2285 bytes .../main/resources/OdfGraphicsDocument.odg | Bin 5848 -> 8870 bytes .../src/main/resources/OdfImageDocument.odi | Bin 5600 -> 5697 bytes .../resources/OdfPresentationDocument.odp | Bin 7715 -> 11149 bytes .../main/resources/OdfSpreadsheetDocument.ods | Bin 5491 -> 9435 bytes odfdom/src/main/resources/OdfTextDocument.odt | Bin 9897 -> 13252 bytes .../odftoolkit/odfdom/doc/DocumentTest.java | 6 +- .../odftoolkit/odfdom/doc/LoadSaveTest.java | 4 +- pom.xml | 267 +- .../odftoolkit_website/ReleaseNotes.mdtext | 15 +- .../odftoolkit_website/downloads.mdtext | 45 +- .../odfdom/taglet/OdfAttributeTaglet.java | 6 +- .../odfdom/taglet/OdfDatatypeTaglet.java | 4 +- .../odfdom/taglet/OdfElementTaglet.java | 6 +- 41 files changed, 5543 insertions(+), 838 deletions(-) delete mode 100644 odfdom/src/main/javadoc/resources/100000000000009A0000009122A8E996.png delete mode 100644 odfdom/src/main/javadoc/resources/100000000000009A000000A03132DB2D.png delete mode 100644 odfdom/src/main/javadoc/resources/100000000000009A000000A052ACB0F4.png delete mode 100644 odfdom/src/main/javadoc/resources/100000000000009A000000A0BDF285E0.png delete mode 100644 odfdom/src/main/javadoc/resources/100000000000011C0000004AA64D38BB.gif delete mode 100644 odfdom/src/main/javadoc/resources/10000000000001D800000075C6C51876.png delete mode 100644 odfdom/src/main/javadoc/resources/100002000000000A0000000ADDA84F49.gif delete mode 100644 odfdom/src/main/javadoc/resources/10000200000000BD000000BD0362D7E7.gif delete mode 100644 odfdom/src/main/javadoc/resources/10000200000000BD000000BDC014E7D1.gif delete mode 100644 odfdom/src/main/javadoc/resources/10000200000000BE000000BE145B66A3.gif delete mode 100644 odfdom/src/main/javadoc/resources/10000200000000BE000000BE25E7F573.gif delete mode 100644 odfdom/src/main/javadoc/resources/10000200000000BE000000BE348BB081.gif delete mode 100644 odfdom/src/main/javadoc/resources/10000200000000BE000000BE4F61FAAA.gif delete mode 100644 odfdom/src/main/javadoc/resources/10000200000000BE000000BE99314183.gif delete mode 100644 odfdom/src/main/javadoc/resources/10000200000000BE000000BEB3958805.gif delete mode 100644 odfdom/src/main/javadoc/resources/10000200000000BE000000BEC7C6AB3C.gif delete mode 100644 odfdom/src/main/javadoc/resources/10000200000000BE000000BED3754382.gif delete mode 100644 odfdom/src/main/javadoc/resources/10000200000000BE000000BEE615D9E6.gif delete mode 100644 odfdom/src/main/javadoc/resources/OpenDocument-v1.2-part1.html delete mode 100644 odfdom/src/main/javadoc/resources/OpenDocument-v1.2-part3.html create mode 100644 odfdom/src/main/javadoc/resources/OpenDocument-v1.3-os-part2-packages.html create mode 100644 odfdom/src/main/javadoc/resources/OpenDocument-v1.3-os-part3-schema.html diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index aa525a45ed..b9c6e44318 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -31,7 +31,7 @@ jobs: release_name: odftoolkit-${{ env.release_version }} # <--- Use environment variables that was created before overwrite: true file_glob: true - body: "Support of **ODF 1.2** and >=**JDK 11**\n + body: "Support of **ODF 1.3** and >=**JDK 11**\n \n Detailed documentation:\n https://tdf.github.io/odftoolkit/ReleaseNotes.html#release-${{ env.release_version }}\n diff --git a/README.md b/README.md index 6db0ae5974..94f643bd88 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,13 @@ build system. To build ODF Toolkit, use the following command in this directory: ## Recent Releases +1. We have a *release 0.12.0* using >=JDK 11 for ODF 1.3- + Doing a full refactoring of the ODFDOM code generation and containing updates to the [new collaboration API](https://tdf.github.io/odftoolkit/odfdom/operations/operations.html): + *RELEASE (0.12.0)*: + * [ODFDOM](https://repo1.maven.org/maven2/org/odftoolkit/odfdom-java/0.12.0/) + * [ODF Validator](https://repo1.maven.org/maven2/org/odftoolkit/odfvalidator/0.12.0/) + * [XSLT Runner](https://repo1.maven.org/maven2/org/odftoolkit/xslt-runner/0.12.0/) + 1. We have a *release 0.11.0* using >=JDK 11 for ODF 1.2- Doing a full refactoring of the ODFDOM code generation and containing updates to the [new collaboration API](https://tdf.github.io/odftoolkit/odfdom/operations/operations.html): *RELEASE (0.11.0)*: diff --git a/odfdom/pom.xml b/odfdom/pom.xml index 1e36424aca..13eb7d819a 100644 --- a/odfdom/pom.xml +++ b/odfdom/pom.xml @@ -1,24 +1,16 @@ - - + + 4.0.0 @@ -109,7 +101,8 @@ org.apache.maven.plugins maven-compiler-plugin - + ${project.basedir}/target/odf/generation/**/*.java @@ -129,7 +122,8 @@ ${project.version} - + true @@ -163,9 +157,7 @@ org.odftoolkit.odfdom;version="${osgi.import.range}", - org.odftoolkit.odfdom.*;version="${osgi.import.range}", - * - + org.odftoolkit.odfdom.*;version="${osgi.import.range}", * @@ -212,10 +204,9 @@ org.apache.maven.plugins maven-javadoc-plugin - + ${jdk.version} ODFDOM v${project.version} ${javadoc.bottom} @@ -251,11 +242,9 @@ none - + @@ -290,7 +279,7 @@ ${project.version} ${project.url} ${build.timestamp} - 1.2 + ${supported-odf-version} @@ -319,7 +308,8 @@ ${project.version} - org.odftoolkit.odfdom.pkg.DefaultErrorHandler + + org.odftoolkit.odfdom.pkg.DefaultErrorHandler @@ -367,7 +357,7 @@ - ODF 1.2 codegen + ODF 1.3 codegen codegen @@ -387,116 +377,164 @@ codegen - - - + 1.0 odf-package-manifest - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/grammar/OpenDocument-manifest-schema-v1.0-os.rng - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/grammar-additions.xml - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/template/file-creation-list_odf-package-manifest.vm - ${project.build.directory}/odf-generation/odfdom-java/ + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/grammar/OpenDocument-manifest-schema-v1.0-os.rng + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/grammar-additions.xml + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/template/file-creation-list_odf-package-manifest.vm + + ${project.build.directory}/odf-generation/odfdom-java/ - + 1.0 odf-schema - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/grammar/OpenDocument-schema-v1.0-os.rng - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/grammar-additions.xml - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/template/file-creation-list_odf-schema.vm - ${project.build.directory}/odf-generation/odfdom-java/ + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/grammar/OpenDocument-schema-v1.0-os.rng + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/grammar-additions.xml + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/template/file-creation-list_odf-schema.vm + + ${project.build.directory}/odf-generation/odfdom-java/ - + 1.1 odf-package-manifest - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/grammar/OpenDocument-manifest-schema-v1.1.rng - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/grammar-additions.xml - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/template/file-creation-list_odf-package-manifest.vm - ${project.build.directory}/odf-generation/odfdom-java/ + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/grammar/OpenDocument-manifest-schema-v1.1.rng + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/grammar-additions.xml + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/template/file-creation-list_odf-package-manifest.vm + + ${project.build.directory}/odf-generation/odfdom-java/ - + 1.1 odf-schema - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/grammar/OpenDocument-schema-v1.1.rng - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/grammar-additions.xml - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/template/file-creation-list_odf-schema.vm - ${project.build.directory}/odf-generation/odfdom-java/ + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/grammar/OpenDocument-schema-v1.1.rng + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/grammar-additions.xml + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/template/file-creation-list_odf-schema.vm + + ${project.build.directory}/odf-generation/odfdom-java/ - + 1.2 odf-package-manifest - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/grammar/OpenDocument-v1.2-os-manifest-schema.rng - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/grammar-additions.xml - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/template/file-creation-list_odf-package-manifest.vm - ${project.build.directory}/odf-generation/odfdom-java/ + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/grammar/OpenDocument-v1.2-os-manifest-schema.rng + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/grammar-additions.xml + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/template/file-creation-list_odf-package-manifest.vm + + ${project.build.directory}/odf-generation/odfdom-java/ - + 1.2 odf-package-digital-signature - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/grammar/OpenDocument-v1.2-os-dsig-schema.rng - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/grammar-additions.xml - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/template/file-creation-list_odf-package-digital-signature.vm - ${project.build.directory}/odf-generation/odfdom-java/ + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/grammar/OpenDocument-v1.2-os-dsig-schema.rng + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/grammar-additions.xml + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/template/file-creation-list_odf-package-digital-signature.vm + + ${project.build.directory}/odf-generation/odfdom-java/ - + 1.2 - odf-schema - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/grammar/OpenDocument-v1.2-os-schema.rng - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/grammar-additions.xml - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/template/file-creation-list_odf-schema.vm - ${project.build.directory}/odf-generation/odfdom-java/ + odf-schema + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/grammar/OpenDocument-v1.2-os-schema.rng + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/grammar-additions.xml + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/template/file-creation-list_odf-schema.vm + + ${project.build.directory}/odf-generation/odfdom-java/ - + 1.3 odf-package-manifest - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/grammar/OpenDocument-v1.3-manifest-schema.rng - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/grammar-additions.xml - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/template/file-creation-list_odf-package-manifest.vm - ${project.build.directory}/odf-generation/odfdom-java/ - - - + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/grammar/OpenDocument-v1.3-manifest-schema.rng + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/grammar-additions.xml + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/template/file-creation-list_odf-package-manifest.vm + + ${project.build.directory}/odf-generation/odfdom-java/ + 1.3 odf-package-digital-signature - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/grammar/OpenDocument-v1.3-dsig-schema.rng - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/grammar-additions.xml - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/template/file-creation-list_odf-package-digital-signature.vm - ${project.build.directory}/odf-generation/odfdom-java/ - - - + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/grammar/OpenDocument-v1.3-dsig-schema.rng + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/grammar-additions.xml + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/template/file-creation-list_odf-package-digital-signature.vm + + ${project.build.directory}/odf-generation/odfdom-java/ + 1.3 odf-schema - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/grammar/OpenDocument-v1.3-schema.rng - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/grammar-additions.xml - ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/template/file-creation-list_odf-schema.vm - ${project.build.directory}/odf-generation/odfdom-java/ - --> - + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/grammar/OpenDocument-v1.3-schema.rng + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/grammar-additions.xml + + ${basedir}/../generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/template/file-creation-list_odf-schema.vm + + ${project.build.directory}/odf-generation/odfdom-java/ + + --> - + org.apache.maven.plugins maven-resources-plugin copy-resources - + process-sources copy-resources @@ -505,15 +543,18 @@ ${basedir}/src/main/java/org - ${project.build.directory}/odf-generation/odfdom-java/odf-schema-${supported-odf-version}/org + + ${project.build.directory}/odf-generation/odfdom-java/odf-schema-${supported-odf-version}/org true - ${project.build.directory}/odf-generation/odfdom-java/odf-package-manifest-${supported-odf-version}/org + + ${project.build.directory}/odf-generation/odfdom-java/odf-package-manifest-${supported-odf-version}/org true - ${project.build.directory}/odf-generation/odfdom-java/odf-package-digital-signature-${supported-odf-version}/org + + ${project.build.directory}/odf-generation/odfdom-java/odf-package-digital-signature-${supported-odf-version}/org true diff --git a/odfdom/src/codegen/README.md b/odfdom/src/codegen/README.md index e69de29bb2..489a3641d6 100644 --- a/odfdom/src/codegen/README.md +++ b/odfdom/src/codegen/README.md @@ -0,0 +1,5 @@ +# ODFDOM Code Generation + +The ODFDOM code generation functionality has been moved to the generator project as a part of its regression tests: generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java + +Nevertheless, the functionality is being called by the ODFDOM build via the schema2template plugin. diff --git a/odfdom/src/main/javadoc/overview.html b/odfdom/src/main/javadoc/overview.html index 2275f80505..94232674e4 100644 --- a/odfdom/src/main/javadoc/overview.html +++ b/odfdom/src/main/javadoc/overview.html @@ -76,8 +76,9 @@

The ODF Package Layer

The ODF Package API

The ODF Package API covers all features from the third part of the ODF 1.2 - specification defining the ODF Package features. The ODF 1.2 package features are build on top + href="http://docs.oasis-open.org/office/OpenDocument/v1.3/os/part2-packages/OpenDocument-v1.3-os-part2-packages.html">second + part of the ODF 1.3 + specification defining the ODF Package features. The ODF package features are build on top technologies as ZIP package handling, W3C encryption, W3C @@ -139,7 +140,8 @@

The ODF Package API

The ODF XML Layer

The ODF XML Layer provides all the features of an office format, such as tables, images, numbering etc. All features are defined in the first part of the ODF 1.2 + href="http://docs.oasis-open.org/office/OpenDocument/v1.3/os/part3-schema/OpenDocument-v1.3-os-part3-schema.html">the + third part of the ODF 1.3 specification describing the ODF XML schema. This layer consists of two APIs representing two different views on the features. @@ -315,10 +317,14 @@

Further Information

For further Information about ODFDOM and related topics please visit following pages:
  1. ODFDOM
  2. -
  3. OpenDocument v1.2 - specification - part 1: OpenDocument Schema
  4. -
  5. OpenDocument v1.2 - specification - part 3: Packages
  6. +
  7. OpenDocument + v1.3 + specification - part 2: Packages
  8. +
  9. OpenDocument + v1.3 + specification - part 3: OpenDocument Schema
  10. Simple Java API

diff --git a/odfdom/src/main/javadoc/resources/100000000000009A0000009122A8E996.png b/odfdom/src/main/javadoc/resources/100000000000009A0000009122A8E996.png deleted file mode 100644 index d7b8534e0d08da4c36471d3457747616a7a7e0ac..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1131 zcmeAS@N?(olHy`uVBq!ia0vp^vw(Oa2NMGWAF^e-_WQzWw>z#q(bdCVyPKbH<;- z{zNUi*iY{cCO+K!D?at-`*oMk6{=Ea)Wur0xIj%X-$Ooyy6(`ped>p&QqSGHa#InPHOQXtr=s?j<#ot-f-5 zEx6d%_j~F0eVRV`>2LM&X&IF-CNPU9zunO@&3EI4pqixL@Adon*!kYxk2&3Pa#m%@ z!jmUwEW3Jt<&NWT)#go@JVWOH-O}AYaUENXR_5pjoGw$F`j$28<~bGicfCHd?!3Bi z{K1u33C3HO^{d-T&bO%OIzOo_x>E0xS{9c+&#vURX2#dQ_kPM`jeOYp*Z%S6kXf@d zH23`eaYwhN>Fu`=y^DFa3BvRB)G~c6#OAxdw>>juhJbk7q3HAZr^^#>-18M&FT2m; z_KzO1sR0Sr%U70t_mK4eIqkEWMZrB5?rqUJHZM>9IMVpBv(>kz=-v|1FT&ivI$Ndf zZDUke+^eF(9XOjsSE}u}czG9-*N%^q|8j}s{n2?7K1=W5?mNHsiM>$iSiL4WXP1*v zjHAEoogXg~FGd$ESzgLIWy5=WQL+1M5Hrl{HpMp{>YcClm+O7~wx+tI!ZYW~yuZ%2 zV-aBZb>7KlYxIwHt3!WcjrP&&u*LU zeX#5<$WiOe4+2d&_*E?e;wYfAziCHY@YlIfpX6x2G2uVh4>mdSGA}b@8C74Xi^c6r ze#oMK_8R9DVXjl0t<%dFST+ygIKnu?qpEf+4B6Hsu6lXWpj(b1ES z{SNPmecYN`Ui|21zQo+7@DH3Bf0>&0C2YETsZ@K(oPY;BA-}#pIx@@H3aoR%CvJAF zCtU%48XD>%K#TgU-#*+idC9^#0Txo_-)8roPAmaglA)oVuk-qFX!=|K=Q2pLm|@+cCdQy*uVdHKxS-T@w7izOzeye{G(kc)IDkJ2msx zJpMR6JnZDO>l^nTE>st(DdrUEfmu68Iz`36>LAcBK$lp&YiR;|6zIW&K$Q?xGAkSo nV)JwB^upzn`C4HbJ~DfBN*|dNyzUyXC}Hq)^>bP0l+XkK*7R~J1F)h@3<)=%ZKAoC!MM^82gcX{9f&8B=Na zT5SEd?BhE2XWP!#L{xgc@T{JC{^f1esoj~8KX*(vF}%GjZRfV9&C}u!@?Uu@`1-=L zpm*~NrJWbm$xTzg$uq6~#+UZi8v=qGW?p@kKijbB+xpK|cA^Eb%Vr&#xU#0eV&VO? z>pH8iZF=VDuTi#j#;TW#POZv~-+#({Oo z`yDlPGgtDFB~JX8I7KrjTP@VgH7eg|9NIr6Q9n8Rq-L?DkXht{)TMutvvzJ?G2iL+ zFULoljQSL(-~b`cCnfL*~WV7>cF8V zEgMJTG5>Sg0W&^+zSA$s`ZDpA(c<)L7i-S#C_nRq^Fu%uR~lG-?3wvY`o~L_q+j-2 zt!zI#>6m{*rRvi^5XrPZPyTSS{^hyoc`1hBxxdbtA1gP#Jn_6e%F+I4=I^5y%9g+5 zx+i|*(f^$x?0@z=3{uJf{`s+u;*%S|`Z(q3Eo&zshnu?qfpB}#AmQdp4Xt{8~oPYp7jTz-m2f;FhMfX-(fvp#KMQV%@%VUduVx(LuXHLd)T_SeB72_x@2)P1D=mGfwIqJs?ej7JgtXP~78#UV zX<3OJFPhX?Q9tj--#_oSx0IZVyJz`iUq>#`CqQ2rlr*1V>haS6Itl35dkW1>7de3r zY3k$>fs3BvWc}=?Au$)l|3JM7i5KD60D6tfjv!cUuLgfa~{`g1D#eD(B~ z{pbB{r~Kb=XWQF=M?Y)U$^G9T<79EXXv?i9KPsn9*D0x67wvbYzsTqLxtte!&aS>Q zyLO#ePgve0yY=CA%k!UyoLiRi^s8Uck(`;c+J6=Q4==gkCG&rSrJPmR@yVsLFCI+E zGOl`e$m}@trIdnM^7Tua)fV1lw7vcP$CTjBvxAJ>m;E{Tu%&MI?zFhAlT5>_oVKmL zDKkrtFY@c#?CX6e8O$#9YEAysdFbLN-+AkgpVt31%i{E%>szj#{=Lg2`poI&-0tV) z<>SqcU2aKZ|ow@qvKDkqoy@g4e zocLD>Yh6=&-Lh=!$-UeM)1F5ayndvyx8z=&U6h6U>DW-cjS{DjUbc>U_o*PY-nXV1k>{55b4MS1GIz_K zt4>Q!eKx9ob*Fm!@^iM{)iy6ZYhFFjwA=pWcJpf;v<8uPz-y}fhx3h$i#@srCx z^?tVhSgGaen`8O&?c?IFPi(*34&Ldq|0~1Cl}Gpexbr(8J)ygEk^1)~%WLDFJ$hFn zYV$Pp?FX**b?5iLpZm3C`}xF;A9^eA?$3399I)d0ltp`fy)FKe6u5VpNbB#~sESX) zrFxRiHCYc=-mhx-ais}}eyc@2ST6QsWvjHkt&WhCd)2kP20_uXp74Xc^R`MSv`E{} z3|~_4`1wwG#H7wIyeNC-tmv052YctsnJqQz`?BUPgYv8M^Vw$S zOG8Y_`;!tkk;#5*!oMp__Q@&xy@EfUu{|?CYRAXTz)<(U>0r%Nq~ z@5(v$-j(g{bR}!Kg+} zz9m>RzL>&fx%9)Q#4L4zxgfz4nyf`$j`uWKFM=3_MfV~L@7O(Zz5DXnk=OACR>pR3 zXF0y)zkP?B?Y8FjcdaKhTm2Rl#q0a!Sb{Y;F8b8u!n%&5$g2@-$CJ5V72mg508OoY z&i%=6htdg6S4Ydr4LSUsr$m0oc`RZooDj_QWXhq7+>KJ+Eha8d7c87y?&Mt3^-*zo zyZq)$&s5WYf4|)E@O{SbYoy); diff --git a/odfdom/src/main/javadoc/resources/100000000000009A000000A0BDF285E0.png b/odfdom/src/main/javadoc/resources/100000000000009A000000A0BDF285E0.png deleted file mode 100644 index 8726748f258faa96a01a1438a610cf06b80ce765..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1202 zcmeAS@N?(olHy`uVBq!ia0vp^vw(O32NMGWBTw}uSq27{N>3NZkcv5P=e{j!RuFJ~ z>2uHe$CI_4YYltnYv|mueI9;{<8)PILhp>*-@kvqem&gd(X_BPiw@PEzRW%U(@&|> zhQ~g3|Nd(y^M6g1&HuAS*Gn%?PV4_ZwePsNZvXM~QU8v|oqm12=xtX2@oM|$+~2Q$ zfA;9j^yoWnubyY$(~(*AB2lw-^2x}G-IG%cXD?6Lwe97hxP;B?lcatntNdU6%QPeB z*xO4UpVErAy}QY%v;6GT*Wc5Mtweg~iyvS9&eBe`;5GZVBNI<<;g{8$8K#qdvUlEu zH(5r@mvsk+eKg&EHLB*X`8R*b@O9OG^K9*x{H*%-$2C4Y>*tr!yRY`FKl!Gl>fZIp zX==+qtN)McJ?~#wRFbYUca|wzwd&*NrLEq5qNcq&n;(CHf`8zu=?r6(q9W(3wNA4J$29H&k0@A+Ph>TBAzG5o&IVRno-HY ztvgvi=Xdt}#VhYF{Jc5aGI>)qm+<*3g;!D>qwCe)pO5Za`uWbGU^VWEF>2hmxie;- zU((N=ov=w&cXm|Aj6ZQIKldTcvh08w8 zZ9cuRZg-J>UFYBL4=!ol-)X0RC4cj*8^Jr57p{2u(|&2eN-8(;CCI)f#ec6)dpg6;RD^O%c_?Cjl>YuwreynVTS=c`PD%4wfe@Z_6Pxbq7 zDR*weoFIkeB60H$7BF4ZWG(V~`1I%%KLx9$4t|;wg1MedY1$LawFrg5WVuu!aAMPo zDL}>!i$Ft}?Vj72E?Oq+uG+CdIcKPgWBxhqaGP!GP~z1%C+NkKxo@iq6Hj-7 zjr??uT}3NE`2@%^$3;o}om^*{!EWgLbgoSO`d@*$AO}f4&H1wbmQ?OHhRWq4Jllfy zoP7E4{F*J5CvN`zYnt@O`j%~J?`PKqae0sL$JA{qky(|R{H{mimdNcQC+9tJ{xbIa ze%mlj-8`+_Y>r=bE6@)>pO{bga0ELDXug&G1V;s{qd;GJge)Q2yFlf8p3L>T#_qCQ d1nhy2%%L~5P1i4VRtA}*y*TU5yZ>M)j$~<`XsWJk>%MR-&vb3yc&_h!@BhG{ za7Zi~kI1BQ$!t2G(5Q4uty-_xtai)odcWYXc)T%~&uD{%a45Ln@WO#WBd`zn{M-(< z`~5qAf+Yq5hKGoT6Kn$kj*pO$1#~TJ1&xuJ0RwWBCkLEyqMjs{n3|iN7NDYU1Edpe zr<$R2ABBmzY7qyhzK*Xe1O>mvlO_bkj|U~g%9)(Z61~6D62r640je6fxrx)-nguDK z;=jQo)XD=R&gam_59_Gb5XA7A@)zIV5y|-;wL_LIpd?rw3i`6wfu2D~C|Vt^V|Wl;)TwY|&`(`D0Y4~{<6x}a)5UN+fQ z2-_9a*b7*-eVw2-l!0k7l4FvxLA+)YB4Rp0d%n+HDoIID%{Y7d~++{p& zjuJMkE1W^X68c7}1v>M&$*V+aPz*_<14hs`-)vBJ6HrULE08Yz&-FRf_dMHz09+e# z)u>=wP%Hgk8>SMSCN6fD`SoQMhUcpA-MNR#`t~+xTul9f-tD(4bHBb<_p%JtA_stb zbjP><J!7B(@O^mTGxQxb z$x+??ql}2Uoy5S3EQoiAP8@;+BL{s|mjQx~=*XLPJVwYLJ3>-G;fofkAmc7o)kvUr zL9r7;U+OJL$AjBo@XP=#!UW|41s0isc!-%{$R*Jf#h#0^CHVoCS*rNUWI-Aw7KRso zsQ`}+)0o&dlHQI`%3_rRL9jYOM)z4-}O zG5?_WgZ7MN?Q=cSlbh!LsjG-I9SphX7}OMSJTeWi|&? z-PhBEUE7}<+UV}dC|{r}38Cuji+enFDJVR!(7m+X0nn$Z-s5aq^;{N%z~fl|TGy)? zV{w}d?BuI(ov#AJIoUZd)PgQ-updxYF1nw?gQ>R(OQ*Plr)!+yf74(U?y+r8z~}6} z*@I+ZZ9~WK9H=Vpy}gb&`C2BxN6PJxQMtQ@PVzQOfgSL< zD_A)Sj*8c2Z7OcyvBM7Hq}@XxqepY$nut_2I_9Wme5_*>`1ti9I3ciVn~>Gp{HGyA zq_1TjO3E|#u?E#h=VuCF+#_@Z5ZkOl85k5B&3x9sSyj-29rGNo*ug61Aj>v?E1N+O z!W9l`PIviJp+J!1!1KLuMi&HtfJkzV->nBX{d%3)yl0Z?(1l*`W8K&P;!&amy6}kO z`Iz%!2#*1n(TpOKU-axJh&JNSZI-Daf11@Wmni^Va^z26MSy))b4=wF2rmz~ zPL1(^19a}PMec|KI*tQl-jXxO?1@lrFVkPlx~Hns=&)}95abB)Cdn`+ZH4E#hg@hnTv(CB$6ZtBa3j>6jvwk~p|*Tr*S&FEveY1I2?{ zT}&86P$uu06F4R~HnuqvTytBd0b=X4$jlLbg>K)1)x)$2z&}>f9p9`CTMlWtXF?BL zTDjdlB~}J)Uhq&Y*yo(&^2RqQ!$*g^6M3A6jWYVM8S6;}mY13R>#dcdefk?x>} zj?V5q9`)!VKy$|0L?e%z3aK7a)fzMk6 zEDNbkY3^}w!Ig^EOs;vCJRVi+jY?dGS}m|;Kw(fY;bUgJ2P4%mNG9!%!l9fKHsME8 zYPEej)1hzqZw~DztFFmH7cb{`Z5Jbum;3wEx{dk;1244Bn+jtQftL-xw=u*3^3cmT z;Z-DZ#DJzb3JMy;07MR|K3Fl3F*qod9Pz_wEC?G`EGSI{=}P4F3gc!%hRo-02$`>= z^Hu~)N7L6oST~U^)e_j1gag~O5hG*VQD53UT^DPNU!Lwdo%h0}tP>Iv2BV00?3RD$ z_&y@};j$RCIqeLbE!WHEtn-?#fjix=whLtwa2d60TudC3>upAone>_*w;pd!Fo=17?3xWH(mAZR0e^m~77Vyd2&FLV z^S@}A!wnOwBdxTH=J?z$p|G@Feuo-U#$*1{bW+vISXCe8JyWdcaxku6XFgV?->Q@& z9M$rb#K3H>Ort<1#-P!D?WbBvEb44*i|a{)?GigT_k7Bw{fw19a)a4!4JgZ0)lpTk zGzkAOc-rUXWis2H_i zrL*<+R+Ij4`4r}t&bKF#LeLVg`Dp5VrCvtS@RXsMkC1nn10K*hvV|<>w^glE@C#5J_!t= z-OJ^Zh3W$KTu(~KlvSRLBpNZR5mXri{lj*DL5nibQjWzH(tM_@j^||auxW_*J(&6nf zwx?oIi0t|8dRLaySMhrmo2m2xM(DSEIWdiuMu(VX7Ny(6sh#Hsh`aUS$Z!&asfmeT zh=|j+Oo)ByH;%C&l{vSS%1;EEE%ezteS?0xgP=OT5Gq zck}*gXPzw;`a!}EK24Mz3me;^^^999Wrx1hI+~bo(sd0eofp#e4ud@B>Ia$MGaEmB zqKFjFE58^T*KceVCApp=J6g`*2|NT62IZUp>Vj{cq^>M^; z2%`YMA!&&d?k`*e>A>2247@2Wn1fU%{Q%}83H{^oT=`%O8Aj3-vF}hUMGt4-=ur;L znMHR19R88bxL0d?~+$mFr{&N>PS}! zzUp}h&W5dSc9DZ)Fy!xS=E}Gn)&*Be)s5nN&n2=aazx&WQVg73nYu#7zD?i@A!;PG z0rLv1yVM<&7a1k3!&aaI?XCgoiM*Il0hkjtmtc~2uwgSleG>VKYfg25rT|zJdR9V zYmiJq)xGCVzi|<(Fz()hy0S?ZOJ>w5)2u|!AlWC<4PbR%10w)n_>=dee#>uTLIBfB zQq&!^YC(zbZT*aWdXIV3jG?6`5ySk^bqV3w(wC^}1=uoVQ>;`%-h)MbfHt!`?|zz! zBZ5Ivv*V{#$l}L21_!DZNPDOlvl{onvh}#1Hy?0{n2n{^`@TFPLOmG)plM>X#qAw? zr0!yn^QXbAFuU)5^udQ(37NS}HbNhpRd=e*=?7+l6l7qt2q;cPb_J1bQ`{vuH+Re% zfTMIe#7INQMn0Q)#&%E+zbkS9(Fq-W1P*+6nMOG}nQ&wvZI1WnHydwn!5|#y*Qbp) z%`){r67J*{rN#?H#bRLfE4QS+!FcgN|IfJ@N7F?SQmoL@!@XcMiH)%Gj)#4smCN-m za-_8_V5ceryFa*5_aUGYA5P}ILkCVMj<)*ZpO1%NVwn%kCZX-b>UC>NQDNWvlr&zm zSp#(LH^}5~J3fc_>*P=jsgQM3vh(>W-)v=JAytTzI8Bfl0@4hkQx?A~zw7b0y`iV8p9r=?VdL+j$1JN7hAm{UP|ldYpwnMTVOODiLWes+--(O3SOB2kR{-Xqte+< z=5`-W6&Qaoc1%o7Eydsfke#z1m4KZ$65GFj==)T@RC;)@W|TlU6A0gAp-Nxx#dYbI zS*33MHBgA{YLhDQ?nI8^o6UNgM}K#*Vn$mq0su_fZSHI+sAs?^oJ>kXfNoUB_lSNb z7QC5NLwAUZ1(`V6eGJ0)aRESk&Z&iY&2g;OXbLvoxBxY}_%w(Iz3CcLMDJ>tR0I4lOwB{{x5HD)Ufc5jah zox9349#bAYj=fiZk7hI|27Zum2UuQqU#>WGhP@jLsupEd95S-+4a^qu^1WTM`19uv z04ogHReo=;OuD~o&Pv<#i?-!uWhE5Ot!kyfsQt5jkpvu*Y>l={)3QdjHZVFNnUdVE z4+lA=N{3=QJ3Db{){3V7_V1de5t1v{K9hZMwmBzBMv0(`PRRM-?rQYV?tLA&~ zSsI6hV-0{1GNc}okn+Uk1X^WJlz%1SYyB%R4pdN;TLdtr2Y>>WRshzk`K`6MGDs_= z)7zt*vR~=;^#r5L*#J=Z^7?eaV>6Gc`A(AHon3Qkv|b9M&U6wh!S&NcXT-Z+|E;X= z>vZT!nY>#}f?bFB+*W`TQN^6f1ZWk*%95nZWNm3hgT5p2y{C+mQA4F-3@Tj|Z|D79 zilGYGZebY{E2+(FDFx3#Z5O=b596^?)q>a}O6kbhbm{`B$B{%j$`Ikr5U9f&io*uI z4C5=Gn>j7U%boxO?arrj0VndlSqb;f>9ph~rlwMwGXtk&uW=(~tMo?gXD1?xAnmre zTFa^Ye}tQW$71lM)s3kS5zLwojPG$KpUZNC9fPkvK%8|G!bGPDumgeHT`Dts%rH~~ zdhTMtKTQri-ku43KmT$F0}C@D;C{KOTW{U1Imgp!RP`CDqcEs;K!KlBViz^HZ642P zV%v#EIh(N|n70tn5P+l+>_ZR4u_Sn;nk{8B9q39X7H~U_qm-Gvi-={V@9$=)ZVO1f zJDhsgZq(uZFqu$qJ%{{)i*6KDrPny_DL`)fnW7?=bX9*1w!vzKhHs5UQNMBPMb099 zt8z0xv6W80&P7D%pOxxAvFOzb zq@(&sua9O*%EeKMmO3qv`GQgKvbk*L0iiMZN)b__lofzGiv9x(YsFeoyj~T5ul>2< zNm(%H8=UkifHd@<3qv9Dw`VIQuVEc^Uw_bRl(pS&M;xw9UQyEi1C?iFRow2rij>m> zxfJGhK&t^i6c8TUMJTTsPwzEA6eD5NkW;}cYm{q}i1-SY-TA*mn1n_p;#Ro*?5w@> zAJpIwd=H?8o4EJg+V=v|i42|#K$@`5t0eS!sGk7ax4aVn(bKo~bI7M4%n;n^HV+qE z?S|n5+6h2Fshr)OuX(+_+!gre)dSiC?v1gww)U`Ar;9q+*Icoqj)i*E&K>OmazMua z?IWrlXC0tO^4e>=7;q3UNCC0bymYSXpv5L4M{hGqm@d(g{&4{V&pXzEm*#YB;O$|E~VH;j!v=sT_>r~ps%Foid^ z+|j<5C?1$JKo|4auky07sSb4m1Y`{9alCvfBbPt+M<4}>d;dLD4H0J)65Q0SW5qQv zpQY1B%D%eZ8!?foB(M%@P(qE3`hZbnNcGnupNwnuNEPrv6pnfgwzbg&yTeH*trr~< zQ@Jn>8yzId>iLpLtC;9YrV>s$+D9Bi;r)aDY;tuF2t$ z--CKQxBHM5W6}-xrZc@u*6rL;$SZ(x=J$Q(we`aV$=Jx=xM{>vYgB#Vt2Kc28rveQ za3uXuHTV1;8=LYQHy_`UZQjjvk^JKoEMZ-Oo`8(!0H&9-w$a}o<6t-irRGC=I`z_6 z-dLYXuEWAs*vU*h7KQC4F0bCKkUO5Nyn(xb2=8h2(5d`MQw#!jSfNE=mf_Kf5d+Hs ztjng9tiHeSdn0-gAv}(!mS@#gyF=_11?jE&zT9YO5C5}(*vf)iy{4?1zrM;|WlwbY zJpHvV-=(4q@IYZ9J)8ZhW)}%iDJT4d)MtMd9swgvHz;_-wU#=Jcn}S3vAOcr!US^ol=b-+ zf6aPFDRKW7pT|BkPgy<$!0eLxw_+oZ&l!`vWw3Sy1{E!BdGSXDCQb)pQG))bru0jg zF%5I03Uy%BwiGJ?x14Ucv%O8PUJ6z81eoI&-JhoZaRR7kS_U3_KvW?L_j&C1&R|Tn zZap%>Ayi=wed87!Hm#C3z>a8m)rFW*9Ws!F#&T~Kx>Tb;1dIVSAYG^d77Vv|KAJ=z z=t#(NlDxNw3e~1haxh;i;;$6rA^=kZS+x=sA{=?YzF!!`p_V2o3{b`heg;4*KZ zAMVIe-5=Xj^22p`uN$E}m~Uaw@L8c~q*%Asit7Mv4)6dqKWQyJIjtR9mh?~3VpN}r zGUzJ9PWyW?+#3>XT3(i>Qu5#8jLGB5nY?)&#=+ywY9&f4(%RaDw7%C-3NISCvlTkn z;*l+8hhrtiy4Z0SIG`E4hDfc|TlxFl+#U0-r|~Dy1iWJnIVJox+^esg0iRuZrZ7 z#KF0=DtM1m{m}#*V7M<(vx}Q{7G%fQq?24QrqW4}4$uphZRgWRXCl`1OFUrCVxztDZ25LH4G=^@Jw9`GQwx0|b#M;A@=?zru$&I- z#BQ2lSkytZv11uL650UZneJAe5ye;*O$PJ1?B|LA;$KEw9A<#OL^)?2NDIEQadT_l z57rFSc(;B#3P6M$OvHo)hYJD9{jd~pM_~JREiSjGI)&JGQap}l%Uptpf0a0T(XV<^ z_W>s?Cnpy`{(&L3fz0E5GS=ZqIXRb{LB7v(YdT^O^MGI6TiWSoGkDTIYWnxHi^fq7t(T9~I7oXk41+8*e zn)ZvXTYDWK+{ru%t_=}&r_YYK1VmN`Xh=z*@)Hg+IHTcb{$;B4Mt6uf+4?Dcgjb%A zbz6mOuIK$+7>Fo3l?DMcn4b6*fD_6)AVtbg3P)-J_AP%qKbt_QtO>0Xz*KJ91p#pZCV5nuF4`W??2R=4x(Ra zWE1l_zo+{Q`v`NB;(N_0T5rtWJ1SWXl|b-_Sb*U}imdgGFu{%z5yru}Rl>l^0NK|w^8%ft$ zFd;p{rFU~eVhYM8g)?d@KSB)}AJva7yMRUhV9NzSi4 zi6sn?nni8RB4i@Ic)sUkG^%?V&$Cc+duMT$z76l*df0I1mlhwRPy`((WR~{6ff$RC zl)Bxo^VMYKdMTAU*yo&>uv)lZ# zBi0M%T2(dCBuf=Kj56r^n^GLW{02{=T#aWj(twW)S^U!w{MXwvaF~WYZ%pc~i%L;m z9cI8j_r^omxOT*XLxu9hY>*lsftA*jv8<7G_dpb+H8S^G z`<^hdha-KkM%*ybABePF;b!jRvWdUfO~@S8ZTOnRP&ZxVz?;Lx@b-4QqE@^SLt;7& zt>dVajTG=nt%tTR0=Je_=svf_(^WW@S)0|CF3eUb$Nc8_>Pn(Onw!F9&m;t$ZEHy7 zO5hVnvJhLCf>|eC89PVt4~??3Bz(1V~a6BuoJ=WzQ5W81Me<6lGj3FWfD{n=6&M9`PnAyLw-RVgVy0VcSf>cFYTkbz zA`oD0>jlIJn+SPbzt}Nys^RXMejIDU`K4P~g-yGTrI8YJpPVa?*Wg5%kmDL1bGKv> z%s?hFFCW@b!qgVTR&JMKP03w8cbv`#VN!LK4Rt^o&rz-%CTGvcA&;Ng_y6RZ8LF6} ztM3q3CNEA*5~>7bL>)7`qXhH0(1x?4u@rmH&kxV82MM$f0`B^)zv$H5JJ*`nye@=Z z!Og21z(Z`LDmP_wS}jDfSxHV}%J4KW+DDgc*F@|5igZWke5`JLZA%hvInAQ7v%t#@ zGu^1#VEYVxGCM`n%Xs%!l|VR}5I^RJ@im#>rH?-&t3s7Q7TNPnik0w)MVx9_<6Ru2 z>EfcZ4vTs*!{Pc)RwH2aSfhM(uP&Y2uWlLj0Hah>>q^NFR&(uY$7fs_Yx__%k+WsB zQqN;5|N7=)0v=s~52GAf1c$CinUufJ2IE_v9#2OGJ`lROmzvhP95gXgQPqrPJP>hj z_w=>@NbV-8wo z2FNBTK$b3b2BJ*MwMv3y)CNV+#LQhUA4a{$tc5ySlf#0_PE38{K{D8U&V|Ige|n=y z6@_A!$-DkMKd4O+9U1@G7_ zeDb&-|dE;M|3=MN;)_;zdZI2O0WdxTw~lakw@>g z6Qg6s#NFB;L~_plUrC|FjrXZ@_GFVtJZf{)6wx&BXxrG@heoa659&-kSwHuZqZpf* z+_!Df=G5GrRDO_buQ1HP=nH?pHS!)m(dphj$y;KM(BtviJjf)i&`z zhaRmU#$ga_Q^Vs#4Ayqp2{&5zA21I@?U>HVCftK?xGUshbx1x8G6|d4uOR&1qbY9z zN|a2ZKivv>ShjEXq}$k3X@9Hf>cf^J>@7vX({6V5_R%Dhe!Q3a} zGCM@y&HAqWbX(zK!7R#7ifQ33$Y79}LB#ISfG)*2ZSJ;Oq8#o(c_jrTJ*SW{M*7~t zxD@TeZdu`Si^-m++r2cGM^1;uAza{*a7F9yxg7plMs38f)YgtubM=`3_QMiphh+?; zP^S_rEaY{k|2pv@^07p)O8w8K8~9w*dO=ACMw2B4!S!T$Fqi+mQ#|(=n{Mu3yKkF6 z3MOlWZPs~7hUQk>;zc}DQADGE z@}qV=E^LdJ3?dx1_NyII{=d>Kn;1wkHB6l%I{5{9Dt??3{41Dz6%;3~Fvhz)#cNE3 z*b_g5y?toiRmf{z`s#xeP(yVcl-gt!iw^TC0;wk+5qsOx_V?HKdJ+#3AUDZ)keW-o z4h0hpqWlNx(4TqhtCNXrVyV~!;>2h43b;Agmcyy!3ZYOG#mOG>Vp+IihrsI&K5`!? zCBoe~8L}$}0uq6N7+NI-A@qJltKne8bVn4nu!Tz5(vry5Z^lGCzYs__2LZ24TGyrJ zG+%KAF}T*rG}7PlQ6|Eq4$=sf4R$aS=Qs0y^)9#wHN{xz(J2J$2y6+sbd_ok7UX1LWcAPr@=q0Ixw?s^9q5qwDLI;Z=P-gVw#i z`IyPluiCqHc_$7f4dzFr1W=x0f^Wb36iT8P`99%)ttT4*pzJkQwyuLhqUmr68g*{wK_@dg7XgbDy7>N1* zq=twiO;D4Aq3@s97eJ{*2vFj5$RdV-5|FV8GZhFdMu!^gc3L#+ibZY?s#>)_W4(z# z?v2=<>Du?gyR>EtJ){hE)fiWZ!!h?MnUtyqDjR3KAe-`WC$~Sd1E0L?jsCW>UE_DV zTYGN$elc6kiLI*Cgm+@kZt2#;(V#Z)A92xSr`^uKkQ)H!(_~d72XM995f;N2-o=%@ z(KP2+S_}ctSu0c(W0YU!dv6=Q0y$YAVu67jyj7PN#rV)eim~9-Z{amv`Lsao6D`^Q zzwo&K^X+JHu6#9B$Yo&U%}B8;s{nFnR`JmqGV+yd)n<8sP+!i;ae$*LpwP z*T#Bn7n9os-)pKEvxf)vF`mShk0jR)C+Qqb+umO$COkmuJRtXrB6NRlqR4;VoIv=3 zK1kgo>jfh-%Hv)%o-D+m;dfQ(o36D&JS^()$sa}DMu$@@EGAl%SVc#}!o1JW|BGcG zK3qwJ&W%ClVRjX>Eqeu_&Bwo1caHN=yr=IgR#N197#FDU@tSYu$YAwxU36?U;~#*$NxaD@Z{ zF5Y0}#Z$ix*QSbzqRwES@s?nelq&XQ7BVwG+sRQj;dy;_mn>uQy~ z{u6#~wn=cMpWm6X`5(=gDG!Crp*JAT{k$(4dN_zdQH%y5v~&wV#4OcHpm8dA>VfM( z1@eU^Y{`2G(a_*_J}+)ESz}x3?}ZT%=LrvI_LJo##k3x3c&^R%yL)qKSBSTyT`Jxa z=iFZupnlBu(X`$Yu&Py^#Q~)Me|;27QJnelEorSJfjJ!3PCX1@IAcb_RNVt!-RdB2!;|#j$oP(1ev2Ryznyq z7(Z)P34ZeSfhkj21hJS(NJd2)x zT8I_k*?>V3Sm66@ypGq?gh_3e-hw?4y%(7A(I-oxE;q~k{xj#6TpN>>+Lhqy-nv)w zs`24`b6qdPdkRv{(3mG9qG6IFLSO{`q@M3o4R1t zOsQXYKuoKO4~KGH$+0(lH8>d(mWc+Lw}R9duQLv!S=;kqgnaR7Kmpgd@yS6GKU?A{fsW%~tKE!5ftX#ec1@Bif zlZW1NV+>hAq2x~jW}TCTD2>@9z2>^m=1hI3R?e}=Vgb(b8Kvanxz^m_BaX4l`Sg*S z@@?>vWmB6&!+E72Kf!>Bo`3o$b+5nY6T&0Huc-@UUn_*^ZVK{im9M zPk%Y=)2YAoRTwIh@ya|ES&aQov8{c+n8o>L z6Su<)JcIo_%{f!4)T*D}FvNMHccRsgRyXD8vB3w9JHe()K%Rl#vDLFZiG2KVkIgmD zw(D~yZOb!y;<5^Zp{Q%5U4jNDMLiVtG0*aNv@`0XWszl0=ohKFpa}J&g#-*TCH)^s zigh-0JL&Bkt{rOIE{G%S z;H*CwyBQ%OwssqDSm{~JBJ@!<=_sig9On8|k9LDSe4_O>^JGy_Pk!g+mclk;?mb<+ zIQ-`hq#~|eml4R?whDcbv^ulBH+-J8xXPEJ%72-c&w%lnby{_KZui-kv6730EYeBq zlKdj}UN$KgemK!bu3BVoRZjmQjw>G=bZ^mS8>CBS`38b;MMK-gF54U{dLxeLor=q)@+dly^xngjR+U1QnJbi{;=O-k@tzxA_Ehrj*Z)YXWGosj zr2=gsiaH&$L@&k(=HK>_9$cGw8QLEQgVW62ZF)!S>ZWWx41E;pzG(FFE@?ttwlV2m zvLf2zCY|jN32$EQtmYfGEs~2Ul2f=vN~ulpFnNTn(AZ67=B9dzsUkU3B1ii;9M2P} zesLNkX?qe|pcZbmY6vPfR31o$YR?*2Apj#D5(T+ZI{nJDY5Ho{WN+)v=W@X|zKx43 zKZEO3HrUXyI@<-@O|sF+lWz61P4eB`AZP1O!ht^xFqhXO&pA*x!>sfxgFN0{+;;ah z(^o6RkwJ@axQhKXR!atlH7%tUe*^NdcBKyC!`$TX#LCdeo2HZQpQ{=)*sEd_)Mh4 zbec?jc{EL!Hg`|@>ygZ?e@vu8pZ*C||M_RCl;swYN_$-RDl4SMLwYug@sEq+qggT>0${)6oif<4m5?bFtAXEy|c= zxYr?$F@L*x5IgxlZ@*CqW~F`yf`h+5LZ^Q4x@epADw|``vlnGY)ey!LF?lMkl|z=8 zy7xo=e`}!X#TPc_@pT}51@!RuyAt1{-aHZR{jPt#NEQ+>ye1S{Hd?453`+}<2-68N z$K$_yG(U+uzuQ>j|9=}z$P)=3$Fa+TEdvaJO~@JgOD!9M(wlmYh0+H$h@&M@-cs;* zd&iPzp~UyS>HnvT_T)T~#{SotO-ui`FP%P%q>0Nl6*IGu0pE#*l9f`DtP(d0_+PBF B&c6Tv diff --git a/odfdom/src/main/javadoc/resources/100002000000000A0000000ADDA84F49.gif b/odfdom/src/main/javadoc/resources/100002000000000A0000000ADDA84F49.gif deleted file mode 100644 index dc7c020045d3c0fe1de8b9ff416701e94b3abb20..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 103 zcmZ?wbhEHbnD$^_qm6{KpIq5IZo%6p7I-i) GSOWkHOd}Nl diff --git a/odfdom/src/main/javadoc/resources/10000200000000BD000000BD0362D7E7.gif b/odfdom/src/main/javadoc/resources/10000200000000BD000000BD0362D7E7.gif deleted file mode 100644 index 520b12eca3bb758e6aeab43c47a505cc02195f1f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2623 zcmeHH`#Tc~175Lm>2f}m+eadea!=MIj`&V&L~`kKr?F}CIn3dfOa+Npozd(Qhj@AE#-`@TQDKfDgms}RfJ4nPNB74RKWfK;lz zExQi@00Inu7(bGWR~|4RLxOS9A?G9Z>Q{aWNjNNxg>q}T0d?>6+hn;&LcyQfvx~# zqa{;Z7Im0ni&xNuy`YU$IFgP4Bi(CWQ?FORiea95uah8ksA*nf-OZAlK*S!bi9W%y z?p0PLG}TWwUl%r{IyFD@XIxv6Oz(Obzwdg`wR6~+9XZzh@R$K8Bc3T5@cPTHq@8Ux z&%fjTp)aEagV+xj`)oM3qPb+oTqP-QzhuWG~-oLyrBWK&r z{!{cS?R21^z2z@4kD_(Zw6yih(l`q}a8fSV$7WqKL*S)QktK*7ylhpg$3-7ms*M-epwBk!cX6sGvKOk+O+CdNBiy@0LQP{!C(Jk! zSgoj6Tb9Rt#$N99U2YPq!&b6p?|h_ncJAq!l(XLWYO!7^`I&a@#TGGo)ZZB}dRN!f zm@QK`G#Dh+pPfbhN^yQG1EPn9A2_<0sR)|BxbA#}So3iRUw4AP+IUjXZjx~_b zF6PJa#~Vd?4$H9%_#26mcO{!cTMNO2tUHSZyGC~<#mLO(bI7Cg*551niBSthU3cz& z3PJC+EJYst)#@I7QofaAujLxFCPN9h%oW%lv|j0O?TY#W2pGn#(?o~9-nj1ce2*_u z6n_>!yE^t1^8#`7F_Bgp?@jCW-Y35)eBS1`ih=Nqse|Gm zrAD%8v-Yp+2}b=rVR)~jmAC1r3>aa?vOOI)Djmyz* zKP^}w1RbhS^>u%`vc(_($z>-pQ~Kt{^)fUob!7fXXY@`CSZ!GzQ#Tv8(-fdnHVuM* za+OV zXNM>>5*0XsbTI#6z6i3YQ*F>ZZ*(_DV{Wh=dKNLt&B=INjctJ1#VD|zjszo5P0J4* z#SW2^%8_TT=t+lf+#%&PqASemy?==Yn~-gsK;0Uly-CrSEYlc$+ocIMem^Pp_}zJ# zGg#hZUOG6Y6}@O#S@aEM4)G7`GuM_AC$Y5WbF2B&uYJ_vMX(#!Z=MK z{kew08tN^qIyv_V%JY;jrNuMbhpCIs4b_Rjj;8j1d4dIo`fsDS%)}Gao2kel9_$$l z+!T4=Dm<|Fk_)%t0#hp_yh)?Y8-#k}O$OE@#XFA8I?6GW#!3%!r?^{b+ZF*Sb=?dmhloGG2FCpiW}tkGsZW& z9!%(H?D`h%M^?KWaADl^tDHH2u5$bSx&h8gGcB+!|u&5@Cb6JxWImbAZa7ky$MA Xydm+@gu^ULS;`h4C$y-m!FZ)rcK04RV>z(3&tI2_pn?o$8& z4?ykL@aswXr(B{9yB@%F!}Yv=EO!tcroNDl;!Mw^d}kyj6pk8EmexFS6(HJT`Bsoh0i0 zB?e4s!B4kZeQZpyXsvT5+}l{4IkdYv_b%q$PrG1h8!AfEc{bZyf)|Z+_>xvVQzTZLm z&ZMDL_rP6RcEy<%>)eD6@(z1~=&d*l+So1|Yfa%uTXyR1t~30^1^qfHhkJ{oa9hhP zy`#hZZOL3t-pPYw0I!lvH0nSxE0XJSrA!!iRLGZDVdFgKI9}d_H}ODEB~ZfL#o&@e z89ChfIC^rzSdwf75M;*HwCtL4DY?HS*)W4U2X%{I5dcu%U3N_s$syUL6|CeiGuqc^ zW$Aah!e&y9PO_%mOyvgT&<;W|^GK@)T7_vS?S~#HsH;~6z)@fMZEo^KZO>O8MP3zo z1HljF^L#rokFf!CufoDFD|~Xrk(!vrfS7Ql8B9c;Kyv{1KB-mJD`K_=W zqADHkTUk|#y}G=DQ%{s|DrILQ5M`Avoa$A-+VLestOoU`Qb6;`bMF}3Dt}o3#W)e? z`i@JWhER1Lig3L108<;)%@0)#d|z?nQ!~TY9$)u)%g!eQJvxbxn4?Op`!W%Wbxlh> zxmT;%LLYqdZcAGTkgoOf#0e;OS@Y{|g^EhP(Cj^B(V-az9y+*2QzAZO4lgKAZjPM6^CaB#{O8suk?KQ@oN!Z>_FV=O=+sS4$TrAYmn8c(_y|8dZSDa?5bV@6B~ zZhG9J=hgpN3eO7jdsnbTwIy=WJdsa{_!&yp03J63MTL5x6Wj0YR><$oERogH#GA%n z)Q^NPFX`7c_Pm1DeqCVTLE&REnVoxG`Qn3ZsbPxPgZEYazPr7+l-DJzo3XQGcG=RE znbq%$brJDv;RiaesT^R((mgjixi9%io^IPB^$@x_{!UM!k;s_U`!Qu+@3$>(L4)p- z{QS1JE!b)vto03Y``RKK9zC`BUc3P>Km7+9VWOYboc?eU{^4g%uKXz}%gBAz!WB?n z=b@;TyDA)84kUqlz$tNpO^&EcdlK&Bxp?r8*@lUJ;#!GDg18UNtlFlD{Z!b-gj_W1 zq9mnIcnRvfEpd+X7-%4%eZ}PEc1ehpW(ALy|1&-iM#MJA$V$-q4lEumP`pTzyDjv) zBFk0mhE1Qgb4HBI5h#&6lzOtW6wNyrYzfXff z^;r@(Ou{&pGFvqTJ1-nGF}#M+a?grSN8m;wNmh}{KQgtvm)oQe*zrQmH};a3uY0#) z!_1oCtgJ7=x~Nf^NFrALc*X>G$JEUu>8%2|K)NLRKA{Ryp$V>}i=7@s46c;k>YKRf z?Kt|1w^`=`56CDTH5N5Ra0hs(;ITh#RLyrhbh5KTA;6C{uHKb$GeRPiRW-tHRxO{o zisLrpZ$h2u?c^XfTy$)lNYBRS2dy}N&9`q`7c~riw)n?R*?4yjj*!?4vK5Jt?$r$O zPl>FJ0I5!5JFPLu+HdaiHIwua2(eJFmfryAxF0`OSKc?R8VEy=lXsg5X?P#od5YIU z$ek$5Zagfg;KJ-~OAE9E@832L-#oiVq*k+#%@3TIzU6IFr5;ZzrgQnN_sGwY!Xd2| z;%fnW?N7g74eeJ2vb6-s?67tIb42UvH_w%&A@ygI4_)L|@G3i3Bm)H$=W1s@QHFy3 zqRJtUmTRp#wiW7PPpf6`aNVj|Io`10zYAOJdDbIDUxOSLIPvzEQv@qCf|kAQw(|Ei zK>7`+z=C? zUb>u3wX7UT$*~%e``Y_@-aq5*^E}_@`99yzZ(juRf{AHBH=rA^4EPs5fX@eQ9TETl z{s8D63!6Qd>@x08JaJ1P74h*_cN%hH2v7cU1T$4 zutLCB(m@eMeM7ydr{>Te6~?AR>s^R6Svu#=pP>6U<=5#S@xe-YvBm3k<5>|tF}LhJ zFJTI=f9ICPdrpsK+}aSUDUl9yO-~X2?r?~;|RlP zws}{4t9{^VsbA{ZGXGX!-#QMi$h^vKhK*kL&yE6Qj^VF}==gxkZ%m&Jd!#<0kWux)cT7)IA&a zrf_coqTwe|NmV0wT7UGqYZND1gYeCR%;Ms66{_tVFGD{CV;-AUlN|$0K!q`ZP*O9;5RaA?l zYB^f5*2;D5p0-`Y0N;iS8;sfXTPS*Dv2&cDqR@@4t9Y1zcD-OA1LVKn}$>)hZw^Oi@58pg4^Q_WcX62 zf4ku&B8BnYN@?|iYyOe@?{yJ<=vS&SJO*2zd*pqqn@p0-TW}7~a3rv4Pi71~zOxo$ z99dsG0xaU|o$B4;MKCAiHoR_p4o@3yMGMZ^hrUlmOm0kOsO-y5<`#A^zeFICTR7xX z$;@$VS~8*U-V`EntfbsA-l^EQtj(=Ka3O&cy0y1;yEPx4FkjvUPh9HdEI$5G{mWwK zbEzLW@@;+^&9K1L@%9Y&C%2@N_wvM)8L!Vr(tILl$?nO_*;%}igE!T}cAWQ6i84`^mJNA1KYg}xT0G)|)f=dR8jV~b z#z)%q6zrZ#H&_KpOUOS;5Ivnegab*Q*zDx}j7o=hPT7u9h=-X{IRD*Ga=4dD4|uG^ z3yS?YUc%j4W`t}@LyCVYq!%)li;b;R2UMG!C)N?biMEs_cCkg*p_N=C@QlDlOy9{s zC;YXrAi0)e8ymTZJ05Oex7$Qum(IWlD%>hv zttZca6Fp=7?jgYp)CMx9og{i)(eW{1;up zYqoQiv7Qb$B%5=^I%-spiaA|*T~KKVWSeNA-sGTHDe}WK1=hn6@xWywT$HA1g>oTh ztrEV~RUtE>BWn=_npzslC}_g*qPXUK*i1hN6kb%e!q&0aTX0X+cB4tjMk`+jkyjP$ zxduk@WE2#zz)IBl3+rI9004+D?&@acVvF=pHPSZ_708kS01g5${|8iB B1C9Uy diff --git a/odfdom/src/main/javadoc/resources/10000200000000BE000000BE25E7F573.gif b/odfdom/src/main/javadoc/resources/10000200000000BE000000BE25E7F573.gif deleted file mode 100644 index 7155d814e0c1591c5b5483542eb46d8f2239368e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2700 zcmeH@`9Bj39LFd3Ry~^WM2^VZ79pCW9{1+R5ppCd$K>o~b8E@D&0N#kw1vk#k>-q~ zkaOgCT*(r0v_LkpYP}O`g}h>easPNx|h6K04;zGz;8GJ4oBuE4;KKy z2T(lX;*zd1Sw-1|pu4(F)zKmRZApI$(K0{{s~SUk^r^H4xo*}dy| zep|B8IV8!?v!DZiTGM~3OT(*!c-9yvfw(u*nWgAZ?%us2*GpEv9UrE|EN11(hb~Vw zX3Gzd0P#Rc;HL%4r)Jt<5#>CT1Ax20>;_y5WnSnc4MX?TG61FaZ8+LXEfrIyP;%6b z6_Kyw^}&e+fhp+9E42aJ7&NH9YCI2Pz$c<)|6bEquu7Pis)(u^WSZw{}Xe~slg zo)#m$Sm+@eTe9@Sw^{v99WINos2Z-r7wi~Lv<9@_keSzOl0k0WDw{jx2Vtsd*ZEWH zneCAi5bWmX+Dx_+F*_2mFpzI)Zu7Aio!QLX=SiSsrV_1GZ+ijINh4a17DnYASA!bMv8i* z5Lx_*m%3sE4cCjaj$kvTHvyXNrsdBxUev42{FNN(z#GA^jcXF zIqPv*aY$&nQ0~)s<%|6F!*H0^_124oH*^&Fr7seN~qxrb7ry*S3TxLV(VBR^}HdmFx1|4F>Q zvToI82iCmQqXH}RH4Qu8Qn9w;VZuHH1vm2n^MQ>Z!~O0$euJnr=6&M! zN}6y&&RWx$jXsV~Qd<8@(znX3bzT|in3kcd>CxW?qUk~3_o>OGZv%gV44YWo>{mZL z&fkn_T&_BQ;JPrJ8@I4!yk4|#IDPf{uOdx{!$PRx0ar*|$_#ry#;E1M+Yie#HGM^V zv6V+z9Ra>J!o|G^5s+o*9iKYO&maEA-aEryRwAGOKCjVQQN}}+JNcXLyGH9B8%`tn zg1n}uN#I)>8d?=I3!I?watS`WluQtiOW=x$wbxST3X_}o!!(E)SK zyn4N_K$He0!Kj0HLqe}$_+wodeKXCz24_n2w&bLOt6CDG|?k%^A%k#{TO<7WT#1S?f680RLgek zdq|07y$fd`4!A{+MV7!_Os?J+uXz;YAi30a?fpYIBu^fqsO~&so9qfH@F)3Q#%Vb%op&cvA zpM>fc+6oE&cil$6)IH6f4GfOmcME@MZ?&mZY48ADbXjSvVW7RMQ1P4lM>Dc3rW~e| z4xI{tJ2#C;IEKI4zp(+!ww;9rN3xoF4T_v!t$44irtf&{zH@FVOt6bxjlOwsZ^%}W z67=Xmk8QuIL&v;Td%#I$KpyzL`FpPS!EGd%*H|}Q-7ytQ_L%|w9r~7tPfHdN{49iz zXrETCPQ5+sb&S!#&_HQKx3y=TaJG2&Pi(bA=+L0VN<=4oDKrSBDtv}5+L;EuXHBSp z$PGAl|DfPAo*vA`O?daXCcdzF{KQjXxVC2;-N#d{@6xE7)T<~{rpHqK5>wZRjJi|l z<2X(5gfl2v-uc_OZ%_2fGbRQ+lLV>R#}+SbQ{0km!h#^I#Tl)=LCcHSLIvw3q}$%m uid}Kqfo9 zrXU9Z3c$(jV7qzn-Sgmtygb==Hg>FU?_{#=_CNl6;Q!zOB^jWo1VL67z91{9>bt+L zENXe6a>PCh>BVeKJ_sibzc$3RrfFLzK~SONLaLq<$Nf#E4gl=HRWne0LR;qPu)*Os z{OR+I9pO@lefX4J-mm!P=&Mi5yD2cmdLPYjTo3ySU;of8$+$DmD_LGirH0#5f$RPZ zLFaHUJSBas_PMsg8-4~Ks8uJ{9(HexGoSl#LKHaGqOGXw&l7bTO$8b^;UPHxie_B6z-_l)%kZO+9! z-FUj(ZPNU3wCQfgLbkBLWldD~Azsv1J5qE;lEi;|)^LSD{k0`4= zwEw59s#=nte%13S%E^L%U{L`T4v#c{&+Jbq=hY@#iBTYzPsEE>I8yYdZprO zb4F1oM>&wgkd$VHWsD?$5p;skzKu5`|1`)|(136&9GfSDcoVe=gqMv53?5a@HCo(i zNqAhvmsg!#6lO(ioUY%OJGl6|Bj?lM_CB{y^X5MStk`39?ukAhJQB z)x$MS;@-2eW2?hn4+3uXMkmW?Cc{yyr|Q#j{74giIQo=EH(B{n{qL!EpC?7!L$N_| zsE6helMIKz$eWCtBmPqtGYPl;+0uOeM&m0Q1W0ph(v9O!{{s(*!Kb7}SZ_@D(YUpDD`_8@2>Zl`-9uor2yIUaE88{SjC zSnd1_*6|nh0PTh41nN$h%Dp|4nn|$!zm!W80c6*Vh0Eu+>s zGs9%BcM}KB-MFA%tCvE=d^{N8WGjp@Obxz_R}$y24gQ`_4S9!$IQO?0Cn!I>^JB@+ zSfUUrcPX8sHmR^aBSam7Wu#+#SY6}>ZmQu2;clDJ%L6TXhP`uf-@!Al|9~dBdzxE23Ssg3QJjhtNzlIB=@gn28(gz1zLWI)_~DUMfhTT5b)f@ zb~>~G)j@h2N^TOk!+CEy@V2Vghdz~>=C5I`M?x7hm}w&sL0tvwl)rG<*K8Erd8Z8? zg05m)t|p3FUo9>bY%J?qDcIw(+@ffNT*Dl5`_6sM zJvUL4o8}H{7%lBv|Hk+6c|IPm_xtg9zg|DR-X^9{Ep5jZKnq|8@EZ<*!?|$CeGCBL z0Vw`C{Bfdx@6>Ck)Kty@=Qn@GPcHVKG>7vi^DqB4@PFL^9|s`FcNSKWO^M(;c?H>9 zk<$?^B5U@}{V|~nD{;+px>wb)EB?G;+*wner_j$D7rRp;<$m#c|`>ENg9 z)AdQ<;dg*=fpY@$E9O~H2vGb=wucpfivYFPQTH&(gUcuf^pQz`!uuU@84cOx z|JZMcZ_;XgA_-nG0cAJIPnhTc!P;_KHd>bl9Ai`NSQdPA1#I_hr>y~+DxKLBSV?aU z<29T;^R8;8FU8P&@J1kWa45@4Uwkl474cE+9toaN7vMeyb!>g7n_ly6j?0&Yn{GU? znQxO~jth&0F&4>h=iu>4FHBd4bIeU{&kzINHdV7Zvzbjn1KZ~-v7c{evMqO|I?83{ z^y*nOX0=JV3gW=*K;oE4*guDZH8Pl^jN0@tu2a3z;nS%$z%ZbyL|Y`c&g$e#5%9sB z*(ryZoT#Fwv;{Ajzb-Du$tJ>5W91#djxaGDF%VX`LF)`o6``^8;PXt3bG*)amvaL4 zsP5it0e)>4tZ`LhiRM8|p?L)b@_iBtUzWAlYKbvfaqR~AcgcyqP6KC9(#_ula$n(7Lpp!j zBO}u={G1) zN_CMpJ9h|EjJUn~v5aCjW24F*nTRK3&@fq4isBDg_Y#?CYeG(hiWJ zi~Rr=sOwU!g4jb6KdO@iw#ITagdxQ??54{jje2?Mqb}k0%fpG_8F_mRloEmF z{27T(m}u|TX!bNwQmH~=;xr8XBRELSX78Z1T9OiEob?4WWv@uqI^8m|AOS8rn5RO@ z-gvw*oUIw}<#DSgTcS!2mjeU!CRTX8lIy>k_{?b2bNA9l7ILGNw(k*a{CUblE1H%>KDe=yyG+L^1<|S8cemf9}2EEoa=+>=0hqt+v4&9SmU3E*s5g zHeFx!0_*D?LbGJfZ$1qf4mAj|7TG8sDS}=$=$nqe z)FlUh8`~|l*y6-TQ3f%va3SXtGKNsuw906A?xn5H-fqwq4(szZ>%nTYF$hS+y|8eC zAJjo(CK>TBt#fSo){M^G5`7apz64r%2+R8YTV7ml#-+(#onNAf?>nUt6|kPy=loF5 zEnIe>R8t@A?@8W5^gXz?=^B14G5cLUnBv@Trl*!%h0L^v)kD*eYVX@W2&!K9Fnb6B zrplZ}DXh7`+z7z5QR`*(dh-!EDWYcMA)w=%3!#^eeVbk~NE zPHGvLM0p5ljbq6)NJ@@CuH>v1T?&E%vxCIkDSVPmflGyDcd`b2}yXMtGuzG z=e_5j?%UVipleq0j{-te@>(}n4Y`U(=AM~gPc*yTvh!5bhwrA2D0)QRM)abHyJ>Q- zagwRj;ZU^DhqvQJ@F<<(*M8Rd3Uu6$n02dMY4LPwCso|sb|QUIy+CKu^G@UXM6SSb z(qsvhkL~`kN^PU0-|%mQF|D)Gd*qS9LKafL(7Jtor0hEPDdfc%YYULrMWwH~bMv3jfc)Ly}EA4yD*WFAaRAVNY2Fx9+CO~0DzwH!tM9y55kjz&TOK7aom z0U^Zk!{=avz3yM=Z~Yd6E-vv>VmVD2FM>Y42xfcPM@(I>m((oiZ5CwAqMF!b{?cLH zEq5ZjVI6TAGelQ%^yf`caESMziK}pW?ew=pPdBYSP}!&T-yA3JH7ww_dDjGs$}&zj zGw?oMHuO1;o_G1AuslW~ozf+#+`4#f$Ey%E&t)i41>6^nRG5|%GI`%pOc(bDHrdXi z>dd5;eWP`8kN2bMJQ1p@u^y|7*%TUdJ)=^2-v`y7Q<8jo#J~2Z3d0ZoGjrvjJj97@diwefJHCWgsD&fHCTGkoPV7{(w zn6N!-3Us2nsu~E5-|5mD4!ri|J-^OX<$dxTcg! zyu{}PNx3NwJ@Iy3qQIWCOCE&*18%wNvtb8$XmV-B6A1(Bsj21t3T^BA zzR`Bm5Z2~&hBvIzXqHK26;j4N_g}d>`s0&->ya=aZ0W^3w@MvF z7Ps>%f^S|hCC_3<_-l+z?ZWNX!kxnL44bHcrBw%3bJ8sjY!E|U?4^l%Z_f;a<%goP zz3bylPcV`FNOWI`c9hRn9c49n3iK%6IjVr^3;nEo+2jdzA^2I3+|iuziuy1fvfHC{ zlxb9?Gep*FwCi|#7s*1<9)xaWCxk4!-C+lf5A84f_vjl$HEeq2HmhOkXzTfK<1A~4 r)xtj74*O5jJg-k!7yxjABWPu9aNo!jejcKHmH$}GNdVxF0N4Kq*%pF^ diff --git a/odfdom/src/main/javadoc/resources/10000200000000BE000000BE99314183.gif b/odfdom/src/main/javadoc/resources/10000200000000BE000000BE99314183.gif deleted file mode 100644 index 744d0261e5921ec0e09549c6398223702d471a44..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2552 zcmeH@`9Bj30LDjQh>)D67GX%vX;ebI+c0vBn7PkHts;c*7A9A&%|w=aZDy{Vskx7i zxfzmsazqlV6^9N;(*6g(A~5`M!bkTA`|9D z>PV8(4q$a_x_6|UHo={MV`sabD%)0|dp6}C#sDz%Jb1NYCr*>6x2C7M^nINAz4c%4 z8s)y{hcLpHGTNmdOAU#LXA^cHW|3fy@l>POm4}sXjM!ns=DZ0VJ(%)MrS2x6hI>H& zZ*twbSzQo=nKhY4oq8?tb@6wj1Ie{5;l1$4jp19LyQFxIsz1pBPchQ8Wi#{YX@d;B zZW6Nbe&Ad$^4Md!XM}3!UXvUfZ%f(2)jHZEAIbpn)6J?(5Ow|cuAXOVO5!#oNG7a( zws%-d>4DSzZxe$vD8qUaV$Bj7~!aEUjL*++Pl!Awv?+_3j)sky+Ae-{m(s!fi zQ)S4Rtu?;u(Y#+fK7@0Bzv^bhyPoalA()-TihF2!!8(r1#u4p51oeIPSQaaFBJ}ix zw>z4nx!{(_yj^w@yW-O6;i4pbD+^UUfJY@e*!vJu3>tx$a5h)Z@zi57;BRUS72-T$6Vtc zzfwz7)GH;+NaUW9d5k`E+2Rp4Ou6v31b&{RJWC)2q=gJC$Eo-r{ENYGw!FpuZJCu~ zv3CumvK#5)vqg7FPBtXIMh-&kWohq(D8+B0SCmR*hm$LmF)OQ;POXv{D#MKTWip|2 z^afoT&i<16VY=ZB;RLnaT-u0{G|=dZu71bgNIrYGl5~bp6Ek)x!%s`)oqmfqZme#*|m<&6OP zs8#2=>803sISmbD`g1P3K;6EdgJl1hG zO7oWc5GnYTqnRQ`Bnia)wBv-&gfyl{ZBF8(Mqy?KPMQg;5xsKmZ_NxO&ZSz@<=8qG zOij3%@c;`2`DkGKWqq;Kn0_(&-*~!N-Pb1y{iL&fV{pTNG@}#5y+H5=1d61Ufsyf+ zH1Fxri@lafZ1z&WC;eut7M5*aboP9NvLpZ^WKB8Zqm@N41YH)zW6(Z2ME*W4xNYLw zUtU9yI1`?0^ruaCy)Sf(o9|FWtV{YA)hZJ$ok<^+@)dlKy4#rhA+;azUG=@x)x)uf z`d*!vO@?0_^?x5CG4%Y$;euFZ4^p8b<2iqEey&uwbv$Hh-Zqs;&RtPyVlH%a0>fBvtqxP70vOFlX zZ*qG7dwrWwP;l`6^$!*E_}08ED}`?6oPfA>pCuJrm{hh5q1nEt1XZr!hPg>@07OPWZJ8 zO>ef3F+KCiaj#yLf7(9osE+&aMX6RaRO2z6G%J);#E|3VPcZ2h<;MSLS4LLh9Qr>? uH2vt%NU3__YcVG?`J?kN5C{Nq1a0k%Y_7slr*+je__-2}0RRUA82k%mFo|3M diff --git a/odfdom/src/main/javadoc/resources/10000200000000BE000000BEB3958805.gif b/odfdom/src/main/javadoc/resources/10000200000000BE000000BEB3958805.gif deleted file mode 100644 index 48d53f368ca35ddae33aa72902a261294e815a15..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2344 zcmeH@`8(7J0LG_fLW(v^a)gADG3!Wj>{DcEW*S-N7+3C?iYS&M&AHbDOh00Dr( zj{F`F2n>Sm7Q0K{ze%)?A`$_SNCW`DXSq+iC;;pN|Lgw;{_77Y0w5(to%77Pr*{?A zP6R$@lKS!v8X`*3m&pADP3zcK&n-jy3-!<8b>InqKD!U`q6Z2#3^Ou8!5vj_mhta+ zOR$hFU{OZy!fvj8hO;39b@IU~C@t&d42nlRq8h=WPcqP~*jXWm@uEe(*f>a0%n-3I zkJE!b*_=h+ixdf~k)5zvkldVWKDM)M{z*pd!lZI>oVX9C7S~^yEEeSDsv~Qv%CCoK z{-W#JG}t8z9C)atf0Z83l8jS(veGLPp`r<9I2Np%`rh+yQ=~K()y;L!LROxdMFl3s z&9?@a3S1LgC1?Ir*$O*FZT04M>mfNDnn|09XCmxnXKCR zQ)bd?p{f;Se9h#(<^>GF#E4xh2fwWS>Qnk4&WPgiXNO;N#W1J{!=S}kKWV=;}mX|tgyFSUu zlcyiAaugnP9|3z)UozxGi};22lYdp2nHH__T42(>B3uYUBdWmU0TELk=1yCVxxytb zRo3*UMBd&U6A`Po)$N*UszgT`u@*K;RALfX(W@fws4=yO`zOt-{^d@NF`@M92S`JF zqs{9oCnVi`ToByN35|Z<*k9q5B?DVQF16*UGY5z4qPtxmvv7B#e`RTA<`|JrbP zg?INFpK&Q+umjnaUGvmlzohps>3qz9(4p;Dxdt!RvSwm5mPp}C2YDU{xvf)qGni%v{LO6D`_zuX{ZAO3osw7F^@wtz2rb#o4PZY7C_ zaUPyr%2(ZPT&^Tsjh}a$Ni&!)+*WwxM|J43mu7~4;pMl?fBf5z)A_T*TH^YJ)Vyxl zwU3LzA)1dj2+Bs?tIrH;MNg{FXokv8Zt-v9BbS5qKSalj=xxtF`+Dk@IPZ+(?EA8~ z^vyrQ+9<<(3cvErIswK@S!IBM593R1cf_$WokB;>lXoBDyytEmq90n(0R%aj0Tt@< zl1_%w@44wMWa6IhSDGK%v}TSk%qSRYI*%0_r*7UVWXbD;4ulojs+1}#M?*3at}^W{ zFDM_to<8}mC;p<{d!Y)D0_l{^e(&KlAyi>RyL<)jz3Z;EfPqqJ#}SeDZkmc!YcKz3 z%HNk^%SNiSQ=!tFch;*ia!&yolkxq?QEUUWrYs3zzt%Xz-2uD3Y(rCl=U}I<2{!Q>`dg`qgq+{D96_hEZ$(l zkj$d^u}Q!tZFvOfXO(|xknFIJc-)>*eE{Z6I4u!9*f@(y6+G3&1TlukyeDf8QC)3? zV}+jV>U1l7yNkW&{WX__2!ojODEc2pB=$*j-GHB5qf1J9jhe>aDxt7p<2~XV6vu*? zi^{TbGWQ1cG>YzN+A+~&&oR1KK=+o~P165fZ1e=vecZAp4#t!j@nvu{c4qQ`t_{WM z2dqERda5qn$0#nxjKtj6%p*6nMEtOd=@j~rM>%a7)q)T?B)W7zmx((d2vr+E7knpf zFDht`FhPohn5~ZTq2?&t0nu>k7OT$u>{$@V08sYwcJg$A`|8`kER^=()IgwJgB<<= D$wMoR diff --git a/odfdom/src/main/javadoc/resources/10000200000000BE000000BEC7C6AB3C.gif b/odfdom/src/main/javadoc/resources/10000200000000BE000000BEC7C6AB3C.gif deleted file mode 100644 index f6be89719a70049b360823e9a65ec72dfb63bca5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2158 zcmeHD`#;kQ0R4IuiRRgZTqI1p8X7jb-eah|M%>Y~dE`;iHpV68mBghbpEaXR=9Ti8 zP;G8EljSw(U5i8yi!@a8`riB-_tW`&&gXnS=bT^8@x-9*k&%3W56l5S0RkXsBvX_F z03`snZmcKyKb3A1O{aq|Uc3N7a7AHxy$XWsgoOlfuyKO;Cl|YZhycI zkEJArb(~CUDDp{(7T-J2BNB?Y0Fdq|U{3#=I)F{p)37%wUsCyyZ5%8A)%u@J(=q!{^x^9&asrKVy7u zK%it`$HY9^|Pn+Ke* zYY|I+Gw%d9`6$`s3bJM_T+R}K4_C4v8-}Zxw&QVXI~EOb8oCIhG*BnR$baild1PGA z88dq7PE>oO-&~okI6>lpW~U48b?mqRTQWO(%1j<>9Ex1y5)SW|E>wrO%Q^6^=BTbBIQgOg5Vl{Hi$zfo_$eriC}zD^QNl8{Nh$VI!LYi|<(7u4hN6bK@JU zWlNgP3E^o|UYwU*C9VCN%s-=@3<|HiJbsTIyLI@Ob|do}`Az^$jT|yTr4{X&X;!1B zAI~f`c9?SGRmQzZ{2*-9yq!=3B``O4E#K(0m8;OGI%-U8uG5n(?~Q=aLQC$+6DzE^ zcF+O;+Lq~f{RU24LNZYv22Judh$rbbCFbIid#80x0Jd_9Z%d1k+|?FpBNiqa)RzpD zciDCHHM_VMa;^JM8}YuR*>4eXN0U7={6??LQV?E;+%guPcKqujdWM%gw)PBA2w!xL zP0_yP7iKe~e~w7oXD3b&b1p$mGN2_C#x4yG4UVt zKZ#7gJ94KSqbf_gBB~M)A6ehk?A@Fk)@UEMlHHbKe75hbO~rcHPPC3C z>7s|Gyx|3k@R0Om06LguRkR3w2%;7*$;Cm;Inp6LsE5v7;n%>Qn|U0mU~cgP zitK1&+@)N*=Z}_BcYSuY-!7qx5DsOhm#x8(!rP*u*gvEO>WBi!-&Dvx^_8+*uY!v~ z4UaC8B5Pc&WfjyXnw}j!QI-g-ka`i|dhT|On%LV=0_&Ppgh6CG`gl2@JU)`y}z)B+1qROfEyJ#s#5fxT_84y_;$7=fyR XK`sIAm|#PMC0s@BoE8AA6L9zs(*&mj diff --git a/odfdom/src/main/javadoc/resources/10000200000000BE000000BED3754382.gif b/odfdom/src/main/javadoc/resources/10000200000000BE000000BED3754382.gif deleted file mode 100644 index f51175f62897b1bbc56c04e2f6f543337cf4701e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2066 zcmeH@`8yK~0LQ1qMCzs7UUTMZ&e@uya*pK9QI;d;>wHsq7;?|KIXkdI8O@c9ZI)vR zVVjsjuWJd-O^!sUz4<%dKF{-gzR&ahet-H}SzE%+d%Xg@0;~gm!3A)+^51!R003Tq z=3#Kyr2lf9p5NHm7?;aEIJ$qh<8lw%-~4{yfA9d13*ZOJAc#*p&_GdjH#)JbEB%zB z%>#rdz8fo{7c@!N@#@Y2nPFtC!=`)hsXErUG1e6mlK?jxi>*m2Js6#1OfrL1$wGr8 z)())6s?3s0{B1Hd`hK=NSIccmY$!D&wMbGBn@Oqtx89Y9HxK8uXbSKgs&VgYs+%Aq zl<{$wsV~^AQ39p0F!B1S_Qa!?M>L#?(_I-OA~~bbhS}b{W14BButrW_H2+!zQj#>! z!a$Z!Gs&L*gH?_`%Edz~H%5p)&hDC|h|ZzL@C3q@ylThF7Iftt`zvLAw&?7Z#eh*` z*g${z+4zsAs9%>Os`bb@G(*?b9vYULAb3-LXJdgXA{S>!+b2IqjhjUMr2Xi?yK6xb z+7qtNv~PcNjr&QXmIed=Kzhb-DAZ5rtB@j4$|)O!To+VDuVP}jAUXPVL`+9^`74%vBhsm@c~_> zwx+n>?(8z*oq}ZmCEXoc=Q$oCh@^hpvtTzmrAd#5@At>dI~JK>pCz`RQU8Ek6~5z3 zRAL7EH%04?2jlmp_+B(ep0L$+=aXBx-g!I$daL||xR7cyk5!vX`>t-FPPFK3%ZAIs zCVaLRh&oVbtQ#L_F@;;DRr^4-nwoFbS`XCv%f?o829_AbS}c#Ua$v6ko7DQbKx2FOn^+{|!;UTu5)XfJuc;tDfMP?(8VEcHtMU~{q~0MV&!rTdnZWscXo#r zrf9oWERV&VP5+bd>4y`-FE`$x{{&E-;dM#36DPu_I!Y}sj9&{$NZWEvK7uq6xTm7x zgUjcG(mRA>*3lrLGN2WrQzR@eNni;vvWxE&3-L`Y=6NdU0W-^feaBEwpM5K+C|`Oe zPtipGFX2H>r&$)Sea1ywyohmcr}8*4L;Sq=@xrPuwfBRW#wj!A6#?DqQXH%&Z>D$` zqDR-^O;&*ItVK^%k3my@wzsZATNb^W#m>z!o@5WIqMM92|3)Dvy=6!UdX~KkI9Ag) zv=oWBU|^pUNk+63A!RLXz?cG=3MIWj`YJi|-i4IU4oe6r_*!rNh&)HZD$p91X8uqq ziG%PJI1L@&EZ_@O2BW@Gos&$BRoDoWGng~jrc~@=ZVulz+ zXyfb=b#cyW)J}pPf@;}dq*PxII6z${el0-1Hu4EP*@U0ec7HUEUMzxM}5_qdPdG7 zN5_-cohE+Gf2vQzt2;x+1TSeGGS{1}WMARd&y#25se31cD%X?W6_5|k@1=R zzVT-}x|DDOg4v9P4;jE-*38gdx1h-8@#UGec!=sH7x6#6+He8D9J9rqyho(Wd)guZ~NOH6|F41Cs)l%U1H}EgZuN-LbGt*`GOhcoGhP~ua^UTpfcRw z0)(*KqR8E*(!!XvFNy{6^V&;!$zu^^xwwJx68tk{l=JW5L~~^;E%z2QxscrDSE>*L zT|p5uVCZskc#?m`MaqCbvYHM=W!ZoS?%G#1q96EGSF84 zvcSSmoa3C<(C*6hHm09yHFA?*U#-R910%0pNUmz6;e__!y4@jizot{iD4>=uK115* z`4nE2+o7Eh&Fivu3V4+Pkj4&!sYqB>y)ragRpV`i;QqqzdxmM z5-2VyW@jqi+~0iVx)#08Y(*S=YH}{#{5Zj?j$tZ9wC#RThO5zs7JrGQuPl4CJy~AW z1`PKpK|zsoJKUO^huew8+N<6Io|9m#7XR40xCoP3AP&-$vO{sXJ6Q}?M72YacuY?k zs#pt~bt{-DE4_bD2rgob%V8!-S;2+(das_hUQB|8!lBOCma~T76z!b36CPzIB6ZYM zT@w6sfBe!JNwJMoAOc8KQREgRc)x)d8LNXbvK!&q*?#VBl++H#*9o2Y<(io76$nVh@%0k3~<U=U^0o{?sh(V+Zg31Y8SV2GLP21)#CBoZ$e;v7NqmJ&UNa!LqEuQ)-J z?;bU`eZP?ouEYT%b(TWbYQJIP!}s2}5dDhdJ}38eQQ+((I; diff --git a/odfdom/src/main/javadoc/resources/OpenDocument-v1.2-part1.html b/odfdom/src/main/javadoc/resources/OpenDocument-v1.2-part1.html deleted file mode 100644 index f2f93704e1..0000000000 --- a/odfdom/src/main/javadoc/resources/OpenDocument-v1.2-part1.html +++ /dev/null @@ -1,387 +0,0 @@ - - -OASIS Open Document Format for Office Applications (OpenDocument) Version 1.2 - Part 1: OpenDocument Schema

Open Document Format for Office Applications (OpenDocument) Version 1.2

Part 1: OpenDocument Schema

OASIS Standard

29 September 2011

Specification URIs:

This version:

http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.odt (Authoritative)
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.pdf
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html

Previous version:

http://docs.oasis-open.org/office/v1.2/csd06/OpenDocument-v1.2-csd06-part1.odt       (Authoritative)
http://docs.oasis-open.org/office/v1.2/csd06/OpenDocument-v1.2-csd06-part1.pdf
http://docs.oasis-open.org/office/v1.2/csd06/OpenDocument-v1.2-csd06-part1.html

Latest version:

http://docs.oasis-open.org/office/v1.2/OpenDocument-v1.2-part1.odt (Authoritative)
http://docs.oasis-open.org/office/v1.2/OpenDocument-v1.2-part1.pdf
http://docs.oasis-open.org/office/v1.2/OpenDocument-v1.2-part1.html

Technical Committee:

OASIS Open Document Format for Office Applications (OpenDocument) TC

Chairs:

Rob Weir, IBM
Michael Brauer, Oracle Corporation

Editors:

Patrick Durusau

Michael Brauer, Oracle Corporation

Related work:

This document is part of the OASIS Open Document Format for Office Applications (OpenDocument) Version 1.2 specification.

The OpenDocument v1.2 specification has these parts:

OpenDocument v1.2 part 1: OpenDocument Schema (this part)
OpenDocument v1.2 part 2: Recalculated Formula (OpenFormula) Format
OpenDocument v1.2 part 3: Packages

OpenDocument v1.2 part 1 defines these schemas and ontologies:

OpenDocument v1.2 Relax NG Schema
OpenDocument v1.2 Metadata Manifest Ontology

Declared XML namespaces:

urn:oasis:names:tc:opendocument:xmlns:animation:1.0
urn:oasis:names:tc:opendocument:xmlns:chart:1.0
urn:oasis:names:tc:opendocument:xmlns:config:1.0
urn:oasis:names:tc:opendocument:xmlns:database:1.0
urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0
urn:oasis:names:tc:opendocument:xmlns:drawing:1.0
urn:oasis:names:tc:opendocument:xmlns:form:1.0
urn:oasis:names:tc:opendocument:xmlns:manifest:1.0
urn:oasis:names:tc:opendocument:xmlns:meta:1.0
urn:oasis:names:tc:opendocument:xmlns:data style:1.0
urn:oasis:names:tc:opendocument:xmlns:office:1.0
urn:oasis:names:tc:opendocument:xmlns:presentation:1.0
urn:oasis:names:tc:opendocument:xmlns:script:1.0
urn:oasis:names:tc:opendocument:xmlns:table:1.0
urn:oasis:names:tc:opendocument:xmlns:text:1.0
urn:oasis:names:tc:opendocument:xmlns:style:1.0
urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0
urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0
urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0
urn:oasis:names:tc:opendocument:xmlns:of:1.2
http://docs.oasis-open.org/ns/office/1.2/meta/odf#

Abstract:

This document is part of the Open Document Format for Office Applications (OpenDocument) Version 1.2 specification.

It defines an XML schema for office applications and its semantics. The schema is suitable for office documents, including text documents, spreadsheets, charts and graphical documents like drawings or presentations, but is not restricted to these kinds of documents.

Status:

This document was last revised or approved by the OASIS Open Document Format for Office Applications (OpenDocument) TC on the above date. The level of approval is also listed above. Check the "Latest version" location noted above for possible later revisions of this document.

Technical Committee members should send comments on this specification to the Technical Committee’s email list. Others should send comments to the Technical Committee by using the “Send A Comment” button on the Technical Committee’s web page at http://www.oasis-open.org/committees/office/.

For information on whether any patents have been disclosed that may be essential to implementing this specification, and any offers of patent licensing terms, please refer to the Intellectual Property Rights section of the Technical Committee web page (http://www.oasis-open.org/committees/office/ipr.php).

Citation format:

When referencing this specification the following citation format should be used:

OpenDocument-v1.2-part1

Open Document Format for Office Applications (OpenDocument) Version 1.2 Part 1: OpenDocument Schema. 29 September 2011. OASIS Standard. http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html

Notices

Copyright © OASIS Open 2002–2011. All Rights Reserved.

All capitalized terms in the following text have the meanings assigned to them in the OASIS Intellectual Property Rights Policy (the "OASIS IPR Policy"). The full Policy may be found at the OASIS website.

This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published, and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this section are included on all such copies and derivative works. However, this document itself may not be modified in any way, including by removing the copyright notice or references to OASIS, except as needed for the purpose of developing any document or deliverable produced by an OASIS Technical Committee (in which case the rules applicable to copyrights, as set forth in the OASIS IPR Policy, must be followed) or as required to translate it into languages other than English.

The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.

This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

OASIS requests that any OASIS Party or any other party that believes it has patent claims that would necessarily be infringed by implementations of this OASIS Committee Specification or OASIS Standard, to notify OASIS TC Administrator and provide an indication of its willingness to grant patent licenses to such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that produced this specification.

OASIS invites any party to contact the OASIS TC Administrator if it is aware of a claim of ownership of any patent claims that would necessarily be infringed by implementations of this specification by a patent holder that is not willing to provide a license to such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that produced this specification. OASIS may include such claims on its website, but disclaims any obligation to do so.

OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS' procedures with respect to rights in any document or deliverable produced by an OASIS Technical Committee can be found on the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this OASIS Committee Specification or OASIS Standard, can be obtained from the OASIS TC Administrator. OASIS makes no representation that any information or list of intellectual property rights will at any time be complete, or that any claims in such list are, in fact, Essential Claims.

The names "OASIS", “OpenDocument”, “Open Document Format”, and “ODF” are trademarks of OASIS, the owner and developer of this specification, and should be used only to refer to the organization and its official outputs. OASIS welcomes reference to, and implementation and use of, specifications, while reserving the right to enforce its marks against misleading uses. Please see http://www.oasis-open.org/who/trademark.php for above guidance.

Table of Contents

1 Introduction

1.1 Introduction

1.2 Terminology

1.3 Normative References

1.4 Non Normative References

1.5 Namespaces

2 OpenDocument Documents, Consumers and Producers

2.1 Introduction

2.2 Documents

2.2.1 OpenDocument Document

2.2.2 OpenDocument Extended Document

2.2.3 OpenDocument Text Document

2.2.4 OpenDocument Spreadsheet Document

2.2.5 OpenDocument Drawing Document

2.2.6 OpenDocument Presentation Document

2.2.7 OpenDocument Chart Document

2.2.8 OpenDocument Image Document

2.2.9 OpenDocument Formula Document

2.2.10 OpenDocument Database Front End Document

2.3 Producers

2.3.1 OpenDocument Producer

2.3.2 OpenDocument Extended Producer

2.4 Consumer

3 Document Structure

3.1 Document Representation

3.1.1 General

3.1.2 <office:document>(Single OpenDocument XML Files)

3.1.3 Package OpenDocument Files

3.1.3.1 General

3.1.3.2 <office:document-content>

3.1.3.3 <office:document-styles>

3.1.3.4 <office:document-meta>

3.1.3.5 <office:document-settings>

3.1.4 Summary of Document Representation

3.2 <office:meta>

3.3 <office:body>

3.4 <office:text>

3.5 <office:drawing>

3.6 <office:presentation>

3.7 <office:spreadsheet>

3.8 <office:chart>

3.9 <office:image>

3.10 <office:settings>

3.10.1 General

3.10.2 <config:config-item-set>

3.10.3 <config:config-item>

3.10.4 <config:config-item-map-indexed>

3.10.5 <config:config-item-map-entry>

3.10.6 <config:config-item-map-named>

3.11 Cursor Position Setting

3.12 <office:scripts>

3.13 <office:script>

3.14 <office:font-face-decls>

3.15 Styles

3.15.1 General

3.15.2 <office:styles>

3.15.3 <office:automatic-styles>

3.15.4 <office:master-styles>

3.16 Document Signatures

3.17 Foreign Elements and Attributes

3.18 White Space Processing and EOL Handling

3.19 MIME Types and File Name Extensions

4 Metadata

4.1 General

4.2 RDF Metadata

4.2.1 In Content Metadata (RDFa)

4.2.2 manifest.rdf

4.2.2.1 General

4.2.2.2 odf:ContentFile

4.2.2.3 odf:StylesFile

4.2.2.4 odf:Element

4.2.2.5 odf:prefix

4.2.2.6 odf:suffix

4.3 Non-RDF Metadata

4.3.1 General

4.3.2 Pre-Defined Metadata Elements

4.3.2.1 <meta:generator>

4.3.2.2 <dc:title>

4.3.2.3 <dc:description>

4.3.2.4 <dc:subject>

4.3.2.5 <meta:keyword>

4.3.2.6 <meta:initial-creator>

4.3.2.7 <dc:creator>

4.3.2.8 <meta:printed-by>

4.3.2.9 <meta:creation-date>

4.3.2.10 <dc:date>

4.3.2.11 <meta:print-date>

4.3.2.12 <meta:template>

4.3.2.13 <meta:auto-reload>

4.3.2.14 <meta:hyperlink-behaviour>

4.3.2.15 <dc:language>

4.3.2.16 <meta:editing-cycles>

4.3.2.17 <meta:editing-duration>

4.3.2.18 <meta:document-statistic>

4.3.3 <meta:user-defined>

5 Text Content

5.1 Headings, Paragraphs and Basic Text Structure

5.1.1 General

5.1.2 <text:h>

5.1.3 <text:p>

5.2 <text:page-sequence>

5.2.1 General

5.2.2 <text:page>

5.3 Lists

5.3.1 <text:list>

5.3.2 Default List Style

5.3.3 <text:list-header>

5.3.4 <text:list-item>

5.3.5 List Item Style Rules

5.3.6 <text:numbered-paragraph>

5.3.7 Numbered Paragraph Style Rules

5.4 <text:section>

5.4.1 General

5.4.2 <text:section-source>

5.5 Change Tracking

5.5.1 <text:tracked-changes>

5.5.2 <text:changed-region>

5.5.3 <text:insertion>

5.5.4 <text:deletion>

5.5.5 <text:format-change>

5.5.6 <office:change-info>

5.5.7 Change Marks

5.5.7.1 General

5.5.7.2 <text:change-start>

5.5.7.3 <text:change-end>

5.5.7.4 <text:change>

5.6 <text:soft-page-break>

5.7 Document Declarations

6 Paragraph Elements Content

6.1 Basic Text Content

6.1.1 General

6.1.2 White Space Characters

6.1.3 <text:s>

6.1.4 <text:tab>

6.1.5 <text:line-break>

6.1.6 Soft Hyphens, Hyphens, and Non-breaking Spaces

6.1.7 <text:span>

6.1.8 <text:a>

6.1.9 <text:meta>

6.1.10 <text:number>

6.2 Bookmarks and References

6.2.1 Bookmarks

6.2.1.1 General

6.2.1.2 <text:bookmark>

6.2.1.3 <text:bookmark-start>

6.2.1.4 <text:bookmark-end>

6.2.2 References

6.2.2.1 General

6.2.2.2 <text:reference-mark>

6.2.2.3 <text:reference-mark-start>

6.2.2.4 <text:reference-mark-end>

6.3 Notes

6.3.1 General

6.3.2 <text:note>

6.3.3 <text:note-citation>

6.3.4 <text:note-body>

6.4 <text:ruby>

6.4.1 General

6.4.2 <text:ruby-base>

6.4.3 <text:ruby-text>

7 Text Fields

7.1 General

7.2 Common Characteristics of Field Elements

7.3 Document Fields

7.3.1 General

7.3.2 <text:date>

7.3.3 <text:time>

7.3.4 <text:page-number>

7.3.5 <text:page-continuation>

7.3.6 Subsequent Author Fields

7.3.6.1 General

7.3.6.2 <text:sender-firstname>

7.3.6.3 <text:sender-lastname>

7.3.6.4 <text:sender-initials>

7.3.6.5 <text:sender-title>

7.3.6.6 <text:sender-position>

7.3.6.7 <text:sender-email>

7.3.6.8 <text:sender-phone-private>

7.3.6.9 <text:sender-fax>

7.3.6.10 <text:sender-company>

7.3.6.11 <text:sender-phone-work>

7.3.6.12 <text:sender-street>

7.3.6.13 <text:sender-city>

7.3.6.14 <text:sender-postal-code>

7.3.6.15 <text:sender-country>

7.3.6.16 <text:sender-state-or-province>

7.3.7 Author Fields

7.3.7.1 <text:author-name>

7.3.7.2 <text:author-initials>

7.3.8 <text:chapter>

7.3.9 <text:file-name>

7.3.10 <text:template-name>

7.3.11 <text:sheet-name>

7.4 Variable Fields

7.4.1 General

7.4.2 <text:variable-decls>

7.4.3 <text:variable-decl>

7.4.4 <text:variable-set>

7.4.5 <text:variable-get>

7.4.6 <text:variable-input>

7.4.7 <text:user-field-decls>

7.4.8 <text:user-field-decl>

7.4.9 <text:user-field-get>

7.4.10 <text:user-field-input>

7.4.11 <text:sequence-decls>

7.4.12 <text:sequence-decl>

7.4.13 <text:sequence>

7.4.14 <text:expression>

7.4.15 <text:text-input>

7.5 Metadata Fields

7.5.1 General

7.5.2 <text:initial-creator>

7.5.3 <text:creation-date>

7.5.4 <text:creation-time>

7.5.5 <text:description>

7.5.6 <text:user-defined>

7.5.7 <text:print-time>

7.5.8 <text:print-date>

7.5.9 <text:printed-by>

7.5.10 <text:title>

7.5.11 <text:subject>

7.5.12 <text:keywords>

7.5.13 <text:editing-cycles>

7.5.14 <text:editing-duration>

7.5.15 <text:modification-time>

7.5.16 <text:modification-date>

7.5.17 <text:creator>

7.5.18 Document Statistics Fields

7.5.18.1 General

7.5.18.2 <text:page-count>

7.5.18.3 <text:paragraph-count>

7.5.18.4 <text:word-count>

7.5.18.5 <text:character-count>

7.5.18.6 <text:table-count>

7.5.18.7 <text:image-count>

7.5.18.8 <text:object-count>

7.5.19 <text:meta-field>

7.6 Database Fields

7.6.1 General

7.6.2 <form:connection-resource>

7.6.3 <text:database-display>

7.6.4 <text:database-next>

7.6.5 <text:database-row-select>

7.6.6 <text:database-row-number>

7.6.7 <text:database-name>

7.7 More Fields

7.7.1 Page Variable Fields

7.7.1.1 General

7.7.1.2 <text:page-variable-set>

7.7.1.3 <text:page-variable-get>

7.7.2 <text:placeholder>

7.7.3 <text:conditional-text>

7.7.4 <text:hidden-text>

7.7.5 <text:reference-ref>

7.7.6 <text:bookmark-ref>

7.7.7 <text:note-ref>

7.7.8 <text:sequence-ref>

7.7.9 <text:script>

7.7.10 <text:execute-macro>

7.7.11 <text:hidden-paragraph>

7.7.12 <text:dde-connection>

7.7.13 <text:measure>

7.7.14 <text:table-formula> (deprecated)

8 Text Indexes

8.1 Index Marks

8.1.1 General

8.1.2 <text:toc-mark-start>

8.1.3 <text:toc-mark-end>

8.1.4 <text:toc-mark>

8.1.5 <text:user-index-mark-start>

8.1.6 <text:user-index-mark-end>

8.1.7 <text:user-index-mark>

8.1.8 <text:alphabetical-index-mark-start>

8.1.9 <text:alphabetical-index-mark-end>

8.1.10 <text:alphabetical-index-mark>

8.1.11 <text:bibliography-mark>

8.2 Index Structure

8.2.1 General

8.2.2 <text:index-body>

8.2.3 <text:index-title>

8.3 <text:table-of-content>

8.3.1 General

8.3.2 <text:table-of-content-source>

8.3.3 <text:table-of-content-entry-template>

8.4 <text:illustration-index>

8.4.1 General

8.4.2 <text:illustration-index-source>

8.4.3 <text:illustration-index-entry-template>

8.5 <text:table-index>

8.5.1 General

8.5.2 <text:table-index-source>

8.5.3 <text:table-index-entry-template>

8.6 <text:object-index>

8.6.1 General

8.6.2 <text:object-index-source>

8.6.3 <text:object-index-entry-template>

8.7 <text:user-index>

8.7.1 General

8.7.2 <text:user-index-source>

8.7.3 <text:user-index-entry-template>

8.8 <text:alphabetical-index>

8.8.1 General

8.8.2 <text:alphabetical-index-source>

8.8.3 <text:alphabetical-index-auto-mark-file>

8.8.4 <text:alphabetical-index-entry-template>

8.9 <text:bibliography>

8.9.1 General

8.9.2 <text:bibliography-source>

8.9.3 <text:bibliography-entry-template>

8.10 <text:index-source-styles>

8.11 <text:index-source-style>

8.12 <text:index-title-template>

8.13 Index Template Entries

8.13.1 <text:index-entry-chapter>

8.13.2 <text:index-entry-text>

8.13.3 <text:index-entry-page-number>

8.13.4 <text:index-entry-span>

8.13.5 <text:index-entry-bibliography>

8.13.6 <text:index-entry-tab-stop>

8.13.7 <text:index-entry-link-start>

8.13.8 <text:index-entry-link-end>

9 Tables

9.1 Basic Tables

9.1.1 General

9.1.2 <table:table>

9.1.3 <table:table-row>

9.1.4 <table:table-cell>

9.1.5 <table:covered-table-cell>

9.1.6 <table:table-column>

9.1.7 <table:table-header-rows>

9.1.8 <table:table-rows>

9.1.9 <table:table-row-group>

9.1.10 <table:table-column-group>

9.1.11 <table:table-header-columns>

9.1.12 <table:table-columns>

9.1.13 <table:title>

9.1.14 <table:desc>

9.2 Advanced Tables

9.2.1 Referencing Table Cells

9.2.2 Absolute and relative cell addressing

9.2.3 Cell Range Address

9.2.4 Column and Row Range Addresses

9.2.5 Cell Range Address List

9.2.6 <table:table-source>

9.2.7 <table:scenario>

9.2.8 <table:shapes>

9.3 Advanced Table Cells

9.3.1 <table:cell-range-source>

9.3.2 <table:detective>

9.3.3 <table:operation>

9.3.4 <table:highlighted-range>

9.4 Spreadsheet Document Content

9.4.1 <table:calculation-settings>

9.4.2 <table:null-date>

9.4.3 <table:iteration>

9.4.4 <table:content-validations>

9.4.5 <table:content-validation>

9.4.6 <table:help-message>

9.4.7 <table:error-message>

9.4.8 <table:error-macro>

9.4.9 <table:label-range>

9.4.10 <table:label-ranges>

9.4.11 <table:named-expressions>

9.4.12 <table:named-range>

9.4.13 <table:named-expression>

9.4.14 <table:database-ranges>

9.4.15 <table:database-range>

9.4.16 <table:database-source-sql>

9.4.17 <table:database-source-table>

9.4.18 <table:database-source-query>

9.4.19 <table:sort>

9.4.20 <table:sort-by>

9.4.21 <table:subtotal-rules>

9.4.22 <table:sort-groups>

9.4.23 <table:subtotal-rule>

9.4.24 <table:subtotal-field>

9.5 Filters

9.5.1 General

9.5.2 <table:filter>

9.5.3 <table:filter-and>

9.5.4 <table:filter-or>

9.5.5 <table:filter-condition>

9.5.6 <table:filter-set-item>

9.6 Data Pilot Tables

9.6.1 General

9.6.2 <table:data-pilot-tables>

9.6.3 <table:data-pilot-table>

9.6.4 Data Pilot Table Source

9.6.5 <table:source-cell-range>

9.6.6 <table:source-service>

9.6.7 <table:data-pilot-field>

9.6.8 <table:data-pilot-level>

9.6.9 <table:data-pilot-subtotals>

9.6.10 <table:data-pilot-subtotal>

9.6.11 <table:data-pilot-members>

9.6.12 <table:data-pilot-member>

9.6.13 <table:data-pilot-display-info>

9.6.14 <table:data-pilot-sort-info>

9.6.15 <table:data-pilot-layout-info>

9.6.16 <table:data-pilot-field-reference>

9.6.17 <table:data-pilot-groups>

9.6.18 <table:data-pilot-group>

9.6.19 <table:data-pilot-group-member>

9.7 <table:consolidation>

9.8 <table:dde-links>

9.9 Change Tracking in Spreadsheets

9.9.1 General

9.9.2 <table:tracked-changes>

9.9.3 <table:insertion>

9.9.4 <table:dependencies>

9.9.5 <table:dependency>

9.9.6 <table:deletions>

9.9.7 <table:cell-content-deletion>

9.9.8 <table:change-deletion>

9.9.9 <table:deletion>

9.9.10 <table:cut-offs>

9.9.11 <table:insertion-cut-off>

9.9.12 <table:movement-cut-off>

9.9.13 <table:movement>

9.9.14 <table:source-range-address>

9.9.15 <table:target-range-address>

9.9.16 <table:change-track-table-cell>

9.9.17 <table:cell-content-change>

9.9.18 <table:cell-address>

9.9.19 <table:previous>

10 Graphic Content

10.1 General

10.2 Enhanced Page Features for Graphical Applications

10.2.1 <style:handout-master>

10.2.2 <draw:layer-set>

10.2.3 <draw:layer>

10.2.4 <draw:page>

10.2.5 <draw:equation>

10.3 Drawing Shapes

10.3.1 General

10.3.2 <draw:rect>

10.3.3 <draw:line>

10.3.4 <draw:polyline>

10.3.5 <draw:polygon>

10.3.6 <draw:regular-polygon>

10.3.7 <draw:path>

10.3.8 <draw:circle>

10.3.9 <draw:ellipse>

10.3.10 <draw:connector>

10.3.11 <draw:caption>

10.3.12 <draw:measure>

10.3.13 <draw:control>

10.3.14 <draw:page-thumbnail>

10.3.15 <draw:g>

10.3.16 <draw:glue-point>

10.3.17 <svg:title>

10.3.18 <svg:desc>

10.3.19 <office:event-listeners>

10.4 Frames

10.4.1 General

10.4.2 <draw:frame>

10.4.3 <draw:text-box>

10.4.4 <draw:image>

10.4.5 <office:binary-data>

10.4.6 Objects

10.4.6.1 General

10.4.6.2 <draw:object>

10.4.6.3 <draw:object-ole>

10.4.7 <draw:applet>

10.4.8 <draw:plugin>

10.4.9 <draw:param>

10.4.10 <draw:floating-frame>

10.4.11 Contours

10.4.11.1 General

10.4.11.2 <draw:contour-polygon>

10.4.11.3 <draw:contour-path>

10.4.12 <draw:a>

10.4.13 Client Side Image Maps

10.4.13.1 General

10.4.13.2 <draw:image-map>

10.4.13.3 <draw:area-rectangle>

10.4.13.4 <draw:area-circle>

10.4.13.5 <draw:area-polygon>

10.5 3D Shapes

10.5.1 General

10.5.2 <dr3d:scene>

10.5.3 <dr3d:light>

10.5.4 <dr3d:cube>

10.5.5 <dr3d:sphere>

10.5.6 <dr3d:extrude>

10.5.7 <dr3d:rotate>

10.6 Custom Shape

10.6.1 <draw:custom-shape>

10.6.2 <draw:enhanced-geometry>

10.6.3 <draw:handle>

10.7 Presentation Shapes

10.8 Presentation Animations

10.8.1 <presentation:animations>

10.8.2 <presentation:sound>

10.8.3 <presentation:show-shape>

10.8.4 <presentation:show-text>

10.8.5 <presentation:hide-shape>

10.8.6 <presentation:hide-text>

10.8.7 <presentation:dim>

10.8.8 <presentation:play>

10.8.9 <presentation:animation-group>

10.9 SMIL Presentation Animations

10.9.1 General

10.9.2 <presentation:event-listener>

10.9.3 Presentation Document Content

10.9.3.1 <presentation:header>

10.9.3.2 <presentation:header-decl>

10.9.3.3 <presentation:footer>

10.9.3.4 <presentation:footer-decl>

10.9.3.5 <presentation:date-time>

10.9.3.6 <presentation:date-time-decl>

10.9.3.7 <presentation:settings>

10.9.3.8 <presentation:show>

11 Chart Content

11.1 <chart:chart>

11.2 Title, Subtitle and Footer

11.2.1 <chart:title>

11.2.2 <chart:subtitle>

11.2.3 <chart:footer>

11.3 <chart:legend>

11.4 <chart:plot-area>

11.5 3D Plot Area

11.6 <chart:wall>

11.7 <chart:floor>

11.8 <chart:axis>

11.9 <chart:categories>

11.10 <chart:grid>

11.11 <chart:series>

11.12 <chart:domain>

11.13 <chart:data-point>

11.14 <chart:data-label>

11.15 <chart:mean-value>

11.16 <chart:error-indicator>

11.17 <chart:regression-curve>

11.18 <chart:equation>

11.19 <chart:stock-gain-marker>

11.20 <chart:stock-loss-marker>

11.21 <chart:stock-range-line>

12 Database Front-end Document Content

12.1 <office:database>

12.2 <db:data-source>

12.3 <db:connection-data>

12.4 <db:database-description>

12.5 <db:file-based-database>

12.6 <db:server-database>

12.7 <db:connection-resource>

12.8 <db:login>

12.9 <db:driver-settings>

12.10 <db:auto-increment>

12.11 <db:delimiter>

12.12 <db:character-set>

12.13 <db:table-settings>

12.14 <db:table-setting>

12.15 <db:application-connection-settings>

12.16 <db:table-filter>

12.17 <db:table-include-filter>

12.18 <db:table-exclude-filter>

12.19 <db:table-filter-pattern>

12.20 <db:table-type-filter>

12.21 <db:table-type>

12.22 <db:data-source-settings>

12.23 <db:data-source-setting>

12.24 <db:data-source-setting-value>

12.25 Forms and Reports

12.25.1 General

12.25.2 <db:forms>

12.25.3 <db:reports>

12.25.4 <db:component-collection>

12.25.5 <db:component>

12.26 <db:queries>

12.27 <db:query-collection>

12.28 <db:query>

12.29 <db:order-statement>

12.30 <db:filter-statement>

12.31 <db:update-table>

12.32 <db:table-representations>

12.33 <db:table-representation>

12.34 <db:columns>

12.35 <db:column>

12.36 <db:schema-definition>

12.37 <db:table-definitions>

12.38 <db:table-definition>

12.39 <db:column-definitions>

12.40 <db:column-definition>

12.41 <db:keys>

12.42 <db:key>

12.43 <db:key-columns>

12.44 <db:key-column>

12.45 <db:indices>

12.46 <db:index>

12.47 <db:index-columns>

12.48 <db:index-column>

13 Form Content

13.1 General

13.2 <office:forms>

13.3 <form:form>

13.4 <xforms:model>

13.5 Controls

13.5.1 General

13.5.2 <form:text>

13.5.3 <form:textarea>

13.5.4 <form:password>

13.5.5 <form:file>

13.5.6 <form:formatted-text>

13.5.7 <form:number>

13.5.8 <form:date>

13.5.9 <form:time>

13.5.10 <form:fixed-text>

13.5.11 <form:combobox>

13.5.12 <form:item>

13.5.13 <form:listbox>

13.5.14 <form:option>

13.5.15 <form:button>

13.5.16 <form:image>

13.5.17 <form:checkbox>

13.5.18 <form:radio>

13.5.19 <form:frame>

13.5.20 <form:image-frame>

13.5.21 <form:hidden>

13.5.22 <form:grid>

13.5.23 <form:column>

13.5.24 <form:value-range>

13.5.25 <form:generic-control>

13.6 Event Listeners

13.7 <form:properties>

13.8 <form:property>

13.9 <form:list-property>

13.10 <form:list-value>

14 Common Content

14.1 <office:annotation>

14.2 <office:annotation-end>

14.3 <meta:date-string>

14.4 Event Listener Tables

14.4.1 General

14.4.2 <script:event-listener>

14.4.3 Event Types

14.4.4 Macro Name and Location

14.5 <math:math>

14.6 DDE Connections

14.6.1 General

14.6.2 <text:dde-connection-decls>

14.6.3 <text:dde-connection-decl>

14.6.4 <table:dde-link>

14.6.5 <office:dde-source>

15 SMIL Animations

15.1 General

15.2 Basic Animation Elements

15.2.1 General

15.2.2 <anim:animate>

15.2.3 <anim:animateTransform>

15.2.4 <anim:set>

15.2.5 <anim:animateMotion>

15.2.6 <anim:animateColor>

15.2.7 <anim:transitionFilter>

15.3 Animation Model Attributes

15.3.1 General

15.3.2 Simple Animation Functions

15.4 Animation Timing

15.4.1 General

15.4.2 <anim:par>

15.4.3 <anim:seq>

15.4.4 <anim:iterate>

15.5 <anim:audio>

15.6 Animation Command Elements

15.6.1 <anim:command>

15.6.2 <anim:param>

16 Styles

16.1 General

16.2 <style:style>

16.3 <style:map>

16.4 <style:default-style>

16.5 <style:page-layout>

16.6 <style:header-style>

16.7 <style:footer-style>

16.8 <style:default-page-layout>

16.9 <style:master-page>

16.10 <style:header>

16.11 <style:footer>

16.12 <style:header-left>

16.13 <style:footer-left>

16.14 <style:region-left>

16.15 <style:region-center>

16.16 <style:region-right>

16.17 <presentation:notes>

16.18 <table:table-template>

16.19 Cell Styles

16.19.1 General

16.19.2 <table:first-row>

16.19.3 <table:last-row>

16.19.4 <table:first-column>

16.19.5 <table:last-column>

16.19.6 <table:body>

16.19.7 <table:even-rows>

16.19.8 <table:odd-rows>

16.19.9 <table:even-columns>

16.19.10 <table:odd-columns>

16.20 <table:background>

16.21 <style:font-face>

16.22 <svg:font-face-src>

16.23 <svg:font-face-name>

16.24 <svg:font-face-uri>

16.25 <svg:definition-src>

16.26 <svg:font-face-format>

16.27 Data Styles

16.27.1 General

16.27.2 <number:number-style>

16.27.3 <number:number>

16.27.4 <number:embedded-text>

16.27.5 <number:scientific-number>

16.27.6 <number:fraction>

16.27.7 <number:currency-style>

16.27.8 <number:currency-symbol>

16.27.9 <number:percentage-style>

16.27.10 <number:date-style>

16.27.11 <number:day>

16.27.12 <number:month>

16.27.13 <number:year>

16.27.14 <number:era>

16.27.15 <number:day-of-week>

16.27.16 <number:week-of-year>

16.27.17 <number:quarter>

16.27.18 <number:time-style>

16.27.19 <number:hours>

16.27.20 <number:minutes>

16.27.21 <number:seconds>

16.27.22 <number:am-pm>

16.27.23 <number:boolean-style>

16.27.24 <number:boolean>

16.27.25 <number:text-style>

16.27.26 <number:text>

16.27.27 <number:text-content>

16.27.28 <style:text-properties>

16.28 Text Style Families

16.28.1 Text Styles

16.28.2 Paragraph Styles

16.28.3 Section Styles

16.28.4 Ruby Styles

16.29 Enhanced Text Styles

16.29.1 <text:linenumbering-configuration>

16.29.2 <text:linenumbering-separator>

16.29.3 <text:notes-configuration>

16.29.4 <text:note-continuation-notice-forward>

16.29.5 <text:note-continuation-notice-backward>

16.29.6 <text:bibliography-configuration>

16.29.7 <text:sort-key>

16.30 <text:list-style>

16.31 <text:list-level-style-bullet>

16.32 <text:list-level-style-number>

16.33 <text:list-level-style-image>

16.34 <text:outline-style>

16.35 <text:outline-level-style>

16.36 Table Styles

16.36.1 Table Styles

16.36.2 Table Column Styles

16.36.3 Table Row Styles

16.36.4 Table Cell Styles

16.37 Graphic Styles

16.38 Presentation Styles

16.39 Drawing Page Style

16.40 Enhanced Graphic Style Elements

16.40.1 <draw:gradient>

16.40.2 <svg:linearGradient>

16.40.3 <svg:radialGradient>

16.40.4 <svg:stop>

16.40.5 <draw:hatch>

16.40.6 <draw:fill-image>

16.40.7 <draw:opacity>

16.40.8 <draw:marker>

16.40.9 <draw:stroke-dash>

16.41 <style:presentation-page-layout>

16.42 <presentation:placeholder>

16.43 Chart Styles

17 Formatting Elements

17.1 General

17.2 <style:page-layout-properties>

17.3 <style:background-image>

17.4 <style:footnote-sep>

17.5 <style:header-footer-properties>

17.6 <style:paragraph-properties>

17.7 <style:tab-stops>

17.8 <style:tab-stop>

17.9 <style:drop-cap>

17.10 <style:ruby-properties>

17.11 <style:section-properties>

17.12 <style:columns>

17.13 <style:column>

17.14 <style:column-sep>

17.15 <style:table-properties>

17.16 <style:table-column-properties>

17.17 <style:table-row-properties>

17.18 <style:table-cell-properties>

17.19 <style:list-level-properties>

17.20 <style:list-level-label-alignment>

17.21 <style:graphic-properties>

17.22 <style:chart-properties>

17.23 <chart:symbol-image>

17.24 <chart:label-separator>

17.25 <style:drawing-page-properties>

18 Datatypes

18.1 Introduction

18.2 W3C Schema Datatypes

18.3 Other Datatypes

18.3.1 angle

18.3.2 anyIRI

18.3.3 boolean

18.3.4 cellAddress

18.3.5 cellRangeAddress

18.3.6 cellRangeAddressList

18.3.7 character

18.3.8 clipShape

18.3.9 color

18.3.10 coordinate

18.3.11 countryCode

18.3.12 CURIE

18.3.13 CURIEs

18.3.14 dateOrDateTime

18.3.15 distance

18.3.16 language

18.3.17 languageCode

18.3.18 length

18.3.19 namespacedToken

18.3.20 nonNegativeLength

18.3.21 nonNegativePixelLength

18.3.22 pathData

18.3.23 percent

18.3.24 point3D

18.3.25 points

18.3.26 positiveLength

18.3.27 relativeLength

18.3.28 safeCURIE

18.3.29 scriptCode

18.3.30 signedZeroToHundredPercent

18.3.31 styleName

18.3.32 styleNameRef

18.3.33 styleNameRefs

18.3.34 targetFrameName

18.3.35 textEncoding

18.3.36 timeOrDateTime

18.3.37 URIorSafeCURIE

18.3.38 valueType

18.3.39 variableName

18.3.40 vector3D

18.3.41 zeroToHundredPercent

19 General Attributes

19.1 General

19.2 anim:color-interpolation

19.3 anim:color-interpolation-direction

19.4 anim:audio-level

19.5 anim:command

19.6 anim:formula

19.7 anim:id (deprecated)

19.8 anim:iterate-interval

19.9 anim:iterate-type

19.10 anim:name

19.11 anim:sub-item

19.12 anim:value

19.13 chart:attached-axis

19.14 chart:automatic-content

19.15 chart:class

19.15.1 <chart:chart>, <chart:series>

19.15.2 <chart:grid>

19.16 chart:column-mapping (deprecated)

19.17 chart:data-source-has-labels (deprecated)

19.18 chart:dimension

19.19 chart:display-equation

19.20 chart:display-r-square

19.21 chart:label-cell-address

19.22 chart:legend-align

19.23 chart:legend-position

19.24 chart:name

19.25 chart:repeated

19.26 chart:row-mapping (deprecated)

19.27 chart:style-name

19.28 chart:values-cell-range-address

19.29 config:name

19.30 config:type

19.31 db:additional-column-statement

19.32 db:append-table-alias-name

19.33 db:apply-command

19.34 db:as-template

19.35 db:base-dn

19.36 db:boolean-comparison-mode

19.37 db:catalog-name

19.38 db:command

19.39 db:data-source-setting-is-list

19.40 db:data-source-setting-name

19.41 db:data-source-setting-type

19.42 db:data-type

19.43 db:database-name

19.44 db:decimal

19.45 db:default-cell-style-name

19.46 db:default-row-style-name

19.47 db:delete-rule

19.48 db:description

19.49 db:enable-sql92-check

19.50 db:encoding

19.51 db:escape-processing

19.52 db:extension

19.53 db:field

19.54 db:hostname

19.55 db:ignore-driver-privileges

19.56 db:is-ascending

19.57 db:is-autoincrement

19.58 db:is-clustered

19.59 db:is-empty-allowed

19.60 db:is-first-row-header-line

19.61 db:login-timeout

19.62 db:is-nullable

19.63 db:is-password-required

19.64 db:is-unique

19.65 db:precision

19.66 db:is-table-name-length-limited

19.67 db:local-socket

19.68 db:max-row-count

19.69 db:media-type

19.70 db:name

19.70.1 General

19.70.2 <db:column>

19.70.3 <db:column-definition>

19.70.4 <db:component>

19.70.5 <db:component-collection>

19.70.6 <db:index>

19.70.7 <db:index-column>

19.70.8 <db:key>

19.70.9 <db:key-column>

19.70.10 <db:query>

19.70.11 <db:query-collection>

19.70.12 <db:table-definition>

19.70.13 <db:table-representation>

19.70.14 <db:update-table>

19.71 db:parameter-name-substitution

19.72 db:port

19.73 db:referenced-table-name

19.74 db:related-column-name

19.75 db:row-retrieving-statement

19.76 db:scale

19.77 db:schema-name

19.78 db:show-deleted

19.79 db:string

19.80 db:style-name

19.80.1 General

19.80.2 <db:column>

19.80.3 <db:query>

19.80.4 <db:table-representation>

19.81 db:suppress-version-columns

19.82 db:system-driver-settings

19.83 db:thousand

19.84 db:title

19.85 db:type

19.85.1 General

19.85.2 <db:key>

19.85.3 <db:server-database>

19.85.4 <db:table-definition>

19.86 db:type-name

19.87 db:update-rule

19.88 db:use-catalog

19.89 db:use-system-user

19.90 db:user-name

19.91 db:visible

19.92 dr3d:ambient-color

19.93 dr3d:center

19.94 dr3d:diffuse-color

19.95 dr3d:direction

19.96 dr3d:distance

19.97 dr3d:enabled

19.98 dr3d:focal-length

19.99 dr3d:lighting-mode

19.99.1 General

19.99.2 <chart:plot-area>

19.99.3 <dr3d:scene>

19.100 dr3d:max-edge

19.101 dr3d:min-edge

19.102 dr3d:projection

19.103 dr3d:shade-mode

19.104 dr3d:shadow-slant

19.105 dr3d:size

19.106 dr3d:specular

19.107 dr3d:transform

19.108 dr3d:vpn

19.109 dr3d:vrp

19.110 dr3d:vup

19.111 draw:align

19.112 draw:angle

19.113 draw:archive

19.114 draw:border

19.115 draw:caption-id

19.116 draw:caption-point-x

19.117 draw:caption-point-y

19.118 draw:chain-next-name

19.119 draw:class-id

19.120 draw:class-names

19.121 draw:code

19.122 draw:color

19.122.1 General

19.122.2 <draw:hatch>

19.122.3 <presentation:dim>

19.123 draw:concave

19.124 draw:concentric-gradient-fill-allowed

19.125 draw:control

19.126 draw:copy-of

19.127 draw:corner-radius

19.128 draw:corners

19.129 draw:cx

19.130 draw:cy

19.131 draw:data

19.132 draw:display

19.133 draw:display-name

19.133.1 General

19.133.2 <draw:fill-image>

19.133.3 <draw:gradient>

19.133.4 <draw:hatch>

19.133.5 <draw:marker>

19.133.6 <draw:opacity>

19.133.7 <draw:stroke-dash>

19.133.8 <svg:linearGradient>

19.133.9 <svg:radialGradient>

19.134 draw:distance

19.134.1 General

19.134.2 <draw:hatch>

19.134.3 <draw:stroke-dash>

19.135 draw:dots1

19.136 draw:dots1-length

19.137 draw:dots2

19.138 draw:dots2-length

19.139 draw:end

19.140 draw:end-angle

19.141 draw:end-color

19.142 draw:end-glue-point

19.143 draw:end-intensity

19.144 draw:end-shape

19.145 draw:enhanced-path

19.146 draw:engine

19.147 draw:escape-direction

19.148 draw:extrusion

19.149 draw:extrusion-allowed

19.150 draw:extrusion-brightness

19.151 draw:extrusion-color

19.152 draw:extrusion-depth

19.153 draw:extrusion-diffusion

19.154 draw:extrusion-first-light-direction

19.155 draw:extrusion-first-light-harsh

19.156 draw:extrusion-first-light-level

19.157 draw:extrusion-light-face

19.158 draw:extrusion-metal

19.159 draw:extrusion-number-of-line-segments

19.160 draw:extrusion-origin

19.161 draw:extrusion-rotation-angle

19.162 draw:extrusion-rotation-center

19.163 draw:extrusion-second-light-direction

19.164 draw:extrusion-second-light-harsh

19.165 draw:extrusion-second-light-level

19.166 draw:extrusion-shininess

19.167 draw:extrusion-skew

19.168 draw:extrusion-specularity

19.169 draw:extrusion-viewpoint

19.170 draw:filter-name

19.171 draw:formula

19.172 draw:frame-name

19.173 draw:glue-point-leaving-directions

19.174 draw:glue-point-type

19.175 draw:glue-points

19.176 draw:handle-mirror-horizontal

19.177 draw:handle-mirror-vertical

19.178 draw:handle-polar

19.179 draw:handle-position

19.180 draw:handle-radius-range-maximum

19.181 draw:handle-radius-range-minimum

19.182 draw:handle-range-x-maximum

19.183 draw:handle-range-x-minimum

19.184 draw:handle-range-y-maximum

19.185 draw:handle-range-y-minimum

19.186 draw:handle-switched

19.187 draw:id

19.187.1 General

19.187.2 <draw:glue-point>

19.187.3 <dr3d:cube>, <dr3d:extrude>, <dr3d:rotate>, <dr3d:scene>, <dr3d:sphere>, <draw:caption>, <draw:circle>, <draw:connector>, <draw:control>, <draw:custom-shape>, <draw:ellipse>, <draw:frame>, <draw:g>, <draw:line>, <draw:measure>, <draw:page>, <draw:page-thumbnail>, <draw:path>, <draw:polygon>, <draw:polyline>, <draw:rect>, <draw:regular-polygon> and <office:annotation>

19.188 draw:kind

19.189 draw:layer

19.190 draw:line-skew

19.191 draw:mime-type

19.192 draw:mirror-horizontal

19.193 draw:mirror-vertical

19.194 draw:master-page-name

19.195 draw:may-script

19.196 draw:modifiers

19.197 draw:name

19.197.1 General

19.197.2 <draw:caption>

19.197.3 <draw:circle>

19.197.4 <draw:connector>

19.197.5 <draw:control>

19.197.6 <draw:custom-shape>

19.197.7 <draw:ellipse>

19.197.8 <draw:equation>

19.197.9 <draw:fill-image>

19.197.10 <draw:frame>

19.197.11 <draw:g>

19.197.12 <draw:gradient>

19.197.13 <draw:hatch>

19.197.14 <draw:layer>

19.197.15 <draw:line>

19.197.16 <draw:marker>

19.197.17 <draw:measure>

19.197.18 <draw:opacity>

19.197.19 <draw:page>

19.197.20 <draw:page-thumbnail>

19.197.21 <draw:param>

19.197.22 <draw:path>

19.197.23 <draw:polygon>

19.197.24 <draw:polyline>

19.197.25 <draw:rect>

19.197.26 <draw:regular-polygon>

19.197.27 <draw:stroke-dash>

19.197.28 <office:annotation> (deprecated)

19.197.29 <svg:linearGradient>

19.197.30 <svg:radialGradient>

19.198 draw:nav-order

19.199 draw:nohref

19.200 draw:notify-on-update-of-ranges

19.201 draw:object

19.202 draw:opacity

19.203 draw:page-number

19.204 draw:path-stretchpoint-x

19.205 draw:path-stretchpoint-y

19.206 draw:points

19.207 draw:protected

19.208 draw:recreate-on-edit

19.209 draw:rotation

19.210 draw:shape-id

19.211 draw:sharpness

19.212 draw:start

19.213 draw:start-angle

19.214 draw:start-color

19.215 draw:start-glue-point

19.216 draw:start-intensity

19.217 draw:start-shape

19.218 draw:style

19.218.1 General

19.218.2 <draw:gradient>

19.218.3 <draw:hatch>

19.218.4 <draw:opacity>

19.218.5 <draw:stroke-dash>

19.219 draw:style-name

19.219.1 General

19.219.2 <dr3d:cube>

19.219.3 <dr3d:extrude>

19.219.4 <dr3d:rotate>

19.219.5 <dr3d:scene>

19.219.6 <dr3d:sphere>

19.219.7 <draw:caption>

19.219.8 <draw:circle>

19.219.9 <draw:connector>

19.219.10 <draw:control>

19.219.11 <draw:custom-shape>

19.219.12 <draw:ellipse>

19.219.13 <draw:frame>

19.219.14 <draw:g>

19.219.15 <draw:line>

19.219.16 <draw:measure>

19.219.17 <draw:page>

19.219.18 <draw:page-thumbnail>

19.219.19 <draw:path>

19.219.20 <draw:polygon>

19.219.21 <draw:polyline>

19.219.22 <draw:rect>

19.219.23 <draw:regular-polygon>

19.219.24 <office:annotation>

19.219.25 <presentation:notes>

19.219.26 <style:handout-master>

19.219.27 <style:master-page>

19.220 draw:text-areas

19.221 draw:text-path

19.222 draw:text-path-allowed

19.223 draw:text-path-mode

19.224 draw:text-path-same-letter-heights

19.225 draw:text-path-scale

19.226 draw:text-rotate-angle

19.227 draw:text-style-name

19.228 draw:transform

19.229 draw:type

19.229.1 General

19.229.2 <draw:connector>

19.229.3 <draw:enhanced-geometry>

19.230 draw:value

19.231 draw:z-index

19.232 fo:column-count

19.233 fo:column-gap

19.234 fo:country

19.234.1 <text:alphabetical-index-source>

19.234.2 <text:bibliography-configuration>

19.235 fo:end-indent

19.236 fo:language

19.236.1 General

19.236.2 <text:alphabetical-index-source>

19.236.3 <text:bibliography-configuration>

19.237 fo:margin-left

19.238 fo:max-height

19.239 fo:max-width

19.240 fo:min-height

19.241 fo:min-width

19.242 fo:script

19.242.1 General

19.242.2 <text:alphabetical-index-source>

19.242.3 <text:bibliography-configuration>

19.243 fo:space-after

19.244 fo:space-before

19.245 fo:start-indent

19.246 fo:text-indent

19.247 form:allow-deletes

19.248 form:allow-inserts

19.249 form:allow-updates

19.250 form:apply-design-mode

19.251 form:apply-filter

19.252 form:auto-complete

19.253 form:automatic-focus

19.254 form:bound-column

19.255 form:button-type

19.256 form:command

19.257 form:command-type

19.258 form:control-implementation

19.259 form:convert-empty-to-null

19.260 form:current-selected

19.261 form:current-state

19.262 form:current-value

19.263 form:data-field

19.264 form:datasource

19.265 form:default-button

19.266 form:delay-for-repeat

19.267 form:detail-fields

19.268 form:disabled

19.269 form:dropdown

19.270 form:echo-char

19.271 form:enctype

19.272 form:escape-processing

19.273 form:filter

19.274 form:focus-on-click

19.275 form:for

19.276 form:id (deprecated)

19.277 form:ignore-result

19.278 form:image-align

19.279 form:image-data

19.280 form:image-position

19.281 form:is-tristate

19.282 form:label

19.283 form:linked-cell

19.284 form:list-linkage-type

19.285 form:list-source

19.286 form:list-source-type

19.287 form:master-fields

19.288 form:max-length

19.289 form:max-value

19.289.1 General

19.289.2 <form:date>

19.289.3 <form:formatted-text>

19.289.4 <form:number> and <form:value-range>

19.289.5 <form:time>

19.290 form:min-value

19.290.1 General

19.290.2 <form:date>

19.290.3 <form:formatted-text>

19.290.4 <form:number> and <form:value-range>

19.290.5 <form:time>

19.291 form:method

19.292 form:multi-line

19.293 form:multiple

19.294 form:name

19.295 form:navigation-mode

19.296 form:order

19.297 form:orientation

19.298 form:page-step-size

19.299 form:printable

19.300 form:property-name

19.301 form:readonly

19.302 form:repeat

19.303 form:selected

19.304 form:size

19.305 form:source-cell-range

19.306 form:spin-button

19.307 form:state

19.308 form:step-size

19.309 form:tab-cycle

19.310 form:tab-index

19.311 form:tab-stop

19.312 form:text-style-name

19.313 form:title

19.314 form:toggle

19.315 form:validation

19.316 form:value

19.316.1 General

19.316.2 <form:button>

19.316.3 <form:date>

19.316.4 <form:number> and <form:value-range>

19.316.5 <form:checkbox>, <form:combobox>, <form:file>, <form:formatted-text>, <form:hidden>, <form:image>, <form:option>, <form:password>, <form:radio>, <form:text>, <form:textarea>

19.316.6 <form:time>

19.317 form:visual-effect

19.318 form:xforms-list-source

19.319 form:xforms-submission

19.320 grddl:transformation

19.321 meta:cell-count

19.322 meta:character-count

19.323 meta:date

19.324 meta:delay

19.325 meta:draw-count

19.326 meta:frame-count

19.327 meta:image-count

19.328 meta:name

19.329 meta:non-whitespace-character-count

19.330 meta:object-count

19.331 meta:ole-object-count

19.332 meta:page-count

19.333 meta:paragraph-count

19.334 meta:row-count

19.335 meta:sentence-count

19.336 meta:syllable-count

19.337 meta:table-count

19.338 meta:value-type

19.339 meta:word-count

19.340 number:automatic-order

19.341 number:calendar

19.342 number:country

19.343 number:decimal-places

19.343.1 General

19.343.2 <number:number>

19.343.3 <number:seconds>

19.343.4 <number:scientific-number>

19.344 number:decimal-replacement

19.345 number:denominator-value

19.346 number:display-factor

19.347 number:format-source

19.348 number:grouping

19.349 number:language

19.350 number:min-denominator-digits

19.351 number:min-exponent-digits

19.352 number:min-integer-digits

19.353 number:min-numerator-digits

19.354 number:position

19.355 number:possessive-form

19.356 number:rfc-language-tag

19.357 number:script

19.358 number:style

19.358.1 General

19.358.2 <number:day>

19.358.3 <number:day-of-week>

19.358.4 <number:era>

19.358.5 <number:hours>

19.358.6 <number:minutes>

19.358.7 <number:month>

19.358.8 <number:quarter>

19.358.9 <number:seconds>

19.358.10 <number:year>

19.359 number:textual

19.360 number:title

19.361 number:transliteration-country

19.362 number:transliteration-format

19.363 number:transliteration-language

19.364 number:transliteration-style

19.365 number:truncate-on-overflow

19.366 office:automatic-update

19.367 office:boolean-value

19.368 office:conversion-mode

19.369 office:currency

19.370 office:date-value

19.371 office:dde-application

19.372 office:dde-item

19.373 office:dde-topic

19.374 office:display

19.375 office:mimetype

19.376 office:name

19.376.1 General

19.376.2 <draw:a>

19.376.3 <draw:area-circle>

19.376.4 <draw:area-rectangle>

19.376.5 <draw:area-polygon>

19.376.6 <office:annotation>

19.376.7 <office:annotation-end>

19.376.8 <office:dde-source>

19.376.9 <text:a>

19.376.10 <text:dde-connection-decl>

19.377 office:process-content (deprecated)

19.378 office:server-map

19.379 office:string-value

19.380 office:target-frame

19.381 office:target-frame-name

19.382 office:time-value

19.383 office:title

19.384 office:value

19.385 office:value-type

19.386 office:version

19.387 presentation:action

19.388 presentation:animations

19.389 presentation:class

19.390 presentation:class-names

19.391 presentation:delay

19.392 presentation:direction

19.393 presentation:endless

19.394 presentation:effect

19.395 presentation:force-manual

19.396 presentation:full-screen

19.397 presentation:group-id

19.398 presentation:master-element

19.399 presentation:mouse-as-pen

19.400 presentation:mouse-visible

19.401 presentation:name

19.402 presentation:node-type

19.403 presentation:object

19.404 presentation:pages

19.405 presentation:path-id

19.406 presentation:pause

19.407 presentation:placeholder

19.408 presentation:play-full

19.409 presentation:presentation-page-layout-name

19.410 presentation:preset-class

19.411 presentation:preset-id

19.412 presentation:preset-sub-type

19.413 presentation:show

19.414 presentation:show-end-of-presentation-slide

19.415 presentation:show-logo

19.416 presentation:source

19.417 presentation:speed

19.418 presentation:start-scale

19.419 presentation:start-page

19.420 presentation:start-with-navigator

19.421 presentation:stay-on-top

19.422 presentation:style-name

19.423 presentation:transition-on-click

19.424 presentation:use-date-time-name

19.425 presentation:use-footer-name

19.426 presentation:use-header-name

19.427 presentation:user-transformed

19.428 presentation:verb

19.429 script:event-name

19.430 script:language

19.431 script:macro-name

19.432 smil:accelerate

19.433 smil:accumulate

19.434 smil:additive

19.435 smil:attributeName

19.436 smil:autoReverse

19.437 smil:begin

19.438 smil:by

19.439 smil:calcMode

19.440 smil:decelerate

19.441 smil:direction

19.442 smil:dur

19.443 smil:end

19.444 smil:endsync

19.445 smil:fadeColor

19.446 smil:fill

19.447 smil:fillDefault

19.448 smil:from

19.449 smil:keySplines

19.450 smil:keyTimes

19.451 smil:mode

19.452 smil:repeatCount

19.453 smil:repeatDur

19.454 smil:restart

19.455 smil:restartDefault

19.456 smil:subtype

19.457 smil:targetElement

19.458 smil:to

19.459 smil:type

19.460 smil:values

19.461 style:adjustment

19.462 style:apply-style-name

19.463 style:auto-update

19.464 style:base-cell-address

19.465 style:char

19.466 style:class

19.467 style:color

19.468 style:condition

19.469 style:data-style-name

19.469.1 General

19.469.2 <presentation:date-time-decl>

19.469.3 <style:style>

19.469.4 <text:creation-date>

19.469.5 <text:creation-time>

19.469.6 <text:database-display>

19.469.7 <text:date>

19.469.8 <text:editing-duration>

19.469.9 <text:expression>

19.469.10 <text:meta-field>

19.469.11 <text:modification-date>

19.469.12 <text:modification-time>

19.469.13 <text:print-date>

19.469.14 <text:print-time>

19.469.15 <text:table-formula>

19.469.16 <text:time>

19.469.17 <text:user-defined>

19.469.18 <text:user-field-get>

19.469.19 <text:user-field-input>

19.469.20 <text:variable-get>

19.469.21 <text:variable-input>

19.469.22 <text:variable-set>

19.470 style:default-outline-level

19.471 style:display

19.472 style:display-name

19.473 style:distance

19.474 style:distance-before-sep

19.475 style:distance-after-sep

19.476 style:family

19.477 style:filter-name

19.478 style:font-adornments

19.479 style:font-charset

19.480 style:font-family-generic

19.481 style:font-pitch

19.482 style:height

19.483 style:leader-char

19.484 style:leader-color

19.485 style:leader-style

19.486 style:leader-text

19.487 style:leader-text-style

19.488 style:leader-type

19.489 style:leader-width

19.490 style:legend-expansion

19.491 style:legend-expansion-aspect-ratio

19.492 style:length

19.493 style:line-style

19.494 style:lines

19.495 style:list-level

19.496 style:list-style-name

19.497 style:master-page-name

19.498 style:name

19.498.1 General

19.498.2 <number:boolean-style>, <number:currency-style>, <number:date-style>, <number:number-style>, <number:percentage-style>, <number:text-style>, <number:time-style>, <style:master-page>, <style:page-layout>, <style:presentation-page-layout>, <style:style>, <text:list-style>, <text:outline-style>

19.498.3 <style:font-face>

19.499 style:next-style-name

19.499.1 General

19.499.2 <style:master-page>

19.499.3 <style:style>

19.500 style:num-format

19.501 style:num-letter-sync

19.502 style:num-prefix

19.503 style:num-suffix

19.504 style:page-layout-name

19.505 style:page-usage

19.506 style:parent-style-name

19.507 style:percentage-data-style-name

19.508 style:position

19.508.1 General

19.508.2 <style:background-image>

19.508.3 <style:tab-stop>

19.508.4 <text:index-entry-tab-stop>

19.509 style:rel-height

19.510 style:rel-width

19.510.1 General

19.510.2 <draw:frame>

19.510.3 <style:column>

19.510.4 <style:footnote-sep>

19.511 style:repeat

19.512 style:rfc-language-tag

19.513 style:style

19.514 style:style-name

19.515 style:type

19.515.1 General

19.515.2 <text:index-entry-tab-stop>

19.515.3 <style:tab-stop>

19.516 style:vertical-align

19.517 style:volatile

19.518 style:width

19.518.1 General

19.518.2 <style:column-sep>

19.518.3 <style:footnote-sep>

19.519 svg:accent-height

19.520 svg:alphabetic

19.521 svg:ascent

19.522 svg:bbox

19.523 svg:cap-height

19.524 svg:cx

19.524.1 <draw:area-circle>

19.524.2 <draw:circle>

19.524.3 <draw:ellipse>

19.524.4 <svg:radialGradient>

19.525 svg:cy

19.525.1 <draw:area-circle>

19.525.2 <draw:circle>

19.525.3 <draw:ellipse>

19.525.4 <svg:radialGradient>

19.526 svg:d

19.527 svg:descent

19.528 svg:font-family

19.529 svg:font-size

19.530 svg:font-stretch

19.531 svg:font-style

19.532 svg:font-variant

19.533 svg:font-weight

19.534 svg:fx

19.535 svg:fy

19.536 svg:gradientTransform

19.537 svg:gradientUnits

19.538 svg:hanging

19.539 svg:height

19.539.1 <chart:chart>

19.539.2 <chart:plot-area>

19.539.3 <dr3d:scene>

19.539.4 <draw:area-polygon>

19.539.5 <draw:area-rectangle>

19.539.6 <draw:contour-polygon>, <draw:contour-path>

19.539.7 <draw:fill-image>

19.539.8 <draw:caption>, <draw:custom-shape>, <draw:circle>, <draw:control>, <draw:ellipse>, <draw:frame>, <draw:rect>, <draw:page-thumbnail>, <draw:path>, <draw:polygon>, <draw:polyline>, <draw:regular-polygon>

19.539.9 <office:annotation>

19.539.10 <presentation:placeholder>

19.540 svg:ideographic

19.541 svg:mathematical

19.542 svg:name

19.543 svg:offset

19.544 svg:origin

19.545 svg:overline-position

19.546 svg:overline-thickness

19.547 svg:panose-1

19.548 svg:path

19.549 svg:r

19.549.1 <draw:area-circle>

19.549.2 <draw:circle>

19.549.3 <svg:radialGradient>

19.550 svg:rx

19.551 svg:ry

19.552 svg:slope

19.553 svg:spreadMethod

19.554 svg:stemh

19.555 svg:stemv

19.556 svg:stop-color

19.557 svg:stop-opacity

19.558 svg:strikethrough-position

19.559 svg:strikethrough-thickness

19.560 svg:string

19.561 svg:type

19.562 svg:underline-position

19.563 svg:underline-thickness

19.564 svg:unicode-range

19.565 svg:units-per-em

19.566 svg:v-alphabetic

19.567 svg:v-hanging

19.568 svg:v-ideographic

19.569 svg:v-mathematical

19.570 svg:viewBox

19.571 svg:width

19.571.1 <chart:chart>

19.571.2 <chart:floor>

19.571.3 <chart:plot-area>

19.571.4 <chart:wall>

19.571.5 <dr3d:scene>

19.571.6 <draw:area-polygon>

19.571.7 <draw:area-rectangle>

19.571.8 <draw:contour-polygon>, <draw:contour-path>

19.571.9 <draw:fill-image>

19.571.10 <draw:caption>, <draw:custom-shape>, <draw:circle>, <draw:control>, <draw:ellipse>, <draw:frame>, <draw:rect>, <draw:page-thumbnail>, <draw:path>, <draw:polygon>, <draw:polyline>, <draw:regular-polygon>

19.571.11 <office:annotation>

19.571.12 <presentation:placeholder>

19.572 svg:widths

19.573 svg:x

19.573.1 <chart:data-label>, <chart:equation>, <chart:footer>, <chart:legend>, <chart:plot-area>, <chart:subtitle>, <chart:title>

19.573.2 <draw:area-polygon>

19.573.3 <draw:area-rectangle>

19.573.4 <dr3d:scene>

19.573.5 <draw:caption>, <draw:custom-shape>, <draw:circle>, <draw:control>, <draw:ellipse>, <draw:frame>, <draw:rect>, <draw:page-thumbnail>, <draw:path>, <draw:polygon>, <draw:polyline>, <draw:regular-polygon>

19.573.6 <draw:glue-point>

19.573.7 <office:annotation>

19.573.8 <presentation:placeholder>

19.574 svg:x1

19.574.1 <draw:connector>, <draw:line> and <draw:measure>

19.574.2 <svg:linearGradient>

19.575 svg:x2

19.575.1 <draw:connector>, <draw:line> and <draw:measure>

19.575.2 <svg:linearGradient>

19.576 svg:x-height

19.577 svg:y

19.577.1 <chart:data-label>, <chart:equation>, <chart:footer>, <chart:legend>, <chart:plot-area>, <chart:subtitle>, <chart:title>

19.577.2 <draw:area-polygon>

19.577.3 <draw:area-rectangle>

19.577.4 <dr3d:scene>

19.577.5 <draw:caption>, <draw:custom-shape>, <draw:circle>, <draw:control>, <draw:ellipse>, <draw:frame>, <draw:g>, <draw:rect>, <draw:page-thumbnail>, <draw:path>, <draw:polygon>, <draw:polyline>, <draw:regular-polygon>

19.577.6 <draw:glue-point>

19.577.7 <office:annotation>

19.577.8 <presentation:placeholder>

19.578 svg:y1

19.578.1 <draw:connector>, <draw:line> and <draw:measure>

19.578.2 <svg:linearGradient>

19.579 svg:y2

19.579.1 <draw:connector>, <draw:line> and <draw:measure>

19.579.2 <svg:linearGradient>

19.580 table:acceptance-state

19.581 table:algorithm

19.582 table:add-empty-lines

19.583 table:allow-empty-cell

19.584 table:application-data

19.585 table:automatic-find-labels

19.586 table:base-cell-address

19.587 table:bind-styles-to-content

19.588 table:border-color

19.589 table:buttons

19.590 table:case-sensitive

19.591 table:cell-address

19.592 table:cell-range

19.593 table:cell-range-address

19.593.1 General

19.593.2 <chart:categories>

19.593.3 <chart:domain> - bubble

19.593.4 <chart:domain>- scatter

19.593.5 <chart:domain> - surface

19.593.6 <chart:plot-area> (deprecated)

19.593.7 <table:highlighted-range>

19.593.8 <table:named-range>

19.593.9 <table:source-cell-range>

19.594 table:column

19.595 table:comment

19.596 table:condition

19.597 table:condition-source

19.598 table:condition-source-range-address

19.599 table:contains-error

19.600 table:contains-header

19.601 table:content-validation-name

19.602 table:copy-back

19.603 table:copy-formulas

19.604 table:copy-styles

19.605 table:count

19.606 table:country

19.607 table:data-field

19.608 table:data-cell-range-address

19.609 table:database-name

19.610 table:database-table-name

19.611 table:data-type

19.611.1 General

19.611.2 <table:filter-condition>

19.611.3 <table:sort-by>

19.611.4 <table:sort-groups>

19.612 table:date-end

19.613 table:date-start

19.614 table:date-value

19.615 table:default-cell-style-name

19.616 table:direction

19.617 table:display

19.618 table:display-border

19.619 table:display-duplicates

19.620 table:display-filter-buttons

19.621 table:display-list

19.622 table:display-member-mode

19.623 table:drill-down-on-double-click

19.624 table:embedded-number-behavior

19.625 table:enabled

19.626 table:end

19.627 table:end-cell-address

19.628 table:end-column

19.629 table:end-position

19.630 table:end-row

19.631 table:end-table

19.632 table:end-x

19.633 table:end-y

19.634 table:execute

19.635 table:expression

19.636 table:field-name

19.637 table:field-number

19.638 table:filter-name

19.639 table:filter-options

19.640 table:first-row-end-column (deprecated)

19.641 table:first-row-start-column (deprecated)

19.642 table:formula

19.643 table:function

19.643.1 General

19.643.2 <table:consolidation>

19.643.3 <table:data-pilot-field>

19.643.4 <table:data-pilot-subtotal>

19.643.5 <table:subtotal-field>

19.644 table:grand-total

19.645 table:group-by-field-number

19.646 table:grouped-by

19.647 table:has-persistent-data

19.648 table:id

19.649 table:identify-categories

19.650 table:ignore-empty-rows

19.651 table:index

19.652 table:is-active

19.653 table:is-data-layout-field

19.654 table:is-selection

19.655 table:is-sub-table

19.656 table:label-cell-range-address

19.657 table:language

19.658 table:last-column-spanned

19.659 table:last-row-end-column (deprecated)

19.660 table:last-row-spanned

19.661 table:last-row-start-column (deprecated)

19.662 table:layout-mode

19.663 table:link-to-source-data

19.664 table:marked-invalid

19.665 table:matrix-covered

19.666 table:maximum-difference

19.667 table:member-count

19.668 table:member-name

19.669 table:member-type

19.670 table:message-type

19.671 table:mode

19.672 table:multi-deletion-spanned

19.673 table:name

19.673.1 General

19.673.2 <table:cell-range-source>

19.673.3 <table:content-validation>

19.673.4 <table:data-pilot-group>

19.673.5 <table:data-pilot-group-member>

19.673.6 <table:data-pilot-member>

19.673.7 <table:data-pilot-table>

19.673.8 <table:database-range>

19.673.9 <table:named-expression>

19.673.10 <table:named-range>

19.673.11 <table:operation>

19.673.12 <table:source-service>

19.673.13 <table:table>

19.673.14 <table:table-template>

19.674 table:null-year

19.675 table:number-columns-repeated

19.675.1 General

19.675.2 <table:covered-table-cell>

19.675.3 <table:table-cell>

19.675.4 <table:table-column>

19.676 table:number-columns-spanned

19.677 table:number-rows-repeated

19.678 table:number-rows-spanned

19.679 table:number-matrix-columns-spanned

19.680 table:number-matrix-rows-spanned

19.681 table:object-name

19.682 table:on-update-keep-size

19.683 table:on-update-keep-styles

19.684 table:operator

19.685 table:order

19.686 table:orientation

19.686.1 General

19.686.2 <table:data-pilot-field>

19.686.3 <table:database-range>

19.686.4 <table:label-range>

19.687 table:page-breaks-on-group-change

19.688 table:paragraph-style-name

19.689 table:parse-sql-statement

19.690 table:password

19.691 table:position

19.692 table:precision-as-shown

19.693 table:print

19.694 table:print-ranges

19.695 table:protect (deprecated)

19.696 table:protected

19.696.1 General

19.696.2 <table:covered-table-cell>

19.696.3 <table:scenario>

19.696.4 <table:table>

19.696.5 <table:table-cell>

19.697 table:protection-key

19.698 table:protection-key-digest-algorithm

19.699 table:query-name

19.700 table:range-usable-as

19.701 table:refresh-delay

19.702 table:rejecting-change-id

19.703 table:rfc-language-tag

19.704 table:row

19.705 table:scenario-ranges

19.706 table:script

19.707 table:search-criteria-must-apply-to-whole-cell

19.708 table:selected-page

19.709 table:show-details

19.710 table:show-empty

19.711 table:show-filter-button

19.712 table:sort-mode

19.713 table:source-cell-range-addresses

19.714 table:source-field-name

19.715 table:source-name

19.716 table:sql-statement

19.717 table:start

19.718 table:start-column

19.719 table:start-position

19.720 table:start-row

19.721 table:start-table

19.722 table:status

19.723 table:step

19.724 table:steps

19.725 table:structure-protected

19.726 table:style-name

19.726.1 General

19.726.2 <table:background>

19.726.3 <table:body>

19.726.4 <table:covered-table-cell>

19.726.5 <table:even-columns>

19.726.6 <table:even-rows>

19.726.7 <table:first-column>

19.726.8 <table:first-row>

19.726.9 <table:last-column>

19.726.10 <table:last-row>

19.726.11 <table:odd-columns>

19.726.12 <table:odd-rows>

19.726.13 <table:table-cell>

19.726.14 <table:table-column>

19.726.15 <table:table-row>

19.726.16 <table:table>

19.727 table:table

19.728 table:table-background

19.729 table:table-name

19.730 table:target-cell-address

19.731 table:target-range-address

19.731.1 General

19.731.2 <table:data-pilot-table>

19.731.3 <table:database-range>

19.731.4 <table:filter>

19.731.5 <table:sort>

19.732 table:template-name

19.733 table:title

19.734 table:track-changes

19.735 table:type

19.735.1 General

19.735.2 <table:data-pilot-field-reference>

19.735.3 <table:deletion>

19.735.4 <table:insertion>

19.736 table:use-banding-columns-styles

19.737 table:use-banding-rows-styles

19.738 table:use-first-column-styles

19.739 table:use-first-row-styles

19.740 table:use-last-column-styles

19.741 table:use-last-row-styles

19.742 table:use-labels

19.743 table:use-regular-expressions

19.744 table:use-wildcards

19.745 table:used-hierarchy

19.746 table:user-name

19.747 table:value

19.747.1 <table:filter-condition>

19.747.2 <table:filter-set-item>

19.748 table:value-type

19.749 table:visibility

19.750 text:active

19.751 text:address

19.752 text:alphabetical-separators

19.753 text:anchor-page-number

19.754 text:anchor-type

19.755 text:annote

19.756 text:author

19.757 text:bibliography-data-field

19.758 text:bibliography-type

19.759 text:booktitle

19.760 text:bullet-char

19.761 text:bullet-relative-size

19.762 text:capitalize-entries

19.763 text:c

19.764 text:caption-sequence-format

19.765 text:caption-sequence-name

19.766 text:change-id

19.767 text:chapter

19.768 text:citation-body-style-name

19.769 text:citation-style-name

19.770 text:class-names

19.770.1 General

19.770.2 <text:h>

19.770.3 <text:p>

19.770.4 <text:span>

19.771 text:column-name

19.772 text:combine-entries

19.773 text:combine-entries-with-dash

19.774 text:combine-entries-with-pp

19.775 text:comma-separated

19.776 text:cond-style-name

19.777 text:condition

19.777.1 General

19.777.2 <text:conditional-text>

19.777.3 <text:database-next>

19.777.4 <text:database-row-select>

19.777.5 <text:hidden-paragraph>

19.777.6 <text:hidden-text>

19.777.7 <text:section>

19.778 text:connection-name

19.779 text:consecutive-numbering

19.780 text:continue-list

19.781 text:continue-numbering

19.782 text:copy-outline-levels

19.783 text:count-empty-lines

19.784 text:count-in-text-boxes

19.785 text:current-value

19.786 text:custom1

19.787 text:custom2

19.788 text:custom3

19.789 text:custom4

19.790 text:custom5

19.791 text:database-name

19.792 text:date-adjust

19.793 text:date-value

19.794 text:default-style-name

19.795 text:description

19.796 text:display

19.796.1 General

19.796.2 <text:chapter>

19.796.3 <text:expression>

19.796.4 <text:file-name>

19.796.5 <text:index-entry-chapter>

19.796.6 <text:section>

19.796.7 <text:table-formula>

19.796.8 <text:template-name>

19.796.9 <text:user-field-get>

19.796.10 <text:variable-get>

19.796.11 <text:variable-input>

19.796.12 <text:variable-set>

19.797 text:display-levels

19.798 text:display-outline-level

19.799 text:duration

19.800 text:edition

19.801 text:editor

19.802 text:filter-name

19.803 text:fixed

19.804 text:footnotes-position

19.805 text:formula

19.806 text:global (deprecated)

19.807 text:howpublished

19.808 text:increment

19.809 text:id

19.809.1 General

19.809.2 <draw:text-box>

19.809.3 <text:alphabetical-index-mark-end>

19.809.4 <text:alphabetical-index-mark-start>

19.809.5 <text:changed-region>

19.809.6 <text:h>

19.809.7 <text:note>

19.809.8 <text:p>

19.809.9 <text:toc-mark-end>

19.809.10 <text:toc-mark-start>

19.809.11 <text:user-index-mark-end>

19.809.12 <text:user-index-mark-start>

19.810 text:identifier

19.811 text:index-name

19.812 text:index-scope

19.813 text:ignore-case

19.814 text:institution

19.815 text:is-hidden

19.816 text:is-list-header

19.817 text:isbn

19.818 text:issn

19.819 text:journal

19.820 text:key

19.821 text:key1

19.822 text:key2

19.823 text:key1-phonetic

19.824 text:key2-phonetic

19.825 text:kind

19.826 text:label

19.827 text:label-followed-by

19.828 text:level

19.829 text:list-id

19.830 text:list-tab-stop-position

19.831 text:main-entry

19.832 text:main-entry-style-name

19.833 text:master-page-name

19.834 text:month

19.835 text:name

19.835.1 General

19.835.2 <text:alphabetical-index>

19.835.3 <text:bibliography>

19.835.4 <text:bookmark>

19.835.5 <text:bookmark-end>

19.835.6 <text:bookmark-start>

19.835.7 <text:execute-macro>

19.835.8 <text:illustration-index>

19.835.9 <text:index-title>

19.835.10 <text:object-index>

19.835.11 <text:reference-mark>

19.835.12 <text:reference-mark-end>

19.835.13 <text:reference-mark-start>

19.835.14 <text:section>

19.835.15 <text:sequence>

19.835.16 <text:sequence-decl>

19.835.17 <text:table-of-content>

19.835.18 <text:table-index>

19.835.19 <text:user-defined>

19.835.20 <text:user-field-decl>

19.835.21 <text:user-field-get>

19.835.22 <text:user-field-input>

19.835.23 <text:user-index>

19.835.24 <text:variable-set>

19.835.25 <text:variable-decl>

19.835.26 <text:variable-get>

19.835.27 <text:variable-input>

19.836 text:note

19.837 text:note-class

19.838 text:number

19.839 text:number-lines

19.840 text:number-position

19.841 text:numbered-entries

19.842 text:offset

19.843 text:organizations

19.844 text:outline-level

19.844.1 General

19.844.2 <text:alphabetical-index-entry-template>

19.844.3 <text:chapter>

19.844.4 <text:h>

19.844.5 <text:index-entry-chapter>

19.844.6 <text:index-source-styles>

19.844.7 <text:user-index-mark>

19.844.8 <text:table-of-content-entry-template>

19.844.9 <text:table-of-content-source>

19.844.10 <text:toc-mark>

19.844.11 <text:toc-mark-start>

19.844.12 <text:user-index-entry-template>

19.844.13 <text:user-index-mark-start>

19.845 text:page-adjust

19.845.1 General

19.845.2 <text:page-number>

19.845.3 <text:page-variable-set>

19.846 text:pages

19.847 text:placeholder-type

19.848 text:prefix

19.849 text:protected

19.850 text:protection-key

19.851 text:protection-key-digest-algorithm

19.852 text:publisher

19.853 text:ref-name

19.853.1 General

19.853.2 <text:bookmark-ref>

19.853.3 <text:note-ref>

19.853.4 <text:reference-ref>

19.853.5 <text:sequence>

19.853.6 <text:sequence-ref>

19.854 text:reference-format

19.855 text:relative-tab-stop-position

19.856 text:report-type

19.857 text:restart-numbering

19.858 text:restart-on-page

19.859 text:row-number

19.860 text:school

19.861 text:section-name

19.862 text:series

19.863 text:select-page

19.863.1 General

19.863.2 <text:page-continuation>

19.863.3 <text:page-number>

19.864 text:separation-character

19.865 text:sort-algorithm

19.866 text:sort-ascending

19.867 text:sort-by-position

19.868 text:start-value

19.868.1 General

19.868.2 <text:h>

19.868.3 <text:list-item>

19.868.4 <text:list-level-style-number>

19.868.5 <text:notes-configuration>

19.868.6 <text:numbered-paragraph>

19.868.7 <text:outline-level-style>

19.869 text:start-numbering-at

19.870 text:string-value-phonetic

19.871 text:string-value

19.871.1 General

19.871.2 <text:alphabetical-index-mark>

19.871.3 <text:hidden-text>

19.871.4 <text:page-continuation>

19.871.5 <text:toc-mark>

19.871.6 <text:user-index-mark>

19.872 text:string-value-if-false

19.873 text:string-value-if-true

19.874 text:style-name

19.874.1 General

19.874.2 <text:a>

19.874.3 <text:alphabetical-index>

19.874.4 <text:alphabetical-index-entry-template>

19.874.5 <text:bibliography>

19.874.6 <text:bibliography-entry-template>

19.874.7 <text:h>

19.874.8 <text:illustration-index>

19.874.9 <text:illustration-index-entry-template>

19.874.10 <text:index-entry-bibliography>

19.874.11 <text:index-entry-chapter>

19.874.12 <text:index-entry-link-end>

19.874.13 <text:index-entry-link-start>

19.874.14 <text:index-entry-page-number>

19.874.15 <text:index-entry-span>

19.874.16 <text:index-entry-tab-stop>

19.874.17 <text:index-entry-text>

19.874.18 <text:index-source-style>

19.874.19 <text:index-title>

19.874.20 <text:index-title-template>

19.874.21 <text:linenumbering-configuration>

19.874.22 <text:list>

19.874.23 <text:list-level-style-number>

19.874.24 <text:list-level-style-bullet>

19.874.25 <text:numbered-paragraph>

19.874.26 <text:object-index>

19.874.27 <text:object-index-entry-template>

19.874.28 <text:outline-level-style>

19.874.29 <text:p>

19.874.30 <text:ruby>

19.874.31 <text:ruby-text>

19.874.32 <text:section>

19.874.33 <text:span>

19.874.34 <text:table-index-entry-template>

19.874.35 <text:table-of-content>

19.874.36 <text:table-of-content-entry-template>

19.874.37 <text:table-index>

19.874.38 <text:user-index>

19.874.39 <text:user-index-entry-template>

19.875 text:style-override

19.876 text:suffix

19.877 text:tab-ref

19.878 text:table-name

19.879 text:table-type

19.880 text:time-adjust

19.881 text:time-value

19.882 text:title

19.883 text:track-changes

19.884 text:url

19.885 text:use-caption

19.886 text:use-chart-objects

19.887 text:use-draw-objects

19.888 text:use-floating-frames

19.889 text:use-graphics

19.890 text:use-index-marks

19.891 text:use-index-source-styles

19.892 text:use-keys-as-entries

19.893 text:use-math-objects

19.894 text:use-objects

19.895 text:use-other-objects

19.896 text:use-outline-level

19.897 text:use-soft-page-breaks

19.898 text:use-spreadsheet-objects

19.899 text:use-tables

19.900 text:value

19.901 text:visited-style-name

19.902 text:volume

19.903 text:year

19.904 xforms:bind

19.905 xhtml:about

19.906 xhtml:content

19.907 xhtml:datatype

19.908 xhtml:property

19.909 xlink:actuate

19.910 xlink:href

19.910.1 General

19.910.2 <anim:audio>

19.910.3 <chart:chart>

19.910.4 <chart:symbol-image>

19.910.5 <db:component>

19.910.6 <db:connection-resource>

19.910.7 <db:file-based-database>

19.910.8 <draw:a>

19.910.9 <draw:applet>

19.910.10 <draw:area-circle>

19.910.11 <draw:area-polygon>

19.910.12 <draw:area-rectangle>

19.910.13 <draw:fill-image>

19.910.14 <draw:floating-frame>

19.910.15 <draw:image>

19.910.16 <draw:object>

19.910.17 <draw:object-ole>

19.910.18 <draw:plugin>

19.910.19 <form:button>

19.910.20 <form:connection-resource>

19.910.21 <form:image>

19.910.22 <form:form>

19.910.23 <meta:auto-reload>

19.910.24 <meta:template>

19.910.25 <presentation:event-listener>

19.910.26 <presentation:sound>

19.910.27 <script:event-listener>

19.910.28 <style:background-image>

19.910.29 <svg:definition-src>

19.910.30 <svg:font-face-uri>

19.910.31 <table:cell-range-source>

19.910.32 <table:table-source>

19.910.33 <text:a>

19.910.34 <text:alphabetical-index-auto-mark-file>

19.910.35 <text:list-level-style-image>

19.910.36 <text:script>

19.910.37 <text:section-source>

19.911 xlink:show

19.912 xlink:title

19.913 xlink:type

19.914 xml:id

20 Formatting Attributes

20.1 General

20.2 chart:angle-offset

20.3 chart:auto-position

20.4 chart:auto-size

20.5 chart:axis-label-position

20.6 chart:axis-position

20.7 chart:connect-bars

20.8 chart:data-label-number

20.9 chart:data-label-symbol

20.10 chart:data-label-text

20.11 chart:deep

20.12 chart:display-label

20.13 chart:error-category

20.14 chart:error-lower-indicator

20.15 chart:error-lower-limit

20.16 chart:error-lower-range

20.17 chart:error-margin

20.18 chart:error-percentage

20.19 chart:error-upper-indicator

20.20 chart:error-upper-limit

20.21 chart:error-upper-range

20.22 chart:gap-width

20.23 chart:group-bars-per-axis

20.24 chart:hole-size

20.25 chart:include-hidden-cells

20.26 chart:interpolation

20.27 chart:interval-major

20.28 chart:interval-minor-divisor

20.29 chart:japanese-candle-stick

20.30 chart:label-arrangement

20.31 chart:label-position

20.32 chart:label-position-negative

20.33 chart:lines (deprecated)

20.34 chart:link-data-style-to-source

20.35 chart:logarithmic

20.36 chart:maximum

20.37 chart:mean-value

20.38 chart:minimum

20.39 chart:origin

20.40 chart:overlap

20.41 chart:pie-offset

20.42 chart:percentage

20.43 chart:regression-type

20.44 chart:reverse-direction

20.45 chart:right-angled-axes

20.46 chart:scale-text

20.47 chart:series-source (deprecated)

20.48 chart:sort-by-x-values

20.49 chart:solid-type

20.50 chart:spline-order

20.51 chart:spline-resolution

20.52 chart:stacked

20.53 chart:symbol-height

20.54 chart:symbol-name

20.55 chart:symbol-type

20.56 chart:symbol-width

20.57 chart:text-overlap

20.58 chart:three-dimensional

20.59 chart:tick-marks-major-inner

20.60 chart:tick-marks-major-outer

20.61 chart:tick-marks-minor-inner

20.62 chart:tick-marks-minor-outer

20.63 chart:tick-mark-position

20.64 chart:treat-empty-cells

20.65 chart:vertical

20.66 chart:visible

20.67 dr3d:ambient-color

20.68 dr3d:back-scale

20.69 dr3d:backface-culling

20.70 dr3d:close-back

20.71 dr3d:close-front

20.72 dr3d:depth

20.73 dr3d:diffuse-color

20.74 dr3d:edge-rounding

20.75 dr3d:edge-rounding-mode

20.76 dr3d:emissive-color

20.77 dr3d:end-angle

20.78 dr3d:horizontal-segments

20.79 dr3d:lighting-mode

20.80 dr3d:normals-direction

20.81 dr3d:normals-kind

20.82 dr3d:shadow

20.83 dr3d:shininess

20.84 dr3d:specular-color

20.85 dr3d:texture-filter

20.86 dr3d:texture-kind

20.87 dr3d:texture-mode

20.88 dr3d:texture-generation-mode-x

20.89 dr3d:texture-generation-mode-y

20.90 dr3d:vertical-segments

20.91 draw:auto-grow-height

20.92 draw:auto-grow-width

20.93 draw:background-size

20.94 draw:blue

20.95 draw:caption-angle

20.96 draw:caption-angle-type

20.97 draw:caption-escape

20.98 draw:caption-escape-direction

20.99 draw:caption-fit-line-length

20.100 draw:caption-gap

20.101 draw:caption-line-length

20.102 draw:caption-type

20.103 draw:color-inversion

20.104 draw:color-mode

20.105 draw:contrast

20.106 draw:decimal-places

20.107 draw:draw-aspect

20.108 draw:end-guide

20.109 draw:end-line-spacing-horizontal

20.110 draw:end-line-spacing-vertical

20.111 draw:fill

20.112 draw:fill-color

20.113 draw:fill-gradient-name

20.114 draw:fill-hatch-name

20.115 draw:fill-hatch-solid

20.116 draw:fill-image-height

20.117 draw:fill-image-name

20.118 draw:fill-image-ref-point

20.119 draw:fill-image-ref-point-x

20.120 draw:fill-image-ref-point-y

20.121 draw:fill-image-width

20.122 draw:fit-to-contour

20.123 draw:fit-to-size

20.124 draw:frame-display-border

20.125 draw:frame-margin-horizontal

20.126 draw:frame-display-scrollbar

20.127 draw:frame-margin-vertical

20.128 draw:gamma

20.129 draw:green

20.130 draw:gradient-step-count

20.131 draw:guide-distance

20.132 draw:guide-overhang

20.133 draw:image-opacity

20.134 draw:line-distance

20.135 draw:luminance

20.136 draw:marker-end

20.137 draw:marker-end-center

20.138 draw:marker-end-width

20.139 draw:marker-start

20.140 draw:marker-start-center

20.141 draw:marker-start-width

20.142 draw:measure-align

20.143 draw:measure-vertical-align

20.144 draw:ole-draw-aspect (deprecated)

20.145 draw:opacity

20.146 draw:opacity-name

20.147 draw:parallel

20.148 draw:placing

20.149 draw:red

20.150 draw:secondary-fill-color

20.151 draw:shadow

20.152 draw:shadow-color

20.153 draw:shadow-offset-x

20.154 draw:shadow-offset-y

20.155 draw:shadow-opacity

20.156 draw:show-unit

20.157 draw:start-guide

20.158 draw:start-line-spacing-horizontal

20.159 draw:start-line-spacing-vertical

20.160 draw:stroke

20.161 draw:stroke-dash

20.162 draw:stroke-dash-names

20.163 draw:stroke-linejoin

20.164 svg:stroke-linecap

20.165 draw:symbol-color

20.166 draw:textarea-horizontal-align

20.167 draw:textarea-vertical-align

20.168 draw:tile-repeat-offset

20.169 draw:visible-area-height

20.170 draw:visible-area-left

20.171 draw:visible-area-top

20.172 draw:visible-area-width

20.173 draw:unit

20.174 draw:wrap-influence-on-position

20.175 fo:background-color

20.176 fo Border Properties

20.176.1 General

20.176.2 fo:border

20.176.3 fo:border-bottom

20.176.4 fo:border-left

20.176.5 fo:border-right

20.176.6 fo:border-top

20.177 fo:break-after

20.178 fo:break-before

20.179 fo:clip

20.180 fo:color

20.181 fo:country

20.182 fo:font-family

20.183 fo:font-size

20.184 fo:font-style

20.185 fo:font-variant

20.186 fo:font-weight

20.187 fo:height

20.188 fo:hyphenate

20.189 fo:hyphenation-keep

20.190 fo:hyphenation-ladder-count

20.191 fo:hyphenation-push-char-count

20.192 fo:hyphenation-remain-char-count

20.193 fo:keep-together

20.194 fo:keep-with-next

20.195 fo:language

20.196 fo:letter-spacing

20.197 fo:line-height

20.198 fo:margin

20.199 fo:margin-bottom

20.200 fo:margin-left

20.201 fo:margin-right

20.202 fo:margin-top

20.203 fo:max-height

20.204 fo:max-width

20.205 fo:min-height

20.205.1 <style:graphic-properties>

20.205.2 <style:header-footer-properties>

20.206 fo:min-width

20.207 fo:orphans

20.208 fo:page-height

20.209 fo:page-width

20.210 fo:padding

20.211 fo:padding-bottom

20.212 fo:padding-left

20.213 fo:padding-right

20.214 fo:padding-top

20.215 fo:script

20.216 fo:text-align

20.216.1 <style:paragraph-properties>

20.216.2 <style:list-level-properties>

20.217 fo:text-align-last

20.218 fo:text-indent

20.219 fo:text-shadow

20.220 fo:text-transform

20.221 fo:widows

20.222 fo:width

20.223 fo:wrap-option

20.224 presentation:background-objects-visible

20.225 presentation:background-visible

20.226 presentation:display-date-time

20.227 presentation:display-footer

20.228 presentation:display-header

20.229 presentation:display-page-number

20.230 presentation:duration

20.231 presentation:transition-speed

20.232 presentation:transition-style

20.233 presentation:transition-type

20.234 presentation:visibility

20.235 smil:direction

20.236 smil:fadeColor

20.237 smil:subtype

20.238 smil:type

20.239 style:auto-text-indent

20.240 style:background-transparency

20.241 style:border-line-width

20.242 style:border-line-width-bottom

20.243 style:border-line-width-left

20.244 style:border-line-width-right

20.245 style:border-line-width-top

20.246 style:cell-protect

20.247 style:column-width

20.248 style:country-asian

20.249 style:country-complex

20.250 style:decimal-places

20.251 style:diagonal-bl-tr

20.252 style:diagonal-bl-tr-widths

20.253 style:diagonal-tl-br

20.254 style:diagonal-tl-br-widths

20.255 style:direction

20.256 style:dynamic-spacing

20.257 style:editable

20.258 style:first-page-number

20.259 style:flow-with-text

20.260 style:font-charset

20.261 style:font-charset-asian

20.262 style:font-charset-complex

20.263 style:font-family-asian

20.264 style:font-family-complex

20.265 style:font-family-generic

20.266 style:font-family-generic-asian

20.267 style:font-family-generic-complex

20.268 style:font-independent-line-spacing

20.269 style:font-name

20.270 style:font-name-asian

20.271 style:font-name-complex

20.272 style:font-pitch

20.273 style:font-pitch-asian

20.274 style:font-pitch-complex

20.275 style:font-relief

20.276 style:font-size-asian

20.277 style:font-size-complex

20.278 style:font-size-rel

20.279 style:font-size-rel-asian

20.280 style:font-size-rel-complex

20.281 style:font-style-asian

20.282 style:font-style-complex

20.283 style:font-style-name

20.284 style:font-style-name-asian

20.285 style:font-style-name-complex

20.286 style:font-weight-asian

20.287 style:font-weight-complex

20.288 style:footnote-max-height

20.289 style:glyph-orientation-vertical

20.290 style:horizontal-pos

20.291 style:horizontal-rel

20.292 style:join-border

20.293 style:justify-single-word

20.294 style:language-asian

20.295 style:language-complex

20.296 style:layout-grid-base-height

20.297 style:layout-grid-base-width

20.298 style:layout-grid-color

20.299 style:layout-grid-display

20.300 style:layout-grid-lines

20.301 style:layout-grid-mode

20.302 style:layout-grid-print

20.303 style:layout-grid-ruby-below

20.304 style:layout-grid-ruby-height

20.305 style:layout-grid-snap-to

20.306 style:layout-grid-standard-mode

20.307 style:line-break

20.308 style:letter-kerning

20.309 style:line-height-at-least

20.310 style:line-spacing

20.311 style:may-break-between-rows

20.312 style:min-row-height

20.313 style:mirror

20.314 style:num-format

20.315 style:num-letter-sync

20.316 style:num-prefix

20.317 style:num-suffix

20.318 style:number-wrapped-paragraphs

20.319 style:overflow-behavior

20.320 style:page-number

20.321 style:paper-tray-name

20.322 style:print

20.323 style:print-content

20.323.1 General

20.323.2 <style:graphic-properties>

20.323.3 <style:table-cell-properties>

20.324 style:print-page-order

20.325 style:print-orientation

20.326 style:protect

20.326.1 General

20.326.2 <style:graphic-properties>

20.326.3 <style:section-properties>

20.327 style:punctuation-wrap

20.328 style:register-true

20.329 style:register-truth-ref-style-name

20.330 style:rel-column-width

20.331 style:rel-height

20.332 style:rel-width

20.332.1 <style:graphic-properties>

20.332.2 <style:table-properties>

20.333 style:repeat

20.334 style:repeat-content

20.335 style:rfc-language-tag

20.336 style:rfc-language-tag-asian

20.337 style:rfc-language-tag-complex

20.338 style:rotation-align

20.339 style:rotation-angle

20.340 style:row-height

20.341 style:ruby-align

20.342 style:ruby-position

20.343 style:run-through

20.344 style:scale-to

20.345 style:scale-to-pages

20.346 style:script-asian

20.347 style:script-complex

20.348 style:script-type

20.349 style:shadow

20.350 style:shrink-to-fit

20.351 style:snap-to-layout-grid

20.352 style:tab-stop-distance

20.353 style:table-centering

20.354 style:text-align-source

20.355 style:text-autospace

20.356 style:text-blinking

20.357 style:text-combine

20.358 style:text-combine-start-char

20.359 style:text-combine-end-char

20.360 style:text-emphasize

20.361 style:text-line-through-color

20.362 style:text-line-through-mode

20.363 style:text-line-through-style

20.364 style:text-line-through-text

20.365 style:text-line-through-text-style

20.366 style:text-line-through-type

20.367 style:text-line-through-width

20.368 style:text-outline

20.369 style:text-overline-color

20.370 style:text-overline-mode

20.371 style:text-overline-style

20.372 style:text-overline-type

20.373 style:text-overline-width

20.374 style:text-position

20.375 style:text-rotation-angle

20.376 style:text-rotation-scale

20.377 style:text-scale

20.378 style:text-underline-color

20.379 style:text-underline-mode

20.380 style:text-underline-style

20.381 style:text-underline-type

20.382 style:text-underline-width

20.383 style:use-optimal-column-width

20.384 style:use-optimal-row-height

20.385 style:use-window-font-color

20.386 style:vertical-align

20.386.1 <style:paragraph-properties>

20.386.2 <style:table-cell-properties>

20.387 style:vertical-pos

20.388 style:vertical-rel

20.389 style:width

20.390 style:wrap

20.391 style:wrap-contour

20.392 style:wrap-contour-mode

20.393 style:wrap-dynamic-threshold

20.394 style:writing-mode

20.394.1 General

20.394.2 <style:graphic-properties>

20.394.3 <style:page-layout-properties>

20.394.4 <style:paragraph-properties>

20.394.5 <style:section-properties>

20.394.6 <style:table-cell-properties>

20.394.7 <style:table-properties>

20.395 style:writing-mode-automatic

20.396 svg:fill-rule

20.397 svg:height

20.397.1 <style:graphic-properties>

20.397.2 <style:header-footer-properties>

20.398 svg:stroke-color

20.399 svg:stroke-opacity

20.400 svg:stroke-width

20.401 svg:x

20.402 svg:y

20.402.1 <style:graphic-properties>

20.402.2 <style:list-level-properties>

20.403 svg:width

20.404 table:align

20.405 table:border-model

20.406 table:display

20.407 text:anchor-page-number

20.408 text:anchor-type

20.409 text:animation

20.410 text:animation-delay

20.411 text:animation-direction

20.412 text:animation-repeat

20.413 text:animation-start-inside

20.414 text:animation-steps

20.415 text:animation-stop-inside

20.416 text:condition

20.417 text:display

20.418 text:dont-balance-text-columns

20.419 text:line-break

20.420 text:line-number

20.421 text:list-level-position-and-space-mode

20.422 text:min-label-distance

20.423 text:min-label-width

20.424 text:number-lines

20.425 text:space-before

Appendix A. OpenDocument Relax NG Schema

Appendix B. OpenDocument Metadata Manifest Ontology

Appendix C. MIME Types and File Name Extensions (Non Normative)

Appendix D. Accessibility Guidelines (Non Normative)

D.1. Title, Description and Caption of Graphical Elements

D.1.1. Guidance for authors

D.1.2. Authoring tool responsibility for presenting and prompting for the <svg:title> and <svg:desc> elements

D.2. Hyperlink Titles

D.3. Tables in Presentations

D.4. Further Guidelines

Appendix E. Bidirectional (BiDi) Scripts,Numeric Digits Presentation and Calendars (Non Normative)

E.1. Paragraph and Layout Direction

E.2. Numeric Digits Presentation and Calendars

Appendix F. Recommended Usage of SMIL

F.1. Slide Animation

F.2. Main Sequence

F.3. Interactive Sequence

Appendix G. Changes From Previous Specification Versions (Non Normative)

G.1. Changes from “Open Document Format for Office Applications (OpenDocument) v1.1”

1Introduction

1.1Introduction

This document is part of the Open Document Format for Office Applications (OpenDocument) Version 1.2 specification. It defines an XML schema for office documents. Office documents includes text documents, spreadsheets, charts and graphical documents like drawings or presentations, but is not restricted to these kinds of documents.

The XML schema for OpenDocument is designed so that documents valid to it can be transformed using XSLT and processing with XML-based tools.

1.2Terminology

All text is normative unless otherwise labeled.

Text with a gray background color which is contained in boxes is informative. It lists the XML element-element and element-attribute relations for cross reference purposes.

Within the normative text of this specification, the terms "shall", "shall not", "should", "should not", "may" and “need not” are to be interpreted as described in Annex H of [ISO/IEC Directives].

Within this specification,  attributes and elements are marked as deprecated. Attributes and elements marked as deprecated should not be used any longer, and may be removed from future versions of the specification.

XML Element, attribute names, attribute value types, and attribute values appear in monospace font.

This standard, for illustrative purposes, describes functionality using terminology common in desktop computing environments that contain a display terminal, keyboard and mouse, attached to a computer hosting an operating system with a graphical user interface which includes user interface controls such as input controls, command buttons, selection boxes, etc.

This standard is not limited to such environments. This format can be used by alternative computing environments, with other form factors, non-GUI consumers and producers, assistive technologies, using analogous user interface operations.

Implementation-defined is used in this standard for values or processing that may differ between ODF implementations, but is required to be specified by the implementor for each particular ODF-implementation.

Implementation-dependent is used in this standard for values or processing that may differ between ODF implementations, but is not required to be specified by the implementor for each particular ODF-implementation.

1.3Normative References

[CSS2]        Bert Bos, Håkon Wium Lie, Chris Lilley, Ian Jacobs, Cascading Style Sheets, level 2, http://www.w3.org/TR/1998/REC-CSS2-19980512, W3C, 1998.

[DCMI]        Dublin Core Metadata Element Set, Version 1.1: Reference Description, http://www.dublincore.org/documents/2008/01/14/dces/, Dublin Core Metadata Initiative, 2003.

[DOMEvents2]        Tom Pixley, Document Object Model (DOM) Level 2 Events Specification, http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113, W3C, 2000.

[GRDDL]        Don Conolly, Gleaning Resource Descriptions from Dialects of Languages (GRDDL), http://www.w3.org/TR/2007/REC-grddl-20070911/, W3C, 2007.

[HTML4]        Dave Raggett, Arnaud Le Hors, Ian Jacobs, HTML 4.01 Specification, http://www.w3.org/TR/1999/REC-html401-19991224, W3C, 1999.

[ISO/IEC Directives]        ISO/IEC Directives, Part 2 (Fifth Edition) Rules for the structure and drafting of International Standards, International Organization for Standardization and International Electrotechnical Commission, 2004.

[ISO15924]        ISO 15924:2004 Information and documentation -- Codes for the representation of names of scripts, International Organization for Standardization and International Electrotechnical Commission, 2004.

[ISO3166-1]        ISO 3166-1:2006/Cor 1:2007   Codes for the representation of names of countries and their subdivisions -- Part 1: Country codes, International Organization for Standardization and International Electrotechnical Commission, 2007.

[ISO3166-2]        ISO 3166-2:2007 Codes for the representation of names of countries and their subdivisions -- Part 2: Country subdivision code, International Organization for Standardization and International Electrotechnical Commission, 2007.

[ISO3166-3]        ISO 3166-3:1999 Codes for the representation of names of countries and their subdivisions -- Part 3: Code for formerly used names of countries, International Organization for Standardization and International Electrotechnical Commission, 1999.

[ISO639-1]        ISO 639-1:2002 Codes for the representation of names of languages -- Part 1: Alpha-2 code, International Organization for Standardization and International Electrotechnical Commission, 2002.

[ISO639-2]        ISO 639-2:1998 Codes for the representation of names of languages -- Part 2: Alpha-3 code, International Organization for Standardization and International Electrotechnical Commission, 1998.

[ISO639-3]        ISO 639-3:2007 Codes for the representation of names of languages -- Part 3: Alpha-3 code for comprehensive coverage of languages, International Organization for Standardization and International Electrotechnical Commission, 2007.

[ISO8601]        ISO 8601:2004 Data elements and interchange formats -- Information interchange -- Representation of dates and times, International Organization for Standardization and International Electrotechnical Commission, 2004.

[JIS X 0301]        JIS X 0301:2002 Data elements and interchange formats -- Information interchange -- Representation of dates and times, Japanese Standards Association, 2002.

[MathML]        David Carlisle, Patrick Ion, Robert Miner, Nico Poppelier, Mathematical Markup Language (MathML) Version 2.0 (Second Edition), http://www.w3.org/TR/2003/REC-MathML2-20031021/, W3C, 2003.

[OLE]        Kraig Brockschmidt, Inside OLE, Microsoft Press, 1995, ISBN: 1-55615-843-2

[OWL]        Deborah L. McGuinness, Frank van Harmelen, OWL Web Ontology Language Overview, http://www.w3.org/TR/2004/REC-owl-features-20040210/, W3C, 2004.

[RDF-CONCEPTS]        Graham Klyne, Jeremy J. Carroll, Brian McBride, Resource Description Framework (RDF): Concepts and Abstract Syntax, http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/, W3C, 2004.

[RDFa]        Ben Adida, Mark Birbeck, Shane McCarron, Steven Pemberton, RDFa in XHTML: Syntax and Processing, http://www.w3.org/TR/2008/REC-rdfa-syntax-20081014, W3C, 2008.

[RFC2045]        N. Freed and N. Borenstein, Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies, http://www.ietf.org/rfc/rfc2045.txt, IETF, 1996.

[RFC2616]        R. Fielding, et al.,  Hypertext Transfer Protocol -- HTTP/1.1, http://www.ietf.org/rfc/rfc2616.txt, IETF, 1999.

[RFC3987]        M. Duerst, M. Suignard, Internationalized Resource Identifiers (IRIs), http://www.ietf.org/rfc/rfc3987.txt, IETF, 2005.

[RFC4288]        N. Freed, J. Klensin, Media Type Specifications and Registration Procedures, http://www.ietf.org/rfc/rfc4288.txt, IETF, 2005.

[RFC4514]        K. Zeilenga, Lightweight Directory Access Protocol (LDAP): String Representation of Distinguished Names, http://tools.ietf.org/html/rfc4514, IETF, 2006.

[RFC5646]        A. Phillips, M. Davis, Tags for Identifying Languages, http://www.ietf.org/rfc/rfc5646.txt, IETF, 2009.

[RNG]        ISO/IEC 19757-2 Document Schema Definition Language (DSDL) -- Part 2: Regular-grammar-based validation -- RELAX NG, International Organization for Standardization and International Electrotechnical Commission, 2003.

[SMIL20]        Jeff Ayars, etc al., Synchronized Multimedia Integration Language (SMIL 2.0) - [Second Edition], http://www.w3.org/TR/2005/REC-SMIL2-20050107/, W3C, 2001.

[SQL]        ISO/IEC 9075-1:2008 Information Technology -- Database Language -- SQL -- Part 2: Foundation (SQL/Foundation), International Organization for Standardization and International Electrotechnical Commission, 2008.

[SVG]        Jon Ferraiolo, 藤沢 淳 (FUJISAWA Jun), Dean Jackson, Scalable Vector Graphics (SVG) 1.1, http://www.w3.org/TR/2003/REC-SVG11-20030114/, W3C, 2003.

[UNICODE]        The Unicode Consortium. The Unicode Standard, Version 5.2.0, defined by: The Unicode Standard, Version 5.2 (Boston, MA, Addison-Wesley, 2009. ISBN 978-1-936213-00-9).

[UTR18]        Mark Davis, Andy Heninger, Unicode Regular Expressions, Unicode Technical Report #18, http://www.unicode.org/reports/tr18/tr18-13.html, 2008.

[Variability]        Dominique Hazaël-Massieux, Lynne Rosenthal, Variability in Specifications, http://www.w3.org/TR/2005/NOTE-spec-variability-20050831/, W3C, 2005.

[XForms]        John M. Boyer, XForms 1.0 (Third Edition), http://www.w3.org/TR/2007/REC-xforms-20071029/, W3C, 2007.

[XLink]        Steve DeRose, Eve Maler, David Orchard, XML Linking Language (XLink) Version 1.0, http://www.w3.org/TR/2001/REC-xlink-20010627/, W3C, 2001.

[XML-ID]        Jonathan Marsh, Daniel Veillard, Norman Walsh, xml:id Version 1.0, http://www.w3.org/TR/2005/REC-xml-id-20050909/, W3C, 2005.

[xml-names]        Tim Bray rt al., Namespaces in XML 1.0 (Second Edition), http://www.w3.org/TR/2006/REC-xml-names-20060816, W3C, 2006.

[XML1.0]        Tim Bray, Jean Paoli, C. M. Sperberg-McQueen, Eve Maler, François Yergeau , Extensible Markup Language (XML) 1.0 (Fourth Edition), http://www.w3.org/TR/2006/REC-xml-20060816/, W3C, 2006.

[xmlenc-core]        Donald Eastlake, Joseph Reagle, XML Encryption Syntax and Processing, http://www.w3.org/TR/2002/REC-xmlenc-core-20021210/, W3C, 2002.

[xmlschema-2]        Paul V. Biron, Ashok Malhotra, XML Schema Part 2: Datatypes Second Edition, http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/, W3C, 2004.

[XPath]        James Clark, Steve DeRose, XML Path Language (XPath) Version 1.0, http://www.w3.org/TR/1999/REC-xpath-19991116, W3C, 1999.

[XSL]        Sharon Adler, et al., Extensible Stylesheet Language (XSL), http://www.w3.org/TR/2001/REC-xsl-20011015/, W3C, 2001.

1.4Non Normative References

[BibTeXing]        Oren Patashnik, BIBT E Xing, http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.49.6093, 1988

[CSS3Text]        Michel Suignard, CSS3 Text Module, http://www.w3.org/TR/2003/CR-css3-text-20030514, W3C, 2003.

[DAISY]        ANSI/NISO Z39.86-2005 Specifications for the Digital Talking Book, http://www.niso.org/standards/resources/Z39-86-2005.html, 2005.

[MIMETYPES]        MIME Media Types, http://www.iana.org/assignments/media-types/, IANA.

[ODF10]        OASIS Standard, Open Document Format for Office Applications (OpenDocument) v1.0, May 2005, http://docs.oasis-open.org/office/v1.0/OpenDocument-v1.0-os.pdf.

[ODF11]        OASIS Standard, Open Document Format for Office Applications (OpenDocument) v1.1, February 2007, http://docs.oasis-open.org/office/v1.1/OS/OpenDocument-v1.1.pdf.

[PNG]        David Duce, Portable Network Graphics (PNG) Specification (Second Edition), http://www.w3.org/TR/2003/REC-PNG-20031110, W3C, 2003.

[RFC3066]        H. Alvestrand, Tags for the Identification of Languages, http://www.ietf.org/rfc/rfc3066.txt, IETF, 2001.

[UAX9]        Mark Davis, The Bidirectional Algorithm, Unicode Standard Annex #9, http://www.unicode.org/reports/tr9/tr9-15.html, 2005.

[UTR20]        Martin Dürst and Asmus Freytag, Unicode in XML and other Markup Languages, Unicode Technical Report #20, http://www.unicode.org/reports/tr20/tr20-7.html, 2003.

[XSLT]        James Clark, XSL Transformations (XSLT) Version 1.0, http://www.w3.org/TR/1999/REC-xslt-19991116, W3C, 1999.

1.5Namespaces

The namespaces used or defined by OpenDocument are listed in tables 1-4.

Note: The defined XML namespaces conform to the Namespaces in XML specification [xml-names].

This specification uses the prefixes defined in tables 1 and 2 when referring to elements and attributes in this specification. However, implementors may use any prefix, provided that there is a namespace declaration that binds the prefix to the IRI of the corresponding namespace.

Table 1 - XML Namespaces defined by the OpenDocument schema

Prefix

Description

Namespace

anim

Elements and attributes that describe animation content.

urn:oasis:names:tc:opendocument:xmlns:
animation:1.0

chart

Elements and attributes that describe chart content.

urn:oasis:names:tc:opendocument:xmlns:
chart:1.0

config

Elements and attributes that describe application specific settings.

urn:oasis:names:tc:opendocument:xmlns:
config:1.0

db

For elements and attributes that describe database specific objects.

urn:oasis:names:tc:opendocument:xmlns:
database:1.0

dr3d

Elements and attributes that describe 3D graphic content.

urn:oasis:names:tc:opendocument:xmlns:
dr3d:1.0

draw

Elements and attributes that describe graphic content.

urn:oasis:names:tc:opendocument:xmlns:
drawing:1.0

form

Elements and attributes that describe forms and controls.

urn:oasis:names:tc:opendocument:xmlns:
form:1.0

manifest

Elements and attribute contained in the package manifest.

urn:oasis:names:tc:opendocument:xmlns:
manifest:1.0

meta

Elements and attributes that describe meta information.

urn:oasis:names:tc:opendocument:xmlns:
meta:1.0

number

Elements and attributes that describe data style information.

urn:oasis:names:tc:opendocument:xmlns:
datastyle:1.0

office

All common pieces of information that are not contained in another, more specific namespace.

urn:oasis:names:tc:opendocument:xmlns:
office:1.0

presentation

Elements and attributes that describe presentation content.

urn:oasis:names:tc:opendocument:xmlns:
presentation:1.0

script

Elements and attributes that represent scripts or events.

urn:oasis:names:tc:opendocument:xmlns:
script:1.0

table

Elements and attributes that may occur within spreadsheets or within table definitions of a text document.

urn:oasis:names:tc:opendocument:xmlns:
table:1.0

text

Elements and attributes that may occur within text documents and text parts of other document types.,

urn:oasis:names:tc:opendocument:xmlns:
text:1.0

style

Elements and attributes that describe the style and inheritance model used by the OpenDocument format.

urn:oasis:names:tc:opendocument:xmlns:
style:1.0

Table 2 - XML Namespaces defined by the OpenDocument metadata manifest ontology

Prefix

Description

Namespace

odf

RDF node property and node elements for OpenDocument package entities

http://docs.oasis-open.org/ns/office/1.2/meta/odf#

Table 3 - XML Namespaces defined by the OpenDocument schema that include elements and attributes that are compatible to elements and attributes of other standards.

Prefix

Description

Namespace

fo

Attributes that are compatible to attributes defined in [XSL].

urn:oasis:names:tc:opendocument:xmlns:
xsl-fo-compatible:1.0

svg

Elements and attributes that are compatible to elements or attributes defined in [SVG].

urn:oasis:names:tc:opendocument:xmlns:
svg-compatible:1.0

smil

Attributes that are compatible to attributes defined in [SMIL20].

urn:oasis:names:tc:opendocument:xmlns:
smil-compatible:1.0

Table 4 - XML Namespaces used by the OpenDocument schema

Prefix

Description

Namespace

dc

The Dublin Core Namespace (see [DCMI]).

http://purl.org/dc/elements/1.1/

math

MathML Namespace (see [MathML])

http://www.w3.org/1998/Math/MathML

xforms

The XForms namespace (see [XForms]).

http://www.w3.org/2002/xforms

xlink

The XLink namespace (see [XLink]).

http://www.w3.org/1999/xlink

xhtml

RDFa attributes (see [RDFa]).

http://www.w3.org/1999/xhtml

grddl

GRDDL attributes (see [GRDDL])

http://www.w3.org/2003/g/data-view#

Table 5 - XML Namespaces defined by the OpenDocument metadata manifest ontology

Prefix

Description

Namespace

pkg

OWL classes and properties contained in metadata manifest files.

http://docs.oasis-open.org/ns/office/1.2/meta/pkg#

Table 6 - Other XML Namespaces defined by this specification

Prefix

Description

Namespace

of

Namespace for formulas defined by part 2 of this specification that occur in attribute values.

urn:oasis:names:tc:opendocument:xmlns:of:1.2

2OpenDocument Documents, Consumers and Producers

2.1Introduction

The OpenDocument specification defines conformance for documents, consumers, and producers, with two conformance classes called conforming and extended conforming. It further defines conforming text, spreadsheet, drawing, presentation, chart, image, formula and database front end documents. This chapter defines the basic requirements for the individual conformance targets.

2.2Documents

2.2.1OpenDocument Document

An OpenDocument document shall meet the following requirements:

  1. A)If the document is an OpenDocument package, then  

    1. A.1)it shall be a conforming OpenDocument package (C19), and 

    2. A.2)the package shall contain at least one of the following files: content.xml and styles.xml. It may contain additional files, including files named settings.xml and meta.xml. 

  2. B)If the document is an OpenDocument package, then the following requirements shall be met for its contained files named content.xml, styles.xml, settings.xml and meta.xml, if present: 

    1. B.1)The files shall be well formed XML documents with respect to the XML 1.0 [XML1.0] specification. 

    2. B.2)The XML root elements of the files shall be  

      1. B.2.1)<office:document-content> or <math:math> for files named content.xml, 

      2. B.2.2)<office:document-styles> for files named styles.xml, 

      3. B.2.3)<office:document-meta> for files named meta.xml, 

      4. B.2.4)<office:document-settings> for files named settings.xml. 

    3. B.3)If the XML root element of a file is <office:document-content>, <office:document-styles>, <office:document-meta> or <office:document-settings>, then the XML file shall be valid with respect to the schema defined in appendix A. 

    4. B.4)If the XML root element of a file is <math:math>, then the XML file shall be valid with respect to the MathML 2.0 [MathML] schema. 

  3. C)If the document is a single XML file, then  

    1. C.1)the file shall be a well formed XML document with respect to the XML 1.0 [XML1.0] specification 

    2. C.2)the XML root element of the file shall be <office:document>. 

    3. C.3)the XML file shall be valid with respect to the schema defined in appendix A. 

  4. D)The files contained in a package listed in B) or the single file listed in C) meet the following requirements: 

    1. D.1)They shall be namespace-well-formed with regard to the XML Namespaces specification [xml-names]. 

    2. D.2)They shall conform to the xml-id specification [XML-ID]. 

    3. D.3)If a style:condition, table:condition, table:expression, table:formula or text:formula attribute value begins with a namespace prefix bound to namespace "urn:oasis:names:tc:opendocument:xmlns:of:1.2," the syntax and semantics of the attribute value portions that are expressions determined by the prefix shall conform to part 2 of this specification. If a namespace prefix is omitted at the beginning of the attribute value, the attribute value portions that are expressions determined by a prefix shall conform as if there were a prefix bound to namespace "urn:oasis:names:tc:opendocument:xmlns:of:1.2". 

  5. E)It shall conform to one of: (C3) OpenDocument Text Document, (C4) OpenDocument Spreadsheet Document, (C5) OpenDocument Drawing Document, (C6) OpenDocument Presentation Document, (C7) OpenDocument Chart Document, (C8) OpenDocument Image Document, (C9) OpenDocument Formula Document, (C10) OpenDocument Database Front End Document.  

2.2.2OpenDocument Extended Document

An OpenDocument extended document shall meet all requirements of a conforming document listed in 2.2.1 except A.1), B.3), C.3) and E) and shall meet the following requirements:

  1. A)If the document is an OpenDocument package, then it shall be a conforming ODF extended package (C20)  

  2. B)If the document is an OpenDocument package, then the following requirement shall be met for its contained files named content.xml, styles.xml, settings.xml and meta.xml, if present: 

    1. B.1)If the XML root element of a file is <office:document-content>, <office:document-styles>, <office:document-meta> or <office:document-settings>, then the XML file shall be valid with respect to the schema defined in appendix A, after the following processing of foreign elements has taken place: 

      1. B.1.1)Foreign elements and attributes, as defined in section 3.17 have been removed. 

      2. B.1.2)The content of foreign elements has been processed as defined in section 3.17. 

  3. C)If the document is a single XML file, then the XML files shall be valid with respect to the schema defined in appendix A, after processing of foreign elements as defined in B1) has taken place. 

2.2.3OpenDocument Text Document

An OpenDocument Text document shall meet all requirements of a Conforming OpenDocument Document, as well as the following additional requirements:

  1. A)The <office:document> element shall have an office:mimetype attribute with one of these values: "application/vnd.oasis.opendocument.text", "application/vnd.oasis.opendocument.text-template" or "application/vnd.oasis.opendocument.text-master". 

  2. B)If the document is an OpenDocument package then it shall contain a file named mimetype containing one of these strings: "application/vnd.oasis.opendocument.text", "application/vnd.oasis.opendocument.text-template" or "application/vnd.oasis.opendocument.text-master". 

  3. C)The <office:body> element shall have the child element <office:text>. 

2.2.4OpenDocument Spreadsheet Document

An OpenDocument Spreadsheet document shall meet all requirements of a Conforming OpenDocument Document, as well as the following additional requirements:

  1. A)The <office:document> element shall have an office:mimetype attribute with one of these values: "application/vnd.oasis.opendocument.spreadsheet" or "application/vnd.oasis.opendocument.spreadsheet-template". 

  2. B)If the document is an OpenDocument package then it shall contain a file named mimetype containing one of these strings: "application/vnd.oasis.opendocument.spreadsheet" or "application/vnd.oasis.opendocument.spreadsheet-template". 

  3. C)The <office:body> element shall have the child element <office:spreadsheet>. 

  4. D)All namespace prefixes used in the values of table:formula attributes values shall be bound to the "urn:oasis:names:tc:opendocument:xmlns:of:1.2 " namespace. 

  5. E)All table:formula attribute values shall be a conforming OpenDocument Formula expression (C15). 

2.2.5OpenDocument Drawing Document

An OpenDocument Drawing document shall meet all requirements of a Conforming OpenDocument Document, as well as the following additional requirements:

  1. A)The <office:document> element shall have an office:mimetype attribute with one of these values: "application.vnd.oasis.opendocument.graphics" or "application/vnd.oasis.opendocument.graphic-template". 

  2. B)If the document is an OpenDocument package then it shall contain a file named mimetype containing one of these strings: "application.vnd.oasis.opendocument.graphics" or "application/vnd.oasis.opendocument.graphic-template". 

  3. C)The <office:body> element shall have the child element <office:drawing>. 

2.2.6OpenDocument Presentation Document

An OpenDocument Presentation document shall meet all requirements of a Conforming OpenDocument Document, as well as the following additional requirements:

  1. A)The <office:document> element shall have an office:mimetype attribute with one of these values: "application/vnd.oasis.opendocument.presentation" or "application/vnd.oasis.opendocument.presentation-template". 

  2. B)If the document is an OpenDocument package then it shall contain a file named mimetype containing one of these strings: "application/vnd.oasis.opendocument.presentation" or "application/vnd.oasis.opendocument.presentation-template". 

  3. C)The <office:body> element shall have the child element <office:presentation>. 

2.2.7OpenDocument Chart Document

An OpenDocument Chart document shall meet all requirements of a Conforming OpenDocument Document, as well as the following additional requirements:

  1. A)The <office:document> element shall have an office:mimetype attribute with one of these values: "application/vnd.oasis.opendocument.chart" or "application/vnd.oasis.opendocument.chart-template". 

  2. B)If the document is an OpenDocument package then it shall contain a file named mimetype containing one of these strings: "application/vnd.oasis.opendocument.chart" or "application/vnd.oasis.opendocument.chart-template". 

  3. C)The <office:body> element shall have the child element <office:chart>. 

2.2.8OpenDocument Image Document

An OpenDocument Image document shall meet all requirements of a Conforming OpenDocument Document, as well as the following additional requirements:

  1. A)The <office:document> element shall have an office:mimetype attribute with one of these values: "application/vnd.oasis.opendocument.image" or "application/vnd.oasis.opendocument.image-template". 

  2. B)If the document is an OpenDocument package then it shall contain a file named mimetype containing one of these strings: "application/vnd.oasis.opendocument.image" or "application/vnd.oasis.opendocument.image-template". 

  3. C)The <office:body> element shall have the child element <office:image>. 

2.2.9OpenDocument Formula Document

An OpenDocument Formula document shall meet all requirements of a Conforming OpenDocument Document, as well as the following additional requirements:

  1. A)If the document is an OpenDocument package. The OpenDocument package shall contain a file named mimetype with content being the string "application/vnd.oasis.opendocument.formula".  

  2. B)The package "content.xml" file shall have a <math:math> root element.  

2.2.10OpenDocument Database Front End Document

An OpenDocument Database Front End document shall meet all requirements of a Conforming OpenDocument Document, as well as the following additional requirements:

  1. A)The <office:document> element shall have an office:mimetype attribute with the value "application/vnd.oasis.opendocument.base".  

  2. B)If the document is an OpenDocument package then it shall contain a file named mimetype containing the string " application/vnd.oasis.opendocument.base".  

  3. C)The <office:body> element shall have the child element <office:database>.  

2.3Producers

2.3.1OpenDocument Producer

An OpenDocument producer is a program that creates at least one conforming OpenDocument document, and that meets the following additional requirements:

  1. A)It may produce conforming OpenDocument extended documents, but it shall have a mode of operation where all OpenDocument documents that are created are conforming OpenDocument documents. 

  2. B)It shall be accompanied by a document that defines all implementation-defined values used by the OpenDocument producer. 

2.3.2OpenDocument Extended Producer

An OpenDocument extended producer is a program that creates at least one conforming OpenDocument extended document, and that meets the following additional requirements:

  1. A)It shall be accompanied by a document that defines all implementation-defined values used by the OpenDocument extended producer. 

  2. B)It should be accompanied by a document that defines all foreign elements and attributes used by the OpenDocument extended producer. 

2.4Consumer

An OpenDocument consumer is a program that can parse and interpret OpenDocument documents according to the semantics defined by this specification, and that meets the following additional requirements:

  1. A)It shall be able to parse and interpret OpenDocument documents of one or more of the document types defined by this specification (see 3.3) any of which are represented in packages, but it need not interpret the semantics of all elements, attributes and attribute values. 

  2. B)It may be able to parse and interpret OpenDocument documents stored as single XML document, but it need not interpret the semantics of all elements, attributes and attribute values. 

  3. C)It shall interpret those elements and attributes it does interpret consistent with the semantics defined for the element or attribute by this specification. 

  4. D)It should be able to parse and interpret conforming OpenDocument extended documents, but it need not interpret the semantics of all elements, attributes and attribute values. 

  5. E)The XML parser used to parse the files contained in a package listed in 2.2.1, item B) or the single document listed in 2.2.1, item C) meets the following requirements: 

    1. E.1)It shall be a nonvalidating XML processor with regard to the XML 1.0 specification [XML1.0]. 

    2. E.2)It shall be and be a conforming processor with regard to the XML Namespaces specification [xml-names]. 

    3. E.3)It shall conform to the xml-id specification [XML-ID]. 

3Document Structure

3.1Document Representation

3.1.1General

OpenDocument defines two methods of document representation:

3.1.2<office:document>(Single OpenDocument XML Files)

The <office:document> element is the root element of a document in OpenDocument format which is represented as a single XML document. It contains the entire document.

The <office:document> element is a root element.

The <office:document> element is usable within the following elements: <db:component> 12.25.5 and <draw:object> 10.4.6.2.

The <office:document> element has the following attributes: grddl:transformation 19.320, office:mimetype 19.375 and office:version 19.386.

The <office:document> element has the following child elements: <office:automatic-styles> 3.15.3, <office:body> 3.3, <office:font-face-decls> 3.14, <office:master-styles> 3.15.4, <office:meta> 3.2, <office:scripts> 3.12, <office:settings> 3.10 and <office:styles> 3.15.2.

3.1.3Package OpenDocument Files

3.1.3.1General

When an OpenDocument document is represented as a package, there are four root elements, <office:document-content>, <office:document-styles>, <office:document-meta>, and, <office:document-settings>, each stored as a separate file.

A package may also contain image files, embedded objects and implementation-dependent files.

3.1.3.2<office:document-content>

The <office:document-content> root element contains document content and automatic styles used in a document. The file within the package for the <office:document-content> element is content.xml.

The <office:document-content> element is a root element.

The <office:document-content> element has the following attributes: grddl:transformation 19.320 and office:version 19.386.

The <office:document-content> element has the following child elements: <office:automatic-styles> 3.15.3, <office:body> 3.3, <office:font-face-decls> 3.14 and <office:scripts> 3.12.

3.1.3.3<office:document-styles>

The <office:document-styles> root element contains styles used in document content and automatic styles used in styles. The file within the package for the <office:document-styles> element is styles.xml.

The <office:document-styles> element is a root element.

The <office:document-styles> element has the following attributes: grddl:transformation 19.320 and office:version 19.386.

The <office:document-styles> element has the following child elements: <office:automatic-styles> 3.15.3, <office:font-face-decls> 3.14, <office:master-styles> 3.15.4 and <office:styles> 3.15.2.

3.1.3.4<office:document-meta>

The <office:document-meta> root element contains document metadata elements. The file within the package for the <office:document-meta> element is meta.xml.

The <office:document-meta> element is a root element.

The <office:document-meta> element has the following attributes: grddl:transformation 19.320 and office:version 19.386.

The <office:document-meta> element has the following child element: <office:meta> 3.2.

3.1.3.5<office:document-settings>

The <office:document-settings> root element contains implementation-dependent settings. The file within the package for the <office:document-settings> element is settings.xml.

The <office:document-settings> element is a root element.

The <office:document-settings> element has the following attributes: grddl:transformation 19.320 and office:version 19.386.

The <office:document-settings> element has the following child element: <office:settings> 3.10.

3.1.4Summary of Document Representation

The models for representing an OpenDocument file are summarized in Table 7.

Table 7 - Root element content models

Root Element

<office:meta>

<office:settings>

<office:scripts>

<office:font-face-decls>

<office:styles>

<office:automatic-styles>

<office:master-styles>

<office:body>

<office:document>

X

X

X

X

X

X

X

X

<office:document-content>

 

 

X

X

 

X

 

X

<office:document-styles>

 

 

 

X

X

X

X

 

<office:document-meta>

X

 

 

 

 

 

 

 

<office:document-settings>

 

X

 

 

 

 

 

 

3.2<office:meta>

The <office:meta> element contains metadata elements for a document that are not specified by a manifest.rdf file. 4.2.2

All the child elements of an <office:meta> element contain metadata about a document as a whole.

The <office:meta> element is usable within the following elements: <office:document> 3.1.2 and <office:document-meta> 3.1.3.4.

The <office:meta> element has no attributes.

The <office:meta> element has the following child elements: <dc:creator> 4.3.2.7, <dc:date> 4.3.2.10, <dc:description> 4.3.2.3, <dc:language> 4.3.2.15, <dc:subject> 4.3.2.4, <dc:title> 4.3.2.2, <meta:auto-reload> 4.3.2.13, <meta:creation-date> 4.3.2.9, <meta:document-statistic> 4.3.2.18, <meta:editing-cycles> 4.3.2.16, <meta:editing-duration> 4.3.2.17, <meta:generator> 4.3.2.1, <meta:hyperlink-behaviour> 4.3.2.14, <meta:initial-creator> 4.3.2.6, <meta:keyword> 4.3.2.5, <meta:print-date> 4.3.2.11, <meta:printed-by> 4.3.2.8, <meta:template> 4.3.2.12 and <meta:user-defined> 4.3.3.

3.3<office:body>

The <office:body> element contains the elements that represent the content of a document.

The <office:body> element is usable within the following elements: <office:document> 3.1.2 and <office:document-content> 3.1.3.2.

The <office:body> element has no attributes.

The <office:body> element has the following child elements: <office:chart> 3.8, <office:database> 12.1, <office:drawing> 3.5, <office:image> 3.9, <office:presentation> 3.6, <office:spreadsheet> 3.7 and <office:text> 3.4.

3.4<office:text>

The <office:text> element represents the content of a text document.

The <office:text> element is usable within the following element: <office:body> 3.3.

The <office:text> element has the following attributes: text:global 19.806 and text:use-soft-page-breaks 19.897.

The <office:text> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:forms> 13.2, <table:calculation-settings> 9.4.1, <table:consolidation> 9.7, <table:content-validations> 9.4.4, <table:database-ranges> 9.4.14, <table:data-pilot-tables> 9.6.2, <table:dde-links> 9.8, <table:label-ranges> 9.4.10, <table:named-expressions> 9.4.11, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:dde-connection-decls> 14.6.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:list> 5.3.1, <text:numbered-paragraph> 5.3.6, <text:object-index> 8.6, <text:p> 5.1.3, <text:page-sequence> 5.2, <text:section> 5.4, <text:sequence-decls> 7.4.11, <text:soft-page-break> 5.6, <text:table-index> 8.5, <text:table-of-content> 8.3, <text:tracked-changes> 5.5.1, <text:user-field-decls> 7.4.7, <text:user-index> 8.7 and <text:variable-decls> 7.4.2.

3.5<office:drawing>

The <office:drawing> element represents a drawing document.

The <office:drawing> element is usable within the following element: <office:body> 3.3.

The <office:drawing> element has no attributes.

The <office:drawing> element has the following child elements: <draw:page> 10.2.4, <table:calculation-settings> 9.4.1, <table:consolidation> 9.7, <table:content-validations> 9.4.4, <table:database-ranges> 9.4.14, <table:data-pilot-tables> 9.6.2, <table:dde-links> 9.8, <table:label-ranges> 9.4.10, <table:named-expressions> 9.4.11, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:dde-connection-decls> 14.6.2, <text:sequence-decls> 7.4.11, <text:user-field-decls> 7.4.7 and <text:variable-decls> 7.4.2.

3.6<office:presentation>

The <office:presentation> element represents a presentation document.

The <office:presentation> element is usable within the following element: <office:body> 3.3.

The <office:presentation> element has no attributes.

The <office:presentation> element has the following child elements: <draw:page> 10.2.4, <presentation:date-time-decl> 10.9.3.6, <presentation:footer-decl> 10.9.3.4, <presentation:header-decl> 10.9.3.2, <presentation:settings> 10.9.3.7, <table:calculation-settings> 9.4.1, <table:consolidation> 9.7, <table:content-validations> 9.4.4, <table:database-ranges> 9.4.14, <table:data-pilot-tables> 9.6.2, <table:dde-links> 9.8, <table:label-ranges> 9.4.10, <table:named-expressions> 9.4.11, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:dde-connection-decls> 14.6.2, <text:sequence-decls> 7.4.11, <text:user-field-decls> 7.4.7 and <text:variable-decls> 7.4.2.

3.7<office:spreadsheet>

The <office:spreadsheet> element represents a spreadsheet document.

The <office:spreadsheet> element is usable within the following element: <office:body> 3.3.

The <office:spreadsheet> element has the following attributes: table:protection-key 19.697, table:protection-key-digest-algorithm 19.698 and table:structure-protected 19.725.

The <office:spreadsheet> element has the following child elements: <table:calculation-settings> 9.4.1, <table:consolidation> 9.7, <table:content-validations> 9.4.4, <table:database-ranges> 9.4.14, <table:data-pilot-tables> 9.6.2, <table:dde-links> 9.8, <table:label-ranges> 9.4.10, <table:named-expressions> 9.4.11, <table:table> 9.1.2, <table:tracked-changes> 9.9.2, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:dde-connection-decls> 14.6.2, <text:sequence-decls> 7.4.11, <text:user-field-decls> 7.4.7 and <text:variable-decls> 7.4.2.

3.8<office:chart>

The <office:chart> element represents a chart document.

The <office:chart> element is usable within the following element: <office:body> 3.3.

The <office:chart> element has no attributes.

The <office:chart> element has the following child elements: <chart:chart> 11.1, <table:calculation-settings> 9.4.1, <table:consolidation> 9.7, <table:content-validations> 9.4.4, <table:database-ranges> 9.4.14, <table:data-pilot-tables> 9.6.2, <table:dde-links> 9.8, <table:label-ranges> 9.4.10, <table:named-expressions> 9.4.11, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:dde-connection-decls> 14.6.2, <text:sequence-decls> 7.4.11, <text:user-field-decls> 7.4.7 and <text:variable-decls> 7.4.2.

3.9<office:image>

The <office:image> element represents an image document.

The <office:image> element contains a <draw:frame> element which shall contain a single <draw:image> element.

The <office:image> element is usable within the following element: <office:body> 3.3.

The <office:image> element has no attributes.

The <office:image> element has the following child element: <draw:frame> 10.4.2.

3.10<office:settings>

3.10.1General

The <office:settings> element contains one or more <config:config-item-set> elements, each of which represents a set of application settings.

The <office:settings> element is usable within the following elements: <office:document> 3.1.2 and <office:document-settings> 3.1.3.5.

The <office:settings> element has no attributes.

The <office:settings> element has the following child element: <config:config-item-set> 3.10.2.

3.10.2<config:config-item-set>

The <config:config-item-set> element is a container element for application setting elements. Setting child elements may occur in any order.

An ODF Consumer shall use application settings to alter application behavior only within the dimensions of variability permitted by this standard.

The <config:config-item-set> element is usable within the following elements: <config:config-item-map-entry> 3.10.5, <config:config-item-set> 3.10.2 and <office:settings> 3.10.

The <config:config-item-set> element has the following attribute: config:name 19.29.

The <config:config-item-set> element has the following child elements: <config:config-item> 3.10.3, <config:config-item-map-indexed> 3.10.4, <config:config-item-map-named> 3.10.6 and <config:config-item-set> 3.10.2.

3.10.3<config:config-item>

The <config:config-item> element contains the value of an application setting whose name is specified by its config:name attribute.

The <config:config-item> element is usable within the following elements: <config:config-item-map-entry> 3.10.5 and <config:config-item-set> 3.10.2.

The <config:config-item> element has the following attributes: config:name 19.29 and config:type 19.30.

The <config:config-item> element has no child elements.

The <config:config-item> element has character data content.

3.10.4<config:config-item-map-indexed>

The <config:config-item-map-indexed> element is a container element for ordered sequences of application settings.

The <config:config-item-map-indexed> element is usable within the following elements: <config:config-item-map-entry> 3.10.5 and <config:config-item-set> 3.10.2.

The <config:config-item-map-indexed> element has the following attribute: config:name 19.29.

The <config:config-item-map-indexed> element has the following child element: <config:config-item-map-entry> 3.10.5.

3.10.5<config:config-item-map-entry>

The <config:config-item-map-entry> element represents a single setting in a sequence of settings. The setting itself is defined by the child element of <config:config-item-map-entry>, and may be a single value, a set of settings, or a sequence of settings.

The <config:config-item-map-entry> element is usable within the following elements: <config:config-item-map-indexed> 3.10.4 and <config:config-item-map-named> 3.10.6.

The <config:config-item-map-entry> element has the following attribute: config:name 19.29.

The <config:config-item-map-entry> element has the following child elements: <config:config-item> 3.10.3, <config:config-item-map-indexed> 3.10.4, <config:config-item-map-named> 3.10.6 and <config:config-item-set> 3.10.2.

3.10.6<config:config-item-map-named>

The <config:config-item-map-named> element contains a sequence of application setting elements. Each sequence is identified by the value of its config:name attribute.

The <config:config-item-map-named> element is usable within the following elements: <config:config-item-map-entry> 3.10.5 and <config:config-item-set> 3.10.2.

The <config:config-item-map-named> element has the following attribute: config:name 19.29.

The <config:config-item-map-named> element has the following child element: <config:config-item-map-entry> 3.10.5.

3.11Cursor Position Setting

To represent a text cursor position within a document, a processing instruction with PITarget opendocument (see §2.6 of [XML1.0]) should be used. The name of the cursor position processing instruction, cursor-position, shall follow the PITarget opendocument. The processing instruction may have arbitrary implementation-defined attributes.

Note: Where a text cursor position is not sufficient to recreate a document view, producers may use arbitrary document specific settings in addition to a cursor position processing instruction.

3.12<office:scripts>

The <office:scripts> element contains all the <office:script> elements for a document.

Each <office:script> element contains a script. A document may contain scripts in different scripting languages.

Note: Scripts need not use XML document models.

The <office:scripts> element may also contain <office:event-listeners> elements which contain the events assigned to the document itself. 14.4.2

The <office:scripts> element is usable within the following elements: <office:document> 3.1.2 and <office:document-content> 3.1.3.2.

The <office:scripts> element has no attributes.

The <office:scripts> element has the following child elements: <office:event-listeners> 10.3.19 and <office:script> 3.13.

3.13<office:script>

The <office:script> element contains a script.

The <office:script> element is usable within the following element: <office:scripts> 3.12.

The <office:script> element has the following attribute: script:language 19.430.

The <office:script> element has mixed content where arbitrary child elements are permitted.

Note: In most situations, the element contains the source code of the script, but it may also contain a compiled version of the script or a link to external script code.

3.14<office:font-face-decls>

The <office:font-face-decls> element contains all the font face declarations (<style:font-face> elements) for a document.

The <office:font-face-decls> element is usable within the following elements: <office:document> 3.1.2, <office:document-content> 3.1.3.2 and <office:document-styles> 3.1.3.3.

The <office:font-face-decls> element has no attributes.

The <office:font-face-decls> element has the following child element: <style:font-face> 16.21.

3.15Styles

3.15.1General

Styles for a document are defined in container elements according to their type: common, automatic and master.

Page layouts and styles are defined by <style:page-layout> 17.2 and <style:master-page> 16.9 elements, respectively.

3.15.2<office:styles>

The <office:styles> element contains common styles used in a document. A common style is a style chosen by a user for a document or portion thereof.

The <office:styles> element is usable within the following elements: <office:document> 3.1.2 and <office:document-styles> 3.1.3.3.

The <office:styles> element has no attributes.

The <office:styles> element has the following child elements: <draw:fill-image> 16.40.6, <draw:gradient> 16.40.1, <draw:hatch> 16.40.5, <draw:marker> 16.40.8, <draw:opacity> 16.40.7, <draw:stroke-dash> 16.40.9, <number:boolean-style> 16.27.23, <number:currency-style> 16.27.7, <number:date-style> 16.27.10, <number:number-style> 16.27.2, <number:percentage-style> 16.27.9, <number:text-style> 16.27.25, <number:time-style> 16.27.18, <style:default-page-layout> 16.8, <style:default-style> 16.4, <style:presentation-page-layout> 16.41, <style:style> 16.2, <svg:linearGradient> 16.40.2, <svg:radialGradient> 16.40.3, <table:table-template> 16.18, <text:bibliography-configuration> 16.29.6, <text:linenumbering-configuration> 16.29.1, <text:list-style> 16.30, <text:notes-configuration> 16.29.3 and <text:outline-style> 16.34.

3.15.3<office:automatic-styles>

The <office:automatic-styles> element contains automatic styles used in a document.

An automatic style is one contains formatting properties that are considered to be properties of the object to which the style is assigned.

Note: Common and automatic styles behave differently in OpenDocument editing consumers. Common styles are presented to the user as a named set of formatting properties. The formatting properties of an automatic style are presented to a user as properties of the object to which the style is applied.

The <office:automatic-styles> element is usable within the following elements: <office:document> 3.1.2, <office:document-content> 3.1.3.2 and <office:document-styles> 3.1.3.3.

The <office:automatic-styles> element has no attributes.

The <office:automatic-styles> element has the following child elements: <number:boolean-style> 16.27.23, <number:currency-style> 16.27.7, <number:date-style> 16.27.10, <number:number-style> 16.27.2, <number:percentage-style> 16.27.9, <number:text-style> 16.27.25, <number:time-style> 16.27.18, <style:page-layout> 16.5, <style:style> 16.2 and <text:list-style> 16.30.

3.15.4<office:master-styles>

The <office:master-styles> element contains master styles that are used in a document. A master style contains formatting and other content that is displayed with document content when the style is used.

The <office:master-styles> element is usable within the following elements: <office:document> 3.1.2 and <office:document-styles> 3.1.3.3.

The <office:master-styles> element has no attributes.

The <office:master-styles> element has the following child elements: <draw:layer-set> 10.2.2, <style:handout-master> 10.2.1 and <style:master-page> 16.9.

3.16Document Signatures

An OpenDocument document that is stored in a package may have one or more digital signatures applied to the package.

Document signatures shall be stored in a file called META-INF/documentsignatures.xml in the package as described in section 3.5 of the OpenDocument specification part 3. Document signatures shall contain a <ds:Reference> element for each file within the package, with the exception that <ds:Reference> elements for the META-INF/documentsignatures.xml file containing the signature, and any files contained in the package whose relative path starts with "external-data/" should be omitted.

Signatures other than document signatures are implementation-defined.

 

3.17Foreign Elements and Attributes

OpenDocument extended documents may contain elements and attributes not defined by the OpenDocument schema. Elements and attributes not defined by the OpenDocument schema are called foreign elements and attributes. Foreign elements and attributes shall not be associated with a namespace that is listed in tables 1, 2 or 3 of section 1.5.

If a foreign element has a <text:h> or <text:p> ancestor element, and is a child element of an element for which the OpenDocument schema permits the inclusion of character data, and if the OpenDocument schema permits the inclusion of character data for all its ancestors up to the <text:p> or <text:h> element ancestor element, then the element's content may be interpreted by conforming OpenDocument consumers, and the document itself shall be valid against the OpenDocument schema as if the foreign element's start- and end-tags or its empty-element-tag are removed.

For a foreign element that occurs at another location, conforming consumers should not interpret the element's content, but may preserve its content.

Foreign elements may have an office:process-content attribute 19.377 attached which controls the processing of the element content.

Note: In OpenDocument 1.0 and 1.1, the content of foreign elements should be processed unless there was an office:process-content attribute with value false.

Conforming extended producers should not use foreign elements and attributes for features defined in the OpenDocument specification.

A conforming consumer that encounters an OpenDocument defined attribute that has a value that is not defined by OpenDocument, then it should:

  1. 1)If the attribute has a specified default value, use its default value, or  

  2. 2)If the attribute does not have a specified default value, ignore the attribute.  

3.18White Space Processing and EOL Handling

ODF processing of whitespace characters is in conformance with the provisions of [XML1.0].

In addition, OpenDocument Consumers shall ignore all element children ([RNG] section 5, Data Model) of elements defined in this specification that are strings consisting entirely of whitespace characters and which do not satisfy a pattern of the OpenDocument schema definition for the element.

Additional treatment of occurrences of whitespace characters depends on the provisions for specific elements, attributes, and their datatypes in this specification.

Note: There are special OpenDocument rules for the reduction of whitespace sequences to single space characters in the text obtained from <text:p>, <text:h> and their element children. 6.1.2

3.19MIME Types and File Name Extensions

Appendix C contains a list of MIME types and file name extensions to be used for office documents that conform to this specification and that are contained in a package. See 3.1.3.

Office documents that conform to this specification but are not contained in a package should use the MIME type text/xml.

Only MIME types and extensions that have been registered according to [RFC4288] should used for office documents that conform to this specification. The MIME types and extensions listed in appendix C should be used where appropriate.

4Metadata

4.1General

Metadata is general information about a document or its content.

OpenDocument supports five types of metadata:

  1. 1)RDF metadata describing documents or the content of identifiable OpenDocument elements. 4.2.2 

  2. 2)Text content being used as RDF metadata. 4.2.1  

  3. 3)Pre-defined metadata (meta.xml). 4.3.2 

  4. 4)User-defined metadata (using the <meta:user-defined> element). 4.3.3 

  5. 5)Custom metadata (custom XML elements within meta.xml). 4.3.1 

Pre-defined and user-defined metadata are both stored in the metadata <office:meta> element. The elements representing this metadata may be omitted or occur multiple times. The updating of multiple instances of the same metadata elements is implementation-dependent.

4.2RDF Metadata

4.2.1In Content Metadata (RDFa)

Metadata in OpenDocument documents may be expressed using the model of the W3C Resource Description Framework [RDF-CONCEPTS].

In addition to the mechanism defined in Part 3 of this specification RDF metadata can be attached to elements in the "content.xml" and "styles.xml" file. Elements supporting this type of metadata have the following attributes: xhtml:about 19.905, xhtml:property 19.908, xhtml:content 19.906, and xhtml:datatype 19.907. When metadata is added using these attributes, it is referred to as in content metadata. If "content.xml" and "styles.xml" files contain in content metadata they shall be listed in the package's "manifest.rdf" file.

4.2.2manifest.rdf

4.2.2.1General

The OpenDocument document contains a metadata manifest, as defined in Part 3 of this specification. The [OWL] Metadata Manifest Description ontology defined in Part 3 is extended with additional properties and classes in appendix B. The following OWL classes and properties are defined.

4.2.2.2odf:ContentFile

An instance of the odf:ContentFile class represents a content.xml file.

The odf:ContentFile class is a subclass of pkg:File.

4.2.2.3odf:StylesFile

An instance of the odf:StylesFile class represents a styles.xml file.

The odf:StylesFile class is a subclass of pkg:File

4.2.2.4odf:Element

An instance of the odf:Element class represents an OpenDocument XML element in a content.xml or styles.xml file. It is a subclass of the pkg:Element class, which represents any XML element in the OpenDocument package.

Note: One or more rdf:type properties specify the metadata type of an odf:Element.

Every XML element that is defined by this specification and has an attribute of type ID may be described using an OWL class. The IRI of an OWL class for an element is the concatenation of the element's QName namespace IRI and its local name part. These classes are subclasses of odf:Element.

The following properties are defined for the subclass describing a <text:meta-field> element (urn:oasis:names:tc:opendocument:xmlns:text:1.0meta-field) : odf:prefix 4.2.2.5 and odf:suffix 4.2.2.6.

4.2.2.5odf:prefix

The odf:prefix property defines the prefix content of a <text:meta-field> field 7.5.19.

This property can be used with the following class: urn:oasis:names:tc:opendocument:xmlns:text:1.0meta-field 4.2.2.4.

4.2.2.6odf:suffix

The odf:suffix property defines the suffix content of a <text:meta-field> field 7.5.19.

This property can be used with the following class: urn:oasis:names:tc:opendocument:xmlns:text:1.0meta-field 4.2.2.4.

4.3Non-RDF Metadata

4.3.1General

Non-RDF metadata in OpenDocument is composed of pre-defined metadata elements, user defined metadata elements, and custom metadata elements.

The pre-defined metadata elements have defined semantics. They should be processed by consumers and updated by producers. They can be referenced from within the document using text fields.

The pre-defined metadata elements borrow heavily upon the metadata standards developed by the Dublin Core Metadata Initiative (http://www.dublincore.org). Metadata elements drawn directly from the Dublin Core work are in the http://purl.org/dc/elements/1.1 namespace.   “

User-defined metadata specifies a triplet of name, type, and value. Consumers can present these values to the user.

Custom metadata elements are arbitrary elements inside an <office:meta> element. The semantics of custom metadata elements is implementation-defined.

Custom metadata elements shall only occur in OpenDocument extended documents. The use of custom metadata is deprecated in favor of RDF/XML based metadata.

Note: Consumers need not process custom metadata other than to preserve it when editing a document.

4.3.2Pre-Defined Metadata Elements

4.3.2.1<meta:generator>

The <meta:generator> element contains a string that identifies the OpenDocument producer that was used to create or last modify the document. This string should match the definition for user-agents in the HTTP protocol as specified in section 14.43 of [RFC2616]. The generator string should allow OpenDocument consumers to distinguish between all released versions of a producer.

Note: Release versions of a producer could be distinguished based on build ids or patch level information.

If an OpenDocument producer that creates a document cannot provide an identifier string, the producer shall not export this element. If a producer stores a modified document created by another producer cannot provide a unique identifier, it shall not export the original identifier belonging to the producer that created the document.

The <meta:generator> element is usable within the following element: <office:meta> 3.2.

The <meta:generator> element has no attributes.

The <meta:generator> element has no child elements.

The <meta:generator> element has content of data type string 18.2.

4.3.2.2<dc:title>

The <dc:title> element specifies the title of a document.

The <dc:title> element is usable within the following element: <office:meta> 3.2.

The <dc:title> element has no attributes.

The <dc:title> element has no child elements.

The <dc:title> element has content of data type string 18.2.

4.3.2.3<dc:description>

The <dc:description> element contains a description of a document.

The <dc:description> element is usable within the following element: <office:meta> 3.2.

The <dc:description> element has no attributes.

The <dc:description> element has no child elements.

The <dc:description> element has content of data type string 18.2.

4.3.2.4<dc:subject>

The <dc:subject> element specifies the subject of a document.

The <dc:subject> element is usable within the following element: <office:meta> 3.2.

The <dc:subject> element has no attributes.

The <dc:subject> element has no child elements.

The <dc:subject> element has content of data type string 18.2.

4.3.2.5<meta:keyword>

The <meta:keyword> element contains a keyword pertaining to a document.

The <meta:keyword> element is usable within the following element: <office:meta> 3.2.

The <meta:keyword> element has no attributes.

The <meta:keyword> element has no child elements.

The <meta:keyword> element has content of data type string 18.2.

4.3.2.6<meta:initial-creator>

The <meta:initial-creator> element specifies the name of the initial creator of a document.

The <meta:initial-creator> element is usable within the following element: <office:meta> 3.2.

The <meta:initial-creator> element has no attributes.

The <meta:initial-creator> element has no child elements.

The <meta:initial-creator> element has content of data type string 18.2.

4.3.2.7<dc:creator>

The <dc:creator> element specifies the name of the person who last modified a document (<office:meta>), who created an annotation (<office:annotation>), who authored a change (<office:change-info>).

The <dc:creator> element is usable within the following elements: <office:annotation> 14.1, <office:change-info> 5.5.6 and <office:meta> 3.2.

The <dc:creator> element has no attributes.

The <dc:creator> element has no child elements.

The <dc:creator> element has content of data type string 18.2.

4.3.2.8<meta:printed-by>

The <meta:printed-by> element specifies the name of the last person who printed a document.

The <meta:printed-by> element is usable within the following element: <office:meta> 3.2.

The <meta:printed-by> element has no attributes.

The <meta:printed-by> element has no child elements.

The <meta:printed-by> element has content of data type string 18.2.

4.3.2.9<meta:creation-date>

The <meta:creation-date> element specifies the date and time when a document was created.

The <meta:creation-date> element is usable within the following element: <office:meta> 3.2.

The <meta:creation-date> element has no attributes.

The <meta:creation-date> element has no child elements.

The <meta:creation-date> element has content of data type dateTime 18.2.

4.3.2.10<dc:date>

The <dc:date> element specifies the date and time when the document was last modified (<office:meta>), when an annotation was created (<office:annotation>), when a change was made (<office:change-info>).

The <dc:date> element is usable within the following elements: <office:annotation> 14.1, <office:change-info> 5.5.6 and <office:meta> 3.2.

The <dc:date> element has no attributes.

The <dc:date> element has no child elements.

The <dc:date> element has content of data type dateTime 18.2.

4.3.2.11<meta:print-date>

The <meta:print-date> element specifies the date and time when a document was last printed.

The <meta:print-date> element is usable within the following element: <office:meta> 3.2.

The <meta:print-date> element has no attributes.

The <meta:print-date> element has no child elements.

The <meta:print-date> element has content of data type dateTime 18.2.

4.3.2.12<meta:template>

The <meta:template> element specifies a IRI for the document template that was used to create a document. The IRI is specified as an Xlink. See [XLink].

The <meta:template> element is usable within the following element: <office:meta> 3.2.

The <meta:template> element has the following attributes: meta:date 19.323, xlink:actuate 19.909, xlink:href 19.910.24, xlink:title 19.912 and xlink:type 19.913.

The <meta:template> element has no child elements.

4.3.2.13<meta:auto-reload>

The <meta:auto-reload> element specifies whether a document is reloaded or replaced by another document after a specified period of time has elapsed.

The <meta:auto-reload> element is usable within the following element: <office:meta> 3.2.

The <meta:auto-reload> element has the following attributes: meta:delay 19.324, xlink:actuate 19.909, xlink:href 19.910.23, xlink:show 19.911 and xlink:type 19.913.

The <meta:auto-reload> element has no child elements.

4.3.2.14<meta:hyperlink-behaviour>

The <meta:hyperlink-behaviour> element specifies the default behavior for hyperlinks in a document.

The <meta:hyperlink-behaviour> element is usable within the following element: <office:meta> 3.2.

The <meta:hyperlink-behaviour> element has the following attributes: office:target-frame-name 19.381 and xlink:show 19.911.

The <meta:hyperlink-behaviour> element has no child elements.

4.3.2.15<dc:language>

The <dc:language> element specifies the default language of a document.

The <dc:language> element is usable within the following element: <office:meta> 3.2.

The <dc:language> element has no attributes.

The <dc:language> element has no child elements.

The <dc:language> element has content of data type language 18.3.16.

4.3.2.16<meta:editing-cycles>

The <meta:editing-cycles> element specifies the number of times a document has been edited. When a document is created, this value is set to 1. Each time a document is saved, the editing-cycles number is incremented by 1.

The <meta:editing-cycles> element is usable within the following element: <office:meta> 3.2.

The <meta:editing-cycles> element has no attributes.

The <meta:editing-cycles> element has no child elements.

The <meta:editing-cycles> element has content of data type nonNegativeInteger 18.2.

4.3.2.17<meta:editing-duration>

The <meta:editing-duration> element specifies the total time spent editing a document.

The <meta:editing-duration> element is usable within the following element: <office:meta> 3.2.

The <meta:editing-duration> element has no attributes.

The <meta:editing-duration> element has no child elements.

The <meta:editing-duration> element has content of data type duration 18.2.

4.3.2.18<meta:document-statistic>

The <meta:document-statistic> element represents statistics about a document.

The <meta:document-statistic> element is usable within the following element: <office:meta> 3.2.

The <meta:document-statistic> element has the following attributes: meta:cell-count 19.321, meta:character-count 19.322, meta:draw-count 19.325, meta:frame-count 19.326, meta:image-count 19.327, meta:non-whitespace-character-count 19.329, meta:object-count 19.330, meta:ole-object-count 19.331, meta:page-count 19.332, meta:paragraph-count 19.333, meta:row-count 19.334, meta:sentence-count 19.335, meta:syllable-count 19.336, meta:table-count 19.337 and meta:word-count 19.339.

The <meta:document-statistic> element has no child elements.

4.3.3<meta:user-defined>

The <meta:user-defined> element specifies any additional user-defined metadata for a document.

The <meta:user-defined> element is usable within the following element: <office:meta> 3.2.

The <meta:user-defined> element has the following attributes: meta:name 19.328, meta:value-type 19.338.

The <meta:user-defined> element has no child elements.

The <meta:user-defined> element has character data content, or depending on the value of the meta:value-type attribute content of type double 18.2, date 18.2, dateTime 18.2, duration 18.2, boolean 18.3.3 or string 18.2.

5Text Content

5.1Headings, Paragraphs and Basic Text Structure

5.1.1General

The <text:h> and <text:p> elements represent headings and paragraphs, respectively.

Headings and paragraphs are collectively referred to as paragraph elements.

5.1.2<text:h>

The <text:h> element represents a heading in a document. Headings define the division structure for a document. A chapter or section begins with a heading and extends to the next heading at the same or higher level.

The <text:h> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.4, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:list-header> 5.3.3, <text:list-item> 5.3.4, <text:note-body> 6.3.4, <text:numbered-paragraph> 5.3.6 and <text:section> 5.4.

The <text:h> element has the following attributes: text:class-names 19.770.2, text:cond-style-name 19.776, text:id 19.809.6, text:is-list-header 19.816, text:outline-level 19.844.4, text:restart-numbering 19.857, text:start-value 19.868.2, text:style-name 19.874.7, xhtml:about 19.905, xhtml:content 19.906, xhtml:datatype 19.907, xhtml:property 19.908 and xml:id 19.914.

The <text:h> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:annotation> 14.1, <office:annotation-end> 14.2, <presentation:date-time> 10.9.3.5, <presentation:footer> 10.9.3.3, <presentation:header> 10.9.3.1, <text:a> 6.1.8, <text:alphabetical-index-mark> 8.1.10, <text:alphabetical-index-mark-end> 8.1.9, <text:alphabetical-index-mark-start> 8.1.8, <text:author-initials> 7.3.7.2, <text:author-name> 7.3.7.1, <text:bibliography-mark> 8.1.11, <text:bookmark> 6.2.1.2, <text:bookmark-end> 6.2.1.4, <text:bookmark-ref> 7.7.6, <text:bookmark-start> 6.2.1.3, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:chapter> 7.3.8, <text:character-count> 7.5.18.5, <text:conditional-text> 7.7.3, <text:creation-date> 7.5.3, <text:creation-time> 7.5.4, <text:creator> 7.5.17, <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6, <text:database-row-select> 7.6.5, <text:date> 7.3.2, <text:dde-connection> 7.7.12, <text:description> 7.5.5, <text:editing-cycles> 7.5.13, <text:editing-duration> 7.5.14, <text:execute-macro> 7.7.10, <text:expression> 7.4.14, <text:file-name> 7.3.9, <text:hidden-paragraph> 7.7.11, <text:hidden-text> 7.7.4, <text:image-count> 7.5.18.7, <text:initial-creator> 7.5.2, <text:keywords> 7.5.12, <text:line-break> 6.1.5, <text:measure> 7.7.13, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:modification-date> 7.5.16, <text:modification-time> 7.5.15, <text:note> 6.3.2, <text:note-ref> 7.7.7, <text:number> 6.1.10, <text:object-count> 7.5.18.8, <text:page-continuation> 7.3.5, <text:page-count> 7.5.18.2, <text:page-number> 7.3.4, <text:page-variable-get> 7.7.1.3, <text:page-variable-set> 7.7.1.2, <text:paragraph-count> 7.5.18.3, <text:placeholder> 7.7.2, <text:print-date> 7.5.8, <text:printed-by> 7.5.9, <text:print-time> 7.5.7, <text:reference-mark> 6.2.2.2, <text:reference-mark-end> 6.2.2.4, <text:reference-mark-start> 6.2.2.3, <text:reference-ref> 7.7.5, <text:ruby> 6.4, <text:s> 6.1.3, <text:script> 7.7.9, <text:sender-city> 7.3.6.13, <text:sender-company> 7.3.6.10, <text:sender-country> 7.3.6.15, <text:sender-email> 7.3.6.7, <text:sender-fax> 7.3.6.9, <text:sender-firstname> 7.3.6.2, <text:sender-initials> 7.3.6.4, <text:sender-lastname> 7.3.6.3, <text:sender-phone-private> 7.3.6.8, <text:sender-phone-work> 7.3.6.11, <text:sender-position> 7.3.6.6, <text:sender-postal-code> 7.3.6.14, <text:sender-state-or-province> 7.3.6.16, <text:sender-street> 7.3.6.12, <text:sender-title> 7.3.6.5, <text:sequence> 7.4.13, <text:sequence-ref> 7.7.8, <text:sheet-name> 7.3.11, <text:soft-page-break> 5.6, <text:span> 6.1.7, <text:subject> 7.5.11, <text:tab> 6.1.4, <text:table-count> 7.5.18.6, <text:table-formula> 7.7.14, <text:template-name> 7.3.10, <text:text-input> 7.4.15, <text:time> 7.3.3, <text:title> 7.5.10, <text:toc-mark> 8.1.4, <text:toc-mark-end> 8.1.3, <text:toc-mark-start> 8.1.2, <text:user-defined> 7.5.6, <text:user-field-get> 7.4.9, <text:user-field-input> 7.4.10, <text:user-index-mark> 8.1.7, <text:user-index-mark-end> 8.1.6, <text:user-index-mark-start> 8.1.5, <text:variable-get> 7.4.5, <text:variable-input> 7.4.6, <text:variable-set> 7.4.4 and <text:word-count> 7.5.18.4.

The <text:h> element has mixed content.

5.1.3<text:p>

The <text:p> element represents a paragraph, which is the basic unit of text in an OpenDocument file.

The <text:p> element is usable within the following elements: <chart:data-label> 11.14, <chart:equation> 11.18, <chart:footer> 11.2.3, <chart:label-separator> 17.24, <chart:legend> 11.3, <chart:subtitle> 11.2.2, <chart:title> 11.2.1, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:image> 10.4.4, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <draw:text-box> 10.4.3, <form:textarea> 13.5.3, <office:annotation> 14.1, <office:change-info> 5.5.6, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <style:region-center> 16.15, <style:region-left> 16.14, <style:region-right> 16.16, <table:change-track-table-cell> 9.9.16, <table:covered-table-cell> 9.1.5, <table:error-message> 9.4.7, <table:help-message> 9.4.6, <table:table-cell> 9.1.4, <text:deletion> 5.5.4, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:list-header> 5.3.3, <text:list-item> 5.3.4, <text:note-body> 6.3.4, <text:numbered-paragraph> 5.3.6 and <text:section> 5.4.

The <text:p> element has the following attributes: text:class-names 19.770.3, text:cond-style-name 19.776, text:id 19.809.8, text:style-name 19.874.29, xhtml:about 19.905, xhtml:content 19.906, xhtml:datatype 19.907, xhtml:property 19.908 and xml:id 19.914.

The <text:p> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:annotation> 14.1, <office:annotation-end> 14.2, <presentation:date-time> 10.9.3.5, <presentation:footer> 10.9.3.3, <presentation:header> 10.9.3.1, <text:a> 6.1.8, <text:alphabetical-index-mark> 8.1.10, <text:alphabetical-index-mark-end> 8.1.9, <text:alphabetical-index-mark-start> 8.1.8, <text:author-initials> 7.3.7.2, <text:author-name> 7.3.7.1, <text:bibliography-mark> 8.1.11, <text:bookmark> 6.2.1.2, <text:bookmark-end> 6.2.1.4, <text:bookmark-ref> 7.7.6, <text:bookmark-start> 6.2.1.3, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:chapter> 7.3.8, <text:character-count> 7.5.18.5, <text:conditional-text> 7.7.3, <text:creation-date> 7.5.3, <text:creation-time> 7.5.4, <text:creator> 7.5.17, <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6, <text:database-row-select> 7.6.5, <text:date> 7.3.2, <text:dde-connection> 7.7.12, <text:description> 7.5.5, <text:editing-cycles> 7.5.13, <text:editing-duration> 7.5.14, <text:execute-macro> 7.7.10, <text:expression> 7.4.14, <text:file-name> 7.3.9, <text:hidden-paragraph> 7.7.11, <text:hidden-text> 7.7.4, <text:image-count> 7.5.18.7, <text:initial-creator> 7.5.2, <text:keywords> 7.5.12, <text:line-break> 6.1.5, <text:measure> 7.7.13, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:modification-date> 7.5.16, <text:modification-time> 7.5.15, <text:note> 6.3.2, <text:note-ref> 7.7.7, <text:object-count> 7.5.18.8, <text:page-continuation> 7.3.5, <text:page-count> 7.5.18.2, <text:page-number> 7.3.4, <text:page-variable-get> 7.7.1.3, <text:page-variable-set> 7.7.1.2, <text:paragraph-count> 7.5.18.3, <text:placeholder> 7.7.2, <text:print-date> 7.5.8, <text:printed-by> 7.5.9, <text:print-time> 7.5.7, <text:reference-mark> 6.2.2.2, <text:reference-mark-end> 6.2.2.4, <text:reference-mark-start> 6.2.2.3, <text:reference-ref> 7.7.5, <text:ruby> 6.4, <text:s> 6.1.3, <text:script> 7.7.9, <text:sender-city> 7.3.6.13, <text:sender-company> 7.3.6.10, <text:sender-country> 7.3.6.15, <text:sender-email> 7.3.6.7, <text:sender-fax> 7.3.6.9, <text:sender-firstname> 7.3.6.2, <text:sender-initials> 7.3.6.4, <text:sender-lastname> 7.3.6.3, <text:sender-phone-private> 7.3.6.8, <text:sender-phone-work> 7.3.6.11, <text:sender-position> 7.3.6.6, <text:sender-postal-code> 7.3.6.14, <text:sender-state-or-province> 7.3.6.16, <text:sender-street> 7.3.6.12, <text:sender-title> 7.3.6.5, <text:sequence> 7.4.13, <text:sequence-ref> 7.7.8, <text:sheet-name> 7.3.11, <text:soft-page-break> 5.6, <text:span> 6.1.7, <text:subject> 7.5.11, <text:tab> 6.1.4, <text:table-count> 7.5.18.6, <text:table-formula> 7.7.14, <text:template-name> 7.3.10, <text:text-input> 7.4.15, <text:time> 7.3.3, <text:title> 7.5.10, <text:toc-mark> 8.1.4, <text:toc-mark-end> 8.1.3, <text:toc-mark-start> 8.1.2, <text:user-defined> 7.5.6, <text:user-field-get> 7.4.9, <text:user-field-input> 7.4.10, <text:user-index-mark> 8.1.7, <text:user-index-mark-end> 8.1.6, <text:user-index-mark-start> 8.1.5, <text:variable-get> 7.4.5, <text:variable-input> 7.4.6, <text:variable-set> 7.4.4 and <text:word-count> 7.5.18.4.

The <text:p> element has mixed content.

5.2<text:page-sequence>

5.2.1General

The <text:page-sequence> element contains at least one <text:page> element. If there is more than one <text:page> element, the text:master-page-name attribute of the first <text:page> element specifies the default master style for a document.

The <text:page-sequence> element is usable within the following element: <office:text> 3.4.

The <text:page-sequence> element has no attributes.

The <text:page-sequence> element has the following child element: <text:page> 5.2.2.

5.2.2<text:page>

The <text:page> element represents a page in a <text:page-sequence> element.

The <text:page> element is usable within the following element: <text:page-sequence> 5.2.

The <text:page> element has the following attribute: text:master-page-name 19.833.

The <text:page> element has no child elements.

5.3Lists

5.3.1<text:list>

The <text:list> element represents a list. It may contain a <text:list-header> element, followed by any number of <text:list-item> elements.

Lists may be numbered. The numbering may be restarted with a specific numbering at each list item. Lists may also continue numbering from other lists in order to merge lists into a single, discontinuous list. Whether list numbering is displayed or not depends on the list style being used.

Every list has a list level, which is determined by the nesting of the <text:list> element that represents that list. If a list is not contained in another list, its list level is 1. If a list is contained within another list, the list level of the contained list is the list level of the list in which it is contained incremented by one. If a list is contained in a table cell or text box, its list level returns to 1, even if the table or text box is nested in another list.

Every list with a list level of 1 defines a list and the counter domain for its list items and any sub list of that list. Each sub list starts a counter for its list items and any sub list it may contain.

Every list, including sub lists, may have a list style which is applied to its list items and sub lists. A list style specified for a sub list overrides the list style specified for the list in which the sub list is contained.

The <text:list> element is usable within the following elements: <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:image> 10.4.4, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <draw:text-box> 10.4.3, <office:annotation> 14.1, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.4, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:list-header> 5.3.3, <text:list-item> 5.3.4, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:list> element has the following attributes: text:continue-list 19.780, text:continue-numbering 19.781, text:style-name 19.874.22 and xml:id 19.914.

The <text:list> element has the following child elements: <text:list-header> 5.3.3 and <text:list-item> 5.3.4.

5.3.2Default List Style

If a list does not have a style:name attribute and therefore no list style is specified, one of the following actions is taken:

To determine which formatting properties are applied to a list, the list level and its style name are taken into account. 16.30.

5.3.3<text:list-header>

The <text:list-header> element represents a list header and is a type of list item. It contains one or more paragraphs that are displayed before a list. The paragraphs are formatted as list items but they do not have a preceding number or bullet.

The <text:list-header> element is usable within the following element: <text:list> 5.3.1.

The <text:list-header> element has the following attribute: xml:id 19.914.

The <text:list-header> element has the following child elements: <text:h> 5.1.2, <text:list> 5.3.1, <text:number> 6.1.10, <text:p> 5.1.3 and <text:soft-page-break> 5.6.

5.3.4<text:list-item>

The <text:list-item> element represents an item in a list.

The <text:list-item> element is usable within the following element: <text:list> 5.3.1.

The <text:list-item> element has the following attributes: text:start-value 19.868.3, text:style-override 19.875 and xml:id 19.914.

The <text:list-item> element has the following child elements: <text:h> 5.1.2, <text:list> 5.3.1, <text:number> 6.1.10, <text:p> 5.1.3 and <text:soft-page-break> 5.6.

5.3.5List Item Style Rules

The first line in a list item is preceded by a bullet or number, depending on the list style assigned to the list. If a list item starts another list and does not contain any text, no bullet or number is displayed.

The list style which is applied to a list need not contain a list level style for the list level the list item specifies. The following rules are applied to determine the list level style in this case

5.3.6<text:numbered-paragraph>

The <text:numbered-paragraph> element numbers an individual paragraph, as if it was part of a list at a specified level.

Note: Numbered paragraphs form an equivalent, alternative way of specifying lists. A list in <text:list> representation can be converted into a list in <text:numbered-paragraph> representation and vice versa.

A numbered paragraph can be assigned a list level. A numbered paragraph is equivalent to a list nested to the given level, containing one list item with one paragraph. If no level is given, the numbered paragraph is interpreted as being on level 1.

If a list style is not specified for a numbered paragraph, the list style of the previous numbered paragraph in the same sublist is used. If this paragraph is the first in the sublist, the list style of the previous paragraph in the higher list level is used. If there is no specified list style, the default list style is applied. 5.3.2

If a list level style is missing in the applied list style of a numbered paragraph, the same rules are applied to determine this list level style as for list items.

The text of a formatted number can be included in a <text:number> element.

Note: This text can be used by consumers that do not support numbering.

The <text:numbered-paragraph> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.4, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:numbered-paragraph> element has the following attributes: text:continue-numbering 19.781, text:level 19.828, text:list-id 19.829, text:start-value 19.868.6, text:style-name 19.874.25 and xml:id 19.914.

The <text:numbered-paragraph> element has the following child elements: <text:h> 5.1.2, <text:number> 6.1.10 and <text:p> 5.1.3.

5.3.7Numbered Paragraph Style Rules

If a list style is not specified for a numbered paragraph, the list style of the previous numbered paragraph in the same list is used. If this paragraph is the first in the list, the list style of the previous numbered paragraph in a higher list level is used. If there is no specified style available, the default style is applied. 5.3.2

If a list level style is missing in the applied list style of a numbered paragraph, the rules for styles on list items are applied. 5.3.5

5.4<text:section>

5.4.1General

The <text:section> element represents a named region of content in a document.

Sections specify formatting properties for a region of text or  text that is automatically acquired from an external data source or document, or another text section.

Sections support two ways of linking to external content. If a section is linked to another document, the link can be through one of the following:

The <text:section-source> or <office:dde-source> elements occur only in the alternative and then as the first child element of a <text:section> element.

A section that links to external content should contain a full representation of the external content that appears in the section.

Linked external content may have an arbitrary file format. Consumers may process links to external content *and the external content itself to update the content that appears in a section.

The <text:section> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.4, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:section> element has the following attributes: text:condition 19.777.7, text:display 19.796.6, text:name 19.835.14, text:protected 19.849, text:protection-key 19.850, text:protection-key-digest-algorithm 19.851, text:style-name 19.874.32 and xml:id 19.914.

The <text:section> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:dde-source> 14.6.5, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:list> 5.3.1, <text:numbered-paragraph> 5.3.6, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:section-source> 5.4.2, <text:soft-page-break> 5.6, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

5.4.2<text:section-source>

The <text:section-source> element indicates that a section is a linked section.

The <text:section-source> element is usable within the following element: <text:section> 5.4.

The <text:section-source> element has the following attributes: text:filter-name 19.802, text:section-name 19.861, xlink:href 19.910.37, xlink:show 19.911 and xlink:type 19.913.

The <text:section-source> element has no child elements.

5.5Change Tracking

5.5.1<text:tracked-changes>

The <text:tracked-changes> element acts as a container for <text:changed-region> elements that represent changes in a certain scope of an OpenDocument document. This scope is the element in which the <text:tracked-changes> element occurs. Changes in this scope shall be tracked by <text:changed-region> elements contained in the <text:tracked-changes> element in this scope.

If a <text:tracked-changes> element is absent, there are no tracked changes in the corresponding scope. In this case, all change mark elements (5.5.7) in this scope shall be ignored.

The <text:tracked-changes> element is usable within the following elements: <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10 and <style:header-left> 16.12.

The <text:tracked-changes> element has the following attribute: text:track-changes 19.883.

The <text:tracked-changes> element has the following child element: <text:changed-region> 5.5.2.

5.5.2<text:changed-region>

Each <text:changed-region> element contains a single element, one of <text:insertion>, <text:deletion>, or <text:format-change> that corresponds to a change being tracked within the scope of the <text:tracked-changes> element that contains the <text:changed-region> instance.

The xml:id attribute of the <text:changed-region> is referenced from the <text:change>, <text:change-start> and <text:change-end> elements that identify where the change applies to markup in the scope of the <text:tracked-changes> element.

A <text:changed-region> can be referenced by more than one change, but the corresponding referencing change mark elements shall be of the same change type - insertion, format change or deletion.

The <text:changed-region> element is usable within the following element: <text:tracked-changes> 5.5.1.

The <text:changed-region> element has the following attributes: text:id 19.809.5 and xml:id 19.914.

The <text:changed-region> element has the following child elements: <text:deletion> 5.5.4, <text:format-change> 5.5.5 and <text:insertion> 5.5.3.

5.5.3<text:insertion>

The <text:insertion> element contains the information that identifies the person responsible for a change and the date of that change. This information may also contain one or more <text:p> elements which contains a comment on the insertion.

The <text:insertion> element's parent <text:changed-region> element has an xml:id or text:id attribute, the value of which binds that parent element to the text:change-id attribute on the <text:change-start> and <text:change-end> elements.

The <text:insertion> element is usable within the following element: <text:changed-region> 5.5.2.

The <text:insertion> element has no attributes.

The <text:insertion> element has the following child element: <office:change-info> 5.5.6.

5.5.4<text:deletion>

The <text:deletion> element contains information that identifies the person responsible for a deletion and the date of that deletion. This information may also contain one or more <text:p> elements which contains a comment on the deletion. The <text:deletion> element may also contain content that was deleted while change tracking was enabled. The position where the text was deleted is marked by a <text:change> element.

Deleted text is contained in a paragraph element. To reconstruct the original text, the paragraph containing the deleted text is merged with its surrounding paragraph or heading element.

To reconstruct the text before a deletion took place:

The <text:deletion> element is usable within the following element: <text:changed-region> 5.5.2.

The <text:deletion> element has no attributes.

The <text:deletion> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:change-info> 5.5.6, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:list> 5.3.1, <text:numbered-paragraph> 5.3.6, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:soft-page-break> 5.6, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

5.5.5<text:format-change>

The <text:format-change> element represents any change in formatting attributes. The region where the change took place is marked by <text:change-start>, <text:change-end> or <text:change> elements.

Note: This element does not contain formatting changes that have taken place.

The <text:format-change> element is usable within the following element: <text:changed-region> 5.5.2.

The <text:format-change> element has no attributes.

The <text:format-change> element has the following child element: <office:change-info> 5.5.6.

5.5.6<office:change-info>

The <office:change-info> element represents who made a change and when. It may also contain a comment (one or more <text:p> elements) on the change.

The <office:change-info> element is usable within the following elements: <table:cell-content-change> 9.9.17, <table:deletion> 9.9.9, <table:insertion> 9.9.3, <table:movement> 9.9.13, <text:deletion> 5.5.4, <text:format-change> 5.5.5 and <text:insertion> 5.5.3.

The <office:change-info> element has no attributes.

The <office:change-info> element has the following child elements: <dc:creator> 4.3.2.7, <dc:date> 4.3.2.10 and <text:p> 5.1.3.

5.5.7Change Marks

5.5.7.1General

The change mark elements mark start, end and positions in a text where a change has occurred.

These elements use the text:change-id attribute to link to <text:changed-region> elements that contain the change information.

5.5.7.2<text:change-start>

 The <text:change-start> element marks the start of a region with content where text has been inserted or the format has been changed.

The <text:change-start> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <text:change-start> element has the following attribute: text:change-id 19.766.

The <text:change-start> element has no child elements.

5.5.7.3<text:change-end>

The <text:change-end> element marks the end of a region with content where text has been inserted or the format has been changed.

The <text:change-end> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <text:change-end> element has the following attribute: text:change-id 19.766.

The <text:change-end> element has no child elements.

5.5.7.4<text:change>

The <text:change> element marks a position in an empty region where text has been deleted.

The <text:change> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <text:change> element has the following attribute: text:change-id 19.766.

The <text:change> element has no child elements.

5.6<text:soft-page-break>

The <text:soft-page-break> element represents a soft page break within or between paragraph elements.

As a child element of a <table:table> element it represents a soft page break between two table rows. It may appear in front of a <table:table-row> element.

The <text:soft-page-break> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <table:covered-table-cell> 9.1.5, <table:table> 9.1.2, <table:table-cell> 9.1.4, <table:table-header-rows> 9.1.7, <table:table-row-group> 9.1.9, <table:table-rows> 9.1.8, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:list-header> 5.3.3, <text:list-item> 5.3.4, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <text:soft-page-break> element has no attributes.

The <text:soft-page-break> element has no child elements.

5.7Document Declarations

The following declaration elements appear before the main content element of a document:

6Paragraph Elements Content

6.1Basic Text Content

6.1.1General

The paragraph elements <text:p> and <text:h> and their descendant elements contain the text content of any document. The character content of a paragraph consists of the character data of the paragraph element and the character data of its descendant elements concatenated in document order, with the following exceptions:

 Character data contained in the following elements or their descendant elements are not included in the character content of a paragraph:

Note: This should significantly ease transformations into other formats, since transformations need not interpret most of the descendant elements of a paragraph element to obtain the character content of a paragraph.

The phrase "document order" when used with reference to an OpenDocument document instance is defined by Section 5.0 Data Model [XPath].

6.1.2White Space Characters

Consumers shall collapse white space characters that occur in

Collapsing white space characters is defined by the following algorithm:

  1. 1)The following [UNICODE] characters are replaced by a “ “ (U+0020, SPACE) character: 

    • HORIZONTAL TABULATION (U+0009) 

    • CARRIAGE RETURN (U+000D) 

    • LINE FEED (U+000A) 

  2. 2)The character data of the paragraph element and of all descendant elements for which the OpenDocument schema permits the inclusion of character data for the element itself and all its ancestor elements up to the paragraph element, is concatenated in document order. 

  3. 3)Leading “ “ (U+0020, SPACE) characters at the start of the resulting text and trailing SPACE characters at the end of the resulting text are removed. 

  4. 4)Sequences of “ “ (U+0020, SPACE) characters are replaced by a single “ “ (U+0020, SPACE) character.  

6.1.3<text:s>

The <text:s> element is used to represent the [UNICODE] character “ “ (U+0020, SPACE).

This element shall be used to represent the second and all following “ “ (U+0020, SPACE) characters in a sequence of “ “ (U+0020, SPACE) characters.

Note: It is not an error if the character preceding the element is not a white space character, but it is good practice to use this element only for the second and all following “ “ (U+0020, SPACE) characters in a sequence.

The <text:s> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:s> element has the following attribute: text:c 19.763.

The <text:s> element has no child elements.

6.1.4<text:tab>

The <text:tab> element represents the [UNICODE] tab character (HORIZONTAL TABULATION, U+0009). A <text:tab> element specifies that content immediately following it should begin at the next tab stop.

The <text:tab> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:tab> element has the following attribute: text:tab-ref 19.877.

The <text:tab> element has no child elements.

6.1.5<text:line-break>

The <text:line-break> element represents a line break.

The <text:line-break> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:line-break> element has no attributes.

The <text:line-break> element has no child elements.

6.1.6Soft Hyphens, Hyphens, and Non-breaking Spaces

Soft hyphens, hyphens, and non-breaking blanks are represented by [UNICODE] characters.

Table 8 - Unicode characters

The [UNICODE] character...

Represents...

SOFT HYPHEN (U+00AD)

soft hyphens

NON-BREAKING HYPHEN (U+2011)

non-breaking hyphens

NO-BREAK SPACE (U+00A0)

non-breaking spaces

6.1.7<text:span>

The <text:span> element represents the application of a style to the character data of a portion of text. The content of this element is the text which uses that text style.

The <text:span> element can be nested.

White space characters contained in this element are collapsed.

The <text:span> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:span> element has the following attributes: text:class-names 19.770.4 and text:style-name 19.874.33.

The <text:span> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:annotation> 14.1, <office:annotation-end> 14.2, <presentation:date-time> 10.9.3.5, <presentation:footer> 10.9.3.3, <presentation:header> 10.9.3.1, <text:a> 6.1.8, <text:alphabetical-index-mark> 8.1.10, <text:alphabetical-index-mark-end> 8.1.9, <text:alphabetical-index-mark-start> 8.1.8, <text:author-initials> 7.3.7.2, <text:author-name> 7.3.7.1, <text:bibliography-mark> 8.1.11, <text:bookmark> 6.2.1.2, <text:bookmark-end> 6.2.1.4, <text:bookmark-ref> 7.7.6, <text:bookmark-start> 6.2.1.3, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:chapter> 7.3.8, <text:character-count> 7.5.18.5, <text:conditional-text> 7.7.3, <text:creation-date> 7.5.3, <text:creation-time> 7.5.4, <text:creator> 7.5.17, <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6, <text:database-row-select> 7.6.5, <text:date> 7.3.2, <text:dde-connection> 7.7.12, <text:description> 7.5.5, <text:editing-cycles> 7.5.13, <text:editing-duration> 7.5.14, <text:execute-macro> 7.7.10, <text:expression> 7.4.14, <text:file-name> 7.3.9, <text:hidden-paragraph> 7.7.11, <text:hidden-text> 7.7.4, <text:image-count> 7.5.18.7, <text:initial-creator> 7.5.2, <text:keywords> 7.5.12, <text:line-break> 6.1.5, <text:measure> 7.7.13, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:modification-date> 7.5.16, <text:modification-time> 7.5.15, <text:note> 6.3.2, <text:note-ref> 7.7.7, <text:object-count> 7.5.18.8, <text:page-continuation> 7.3.5, <text:page-count> 7.5.18.2, <text:page-number> 7.3.4, <text:page-variable-get> 7.7.1.3, <text:page-variable-set> 7.7.1.2, <text:paragraph-count> 7.5.18.3, <text:placeholder> 7.7.2, <text:print-date> 7.5.8, <text:printed-by> 7.5.9, <text:print-time> 7.5.7, <text:reference-mark> 6.2.2.2, <text:reference-mark-end> 6.2.2.4, <text:reference-mark-start> 6.2.2.3, <text:reference-ref> 7.7.5, <text:ruby> 6.4, <text:s> 6.1.3, <text:script> 7.7.9, <text:sender-city> 7.3.6.13, <text:sender-company> 7.3.6.10, <text:sender-country> 7.3.6.15, <text:sender-email> 7.3.6.7, <text:sender-fax> 7.3.6.9, <text:sender-firstname> 7.3.6.2, <text:sender-initials> 7.3.6.4, <text:sender-lastname> 7.3.6.3, <text:sender-phone-private> 7.3.6.8, <text:sender-phone-work> 7.3.6.11, <text:sender-position> 7.3.6.6, <text:sender-postal-code> 7.3.6.14, <text:sender-state-or-province> 7.3.6.16, <text:sender-street> 7.3.6.12, <text:sender-title> 7.3.6.5, <text:sequence> 7.4.13, <text:sequence-ref> 7.7.8, <text:sheet-name> 7.3.11, <text:soft-page-break> 5.6, <text:span> 6.1.7, <text:subject> 7.5.11, <text:tab> 6.1.4, <text:table-count> 7.5.18.6, <text:table-formula> 7.7.14, <text:template-name> 7.3.10, <text:text-input> 7.4.15, <text:time> 7.3.3, <text:title> 7.5.10, <text:toc-mark> 8.1.4, <text:toc-mark-end> 8.1.3, <text:toc-mark-start> 8.1.2, <text:user-defined> 7.5.6, <text:user-field-get> 7.4.9, <text:user-field-input> 7.4.10, <text:user-index-mark> 8.1.7, <text:user-index-mark-end> 8.1.6, <text:user-index-mark-start> 8.1.5, <text:variable-get> 7.4.5, <text:variable-input> 7.4.6, <text:variable-set> 7.4.4 and <text:word-count> 7.5.18.4.

The <text:span> element has mixed content.

6.1.8<text:a>

The <text:a> element represents a hyperlink.

The anchor of a hyperlink is composed of the character data contained by the <text:a> element and any of its descendant elements which constitute the character data of the paragraph which contains the <text:a> element. 6.1.1

The <text:a> element is usable within the following elements: <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:a> element has the following attributes: office:name 19.376.9, office:target-frame-name 19.381, office:title 19.383, text:style-name 19.874.2, text:visited-style-name 19.901, xlink:actuate 19.909, xlink:href 19.910.33, xlink:show 19.911 and xlink:type 19.913.

The <text:a> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:annotation> 14.1, <office:annotation-end> 14.2, <office:event-listeners> 10.3.19, <presentation:date-time> 10.9.3.5, <presentation:footer> 10.9.3.3, <presentation:header> 10.9.3.1, <text:alphabetical-index-mark> 8.1.10, <text:alphabetical-index-mark-end> 8.1.9, <text:alphabetical-index-mark-start> 8.1.8, <text:author-initials> 7.3.7.2, <text:author-name> 7.3.7.1, <text:bibliography-mark> 8.1.11, <text:bookmark> 6.2.1.2, <text:bookmark-end> 6.2.1.4, <text:bookmark-ref> 7.7.6, <text:bookmark-start> 6.2.1.3, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:chapter> 7.3.8, <text:character-count> 7.5.18.5, <text:conditional-text> 7.7.3, <text:creation-date> 7.5.3, <text:creation-time> 7.5.4, <text:creator> 7.5.17, <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6, <text:database-row-select> 7.6.5, <text:date> 7.3.2, <text:dde-connection> 7.7.12, <text:description> 7.5.5, <text:editing-cycles> 7.5.13, <text:editing-duration> 7.5.14, <text:execute-macro> 7.7.10, <text:expression> 7.4.14, <text:file-name> 7.3.9, <text:hidden-paragraph> 7.7.11, <text:hidden-text> 7.7.4, <text:image-count> 7.5.18.7, <text:initial-creator> 7.5.2, <text:keywords> 7.5.12, <text:line-break> 6.1.5, <text:measure> 7.7.13, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:modification-date> 7.5.16, <text:modification-time> 7.5.15, <text:note> 6.3.2, <text:note-ref> 7.7.7, <text:object-count> 7.5.18.8, <text:page-continuation> 7.3.5, <text:page-count> 7.5.18.2, <text:page-number> 7.3.4, <text:page-variable-get> 7.7.1.3, <text:page-variable-set> 7.7.1.2, <text:paragraph-count> 7.5.18.3, <text:placeholder> 7.7.2, <text:print-date> 7.5.8, <text:printed-by> 7.5.9, <text:print-time> 7.5.7, <text:reference-mark> 6.2.2.2, <text:reference-mark-end> 6.2.2.4, <text:reference-mark-start> 6.2.2.3, <text:reference-ref> 7.7.5, <text:ruby> 6.4, <text:s> 6.1.3, <text:script> 7.7.9, <text:sender-city> 7.3.6.13, <text:sender-company> 7.3.6.10, <text:sender-country> 7.3.6.15, <text:sender-email> 7.3.6.7, <text:sender-fax> 7.3.6.9, <text:sender-firstname> 7.3.6.2, <text:sender-initials> 7.3.6.4, <text:sender-lastname> 7.3.6.3, <text:sender-phone-private> 7.3.6.8, <text:sender-phone-work> 7.3.6.11, <text:sender-position> 7.3.6.6, <text:sender-postal-code> 7.3.6.14, <text:sender-state-or-province> 7.3.6.16, <text:sender-street> 7.3.6.12, <text:sender-title> 7.3.6.5, <text:sequence> 7.4.13, <text:sequence-ref> 7.7.8, <text:sheet-name> 7.3.11, <text:soft-page-break> 5.6, <text:span> 6.1.7, <text:subject> 7.5.11, <text:tab> 6.1.4, <text:table-count> 7.5.18.6, <text:table-formula> 7.7.14, <text:template-name> 7.3.10, <text:text-input> 7.4.15, <text:time> 7.3.3, <text:title> 7.5.10, <text:toc-mark> 8.1.4, <text:toc-mark-end> 8.1.3, <text:toc-mark-start> 8.1.2, <text:user-defined> 7.5.6, <text:user-field-get> 7.4.9, <text:user-field-input> 7.4.10, <text:user-index-mark> 8.1.7, <text:user-index-mark-end> 8.1.6, <text:user-index-mark-start> 8.1.5, <text:variable-get> 7.4.5, <text:variable-input> 7.4.6, <text:variable-set> 7.4.4 and <text:word-count> 7.5.18.4.

The <text:a> element has mixed content.

6.1.9<text:meta>

The <text:meta> element represents portions of text that have in content metadata attached. See 19.905.

The <text:meta> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:meta> element has the following attributes: xhtml:about 19.905, xhtml:content 19.906, xhtml:datatype 19.907, xhtml:property 19.908 and xml:id 19.914.

The <text:meta> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:annotation> 14.1, <office:annotation-end> 14.2, <presentation:date-time> 10.9.3.5, <presentation:footer> 10.9.3.3, <presentation:header> 10.9.3.1, <text:a> 6.1.8, <text:alphabetical-index-mark> 8.1.10, <text:alphabetical-index-mark-end> 8.1.9, <text:alphabetical-index-mark-start> 8.1.8, <text:author-initials> 7.3.7.2, <text:author-name> 7.3.7.1, <text:bibliography-mark> 8.1.11, <text:bookmark> 6.2.1.2, <text:bookmark-end> 6.2.1.4, <text:bookmark-ref> 7.7.6, <text:bookmark-start> 6.2.1.3, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:chapter> 7.3.8, <text:character-count> 7.5.18.5, <text:conditional-text> 7.7.3, <text:creation-date> 7.5.3, <text:creation-time> 7.5.4, <text:creator> 7.5.17, <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6, <text:database-row-select> 7.6.5, <text:date> 7.3.2, <text:dde-connection> 7.7.12, <text:description> 7.5.5, <text:editing-cycles> 7.5.13, <text:editing-duration> 7.5.14, <text:execute-macro> 7.7.10, <text:expression> 7.4.14, <text:file-name> 7.3.9, <text:hidden-paragraph> 7.7.11, <text:hidden-text> 7.7.4, <text:image-count> 7.5.18.7, <text:initial-creator> 7.5.2, <text:keywords> 7.5.12, <text:line-break> 6.1.5, <text:measure> 7.7.13, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:modification-date> 7.5.16, <text:modification-time> 7.5.15, <text:note> 6.3.2, <text:note-ref> 7.7.7, <text:object-count> 7.5.18.8, <text:page-continuation> 7.3.5, <text:page-count> 7.5.18.2, <text:page-number> 7.3.4, <text:page-variable-get> 7.7.1.3, <text:page-variable-set> 7.7.1.2, <text:paragraph-count> 7.5.18.3, <text:placeholder> 7.7.2, <text:print-date> 7.5.8, <text:printed-by> 7.5.9, <text:print-time> 7.5.7, <text:reference-mark> 6.2.2.2, <text:reference-mark-end> 6.2.2.4, <text:reference-mark-start> 6.2.2.3, <text:reference-ref> 7.7.5, <text:ruby> 6.4, <text:s> 6.1.3, <text:script> 7.7.9, <text:sender-city> 7.3.6.13, <text:sender-company> 7.3.6.10, <text:sender-country> 7.3.6.15, <text:sender-email> 7.3.6.7, <text:sender-fax> 7.3.6.9, <text:sender-firstname> 7.3.6.2, <text:sender-initials> 7.3.6.4, <text:sender-lastname> 7.3.6.3, <text:sender-phone-private> 7.3.6.8, <text:sender-phone-work> 7.3.6.11, <text:sender-position> 7.3.6.6, <text:sender-postal-code> 7.3.6.14, <text:sender-state-or-province> 7.3.6.16, <text:sender-street> 7.3.6.12, <text:sender-title> 7.3.6.5, <text:sequence> 7.4.13, <text:sequence-ref> 7.7.8, <text:sheet-name> 7.3.11, <text:soft-page-break> 5.6, <text:span> 6.1.7, <text:subject> 7.5.11, <text:tab> 6.1.4, <text:table-count> 7.5.18.6, <text:table-formula> 7.7.14, <text:template-name> 7.3.10, <text:text-input> 7.4.15, <text:time> 7.3.3, <text:title> 7.5.10, <text:toc-mark> 8.1.4, <text:toc-mark-end> 8.1.3, <text:toc-mark-start> 8.1.2, <text:user-defined> 7.5.6, <text:user-field-get> 7.4.9, <text:user-field-input> 7.4.10, <text:user-index-mark> 8.1.7, <text:user-index-mark-end> 8.1.6, <text:user-index-mark-start> 8.1.5, <text:variable-get> 7.4.5, <text:variable-input> 7.4.6, <text:variable-set> 7.4.4 and <text:word-count> 7.5.18.4.

The <text:meta> element has mixed content.

6.1.10<text:number>

The <text:number> element contains the text of a formatted number which is present when a list style is applied to an element whose corresponding list level style specifies that the list label is a number. This text may be used by consumers that do not support the automatic generation of numbering but should be ignored by consumers that do support it.

This element has no attributes.

The <text:number> element is usable within the following elements: <text:h> 5.1.2, <text:list-header> 5.3.3, <text:list-item> 5.3.4 and <text:numbered-paragraph> 5.3.6.

The <text:number> element has no attributes.

The <text:number> element has no child elements.

The <text:number> element has content of data type string 18.2.

6.2Bookmarks and References

6.2.1Bookmarks

6.2.1.1General

Bookmarks can either mark a text position or a text range. A text position is a position inside the text content of a document. A text range starts at any text position and ends at another text position.

Bookmarks which mark a text range support overlapping references.

6.2.1.2<text:bookmark>

The <text:bookmark> element marks a text position.

The <text:bookmark> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:bookmark> element has the following attributes: text:name 19.835.4 and xml:id 19.914.

The <text:bookmark> element has no child elements.

6.2.1.3<text:bookmark-start>

The <text:bookmark-start> element marks the start position of a bookmark in a text range.

For every <text:bookmark-start> element, there shall be a <text:bookmark-end> element in the same document using the same value for the text:name attribute. Every <text:bookmark-start> element shall precede the <text:bookmark-end> element with the same value for its text:name attribute.

The <text:bookmark-start> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:bookmark-start> element has the following attributes: text:name 19.835.6, xhtml:about 19.905, xhtml:content 19.906, xhtml:datatype 19.907, xhtml:property 19.908 and xml:id 19.914.

The <text:bookmark-start> element has no child elements.

6.2.1.4<text:bookmark-end>

The <text:bookmark-end> element marks the end position of a bookmark in a text range.

For every <text:bookmark-end> element, there shall be a preceding <text:bookmark-start> element in the same document using the same value for the text:name attribute.

The <text:bookmark-end> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:bookmark-end> element has the following attribute: text:name 19.835.5.

The <text:bookmark-end> element has no child elements.

6.2.2References

6.2.2.1General

There are two types of reference marks:

Every reference is identified by the value of its text:name attribute, which shall be unique. In a range reference, the start and end elements shall use the same attribute value.

Range references support overlapping references.

6.2.2.2<text:reference-mark>

The <text:reference-mark> element represents a point reference.

The <text:reference-mark> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:reference-mark> element has the following attribute: text:name 19.835.11.

The <text:reference-mark> element has no child elements.

6.2.2.3<text:reference-mark-start>

The <text:reference-mark-start> element represent the start of a range reference.

The <text:reference-mark-start> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:reference-mark-start> element has the following attribute: text:name 19.835.13.

The <text:reference-mark-start> element has no child elements.

6.2.2.4<text:reference-mark-end>

The <text:reference-mark-end> element represent the end of a range reference.

The <text:reference-mark-end> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:reference-mark-end> element has the following attribute: text:name 19.835.12.

The <text:reference-mark-end> element has no child elements.

6.3Notes

6.3.1General

Notes consist of a <text:note> element which occurs in the text stream at the position to which the note is anchored. The numbering and rendering of notes is specified by a <text:notes-configuration> element, which occurs inside an <office:styles> element.

6.3.2<text:note>

The <text:note> element represents text notes which are attached to a text position.

The <text:note> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:note> element has the following attributes: text:id 19.809.7 and text:note-class 19.837.

The <text:note> element has the following child elements: <text:note-body> 6.3.4 and <text:note-citation> 6.3.3.

6.3.3<text:note-citation>

The <text:note-citation> element contains a citation, either as a formatted number or a string.

The <text:note-citation> element is usable within the following element: <text:note> 6.3.2.

The <text:note-citation> element has the following attribute: text:label 19.826.

The <text:note-citation> element has no child elements.

The <text:note-citation> element has character data content.

6.3.4<text:note-body>

The <text:note-body> element contains the content of a note. It does not have any attributes.

Note: The schema allows for the inclusion of notes into the note body. While this may be reasonable for note types, it is not reasonable for footnotes and endnotes. Conforming consumers need not support notes inside notes.

The <text:note-body> element is usable within the following element: <text:note> 6.3.2.

The <text:note-body> element has no attributes.

The <text:note-body> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:list> 5.3.1, <text:numbered-paragraph> 5.3.6, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:soft-page-break> 5.6, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

6.4<text:ruby>

6.4.1General

A ruby is additional text that is displayed above or below a base text. The purpose of a ruby is to annotate a base text or provide information about its pronunciation.

The <text:ruby> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:ruby> element has the following attribute: text:style-name 19.874.30.

The <text:ruby> element has the following child elements: <text:ruby-base> 6.4.2 and <text:ruby-text> 6.4.3.

6.4.2<text:ruby-base>

The <text:ruby-base> element contains the text that is to be annotated. It contains any paragraph element content, like text spans. The element's text:style-name attribute references a ruby style that specifies formatting attributes of the ruby.

The <text:ruby-base> element is usable within the following element: <text:ruby> 6.4.

The <text:ruby-base> element has no attributes.

The <text:ruby-base> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:annotation> 14.1, <office:annotation-end> 14.2, <presentation:date-time> 10.9.3.5, <presentation:footer> 10.9.3.3, <presentation:header> 10.9.3.1, <text:a> 6.1.8, <text:alphabetical-index-mark> 8.1.10, <text:alphabetical-index-mark-end> 8.1.9, <text:alphabetical-index-mark-start> 8.1.8, <text:author-initials> 7.3.7.2, <text:author-name> 7.3.7.1, <text:bibliography-mark> 8.1.11, <text:bookmark> 6.2.1.2, <text:bookmark-end> 6.2.1.4, <text:bookmark-ref> 7.7.6, <text:bookmark-start> 6.2.1.3, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:chapter> 7.3.8, <text:character-count> 7.5.18.5, <text:conditional-text> 7.7.3, <text:creation-date> 7.5.3, <text:creation-time> 7.5.4, <text:creator> 7.5.17, <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6, <text:database-row-select> 7.6.5, <text:date> 7.3.2, <text:dde-connection> 7.7.12, <text:description> 7.5.5, <text:editing-cycles> 7.5.13, <text:editing-duration> 7.5.14, <text:execute-macro> 7.7.10, <text:expression> 7.4.14, <text:file-name> 7.3.9, <text:hidden-paragraph> 7.7.11, <text:hidden-text> 7.7.4, <text:image-count> 7.5.18.7, <text:initial-creator> 7.5.2, <text:keywords> 7.5.12, <text:line-break> 6.1.5, <text:measure> 7.7.13, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:modification-date> 7.5.16, <text:modification-time> 7.5.15, <text:note> 6.3.2, <text:note-ref> 7.7.7, <text:object-count> 7.5.18.8, <text:page-continuation> 7.3.5, <text:page-count> 7.5.18.2, <text:page-number> 7.3.4, <text:page-variable-get> 7.7.1.3, <text:page-variable-set> 7.7.1.2, <text:paragraph-count> 7.5.18.3, <text:placeholder> 7.7.2, <text:print-date> 7.5.8, <text:printed-by> 7.5.9, <text:print-time> 7.5.7, <text:reference-mark> 6.2.2.2, <text:reference-mark-end> 6.2.2.4, <text:reference-mark-start> 6.2.2.3, <text:reference-ref> 7.7.5, <text:ruby> 6.4, <text:s> 6.1.3, <text:script> 7.7.9, <text:sender-city> 7.3.6.13, <text:sender-company> 7.3.6.10, <text:sender-country> 7.3.6.15, <text:sender-email> 7.3.6.7, <text:sender-fax> 7.3.6.9, <text:sender-firstname> 7.3.6.2, <text:sender-initials> 7.3.6.4, <text:sender-lastname> 7.3.6.3, <text:sender-phone-private> 7.3.6.8, <text:sender-phone-work> 7.3.6.11, <text:sender-position> 7.3.6.6, <text:sender-postal-code> 7.3.6.14, <text:sender-state-or-province> 7.3.6.16, <text:sender-street> 7.3.6.12, <text:sender-title> 7.3.6.5, <text:sequence> 7.4.13, <text:sequence-ref> 7.7.8, <text:sheet-name> 7.3.11, <text:soft-page-break> 5.6, <text:span> 6.1.7, <text:subject> 7.5.11, <text:tab> 6.1.4, <text:table-count> 7.5.18.6, <text:table-formula> 7.7.14, <text:template-name> 7.3.10, <text:text-input> 7.4.15, <text:time> 7.3.3, <text:title> 7.5.10, <text:toc-mark> 8.1.4, <text:toc-mark-end> 8.1.3, <text:toc-mark-start> 8.1.2, <text:user-defined> 7.5.6, <text:user-field-get> 7.4.9, <text:user-field-input> 7.4.10, <text:user-index-mark> 8.1.7, <text:user-index-mark-end> 8.1.6, <text:user-index-mark-start> 8.1.5, <text:variable-get> 7.4.5, <text:variable-input> 7.4.6, <text:variable-set> 7.4.4 and <text:word-count> 7.5.18.4.

The <text:ruby-base> element has mixed content.

6.4.3<text:ruby-text>

The <text:ruby-text> element contains an annotation text. It may contain only plain text. The element's text:style-name attribute references a text style that specifies further formatting attributes used for the annotation text.

The <text:ruby-text> element is usable within the following element: <text:ruby> 6.4.

The <text:ruby-text> element has the following attribute: text:style-name 19.874.31.

The <text:ruby-text> element has no child elements.

The <text:ruby-text> element has character data content.

7Text Fields

7.1General

OpenDocument text documents or OpenDocument text content embedded in other types of documents may contain variable text elements called fields. Fields are commonly used for:

7.2Common Characteristics of Field Elements

Each field type is represented by a corresponding element type. The content of an element is a textual representation of the current field value as it would be displayed or printed.

The value of a field is stored in an attribute. Storage of the value enables recalculation of the presentation of a field.

Note: For string values, if a value is identical to a presentation, the value attribute can be omitted to avoid duplicate storage of information.

The presentation of information in a field is determined by the style applied to the field.

7.3Document Fields

7.3.1General

OpenDocument fields display information about the current document or about a specific part of the current document.,

7.3.2<text:date>

The <text:date> element displays a date, by default this is the current date. The date can be adjusted to display a date other than the current date.

The <text:date> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:date> element has the following attributes: style:data-style-name 19.469.7, text:date-adjust 19.792, text:date-value 19.793 and text:fixed 19.803.

The <text:date> element has no child elements.

The <text:date> element has character data content.

7.3.3<text:time>

The <text:time> element displays a time, by default this is the current time.

The <text:time> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:time> element has the following attributes: style:data-style-name 19.469.16, text:fixed 19.803, text:time-adjust 19.880 and text:time-value 19.881.

The <text:time> element has no child elements.

The <text:time> element has character data content.

7.3.4<text:page-number>

The <text:page-number> element displays the current page number.

If a number style is not specified for page numbers, the default is the number style of the current page style.

Note: The <text:page-count> element displays the total number of pages in a document. 7.5.18.2

The <text:page-number> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:page-number> element has the following attributes: style:num-format 19.500, style:num-letter-sync 19.501, text:fixed 19.803, text:page-adjust 19.845.2 and text:select-page 19.863.3.

The <text:page-number> element has no child elements.

The <text:page-number> element has character data content.

7.3.5<text:page-continuation>

The <text:page-continuation> element displays a continuation reminder printed at the bottom of the page in addition to the page number.

The <text:page-continuation> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:page-continuation> element has the following attributes: text:select-page 19.863.2 and text:string-value 19.871.4.

The <text:page-continuation> element has no child elements.

The <text:page-continuation> element has character data content.

7.3.6Subsequent Author Fields

7.3.6.1General

Subsequent author fields capture information about second and following authors for a document.

Note: In OpenDocument 1.0/1.1, these fields were referenced as “sender” fields and that terminology still appears in the names of these elements.

If a subsequent author field is marked fixed using the text:fixed attribute, the original information in that field is preserved. 19.803 Otherwise, the information is updated each time the file is edited.

7.3.6.2<text:sender-firstname>

The <text:sender-firstname> element represents the first name of a subsequent author.

The <text:sender-firstname> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-firstname> element has the following attribute: text:fixed 19.803.

The <text:sender-firstname> element has no child elements.

The <text:sender-firstname> element has character data content.

7.3.6.3<text:sender-lastname>

The <text:sender-lastname> element represents the last name of a subsequent author.

The <text:sender-lastname> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-lastname> element has the following attribute: text:fixed 19.803.

The <text:sender-lastname> element has no child elements.

The <text:sender-lastname> element has character data content.

7.3.6.4<text:sender-initials>

The <text:sender-initials> element represents the initials of a subsequent author.

The <text:sender-initials> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-initials> element has the following attribute: text:fixed 19.803.

The <text:sender-initials> element has no child elements.

The <text:sender-initials> element has character data content.

7.3.6.5<text:sender-title>

The <text:sender-title> element represents the title of a subsequent author.

The <text:sender-title> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-title> element has the following attribute: text:fixed 19.803.

The <text:sender-title> element has no child elements.

The <text:sender-title> element has character data content.

7.3.6.6<text:sender-position>

The <text:sender-position> element represents the position of a subsequent author.

The <text:sender-position> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-position> element has the following attribute: text:fixed 19.803.

The <text:sender-position> element has no child elements.

The <text:sender-position> element has character data content.

7.3.6.7<text:sender-email>

The <text:sender-email> element represents the email address of a subsequent author.

The <text:sender-email> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-email> element has the following attribute: text:fixed 19.803.

The <text:sender-email> element has no child elements.

The <text:sender-email> element has character data content.

7.3.6.8<text:sender-phone-private>

The <text:sender-phone-private> element represents the private telephone number of a subsequent author.

The <text:sender-phone-private> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-phone-private> element has the following attribute: text:fixed 19.803.

The <text:sender-phone-private> element has no child elements.

The <text:sender-phone-private> element has character data content.

7.3.6.9<text:sender-fax>

The <text:sender-fax> element represents the facsimile number of a subsequent author.

The <text:sender-fax> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-fax> element has the following attribute: text:fixed 19.803.

The <text:sender-fax> element has no child elements.

The <text:sender-fax> element has character data content.

7.3.6.10<text:sender-company>

The <text:sender-company> element represents the name of the company that employs a subsequent author.

The <text:sender-company> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-company> element has the following attribute: text:fixed 19.803.

The <text:sender-company> element has no child elements.

The <text:sender-company> element has character data content.

7.3.6.11<text:sender-phone-work>

The <text:sender-phone-work> element represents the office telephone number of a subsequent author.

The <text:sender-phone-work> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-phone-work> element has the following attribute: text:fixed 19.803.

The <text:sender-phone-work> element has no child elements.

The <text:sender-phone-work> element has character data content.

7.3.6.12<text:sender-street>

The <text:sender-street> element represents the street address of a subsequent author.

The <text:sender-street> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-street> element has the following attribute: text:fixed 19.803.

The <text:sender-street> element has no child elements.

The <text:sender-street> element has character data content.

7.3.6.13<text:sender-city>

The <text:sender-city> element represents the city name of the address of a subsequent author.

The <text:sender-city> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-city> element has the following attribute: text:fixed 19.803.

The <text:sender-city> element has no child elements.

The <text:sender-city> element has character data content.

7.3.6.14<text:sender-postal-code>

The <text:sender-postal-code> element represents the postal code of the address of a subsequent author.

The <text:sender-postal-code> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-postal-code> element has the following attribute: text:fixed 19.803.

The <text:sender-postal-code> element has no child elements.

The <text:sender-postal-code> element has character data content.

7.3.6.15<text:sender-country>

The <text:sender-country> element represents the country name of the address of a subsequent author.

The <text:sender-country> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-country> element has the following attribute: text:fixed 19.803.

The <text:sender-country> element has no child elements.

The <text:sender-country> element has character data content.

7.3.6.16<text:sender-state-or-province>

The <text:sender-state-or-province> element represents the state or province name of the address of a subsequent author, if applicable.

The <text:sender-state-or-province> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-state-or-province> element has the following attribute: text:fixed 19.803.

The <text:sender-state-or-province> element has no child elements.

The <text:sender-state-or-province> element has character data content.

7.3.7Author Fields

7.3.7.1<text:author-name>

The <text:author-name> element represents the full name of the author of a document.

The <text:author-name> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:author-name> element has the following attribute: text:fixed 19.803.

The <text:author-name> element has no child elements.

The <text:author-name> element has character data content.

7.3.7.2<text:author-initials>

The <text:author-initials> element represents the initials of the author of a document.

The <text:author-initials> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:author-initials> element has the following attribute: text:fixed 19.803.

The <text:author-initials> element has no child elements.

The <text:author-initials> element has character data content.

7.3.8<text:chapter>

The <text:chapter> element represents a field that displays one of the following:

If this element is placed inside a header or footer, it displays the current chapter name or number on every page.

The <text:chapter> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:chapter> element has the following attributes: text:display 19.796.2 and text:outline-level 19.844.3.

The <text:chapter> element has no child elements.

The <text:chapter> element has character data content.

7.3.9<text:file-name>

The <text:file-name> element represents a field that displays the name of a file that is being edited.

The <text:file-name> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:file-name> element has the following attributes: text:display 19.796.4 and text:fixed 19.803.

The <text:file-name> element has no child elements.

The <text:file-name> element has character data content.

7.3.10<text:template-name>

The <text:template-name> element represents a field that displays information about the document template in use.

The <text:template-name> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:template-name> element has the following attribute: text:display 19.796.8.

The <text:template-name> element has no child elements.

The <text:template-name> element has character data content.

7.3.11<text:sheet-name>

The <text:sheet-name> element displays represents the name of a sheet that is currently being edited in a Spreadsheet document.

The <text:sheet-name> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sheet-name> element has no attributes.

The <text:sheet-name> element has no child elements.

The <text:sheet-name> element has character data content.

7.4Variable Fields

7.4.1General

OpenDocument documents can contain variables, which are processed or displayed using variable fields. In an OpenDocument file, variable declarations shall precede in document order any use of those variable declarations.

There are three types of variables:

The value of a sequence variable is initialized to 0 (zero) by its declaration.

Variables shall be declared before they can be used. The OpenDocument elements for declaring variables are described in sections 7.4.3, 7.4.8 and 7.4.12.

The display of variables is determined by styles which are specified by the element that defines the variable.

7.4.2<text:variable-decls>

The <text:variable-decls> element is a container for <text:variable-decl> elements.

The <text:variable-decls> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10 and <style:header-left> 16.12.

The <text:variable-decls> element has no attributes.

The <text:variable-decls> element has the following child element: <text:variable-decl> 7.4.3.

7.4.3<text:variable-decl>

The <text:variable-decl> element is used to declare simple variables. This element specifies the name and the value type of a variable.

The <text:variable-decl> element is usable within the following element: <text:variable-decls> 7.4.2.

The <text:variable-decl> element has the following attributes: office:value-type 19.385 and text:name 19.835.25.

The <text:variable-decl> element has no child elements.

7.4.4<text:variable-set>

The <text:variable-set> element represents a simple variable.

The <text:variable-set> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:variable-set> element has the following attributes: office:boolean-value 19.367, office:currency 19.369, office:date-value 19.370, office:string-value 19.379, office:time-value 19.382, office:value 19.384, office:value-type 19.385, style:data-style-name 19.469.22, text:display 19.796.12, text:formula 19.805 and text:name 19.835.24.

The <text:variable-set> element has no child elements.

The <text:variable-set> element has character data content.

7.4.5<text:variable-get>

The <text:variable-get> element sets the display of the value of a simple variable. The value of this element is the value of the last preceding <text:variable-set> element with an identical value for its text:name attribute.

If there is no preceding <text:variable-set> element with an identical value for its text:name attribute the value of a <text:variable-get> field is undefined.

The <text:variable-get> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:variable-get> element has the following attributes: style:data-style-name 19.469.20, text:display 19.796.10 and text:name 19.835.26.

The <text:variable-get> element has no child elements.

The <text:variable-get> element has character data content.

7.4.6<text:variable-input>

The <text:variable-input> element represents user supplied variable values. This element can be empty if its text:display attribute is set to none.

The <text:variable-input> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:variable-input> element has the following attributes: office:value-type 19.385, style:data-style-name 19.469.21, text:description 19.795, text:display 19.796.11 and text:name 19.835.27.

The <text:variable-input> element has no child elements.

The <text:variable-input> element has character data content.

7.4.7<text:user-field-decls>

The <text:user-field-decls> element is a container for <text:user-field-decl> elements.

The <text:user-field-decls> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10 and <style:header-left> 16.12.

The <text:user-field-decls> element has no attributes.

The <text:user-field-decls> element has the following child element: <text:user-field-decl> 7.4.8.

7.4.8<text:user-field-decl>

The <text:user-field-decl> element is used to specify user variable values that are displayed using the <text:user-field-get> element.

The <text:user-field-decl> element is usable within the following element: <text:user-field-decls> 7.4.7.

The <text:user-field-decl> element has the following attributes: office:boolean-value 19.367, office:currency 19.369, office:date-value 19.370, office:string-value 19.379, office:time-value 19.382, office:value 19.384, office:value-type 19.385, text:formula 19.805 and text:name 19.835.20.

The <text:user-field-decl> element has no child elements.

7.4.9<text:user-field-get>

The <text:user-field-get> element displays the content of a user variable. The value of this element is the value of a <text:user-field-decl> element with a text:name attribute value that matches the text:name attribute of this element.

The <text:user-field-get> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:user-field-get> element has the following attributes: style:data-style-name 19.469.18, text:display 19.796.9 and text:name 19.835.21.

The <text:user-field-get> element has no child elements.

The <text:user-field-get> element has character data content.

7.4.10<text:user-field-input>

The <text:user-field-input> element is an alternative method of displaying user variables. The value of this element is the value of a <text:user-field-decl> element with a text:name attribute value that matches the text:name attribute of this element.

This element can be empty if the text:display attribute is set to none.

The <text:user-field-input> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:user-field-input> element has the following attributes: style:data-style-name 19.469.19, text:description 19.795 and text:name 19.835.22.

The <text:user-field-input> element has no child elements.

The <text:user-field-input> element has character data content.

7.4.11<text:sequence-decls>

The <text:sequence-decls> element is a container for <text:sequence-decl> elements.

The <text:sequence-decls> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10 and <style:header-left> 16.12.

The <text:sequence-decls> element has no attributes.

The <text:sequence-decls> element has the following child element: <text:sequence-decl> 7.4.12.

7.4.12<text:sequence-decl>

The <text:sequence-decl> element is used to declare sequence variables used to number items within an OpenDocument text document.

Note: Sequence variables are commonly used for sequential numbering. However, expression formulas can be included in sequence fields to support more advanced sequences.

The <text:sequence-decl> element is usable within the following element: <text:sequence-decls> 7.4.11.

The <text:sequence-decl> element has the following attributes: text:display-outline-level 19.798, text:name 19.835.16 and text:separation-character 19.864.

The <text:sequence-decl> element has no child elements.

7.4.13<text:sequence>

A <text:sequence> element specifies a sequence field.

A sequence field changes the value of a sequence variable by a specified formula and displays the changed value of the sequence variable in a specified format.

Note: Sequence variables and fields are used to number repeating document elements such as pages, tables or images. In such cases, the formula could be: "sequenceVariableName + 1." A sequence variable can be set to a specific value or not changed at all.

The <text:sequence> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sequence> element has the following attributes: style:num-format 19.500, style:num-letter-sync 19.501, text:formula 19.805, text:name 19.835.15 and text:ref-name 19.853.5.

The <text:sequence> element has no child elements.

The <text:sequence> element has character data content.

7.4.14<text:expression>

The <text:expression> element represents expressions that are evaluated and the resulting value displayed.

The <text:expression> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:expression> element has the following attributes: office:boolean-value 19.367, office:currency 19.369, office:date-value 19.370, office:string-value 19.379, office:time-value 19.382, office:value 19.384, office:value-type 19.385, style:data-style-name 19.469.9, text:display 19.796.3 and text:formula 19.805.

The <text:expression> element has no child elements.

The <text:expression> element has character data content.

7.4.15<text:text-input>

The <text:text-input> element is a text input field. A text input field is used in a user interface to prompt a user to input text. This text is stored and displayed as the content of this element until it is replaced by a user.

The <text:text-input> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:text-input> element has the following attribute: text:description 19.795.

The <text:text-input> element has no child elements.

The <text:text-input> element has character data content.

7.5Metadata Fields

7.5.1General

Metadata field elements display meta information about a document.

All metadata field elements can be marked as fixed using the text:fixed attribute. 19.803

7.5.2<text:initial-creator>

The <text:initial-creator> element displays the value contained by the <meta:initial-creator> element of a document. 4.3.2.6

The <text:initial-creator> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:initial-creator> element has the following attribute: text:fixed 19.803.

The <text:initial-creator> element has no child elements.

The <text:initial-creator> element has character data content.

7.5.3<text:creation-date>

The <text:creation-date> element displays the value contained by the <meta:creation-date> element of a document. 4.3.2.9

The <text:creation-date> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:creation-date> element has the following attributes: style:data-style-name 19.469.4, text:date-value 19.793 and text:fixed 19.803.

The <text:creation-date> element has no child elements.

The <text:creation-date> element has character data content.

7.5.4<text:creation-time>

The <text:creation-time> element represents the time at which a document was created.

The <text:creation-time> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:creation-time> element has the following attributes: style:data-style-name 19.469.5, text:fixed 19.803 and text:time-value 19.881.

The <text:creation-time> element has no child elements.

The <text:creation-time> element has character data content.

7.5.5<text:description>

The <text:description> element displays the content contained by the <dc:description> element of a document. 4.3.2.3

The <text:description> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:description> element has the following attribute: text:fixed 19.803.

The <text:description> element has no child elements.

The <text:description> element has character data content.

7.5.6<text:user-defined>

The <text:user-defined> element displays the value contained by a <meta:user-defined> element of a document. 4.3.3

Note: The link between a <text:user-defined> element and a <meta:user-defined> element is established by the text:name and meta:name attributes, respectively, containing the same value.

The <text:user-defined> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:user-defined> element has the following attributes: office:boolean-value 19.367, office:date-value 19.370, office:string-value 19.379, office:time-value 19.382, office:value 19.384, style:data-style-name 19.469.17, text:fixed 19.803 and text:name 19.835.19.

The <text:user-defined> element has no child elements.

The <text:user-defined> element has character data content.

7.5.7<text:print-time>

The <text:print-time> element represents the time at which a document was last printed.

The <text:print-time> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:print-time> element has the following attributes: style:data-style-name 19.469.14, text:fixed 19.803 and text:time-value 19.881.

The <text:print-time> element has no child elements.

The <text:print-time> element has character data content.

7.5.8<text:print-date>

The <text:print-date> element displays the value contained by the <meta:print-date> element of a document. 4.3.2.11

The <text:print-date> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:print-date> element has the following attributes: style:data-style-name 19.469.13, text:date-value 19.793 and text:fixed 19.803.

The <text:print-date> element has no child elements.

The <text:print-date> element has character data content.

7.5.9<text:printed-by>

The <text:printed-by> element displays the value contained by the <meta:printed-by> element of a document. 4.3.2.8

The <text:printed-by> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:printed-by> element has the following attribute: text:fixed 19.803.

The <text:printed-by> element has no child elements.

The <text:printed-by> element has character data content.

7.5.10<text:title>

The <text:title> element displays the value contained by the <dc:title> element of a document. 4.3.2.2

The <text:title> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:title> element has the following attribute: text:fixed 19.803.

The <text:title> element has no child elements.

The <text:title> element has character data content.

7.5.11<text:subject>

The <text:subject> element displays the values contained by the <dc:subject> element of a document. 4.3.2.4

The <text:subject> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:subject> element has the following attribute: text:fixed 19.803.

The <text:subject> element has no child elements.

The <text:subject> element has character data content.

7.5.12<text:keywords>

The <text:keywords> element displays a list of keywords contained in the <meta:keyword> elements of a document.

The format of a list of keywords is implementation-dependent.

The <text:keywords> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:keywords> element has the following attribute: text:fixed 19.803.

The <text:keywords> element has no child elements.

The <text:keywords> element has character data content.

7.5.13<text:editing-cycles>

The <text:editing-cycles> element displays the value contained by the <meta:editing-cycles> element of a document. 4.3.2.16

The <text:editing-cycles> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:editing-cycles> element has the following attribute: text:fixed 19.803.

The <text:editing-cycles> element has no child elements.

The <text:editing-cycles> element has character data content.

7.5.14<text:editing-duration>

The <text:editing-duration> element displays the value contained by the <meta:editing-duration> element of a document.

The <text:editing-duration> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:editing-duration> element has the following attributes: style:data-style-name 19.469.8, text:duration 19.799 and text:fixed 19.803.

The <text:editing-duration> element has no child elements.

The <text:editing-duration> element has character data content.

7.5.15<text:modification-time>

The <text:modification-time> element represents the time at which a document was last modified.

This element displays the time information portion of the value of the <dc:date> element.

The <text:modification-time> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:modification-time> element has the following attributes: style:data-style-name 19.469.12, text:fixed 19.803 and text:time-value 19.881.

The <text:modification-time> element has no child elements.

The <text:modification-time> element has character data content.

7.5.16<text:modification-date>

The <text:modification-date> element displays the value contained by the <dc:date> element of a document. 4.3.2.10

The <text:modification-date> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:modification-date> element has the following attributes: style:data-style-name 19.469.11, text:date-value 19.793 and text:fixed 19.803.

The <text:modification-date> element has no child elements.

The <text:modification-date> element has character data content.

7.5.17<text:creator>

The <text:creator> element displays the value contained by the <dc:creator> element of a document. 4.3.2.7

The <text:creator> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:creator> element has the following attribute: text:fixed 19.803.

The <text:creator> element has no child elements.

The <text:creator> element has character data content.

7.5.18Document Statistics Fields

7.5.18.1General

The contents of <text:word-count> and <text:character-count> elements are locale specific and are not defined by OpenDocument.

7.5.18.2<text:page-count>

The <text:page-count> element displays the value of the meta:page-count attribute of the <meta:document-statistic> element of a document. 19.332

The <text:page-count> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:page-count> element has the following attributes: style:num-format 19.500 and style:num-letter-sync 19.501.

The <text:page-count> element has no child elements.

The <text:page-count> element has character data content.

7.5.18.3<text:paragraph-count>

The <text:paragraph-count> element displays the value of the meta:paragraph-count attribute of the <meta:document-statistic> element of a document. 19.333

The <text:paragraph-count> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:paragraph-count> element has the following attributes: style:num-format 19.500 and style:num-letter-sync 19.501.

The <text:paragraph-count> element has no child elements.

The <text:paragraph-count> element has character data content.

7.5.18.4<text:word-count>

The <text:word-count> element displays the value of the meta:word-count attribute of the <meta:document-statistic> element of a document. 19.339

The <text:word-count> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:word-count> element has the following attributes: style:num-format 19.500 and style:num-letter-sync 19.501.

The <text:word-count> element has no child elements.

The <text:word-count> element has character data content.

7.5.18.5<text:character-count>

The <text:character-count> element displays the value of the meta:character-count attribute of the <meta:document-statistic> element of a document. 19.322

The <text:character-count> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:character-count> element has the following attributes: style:num-format 19.500 and style:num-letter-sync 19.501.

The <text:character-count> element has no child elements.

The <text:character-count> element has character data content.

7.5.18.6<text:table-count>

The <text:table-count> element displays the value of the meta:table-count attribute of the <meta:document-statistic> element of a document. 19.337

The <text:table-count> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:table-count> element has the following attributes: style:num-format 19.500 and style:num-letter-sync 19.501.

The <text:table-count> element has no child elements.

The <text:table-count> element has character data content.

7.5.18.7<text:image-count>

The <text:image-count> element displays the value of the meta:image-count attribute of the <meta:document-statistic> element of a document. 19.327

The <text:image-count> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:image-count> element has the following attributes: style:num-format 19.500 and style:num-letter-sync 19.501.

The <text:image-count> element has no child elements.

The <text:image-count> element has character data content.

7.5.18.8<text:object-count>

The <text:object-count> element displays the value of the meta:object-count attribute of the <meta:document-statistic> element of a document. 19.330

The <text:object-count> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:object-count> element has the following attributes: style:num-format 19.500 and style:num-letter-sync 19.501.

The <text:object-count> element has no child elements.

The <text:object-count> element has character data content.

7.5.19<text:meta-field>

 

The <text:meta-field> element represents content from a metadata source. The mixed content of this element should be generated from the metadata source. The source of the metadata and the means of generation of the mixed content is implementation-dependent. The <text:meta-field> element may contain any paragraph content.

Note: Alterations of the element's mixed content may be lost if the mixed content is subsequently refreshed from a metadata source.

The <text:meta-field> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:meta-field> element has the following attributes: style:data-style-name 19.469.10 and xml:id 19.914.

The <text:meta-field> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:annotation> 14.1, <office:annotation-end> 14.2, <presentation:date-time> 10.9.3.5, <presentation:footer> 10.9.3.3, <presentation:header> 10.9.3.1, <text:a> 6.1.8, <text:alphabetical-index-mark> 8.1.10, <text:alphabetical-index-mark-end> 8.1.9, <text:alphabetical-index-mark-start> 8.1.8, <text:author-initials> 7.3.7.2, <text:author-name> 7.3.7.1, <text:bibliography-mark> 8.1.11, <text:bookmark> 6.2.1.2, <text:bookmark-end> 6.2.1.4, <text:bookmark-ref> 7.7.6, <text:bookmark-start> 6.2.1.3, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:chapter> 7.3.8, <text:character-count> 7.5.18.5, <text:conditional-text> 7.7.3, <text:creation-date> 7.5.3, <text:creation-time> 7.5.4, <text:creator> 7.5.17, <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6, <text:database-row-select> 7.6.5, <text:date> 7.3.2, <text:dde-connection> 7.7.12, <text:description> 7.5.5, <text:editing-cycles> 7.5.13, <text:editing-duration> 7.5.14, <text:execute-macro> 7.7.10, <text:expression> 7.4.14, <text:file-name> 7.3.9, <text:hidden-paragraph> 7.7.11, <text:hidden-text> 7.7.4, <text:image-count> 7.5.18.7, <text:initial-creator> 7.5.2, <text:keywords> 7.5.12, <text:line-break> 6.1.5, <text:measure> 7.7.13, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:modification-date> 7.5.16, <text:modification-time> 7.5.15, <text:note> 6.3.2, <text:note-ref> 7.7.7, <text:object-count> 7.5.18.8, <text:page-continuation> 7.3.5, <text:page-count> 7.5.18.2, <text:page-number> 7.3.4, <text:page-variable-get> 7.7.1.3, <text:page-variable-set> 7.7.1.2, <text:paragraph-count> 7.5.18.3, <text:placeholder> 7.7.2, <text:print-date> 7.5.8, <text:printed-by> 7.5.9, <text:print-time> 7.5.7, <text:reference-mark> 6.2.2.2, <text:reference-mark-end> 6.2.2.4, <text:reference-mark-start> 6.2.2.3, <text:reference-ref> 7.7.5, <text:ruby> 6.4, <text:s> 6.1.3, <text:script> 7.7.9, <text:sender-city> 7.3.6.13, <text:sender-company> 7.3.6.10, <text:sender-country> 7.3.6.15, <text:sender-email> 7.3.6.7, <text:sender-fax> 7.3.6.9, <text:sender-firstname> 7.3.6.2, <text:sender-initials> 7.3.6.4, <text:sender-lastname> 7.3.6.3, <text:sender-phone-private> 7.3.6.8, <text:sender-phone-work> 7.3.6.11, <text:sender-position> 7.3.6.6, <text:sender-postal-code> 7.3.6.14, <text:sender-state-or-province> 7.3.6.16, <text:sender-street> 7.3.6.12, <text:sender-title> 7.3.6.5, <text:sequence> 7.4.13, <text:sequence-ref> 7.7.8, <text:sheet-name> 7.3.11, <text:soft-page-break> 5.6, <text:span> 6.1.7, <text:subject> 7.5.11, <text:tab> 6.1.4, <text:table-count> 7.5.18.6, <text:table-formula> 7.7.14, <text:template-name> 7.3.10, <text:text-input> 7.4.15, <text:time> 7.3.3, <text:title> 7.5.10, <text:toc-mark> 8.1.4, <text:toc-mark-end> 8.1.3, <text:toc-mark-start> 8.1.2, <text:user-defined> 7.5.6, <text:user-field-get> 7.4.9, <text:user-field-input> 7.4.10, <text:user-index-mark> 8.1.7, <text:user-index-mark-end> 8.1.6, <text:user-index-mark-start> 8.1.5, <text:variable-get> 7.4.5, <text:variable-input> 7.4.6, <text:variable-set> 7.4.4 and <text:word-count> 7.5.18.4.

The <text:meta-field> element has mixed content.

7.6Database Fields

7.6.1General

Documents can reference databases and display database information as text content. To display database information, the OpenDocument schema uses a group of text fields, collectively called database fields. Consumers may use database tables from SQL servers, therefore database fields can be used to access any SQL database, provided that the appropriate drivers are available.

A database may contain the following components:

Database fields operate on a set of database rows, the so called current selection, which is either a database table, or the result of a database query. The current selection is determined by the data source information that is contained in database fields. The current selection is retrieved once per document and data source, regardless of the number of database fields that are associated with a data source.

Database fields display data contained in a particular database row within the current selection. The row within the current selection is controlled by database fields and is known as the current row.

7.6.2<form:connection-resource>

The <form:connection-resource> element specifies a source database.

The <form:connection-resource> element is usable within the following elements: <form:form> 13.3, <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6 and <text:database-row-select> 7.6.5.

The <form:connection-resource> element has the following attribute: xlink:href 19.910.20.

The <form:connection-resource> element has no child elements.

7.6.3<text:database-display>

The <text:database-display> element represents data from the current database row.

The <text:database-display> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:database-display> element has the following attributes: style:data-style-name 19.469.6, text:column-name 19.771, text:database-name 19.791, text:table-name 19.878 and text:table-type 19.879.

The <text:database-display> element has the following child element: <form:connection-resource> 7.6.2.

The <text:database-display> element has character data content.

7.6.4<text:database-next>

The <text:database-next> element selects the database row following the one currently displayed in a <text:database-display> field.

The <text:database-next> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:database-next> element has the following attributes: text:condition 19.777.3, text:database-name 19.791, text:table-name 19.878 and text:table-type 19.879.

The <text:database-next> element has the following child element: <form:connection-resource> 7.6.2.

7.6.5<text:database-row-select>

The <text:database-row-select> element selects a specific row from a current selection.

The <text:database-row-select> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:database-row-select> element has the following attributes: text:condition 19.777.4, text:database-name 19.791, text:row-number 19.859, text:table-name 19.878 and text:table-type 19.879.

The <text:database-row-select> element has the following child element: <form:connection-resource> 7.6.2.

7.6.6<text:database-row-number>

The <text:database-row-number> element displays the current row number for a given table. The element displays the row number from a database and not the row number of a current selection that is used as an attribute value in the <text:database-row-select> element.

The <text:database-row-number> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:database-row-number> element has the following attributes: style:num-format 19.500, style:num-letter-sync 19.501, text:database-name 19.791, text:table-name 19.878, text:table-type 19.879 and text:value 19.900.

The <text:database-row-number> element has the following child element: <form:connection-resource> 7.6.2.

The <text:database-row-number> element has character data content.

7.6.7<text:database-name>

The <text:database-name> element displays the database and table name of the last used table.

The <text:database-name> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:database-name> element has the following attributes: text:database-name 19.791, text:table-name 19.878 and text:table-type 19.879.

The <text:database-name> element has the following child element: <form:connection-resource> 7.6.2.

The <text:database-name> element has character data content.

7.7More Fields

7.7.1Page Variable Fields

7.7.1.1General

Page variables enable an alternative page numbering to be defined for documents. There is only one page variable, and it is set by any set page variable field in the document. The calculation of a page variable is controlled by the text:active attribute

7.7.1.2<text:page-variable-set>

The <text:page-variable-set> element is used to set a page variable.

The <text:page-variable-set> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:page-variable-set> element has the following attributes: text:active 19.750 and text:page-adjust 19.845.3.

The <text:page-variable-set> element has no child elements.

The <text:page-variable-set> element has character data content.

7.7.1.3<text:page-variable-get>

The <text:page-variable-get> element displays the value of a page variable.

If the text:active attribute 19.750, has the value of false, the <text:page-variable-get> element will have no display for that page.

The <text:page-variable-get> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:page-variable-get> element has the following attributes: style:num-format 19.500 and style:num-letter-sync 19.501.

The <text:page-variable-get> element has no child elements.

The <text:page-variable-get> element has character data content.

7.7.2<text:placeholder>

The <text:placeholder> element is a placeholder  for replacement by content of a particular type as specified in the mandatory text:placeholder-type attribute.

OpenDocument Consumers that support the <text:placeholder> element shall use the text:description attribute value in presenting the placeholder with its text content and in a manner that indicates it is for replacement by content of the specified type.

The <text:placeholder> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:placeholder> element has the following attributes: text:description 19.795 and text:placeholder-type 19.847.

The <text:placeholder> element has no child elements.

The <text:placeholder> element has character data content.

7.7.3<text:conditional-text>

The <text:conditional-text> element specifies a condition for display of one text string or another. If the condition is true, one of the text strings is displayed. If the condition is false, the other text string is displayed.

The <text:conditional-text> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:conditional-text> element has the following attributes: text:condition 19.777.2, text:current-value 19.785, text:string-value-if-false 19.872 and text:string-value-if-true 19.873.

The <text:conditional-text> element has no child elements.

The <text:conditional-text> element has character data content.

7.7.4<text:hidden-text>

The <text:hidden-text> element hides the text it contains when a specified condition is true. If its text:condition attribute is missing or evaluates to false, the text content is displayed.

The <text:hidden-text> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:hidden-text> element has the following attributes: text:condition 19.777.6, text:is-hidden 19.815 and text:string-value 19.871.3.

The <text:hidden-text> element has no child elements.

The <text:hidden-text> element has character data content.

7.7.5<text:reference-ref>

The <text:reference-ref> element represents a field that references a <text:reference-mark-start> or <text:reference-mark> element. Its text:reference-format attribute specifies what is displayed from the referenced element.

The <text:reference-ref> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:reference-ref> element has the following attributes: text:reference-format 19.854 and text:ref-name 19.853.4.

The <text:reference-ref> element has no child elements.

The <text:reference-ref> element has character data content.

7.7.6<text:bookmark-ref>

The <text:bookmark-ref> element represents a field that references a <text:bookmark-start> or <text:bookmark> element. Its text:reference-format attribute specifies what is displayed from the referenced element.

The <text:bookmark-ref> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:bookmark-ref> element has the following attributes: text:reference-format 19.854 and text:ref-name 19.853.2.

The <text:bookmark-ref> element has no child elements.

The <text:bookmark-ref> element has character data content.

7.7.7<text:note-ref>

The <text:note-ref> element represents a field that references a <text:note> element. Its text:reference-format attribute specifies what is displayed from the referenced element.

The <text:note-ref> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:note-ref> element has the following attributes: text:note-class 19.837, text:reference-format 19.854 and text:ref-name 19.853.3.

The <text:note-ref> element has no child elements.

The <text:note-ref> element has character data content.

7.7.8<text:sequence-ref>

The <text:sequence-ref> element represents a field that references a <text:sequence> element. Its text:reference-format attribute specifies what is displayed from the referenced element.

The <text:sequence-ref> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sequence-ref> element has the following attributes: text:reference-format 19.854 and text:ref-name 19.853.6.

The <text:sequence-ref> element has no child elements.

The <text:sequence-ref> element has character data content.

7.7.9<text:script>

The <text:script> element represents a field that stores scripts or sections of scripts.

Note: The primary purpose of this field is to provide an equivalent to the <script> element in [HTML4], so that the content of a <script> element in HTML can be imported, edited, and exported using office application software.

The source code for the script can be stored in one of the following ways:

  • The <text:script> element contains the source code. 

  • The source code is stored in an external file. The xlink:href attribute specifies the location of the source file. 

The element shall have either an xlink:href attribute or content, but not both.

The <text:script> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:script> element has the following attributes: script:language 19.430, xlink:href 19.910.36 and xlink:type 19.913.

The <text:script> element has no child elements.

The <text:script> element has character data content. Character data content is only permitted if a xlink:href attribute is not present.

7.7.10<text:execute-macro>

The <text:execute-macro> element represents a field that contains the name of a macro that is executed when the field is activated. The element may contain a text description of the macro. The name of the macro to be executed is specified by the text:name attribute.

The <text:execute-macro> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:execute-macro> element has the following attribute: text:name 19.835.7.

The <text:execute-macro> element has the following child element: <office:event-listeners> 10.3.19.

The <text:execute-macro> element has character data content.

7.7.11<text:hidden-paragraph>

The <text:hidden-paragraph> element is a field that represents a condition. If the condition evaluates to false, the paragraph where this element appears is displayed unless the paragraph is enclosed in any other hiding element. If the condition evaluates to true, the paragraph is hidden unless the paragraph contains another <text:hidden-paragraph> element whose condition evaluates to false.

The <text:hidden-paragraph> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:hidden-paragraph> element has the following attributes: text:condition 19.777.5 and text:is-hidden 19.815.

The <text:hidden-paragraph> element has no child elements.

The <text:hidden-paragraph> element has character data content.

7.7.12<text:dde-connection>

The <text:dde-connection> element represents a field that is information from a DDE connection. The content of this field is the last data that was received from a DDE connection. This is used as the content of this field if the DDE connection cannot be accessed.

See 14.6 for the use of DDE connections.

The <text:dde-connection> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:dde-connection> element has the following attribute: text:connection-name 19.778.

The <text:dde-connection> element has no child elements.

The <text:dde-connection> element has character data content.

7.7.13<text:measure>

The <text:measure> element represents a field that displays measure text. It can only be used within text that is contained in measure drawing objects.

The <text:measure> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:measure> element has the following attribute: text:kind 19.825.

The <text:measure> element has no child elements.

The <text:measure> element has character data content.

7.7.14<text:table-formula> (deprecated)

The <text:table-formula> element field is deprecated. It stores a formula to be used in tables.

The <text:table-formula> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:table-formula> element has the following attributes: style:data-style-name 19.469.15, text:display 19.796.7 and text:formula 19.805.

The <text:table-formula> element has no child elements.

The <text:table-formula> element has character data content.

8Text Indexes

8.1Index Marks

8.1.1General

OpenDocument text documents may contain automatically generated indexes. An index contains a sorted list of items of a specified type, where the sorting and the type of items are determined by the type of index.

There are three types of index marks that correspond to the three types of index that make use of index marks. The three types of index marks are:

The rules for index marks are:

8.1.2<text:toc-mark-start>

The <text:toc-mark-start> element marks the start of a table of contents index entry.

The <text:toc-mark-start> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:toc-mark-start> element has the following attributes: text:id 19.809.10 and text:outline-level 19.844.11.

The <text:toc-mark-start> element has no child elements.

8.1.3<text:toc-mark-end>

The <text:toc-mark-end> element marks the end of a table of contents index entry.

The <text:toc-mark-end> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:toc-mark-end> element has the following attribute: text:id 19.809.9.

The <text:toc-mark-end> element has no child elements.

8.1.4<text:toc-mark>

The <text:toc-mark> element represents a table of content index mark that does not enclose content.

The <text:toc-mark> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:toc-mark> element has the following attributes: text:outline-level 19.844.10 and text:string-value 19.871.5.

The <text:toc-mark> element has no child elements.

8.1.5<text:user-index-mark-start>

The <text:user-index-mark-start> element marks the start of a user-defined index entry.

The <text:user-index-mark-start> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:user-index-mark-start> element has the following attributes: text:id 19.809.12, text:index-name 19.811 and text:outline-level 19.844.13.

The <text:user-index-mark-start> element has no child elements.

8.1.6<text:user-index-mark-end>

The <text:user-index-mark-end> element marks the end of the user-defined index entry.

The <text:user-index-mark-end> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:user-index-mark-end> element has the following attribute: text:id 19.809.11.

The <text:user-index-mark-end> element has no child elements.

8.1.7<text:user-index-mark>

The <text:user-index-mark> element represents a user defined index mark that does not enclose content.

The <text:user-index-mark> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:user-index-mark> element has the following attributes: text:index-name 19.811, text:outline-level 19.844.7 and text:string-value 19.871.6.

The <text:user-index-mark> element has no child elements.

8.1.8<text:alphabetical-index-mark-start>

The <text:alphabetical-index-mark-start> element marks the start of an alphabetical index entry.

The <text:alphabetical-index-mark-start> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:alphabetical-index-mark-start> element has the following attributes: text:id 19.809.4, text:key1 19.821, text:key1-phonetic 19.823, text:key2 19.822, text:key2-phonetic 19.824, text:main-entry 19.831 and text:string-value-phonetic 19.870.

The <text:alphabetical-index-mark-start> element has no child elements.

8.1.9<text:alphabetical-index-mark-end>

The <text:alphabetical-index-mark-end> element marks the end of an alphabetical index entry.

The <text:alphabetical-index-mark-end> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:alphabetical-index-mark-end> element has the following attribute: text:id 19.809.3.

The <text:alphabetical-index-mark-end> element has no child elements.

8.1.10<text:alphabetical-index-mark>

The <text:user-index-mark> element represents a user defined index mark that does not enclose content.

The <text:alphabetical-index-mark> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:alphabetical-index-mark> element has the following attributes: text:key1 19.821, text:key1-phonetic 19.823, text:key2 19.822, text:key2-phonetic 19.824, text:main-entry 19.831, text:string-value 19.871.2 and text:string-value-phonetic 19.870.

The <text:alphabetical-index-mark> element has no child elements.

8.1.11<text:bibliography-mark>

The <text:bibliography-mark> element contains the text and information for a bibliography index entry.

The <text:bibliography-mark> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:bibliography-mark> element has the following attributes: text:address 19.751, text:annote 19.755, text:author 19.756, text:bibliography-type 19.758, text:booktitle 19.759, text:chapter 19.767, text:custom1 19.786, text:custom2 19.787, text:custom3 19.788, text:custom4 19.789, text:custom5 19.790, text:edition 19.800, text:editor 19.801, text:howpublished 19.807, text:identifier 19.810, text:institution 19.814, text:isbn 19.817, text:issn 19.818, text:journal 19.819, text:month 19.834, text:note 19.836, text:number 19.838, text:organizations 19.843, text:pages 19.846, text:publisher 19.852, text:report-type 19.856, text:school 19.860, text:series 19.862, text:title 19.882, text:url 19.884, text:volume 19.902 and text:year 19.903.

The <text:bibliography-mark> element has no child elements.

The <text:bibliography-mark> element has character data content.

8.2Index Structure

8.2.1General

An index consists of two parts: the index source, and the index body.

The index source is specific to the type of index it is being used for. It contains the information necessary to generate the index content.

8.2.2<text:index-body>

The <text:index-body> element contains an index.

The <text:index-body> element is used for all types of indexes. It contains the index content generated to form the index.

The <text:index-body> element is usable within the following elements: <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:illustration-index> 8.4, <text:object-index> 8.6, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

The <text:index-body> element has no attributes.

The <text:index-body> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:index-title> 8.2.3, <text:list> 5.3.1, <text:numbered-paragraph> 5.3.6, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:soft-page-break> 5.6, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

8.2.3<text:index-title>

The <text:index-title> element contains the title of an index.

The <text:index-title> element is usable within the following elements: <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <text:index-body> 8.2.2 and <text:index-title> 8.2.3.

The <text:index-title> element has the following attributes: text:name 19.835.9, text:protected 19.849, text:protection-key 19.850, text:protection-key-digest-algorithm 19.851, text:style-name 19.874.19 and xml:id 19.914.

The <text:index-title> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:index-title> 8.2.3, <text:list> 5.3.1, <text:numbered-paragraph> 5.3.6, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:soft-page-break> 5.6, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

8.3<text:table-of-content>

8.3.1General

The <text:table-of-content> element represents a table of contents for a document.

The items that can be listed in a table of contents are:

Note: Paragraphs may be selected for inclusion in a table of contents based on their styles. Selection is based on a paragraph's style matching a style specified by the <text:index-source-styles> child element of a <text:table-of-content-source> child element of a <text:table-of-content> element, when the text:use-index-source-styles attribute of the child <text:index-source-styles> element has the value true.

The <text:table-of-content> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.4, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:table-of-content> element has the following attributes: text:name 19.835.17, text:protected 19.849, text:protection-key 19.850, text:protection-key-digest-algorithm 19.851, text:style-name 19.874.35 and xml:id 19.914.

The <text:table-of-content> element has the following child elements: <text:index-body> 8.2.2 and <text:table-of-content-source> 8.3.2.

8.3.2<text:table-of-content-source>

The <text:table-of-content-source> element specifies how a table of contents is generated. It also specifies the styles to be applied to index entries.

The <text:table-of-content-source> element is usable within the following element: <text:table-of-content> 8.3.

The <text:table-of-content-source> element has the following attributes: text:index-scope 19.812, text:outline-level 19.844.9, text:relative-tab-stop-position 19.855, text:use-index-marks 19.890, text:use-index-source-styles 19.891 and text:use-outline-level 19.896.

The <text:table-of-content-source> element has the following child elements: <text:index-source-styles> 8.10, <text:index-title-template> 8.12 and <text:table-of-content-entry-template> 8.3.3.

8.3.3<text:table-of-content-entry-template>

The <text:table-of-content-entry-template> element specifies the format of an index entry for a specified outline level.

For each <text:table-of-content-source> element, there shall not be more than one <text:table-of-content-entry-template> for a specified outline level.

The <text:table-of-content-entry-template> element is usable within the following element: <text:table-of-content-source> 8.3.2.

The <text:table-of-content-entry-template> element has the following attributes: text:outline-level 19.844.8 and text:style-name 19.874.36.

The <text:table-of-content-entry-template> element has the following child elements: <text:index-entry-chapter> 8.13.1, <text:index-entry-link-end> 8.13.8, <text:index-entry-link-start> 8.13.7, <text:index-entry-page-number> 8.13.3, <text:index-entry-span> 8.13.4, <text:index-entry-tab-stop> 8.13.6 and <text:index-entry-text> 8.13.2.

8.4<text:illustration-index>

8.4.1General

The <text:illustration-index> element represents an index of the images and graphics in a current document or chapter.

The <text:illustration-index> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.4, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:illustration-index> element has the following attributes: text:name 19.835.8, text:protected 19.849, text:protection-key 19.850, text:protection-key-digest-algorithm 19.851, text:style-name 19.874.8 and xml:id 19.914.

The <text:illustration-index> element has the following child elements: <text:illustration-index-source> 8.4.2 and <text:index-body> 8.2.2.

8.4.2<text:illustration-index-source>

The <text:illustration-index-source> element specifies how an index of illustrations is generated.

The <text:illustration-index-source> element is usable within the following element: <text:illustration-index> 8.4.

The <text:illustration-index-source> element has the following attributes: text:caption-sequence-format 19.764, text:caption-sequence-name 19.765, text:index-scope 19.812, text:relative-tab-stop-position 19.855 and text:use-caption 19.885.

The <text:illustration-index-source> element has the following child elements: <text:illustration-index-entry-template> 8.4.3 and <text:index-title-template> 8.12.

8.4.3<text:illustration-index-entry-template>

The <text:illustration-index-entry-template> element specifies the format of an index entry.

The <text:illustration-index-entry-template> element is usable within the following element: <text:illustration-index-source> 8.4.2.

The <text:illustration-index-entry-template> element has the following attribute: text:style-name 19.874.9.

The <text:illustration-index-entry-template> element has the following child elements: <text:index-entry-chapter> 8.13.1, <text:index-entry-page-number> 8.13.3, <text:index-entry-span> 8.13.4, <text:index-entry-tab-stop> 8.13.6 and <text:index-entry-text> 8.13.2.

8.5<text:table-index>

8.5.1General

The <text:table-index> element represents an index of the tables in a document or chapter.

The <text:table-index> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.4, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:table-index> element has the following attributes: text:name 19.835.18, text:protected 19.849, text:protection-key 19.850, text:protection-key-digest-algorithm 19.851, text:style-name 19.874.37 and xml:id 19.914.

The <text:table-index> element has the following child elements: <text:index-body> 8.2.2 and <text:table-index-source> 8.5.2.

8.5.2<text:table-index-source>

The <text:table-index-source> element specifies how an index of tables is generated.

The <text:table-index-source> element is usable within the following element: <text:table-index> 8.5.

The <text:table-index-source> element has the following attributes: text:caption-sequence-format 19.764, text:caption-sequence-name 19.765, text:index-scope 19.812, text:relative-tab-stop-position 19.855 and text:use-caption 19.885.

The <text:table-index-source> element has the following child elements: <text:index-title-template> 8.12 and <text:table-index-entry-template> 8.5.3.

8.5.3<text:table-index-entry-template>

The <text:table-index-entry-template> element specifies the format of an index entry.

The <text:table-index-entry-template> element is usable within the following element: <text:table-index-source> 8.5.2.

The <text:table-index-entry-template> element has the following attribute: text:style-name 19.874.34.

The <text:table-index-entry-template> element has the following child elements: <text:index-entry-chapter> 8.13.1, <text:index-entry-page-number> 8.13.3, <text:index-entry-span> 8.13.4, <text:index-entry-tab-stop> 8.13.6 and <text:index-entry-text> 8.13.2.

8.6<text:object-index>

8.6.1General

The <text:object-index> element represents an index of the objects in a document or chapter. The types of objects that should be included in the index are defined by the <text:object-index-source> element. 8.6.2

The <text:object-index> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.4, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:object-index> element has the following attributes: text:name 19.835.10, text:protected 19.849, text:protection-key 19.850, text:protection-key-digest-algorithm 19.851, text:style-name 19.874.26 and xml:id 19.914.

The <text:object-index> element has the following child elements: <text:index-body> 8.2.2 and <text:object-index-source> 8.6.2.

8.6.2<text:object-index-source>

The <text:object-index-source> element specifies which object types to include in the index of objects.

The <text:object-index-source> element is usable within the following element: <text:object-index> 8.6.

The <text:object-index-source> element has the following attributes: text:index-scope 19.812, text:relative-tab-stop-position 19.855, text:use-chart-objects 19.886, text:use-draw-objects 19.887, text:use-math-objects 19.893, text:use-other-objects 19.895 and text:use-spreadsheet-objects 19.898.

The <text:object-index-source> element has the following child elements: <text:index-title-template> 8.12 and <text:object-index-entry-template> 8.6.3.

8.6.3<text:object-index-entry-template>

The <text:object-index-entry-template> element specifies the format of an index entry.

The <text:object-index-entry-template> element is usable within the following element: <text:object-index-source> 8.6.2.

The <text:object-index-entry-template> element has the following attribute: text:style-name 19.874.27.

The <text:object-index-entry-template> element has the following child elements: <text:index-entry-chapter> 8.13.1, <text:index-entry-page-number> 8.13.3, <text:index-entry-span> 8.13.4, <text:index-entry-tab-stop> 8.13.6 and <text:index-entry-text> 8.13.2.

8.7<text:user-index>

8.7.1General

The <text:user-index> element represents a user-defined index. A user-defined index may include entries from the following sources:

The <text:user-index> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.4, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:user-index> element has the following attributes: text:name 19.835.23, text:protected 19.849, text:protection-key 19.850, text:protection-key-digest-algorithm 19.851, text:style-name 19.874.38 and xml:id 19.914.

The <text:user-index> element has the following child elements: <text:index-body> 8.2.2 and <text:user-index-source> 8.7.2.

8.7.2<text:user-index-source>

The <text:user-index-source> element defines the generation of user defined indexes.

The <text:user-index-source> element is usable within the following element: <text:user-index> 8.7.

The <text:user-index-source> element has the following attributes: text:copy-outline-levels 19.782, text:index-name 19.811, text:index-scope 19.812, text:relative-tab-stop-position 19.855, text:use-floating-frames 19.888, text:use-graphics 19.889, text:use-index-marks 19.890, text:use-index-source-styles 19.891, text:use-objects 19.894 and text:use-tables 19.899.

The <text:user-index-source> element has the following child elements: <text:index-source-styles> 8.10, <text:index-title-template> 8.12 and <text:user-index-entry-template> 8.7.3.

8.7.3<text:user-index-entry-template>

The <text:user-index-entry-template> element contains entry elements for chapter number, page number, entry text, text spans, and tab stops.

The <text:user-index-entry-template> element is usable within the following element: <text:user-index-source> 8.7.2.

The <text:user-index-entry-template> element has the following attributes: text:outline-level 19.844.12 and text:style-name 19.874.39.

The <text:user-index-entry-template> element has the following child elements: <text:index-entry-chapter> 8.13.1, <text:index-entry-page-number> 8.13.3, <text:index-entry-span> 8.13.4, <text:index-entry-tab-stop> 8.13.6 and <text:index-entry-text> 8.13.2.

8.8<text:alphabetical-index>

8.8.1General

The <text:alphabetical-index> element represents an index which is based on alphabetical index marks. The entries in an alphabetical index are sorted.

Note: Sort orders are locale specific.

The <text:alphabetical-index> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.4, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:alphabetical-index> element has the following attributes: text:name 19.835.2, text:protected 19.849, text:protection-key 19.850, text:protection-key-digest-algorithm 19.851, text:style-name 19.874.3 and xml:id 19.914.

The <text:alphabetical-index> element has the following child elements: <text:alphabetical-index-source> 8.8.2 and <text:index-body> 8.2.2.

8.8.2<text:alphabetical-index-source>

The <text:alphabetical-index-source> element specifies how an alphabetical index is generated.

The <text:alphabetical-index-source> element is usable within the following element: <text:alphabetical-index> 8.8.

The <text:alphabetical-index-source> element has the following attributes: fo:country 19.234.1, fo:language 19.236.2, fo:script 19.242.2, style:rfc-language-tag 19.512, text:alphabetical-separators 19.752, text:capitalize-entries 19.762, text:combine-entries 19.772, text:combine-entries-with-dash 19.773, text:combine-entries-with-pp 19.774, text:comma-separated 19.775, text:ignore-case 19.813, text:index-scope 19.812, text:main-entry-style-name 19.832, text:relative-tab-stop-position 19.855, text:sort-algorithm 19.865 and text:use-keys-as-entries 19.892.

The <text:alphabetical-index-source> element has the following child elements: <text:alphabetical-index-entry-template> 8.8.4 and <text:index-title-template> 8.12.

8.8.3<text:alphabetical-index-auto-mark-file>

The <text:alphabetical-index-auto-mark-file> element specifies an auto mark file. An auto mark file is a file that defines a list of terms that may be used by consumers to automatically insert alphabetical index marks (see 8.1.8, 8.1.10).

The format of an index mark file is implementation-defined.

The <text:alphabetical-index-auto-mark-file> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10 and <style:header-left> 16.12.

The <text:alphabetical-index-auto-mark-file> element has the following attributes: xlink:href 19.910.34 and xlink:type 19.913.

The <text:alphabetical-index-auto-mark-file> element has no child elements.

8.8.4<text:alphabetical-index-entry-template>

The <text:alphabetical-index-entry-template> element specifies the format of an alphabetical index entry.

The <text:alphabetical-index-entry-template> element is usable within the following element: <text:alphabetical-index-source> 8.8.2.

The <text:alphabetical-index-entry-template> element has the following attributes: text:outline-level 19.844.2 and text:style-name 19.874.4.

The <text:alphabetical-index-entry-template> element has the following child elements: <text:index-entry-chapter> 8.13.1, <text:index-entry-page-number> 8.13.3, <text:index-entry-span> 8.13.4, <text:index-entry-tab-stop> 8.13.6 and <text:index-entry-text> 8.13.2.

8.9<text:bibliography>

8.9.1General

The <text:bibliography> element represents a bibliography constructed from bibliography index marks.

The <text:bibliography> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.4, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:bibliography> element has the following attributes: text:name 19.835.3, text:protected 19.849, text:protection-key 19.850, text:protection-key-digest-algorithm 19.851, text:style-name 19.874.5 and xml:id 19.914.

The <text:bibliography> element has the following child elements: <text:bibliography-source> 8.9.2 and <text:index-body> 8.2.2.

8.9.2<text:bibliography-source>

The <text:bibliography-source> element specifies how a bibliography is generated.

The <text:bibliography-source> element is usable within the following element: <text:bibliography> 8.9.

The <text:bibliography-source> element has no attributes.

The <text:bibliography-source> element has the following child elements: <text:bibliography-entry-template> 8.9.3 and <text:index-title-template> 8.12.

8.9.3<text:bibliography-entry-template>

The <text:bibliography-entry-template> element specifies the formatting for a bibliographic entry.

There shall be no more than one <text:bibliography-entry-template> element for each type of entry within any <text:bibliography-source> element. 8.9.2

The <text:bibliography-entry-template> element is usable within the following element: <text:bibliography-source> 8.9.2.

The <text:bibliography-entry-template> element has the following attributes: text:bibliography-type 19.758 and text:style-name 19.874.6.

The <text:bibliography-entry-template> element has the following child elements: <text:index-entry-bibliography> 8.13.5, <text:index-entry-span> 8.13.4 and <text:index-entry-tab-stop> 8.13.6.

8.10<text:index-source-styles>

The <text:index-source-styles> element contains all of the <text:index-source-style> elements for a specified outline level. There can only be one <text:index-source-styles> element for each outline level.

The <text:index-source-styles> element is usable within the following elements: <text:table-of-content-source> 8.3.2 and <text:user-index-source> 8.7.2.

The <text:index-source-styles> element has the following attribute: text:outline-level 19.844.6.

The <text:index-source-styles> element has the following child element: <text:index-source-style> 8.11.

8.11<text:index-source-style>

The <text:index-source-style> element specifies the name of a style or a class. Paragraphs formatted using that style or class are included in the index.

The <text:index-source-style> element is usable within the following element: <text:index-source-styles> 8.10.

The <text:index-source-style> element has the following attribute: text:style-name 19.874.18.

The <text:index-source-style> element has no child elements.

8.12<text:index-title-template>

The <text:index-title-template> element specifies the style and content of the index title. There can only be one <text:index-title-template> element contained in a <text:table-of-content-source> element.

The <text:index-title-template> element is usable within the following elements: <text:alphabetical-index-source> 8.8.2, <text:bibliography-source> 8.9.2, <text:illustration-index-source> 8.4.2, <text:object-index-source> 8.6.2, <text:table-index-source> 8.5.2, <text:table-of-content-source> 8.3.2 and <text:user-index-source> 8.7.2.

The <text:index-title-template> element has the following attribute: text:style-name 19.874.20.

The <text:index-title-template> element has no child elements.

The <text:index-title-template> element has character data content.

8.13Index Template Entries

8.13.1<text:index-entry-chapter>

The <text:index-entry-chapter> element represents the chapter number where an index entry is located.

The <text:index-entry-chapter> element is usable within the following elements: <text:alphabetical-index-entry-template> 8.8.4, <text:illustration-index-entry-template> 8.4.3, <text:object-index-entry-template> 8.6.3, <text:table-index-entry-template> 8.5.3, <text:table-of-content-entry-template> 8.3.3 and <text:user-index-entry-template> 8.7.3.

The <text:index-entry-chapter> element has the following attributes: text:display 19.796.5, text:outline-level 19.844.5 and text:style-name 19.874.11.

The <text:index-entry-chapter> element has no child elements.

8.13.2<text:index-entry-text>

The <text:index-entry-text> element contains the text of an index entry.

The <text:index-entry-text> element is usable within the following elements: <text:alphabetical-index-entry-template> 8.8.4, <text:illustration-index-entry-template> 8.4.3, <text:object-index-entry-template> 8.6.3, <text:table-index-entry-template> 8.5.3, <text:table-of-content-entry-template> 8.3.3 and <text:user-index-entry-template> 8.7.3.

The <text:index-entry-text> element has the following attribute: text:style-name 19.874.17.

The <text:index-entry-text> element has no child elements.

8.13.3<text:index-entry-page-number>

The <text:index-entry-page-number> element represents the number of the chapter where an index entry is located.

The <text:index-entry-page-number> element is usable within the following elements: <text:alphabetical-index-entry-template> 8.8.4, <text:illustration-index-entry-template> 8.4.3, <text:object-index-entry-template> 8.6.3, <text:table-index-entry-template> 8.5.3, <text:table-of-content-entry-template> 8.3.3 and <text:user-index-entry-template> 8.7.3.

The <text:index-entry-page-number> element has the following attribute: text:style-name 19.874.14.

The <text:index-entry-page-number> element has no child elements.

8.13.4<text:index-entry-span>

The <text:index-entry-span> element represents a fixed string within an index entry.

The <text:index-entry-span> element is usable within the following elements: <text:alphabetical-index-entry-template> 8.8.4, <text:bibliography-entry-template> 8.9.3, <text:illustration-index-entry-template> 8.4.3, <text:object-index-entry-template> 8.6.3, <text:table-index-entry-template> 8.5.3, <text:table-of-content-entry-template> 8.3.3 and <text:user-index-entry-template> 8.7.3.

The <text:index-entry-span> element has the following attribute: text:style-name 19.874.15.

The <text:index-entry-span> element has no child elements.

The <text:index-entry-span> element has character data content.

8.13.5<text:index-entry-bibliography>

The <text:index-entry-bibliography> element specifies the field of a bibliographic entry that will be displayed in an index.

The <text:index-entry-bibliography> element is usable within the following element: <text:bibliography-entry-template> 8.9.3.

The <text:index-entry-bibliography> element has the following attributes: text:bibliography-data-field 19.757 and text:style-name 19.874.10.

The <text:index-entry-bibliography> element has no child elements.

8.13.6<text:index-entry-tab-stop>

The <text:index-entry-tab-stop> element represents a tab stop within an index entry.

The <text:index-entry-tab-stop> element is usable within the following elements: <text:alphabetical-index-entry-template> 8.8.4, <text:bibliography-entry-template> 8.9.3, <text:illustration-index-entry-template> 8.4.3, <text:object-index-entry-template> 8.6.3, <text:table-index-entry-template> 8.5.3, <text:table-of-content-entry-template> 8.3.3 and <text:user-index-entry-template> 8.7.3.

The <text:index-entry-tab-stop> element has the following attributes: style:leader-char 19.483, style:position 19.508.4, style:type 19.515.2 and text:style-name 19.874.16.

The <text:index-entry-tab-stop> element has no child elements.

8.13.7<text:index-entry-link-start>

The <text:index-entry-link-start> element represents the start of a hyperlink index entry.

The <text:index-entry-link-start> element is usable within the following element: <text:table-of-content-entry-template> 8.3.3.

The <text:index-entry-link-start> element has the following attribute: text:style-name 19.874.13.

The <text:index-entry-link-start> element has no child elements.

8.13.8<text:index-entry-link-end>

The <text:index-entry-link-end> element represents the end of a hyperlink index entry.

The <text:index-entry-link-end> element is usable within the following element: <text:table-of-content-entry-template> 8.3.3.

The <text:index-entry-link-end> element has the following attribute: text:style-name 19.874.12.

The <text:index-entry-link-end> element has no child elements.

9Tables

9.1Basic Tables

9.1.1General

The representation of tables is based on the concept of grids of rows and columns. In markup, rows are partitioned into table cells. Columns are implied by taking together all cells with the same position within the rows.

Rows and columns appear in row groups and column groups. These groups specify whether to repeat a row or column on the next page.

Note: There is only one model for tables, although tables, such as for spreadsheets, may have additional capabilities when compared to tables in text documents.

Tables may be nested, that is, tables may occur within tables.

9.1.2<table:table>

The <table:table> element is the root element for a table.

The <table:table> element is usable within the following elements: <chart:chart> 11.1, <draw:frame> 10.4.2, <draw:text-box> 10.4.3, <office:spreadsheet> 3.7, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <table:covered-table-cell> 9.1.5, <table:dde-link> 14.6.4, <table:table-cell> 9.1.4, <text:deletion> 5.5.4, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <table:table> element has the following attributes: table:is-sub-table 19.655, table:name 19.673.13, table:print 19.693, table:print-ranges 19.694, table:protected 19.696.4, table:protection-key 19.697, table:protection-key-digest-algorithm 19.698, table:style-name 19.726.16, table:template-name 19.732, table:use-banding-columns-styles 19.736, table:use-banding-rows-styles 19.737, table:use-first-column-styles 19.738, table:use-first-row-styles 19.739, table:use-last-column-styles 19.740, table:use-last-row-styles 19.741 and xml:id 19.914.

The <table:table> element has the following child elements: <office:dde-source> 14.6.5, <office:forms> 13.2, <table:desc> 9.1.14, <table:named-expressions> 9.4.11, <table:scenario> 9.2.7, <table:shapes> 9.2.8, <table:table-column> 9.1.6, <table:table-column-group> 9.1.10, <table:table-columns> 9.1.12, <table:table-header-columns> 9.1.11, <table:table-header-rows> 9.1.7, <table:table-row> 9.1.3, <table:table-row-group> 9.1.9, <table:table-rows> 9.1.8, <table:table-source> 9.2.6, <table:title> 9.1.13, <text:soft-page-break> 5.6.

9.1.3<table:table-row>

The <table:table-row> element represents a row in a table. It contains elements that specify the cells of the table row.

The <table:table-row> element is usable within the following elements: <table:table> 9.1.2, <table:table-header-rows> 9.1.7, <table:table-row-group> 9.1.9 and <table:table-rows> 9.1.8.

The <table:table-row> element has the following attributes: table:default-cell-style-name 19.615, table:number-rows-repeated 19.677, table:style-name 19.726.15, table:visibility 19.749 and xml:id 19.914.

The <table:table-row> element has the following child elements: <table:covered-table-cell> 9.1.5 and <table:table-cell> 9.1.4.

9.1.4<table:table-cell>

The <table:table-cell> element represents a table cell. It is contained in a table row element. A table cell can contain paragraphs and other text content as well as sub tables. Table cells may span multiple columns and rows. Table cells may be empty.

The <table:table-cell> element is usable within the following element: <table:table-row> 9.1.3.

The <table:table-cell> element has the following attributes: office:boolean-value 19.367, office:currency 19.369, office:date-value 19.370, office:string-value 19.379, office:time-value 19.382, office:value 19.384, office:value-type 19.385, table:content-validation-name 19.601, table:formula 19.642, table:number-columns-repeated 19.675.3, table:number-columns-spanned 19.676, table:number-matrix-columns-spanned 19.679, table:number-matrix-rows-spanned 19.680, table:number-rows-spanned 19.678, table:protect 19.695, table:protected 19.696.5, table:style-name 19.726.13, xhtml:about 19.905, xhtml:content 19.906, xhtml:datatype 19.907, xhtml:property 19.908 and xml:id 19.914.

The <table:table-cell> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:annotation> 14.1, <table:cell-range-source> 9.3.1, <table:detective> 9.3.2, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:list> 5.3.1, <text:numbered-paragraph> 5.3.6, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:soft-page-break> 5.6, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

9.1.5<table:covered-table-cell>

The <table:covered-table-cell> element represents cells that are covered by a <table:table-cell> 9.1.4 element that spans multiple columns or rows. The <table:covered-table-cell> elements occupy the same position in document order as the cells spanned. There is one <table:covered-table-cell> element for each cell that is spanned.

The <table:covered-table-cell> element is usable within the following element: <table:table-row> 9.1.3.

The <table:covered-table-cell> element has the following attributes: office:boolean-value 19.367, office:currency 19.369, office:date-value 19.370, office:string-value 19.379, office:time-value 19.382, office:value 19.384, office:value-type 19.385, table:content-validation-name 19.601, table:formula 19.642, table:number-columns-repeated 19.675.2, table:protect 19.695, table:protected 19.696.2, table:style-name 19.726.4, xhtml:about 19.905, xhtml:content 19.906, xhtml:datatype 19.907, xhtml:property 19.908 and xml:id 19.914.

The <table:covered-table-cell> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:annotation> 14.1, <table:cell-range-source> 9.3.1, <table:detective> 9.3.2, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:list> 5.3.1, <text:numbered-paragraph> 5.3.6, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:soft-page-break> 5.6, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

9.1.6<table:table-column>

The <table:table-column> element specifies properties for one or more adjacent columns in a table.

The <table:table-column> element is usable within the following elements: <table:table> 9.1.2, <table:table-column-group> 9.1.10, <table:table-columns> 9.1.12 and <table:table-header-columns> 9.1.11.

The <table:table-column> element has the following attributes: table:default-cell-style-name 19.615, table:number-columns-repeated 19.675.4, table:style-name 19.726.14, table:visibility 19.749 and xml:id 19.914.

The <table:table-column> element has no child elements.

9.1.7<table:table-header-rows>

The <table:table-header-rows> element represents row headers in a table. It is composed of adjacent <table:table-row> 9.1.3 elements.

Note: Use of the <table:table-header-rows> element increases accessibility. The use of styles to designate row headers diminishes accessibility.

If a table does not fit on a single page, table rows that are included in a <table:table-header-rows> element are automatically repeated on every page.

A table shall not contain more than one <table:table-header-rows> element, except that the table contains grouped rows defined by one or more <table:table-row-group> 9.1.9 elements. In this case, the table and each distinct group may contain one <table:table-header-rows> element, if and only if the table rows contained in the <table:table-header-rows> elements are adjacent.

Consumers that do not support header rows shall process header rows as non-header rows.

The <table:table-header-rows> element is usable within the following elements: <table:table> 9.1.2 and <table:table-row-group> 9.1.9.

The <table:table-header-rows> element has no attributes.

The <table:table-header-rows> element has the following child elements: <table:table-row> 9.1.3 and <text:soft-page-break> 5.6.

9.1.8<table:table-rows>

The <table:table-rows> element contains groups of <table:table-row> 9.1.3 elements that do not repeat when a table spans more than one page.

The <table:table-rows> element is usable within the following elements: <table:table> 9.1.2 and <table:table-row-group> 9.1.9.

The <table:table-rows> element has no attributes.

The <table:table-rows> element has the following child elements: <table:table-row> 9.1.3 and <text:soft-page-break> 5.6.

9.1.9<table:table-row-group>

The <table:table-row-group> element groups adjacent table rows that do not appear as table headers. Every group can contain a new group, rows, and row headers. A row group can be visible or hidden.

The <table:table-row-group> element is usable within the following elements: <table:table> 9.1.2 and <table:table-row-group> 9.1.9.

The <table:table-row-group> element has the following attribute: table:display 19.617.

The <table:table-row-group> element has the following child elements: <table:table-header-rows> 9.1.7, <table:table-row> 9.1.3, <table:table-row-group> 9.1.9, <table:table-rows> 9.1.8, <text:soft-page-break> 5.6.

9.1.10<table:table-column-group>

The <table:table-column-group> element groups adjacent table columns. Every group can contain a new group, columns, and column headers. A column group can be visible or hidden.

If a set of header columns and a column group overlap, the header column group breaks the column header set. That is, the <table:table-column-group> may contain <table:table-header-columns> elements, but not vice versa.

The <table:table-column-group> element is usable within the following elements: <table:table> 9.1.2 and <table:table-column-group> 9.1.10.

The <table:table-column-group> element has the following attribute: table:display 19.617.

The <table:table-column-group> element has the following child elements: <table:table-column> 9.1.6, <table:table-column-group> 9.1.10, <table:table-columns> 9.1.12, <table:table-header-columns> 9.1.11.

9.1.11<table:table-header-columns>

The <table:table-header-columns> element represents column headers in a table. It is composed of adjacent <table:table-column> 9.1.6 elements.

Note: Use of the <table:table-header-columns> element increases accessibility The use of styles to designate column headers diminishes accessibility.

If a table does not fit on a single page, table columns that are included in a <table:table-header-columns> element are automatically repeated on every page.

A table shall not contain more than one <table:table-header-columns> element, except that the table contains grouped rows defined by one or more <table:table-column-group> 9.1.10 elements. In this case, the table and each distinct group may contain one <table:table-header-columns> element, if and only if the table columns contained in the <table:table-header-columns> elements are adjacent.

Consumers that do not support header columns shall process header column as non header columns .

The <table:table-header-columns> element is usable within the following elements: <table:table> 9.1.2 and <table:table-column-group> 9.1.10.

The <table:table-header-columns> element has no attributes.

The <table:table-header-columns> element has the following child element: <table:table-column> 9.1.6.

9.1.12<table:table-columns>

The <table:table-columns> element contains groups of <table:table-column> 9.1.6 elements that do not repeat when a table spans more than one page.

The <table:table-columns> element is usable within the following elements: <table:table> 9.1.2 and <table:table-column-group> 9.1.10.

The <table:table-columns> element has no attributes.

The <table:table-columns> element has the following child element: <table:table-column> 9.1.6.

9.1.13<table:title>

The <table:title> element specifies a title for a table. The element shall not be used if the parent <table:table> element is contained within a <draw:frame> element. In that case, the table's title is specified the by <svg:title> child element of <draw:frame>.

The <table:title> element is usable within the following element: <table:table> 9.1.2.

The <table:title> element has no attributes.

The <table:title> element has no child elements.

The <table:title> element has character data content.

9.1.14<table:desc>

The <table:desc> element specifies a prose description of a table that may be used to support accessibility. See appendix D The element shall not be used if the parent <table:table> element is contained within a <draw:frame> element. In that case, the table's description is specified the by <svg:desc> child element of <draw:frame>.

The <table:desc> element is usable within the following element: <table:table> 9.1.2.

The <table:desc> element has no attributes.

The <table:desc> element has no child elements.

The <table:desc> element has character data content.

9.2Advanced Tables

9.2.1Referencing Table Cells

To reference cells in a table, cell addresses are used. Cell addresses are constructed as follows:

  1. 1)The name of the table. 

  2. 2)A dot “.” (U+002E, FULL STOP). 

  3. 3)An alphabetic value representing the column. The letter A represents column 1, B represents column 2, and so on. AA represents column 27, AB represents column 28, and so on. 

  4. 4)A numeric value representing the row. The number 1 represents the first row, the number 2 represents the second row, and so on. 

This means that A1 represents the cell in column 1 and row 1. B1 represents the cell in column 2 and row 1. A2 represents the cell in column 1 and row 2.

The structure of the address of a cell in a subtable is as follows:

  1. 1)The address of the cell that contains the subtable. 

  2. 2)A dot “.” (U+002E, FULL STOP). 

  3. 3)The address of the cell in the subtable. 

If the name of the table contains blanks, dots “.” (U+002E, FULL STOP) or apostrophes “'” (U+0027, APOSTROPHE), the name shall be quoted with apostrophes “'” (U+0027, APOSTROPHE). Any apostrophes in the name shall be escaped by doubling the”'”( U+0027, APOSTROPHE) character.

The behavior of a consumer when a cell is referenced but not declared is implementation-dependent

9.2.2Absolute and relative cell addressing

Cells can be referenced by using either absolute addresses or relative addresses. When an operation is performed on a table cell absolute cell references do not change. Relative cell references are adapted to the address of the target cell of a copy operation.

To create an absolute address, a dollar sign “$” (U+0024, DOLLAR SIGN) shall be placed before each table name, column reference, and row reference. Absolute and relative references may be mixed within a single cell address. Absolute addresses shall contain a table name.

When differentiation between absolute and relative addresses is not necessary, the dollar signs in absolute addresses may be omitted.

9.2.3Cell Range Address

A cell range is a number of adjacent cells forming a rectangular shape. The rectangle stretches from the cell on the logical top left to the cell on the logical bottom right.

A cell range address references a cell range. A cell range address consists of:

  1. 1)The address of the cell at the top left of the range. 

  2. 2)A colon “:” (U+003A, COLON). 

  3. 3)The address of the cell at the bottom right of the range. 

The smallest range is a single cell. The range address of a single cell is the same as the cell address.

9.2.4Column and Row Range Addresses

Column and row addresses are cell range addresses that reference entire rows or columns.

The syntax of a row address is the same as a cell address, except the alphabetic values that indicate the column are omitted.

The syntax of a column address is the same as a cell address, except the numeric values that indicate the row are omitted.

9.2.5Cell Range Address List

A cell range address list is a list of cell range addresses and cell addresses. Each item in the list is separated by white space. If any table name used in the list contains a “ “ (U+0020, SPACE) character, the table name is quoted within apostrophes “'” ( U+0027, APOSTROPHE).

9.2.6<table:table-source>

The <table:table-source> element represents a link to a table that provides a source for a table.

The <table:table-source> element is usable within the following element: <table:table> 9.1.2.

The <table:table-source> element has the following attributes: table:filter-name 19.638, table:filter-options 19.639, table:mode 19.671, table:refresh-delay 19.701, table:table-name 19.729, xlink:actuate 19.909, xlink:href 19.910.32 and xlink:type 19.913.

The <table:table-source> element has no child elements.

9.2.7<table:scenario>

The <table:scenario> element defines a scenario for display on a table. A table represented by a <table:table> element which contains a <table:scenario> child element is called a scenario table.

A scenario is one or more cell ranges of a table whose contents replaces the contents of the cell ranges in the nearest non-scenario table preceding the scenario table in document order. If multiple scenarios are defined for a cell range, an user may choose between the scenarios. The names of the scenarios are the same as the names of tables which contain the <table:scenario> elements.

Display of the border of a scenario table is controlled by its table:display-border attribute.19.618

Note: Display of the border of a scenario is the only visible indication that the displayed data is the result of the application of a scenario to the data in the table.

Only one scenario table can be applied to a range at one time.

Note: A table can have multiple scenarios applied to it so long as the ranges of application do not overlap.

The <table:scenario> element is usable within the following element: <table:table> 9.1.2.

The <table:scenario> element has the following attributes: table:border-color 19.588, table:comment 19.595, table:copy-back 19.602, table:copy-formulas 19.603, table:copy-styles 19.604, table:display-border 19.618, table:is-active 19.652, table:protected 19.696.3 and table:scenario-ranges 19.705.

The <table:scenario> element has no child elements.

9.2.8<table:shapes>

The <table:shapes> element contains all the elements that represent graphic shapes that are anchored on a table where this element occurs.

The <table:shapes> element is usable within the following element: <table:table> 9.1.2.

The <table:shapes> element has no attributes.

The <table:shapes> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2 and <draw:regular-polygon> 10.3.6.

9.3Advanced Table Cells

9.3.1<table:cell-range-source>

The <table:cell-range-source> element represents a database range or named range of another file in a cell range. The first cell in the cell range contains this element. A cell range can be linked to a database range or named range of another file.

The <table:cell-range-source> element is usable within the following elements: <table:covered-table-cell> 9.1.5 and <table:table-cell> 9.1.4.

The <table:cell-range-source> element has the following attributes: table:filter-name 19.638, table:filter-options 19.639, table:last-column-spanned 19.658, table:last-row-spanned 19.660, table:name 19.673.2, table:refresh-delay 19.701, xlink:actuate 19.909, xlink:href 19.910.31 and xlink:type 19.913.

The <table:cell-range-source> element has no child elements.

9.3.2<table:detective>

The <table:detective> element is a container for <table:operation> 9.3.3 and <table:highlighted-range> 9.3.4 elements, providing information about what relationships between the current cell and other cells are revealed in the presentation of the table.  

The <table:detective> element is usable within the following elements: <table:covered-table-cell> 9.1.5 and <table:table-cell> 9.1.4.

The <table:detective> element has no attributes.

The <table:detective> element has the following child elements: <table:highlighted-range> 9.3.4 and <table:operation> 9.3.3.

9.3.3<table:operation>

The <table:operation> element specifies the name of a detective operation that leads to the discovery of relationships between cells (table:name, 19.673) and the order in which those operations are applied (table:index, 19.651).Once relationships between cells have been discovered, those cells are highlighted to show those relationships.

Note: A single cell may be the subject of one or more detective operations.

The <table:operation> element is usable within the following element: <table:detective> 9.3.2.

The <table:operation> element has the following attributes: table:index 19.651 and table:name 19.673.11.

The <table:operation> element has no child elements.

9.3.4<table:highlighted-range>

The <table:highlighted-range> element specifies a cell range that is highlighted in the UI either because of detective operations defined by a <table:operation> element or because it contains an error or invalid data.

The nature of the highlighting is implementation dependent.

 This element represents the state of the document at the time the detective operations or error conditions were calculated. It need not accurately represent the current state of the document.

The <table:highlighted-range> element is usable within the following element: <table:detective> 9.3.2.

The <table:highlighted-range> element has the following attributes: table:cell-range-address 19.593.7, table:contains-error 19.599, table:direction 19.616 and table:marked-invalid 19.664.

The <table:highlighted-range> element has no child elements.

9.4Spreadsheet Document Content

9.4.1<table:calculation-settings>

The <table:calculation-settings> element is a container for settings that affect the calculation of formula.

The <table:calculation-settings> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7 and <office:text> 3.4.

The <table:calculation-settings> element has the following attributes: table:automatic-find-labels 19.585, table:case-sensitive 19.590, table:null-year 19.674, table:precision-as-shown 19.692, table:search-criteria-must-apply-to-whole-cell 19.707, table:use-regular-expressions 19.743 and table:use-wildcards 19.744.

The <table:calculation-settings> element has the following child elements: <table:iteration> 9.4.3 and <table:null-date> 9.4.2.

9.4.2<table:null-date>

The <table:null-date> element specifies the null date for a spreadsheet document. The null date is the date that results in the value “0” if a date value is converted into a numeric value. The null date is specified in the element's table:date-value attribute.

Note: Commonly used values are 1899-12-30, 1900-01-01, and 1904-01-01.

The <table:null-date> element is usable within the following element: <table:calculation-settings> 9.4.1.

The <table:null-date> element has the following attributes: table:date-value 19.614 and table:value-type 19.748.

The <table:null-date> element has no child elements.

9.4.3<table:iteration>

The <table:iteration> element enables formulas with iterative (or cyclic) references to be calculated after a specific number of iterations. If iterative calculations are not enabled, a formula expression containing a cyclic cell reference returns an error.

If the table:status attribute has the value enable and iterating through the cyclic dependencies does not deliver a result that satisfies the condition specified by the table:maximum-difference attribute within a number of iterations specified by the table:steps attribute for all cells in the cyclic dependencies, an error is returned.

 

The <table:iteration> element is usable within the following element: <table:calculation-settings> 9.4.1.

The <table:iteration> element has the following attributes: table:maximum-difference 19.666, table:status 19.722 and table:steps 19.724.

The <table:iteration> element has no child elements.

9.4.4<table:content-validations>

The <table:content-validations> element contains all the validation rules for the content of table cells.

The <table:content-validations> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7 and <office:text> 3.4.

The <table:content-validations> element has no attributes.

The <table:content-validations> element has the following child element: <table:content-validation> 9.4.5.

9.4.5<table:content-validation>

The <table:content-validation> element specifies a validation rule for table cell content.

The names of validation rules are stored in the table:name attribute of a <table:content-validation> element.

The <table:content-validation> element is usable within the following element: <table:content-validations> 9.4.4.

The <table:content-validation> element has the following attributes: table:allow-empty-cell 19.583, table:base-cell-address 19.586, table:condition 19.596, table:display-list 19.621 and table:name 19.673.3.

The <table:content-validation> element has the following child elements: <office:event-listeners> 10.3.19, <table:error-macro> 9.4.8, <table:error-message> 9.4.7 and <table:help-message> 9.4.6.

9.4.6<table:help-message>

The <table:help-message> element specifies a message to display if a user selects a cell.

The <table:help-message> element is usable within the following element: <table:content-validation> 9.4.5.

The <table:help-message> element has the following attributes: table:display 19.617 and table:title 19.733.

The <table:help-message> element has the following child element: <text:p> 5.1.3.

9.4.7<table:error-message>

The <table:error-message> element specifies a message to display if a user tries to enter invalid content into a cell. That is when a validation rule's condition evaluates to “false” on the content the user attempts to enter.

The <table:error-message> element is usable within the following element: <table:content-validation> 9.4.5.

The <table:error-message> element has the following attributes: table:display 19.617, table:message-type 19.670 and table:title 19.733.

The <table:error-message> element has the following child element: <text:p> 5.1.3.

9.4.8<table:error-macro>

The <table:error-macro> element specifies if a macro should be executed upon an attempt to enter invalid content.

A macro is specified by an <office:event-listeners> element. 14.4 The event name shall be one that specifies an event that is called on invalid user input.

The <table:error-macro> element is usable within the following element: <table:content-validation> 9.4.5.

The <table:error-macro> element has the following attribute: table:execute 19.634.

The <table:error-macro> element has no child elements.

9.4.9<table:label-range>

The <table:label-range> element specifies a label cell range which contain labels, and a data cell range which specifies the rows or columns whose content is referenced by the labels.

There are two types of label ranges:

Data and label ranges should match in both height and vertical position for row orientation, or in both width and horizontal position for column orientation.

The <table:label-range> element is usable within the following element: <table:label-ranges> 9.4.10.

The <table:label-range> element has the following attributes: table:data-cell-range-address 19.608, table:label-cell-range-address 19.656 and table:orientation 19.686.4.

The <table:label-range> element has no child elements.

9.4.10<table:label-ranges>

The <table:label-ranges> element contains all the <table:label-range> elements in a document.

The <table:label-ranges> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7 and <office:text> 3.4.

The <table:label-ranges> element has no attributes.

The <table:label-ranges> element has the following child element: <table:label-range> 9.4.9.

9.4.11<table:named-expressions>

The <table:named-expressions> element contains assignments of names to expressions.

The following expressions may have names:

If the <table:named-expressions> element is used with a <table:table> element, the scope of the named expressions are local to that table element.  

The <table:named-expressions> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7, <office:text> 3.4 and <table:table> 9.1.2.

The <table:named-expressions> element has no attributes.

The <table:named-expressions> element has the following child elements: <table:named-expression> 9.4.13 and <table:named-range> 9.4.12.

9.4.12<table:named-range>

The <table:named-range> element specifies a cell range that has a name assigned.

The <table:named-range> element is usable within the following element: <table:named-expressions> 9.4.11.

The <table:named-range> element has the following attributes: table:base-cell-address 19.586, table:cell-range-address 19.593.8, table:name 19.673.10 and table:range-usable-as 19.700.

The <table:named-range> element has no child elements.

9.4.13<table:named-expression>

The <table:named-expression> element represents an expression with a name.

The <table:named-expression> element is usable within the following element: <table:named-expressions> 9.4.11.

The <table:named-expression> element has the following attributes: table:base-cell-address 19.586, table:expression 19.635 and table:name 19.673.9.

The <table:named-expression> element has no child elements.

9.4.14<table:database-ranges>

The <table:database-ranges> element contains all the <table:database-range> elements in a document.

The <table:database-ranges> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7 and <office:text> 3.4.

The <table:database-ranges> element has no attributes.

The <table:database-ranges> element has the following child element: <table:database-range> 9.4.15.

9.4.15<table:database-range>

The <table:database-range> element defines a single database range. A database range is a named area in a table upon which database operations are performed.

The <table:database-range> element is usable within the following element: <table:database-ranges> 9.4.14.

The <table:database-range> element has the following attributes: table:contains-header 19.600, table:display-filter-buttons 19.620, table:has-persistent-data 19.647, table:is-selection 19.654, table:name 19.673.8, table:on-update-keep-size 19.682, table:on-update-keep-styles 19.683, table:orientation 19.686.3, table:refresh-delay 19.701 and table:target-range-address 19.731.3.

The <table:database-range> element has the following child elements: <table:database-source-query> 9.4.18, <table:database-source-sql> 9.4.16, <table:database-source-table> 9.4.17, <table:filter> 9.5.2, <table:sort> 9.4.19 and <table:subtotal-rules> 9.4.21.

9.4.16<table:database-source-sql>

The <table:database-source-sql> element specifies an [SQL] database that contains the source data of a database range.

The <table:database-source-sql> element is usable within the following elements: <table:database-range> 9.4.15 and <table:data-pilot-table> 9.6.3.

The <table:database-source-sql> element has the following attributes: table:database-name 19.609, table:parse-sql-statement 19.689 and table:sql-statement 19.716.

The <table:database-source-sql> element has no child elements.

9.4.17<table:database-source-table>

The <table:database-source-table> element specifies the database and table that acts as the source data for a database range.

The <table:database-source-table> element is usable within the following elements: <table:database-range> 9.4.15 and <table:data-pilot-table> 9.6.3.

The <table:database-source-table> element has the following attributes: table:database-name 19.609 and table:database-table-name 19.610.

The <table:database-source-table> element has no child elements.

9.4.18<table:database-source-query>

The <table:database-source-query> element specifies the query that produces the source data for a database range.

The <table:database-source-query> element is usable within the following elements: <table:database-range> 9.4.15 and <table:data-pilot-table> 9.6.3.

The <table:database-source-query> element has the following attributes: table:database-name 19.609 and table:query-name 19.699.

The <table:database-source-query> element has no child elements.

9.4.19<table:sort>

The <table:sort> element <table:sort> specifies the sort keys to be applied to a database range.

The <table:sort> element is usable within the following element: <table:database-range> 9.4.15.

The <table:sort> element has the following attributes: table:algorithm 19.581, table:bind-styles-to-content 19.587, table:case-sensitive 19.590, table:country 19.606, table:embedded-number-behavior 19.624, table:language 19.657, table:rfc-language-tag 19.703, table:script 19.706 and table:target-range-address 19.731.5.

The <table:sort> element has the following child element: <table:sort-by> 9.4.20.

9.4.20<table:sort-by>

The <table:sort-by> element specifies a key or field to sort, the data type of this field, and how to sort it for a database range.

The <table:sort-by> element is usable within the following element: <table:sort> 9.4.19.

The <table:sort-by> element has the following attributes: table:data-type 19.611.3, table:field-number 19.637 and table:order 19.685.

The <table:sort-by> element has no child elements.

9.4.21<table:subtotal-rules>

The <table:subtotal-rules> element is a container for <table:subtotal-rule> elements which specify the calculation of provisional results (called subtotals) for a database range. Cells of the same field form a group. A provisional result is calculated and display at the end of each group.

The <table:subtotal-rules> element is usable within the following element: <table:database-range> 9.4.15.

The <table:subtotal-rules> element has the following attributes: table:bind-styles-to-content 19.587, table:case-sensitive 19.590 and table:page-breaks-on-group-change 19.687.

The <table:subtotal-rules> element has the following child elements: <table:sort-groups> 9.4.22 and <table:subtotal-rule> 9.4.23.

9.4.22<table:sort-groups>

The <table:sort-groups> element specifies a sort order for columns or rows of a table.

The <table:sort-groups> element is usable within the following element: <table:subtotal-rules> 9.4.21.

The <table:sort-groups> element has the following attributes: table:data-type 19.611.4 and table:order 19.685.

The <table:sort-groups> element has no child elements.

9.4.23<table:subtotal-rule>

The <table:subtotal-rule> element specifies the calculation of subtotals for a row or column. As the container element for <table:subtotal-field>, the calculation specified by this element may use provisional results in its calculation.

The <table:subtotal-rule> element is usable within the following element: <table:subtotal-rules> 9.4.21.

The <table:subtotal-rule> element has the following attribute: table:group-by-field-number 19.645.

The <table:subtotal-rule> element has the following child element: <table:subtotal-field> 9.4.24.

9.4.24<table:subtotal-field>

The <table:subtotal-field> element specifies the field number and the function that is applied to the content of that field to calculate a provisional result.

The <table:subtotal-field> element is usable within the following element: <table:subtotal-rule> 9.4.23.

The <table:subtotal-field> element has the following attributes: table:field-number 19.637 and table:function 19.643.5.

The <table:subtotal-field> element has no child elements.

9.5Filters

9.5.1General

Filter element specify conditions that if not met, render portions of a table invisible.

9.5.2<table:filter>

The <table:filter> element is a container for elements that specify filters for data contained in database ranges or data pilot tables. The filters are applied to all rows in the database range or the data pilot table. Rows where one or more filter conditions do not evaluate to true are made invisible.

The <table:filter> element is usable within the following elements: <table:database-range> 9.4.15 and <table:source-cell-range> 9.6.5.

The <table:filter> element has the following attributes: table:condition-source 19.597, table:condition-source-range-address 19.598, table:display-duplicates 19.619 and table:target-range-address 19.731.4.

The <table:filter> element has the following child elements: <table:filter-and> 9.5.3, <table:filter-condition> 9.5.5 and <table:filter-or> 9.5.4.

9.5.3<table:filter-and>

The <table:filter-and> element specifies that the logical operator AND is applied to conditions specified by the child elements of this element.

The <table:filter-and> element is usable within the following elements: <table:filter> 9.5.2 and <table:filter-or> 9.5.4.

The <table:filter-and> element has no attributes.

The <table:filter-and> element has the following child elements: <table:filter-condition> 9.5.5 and <table:filter-or> 9.5.4.

9.5.4<table:filter-or>

The <table:filter-or> element specifies that the logical operator OR is applied to conditions specified by the child elements of this element.

The <table:filter-or> element is usable within the following elements: <table:filter> 9.5.2 and <table:filter-and> 9.5.3.

The <table:filter-or> element has no attributes.

The <table:filter-or> element has the following child elements: <table:filter-and> 9.5.3 and <table:filter-condition> 9.5.5.

9.5.5<table:filter-condition>

The <table:filter-condition> element specifies a single condition to apply in a filter operation.

The filter condition is either specified

If one or more of <table:filter-set-item> elements are present as children of the <table:filter-condition> element, the table:operator, table:value and table:data-type attributes are ignored.

Note: To improve backward compatibility with OpenDocument 1.1 documents, the following attributes should have these values if <table:filter-set-item> elements are included: table:operator: "=", table:value: value of the first <table:filter-set-item> child element, table:data-type: "text".

The <table:filter-condition> element is usable within the following elements: <table:filter> 9.5.2, <table:filter-and> 9.5.3 and <table:filter-or> 9.5.4.

The <table:filter-condition> element has the following attributes: table:case-sensitive 19.590, table:data-type 19.611.2, table:field-number 19.637, table:operator 19.684 and table:value 19.747.1.

The <table:filter-condition> element has the following child element: <table:filter-set-item> 9.5.6.

9.5.6<table:filter-set-item>

The <table:filter-set-item> element specifies a single value used in a filter condition where the table:operator attribute is set to "=", and the table:data-type attribute to text. The filter sub condition in which the element is included evaluates to true for a specified cell, if, and only if, the value of the cell is equal to one of the values in the set specified by be <table:filter> element.

The <table:filter-set-item> element is usable within the following element: <table:filter-condition> 9.5.5.

The <table:filter-set-item> element has the following attribute: table:value 19.747.2.

The <table:filter-set-item> element has no child elements.

9.6Data Pilot Tables

9.6.1General

Data pilot tables enable users to rearrange data from data sources so as to create new relationships between data elements or to view data from a variety of perspectives. This is in contrast to scenario tables 9.2.7, where the data elements remain fixed but the values and operations on them are varied to illustrate different outcomes.

The behavior of a data pilot table is specified by fields, where each field has a name and an orientation. The category columns are specified by fields with the orientation “row” or “column” and data columns are specified by fields that have the orientation “data”.

A third type of fields are data layout fields. Data layout fields are not connected to a column in the source table, but are used to change the layout of the data pilot table.

The order in which fields are specified determines the order in which the data of category columns are grouped and results are displayed.

9.6.2<table:data-pilot-tables>

The <table:data-pilot-tables> element contains all the data pilot tables within a document.

The <table:data-pilot-tables> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7 and <office:text> 3.4.

The <table:data-pilot-tables> element has no attributes.

The <table:data-pilot-tables> element has the following child element: <table:data-pilot-table> 9.6.3.

9.6.3<table:data-pilot-table>

The <table:data-pilot-table> element contains the elements that define the sources of a data pilot table.

The <table:data-pilot-table> element is usable within the following element: <table:data-pilot-tables> 9.6.2.

The <table:data-pilot-table> element has the following attributes: table:application-data 19.584, table:buttons 19.589, table:drill-down-on-double-click 19.623, table:grand-total 19.644, table:identify-categories 19.649, table:ignore-empty-rows 19.650, table:name 19.673.7, table:show-filter-button 19.711 and table:target-range-address 19.731.2.

The <table:data-pilot-table> element has the following child elements: <table:database-source-query> 9.4.18, <table:database-source-sql> 9.4.16, <table:database-source-table> 9.4.17, <table:data-pilot-field> 9.6.7, <table:source-cell-range> 9.6.5 and <table:source-service> 9.6.6.

9.6.4Data Pilot Table Source

The source of a data pilot table is specified by one of the following elements:

9.6.5<table:source-cell-range>

The <table:source-cell-range> element specifies a cell range as a source of data for a data pilot table. A filter may be specified by a <table:filter> child element that is applied prior to return of data to a data pilot table.

The <table:source-cell-range> element is usable within the following element: <table:data-pilot-table> 9.6.3.

The <table:source-cell-range> element has the following attribute: table:cell-range-address 19.593.9.

The <table:source-cell-range> element has the following child element: <table:filter> 9.5.2.

9.6.6<table:source-service>

The <table:source-service> element specifies a service that returns data to a data pilot table.

The <table:source-service> element is usable within the following element: <table:data-pilot-table> 9.6.3.

The <table:source-service> element has the following attributes: table:name 19.673.12, table:object-name 19.681, table:password 19.690, table:source-name 19.715 and table:user-name 19.746.

The <table:source-service> element has no child elements.

9.6.7<table:data-pilot-field>

The <table:data-pilot-field> element specifies a field for a data pilot table.

The <table:data-pilot-field> element is usable within the following element: <table:data-pilot-table> 9.6.3.

The <table:data-pilot-field> element has the following attributes: table:function 19.643.3, table:is-data-layout-field 19.653, table:orientation 19.686.2, table:selected-page 19.708, table:source-field-name 19.714 and table:used-hierarchy 19.745.

The <table:data-pilot-field> element has the following child elements: <table:data-pilot-field-reference> 9.6.16, <table:data-pilot-groups> 9.6.17 and <table:data-pilot-level> 9.6.8.

9.6.8<table:data-pilot-level>

The <table:data-pilot-level> element acts as a container for elements that specify addition information about a data pilot field.

The <table:data-pilot-level> element is usable within the following element: <table:data-pilot-field> 9.6.7.

The <table:data-pilot-level> element has the following attribute: table:show-empty 19.710.

The <table:data-pilot-level> element has the following child elements: <table:data-pilot-display-info> 9.6.13, <table:data-pilot-layout-info> 9.6.15, <table:data-pilot-members> 9.6.11, <table:data-pilot-sort-info> 9.6.14 and <table:data-pilot-subtotals> 9.6.9.

9.6.9<table:data-pilot-subtotals>

The <table:data-pilot-subtotals> element contains the <table:data-pilot-subtotal> elements for a data pilot table.

The <table:data-pilot-subtotals> element is usable within the following element: <table:data-pilot-level> 9.6.8.

The <table:data-pilot-subtotals> element has no attributes.

The <table:data-pilot-subtotals> element has the following child element: <table:data-pilot-subtotal> 9.6.10.

9.6.10<table:data-pilot-subtotal>

The <table:data-pilot-subtotal> element contains the results of a single subtotal calculation.

The <table:data-pilot-subtotal> element is usable within the following element: <table:data-pilot-subtotals> 9.6.9.

The <table:data-pilot-subtotal> element has the following attribute: table:function 19.643.4.

The <table:data-pilot-subtotal> element has no child elements.

9.6.11<table:data-pilot-members>

The <table:data-pilot-members> element specifies whether category columns in data pilot tables or information for category columns is displayed or not.

The <table:data-pilot-members> element is usable within the following element: <table:data-pilot-level> 9.6.8.

The <table:data-pilot-members> element has no attributes.

The <table:data-pilot-members> element has the following child element: <table:data-pilot-member> 9.6.12.

9.6.12<table:data-pilot-member>

The <table:data-pilot-member> element specifies what information is displayed for a member.

The <table:data-pilot-member> element is usable within the following element: <table:data-pilot-members> 9.6.11.

The <table:data-pilot-member> element has the following attributes: table:display 19.617, table:name 19.673.6 and table:show-details 19.709.

The <table:data-pilot-member> element has no child elements.

9.6.13<table:data-pilot-display-info>

The <table:data-pilot-display-info> element restricts the number rows that are displayed for a category column to a specific number of values of a data field.

The <table:data-pilot-display-info> element is usable within the following element: <table:data-pilot-level> 9.6.8.

The <table:data-pilot-display-info> element has the following attributes: table:data-field 19.607, table:display-member-mode 19.622, table:enabled 19.625 and table:member-count 19.667.

The <table:data-pilot-display-info> element has no child elements.

9.6.14<table:data-pilot-sort-info>

The <table:data-pilot-sort-info> element specifies how the members of a category column are sorted.

The <table:data-pilot-sort-info> element is usable within the following element: <table:data-pilot-level> 9.6.8.

The <table:data-pilot-sort-info> element has the following attributes: table:data-field 19.607, table:order 19.685, table:sort-mode 19.712.

The <table:data-pilot-sort-info> element has no child elements.

9.6.15<table:data-pilot-layout-info>

The <table:data-pilot-layout-info> element specifies how to layout a field.

The <table:data-pilot-layout-info> element is usable within the following element: <table:data-pilot-level> 9.6.8.

The <table:data-pilot-layout-info> element has the following attributes: table:add-empty-lines 19.582 and table:layout-mode 19.662.

The <table:data-pilot-layout-info> element has no child elements.

9.6.16<table:data-pilot-field-reference>

The <table:data-pilot-field-reference> element specifies data which can be used to modify the displayed values of data fields.

The <table:data-pilot-field-reference> element is usable within the following element: <table:data-pilot-field> 9.6.7.

The <table:data-pilot-field-reference> element has the following attributes: table:field-name 19.636, table:member-name 19.668, table:member-type 19.669 and table:type 19.735.2.

The <table:data-pilot-field-reference> element has no child elements.

9.6.17<table:data-pilot-groups>

The <table:data-pilot-groups> element specifies that a data pilot field is a group field. A group field allows grouping of other fields.

Grouping may also take place for numeric or date values.

The <table:data-pilot-groups> element is usable within the following element: <table:data-pilot-field> 9.6.7.

The <table:data-pilot-groups> element has the following attributes: table:date-end 19.612, table:date-start 19.613, table:end 19.626, table:grouped-by 19.646, table:source-field-name 19.714, table:start 19.717 and table:step 19.723.

The <table:data-pilot-groups> element has the following child element: <table:data-pilot-group> 9.6.18.

9.6.18<table:data-pilot-group>

The <table:data-pilot-group> element specifies names of groups if grouping takes place by specifying the member names.

The <table:data-pilot-group> element is usable within the following element: <table:data-pilot-groups> 9.6.17.

The <table:data-pilot-group> element has the following attribute: table:name 19.673.4.

The <table:data-pilot-group> element has the following child element: <table:data-pilot-group-member> 9.6.19.

9.6.19<table:data-pilot-group-member>

The <table:data-pilot-group-member> element specifies the name of a single group member.

The <table:data-pilot-group-member> element is usable within the following element: <table:data-pilot-group> 9.6.18.

The <table:data-pilot-group-member> element has the following attribute: table:name 19.673.5.

The <table:data-pilot-group-member> element has no child elements.

9.7<table:consolidation>

The <table:consolidation> element defines the consolidation of data from multiple table ranges. Consolidation means that a new table range is filled with values calculated by applying a mathematical function to all cells in the source table ranges that have the same relative address within these ranges.

The <table:consolidation> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7 and <office:text> 3.4.

The <table:consolidation> element has the following attributes: table:function 19.643.2, table:link-to-source-data 19.663, table:source-cell-range-addresses 19.713, table:target-cell-address 19.730 and table:use-labels 19.742.

The <table:consolidation> element has no child elements.

9.8<table:dde-links>

The <table:dde-links> container element stores all DDE links for use in spreadsheet formulas. Every link contains the DDE Source and the data of the last connection.

See 14.6 for the use of DDE connections.

The <table:dde-links> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7 and <office:text> 3.4.

The <table:dde-links> element has no attributes.

The <table:dde-links> element has the following child element: <table:dde-link> 14.6.4.

9.9Change Tracking in Spreadsheets

9.9.1General

All changes that have been applied to a spreadsheet document are stored in a list. The list contains an element for each change made to the table.

9.9.2<table:tracked-changes>

The <table:tracked-changes> element is a container for tracked changes of a spreadsheet. Its presence further enables change tracking for a spreadsheet.

The <table:tracked-changes> element is usable within the following element: <office:spreadsheet> 3.7.

The <table:tracked-changes> element has the following attribute: table:track-changes 19.734.

The <table:tracked-changes> element has the following child elements: <table:cell-content-change> 9.9.17, <table:deletion> 9.9.9, <table:insertion> 9.9.3 and <table:movement> 9.9.13.

9.9.3<table:insertion>

The <table:insertion> element contains the information that identifies any insertion of content. This content can be one or more rows, one or more columns, or a table.

The <table:insertion> element is usable within the following element: <table:tracked-changes> 9.9.2.

The <table:insertion> element has the following attributes: table:acceptance-state 19.580, table:count 19.605, table:id 19.648, table:position 19.691, table:rejecting-change-id 19.702, table:table 19.727 and table:type 19.735.4.

The <table:insertion> element has the following child elements: <office:change-info> 5.5.6, <table:deletions> 9.9.6 and <table:dependencies> 9.9.4.

9.9.4<table:dependencies>

The <table:dependencies> element contains the information on which other tracked changes a tracked change depends.

The <table:dependencies> element is usable within the following elements: <table:cell-content-change> 9.9.17, <table:deletion> 9.9.9, <table:insertion> 9.9.3 and <table:movement> 9.9.13.

The <table:dependencies> element has no attributes.

The <table:dependencies> element has the following child element: <table:dependency> 9.9.5.

9.9.5<table:dependency>

The <table:dependency> element contains the information about one change action on which its parent element depends. The change action on which the current change depends is referenced by its table:id attribute

The <table:dependency> element is usable within the following element: <table:dependencies> 9.9.4.

The <table:dependency> element has the following attribute: table:id 19.648.

The <table:dependency> element has no child elements.

9.9.6<table:deletions>

The <table:deletions> element contains all deletions which are performed while tracking a single change to a table.

The <table:deletions> element is usable within the following elements: <table:cell-content-change> 9.9.17, <table:deletion> 9.9.9, <table:insertion> 9.9.3 and <table:movement> 9.9.13.

The <table:deletions> element has no attributes.

The <table:deletions> element has the following child elements: <table:cell-content-deletion> 9.9.7 and <table:change-deletion> 9.9.8.

9.9.7<table:cell-content-deletion>

The <table:cell-content-deletion> element specifies that a cell content has been deleted. It contains the address of the effected cell and its former content. If a table:id attribute is present, it specifies the id of a previously tracked change for the cell that gets deleted by the current change.

The <table:cell-content-deletion> element is usable within the following element: <table:deletions> 9.9.6.

The <table:cell-content-deletion> element has the following attribute: table:id 19.648.

The <table:cell-content-deletion> element has the following child elements: <table:cell-address> 9.9.18 and <table:change-track-table-cell> 9.9.16.

9.9.8<table:change-deletion>

The <table:change-deletion> element specifies the value of the table:id of a previously tracked change that is deleted by the current change.

The <table:change-deletion> element is usable within the following element: <table:deletions> 9.9.6.

The <table:change-deletion> element has the following attribute: table:id 19.648.

The <table:change-deletion> element has no child elements.

9.9.9<table:deletion>

A <table:deletion> element contains content that was deleted while change tracking was enabled. The content of a cell that was deleted is contained in either a <table:dependencies>, or a <table:deletions> element.

The <table:deletion> element is usable within the following element: <table:tracked-changes> 9.9.2.

The <table:deletion> element has the following attributes: table:acceptance-state 19.580, table:id 19.648, table:multi-deletion-spanned 19.672, table:position 19.691, table:rejecting-change-id 19.702, table:table 19.727 and table:type 19.735.3.

The <table:deletion> element has the following child elements: <office:change-info> 5.5.6, <table:cut-offs> 9.9.10, <table:deletions> 9.9.6 and <table:dependencies> 9.9.4.

9.9.10<table:cut-offs>

A <table:cut-offs> element contains elements that specify the location of tracked but deleted insertions or movements.

The <table:cut-offs> element is usable within the following element: <table:deletion> 9.9.9.

The <table:cut-offs> element has no attributes.

The <table:cut-offs> element has the following child elements: <table:insertion-cut-off> 9.9.11, <table:movement-cut-off> 9.9.12.

9.9.11<table:insertion-cut-off>

The <table:insertion-cut-off> element specifies where an insertion was deleted.

The <table:insertion-cut-off> element is usable within the following element: <table:cut-offs> 9.9.10.

The <table:insertion-cut-off> element has the following attributes: table:id 19.648 and table:position 19.691.

The <table:insertion-cut-off> element has no child elements.

9.9.12<table:movement-cut-off>

The <table:movement-cut-off> element specifies the deletion of a movement.

The <table:movement-cut-off> element is usable within the following element: <table:cut-offs> 9.9.10.

The <table:movement-cut-off> element has the following attributes: table:end-position 19.629, table:position 19.691 and table:start-position 19.719.

The <table:movement-cut-off> element has no child elements.

9.9.13<table:movement>

A <table:movement> element specifies the information that identifies movement of content. This content can be a cell content or a cell range content.

The <table:movement> element is usable within the following element: <table:tracked-changes> 9.9.2.

The <table:movement> element has the following attributes: table:acceptance-state 19.580, table:id 19.648 and table:rejecting-change-id 19.702.

The <table:movement> element has the following child elements: <office:change-info> 5.5.6, <table:deletions> 9.9.6, <table:dependencies> 9.9.4, <table:source-range-address> 9.9.14 and <table:target-range-address> 9.9.15.

9.9.14<table:source-range-address>

The <table:source-range-address> element specifies the source or cell range address of a movement.

The <table:source-range-address> element is usable within the following element: <table:movement> 9.9.13.

The <table:source-range-address> element has the following attributes: table:column 19.594, table:end-column 19.628, table:end-row 19.630, table:end-table 19.631, table:row 19.704, table:start-column 19.718, table:start-row 19.720, table:start-table 19.721 and table:table 19.727.

The <table:source-range-address> element has no child elements.

9.9.15<table:target-range-address>

The <table:target-range-address> element specifies the target cell address or cell range address of a movement.

The <table:target-range-address> element is usable within the following element: <table:movement> 9.9.13.

The <table:target-range-address> element has the following attributes: table:column 19.594, table:end-column 19.628, table:end-row 19.630, table:end-table 19.631, table:row 19.704, table:start-column 19.718, table:start-row 19.720, table:start-table 19.721 and table:table 19.727.

The <table:target-range-address> element has no child elements.

9.9.16<table:change-track-table-cell>

The <table:change-track-table-cell> element specifies the information that tracks changes to a table cell.

The <table:change-track-table-cell> element is usable within the following elements: <table:cell-content-deletion> 9.9.7 and <table:previous> 9.9.19.

The <table:change-track-table-cell> element has the following attributes: office:boolean-value 19.367, office:currency 19.369, office:date-value 19.370, office:string-value 19.379, office:time-value 19.382, office:value 19.384, office:value-type 19.385, table:cell-address 19.591, table:formula 19.642, table:matrix-covered 19.665, table:number-matrix-columns-spanned 19.679 and table:number-matrix-rows-spanned 19.680.

The <table:change-track-table-cell> element has the following child element: <text:p> 5.1.3.

9.9.17<table:cell-content-change>

A <table:cell-content-change> element specifies the information that identifies changes of the cell content.

The <table:cell-content-change> element is usable within the following element: <table:tracked-changes> 9.9.2.

The <table:cell-content-change> element has the following attributes: table:acceptance-state 19.580, table:id 19.648 and table:rejecting-change-id 19.702.

The <table:cell-content-change> element has the following child elements: <office:change-info> 5.5.6, <table:cell-address> 9.9.18, <table:deletions> 9.9.6, <table:dependencies> 9.9.4 and <table:previous> 9.9.19.

9.9.18<table:cell-address>

The <table:cell-address> element contains the address of a cell that has changed. Unlike other cell addresses, the cell address consists of the row, column and table number of the cell. This allows specifying addresses that are outside a valid cell address range.

The <table:cell-address> element is usable within the following elements: <table:cell-content-change> 9.9.17 and <table:cell-content-deletion> 9.9.7.

The <table:cell-address> element has the following attributes: table:column 19.594, table:row 19.704 and table:table 19.727.

The <table:cell-address> element has no child elements.

9.9.19<table:previous>

The <table:previous> element contains the previous cell content which is overwritten by the current change. If a table:id attribute is present, it specifies the id of a previously tracked change for the cell that is changed again by the current change.

The <table:previous> element is usable within the following element: <table:cell-content-change> 9.9.17.

The <table:previous> element has the following attribute: table:id 19.648.

The <table:previous> element has the following child element: <table:change-track-table-cell> 9.9.16.

10Graphic Content

10.1General

This chapter specifies the elements that represent graphic objects and elements used in the representation of graphical objects.

10.2Enhanced Page Features for Graphical Applications

10.2.1<style:handout-master>

The <style:handout-master> element represents a template for the generation of handout pages.

The <style:handout-master> element is usable within the following element: <office:master-styles> 3.15.4.

The <style:handout-master> element has the following attributes: draw:style-name 19.219.26, presentation:presentation-page-layout-name 19.409, presentation:use-date-time-name 19.424, presentation:use-footer-name 19.425, presentation:use-header-name 19.426 and style:page-layout-name 19.504.

The <style:handout-master> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2 and <draw:regular-polygon> 10.3.6.

10.2.2<draw:layer-set>

The <draw:layer-set> element defines a set of layers. If placed inside a <style:master-page> or <draw:page> element it defines a set of layers for that page. If placed inside the <office:master-styles> element it defines a set of layers for all pages that do not have their own set of layers.

Layers group drawing objects. Assigning a shape to a layer does not change its rendering order as defined by its draw:z-index attribute. 19.231

The <draw:layer-set> schema element contains a set of <draw:layer> elements.

The <draw:layer-set> element is usable within the following elements: <draw:page> 10.2.4, <office:master-styles> 3.15.4 and <style:master-page> 16.9.

The <draw:layer-set> element has no attributes.

The <draw:layer-set> element has the following child element: <draw:layer> 10.2.3.

10.2.3<draw:layer>

The <draw:layer> element defines a single layer. Layers group drawing objects.

 Each drawing object inside a drawing or presentation document can be assigned to a layer. Each object that is assigned to a layer inherits the settings of that layer. Drawing objects may be assigned to these layers by the value of their draw:layer attribute.

The <draw:layer> element is usable within the following element: <draw:layer-set> 10.2.2.

The <draw:layer> element has the following attributes: draw:display 19.132, draw:name 19.197.14 and draw:protected 19.207.

The <draw:layer> element has the following child elements: <svg:desc> 10.3.18 and <svg:title> 10.3.17.

10.2.4<draw:page>

The <draw:page> element is a container for content in a drawing or presentation document. This element is used for the following:

The <draw:page> element is usable within the following elements: <office:drawing> 3.5 and <office:presentation> 3.6.

The <draw:page> element has the following attributes: draw:id 19.187.3, draw:master-page-name 19.194, draw:name 19.197.19, draw:nav-order 19.198, draw:style-name 19.219.17, presentation:presentation-page-layout-name 19.409, presentation:use-date-time-name 19.424, presentation:use-footer-name 19.425, presentation:use-header-name 19.426 and xml:id 19.914.

The <draw:page> element has the following child elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4, <anim:transitionFilter> 15.2.7, <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:layer-set> 10.2.2, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:forms> 13.2, <presentation:animations> 10.8.1, <presentation:notes> 16.17, <svg:desc> 10.3.18 and <svg:title> 10.3.17.

10.2.5<draw:equation>

The <draw:equation> element specifies a formula for the calculation of a value and the name by which that formula can be referenced.

The <draw:equation> element is usable within the following element: <draw:enhanced-geometry> 10.6.2.

The <draw:equation> element has the following attributes: draw:formula 19.171 and draw:name 19.197.8.

The <draw:equation> element has no child elements.

10.3Drawing Shapes

10.3.1General

This section defines graphical objects that may occur within all types of documents.

10.3.2<draw:rect>

The <draw:rect> element represents a rectangular drawing shape.

The <draw:rect> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:rect> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:corner-radius 19.127, draw:id 19.187.3, draw:layer 19.189, draw:name 19.197.25, draw:style-name 19.219.22, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:height 19.539.8, svg:rx 19.550, svg:ry 19.551, svg:width 19.571.10, svg:x 19.573.5, svg:y 19.577.5, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:rect> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.3<draw:line>

The <draw:line> element represents a line.

The <draw:line> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:line> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:id 19.187.3, draw:layer 19.189, draw:name 19.197.15, draw:style-name 19.219.15, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:x1 19.574.1, svg:x2 19.575.1, svg:y1 19.578.1, svg:y2 19.579.1, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:line> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.4<draw:polyline>

The <draw:polyline> element represents a polyline drawing shape.

Consumers may ignore svg:height and svg:width attributes, and determine the size of a shape from the polygon vertices.

The <draw:polyline> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:polyline> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:id 19.187.3, draw:layer 19.189, draw:name 19.197.24, draw:points 19.206, draw:style-name 19.219.21, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:height 19.539.8, svg:viewBox 19.570, svg:width 19.571.10, svg:x 19.573.5, svg:y 19.577.5, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:polyline> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.5<draw:polygon>

The <draw:polygon> element represents a polygon. A polygon is a closed set of straight lines.

Consumers may ignore svg:height and svg:width attributes, and determine the size of a shape from the polygon vertices.

The <draw:polygon> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:polygon> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:id 19.187.3, draw:layer 19.189, draw:name 19.197.23, draw:points 19.206, draw:style-name 19.219.20, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:height 19.539.8, svg:viewBox 19.570, svg:width 19.571.10, svg:x 19.573.5, svg:y 19.577.5, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:polygon> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.6<draw:regular-polygon>

The <draw:regular-polygon> element represents a regular polygon. A regular polygon is a polygon that is specified by its number of edges (that is equal to the number of its corners), rather than by arbitrary points.

The <draw:regular-polygon> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:regular-polygon> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:concave 19.123, draw:corners 19.128, draw:id 19.187.3, draw:layer 19.189, draw:name 19.197.26, draw:sharpness 19.211, draw:style-name 19.219.23, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:height 19.539.8, svg:width 19.571.10, svg:x 19.573.5, svg:y 19.577.5, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:regular-polygon> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.7<draw:path>

The <draw:path> element represents a path. A path is a shape with a user-defined outline. The outline is defined by the svg:d attribute. 19.526

The <draw:path> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:path> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:id 19.187.3, draw:layer 19.189, draw:name 19.197.22, draw:style-name 19.219.19, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:d 19.526, svg:height 19.539.8, svg:viewBox 19.570, svg:width 19.571.10, svg:x 19.573.5, svg:y 19.577.5, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:path> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.8<draw:circle>

The <draw:circle> element represents a circular drawing shape.

The <draw:circle> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:circle> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:end-angle 19.140, draw:id 19.187.3, draw:kind 19.188, draw:layer 19.189, draw:name 19.197.3, draw:start-angle 19.213, draw:style-name 19.219.8, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:cx 19.524.2, svg:cy 19.525.2, svg:height 19.539.8, svg:r 19.549.2, svg:width 19.571.10, svg:x 19.573.5, svg:y 19.577.5, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:circle> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.9<draw:ellipse>

The <draw:ellipse> element represents an ellipse.

The <draw:ellipse> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:ellipse> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:end-angle 19.140, draw:id 19.187.3, draw:kind 19.188, draw:layer 19.189, draw:name 19.197.7, draw:start-angle 19.213, draw:style-name 19.219.12, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:cx 19.524.3, svg:cy 19.525.3, svg:height 19.539.8, svg:rx 19.550, svg:ry 19.551, svg:width 19.571.10, svg:x 19.573.5, svg:y 19.577.5, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:ellipse> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.10<draw:connector>

The <draw:connector> element represents a connected set of one or more lines that visually connects a start and an end point.

Start and/or end points can be defined by references to glue points 10.3.16 or as absolute positions.  The connector's geometric path is defined by the svg:d 19.526 attribute. Consumers may also compute the connector's geometric path considering the draw:type 19.229.2 and draw:line-skew 19.190 attributes, and the formatting properties defined for connectors.

If the svg:d attribute is not present, the connector's geometric path is implementation-dependent. Producers should export the connector's geometric path using the svg:d attribute.

Note: This assists consumers that are not capable of computing a connector path.

The <draw:connector> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:connector> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:end-glue-point 19.142, draw:end-shape 19.144, draw:id 19.187.3, draw:layer 19.189, draw:line-skew 19.190, draw:name 19.197.4, draw:start-glue-point 19.215, draw:start-shape 19.217, draw:style-name 19.219.9, draw:text-style-name 19.227, draw:transform 19.228, draw:type 19.229.2, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:d 19.526, svg:viewBox 19.570, svg:x1 19.574.1, svg:x2 19.575.1, svg:y1 19.578.1, svg:y2 19.579.1, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:connector> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.11<draw:caption>

The <draw:caption> element represents a description attached to a fixed point. It consists of rectangular drawing shape with an additional set of connected lines that connect the rectangle with the fixed point.

The <draw:caption> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:caption> element has the following attributes: draw:caption-id 19.115, draw:caption-point-x 19.116, draw:caption-point-y 19.117, draw:class-names 19.120, draw:corner-radius 19.127, draw:id 19.187.3, draw:layer 19.189, draw:name 19.197.2, draw:style-name 19.219.7, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:height 19.539.8, svg:width 19.571.10, svg:x 19.573.5, svg:y 19.577.5, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:caption> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.12<draw:measure>

The <draw:measure> element represents a shape that is used to measure distances in drawings.

A measure shape consists of two parallel lines, called extension lines, and a line perpendicular to the extension lines, called a dimension line. The dimension line has arrows at its endpoints. It is displayed between the extension lines and terminated by them.

The positions of extension lines and the dimension line are determined by two reference points, called start and end reference points.

The draw:line-distance style attribute defines the distance between the (virtual) line between the reference points, called reference line, and the dimension line. The draw:placing style attributes defines if the measure shape is placed above or below the reference line.

The start reference point is defined by the attributes svg:x1 and svg:y1

The first extension line is drawn on a line as defined by the vector from the start reference point to the start point of the dimension line. The extension line will start along this vector at a distance from the start reference point that is defined by the draw:guide-distance style attribute minus the value of draw:start-guide style attribute.

The end reference point is defined by the attributes svg:x2, and svg:y2.

The second extension line is drawn on a line as defined by the vector from the end reference point to the end point of the dimension line. The extension line will start along this vector at the distance from the end reference point that is defined by the draw:guide-distance style attribute minus the value of draw:end-guide style attribute.

The end points of the extension lines are at the distance defined by the draw:guide-overhang style attribute after the intersection with the dimension line.

The <draw:measure> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:measure> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:id 19.187.3, draw:layer 19.189, draw:name 19.197.17, draw:style-name 19.219.16, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:x1 19.574.1, svg:x2 19.575.1, svg:y1 19.578.1, svg:y2 19.579.1, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:measure> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.13<draw:control>

The <draw:control> element represents a shape that is linked to a control inside an <office:forms> element.

The <draw:control> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:control> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:control 19.125, draw:id 19.187.3, draw:layer 19.189, draw:name 19.197.5, draw:style-name 19.219.10, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:height 19.539.8, svg:width 19.571.10, svg:x 19.573.5, svg:y 19.577.5, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:control> element has the following child elements: <draw:glue-point> 10.3.16, <svg:desc> 10.3.18 and <svg:title> 10.3.17.

10.3.14<draw:page-thumbnail>

The <draw:page-thumbnail> element represents a rectangular area that displays the thumbnail of a drawing page.

The <draw:page-thumbnail> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:page-thumbnail> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:id 19.187.3, draw:layer 19.189, draw:name 19.197.20, draw:page-number 19.203, draw:style-name 19.219.18, draw:transform 19.228, draw:z-index 19.231, presentation:class 19.389, presentation:class-names 19.390, presentation:placeholder 19.407, presentation:style-name 19.422, presentation:user-transformed 19.427, svg:height 19.539.8, svg:width 19.571.10, svg:x 19.573.5, svg:y 19.577.5, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:page-thumbnail> element has the following child elements: <svg:desc> 10.3.18 and <svg:title> 10.3.17.

10.3.15<draw:g>

The <draw:g> element represents a group of drawing shapes.

Drawing shapes contained by a <draw:g> element that is itself contained by a <draw:a> element, act as hyperlinks using the xlink:href attribute of the containing <draw:a> element. If the included drawing shapes are themselves contained within <draw:a> elements, then the xlink:href attributes of those <draw:a> elements act as the hyperlink information for the shapes they contain.

The <draw:g> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:g> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:id 19.187.3, draw:name 19.197.11, draw:style-name 19.219.14, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:y 19.577.5, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:g> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:glue-point> 10.3.16, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18 and <svg:title> 10.3.17.

10.3.16<draw:glue-point>

The <draw:glue-point> element specifies a point in the area of a drawing object to which a connector shape can connect. All drawing objects have four standard glue points located at the center of the four edges of the object's bounding box. Additional glue points may be added to a drawing object by inserting one or more <draw:glue-point> elements into a drawing object element.

The <draw:glue-point> element is usable within the following elements: <dr3d:scene> 10.5.2, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2 and <draw:regular-polygon> 10.3.6.

The <draw:glue-point> element has the following attributes: draw:align 19.111, draw:escape-direction 19.147, draw:id 19.187.2, svg:x 19.573.6 and svg:y 19.577.6.

The <draw:glue-point> element has no child elements.

10.3.17<svg:title>

The <svg:title> element specifies a name for a graphic object.

The <svg:title> element is usable within the following elements: <dr3d:scene> 10.5.2, <draw:area-circle> 10.4.13.4, <draw:area-polygon> 10.4.13.5, <draw:area-rectangle> 10.4.13.3, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:layer> 10.2.3, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page> 10.2.4, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2 and <draw:regular-polygon> 10.3.6.

The <svg:title> element has no attributes.

The <svg:title> element has no child elements.

The <svg:title> element has character data content.

10.3.18<svg:desc>

The <svg:desc> element specifies a prose description of a graphic object that may be used to support accessibility. See appendix D.

The <svg:desc> element is usable within the following elements: <dr3d:scene> 10.5.2, <draw:area-circle> 10.4.13.4, <draw:area-polygon> 10.4.13.5, <draw:area-rectangle> 10.4.13.3, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:layer> 10.2.3, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page> 10.2.4, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2 and <draw:regular-polygon> 10.3.6.

The <svg:desc> element has no attributes.

The <svg:desc> element has no child elements.

The <svg:desc> element has character data content.

10.3.19<office:event-listeners>

The <office:event-listeners> element represents the attachment of an event listener to a drawing shape. See 14.4.

The <office:event-listeners> element is usable within the following elements: <draw:area-circle> 10.4.13.4, <draw:area-polygon> 10.4.13.5, <draw:area-rectangle> 10.4.13.3, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:fixed-text> 13.5.10, <form:form> 13.3, <form:formatted-text> 13.5.6, <form:frame> 13.5.19, <form:generic-control> 13.5.25, <form:grid> 13.5.22, <form:hidden> 13.5.21, <form:image> 13.5.16, <form:image-frame> 13.5.20, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9, <form:value-range> 13.5.24, <office:scripts> 3.12, <table:content-validation> 9.4.5, <text:a> 6.1.8 and <text:execute-macro> 7.7.10.

The <office:event-listeners> element has no attributes.

The <office:event-listeners> element has the following child elements: <presentation:event-listener> 10.9.2 and <script:event-listener> 14.4.2.

10.4Frames

10.4.1General

A frame is a container for enhanced content like text boxes, images or objects. A frame may contain multiple renditions of content. A consumer may choose the representation that it supports best.

Multiple representations may share <svg:desc> and <svg:title> elements.

Each child element of a frame is a different representation of the same content. The order of content elements reflects the document author's preference for rendering, with the first child element being preferred. That means that consumers should render the first child element that they support. A frame may contain multiple content elements, but shall contain at least one content element.

Within text documents, frames are also used to position content outside the default text flow of a document.

10.4.2<draw:frame>

The <draw:frame> element represents a frame and serves as the container for elements that may occur in a frame.

Frame formatting properties are stored in styles belonging to the graphic family.

The <draw:frame> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:image> 3.9, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:frame> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:copy-of 19.126, draw:id 19.187.3, draw:layer 19.189, draw:name 19.197.10, draw:style-name 19.219.13, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class 19.389, presentation:class-names 19.390, presentation:placeholder 19.407, presentation:style-name 19.422, presentation:user-transformed 19.427, style:rel-height 19.509, style:rel-width 19.510.2, svg:height 19.539.8, svg:width 19.571.10, svg:x 19.573.5, svg:y 19.577.5, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:frame> element has the following child elements: <draw:applet> 10.4.7, <draw:contour-path> 10.4.11.3, <draw:contour-polygon> 10.4.11.2, <draw:floating-frame> 10.4.10, <draw:glue-point> 10.3.16, <draw:image> 10.4.4, <draw:image-map> 10.4.13.2, <draw:object> 10.4.6.2, <draw:object-ole> 10.4.6.3, <draw:plugin> 10.4.8, <draw:text-box> 10.4.3, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17 and <table:table> 9.1.2.

10.4.3<draw:text-box>

The <draw:text-box> element represents a text box. This element may be used to place text in a container that is outside of the flow of the document.

The <draw:text-box> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:text-box> element has the following attributes: draw:chain-next-name 19.118, draw:corner-radius 19.127, fo:max-height 19.238, fo:max-width 19.239, fo:min-height 19.240, fo:min-width 19.241, text:id 19.809.2 and xml:id 19.914.

The <draw:text-box> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:list> 5.3.1, <text:numbered-paragraph> 5.3.6, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:soft-page-break> 5.6, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

10.4.4<draw:image>

The <draw:image> element represents an image. An image can be either:

or

Note: While the image data may have an arbitrary format, vector graphics should be stored in the [SVG] format and bitmap graphics in the [PNG] format.

The <draw:image> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:image> element has the following attributes: draw:filter-name 19.170, xlink:actuate 19.909, xlink:href 19.910.15, xlink:show 19.911, xlink:type 19.913 and xml:id 19.914.

The <draw:image> element has the following child elements: <office:binary-data> 10.4.5, <text:list> 5.3.1 and <text:p> 5.1.3.

10.4.5<office:binary-data>

The <office:binary-data> element contains image data in BASE64 encoding (as defined in [RFC2045]). If this element is present, an xlink:href attribute in its parent element shall be ignored.

Note: The image data may be in an arbitrary data format. Consumers have to analyze the image data to determine the data format that is used.

The <office:binary-data> element is usable within the following elements: <draw:image> 10.4.4, <draw:object-ole> 10.4.6.3, <style:background-image> 17.3 and <text:list-level-style-image> 16.33.

The <office:binary-data> element has no attributes.

The <office:binary-data> element has no child elements.

The <office:binary-data> element has content of data type base64Binary 18.2.

10.4.6Objects

10.4.6.1General

A document in OpenDocument format can contain two types of embedded objects, as follows:

Note: OLE objects are an example of objects without an OpenDocument representation. See [OLE].

10.4.6.2<draw:object>

The <draw:object> element represents objects that have a OpenDocument representation.

Objects with an OpenDocument representation can either be:

Note: An image representation of an object should be included in a frame in addition to the object itself.

The <draw:object> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:object> element has the following attributes: draw:notify-on-update-of-ranges 19.200, xlink:actuate 19.909, xlink:href 19.910.16, xlink:show 19.911, xlink:type 19.913 and xml:id 19.914.

The <draw:object> element has the following child elements: <math:math> 14.5 and <office:document> 3.1.2.

10.4.6.3<draw:object-ole>

The <draw:object-ole> element represents objects that do not have an OpenDocument representation.

Objects without an OpenDocument representation can either be:

The <draw:object-ole> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:object-ole> element has the following attributes: draw:class-id 19.119, xlink:actuate 19.909, xlink:href 19.910.17, xlink:show 19.911, xlink:type 19.913 and xml:id 19.914.

The <draw:object-ole> element has the following child element: <office:binary-data> 10.4.5.

10.4.7<draw:applet>

The <draw:applet> element represents an applet that is embedded in a document. Its semantics are the same as the <applet> element in HTML. §13.4 of [HTML4]. This element shall have either a draw:code or draw:object attribute.

The applet name, width, height, margins, title and description are specified by the <draw:applet> element's <draw:frame> parent element. The <draw:applet> element does not support character data content.

The <draw:applet> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:applet> element has the following attributes: draw:archive 19.113, draw:code 19.121, draw:may-script 19.195, draw:object 19.201, xlink:actuate 19.909, xlink:href 19.910.9, xlink:show 19.911, xlink:type 19.913 and xml:id 19.914.

The <draw:applet> element has the following child element: <draw:param> 10.4.9.

10.4.8<draw:plugin>

The <draw:plugin> element represents an external application that processes data with a specified media-type.

How OpenDocument consumers interact with external applications is not defined by this specification.

Note: Consumers are responsible for any and all security issues that may arise from interaction with an external application referenced by a <draw:plugin> element.

The <draw:plugin> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:plugin> element has the following attributes: draw:mime-type 19.191, xlink:actuate 19.909, xlink:href 19.910.18, xlink:show 19.911, xlink:type 19.913 and xml:id 19.914.

The <draw:plugin> element has the following child element: <draw:param> 10.4.9.

10.4.9<draw:param>

The <draw:param> element contains parameters that are passed to an applet or plugin when they are initialized.

The <draw:param> element is usable within the following elements: <draw:applet> 10.4.7 and <draw:plugin> 10.4.8.

The <draw:param> element has the following attributes: draw:name 19.197.21 and draw:value 19.230.

The <draw:param> element has no child elements.

10.4.10<draw:floating-frame>

The <draw:floating-frame> element represents a frame that is embedded in a document.

Floating frames cannot be transformed as described in section 19.228.

The <draw:floating-frame> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:floating-frame> element has the following attributes: draw:frame-name 19.172, xlink:actuate 19.909, xlink:href 19.910.14, xlink:show 19.911, xlink:type 19.913 and xml:id 19.914.

The <draw:floating-frame> element has no child elements.

10.4.11Contours

10.4.11.1General

The <draw:contour-polygon> and <draw:contour-path> elements are used to specify contours to be applied to object or images.

Consumers should support pixel lengths for the svg:width and svg:height attributes of the <draw:contour-polygon> and <draw:contour-path> elements.

Note: A contour of an object or image establishes an outer boundary around an object or image. One use would be the wrapping of text around a contour specified for an image, if style:wrap-contour=”true” and a contour is specified.

10.4.11.2<draw:contour-polygon>

The <draw:contour-polygon> element specifies a contour using a polygon.

The <draw:contour-polygon> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:contour-polygon> element has the following attributes: draw:points 19.206, draw:recreate-on-edit 19.208, svg:height 19.539.6, svg:viewBox 19.570 and svg:width 19.571.8.

The <draw:contour-polygon> element has no child elements.

10.4.11.3<draw:contour-path>

The <draw:contour-path> element specifies a contour using a path.

The <draw:contour-path> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:contour-path> element has the following attributes: draw:recreate-on-edit 19.208, svg:d 19.526, svg:height 19.539.6, svg:viewBox 19.570 and svg:width 19.571.8.

The <draw:contour-path> element has no child elements.

10.4.12<draw:a>

The <draw:a> element enables both frames and drawing shapes to act as hyperlinks.

The <draw:a> element contains a drawing shape that should behave as a hyperlink.

The <draw:a> element is usable within the following elements: <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:a> element has the following attributes: office:name 19.376.2, office:server-map 19.378, office:target-frame-name 19.381, office:title 19.383, xlink:actuate 19.909, xlink:href 19.910.8, xlink:show 19.911, xlink:type 19.913 and xml:id 19.914.

The <draw:a> element has the following child elements: <dr3d:scene> 10.5.2, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2 and <draw:regular-polygon> 10.3.6.

10.4.13Client Side Image Maps

10.4.13.1General

An client side image map is a collection of hyperlinks that are associated with graphic elements. The image map is a sequence of image map elements. Each image map element associates a hyperlink with an area. The area can be a rectangle, circle or polygon.

10.4.13.2<draw:image-map>

The <draw:image-map> element represents an image map.

Image map elements are specified as absolute positions relative to the original size of its associated graphical element. OpenDocument consumer shall scale the image map to match the current size of the image.

The <draw:image-map> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:image-map> element has no attributes.

The <draw:image-map> element has the following child elements: <draw:area-circle> 10.4.13.4, <draw:area-polygon> 10.4.13.5 and <draw:area-rectangle> 10.4.13.3.

10.4.13.3<draw:area-rectangle>

The <draw:area-rectangle> element specifies a rectangular image map area.

The <draw:area-rectangle> element is usable within the following element: <draw:image-map> 10.4.13.2.

The <draw:area-rectangle> element has the following attributes: draw:nohref 19.199, office:name 19.376.4, office:target-frame-name 19.381, svg:height 19.539.5, svg:width 19.571.7, svg:x 19.573.3, svg:y 19.577.3, xlink:href 19.910.12, xlink:show 19.911 and xlink:type 19.913.

The <draw:area-rectangle> element has the following child elements: <office:event-listeners> 10.3.19, <svg:desc> 10.3.18 and <svg:title> 10.3.17.

10.4.13.4<draw:area-circle>

The <draw:area-circle> element represents a circular image map area.

The <draw:area-circle> element is usable within the following element: <draw:image-map> 10.4.13.2.

The <draw:area-circle> element has the following attributes: draw:nohref 19.199, office:name 19.376.3, office:target-frame-name 19.381, svg:cx 19.524.1, svg:cy 19.525.1, svg:r 19.549.1, xlink:href 19.910.10, xlink:show 19.911 and xlink:type 19.913.

The <draw:area-circle> element has the following child elements: <office:event-listeners> 10.3.19, <svg:desc> 10.3.18 and <svg:title> 10.3.17.

10.4.13.5<draw:area-polygon>

The <draw:area-polygon> element specifies a polygonal image map area. A polygonal image map area has the following components:

Note: For more information about how to represent polygons, see <draw:polygon> 10.3.5.

The <draw:area-polygon> element is usable within the following element: <draw:image-map> 10.4.13.2.

The <draw:area-polygon> element has the following attributes: draw:nohref 19.199, draw:points 19.206, office:name 19.376.5, office:target-frame-name 19.381, svg:height 19.539.4, svg:viewBox 19.570, svg:width 19.571.6, svg:x 19.573.2, svg:y 19.577.2, xlink:href 19.910.11, xlink:show 19.911 and xlink:type 19.913.

The <draw:area-polygon> element has the following child elements: <office:event-listeners> 10.3.19, <svg:desc> 10.3.18 and <svg:title> 10.3.17.

10.53D Shapes

10.5.1General

3D shapes are used to define three-dimensional coordinate systems and geometrical figures within them. All OpenDocument 3D coordinate systems are right-handed. Geometry is represented by a tree of scenes. Each scene may contain zero or more 3D shapes, with a scene being a special case of shape. The root scene defines the world coordinate system. Each 3D shape may define a local coordinate system relative to its parent 3D scene.

10.5.2<dr3d:scene>

The <dr3d:scene> element is the only element that can contain three-dimensional shapes. Like the <draw:g> element it groups shapes, but it also defines the projection, lighting, and other rendering details for the shapes inside the scene.

The <dr3d:scene> element is usable within the following elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <dr3d:scene> element has the following attributes: dr3d:ambient-color 19.92, dr3d:distance 19.96, dr3d:focal-length 19.98, dr3d:lighting-mode 19.99.3, dr3d:projection 19.102, dr3d:shade-mode 19.103, dr3d:shadow-slant 19.104, dr3d:transform 19.107, dr3d:vpn 19.108, dr3d:vrp 19.109, dr3d:vup 19.110, draw:caption-id 19.115, draw:class-names 19.120, draw:id 19.187.3, draw:layer 19.189, draw:style-name 19.219.5, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:height 19.539.3, svg:width 19.571.5, svg:x 19.573.4, svg:y 19.577.4, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <dr3d:scene> element has the following child elements: <dr3d:cube> 10.5.4, <dr3d:extrude> 10.5.6, <dr3d:light> 10.5.3, <dr3d:rotate> 10.5.7, <dr3d:scene> 10.5.2, <dr3d:sphere> 10.5.5, <draw:glue-point> 10.3.16, <svg:desc> 10.3.18 and <svg:title> 10.3.17.

10.5.3<dr3d:light>

The <dr3d:light> element represents a light inside a scene.

Note: There may be several lights, but consumers may limit the number of lights per scene to 8.

The <dr3d:light> element is usable within the following elements: <chart:plot-area> 11.4 and <dr3d:scene> 10.5.2.

The <dr3d:light> element has the following attributes: dr3d:diffuse-color 19.94, dr3d:direction 19.95, dr3d:enabled 19.97 and dr3d:specular 19.106.

The <dr3d:light> element has no child elements.

10.5.4<dr3d:cube>

The <dr3d:cube> element represents a three-dimensional cube shape.

The <dr3d:cube> element is usable within the following element: <dr3d:scene> 10.5.2.

The <dr3d:cube> element has the following attributes: dr3d:max-edge 19.100, dr3d:min-edge 19.101, dr3d:transform 19.107, draw:class-names 19.120, draw:id 19.187.3, draw:layer 19.189, draw:style-name 19.219.2, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422 and xml:id 19.914.

The <dr3d:cube> element has no child elements.

10.5.5<dr3d:sphere>

The <dr3d:sphere> element represents a three-dimensional sphere shape.

The <dr3d:sphere> element is usable within the following element: <dr3d:scene> 10.5.2.

The <dr3d:sphere> element has the following attributes: dr3d:center 19.93, dr3d:size 19.105, dr3d:transform 19.107, draw:class-names 19.120, draw:id 19.187.3, draw:layer 19.189, draw:style-name 19.219.6, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422 and xml:id 19.914.

The <dr3d:sphere> element has no child elements.

10.5.6<dr3d:extrude>

The <dr3d:extrude> element represents a three-dimensional extruded object based on the given polygon. The 3D geometry is formed by extruding a polygon perpendicular to the plane of the given polygon by a depth (see dr3d:depth, 20.72), creating a front face, a back face and side faces. The side faces are formed by connecting all corresponding single edges of the front and back faces. When no depth is given, the polygon forms a shape without depth. The closing of the front face depends on the value of the dr3d:close-front attribute 20.71. The closing of the back face depends on the value of the dr3d:close-back attribute 20.70. The size of the back face can be relative to the size of the front face when the dr3d:back-scale attribute is used. The side faces defined by the extrusion of the shape are always closed.

The <dr3d:extrude> element is usable within the following element: <dr3d:scene> 10.5.2.

The <dr3d:extrude> element has the following attributes: dr3d:transform 19.107, draw:class-names 19.120, draw:id 19.187.3, draw:layer 19.189, draw:style-name 19.219.3, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:d 19.526, svg:viewBox 19.570 and xml:id 19.914.

The <dr3d:extrude> element has no child elements.

10.5.7<dr3d:rotate>

The <dr3d:rotate> element represents a three-dimensional rotation shape based on the given polygon. The 3D geometry is defined by rotating the XY-plane with the polygon around the Y-axis of the local coordinate system.  This rotation is linearly interpolated in the given number of steps (dr3d:horizontal-segments 20.78) around the given angle (dr3d:end-angle 20.77). The side faces are formed by connecting all corresponding single edges of a neighboring pairs of rotated polygons. By default, the rotation uses a full rotation (360 degrees, dr3d:end-angle attribute 20.77). In that case the 3D geometry is implicitly closed and no front face or back face is created (unless they are of different sizes). If the rotation is different, a front face is created using the first, unrotated polygon and a back face is created using the last rotated polygon. The closing of a front face also depends on the value of the dr3d:close-front attribute 20.71 and the closing of a back face on the value of the dr3d:close-back 20.70 attribute. The size of the back face can be different than the size of the front face when the dr3d:back-scale attribute 20.68 is used.

The <dr3d:rotate> element is usable within the following element: <dr3d:scene> 10.5.2.

The <dr3d:rotate> element has the following attributes: dr3d:transform 19.107, draw:class-names 19.120, draw:id 19.187.3, draw:layer 19.189, draw:style-name 19.219.4, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:d 19.526, svg:viewBox 19.570 and xml:id 19.914.

The <dr3d:rotate> element has no child elements.

10.6Custom Shape

10.6.1<draw:custom-shape>

The <draw:custom-shape> element represents a complex figure. It supports font geometry effects and extrusion. A custom shape may have a geometry that influences its shape.

The <draw:custom-shape> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:custom-shape> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:data 19.131, draw:engine 19.146, draw:id 19.187.3, draw:layer 19.189, draw:name 19.197.6, draw:style-name 19.219.11, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:height 19.539.8, svg:width 19.571.10, svg:x 19.573.5, svg:y 19.577.5, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:custom-shape> element has the following child elements: <draw:enhanced-geometry> 10.6.2, <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.6.2<draw:enhanced-geometry>

The <draw:enhanced-geometry> element contains the geometry for a <draw:custom-shape> element if its draw:engine attribute has been omitted.

The <draw:enhanced-geometry> element is usable within the following element: <draw:custom-shape> 10.6.1.

The <draw:enhanced-geometry> element has the following attributes: dr3d:projection 19.102, dr3d:shade-mode 19.103, draw:concentric-gradient-fill-allowed 19.124, draw:enhanced-path 19.145, draw:extrusion 19.148, draw:extrusion-allowed 19.149, draw:extrusion-brightness 19.150, draw:extrusion-color 19.151, draw:extrusion-depth 19.152, draw:extrusion-diffusion 19.153, draw:extrusion-first-light-direction 19.154, draw:extrusion-first-light-harsh 19.155, draw:extrusion-first-light-level 19.156, draw:extrusion-light-face 19.157, draw:extrusion-metal 19.158, draw:extrusion-number-of-line-segments 19.159, draw:extrusion-origin 19.160, draw:extrusion-rotation-angle 19.161, draw:extrusion-rotation-center 19.162, draw:extrusion-second-light-direction 19.163, draw:extrusion-second-light-harsh 19.164, draw:extrusion-second-light-level 19.165, draw:extrusion-shininess 19.166, draw:extrusion-skew 19.167, draw:extrusion-specularity 19.168, draw:extrusion-viewpoint 19.169, draw:glue-point-leaving-directions 19.173, draw:glue-points 19.175, draw:glue-point-type 19.174, draw:mirror-horizontal 19.192, draw:mirror-vertical 19.193, draw:modifiers 19.196, draw:path-stretchpoint-x 19.204, draw:path-stretchpoint-y 19.205, draw:text-areas 19.220, draw:text-path 19.221, draw:text-path-allowed 19.222, draw:text-path-mode 19.223, draw:text-path-same-letter-heights 19.224, draw:text-path-scale 19.225, draw:text-rotate-angle 19.226, draw:type 19.229.3 and svg:viewBox 19.570.

The <draw:enhanced-geometry> element has the following child elements: <draw:equation> 10.2.5 and <draw:handle> 10.6.3.

10.6.3<draw:handle>

The <draw:handle> element represents a single interaction handle for a drawing shape.

The <draw:handle> element is usable within the following element: <draw:enhanced-geometry> 10.6.2.

The <draw:handle> element has the following attributes: draw:handle-mirror-horizontal 19.176, draw:handle-mirror-vertical 19.177, draw:handle-polar 19.178, draw:handle-position 19.179, draw:handle-radius-range-maximum 19.180, draw:handle-radius-range-minimum 19.181, draw:handle-range-x-maximum 19.182, draw:handle-range-x-minimum 19.183, draw:handle-range-y-maximum 19.184, draw:handle-range-y-minimum 19.185 and draw:handle-switched 19.186.

The <draw:handle> element has no child elements.

10.7Presentation Shapes

Presentation shapes are shapes on a draw page that are part of a presentation page layout.16.41 They use styles with a style family value of presentation, unlike drawing shapes which use styles with a style family value of graphic. Presentation shapes can be empty, acting only as placeholders. If a draw page's presentation layout is changed, all presentation shapes contained in that draw page are adapted automatically.

Standard drawing shapes can also be used in presentations. The presentation:class attribute distinguishes presentation shapes from drawing shapes. Unlike presentation shapes, standard drawing shapes are not adapted if the presentation page layout is changed.

10.8Presentation Animations

10.8.1<presentation:animations>

The <presentation:animations> element is a container for animation effects. Animation effects are executed when a page represented by a <draw:page> 10.2.4 element containing this element is displayed.

A single shape may be the subject of multiple effects.

The <presentation:animations> element is usable within the following element: <draw:page> 10.2.4.

The <presentation:animations> element has no attributes.

The <presentation:animations> element has the following child elements: <presentation:animation-group> 10.8.9, <presentation:dim> 10.8.7, <presentation:hide-shape> 10.8.5, <presentation:hide-text> 10.8.6, <presentation:play> 10.8.8, <presentation:show-shape> 10.8.3 and <presentation:show-text> 10.8.4.

10.8.2<presentation:sound>

The <presentation:sound> element represents a sound.

The <presentation:sound> element is usable within the following elements: <presentation:dim> 10.8.7, <presentation:event-listener> 10.9.2, <presentation:hide-shape> 10.8.5, <presentation:hide-text> 10.8.6, <presentation:show-shape> 10.8.3, <presentation:show-text> 10.8.4 and <style:drawing-page-properties> 17.25.

The <presentation:sound> element has the following attributes: presentation:play-full 19.408, xlink:actuate 19.909, xlink:href 19.910.26, xlink:show 19.911, xlink:type 19.913 and xml:id 19.914.

The <presentation:sound> element has no child elements.

10.8.3<presentation:show-shape>

The <presentation:show-shape> element specifies when and how a shape becomes visible. Prior to execution of the effect defined by this element the shape containing it is invisible.

The <presentation:show-shape> element is usable within the following elements: <presentation:animation-group> 10.8.9 and <presentation:animations> 10.8.1.

The <presentation:show-shape> element has the following attributes: draw:shape-id 19.210, presentation:delay 19.391, presentation:direction 19.392, presentation:effect 19.394, presentation:path-id 19.405, presentation:speed 19.417 and presentation:start-scale 19.418.

The <presentation:show-shape> element has the following child element: <presentation:sound> 10.8.2.

10.8.4<presentation:show-text>

The <presentation:show-text> element defines an effect that makes text within a shape visible. Prior to execution of the effect defined by this element the shape and the text it contains are invisible.

The <presentation:show-text> element is usable within the following elements: <presentation:animation-group> 10.8.9 and <presentation:animations> 10.8.1.

The <presentation:show-text> element has the following attributes: draw:shape-id 19.210, presentation:delay 19.391, presentation:direction 19.392, presentation:effect 19.394, presentation:path-id 19.405, presentation:speed 19.417 and presentation:start-scale 19.418.

The <presentation:show-text> element has the following child element: <presentation:sound> 10.8.2.

10.8.5<presentation:hide-shape>

The <presentation:hide-shape> element specifies that a shape is invisible.

The <presentation:hide-shape> element is usable within the following elements: <presentation:animation-group> 10.8.9 and <presentation:animations> 10.8.1.

The <presentation:hide-shape> element has the following attributes: draw:shape-id 19.210, presentation:delay 19.391, presentation:direction 19.392, presentation:effect 19.394, presentation:path-id 19.405, presentation:speed 19.417 and presentation:start-scale 19.418.

The <presentation:hide-shape> element has the following child element: <presentation:sound> 10.8.2.

10.8.6<presentation:hide-text>

The <presentation:hide-text> element specifies an effect that makes text within a shape visible. Prior to execution of the effect specified by this element, the text contained inside a shape is invisible.

The <presentation:hide-text> element is usable within the following elements: <presentation:animation-group> 10.8.9 and <presentation:animations> 10.8.1.

The <presentation:hide-text> element has the following attributes: draw:shape-id 19.210, presentation:delay 19.391, presentation:direction 19.392, presentation:effect 19.394, presentation:path-id 19.405, presentation:speed 19.417 and presentation:start-scale 19.418.

The <presentation:hide-text> element has the following child element: <presentation:sound> 10.8.2.

10.8.7<presentation:dim>

The <presentation:dim> element specifies a fill color for a shape.

The <presentation:dim> element is usable within the following elements: <presentation:animation-group> 10.8.9 and <presentation:animations> 10.8.1.

The <presentation:dim> element has the following attributes: draw:color 19.122.3 and draw:shape-id 19.210.

The <presentation:dim> element has the following child element: <presentation:sound> 10.8.2.

10.8.8<presentation:play>

The <presentation:play> element specifies the presentation speed of animation of a shape.

The <presentation:play> element is usable within the following elements: <presentation:animation-group> 10.8.9 and <presentation:animations> 10.8.1.

The <presentation:play> element has the following attributes: draw:shape-id 19.210 and presentation:speed 19.417.

The <presentation:play> element has no child elements.

10.8.9<presentation:animation-group>

The <presentation:animation-group> element contains elements that specify multiple animation effects. Containment results in all effects occurring at the same time.

The <presentation:animation-group> element is usable within the following element: <presentation:animations> 10.8.1.

The <presentation:animation-group> element has no attributes.

The <presentation:animation-group> element has the following child elements: <presentation:dim> 10.8.7, <presentation:hide-shape> 10.8.5, <presentation:hide-text> 10.8.6, <presentation:play> 10.8.8, <presentation:show-shape> 10.8.3 and <presentation:show-text> 10.8.4.

10.9SMIL Presentation Animations

10.9.1General

SMIL based shape animations are specified for presentation documents. This type of animation can be used instead of that specified by <presentation:animations> elements if one of the following items is required:

An effect is a combination of one or more animation elements that animate a single shape and or a shape's paragraphs.

10.9.2<presentation:event-listener>

The <presentation:event-listener> element defines the trigger for a presentation event.

The <presentation:event-listener> element is usable within the following element: <office:event-listeners> 10.3.19.

The <presentation:event-listener> element has the following attributes: presentation:action 19.387, presentation:direction 19.392, presentation:effect 19.394, presentation:speed 19.417, presentation:start-scale 19.418, presentation:verb 19.428, script:event-name 19.429, xlink:actuate 19.909, xlink:href 19.910.25, xlink:show 19.911 and xlink:type 19.913.

The <presentation:event-listener> element has the following child element: <presentation:sound> 10.8.2.

10.9.3Presentation Document Content

10.9.3.1<presentation:header>

The <presentation:header> element defines a field that contains a header for a presentation. Which header field declaration is used is specified by the presentation:use-header-name attribute of the draw page where the field occurs. In a presentation shape inside a master page 19.389, the presentation:use-header-name attribute of the <draw:page> element for which the drawing shape is displayed is used.

Note: This field is mainly used inside master pages. Since its value may differ for the individual drawing pages that make use of a master page, the current field value is not available.

The <presentation:header> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <presentation:header> element has no attributes.

The <presentation:header> element has no child elements.

10.9.3.2<presentation:header-decl>

The <presentation:header-decl> element specifies the text of a header field.

The <presentation:header-decl> element is usable within the following element: <office:presentation> 3.6.

The <presentation:header-decl> element has the following attribute: presentation:name 19.401.

The <presentation:header-decl> element has no child elements.

The <presentation:header-decl> element has character data content.

10.9.3.3<presentation:footer>

The <presentation:footer> element defines a field that contains a footer for a presentation. Footer fields display a footer text specified in a footer field declaration. See 10.9.3.4. Which footer field declaration is used is specified by the presentation:use-footer-name attribute of the draw page where the field occurs. In a presentation drawing shape inside a master page 19.389, the presentation:use-footer-name attribute of the <draw:page> for which the drawing shape is displayed is used.

Note: This field is mainly used inside master pages. Since its value may differ for the individual drawing pages that make use of a master page, the current field value is not available.

The <presentation:footer> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <presentation:footer> element has no attributes.

The <presentation:footer> element has no child elements.

10.9.3.4<presentation:footer-decl>

The <presentation:footer-decl> element specifies the text of a footer field.

The <presentation:footer-decl> element is usable within the following element: <office:presentation> 3.6.

The <presentation:footer-decl> element has the following attribute: presentation:name 19.401.

The <presentation:footer-decl> element has no child elements.

The <presentation:footer-decl> element has character data content.

10.9.3.5<presentation:date-time>

The <presentation:date-time> element defines a field that contains the date/time text for a presentation. Date and time fields display a date/time text as specified in the date/time field declaration. See 10.9.3.6. Which date-time field declaration is used is specified by the presentation:use-date-time-name attribute of the draw page where the field occurs. In a presentation drawing shape inside a master page 19.389, the presentation:use-date-time-name attribute of the drawing page for which the drawing shape is displayed is used.

Note: This field is mainly used inside master pages. Since its value may differ for the individual drawing pages that make use of a master page, the current field value is not available.

The <presentation:date-time> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <presentation:date-time> element has no attributes.

The <presentation:date-time> element has no child elements.

10.9.3.6<presentation:date-time-decl>

The <presentation:date-time-decl> element specifies the text of a date-time field.

The <presentation:date-time-decl> element is usable within the following element: <office:presentation> 3.6.

The <presentation:date-time-decl> element has the following attributes: presentation:name 19.401, presentation:source 19.416 and style:data-style-name 19.469.2.

The <presentation:date-time-decl> element has no child elements.

The <presentation:date-time-decl> element has character data content.

10.9.3.7<presentation:settings>

The <presentation:settings> element is a container for the settings for a presentation in a document.

The <presentation:settings> element is usable within the following element: <office:presentation> 3.6.

The <presentation:settings> element has the following attributes: presentation:animations 19.388, presentation:endless 19.393, presentation:force-manual 19.395, presentation:full-screen 19.396, presentation:mouse-as-pen 19.399, presentation:mouse-visible 19.400, presentation:pause 19.406, presentation:show 19.413, presentation:show-end-of-presentation-slide 19.414, presentation:show-logo 19.415, presentation:start-page 19.419, presentation:start-with-navigator 19.420, presentation:stay-on-top 19.421 and presentation:transition-on-click 19.423.

The <presentation:settings> element has the following child element: <presentation:show> 10.9.3.8.

10.9.3.8<presentation:show>

The <presentation:show> element specifies the order in which pages are displayed during a presentation.

Note: The order of pages can be used to omit or repeat pages in a presentation.

The <presentation:show> element is usable within the following element: <presentation:settings> 10.9.3.7.

The <presentation:show> element has the following attributes: presentation:name 19.401 and presentation:pages 19.404.

The <presentation:show> element has no child elements.

11Chart Content

11.1<chart:chart>

The <chart:chart> element represents a chart.

The <chart:chart> element is usable within the following element: <office:chart> 3.8.

The <chart:chart> element has the following attributes: chart:class 19.15.1, chart:column-mapping 19.16, chart:row-mapping 19.26, chart:style-name 19.27, svg:height 19.539.1, svg:width 19.571.1, xlink:href 19.910.3, xlink:type 19.913 and xml:id 19.914.

The <chart:chart> element has the following child elements: <chart:footer> 11.2.3, <chart:legend> 11.3, <chart:plot-area> 11.4, <chart:subtitle> 11.2.2, <chart:title> 11.2.1 and <table:table> 9.1.2.

11.2Title, Subtitle and Footer

11.2.1<chart:title>

The <chart:title> element represents a title in a chart document.

The text of a title is specified by a child <text:p> element or a table:cell-range attribute. If a child <text:p> element and a table:cell-range attribute are both present, the text specified by the table:cell-range attribute is used as the title. By default, the content of a child <text:p> element is displayed as the title.

This element can also be a sub-element of <chart:axis>. 11.8 In that case the title is displayed beside the axis specified by the <chart:axis> element.

The <chart:title> element is usable within the following elements: <chart:axis> 11.8 and <chart:chart> 11.1.

The <chart:title> element has the following attributes: chart:style-name 19.27, svg:x 19.573.1, svg:y 19.577.1 and table:cell-range 19.592.

The <chart:title> element has the following child element: <text:p> 5.1.3.

11.2.2<chart:subtitle>

The <chart:subtitle> element represents a subtitle for a chart.

The text of a subtitle is specified by a child <text:p> element or a table:cell-range attribute. If a child <text:p> element and a table:cell-range attribute are both present, the text specified by the table:cell-range attribute is used as the subtitle. By default, the content of a child <text:p> element is displayed as the title.

The <chart:subtitle> element is usable within the following element: <chart:chart> 11.1.

The <chart:subtitle> element has the following attributes: chart:style-name 19.27, svg:x 19.573.1, svg:y 19.577.1 and table:cell-range 19.592.

The <chart:subtitle> element has the following child element: <text:p> 5.1.3.

11.2.3<chart:footer>

The <chart:footer> element represents a footer below a chart's plot area.

The text of a footer is specified by a child <text:p> element or a table:cell-range attribute. If a child <text:p> element and a table:cell-range attribute are both present, the text specified by the table:cell-range attribute is used as the footer. By default, the content of a child <text:p> element is displayed as the footer.

The <chart:footer> element is usable within the following element: <chart:chart> 11.1.

The <chart:footer> element has the following attributes: chart:style-name 19.27, svg:x 19.573.1, svg:y 19.577.1 and table:cell-range 19.592.

The <chart:footer> element has the following child element: <text:p> 5.1.3.

11.3<chart:legend>

The <chart:legend> element represents a legend for a chart. If there is no <chart:legend> element for a chart, no legend is displayed.

A legend contains a list of legend entries. Each entry consists of a graphical entry key and an entry text.

For circle and ring charts each legend entry represents an individual data point of the first series. The graphical entry key represents the visual appearance of a data point while the entry text is the category of the point.

 The categories to use are given as a list of labels defined by the <chart:categories> element at the x-axis. They are paired with matching data points in the order in which they appear.

For surface charts each graphic entry key represents the graphical appearance of the surface within a major interval of the altitude axis and the entry text represents the value range of that interval.

For all other chart types the legend entries represent the series of the chart. The graphical entry keys represent the visual appearance of each series while the entry texts contain the names of the series.

The legend may include additional entries for regression-curves and mean-value lines.

The <chart:legend> element may contain a <text:p> element. If present, it defines a title for the legend.

The <chart:legend> element is usable within the following element: <chart:chart> 11.1.

The <chart:legend> element has the following attributes: chart:legend-align 19.22, chart:legend-position 19.23, chart:style-name 19.27, style:legend-expansion 19.490, style:legend-expansion-aspect-ratio 19.491, svg:x 19.573.1 and svg:y 19.577.1.

The <chart:legend> element has the following child element: <text:p> 5.1.3.

11.4<chart:plot-area>

The <chart:plot-area> element represents a coordinate system in which data is plotted including defined axes.

The <chart:plot-area> element is usable within the following element: <chart:chart> 11.1.

The <chart:plot-area> element has the following attributes: chart:data-source-has-labels 19.17, chart:style-name 19.27, dr3d:ambient-color 19.92, dr3d:distance 19.96, dr3d:focal-length 19.98, dr3d:lighting-mode 19.99.2, dr3d:projection 19.102, dr3d:shade-mode 19.103, dr3d:shadow-slant 19.104, dr3d:transform 19.107, dr3d:vpn 19.108, dr3d:vrp 19.109, dr3d:vup 19.110, svg:height 19.539.2, svg:width 19.571.3, svg:x 19.573.1, svg:y 19.577.1, table:cell-range-address 19.593.6 and xml:id 19.914.

The <chart:plot-area> element has the following child elements: <chart:axis> 11.8, <chart:floor> 11.7, <chart:series> 11.11, <chart:stock-gain-marker> 11.19, <chart:stock-loss-marker> 11.20, <chart:stock-range-line> 11.21, <chart:wall> 11.6 and <dr3d:light> 10.5.3.

11.53D Plot Area

The plot area may be displayed as an 3D scene as specified in section 10.5.2. All 3D attributes that can be applied to the <dr3d:scene> element can be applied to the <chart:plot-area> element. This includes the dr3d:transform attribute that specifies the rotation of the three-dimensional plot area. 10.5.2 The <chart:plot-area> element may contain a <dr3d:light> element as specified in section 10.5.3.

11.6<chart:wall>

The <chart:wall> element specifies the wall of a chart. For two-dimensional charts, the wall spans the entire plot area. For three-dimensional charts, the wall consists of two perpendicular rectangles.

The svg:width attribute specifies the thickness of a wall for three-dimensional charts.

The <chart:wall> element is usable within the following element: <chart:plot-area> 11.4.

The <chart:wall> element has the following attributes: chart:style-name 19.27 and svg:width 19.571.4.

The <chart:wall> element has no child elements.

11.7<chart:floor>

The <chart:floor> element specifies the floor of a chart. For three-dimensional charts, the <chart:floor> element shall be present in addition to the <chart:wall> element.

The svg:width attribute specifies the thickness of the floor.

The <chart:floor> element is usable within the following element: <chart:plot-area> 11.4.

The <chart:floor> element has the following attributes: chart:style-name 19.27 and svg:width 19.571.2.

The <chart:floor> element has no child elements.

11.8<chart:axis>

The <chart:axis> element specifies an axis for a chart.

The <chart:axis> element is usable within the following element: <chart:plot-area> 11.4.

The <chart:axis> element has the following attributes: chart:dimension 19.18, chart:name 19.24 and chart:style-name 19.27.

The <chart:axis> element has the following child elements: <chart:categories> 11.9, <chart:grid> 11.10 and <chart:title> 11.2.1.

11.9<chart:categories>

The <chart:categories> element represents labels that are displayed on a category-axis.

This element may have a table:cell-range-address attribute that specifies a range from which category labels are taken. If this attribute or the <chart:categories> element itself is omitted, the chart:data-source-has-labels attribute of the <chart:plot-area> element should be evaluated for labels to display on a category-axis.

The <chart:categories> element is usable within the following element: <chart:axis> 11.8.

The <chart:categories> element has the following attribute: table:cell-range-address 19.593.2.

The <chart:categories> element has no child elements.

11.10<chart:grid>

The <chart:grid> element specifies a grid for an axis.

The <chart:grid> element is usable within the following element: <chart:axis> 11.8.

The <chart:grid> element has the following attributes: chart:class 19.15.2 and chart:style-name 19.27.

The <chart:grid> element has no child elements.

11.11<chart:series>

The <chart:series> element represents a data series in a chart. If the chart requires more input data, like it is the case for scatter and bubble charts, <chart:domain> sub-elements shall be defined that contain the cell range addresses of the corresponding data.

The <chart:series> element is usable within the following element: <chart:plot-area> 11.4.

The <chart:series> element has the following attributes: chart:attached-axis 19.13, chart:class 19.15.1, chart:label-cell-address 19.21, chart:style-name 19.27, chart:values-cell-range-address 19.28 and xml:id 19.914.

The <chart:series> element has the following child elements: <chart:data-label> 11.14, <chart:data-point> 11.13, <chart:domain> 11.12, <chart:error-indicator> 11.16, <chart:mean-value> 11.15 and <chart:regression-curve> 11.17.

11.12<chart:domain>

The <chart:domain> element specifies coordinate values required by particular chart types.

For scatter charts, one <chart:domain> element shall exist. Its table:cell-range-address attribute references the x-coordinate values for the scatter chart.

For bubble charts, two <chart:domain> elements shall exist. The values for the y-coordinates are given by the first <chart:domain> element. The values for the x-coordinates are given by the second <chart:domain> element.

For surface charts, up to two <chart:domain> elements are allowed to exist. The values for the y-coordinates are given by the first <chart:domain> element. The values for the x-coordinates are given by the second <chart:domain> element.

At least one <chart:series> element of a given chart:class shall have the necessary number of <chart:domain> sub-elements. All other <chart:series> elements with the same chart:class may omit the <chart:domain> sub-elements and use the previously defined values for that type of chart.

The <chart:domain> element is usable within the following element: <chart:series> 11.11.

The <chart:domain> element has the following attribute: table:cell-range-address 19.593.3.

The <chart:domain> element has no child elements.

11.13<chart:data-point>

The <chart:data-point> element specifies a style for a single data point in a data series.

Note: This element can be used if a single data point has a special or distinct appearance.

The <chart:data-point> element is usable within the following element: <chart:series> 11.11.

The <chart:data-point> element has the following attributes: chart:repeated 19.25, chart:style-name 19.27 and xml:id 19.914.

The <chart:data-point> element has the following child element: <chart:data-label> 11.14.

11.14<chart:data-label>

The <chart:data-label> element represents the data label of a data point.

The <chart:data-label> element can also be a sub-element of a data series. In that case, the data label serves as default for all the data points of this series.

The <chart:data-label> element is usable within the following elements: <chart:data-point> 11.13 and <chart:series> 11.11.

The <chart:data-label> element has the following attributes: chart:style-name 19.27, svg:x 19.573.1 and svg:y 19.577.1.

The <chart:data-label> element has the following child element: <text:p> 5.1.3.

11.15<chart:mean-value>

The <chart:mean-value> element specifies a style for a mean-value line.

The <chart:mean-value> element is usable within the following element: <chart:series> 11.11.

The <chart:mean-value> element has the following attribute: chart:style-name 19.27.

The <chart:mean-value> element has no child elements.

11.16<chart:error-indicator>

The <chart:error-indicator> element specifies a style for error-indicators.

The <chart:error-indicator> element is usable within the following element: <chart:series> 11.11.

The <chart:error-indicator> element has the following attributes: chart:dimension 19.18 and chart:style-name 19.27.

The <chart:error-indicator> element has no child elements.

11.17<chart:regression-curve>

The <chart:regression-curve> element specifies the properties of regression-lines.

The <chart:regression-curve> element is usable within the following element: <chart:series> 11.11.

The <chart:regression-curve> element has the following attribute: chart:style-name 19.27.

The <chart:regression-curve> element has the following child element: <chart:equation> 11.18.

11.18<chart:equation>

The <chart:equation> element represents the equation for a containing regression curve.

The <chart:equation> element is usable within the following element: <chart:regression-curve> 11.17.

The <chart:equation> element has the following attributes: chart:automatic-content 19.14, chart:display-equation 19.19, chart:display-r-square 19.20, chart:style-name 19.27, svg:x 19.573.1 and svg:y 19.577.1.

The <chart:equation> element has the following child element: <text:p> 5.1.3.

11.19<chart:stock-gain-marker>

The <chart:stock-gain-marker> element specifies a style for candlestick-bars in a stock chart that have a higher closing value than opening value.

The <chart:stock-gain-marker> element is usable within the following element: <chart:plot-area> 11.4.

The <chart:stock-gain-marker> element has the following attribute: chart:style-name 19.27.

The <chart:stock-gain-marker> element has no child elements.

11.20<chart:stock-loss-marker>

The <chart:stock-loss-marker> element specifies the style for candlestick-bars in a stock chart that have a lower closing value than opening value.

The <chart:stock-loss-marker> element is usable within the following element: <chart:plot-area> 11.4.

The <chart:stock-loss-marker> element has the following attribute: chart:style-name 19.27.

The <chart:stock-loss-marker> element has no child elements.

11.21<chart:stock-range-line>

The <chart:stock-range-line> element specifies a style for the range-lines in a stock chart. A range-line is a line connecting the minimum value with the maximum value.

The <chart:stock-range-line> element is usable within the following element: <chart:plot-area> 11.4.

The <chart:stock-range-line> element has the following attribute: chart:style-name 19.27.

The <chart:stock-range-line> element has no child elements.

12Database Front-end Document Content

12.1<office:database>

A <office:database> element is a container of database elements.

The <office:database> element is usable within the following element: <office:body> 3.3.

The <office:database> element has no attributes.

The <office:database> element has the following child elements: <db:data-source> 12.2, <db:forms> 12.25.2, <db:queries> 12.26, <db:reports> 12.25.3, <db:schema-definition> 12.36 and <db:table-representations> 12.32.

12.2<db:data-source>

A <db:data-source> element is a container for data source specific elements that are needed to create a connection to a database.

The <db:data-source> element is usable within the following element: <office:database> 12.1.

The <db:data-source> element has no attributes.

The <db:data-source> element has the following child elements: <db:application-connection-settings> 12.15, <db:connection-data> 12.3 and <db:driver-settings> 12.9.

12.3<db:connection-data>

The <db:connection-data> element specifies the information necessary to connect to a database.

The <db:connection-data> element is usable within the following element: <db:data-source> 12.2.

The <db:connection-data> element has no attributes.

The <db:connection-data> element has the following child elements: <db:connection-resource> 12.7, <db:database-description> 12.4 and <db:login> 12.8.

12.4<db:database-description>

The <db:database-description> element specifies a database resource by its type and access parameters.

The <db:database-description> element is usable within the following element: <db:connection-data> 12.3.

The <db:database-description> element has no attributes.

The <db:database-description> element has the following child elements: <db:file-based-database> 12.5 and <db:server-database> 12.6.

12.5<db:file-based-database>

The <db:file-based-database> element specifies a database which is composed of one or more files in an arbitrary file system.

The <db:file-based-database> element is usable within the following element: <db:database-description> 12.4.

The <db:file-based-database> element has the following attributes: db:extension 19.52, db:media-type 19.69, xlink:href 19.910.7 and xlink:type 19.913.

The <db:file-based-database> element has no child elements.

12.6<db:server-database>

The <db:server-database> element specifies connection information for a server-based database.

The <db:server-database> element is usable within the following element: <db:database-description> 12.4.

The <db:server-database> element has the following attributes: db:database-name 19.43, db:hostname 19.54, db:local-socket 19.67, db:port 19.72 and db:type 19.85.3.

The <db:server-database> element has no child elements.

12.7<db:connection-resource>

The <db:connection-resource> element specifies a database connection by an IRI.

The <db:connection-resource> element is usable within the following element: <db:connection-data> 12.3.

The <db:connection-resource> element has the following attributes: xlink:actuate 19.909, xlink:href 19.910.6, xlink:show 19.911 and xlink:type 19.913.

The <db:connection-resource> element has no child elements.

12.8<db:login>

The <db:login> element specifies the information needed to establish a connection to a database.

Note: For security reasons, the <db:login> element does not have an attribute to store a password that may be required to establish a connection.

The <db:login> element is usable within the following element: <db:connection-data> 12.3.

The <db:login> element has the following attributes: db:is-password-required 19.63, db:login-timeout 19.61, db:user-name 19.90 and db:use-system-user 19.89.

The <db:login> element has no child elements.

12.9<db:driver-settings>

The <db:driver-settings> element specifies settings for a driver establishing the database connection.

The <db:driver-settings> element is usable within the following element: <db:data-source> 12.2.

The <db:driver-settings> element has the following attributes: db:base-dn 19.35, db:is-first-row-header-line 19.60, db:parameter-name-substitution 19.71, db:show-deleted 19.78 and db:system-driver-settings 19.82.

The <db:driver-settings> element has the following child elements: <db:auto-increment> 12.10, <db:character-set> 12.12, <db:delimiter> 12.11 and <db:table-settings> 12.13.

12.10<db:auto-increment>

The <db:auto-increment> element specifies SQL statements to retrieve auto-generated row values and to set AUTO_INCREMENT values for columns.

The <db:auto-increment> element is usable within the following element: <db:driver-settings> 12.9.

The <db:auto-increment> element has the following attributes: db:additional-column-statement 19.31 and db:row-retrieving-statement 19.75.

The <db:auto-increment> element has no child elements.

12.11<db:delimiter>

The <db:delimiter> element defines a delimiter for parsing data.

The <db:delimiter> element is usable within the following elements: <db:driver-settings> 12.9 and <db:table-setting> 12.14.

The <db:delimiter> element has the following attributes: db:decimal 19.44, db:field 19.53, db:string 19.79 and db:thousand 19.83.

The <db:delimiter> element has no child elements.

12.12<db:character-set>

The <db:character-set> element defines the text encoding that is used to transform string data obtained from a database.

The <db:character-set> element is usable within the following elements: <db:driver-settings> 12.9 and <db:table-setting> 12.14.

The <db:character-set> element has the following attribute: db:encoding 19.50.

The <db:character-set> element has no child elements.

12.13<db:table-settings>

The <db:table-settings> element is a container for <db:table-setting> elements.

The <db:table-settings> element is usable within the following element: <db:driver-settings> 12.9.

The <db:table-settings> element has no attributes.

The <db:table-settings> element has the following child element: <db:table-setting> 12.14.

12.14<db:table-setting>

The <db:table-setting> element specifies driver-level settings which are used by a database driver for defining a single database table.

The <db:table-setting> element is usable within the following element: <db:table-settings> 12.13.

The <db:table-setting> element has the following attributes: db:is-first-row-header-line 19.60 and db:show-deleted 19.78.

The <db:table-setting> element has the following child elements: <db:character-set> 12.12 and <db:delimiter> 12.11.

12.15<db:application-connection-settings>

The <db:application-connection-settings> element specifies settings which define how a consumer uses a database connection.

The <db:application-connection-settings> element is usable within the following element: <db:data-source> 12.2.

The <db:application-connection-settings> element has the following attributes: db:append-table-alias-name 19.32, db:boolean-comparison-mode 19.36, db:enable-sql92-check 19.49, db:ignore-driver-privileges 19.55, db:is-table-name-length-limited 19.66, db:max-row-count 19.68, db:suppress-version-columns 19.81 and db:use-catalog 19.88.

The <db:application-connection-settings> element has the following child elements: <db:data-source-settings> 12.22, <db:table-filter> 12.16 and <db:table-type-filter> 12.20.

12.16<db:table-filter>

A <db:table-filter> element defines a list of filter patterns which are applied on the table names returned by a database. Only tables which match at least one include filter, and do not match any exclude filter, will be displayed.

The <db:table-filter> element is usable within the following element: <db:application-connection-settings> 12.15.

The <db:table-filter> element has no attributes.

The <db:table-filter> element has the following child elements: <db:table-exclude-filter> 12.18 and <db:table-include-filter> 12.17.

12.17<db:table-include-filter>

The <db:table-include-filter> element specifies a list of filter patterns which determine inclusion of tables in a consumer's table display.

The <db:table-include-filter> element is usable within the following element: <db:table-filter> 12.16.

The <db:table-include-filter> element has no attributes.

The <db:table-include-filter> element has the following child element: <db:table-filter-pattern> 12.19.

12.18<db:table-exclude-filter>

The <db:table-exclude-filter> element specifies a list of filter patterns which determine exclusion of tables in a consumer's table display.

The <db:table-exclude-filter> element is usable within the following element: <db:table-filter> 12.16.

The <db:table-exclude-filter> element has no attributes.

The <db:table-exclude-filter> element has the following child element: <db:table-filter-pattern> 12.19.

12.19<db:table-filter-pattern>

The <db:table-filter-pattern> element specifies a filter pattern.

The “%” (U+0025. PERCENT SIGN) character is used as wildcard.

The <db:table-filter-pattern> element is usable within the following elements: <db:table-exclude-filter> 12.18 and <db:table-include-filter> 12.17.

The <db:table-filter-pattern> element has no attributes.

The <db:table-filter-pattern> element has no child elements.

The <db:table-filter-pattern> element has content of data type string 18.2.

12.20<db:table-type-filter>

A <db:table-type-filter> element defines a list of table types which a database uses to filter tables.

The <db:table-type-filter> element is usable within the following element: <db:application-connection-settings> 12.15.

The <db:table-type-filter> element has no attributes.

The <db:table-type-filter> element has the following child element: <db:table-type> 12.21.

12.21<db:table-type>

The <db:table-type> element specifies a table type.

Note: Table types are database specific.

The <db:table-type> element is usable within the following element: <db:table-type-filter> 12.20.

The <db:table-type> element has no attributes.

The <db:table-type> element has no child elements.

The <db:table-type> element has content of data type string 18.2.

12.22<db:data-source-settings>

The <db:data-source-settings> element is a container element for <db:data-source-setting> elements.

The <db:data-source-settings> element is usable within the following element: <db:application-connection-settings> 12.15.

The <db:data-source-settings> element has no attributes.

The <db:data-source-settings> element has the following child element: <db:data-source-setting> 12.23.

12.23<db:data-source-setting>

The <db:data-source-setting> element specifies the name of a data-source-setting, a data-source-setting type, and whether a data-source-setting contains a list of data or single data.

The <db:data-source-setting> element is usable within the following element: <db:data-source-settings> 12.22.

The <db:data-source-setting> element has the following attributes: db:data-source-setting-is-list 19.39, db:data-source-setting-name 19.40 and db:data-source-setting-type 19.41.

The <db:data-source-setting> element has the following child element: <db:data-source-setting-value> 12.24.

12.24<db:data-source-setting-value>

The <db:data-source-setting-value> element specifies the content of a data-source-setting.

The <db:data-source-setting-value> element is usable within the following element: <db:data-source-setting> 12.23.

The <db:data-source-setting-value> element has no attributes.

The <db:data-source-setting-value> element has no child elements.

The <db:data-source-setting-value> element has content of data type string 18.2.

12.25Forms and Reports

12.25.1General

Database documents can contain forms and reports as sub documents. They're included in database front end documents by XLinks. Alternatively, the content of sub documents may be included in the <db:component> elements as child elements.

12.25.2<db:forms>

The <db:forms> element may contain <db:component> or <db:component-collection> elements or both. It specifies a list of form documents and sub collections.

The <db:forms> element is usable within the following element: <office:database> 12.1.

The <db:forms> element has no attributes.

The <db:forms> element has the following child elements: <db:component> 12.25.5 and <db:component-collection> 12.25.4.

12.25.3<db:reports>

The <db:reports> element may contain <db:component> or <db:component-collection> elements or both.  It specifies a list of report documents and sub collections.

The <db:reports> element is usable within the following element: <office:database> 12.1.

The <db:reports> element has no attributes.

The <db:reports> element has the following child elements: <db:component> 12.25.5 and <db:component-collection> 12.25.4.

12.25.4<db:component-collection>

The <db:component-collection> element specifies a collection of <db:component> elements and <db:component-collection> elements.

The <db:component-collection> element is usable within the following elements: <db:component-collection> 12.25.4, <db:forms> 12.25.2 and <db:reports> 12.25.3.

The <db:component-collection> element has the following attributes: db:description 19.48, db:name 19.70.5 and db:title 19.84.

The <db:component-collection> element has the following child elements: <db:component> 12.25.5 and <db:component-collection> 12.25.4.

12.25.5<db:component>

The <db:component> element specifies a database component which can be either a form or a report.

A database component is either referenced using the xlink:href attribute or it is contained in a child <office:document> or <math:math> element.

The <db:component> element is usable within the following elements: <db:component-collection> 12.25.4, <db:forms> 12.25.2 and <db:reports> 12.25.3.

The <db:component> element has the following attributes: db:as-template 19.34, db:description 19.48, db:name 19.70.4, db:title 19.84, xlink:actuate 19.909, xlink:href 19.910.5, xlink:show 19.911 and xlink:type 19.913.

The <db:component> element has the following child elements: <math:math> 14.5 and <office:document> 3.1.2.

12.26<db:queries>

The <db:queries> element may contain <db:query> or <db:query-collection> elements or both.

The <db:queries> element is usable within the following element: <office:database> 12.1.

The <db:queries> element has no attributes.

The <db:queries> element has the following child elements: <db:query> 12.28 and <db:query-collection> 12.27.

12.27<db:query-collection>

The <db:query-collection> element may contain <db:query> or <db:query-collection> elements or both.

The <db:query-collection> element is usable within the following elements: <db:queries> 12.26 and <db:query-collection> 12.27.

The <db:query-collection> element has the following attributes: db:description 19.48, db:name 19.70.11 and db:title 19.84.

The <db:query-collection> element has the following child elements: <db:query> 12.28 and <db:query-collection> 12.27.

12.28<db:query>

The <db:query> element specifies a database query.

The <db:query> element is usable within the following elements: <db:queries> 12.26 and <db:query-collection> 12.27.

The <db:query> element has the following attributes: db:command 19.38, db:default-row-style-name 19.46, db:description 19.48, db:escape-processing 19.51, db:name 19.70.10, db:style-name 19.80.3 and db:title 19.84.

The <db:query> element has the following child elements: <db:columns> 12.34, <db:filter-statement> 12.30, <db:order-statement> 12.29 and <db:update-table> 12.31.

12.29<db:order-statement>

The <db:order-statement> element specifies a sort ("ORDER BY") SQL clause which is to be applied on top of another SQL statement producing a result set.

The <db:order-statement> element is usable within the following elements: <db:query> 12.28 and <db:table-representation> 12.33.

The <db:order-statement> element has the following attributes: db:apply-command 19.33 and db:command 19.38.

The <db:order-statement> element has no child elements.

12.30<db:filter-statement>

The <db:filter-statement> element specifies a filter ("WHERE") SQL clause which is to be applied on top of another SQL-statement producing a result set.

The <db:filter-statement> element is usable within the following elements: <db:query> 12.28 and <db:table-representation> 12.33.

The <db:filter-statement> element has the following attributes: db:apply-command 19.33 and db:command 19.38.

The <db:filter-statement> element has no child elements.

12.31<db:update-table>

The <db:update-table> element specifies the name of the table which will be updated when an UPDATE, INSERT or DELETE SQL statement is executed. It defines the table which should be updated when the select statement contains more than one table.

The <db:update-table> element is usable within the following element: <db:query> 12.28.

The <db:update-table> element has the following attributes: db:catalog-name 19.37, db:name 19.70.14 and db:schema-name 19.77.

The <db:update-table> element has no child elements.

12.32<db:table-representations>

The <db:table-representations> element specifies a collection of tables.

The <db:table-representations> element is usable within the following element: <office:database> 12.1.

The <db:table-representations> element has no attributes.

The <db:table-representations> element has the following child element: <db:table-representation> 12.33.

12.33<db:table-representation>

A <db:table-representation> element specifies how a consumer displays a table to the user.

The <db:table-representation> element is usable within the following element: <db:table-representations> 12.32.

The <db:table-representation> element has the following attributes: db:catalog-name 19.37, db:default-row-style-name 19.46, db:description 19.48, db:name 19.70.13, db:schema-name 19.77, db:style-name 19.80.4 and db:title 19.84.

The <db:table-representation> element has the following child elements: <db:columns> 12.34, <db:filter-statement> 12.30 and <db:order-statement> 12.29.

12.34<db:columns>

The <db:columns> element is a collection of <db:column> elements.

The <db:columns> element is usable within the following elements: <db:query> 12.28 and <db:table-representation> 12.33.

The <db:columns> element has no attributes.

The <db:columns> element has the following child element: <db:column> 12.35.

12.35<db:column>

The <db:column> element specifies settings for a column.

The <db:column> element is usable within the following element: <db:columns> 12.34.

The <db:column> element has the following attributes: db:default-cell-style-name 19.45, db:description 19.48, db:name 19.70.2, db:style-name 19.80.2, db:title 19.84, db:visible 19.91, office:boolean-value 19.367, office:currency 19.369, office:date-value 19.370, office:string-value 19.379, office:time-value 19.382, office:value 19.384, office:value-type 19.385.

The <db:column> element has no child elements.

12.36<db:schema-definition>

The <db:schema-definition> element specifies a database schema.

The <db:schema-definition> element is usable within the following element: <office:database> 12.1.

The <db:schema-definition> element has no attributes.

The <db:schema-definition> element has the following child element: <db:table-definitions> 12.37.

12.37<db:table-definitions>

The <db:table-definitions> element is a container for multiple <db:table-definition> elements.

The <db:table-definitions> element is usable within the following element: <db:schema-definition> 12.36.

The <db:table-definitions> element has no attributes.

The <db:table-definitions> element has the following child element: <db:table-definition> 12.38.

12.38<db:table-definition>

The <db:table-definition> element specifies the schema of a single table.

The <db:table-definition> element is usable within the following element: <db:table-definitions> 12.37.

The <db:table-definition> element has the following attributes: db:catalog-name 19.37, db:name 19.70.12, db:schema-name 19.77 and db:type 19.85.4.

The <db:table-definition> element has the following child elements: <db:column-definitions> 12.39, <db:indices> 12.45 and <db:keys> 12.41.

12.39<db:column-definitions>

The <db:column-definitions> element is a container for <db:column-definition> elements.

The <db:column-definitions> element is usable within the following element: <db:table-definition> 12.38.

The <db:column-definitions> element has no attributes.

The <db:column-definitions> element has the following child element: <db:column-definition> 12.40.

12.40<db:column-definition>

The <db:column-definition> element defines a table column.

The <db:column-definition> element is usable within the following element: <db:column-definitions> 12.39.

The <db:column-definition> element has the following attributes: db:data-type 19.42, db:is-autoincrement 19.57, db:is-empty-allowed 19.59, db:is-nullable 19.62, db:name 19.70.3, db:precision 19.65, db:scale 19.76, db:type-name 19.86, office:boolean-value 19.367, office:currency 19.369, office:date-value 19.370, office:string-value 19.379, office:time-value 19.382, office:value 19.384, office:value-type 19.385.

The <db:column-definition> element has no child elements.

12.41<db:keys>

The <db:keys> element is a container for one or more <db:key> elements.

The <db:keys> element is usable within the following element: <db:table-definition> 12.38.

The <db:keys> element has no attributes.

The <db:keys> element has the following child element: <db:key> 12.42.

12.42<db:key>

The <db:key> element specifies a key for a table.

The <db:key> element is usable within the following element: <db:keys> 12.41.

The <db:key> element has the following attributes: db:delete-rule 19.47, db:name 19.70.8, db:referenced-table-name 19.73, db:type 19.85.2 and db:update-rule 19.87.

The <db:key> element has the following child element: <db:key-columns> 12.43.

12.43<db:key-columns>

The <db:key-columns> element specifies the columns of a key.

The <db:key-columns> element is usable within the following element: <db:key> 12.42.

The <db:key-columns> element has no attributes.

The <db:key-columns> element has the following child element: <db:key-column> 12.44.

12.44<db:key-column>

The <db:key-column> element specifies a description of a column of a table key

The <db:key-column> element is usable within the following element: <db:key-columns> 12.43.

The <db:key-column> element has the following attributes: db:name 19.70.9 and db:related-column-name 19.74.

The <db:key-column> element has no child elements.

12.45<db:indices>

The <db:indices> element defines the indexes of a table.

The <db:indices> element is usable within the following element: <db:table-definition> 12.38.

The <db:indices> element has no attributes.

The <db:indices> element has the following child element: <db:index> 12.46.

12.46<db:index>

The <db:index> element defines the types of indexes of a table.

The <db:index> element is usable within the following element: <db:indices> 12.45.

The <db:index> element has the following attributes: db:catalog-name 19.37, db:is-clustered 19.58, db:is-unique 19.64 and db:name 19.70.6.

The <db:index> element has the following child element: <db:index-columns> 12.47.

12.47<db:index-columns>

The <db:index-columns> element specifies the columns of an index.

The <db:index-columns> element is usable within the following element: <db:index> 12.46.

The <db:index-columns> element has no attributes.

The <db:index-columns> element has the following child element: <db:index-column> 12.48.

12.48<db:index-column>

The <db:index-column> element specifies the description of a column of a table index.

The <db:index-column> element is usable within the following element: <db:index-columns> 12.47.

The <db:index-column> element has the following attributes: db:is-ascending 19.56 and db:name 19.70.7.

The <db:index-column> element has no child elements.

13Form Content

13.1General

A form is a container for user interface controls.

Note: Buttons, text boxes, check boxes, and drop-down lists are user interface controls that can be contained in a form.

In the OpenDocument format, the following rules apply to user interface controls and forms:

Form behavior is defined for submission and connection to a data source only for forms defined by a <form:form> element.

The result set of values subject to the controls of the form is defined by the form:datasource, form:command, and form:command-type attributes. At any point in time, only one row of the result set is subject to the forms controls.

Form behavior is not defined for forms defined by a <xforms:model> element.

13.2<office:forms>

The <office:forms> element is a container for <form:form> or <xforms:model> elements.

The <office:forms> element is usable within the following elements: <draw:page> 10.2.4, <office:text> 3.4, <presentation:notes> 16.17, <style:master-page> 16.9 and <table:table> 9.1.2.

The <office:forms> element has the following attributes: form:apply-design-mode 19.250 and form:automatic-focus 19.253.

The <office:forms> element has the following child elements: <form:form> 13.3 and <xforms:model> 13.4.

13.3<form:form>

The <form:form> element specifies a user interface form and defines the contents and properties of the form.

The <form:form> element is usable within the following elements: <form:form> 13.3 and <office:forms> 13.2.

The <form:form> element has the following attributes: form:allow-deletes 19.247, form:allow-inserts 19.248, form:allow-updates 19.249, form:apply-filter 19.251, form:command 19.256, form:command-type 19.257, form:control-implementation 19.258, form:datasource 19.264, form:detail-fields 19.267, form:enctype 19.271, form:escape-processing 19.272, form:filter 19.273, form:ignore-result 19.277, form:master-fields 19.287, form:method 19.291, form:name 19.294, form:navigation-mode 19.295, form:order 19.296, form:tab-cycle 19.309, office:target-frame 19.380, xlink:actuate 19.909, xlink:href 19.910.22 and xlink:type 19.913.

The <form:form> element has the following child elements: <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:connection-resource> 7.6.2, <form:date> 13.5.8, <form:file> 13.5.5, <form:fixed-text> 13.5.10, <form:form> 13.3, <form:formatted-text> 13.5.6, <form:frame> 13.5.19, <form:generic-control> 13.5.25, <form:grid> 13.5.22, <form:hidden> 13.5.21, <form:image> 13.5.16, <form:image-frame> 13.5.20, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:properties> 13.7, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9, <form:value-range> 13.5.24 and <office:event-listeners> 10.3.19.

13.4<xforms:model>

The <xforms:model> element is imported from [XForms] and is embedded in the <office:forms> element. XForms consists of two major parts, the XForms model which contains the form logic plus form data, and XForms controls, which can be bound to a data model.

Controls defined by OpenDocument (see 13.5) may be bound to an XForms model by an xforms:bind attribute.

The <xforms:model> element has the attributes and content defined in §3.3.1 of [XForms].

The <xforms:model> element is usable within the following element: <office:forms> 13.2.

13.5Controls

13.5.1General

Controls are used to interact with forms. Each control in a form is identified by a name. The name of a control need not be unique in a form.

Controls are connected to the surrounding document (and its text flow, if applicable) by binding them to a shape that acts as a placeholder for the control. 10.3.13

In addition to the attributes defined in this standard, controls may have implementation-dependent attributes. Those attributes are stored in a <form:properties> element in each control. Control events are specified in a <office:event-listeners> element.

13.5.2<form:text>

The <form:text> element defines a control for displaying and inputting text on a single line.

The <form:text> element is usable within the following elements: <form:column> 13.5.23 and <form:form> 13.3.

The <form:text> element has the following attributes: form:control-implementation 19.258, form:convert-empty-to-null 19.259, form:current-value 19.262, form:data-field 19.263, form:disabled 19.268, form:id 19.276, form:linked-cell 19.283, form:max-length 19.288, form:name 19.294, form:printable 19.299, form:readonly 19.301, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316.5, xforms:bind 19.904 and xml:id 19.914.

The <form:text> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.3<form:textarea>

The <form:textarea> element defines a control for displaying and inputting text on multiple lines.

The <form:textarea> element may be used with plain text values (specified by the form:current-value attribute) as well as with formatted text (specified as paragraph content). If both a form:current-value attribute and one or more <text:p> elements are present,  , it is implementation dependent which text is used.

The <form:textarea> element is usable within the following elements: <form:column> 13.5.23 and <form:form> 13.3.

The <form:textarea> element has the following attributes: form:control-implementation 19.258, form:convert-empty-to-null 19.259, form:current-value 19.262, form:data-field 19.263, form:disabled 19.268, form:id 19.276, form:linked-cell 19.283, form:max-length 19.288, form:name 19.294, form:printable 19.299, form:readonly 19.301, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316.5, xforms:bind 19.904 and xml:id 19.914.

The <form:textarea> element has the following child elements: <form:properties> 13.7, <office:event-listeners> 10.3.19 and <text:p> 5.1.3.

13.5.4<form:password>

The <form:password> element defines a control that hides text a user inputs using an echo character.

The <form:password> element is usable within the following element: <form:form> 13.3.

The <form:password> element has the following attributes: form:control-implementation 19.258, form:convert-empty-to-null 19.259, form:disabled 19.268, form:echo-char 19.270, form:id 19.276, form:linked-cell 19.283, form:max-length 19.288, form:name 19.294, form:printable 19.299, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316.5, xforms:bind 19.904 and xml:id 19.914.

The <form:password> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.5<form:file>

The <form:file> element defines a control for selecting a file.

The <form:file> element is usable within the following element: <form:form> 13.3.

The <form:file> element has the following attributes: form:control-implementation 19.258, form:current-value 19.262, form:disabled 19.268, form:id 19.276, form:linked-cell 19.283, form:max-length 19.288, form:name 19.294, form:printable 19.299, form:readonly 19.301, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316.5, xforms:bind 19.904 and xml:id 19.914.

The <form:file> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.6<form:formatted-text>

The <form:formatted-text> element defines a control for inputting text, which follows the format defined by a data style that is assigned to the control's graphical shape.

The <form:formatted-text> element is usable within the following elements: <form:column> 13.5.23 and <form:form> 13.3.

The <form:formatted-text> element has the following attributes: form:control-implementation 19.258, form:convert-empty-to-null 19.259, form:current-value 19.262, form:data-field 19.263, form:delay-for-repeat 19.266, form:disabled 19.268, form:id 19.276, form:linked-cell 19.283, form:max-length 19.288, form:max-value 19.289.3, form:min-value 19.290.3, form:name 19.294, form:printable 19.299, form:readonly 19.301, form:repeat 19.302, form:spin-button 19.306, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:validation 19.315, form:value 19.316.5, xforms:bind 19.904 and xml:id 19.914.

The <form:formatted-text> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.7<form:number>

The <form:number> element defines a control which allows the user to enter a floating point number.

The <form:number> element is usable within the following elements: <form:column> 13.5.23 and <form:form> 13.3.

The <form:number> element has the following attributes: form:control-implementation 19.258, form:convert-empty-to-null 19.259, form:current-value 19.262, form:data-field 19.263, form:delay-for-repeat 19.266, form:disabled 19.268, form:id 19.276, form:linked-cell 19.283, form:max-length 19.288, form:max-value 19.289.4, form:min-value 19.290.4, form:name 19.294, form:printable 19.299, form:readonly 19.301, form:repeat 19.302, form:spin-button 19.306, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316.4, xforms:bind 19.904 and xml:id 19.914.

The <form:number> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.8<form:date>

The <form:date> element defines a control for inputting date data.

The <form:date> element is usable within the following elements: <form:column> 13.5.23 and <form:form> 13.3.

The <form:date> element has the following attributes: form:control-implementation 19.258, form:convert-empty-to-null 19.259, form:current-value 19.262, form:data-field 19.263, form:delay-for-repeat 19.266, form:disabled 19.268, form:id 19.276, form:linked-cell 19.283, form:max-length 19.288, form:max-value 19.289.2, form:min-value 19.290.2, form:name 19.294, form:printable 19.299, form:readonly 19.301, form:repeat 19.302, form:spin-button 19.306, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316.3, xforms:bind 19.904 and xml:id 19.914.

The <form:date> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.9<form:time>

The <form:time> element defines a control for inputting time data.

The <form:time> element is usable within the following elements: <form:column> 13.5.23 and <form:form> 13.3.

The <form:time> element has the following attributes: form:control-implementation 19.258, form:convert-empty-to-null 19.259, form:current-value 19.262, form:data-field 19.263, form:delay-for-repeat 19.266, form:disabled 19.268, form:id 19.276, form:linked-cell 19.283, form:max-length 19.288, form:max-value 19.289.5, form:min-value 19.290.5, form:name 19.294, form:printable 19.299, form:readonly 19.301, form:repeat 19.302, form:spin-button 19.306, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316.6, xforms:bind 19.904 and xml:id 19.914.

The <form:time> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.10<form:fixed-text>

The <form:fixed-text> element defines a control which attaches additional information to controls, or displays information. Only one label may be associated with a control.

The <form:fixed-text> element is usable within the following element: <form:form> 13.3.

The <form:fixed-text> element has the following attributes: form:control-implementation 19.258, form:disabled 19.268, form:for 19.275, form:id 19.276, form:label 19.282, form:multi-line 19.292, form:name 19.294, form:printable 19.299, form:title 19.313, xforms:bind 19.904 and xml:id 19.914.

The <form:fixed-text> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.11<form:combobox>

The <form:combobox> element defines a control which allows displaying and editing of text, and contains a list of possible values for that text.

The <form:combobox> element is usable within the following elements: <form:column> 13.5.23 and <form:form> 13.3.

The <form:combobox> element has the following attributes: form:auto-complete 19.252, form:control-implementation 19.258, form:convert-empty-to-null 19.259, form:current-value 19.262, form:data-field 19.263, form:disabled 19.268, form:dropdown 19.269, form:id 19.276, form:linked-cell 19.283, form:list-source 19.285, form:list-source-type 19.286, form:max-length 19.288, form:name 19.294, form:printable 19.299, form:readonly 19.301, form:size 19.304, form:source-cell-range 19.305, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316.5, xforms:bind 19.904 and xml:id 19.914.

The <form:combobox> element has the following child elements: <form:item> 13.5.12, <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.12<form:item>

The <form:item> element defines a list item for a <form:combobox> control.

The <form:item> element is usable within the following element: <form:combobox> 13.5.11.

The <form:item> element has the following attribute: form:label 19.282.

The <form:item> element has no child elements.

The <form:item> element has character data content.

13.5.13<form:listbox>

The <form:listbox> element defines an input control that allows a user to select one or more items from a list. It is an alternative representation for a group of radio buttons.

The <form:listbox> element is usable within the following elements: <form:column> 13.5.23 and <form:form> 13.3.

The <form:listbox> element has the following attributes: form:bound-column 19.254, form:control-implementation 19.258, form:data-field 19.263, form:disabled 19.268, form:dropdown 19.269, form:id 19.276, form:linked-cell 19.283, form:list-linkage-type 19.284, form:list-source 19.285, form:list-source-type 19.286, form:multiple 19.293, form:name 19.294, form:printable 19.299, form:size 19.304, form:source-cell-range 19.305, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:xforms-list-source 19.318, xforms:bind 19.904 and xml:id 19.914.

The <form:listbox> element has the following child elements: <form:option> 13.5.14, <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.14<form:option>

The <form:option> element defines a list item for a <form:listbox> control.

The <form:option> element is usable within the following element: <form:listbox> 13.5.13.

The <form:option> element has the following attributes: form:current-selected 19.260, form:label 19.282, form:selected 19.303 and form:value 19.316.5.

The <form:option> element has no child elements.

The <form:option> element has character data content.

13.5.15<form:button>

The <form:button> element defines a button.

The <form:button> element is usable within the following element: <form:form> 13.3.

The <form:button> element has the following attributes: form:button-type 19.255, form:control-implementation 19.258, form:default-button 19.265, form:delay-for-repeat 19.266, form:disabled 19.268, form:focus-on-click 19.274, form:id 19.276, form:image-align 19.278, form:image-data 19.279, form:image-position 19.280, form:label 19.282, form:name 19.294, form:printable 19.299, form:repeat 19.302, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:toggle 19.314, form:value 19.316.2, form:xforms-submission 19.319, office:target-frame 19.380, xforms:bind 19.904, xlink:href 19.910.19 and xml:id 19.914.

The <form:button> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.16<form:image>

The <form:image> element defines a graphical button control.

Note: HTML 4.01 only allows the button type to be “submit” for an image button. In OpenDocument, an image button can be of any type.

The <form:image> element is usable within the following element: <form:form> 13.3.

The <form:image> element has the following attributes: form:button-type 19.255, form:control-implementation 19.258, form:disabled 19.268, form:id 19.276, form:image-data 19.279, form:name 19.294, form:printable 19.299, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316.5, office:target-frame 19.380, xforms:bind 19.904, xlink:href 19.910.21 and xml:id 19.914.

The <form:image> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.17<form:checkbox>

The <form:checkbox> element defines an on/off control. The control is on when the value of the form:current-state attribute associated with the control element is checked.

The <form:checkbox> element is usable within the following elements: <form:column> 13.5.23 and <form:form> 13.3.

The <form:checkbox> element has the following attributes: form:control-implementation 19.258, form:current-state 19.261, form:data-field 19.263, form:disabled 19.268, form:id 19.276, form:image-align 19.278, form:image-position 19.280, form:is-tristate 19.281, form:label 19.282, form:linked-cell 19.283, form:name 19.294, form:printable 19.299, form:state 19.307, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316.5, form:visual-effect 19.317, xforms:bind 19.904 and xml:id 19.914.

The <form:checkbox> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.18<form:radio>

The <form:radio> element defines a control which acts like a check box except that when multiple radio buttons belong to the same group they are mutually exclusive. When one button is on, all of the other buttons with the same name are off. If no radio button is defined to be initially on, it is undefined which radio button is initially on.

Radio buttons are defined to belong to the same group if they have the same control name, as specified by their form:name attribute.

If a group of radio buttons is bound to one database field, and a user selects any given button, the reference value of the selected radio button is written into its database field.

The <form:radio> element is usable within the following element: <form:form> 13.3.

The <form:radio> element has the following attributes: form:control-implementation 19.258, form:current-selected 19.260, form:data-field 19.263, form:disabled 19.268, form:id 19.276, form:image-align 19.278, form:image-position 19.280, form:label 19.282, form:linked-cell 19.283, form:name 19.294, form:printable 19.299, form:selected 19.303, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316.5, form:visual-effect 19.317, xforms:bind 19.904 and xml:id 19.914.

The <form:radio> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.19<form:frame>

The <form:frame> element defines a frame in which controls may be visually arranged.

The <form:frame> element is usable within the following element: <form:form> 13.3.

The <form:frame> element has the following attributes: form:control-implementation 19.258, form:disabled 19.268, form:for 19.275, form:id 19.276, form:label 19.282, form:name 19.294, form:printable 19.299, form:title 19.313, xforms:bind 19.904 and xml:id 19.914.

The <form:frame> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.20<form:image-frame>

The <form:image-frame> element defines a graphical control. The control displays an image, whose location is described in the control.

The <form:image-frame> element is usable within the following element: <form:form> 13.3.

The <form:image-frame> element has the following attributes: form:control-implementation 19.258, form:data-field 19.263, form:disabled 19.268, form:id 19.276, form:image-data 19.279, form:name 19.294, form:printable 19.299, form:readonly 19.301, form:title 19.313, xforms:bind 19.904 and xml:id 19.914.

The <form:image-frame> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.21<form:hidden>

The <form:hidden> element defines a control that does not have a visual representation.

Note: A control without visual representation can be used for information not displayed to the user but is submitted as part of a form.

The <form:hidden> element is usable within the following element: <form:form> 13.3.

The <form:hidden> element has the following attributes: form:control-implementation 19.258, form:id 19.276, form:name 19.294, form:value 19.316.5, xforms:bind 19.904 and xml:id 19.914.

The <form:hidden> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.22<form:grid>

The <form:grid> element defines a control that displays table data.

Each column in the grid is specified by a <form:column> element.

The <form:grid> element is usable within the following element: <form:form> 13.3.

The <form:grid> element has the following attributes: form:control-implementation 19.258, form:disabled 19.268, form:id 19.276, form:name 19.294, form:printable 19.299, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, xforms:bind 19.904 and xml:id 19.914.

The <form:grid> element has the following child elements: <form:column> 13.5.23, <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.23<form:column>

The <form:column> element defines a column in a grid control.

The <form:column> element is usable within the following element: <form:grid> 13.5.22.

The <form:column> element has the following attributes: form:control-implementation 19.258, form:label 19.282, form:name 19.294 and form:text-style-name 19.312.

The <form:column> element has the following child elements: <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:formatted-text> 13.5.6, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:text> 13.5.2, <form:textarea> 13.5.3 and <form:time> 13.5.9.

13.5.24<form:value-range>

The <form:value-range> element defines a control which allows the user to select a value from a number range.

The <form:value-range> element is usable within the following element: <form:form> 13.3.

The <form:value-range> element has the following attributes: form:control-implementation 19.258, form:delay-for-repeat 19.266, form:disabled 19.268, form:id 19.276, form:linked-cell 19.283, form:max-value 19.289.4, form:min-value 19.290.4, form:name 19.294, form:orientation 19.297, form:page-step-size 19.298, form:printable 19.299, form:repeat 19.302, form:step-size 19.308, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316.4, xforms:bind 19.904 and xml:id 19.914.

The <form:value-range> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.25<form:generic-control>

The <form:generic-control> element defines an implementation-defined placeholder for a generic control. The generic control can contain any properties and any events.

The <form:generic-control> element is usable within the following element: <form:form> 13.3.

The <form:generic-control> element has the following attributes: form:control-implementation 19.258, form:id 19.276, form:name 19.294, xforms:bind 19.904 and xml:id 19.914.

The <form:generic-control> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.6Event Listeners

Forms and form controls may have event listeners attached. The event listeners that are attached to a control are represented by an event listener element as described in section 14.4. This element is contained within form or form control elements.,

Section 19.429 contains guidelines for event names that may be used within forms and form controls. In addition to those, the events listed in Table 9 may be used in forms and form controls.

Table 9 - Form control event names

Value of script:event-name Attribute

Applies To

Description of Event

form:approveaction

Button or image.

Occurs before an “on perform action” event takes place. Allows a user to veto an action.

form:performaction

Button or image.

Occurs when the control action is to be performed. The common interpretation of this event is “pressing the button”.

form:textchange

All controls that allow text input.

Occurs when a user changes the text in a control.

form:itemstatechange

Check box or radio button.

Occurs when the state of a check box or radio button changes.

form:mousedrag

All controls.

Occurs when a user presses and holds one of the mouse buttons and moves the mouse pointer onto a control.

form:approvereset

same objects as for form:on-reset

Occurs before an “on-reset” event takes place. Allows a user to veto a reset event.

form:approveupdate

All controls that can be bound to a database field, that is controls that contain the data-field attribute.

Occurs before an “on update” event takes place. Allows a user to veto an update.

form:update

All controls that can be bound to a database field, that is controls that contain the data-field attribute.

Occurs when the content of a control that is bound to a database field is committed.

form:load

Forms.

Occurs when a form establishes a connection to the data source.

form:startreload

Forms.

Occurs when a form is about to refresh a data source connection.

form:reload

Forms.

Occurs when a form has refreshed a data source connection.

form:startunload

Forms.

Occurs when a form is about to drop a data source connection.

form:unload

Forms.

Occurs when a form has dropped a data source connection.

form:confirmdelete

Forms.

Occurs when a user is about to delete a record.

form:approverowchange

Forms.

Occurs before an “on row change” event takes place. Allows a user to veto a change.

form:rowchange

Forms.

Occurs after changes to a row are complete.

form:approvecursormove

Forms.

Occurs before a form is moved to another row. Allows a user to veto a move.

form:cursormove

Forms.

Occurs after a form is moved to another row.

form:supplyparameter

Forms.

Occurs when a form asks for parameters to connect to a data source.

form:error

Forms, combo boxes and list boxes.

Occurs when a database-related error occurs.

form:adjust

Value Range

Occurs when the value of a Value Range element has been adjusted.

13.7<form:properties>

The <form:properties> element is a container for <form:property> and <form:list-property> elements.

The <form:properties> element is usable within the following elements: <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:fixed-text> 13.5.10, <form:form> 13.3, <form:formatted-text> 13.5.6, <form:frame> 13.5.19, <form:generic-control> 13.5.25, <form:grid> 13.5.22, <form:hidden> 13.5.21, <form:image> 13.5.16, <form:image-frame> 13.5.20, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9 and <form:value-range> 13.5.24.

The <form:properties> element has no attributes.

The <form:properties> element has the following child elements: <form:list-property> 13.9 and <form:property> 13.8.

13.8<form:property>

The <form:property> element defines the name, type and value of a property.

The <form:property> element is usable within the following element: <form:properties> 13.7.

The <form:property> element has the following attributes: form:property-name 19.300, office:boolean-value 19.367, office:currency 19.369, office:date-value 19.370, office:string-value 19.379, office:time-value 19.382, office:value 19.384, office:value-type 19.385.

The <form:property> element has no child elements.

13.9<form:list-property>

The <form:list-property> element container for <form:list-value> elements.

The <form:list-property> element has an office:value-type attribute (19.385) that acts as a constraint on the attributes that may appear on its child <form:list-value> element.

The <form:list-property> element is usable within the following element: <form:properties> 13.7.

The <form:list-property> element has the following attributes: form:property-name 19.300, office:value-type 19.385.

The <form:list-property> element has the following child elements: <form:list-value> 13.10.

13.10<form:list-value>

The list value element contains value attributes for the value type given in the containing <form:list-property> element.

The <form:list-value> element is usable within the following element: <form:list-property> 13.9.

The <form:list-value> element has the following attributes: office:boolean-value 19.367, office:currency 19.369, office:date-value 19.370, office:string-value 19.379, office:time-value 19.382, office:value 19.384.

The <form:list-value> element has no child elements.

14Common Content

14.1<office:annotation>

The <office:annotation> element specifies an OpenDocument annotation. The annotation's text is contained in <text:p> and <text:list> elements.

The <office:annotation> element is usable within the following elements: <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <office:annotation> element has the following attributes: draw:caption-point-x 19.116, draw:caption-point-y 19.117, draw:class-names 19.120, draw:corner-radius 19.127, draw:id 19.187.3, draw:layer 19.189, draw:name 19.197.28, draw:style-name 19.219.24, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, office:display 19.374, office:name 19.376.6, presentation:class-names 19.390, presentation:style-name 19.422, svg:height 19.539.9, svg:width 19.571.11, svg:x 19.573.7, svg:y 19.577.7, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <office:annotation> element has the following child elements: <dc:creator> 4.3.2.7, <dc:date> 4.3.2.10, <meta:date-string> 14.3, <text:list> 5.3.1 and <text:p> 5.1.3.

14.2<office:annotation-end>

The <office:annotation-end> element may be used to define the end of a text range of document content that spans element boundaries. In that case, an <office:annotation> element shall precede the <office:annotation-end> element. Both elements shall have the same value for their office:name attribute.

The <office:annotation-end> element shall be preceded by an <office:annotation> element that has the same value for its office:name attribute as the <office:annotation-end> element.

An <office:annotation-end> element without a preceding <office:annotation> element that has the same name assigned is ignored.

The <office:annotation-end> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <office:annotation-end> element has the following attribute: office:name 19.376.7.

The <office:annotation-end> element has no child elements.

14.3<meta:date-string>

The <meta:date-string> element contains a date that is of type string and not a date type. This value is used only for display as entered.

The <meta:date-string> element is usable within the following element: <office:annotation> 14.1.

The <meta:date-string> element has no attributes.

The <meta:date-string> element has no child elements.

The <meta:date-string> element has content of data type string 18.2.

14.4Event Listener Tables

14.4.1General

Controls, images, text boxes, or an entire document can support events. An event binds the occurrence of a condition to an action that is executed if the condition arises.

Events are represented as follows:

14.4.2<script:event-listener>

The <script:event-listener> element binds an event to a macro.

The <script:event-listener> element is usable within the following element: <office:event-listeners> 10.3.19.

The <script:event-listener> element has the following attributes: script:event-name 19.429, script:language 19.430, script:macro-name 19.431, xlink:actuate 19.909, xlink:href 19.910.27 and xlink:type 19.913.

The <script:event-listener> element has no child elements.

14.4.3Event Types

Event types are implementation-defined. See 19.429.

14.4.4Macro Name and Location

Macro code for an event may be specified by either an xlink:href attribute as an IRI, or a script:macro-name attribute by name. Macro names and applicable IRI schemes are script language dependent.

14.5<math:math>

The <math:math> element serves as a container for content defined by the MathML 2.0 standard. See [MathML].

The <math:math> element is usable within the following elements: <db:component> 12.25.5 and <draw:object> 10.4.6.2.

14.6DDE Connections

14.6.1General

A Dynamic Data Exchange (DDE) connection consists of parameters for a DDE target application, a file name, and a command string. A DDE connection also takes a parameter that specifies whether it will be updated automatically or only on the user's request. Every DDE connection shall be named.

All elements making use of DDE connections shall contain their content (or its presentation), so that documents using DDE can still be properly displayed on machines which do not support the DDE mechanism, or where the DDE target is not available. Consumers should preserve the DDE connection information even if they cannot make use of it.

Note: DDE only is available on some operating systems. In order to create portable documents, authors are advised to use this feature in their documents with great care.

14.6.2<text:dde-connection-decls>

The <text:dde-connection-decls> element is a container element for <text:dde-connection-decl> elements in text documents.

The <text:dde-connection-decls> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10 and <style:header-left> 16.12.

The <text:dde-connection-decls> element has no attributes.

The <text:dde-connection-decls> element has the following child element: <text:dde-connection-decl> 14.6.3.

14.6.3<text:dde-connection-decl>

The <text:dde-connection-decl> element defines a DDE connection for use in DDE text fields. Multiple DDE fields can refer to one DDE connection by using the same name.

The <text:dde-connection-decl> element is usable within the following element: <text:dde-connection-decls> 14.6.2.

The <text:dde-connection-decl> element has the following attributes: office:automatic-update 19.366, office:dde-application 19.371, office:dde-item 19.372, office:dde-topic 19.373 and office:name 19.376.10.

The <text:dde-connection-decl> element has no child elements.

14.6.4<table:dde-link>

The <table:dde-link> element contains DDE source data for use in spreadsheet formulas. It contains a <office:dde-source> element and a simple table element that may be used to cache the data of a DDE source. The table does not need a name and does not contain style information. Only the data contained in the cell attributes is used. The cells themselves remain empty.

The <table:dde-link> element is usable within the following element: <table:dde-links> 9.8.

The <table:dde-link> element has no attributes.

The <table:dde-link> element has the following child elements: <office:dde-source> 14.6.5 and <table:table> 9.1.2.

14.6.5<office:dde-source>

The <office:dde-source> element defines a DDE connection.

If the element is a child element of a <table:table> element, the <office:dde-source> element specifies that the table is linked through DDE along the connection data.

If the element is a child element of a <text:section> element, the <office:dde-source> element specifies that the text section is linked through DDE along the connection data.

If the element is a child element of a <table:dde-link> element, the <office:dde-source> element specifies the connection data for a DDE link that can be used in spreadsheet formulas.

The <office:dde-source> element is usable within the following elements: <table:dde-link> 14.6.4, <table:table> 9.1.2 and <text:section> 5.4.

The <office:dde-source> element has the following attributes: office:automatic-update 19.366, office:conversion-mode 19.368, office:dde-application 19.371, office:dde-item 19.372, office:dde-topic 19.373 and office:name 19.376.8.

The <office:dde-source> element has no child elements.

15SMIL Animations

15.1General

This section specifies [SMIL20] based elements and attributes that can be used within the OpenDocument format for animation effects.

15.2Basic Animation Elements

15.2.1General

The animation elements are based upon §3.5 and §12.5 of [SMIL20], and section §19.2 of [SVG].

15.2.2<anim:animate>

 See §3.5.1 of [SMIL20].

The <anim:animate> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:animate> element has the following attributes: anim:formula 19.6, anim:sub-item 19.11, smil:accelerate 19.432, smil:accumulate 19.433, smil:additive 19.434, smil:attributeName 19.435, smil:autoReverse 19.436, smil:begin 19.437, smil:by 19.438, smil:calcMode 19.439, smil:decelerate 19.440, smil:dur 19.442, smil:end 19.443, smil:fill 19.446, smil:fillDefault 19.447, smil:from 19.448, smil:keySplines 19.449, smil:keyTimes 19.450, smil:repeatCount 19.452, smil:repeatDur 19.453, smil:restart 19.454, smil:restartDefault 19.455, smil:targetElement 19.457, smil:to 19.458 and smil:values 19.460.

The <anim:animate> element has no child elements.

15.2.3<anim:animateTransform>

The <anim:animateTransform> element defines the transformation of an animation. It is based on the [SVG] <svg:animateTransform> element. See §19.2.14 of [SVG].

The <anim:animateTransform> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:animateTransform> element has the following attributes: anim:formula 19.6, anim:sub-item 19.11, smil:accelerate 19.432, smil:accumulate 19.433, smil:additive 19.434, smil:attributeName 19.435, smil:autoReverse 19.436, smil:begin 19.437, smil:by 19.438, smil:decelerate 19.440, smil:dur 19.442, smil:end 19.443, smil:fill 19.446, smil:fillDefault 19.447, smil:from 19.448, smil:repeatCount 19.452, smil:repeatDur 19.453, smil:restart 19.454, smil:restartDefault 19.455, smil:targetElement 19.457, smil:to 19.458, smil:values 19.460 and svg:type 19.561.

The <anim:animateTransform> element has no child elements.

15.2.4<anim:set>

See §3.5.2 of [SMIL20].

The <anim:set> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:set> element has the following attributes: anim:sub-item 19.11, smil:accelerate 19.432, smil:accumulate 19.433, smil:additive 19.434, smil:attributeName 19.435, smil:autoReverse 19.436, smil:begin 19.437, smil:decelerate 19.440, smil:dur 19.442, smil:end 19.443, smil:fill 19.446, smil:fillDefault 19.447, smil:repeatCount 19.452, smil:repeatDur 19.453, smil:restart 19.454, smil:restartDefault 19.455, smil:targetElement 19.457 and smil:to 19.458.

The <anim:set> element has no child elements.

15.2.5<anim:animateMotion>

 See §19.2.12 of [SVG] and §3.5.3 of [SMIL20].

The <anim:animateMotion> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:animateMotion> element has the following attributes: anim:formula 19.6, anim:sub-item 19.11, smil:accelerate 19.432, smil:accumulate 19.433, smil:additive 19.434, smil:attributeName 19.435, smil:autoReverse 19.436, smil:begin 19.437, smil:by 19.438, smil:calcMode 19.439, smil:decelerate 19.440, smil:dur 19.442, smil:end 19.443, smil:fill 19.446, smil:fillDefault 19.447, smil:from 19.448, smil:keySplines 19.449, smil:keyTimes 19.450, smil:repeatCount 19.452, smil:repeatDur 19.453, smil:restart 19.454, smil:restartDefault 19.455, smil:targetElement 19.457, smil:to 19.458, smil:values 19.460, svg:origin 19.544 and svg:path 19.548.

The <anim:animateMotion> element has no child elements.

15.2.6<anim:animateColor>

See §3.5.4 of [SMIL20].

The <anim:animateColor> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:animateColor> element has the following attributes: anim:color-interpolation 19.2, anim:color-interpolation-direction 19.3, anim:formula 19.6, anim:sub-item 19.11, smil:accelerate 19.432, smil:accumulate 19.433, smil:additive 19.434, smil:attributeName 19.435, smil:autoReverse 19.436, smil:begin 19.437, smil:by 19.438, smil:calcMode 19.439, smil:decelerate 19.440, smil:dur 19.442, smil:end 19.443, smil:fill 19.446, smil:fillDefault 19.447, smil:from 19.448, smil:keySplines 19.449, smil:keyTimes 19.450, smil:repeatCount 19.452, smil:repeatDur 19.453, smil:restart 19.454, smil:restartDefault 19.455, smil:targetElement 19.457, smil:to 19.458 and smil:values 19.460.

The <anim:animateColor> element has no child elements.

15.2.7<anim:transitionFilter>

The <anim:transitionFilter> element is based on the [SMIL20] <smil:transitionFilter> element. See §12.5.1 of [SMIL20].

The <anim:transitionFilter> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:transitionFilter> element has the following attributes: anim:formula 19.6, anim:sub-item 19.11, smil:accelerate 19.432, smil:accumulate 19.433, smil:additive 19.434, smil:autoReverse 19.436, smil:begin 19.437, smil:by 19.438, smil:calcMode 19.439, smil:decelerate 19.440, smil:direction 19.441, smil:dur 19.442, smil:end 19.443, smil:fadeColor 19.445, smil:fill 19.446, smil:fillDefault 19.447, smil:from 19.448, smil:mode 19.451, smil:repeatCount 19.452, smil:repeatDur 19.453, smil:restart 19.454, smil:restartDefault 19.455, smil:subtype 19.456, smil:targetElement 19.457, smil:to 19.458, smil:type 19.459 and smil:values 19.460.

The <anim:transitionFilter> element has no child elements.

15.3Animation Model Attributes

15.3.1General

The animation model uses the same concepts and syntax as specified in §3 of [SMIL20].

15.3.2Simple Animation Functions

Simplified animations can be specified using the [SMIL20] smil:from, smil:to and smil:by attributes. See §3.4.4 of [SMIL20].

15.4Animation Timing

15.4.1General

Animation timing uses the same concepts and syntax as specified in §10 and §11 of [SMIL20].

15.4.2<anim:par>

The <anim:par> element is a container of child animation nodes that have a common starting point.

The <anim:par> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:par> element has the following attributes: anim:id 19.7, presentation:group-id 19.397, presentation:master-element 19.398, presentation:node-type 19.402, presentation:preset-class 19.410, presentation:preset-id 19.411, presentation:preset-sub-type 19.412, smil:accelerate 19.432, smil:autoReverse 19.436, smil:begin 19.437, smil:decelerate 19.440, smil:dur 19.442, smil:end 19.443, smil:endsync 19.444, smil:fill 19.446, smil:fillDefault 19.447, smil:repeatCount 19.452, smil:repeatDur 19.453, smil:restart 19.454, smil:restartDefault 19.455 and xml:id 19.914.

The <anim:par> element has the following child elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

15.4.3<anim:seq>

The <anim:seq> element is a container for child animation nodes that start in a sequential fashion.

The <anim:seq> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:seq> element has the following attributes: anim:id 19.7, presentation:group-id 19.397, presentation:master-element 19.398, presentation:node-type 19.402, presentation:preset-class 19.410, presentation:preset-id 19.411, presentation:preset-sub-type 19.412, smil:accelerate 19.432, smil:autoReverse 19.436, smil:begin 19.437, smil:decelerate 19.440, smil:dur 19.442, smil:end 19.443, smil:endsync 19.444, smil:fill 19.446, smil:fillDefault 19.447, smil:repeatCount 19.452, smil:repeatDur 19.453, smil:restart 19.454, smil:restartDefault 19.455 and xml:id 19.914.

The <anim:seq> element has the following child elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

15.4.4<anim:iterate>

The <anim:iterate> element defines a parallel time container. The animation effects are applied to the child objects of the target element. The effects for each child object are started one after another, where the delay between the start of the effects of two subsequent children is specified by the anim:iterate-interval attribute. 19.8

The <anim:iterate> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:iterate> element has the following attributes: anim:id 19.7, anim:iterate-interval 19.8, anim:iterate-type 19.9, anim:sub-item 19.11, presentation:group-id 19.397, presentation:master-element 19.398, presentation:node-type 19.402, presentation:preset-class 19.410, presentation:preset-id 19.411, presentation:preset-sub-type 19.412, smil:accelerate 19.432, smil:autoReverse 19.436, smil:begin 19.437, smil:decelerate 19.440, smil:dur 19.442, smil:end 19.443, smil:endsync 19.444, smil:fill 19.446, smil:fillDefault 19.447, smil:repeatCount 19.452, smil:repeatDur 19.453, smil:restart 19.454, smil:restartDefault 19.455, smil:targetElement 19.457 and xml:id 19.914.

The <anim:iterate> element has the following child elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

15.5<anim:audio>

The <anim:audio> element is based on the [SMIL20] <smil:audio> element. It specifies the playback of audio streams during an animation. See §7.3.1 of [SMIL20].

The <anim:audio> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:audio> element has the following attributes: anim:audio-level 19.4, anim:id 19.7, presentation:group-id 19.397, presentation:master-element 19.398, presentation:node-type 19.402, presentation:preset-class 19.410, presentation:preset-id 19.411, presentation:preset-sub-type 19.412, smil:begin 19.437, smil:dur 19.442, smil:end 19.443, smil:fill 19.446, smil:fillDefault 19.447, smil:repeatCount 19.452, smil:repeatDur 19.453, smil:restart 19.454, smil:restartDefault 19.455, xlink:href 19.910.2 and xml:id 19.914.

The <anim:audio> element has no child elements.

15.6Animation Command Elements

15.6.1<anim:command>

The <anim:command> element specifies an animation command.

Note: See 19.5 for details about the element's usage in presentation documents.

The <anim:command> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:command> element has the following attributes: anim:command 19.5, anim:id 19.7, anim:sub-item 19.11, presentation:group-id 19.397, presentation:master-element 19.398, presentation:node-type 19.402, presentation:preset-class 19.410, presentation:preset-id 19.411, presentation:preset-sub-type 19.412, smil:begin 19.437, smil:end 19.443, smil:targetElement 19.457 and xml:id 19.914.

The <anim:command> element has the following child element: <anim:param> 15.6.2.

15.6.2<anim:param>

The <anim:param> element specifies a parameter for an <anim:command> element.

The <anim:param> element is usable within the following element: <anim:command> 15.6.1.

The <anim:param> element has the following attributes: anim:name 19.10 and anim:value 19.12.

The <anim:param> element has no child elements.

16Styles

16.1General

Objects in an office document may have formatting properties. A formatting property influences the visual representation of an object.

In the OpenDocument format, formatting properties are stored in styles.

There are two reasons for using styles to store formatting properties:

  1. 1)Format information is separated from document content. 

  2. 2)Styles enable consistent formatting and changing of formatting for objects subject to styles.  

Styles and font face declarations are referenced by their style:name attribute. A referenced style or font face declaration should be defined in the same file as the reference, or in styles.xml.

16.2<style:style>

The <style:style> element represents styles.

Styles defined by the <style:style> element use a hierarchical style model. The <style:style> element supports inheritance of formatting properties by a style from its parent style. A parent style is specified by the style:parent-style-name attribute on a <style:style> element.

The determination of the value of a formatting property begins with any style that is specified by an element. If the formatting property is present in that style, its value is used.

If that style does not specify a value for that formatting property and it has a parent style, the value of the formatting element is taken from the parent style, if present.

If the parent style does not have a value for the formatting property, the search for the formatting property value continues up parent styles until either the formatting property has been found or a style is found with no parent style.

If a search of the parent styles of a style does not result in a value for a formatting property, the determination of its value depends on the style family and the element to which a style is applied.

For styles with family text which are applied to elements which are contained in another element that specifies a style with family text, the search continues within the text style that is applied to the nearest ancestor element that specifies a style with family text, and continues in its parent styles.

For styles with family text which are applied to elements which are contained in a paragraph element 6.1.1, the search continues within the paragraph style that is applied to the paragraph element, and continues in its parent styles.

For styles with family paragraph which are applied to paragraph elements which are contained in a drawing shape or a chart element, the search continues within the graphic, presentation or chart style that is applied to the drawing object or chart element, and continues in its parent styles.

For styles with family paragraph which are applied to paragraph elements which are contained in a table cell, the search continues within the table-cell style that is applied to the table-cell, and continues in its parent  styles. If a value for the formatting property has not been found, the search continues as defined for styles with family table-cell.

For styles with family table-cell which are applied to a table cell, the search continues with the style specified by the table:default-cell-style-name attribute 19.615 of the table cell's <table:table-row> parent element, if present, and then with the style specified by the table:default-cell-style-name attribute of the <table:table-column> element associated with the table cell.

In all other cases, or if a value for the formatting property has not been found by any of the family specific rules, a default style 16.4 that has the same family as the style initially declared sets the value. If there is no value specified in that default style, an implementation-dependent value is used.

The <style:style> element is usable within the following elements: <office:automatic-styles> 3.15.3 and <office:styles> 3.15.2.

The <style:style> element has the following attributes: style:auto-update 19.463, style:class 19.466, style:data-style-name 19.469.3, style:default-outline-level 19.470, style:display-name 19.472, style:family 19.476, style:list-level 19.495, style:list-style-name 19.496, style:master-page-name 19.497, style:name 19.498.2, style:next-style-name 19.499.3, style:parent-style-name 19.506 and style:percentage-data-style-name 19.507.

The <style:style> element has the following child elements: <style:chart-properties> 17.22, <style:drawing-page-properties> 17.25, <style:graphic-properties> 17.21, <style:map> 16.3, <style:paragraph-properties> 17.6, <style:ruby-properties> 17.10, <style:section-properties> 17.11, <style:table-cell-properties> 17.18, <style:table-column-properties> 17.16, <style:table-properties> 17.15, <style:table-row-properties> 17.17, <style:text-properties> 16.27.28.

16.3<style:map>

The <style:map> element represents a condition, which if met, results in the mapping of a style. A style that contains one or more mappings is called a conditional style. Each condition is represented by a unique <style:map> element.

Conditional styles are supported by:

The <style:map> element is usable within the following elements: <number:boolean-style> 16.27.23, <number:currency-style> 16.27.7, <number:date-style> 16.27.10, <number:number-style> 16.27.2, <number:percentage-style> 16.27.9, <number:text-style> 16.27.25, <number:time-style> 16.27.18 and <style:style> 16.2.

The <style:map> element has the following attributes: style:apply-style-name 19.462, style:base-cell-address 19.464 and style:condition 19.468.

The <style:map> element has no child elements.

16.4<style:default-style>

The <style:default-style> element represents default styles. A default style specifies default formatting properties for a style family. These defaults are used if a formatting property is neither specified by an automatic nor a common style. Default styles exist for all style families that are represented by the <style:style> element specified by the style:family attribute 19.476.

An OpenDocument document should contain the default styles of the style families for which are used in common or automatic styles in the document.

The <style:default-style> element is usable within the following element: <office:styles> 3.15.2.

The <style:default-style> element has the following attributes: style:family 19.476.

The <style:default-style> element has the following child elements: <style:chart-properties> 17.22, <style:drawing-page-properties> 17.25, <style:graphic-properties> 17.21, <style:paragraph-properties> 17.6, <style:ruby-properties> 17.10, <style:section-properties> 17.11, <style:table-cell-properties> 17.18, <style:table-column-properties> 17.16, <style:table-properties> 17.15, <style:table-row-properties> 17.17, <style:text-properties> 16.27.28.

16.5<style:page-layout>

The <style:page-layout> element represents the styles that specify the formatting properties of a page.

The <style:page-layout> element is usable within the following element: <office:automatic-styles> 3.15.3.

The <style:page-layout> element has the following attributes: style:name 19.498.2 and style:page-usage 19.505.

The <style:page-layout> element has the following child elements: <style:footer-style> 16.7, <style:header-style> 16.6 and <style:page-layout-properties> 17.2.

16.6<style:header-style>

The <style:header-style> element specifies the formatting properties for a header element.

The <style:header-style> element is usable within the following elements: <style:default-page-layout> 16.8 and <style:page-layout> 16.5.

The <style:header-style> element has no attributes.

The <style:header-style> element has the following child element: <style:header-footer-properties> 17.5.

16.7<style:footer-style>

The <style:footer-style> element specifies the formatting properties for a footer element.

The <style:footer-style> element is usable within the following elements: <style:default-page-layout> 16.8 and <style:page-layout> 16.5.

The <style:footer-style> element has no attributes.

The <style:footer-style> element has the following child element: <style:header-footer-properties> 17.5.

16.8<style:default-page-layout>

The <style:default-page-layout> element specifies default formatting properties for page layouts. These defaults are used if a formatting property is not specified in a <style:page-layout-properties> element. 17.2

The <style:default-page-layout> element is usable within the following element: <office:styles> 3.15.2.

The <style:default-page-layout> element has no attributes.

The <style:default-page-layout> element has the following child elements: <style:footer-style> 16.7, <style:header-style> 16.6 and <style:page-layout-properties> 17.2.

16.9<style:master-page>

In text and spreadsheet documents, the <style:master-page> element contains the content of headers and footers. For these types of documents, consumers may generate a sequence of pages by making use of a single master page or a set of master pages.

In drawing and presentation documents, the <style:master-page> element is used to define master pages as common backgrounds for drawing pages. Each drawing page is directly linked to one master page, which is specified by the draw:master-page-name attribute of the drawing pages style.

Master pages are contained in the <office:master-styles> element.

All documents shall contain at least one master page element.

If a text or spreadsheet document is displayed in a paged layout, master pages are used to generate a sequence of pages containing the document content. When a page is created, an empty page is generated with the properties of the master page and the static content of the master page. The body of the page is then filled with content. A single master pages can be used to created multiple pages within a document.

In text and spreadsheet documents, a master page can be assigned to paragraph and table styles using a style:master-page-name attribute. Each time the paragraph or table style is applied to text, a page break is inserted before the paragraph or table. A page that starts at the page break position uses the specified master page.

In drawings and presentations, master pages can be assigned to drawing pages using a style:parent-style-name attribute.

Note: The OpenDocument paging methodology differs significantly from the methodology used in [XSL]. In XSL, headers and footers are contained within page sequences that also contain the document content. In the OpenDocument format, headers and footers are contained in page styles. With either approach, the content of headers and footers can be changed or omitted without affecting the document content.

The <style:master-page> element is usable within the following element: <office:master-styles> 3.15.4.

The <style:master-page> element has the following attributes: draw:style-name 19.219.27, style:display-name 19.472, style:name 19.498.2, style:next-style-name 19.499.2 and style:page-layout-name 19.504.

The <style:master-page> element has the following child elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4, <anim:transitionFilter> 15.2.7, <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:layer-set> 10.2.2, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:forms> 13.2, <presentation:notes> 16.17, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10 and <style:header-left> 16.12.

16.10<style:header>

The <style:header> element represents the content of a header in a <style:master-page> element.

The <style:header> element is usable within the following element: <style:master-page> 16.9.

The <style:header> element has the following attribute: style:display 19.471.

The <style:header> element has the following child elements: <style:region-center> 16.15, <style:region-left> 16.14, <style:region-right> 16.16, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:dde-connection-decls> 14.6.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:index-title> 8.2.3, <text:list> 5.3.1, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:sequence-decls> 7.4.11, <text:table-index> 8.5, <text:table-of-content> 8.3, <text:tracked-changes> 5.5.1, <text:user-field-decls> 7.4.7, <text:user-index> 8.7 and <text:variable-decls> 7.4.2.

16.11<style:footer>

The <style:footer> element represents the content of a footer in a <style:master-page> element.

The <style:footer> element is usable within the following element: <style:master-page> 16.9.

The <style:footer> element has the following attribute: style:display 19.471.

The <style:footer> element has the following child elements: <style:region-center> 16.15, <style:region-left> 16.14, <style:region-right> 16.16, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:dde-connection-decls> 14.6.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:index-title> 8.2.3, <text:list> 5.3.1, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:sequence-decls> 7.4.11, <text:table-index> 8.5, <text:table-of-content> 8.3, <text:tracked-changes> 5.5.1, <text:user-field-decls> 7.4.7, <text:user-index> 8.7 and <text:variable-decls> 7.4.2.

16.12<style:header-left>

The <style:header-left> element represents the content for a header for a left page, if different from the right page in a <style:master-page> element.

The <style:header-left> element is usable within the following element: <style:master-page> 16.9.

The <style:header-left> element has the following attribute: style:display 19.471.

The <style:header-left> element has the following child elements: <style:region-center> 16.15, <style:region-left> 16.14, <style:region-right> 16.16, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:dde-connection-decls> 14.6.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:index-title> 8.2.3, <text:list> 5.3.1, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:sequence-decls> 7.4.11, <text:table-index> 8.5, <text:table-of-content> 8.3, <text:tracked-changes> 5.5.1, <text:user-field-decls> 7.4.7, <text:user-index> 8.7 and <text:variable-decls> 7.4.2.

16.13<style:footer-left>

The <style:footer-left> element represents the content for a footer for a left page, if different from the right page for a <style:master-page> element.

The <style:footer-left> element is usable within the following element: <style:master-page> 16.9.

The <style:footer-left> element has the following attribute: style:display 19.471.

The <style:footer-left> element has the following child elements: <style:region-center> 16.15, <style:region-left> 16.14, <style:region-right> 16.16, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:dde-connection-decls> 14.6.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:index-title> 8.2.3, <text:list> 5.3.1, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:sequence-decls> 7.4.11, <text:table-index> 8.5, <text:table-of-content> 8.3, <text:tracked-changes> 5.5.1, <text:user-field-decls> 7.4.7, <text:user-index> 8.7 and <text:variable-decls> 7.4.2.

16.14<style:region-left>

The <style:region-left> element specifies a left-aligned portion of a header or footer. That region may contain a sequence of <text:p> elements.

The <style:region-left> element is usable within the following elements: <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10 and <style:header-left> 16.12.

The <style:region-left> element has no attributes.

The <style:region-left> element has the following child element: <text:p> 5.1.3.

16.15<style:region-center>

The <style:region-center> element specifies a center-aligned portion of a header or footer. That region may contain a sequence of <text:p> elements.

The <style:region-center> element is usable within the following elements: <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10 and <style:header-left> 16.12.

The <style:region-center> element has no attributes.

The <style:region-center> element has the following child element: <text:p> 5.1.3.

16.16<style:region-right>

The <style:region-right> element specifies a right-aligned portion of a header or footer. That region may contain a sequence of <text:p> elements.

The <style:region-right> element is usable within the following elements: <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10 and <style:header-left> 16.12.

The <style:region-right> element has no attributes.

The <style:region-right> element has the following child element: <text:p> 5.1.3.

16.17<presentation:notes>

The <presentation:notes> element defines a notes page. A notes page contains a preview of a drawing page and additional graphic shapes.

The <presentation:notes> element is usable within the following elements: <draw:page> 10.2.4 and <style:master-page> 16.9.

The <presentation:notes> element has the following attributes: draw:style-name 19.219.25, presentation:use-date-time-name 19.424, presentation:use-footer-name 19.425, presentation:use-header-name 19.426 and style:page-layout-name 19.504.

The <presentation:notes> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:forms> 13.2.

16.18<table:table-template>

A <table:table-template> element represents a set of references to table cell styles that specify the formatting to be used when creating a table.

If more than one table cell style reference is applicable to a cell, the first style that is applicable is chosen in the following order:

Table templates are contained in a <office:styles> element.

The <table:table-template> element is usable within the following element: <office:styles> 3.15.2.

The <table:table-template> element has the following attributes: table:first-row-end-column 19.640, table:first-row-start-column 19.641, table:last-row-end-column 19.659, table:last-row-start-column 19.661 and table:name 19.673.14.

The <table:table-template> element has the following child elements: <table:background> 16.20, <table:body> 16.19.6, <table:even-columns> 16.19.9, <table:even-rows> 16.19.7, <table:first-column> 16.19.4, <table:first-row> 16.19.2, <table:last-column> 16.19.5, <table:last-row> 16.19.3, <table:odd-columns> 16.19.10 and <table:odd-rows> 16.19.8.

16.19Cell Styles

16.19.1General

The cell styles applied in a table are based on the position of cells in a table.

16.19.2<table:first-row>

The <table:first-row> element specifies a cell style that shall be applied to the first row of a table.

The <table:first-row> element is usable within the following element: <table:table-template> 16.18.

The <table:first-row> element has the following attributes: table:paragraph-style-name 19.688 and table:style-name 19.726.8.

The <table:first-row> element has no child elements.

16.19.3<table:last-row>

The <table:last-row> element specifies a cell style that shall be applied to the last row of a table.

The <table:last-row> element is usable within the following element: <table:table-template> 16.18.

The <table:last-row> element has the following attributes: table:paragraph-style-name 19.688 and table:style-name 19.726.10.

The <table:last-row> element has no child elements.

16.19.4<table:first-column>

The <table:first-column> element specifies a cell style that shall be applied to the first table column in a table.

The <table:first-column> element is usable within the following element: <table:table-template> 16.18.

The <table:first-column> element has the following attributes: table:paragraph-style-name 19.688 and table:style-name 19.726.7.

The <table:first-column> element has no child elements.

16.19.5<table:last-column>

The <table:last-column> element specifies a cell style that shall be applied to the last table column in a table.

The <table:last-column> element is usable within the following element: <table:table-template> 16.18.

The <table:last-column> element has the following attributes: table:paragraph-style-name 19.688 and table:style-name 19.726.9.

The <table:last-column> element has no child elements.

16.19.6<table:body>

The <table:body> element specifies styles for cells that are not governed by other specified styles.

The <table:body> element is usable within the following element: <table:table-template> 16.18.

The <table:body> element has the following attributes: table:paragraph-style-name 19.688 and table:style-name 19.726.3.

The <table:body> element has no child elements.

16.19.7<table:even-rows>

The <table:even-rows> element specifies styles to be applied to even rows in a table.

The <table:even-rows> element is usable within the following element: <table:table-template> 16.18.

The <table:even-rows> element has the following attributes: table:paragraph-style-name 19.688 and table:style-name 19.726.6.

The <table:even-rows> element has no child elements.

16.19.8<table:odd-rows>

The <table:odd-rows> element specifies styles to be applied to odd rows in a table.

The <table:odd-rows> element is usable within the following element: <table:table-template> 16.18.

The <table:odd-rows> element has the following attributes: table:paragraph-style-name 19.688 and table:style-name 19.726.12.

The <table:odd-rows> element has no child elements.

16.19.9<table:even-columns>

The <table:even-columns> element specifies styles to be applied to even columns in a table.

The <table:even-columns> element is usable within the following element: <table:table-template> 16.18.

The <table:even-columns> element has the following attributes: table:paragraph-style-name 19.688 and table:style-name 19.726.5.

The <table:even-columns> element has no child elements.

16.19.10<table:odd-columns>

The <table:odd-columns> element specifies styles to be applied to odd columns in a table.

The <table:odd-columns> element is usable within the following element: <table:table-template> 16.18.

The <table:odd-columns> element has the following attributes: table:paragraph-style-name 19.688 and table:style-name 19.726.11.

The <table:odd-columns> element has no child elements.

16.20<table:background>

The <table:background> element specifies a table style that provides a background to a table that is visible if all or part of the table is transparent.

The <table:background> element is usable within the following element: <table:table-template> 16.18.

The <table:background> element has the following attribute: table:style-name 19.726.2.

The <table:background> element has no child elements.

16.21<style:font-face>

The <style:font-face> element represents a font face declaration which documents the properties of a font used in a document.

OpenDocument font face declarations directly correspond to the @font-face font description of [CSS2] (see §15.3.1) and the <font-face> element of [SVG] (see §20.8.3).

OpenDocument font face declarations may have an unique name. This name can be used inside styles (as an attribute of <style:text-properties> element) as value of the style:font-name attribute to select a font face declaration. If a font face declaration is referenced by name, the font matching algorithms for selecting a font declaration based on the font-family, font-style, font-variant, font-weight and font-size descriptors are not used but the referenced font face declaration is used directly. (See §15.5 [CSS2])

Consumers should implement the CSS2 font matching algorithm with the OpenDocument font face extensions. They may implement variations of the CSS2 font matching algorithm. They may implement a font matching based only on the font face declarations, that is, a font matching that is not applied to every character independently but only once for each font face declaration. (See §15.5 [CSS2])

Font face declarations support the font descriptor attributes and elements described in §20.8.3 of [SVG].

The <style:font-face> element is usable within the following element: <office:font-face-decls> 3.14.

The <style:font-face> element has the following attributes: style:font-adornments 19.478, style:font-charset 19.479, style:font-family-generic 19.480, style:font-pitch 19.481, style:name 19.498.3, svg:accent-height 19.519, svg:alphabetic 19.520, svg:ascent 19.521, svg:bbox 19.522, svg:cap-height 19.523, svg:descent 19.527, svg:font-family 19.528, svg:font-size 19.529, svg:font-stretch 19.530, svg:font-style 19.531, svg:font-variant 19.532, svg:font-weight 19.533, svg:hanging 19.538, svg:ideographic 19.540, svg:mathematical 19.541, svg:overline-position 19.545, svg:overline-thickness 19.546, svg:panose-1 19.547, svg:slope 19.552, svg:stemh 19.554, svg:stemv 19.555, svg:strikethrough-position 19.558, svg:strikethrough-thickness 19.559, svg:underline-position 19.562, svg:underline-thickness 19.563, svg:unicode-range 19.564, svg:units-per-em 19.565, svg:v-alphabetic 19.566, svg:v-hanging 19.567, svg:v-ideographic 19.568, svg:v-mathematical 19.569, svg:widths 19.572 and svg:x-height 19.576.

The <style:font-face> element has the following child elements: <svg:definition-src> 16.25 and <svg:font-face-src> 16.22.

16.22<svg:font-face-src>

See §20.8.3 of [SVG].

The <svg:font-face-src> element is usable within the following element: <style:font-face> 16.21.

The <svg:font-face-src> element has no attributes.

The <svg:font-face-src> element has the following child elements: <svg:font-face-name> 16.23 and <svg:font-face-uri> 16.24.

16.23<svg:font-face-name>

See §20.8.3 of [SVG].

The <svg:font-face-name> element is usable within the following element: <svg:font-face-src> 16.22.

The <svg:font-face-name> element has the following attribute: svg:name 19.542.

The <svg:font-face-name> element has no child elements.

16.24<svg:font-face-uri>

See § 20.8.3 of [SVG].

The <svg:font-face-uri> element is usable within the following element: <svg:font-face-src> 16.22.

The <svg:font-face-uri> element has the following attributes: xlink:actuate 19.909, xlink:href 19.910.30 and xlink:type 19.913.

The <svg:font-face-uri> element has the following child element: <svg:font-face-format> 16.26.

16.25<svg:definition-src>

See § 20.8.3 of [SVG].

The <svg:definition-src> element is usable within the following element: <style:font-face> 16.21.

The <svg:definition-src> element has the following attributes: xlink:actuate 19.909, xlink:href 19.910.29 and xlink:type 19.913.

The <svg:definition-src> element has no child elements.

16.26<svg:font-face-format>

See §20.8.3 of [SVG].

The <svg:font-face-format> element is usable within the following element: <svg:font-face-uri> 16.24.

The <svg:font-face-format> element has the following attribute: svg:string 19.560.

The <svg:font-face-format> element has no child elements.

16.27Data Styles

16.27.1General

Data styles specify the styles to be applied to defined data types for display.

Data styles shall not specify two <number:text> elements in sequence as part of a data style.

16.27.2<number:number-style>

The <number:number-style> element is a container for elements that define a style for decimal numbers.

The <number:number-style> element is usable within the following elements: <office:automatic-styles> 3.15.3 and <office:styles> 3.15.2.

The <number:number-style> element has the following attributes: number:country 19.342, number:language 19.349, number:rfc-language-tag 19.356, number:script 19.357, number:title 19.360, number:transliteration-country 19.361, number:transliteration-format 19.362, number:transliteration-language 19.363, number:transliteration-style 19.364, style:display-name 19.472, style:name 19.498.2 and style:volatile 19.517.

The <number:number-style> element has the following child elements: <number:fraction> 16.27.6, <number:number> 16.27.3, <number:scientific-number> 16.27.5, <number:text> 16.27.26, <style:map> 16.3 and <style:text-properties> 16.27.28.

16.27.3<number:number>

The <number:number> element specifies the display formatting properties for a decimal number.

The <number:number> element is usable within the following elements: <number:currency-style> 16.27.7, <number:number-style> 16.27.2 and <number:percentage-style> 16.27.9.

The <number:number> element has the following attributes: number:decimal-places 19.343.2, number:decimal-replacement 19.344, number:display-factor 19.346, number:grouping 19.348 and number:min-integer-digits 19.352.

The <number:number> element has the following child element: <number:embedded-text> 16.27.4.

16.27.4<number:embedded-text>

The <number:embedded-text> element specifies text that is displayed at one specific position within a number.

The <number:embedded-text> element is usable within the following element: <number:number> 16.27.3.

The <number:embedded-text> element has the following attribute: number:position 19.354.

The <number:embedded-text> element has no child elements.

The <number:embedded-text> element has character data content.

16.27.5<number:scientific-number>

The <number:scientific-number> element specifies the display formatting properties for a number style that should be displayed in scientific format.

The <number:scientific-number> element is usable within the following element: <number:number-style> 16.27.2.

The <number:scientific-number> element has the following attributes: number:decimal-places 19.343.4, number:grouping 19.348, number:min-exponent-digits 19.351 and number:min-integer-digits 19.352.

The <number:scientific-number> element has no child elements.

16.27.6<number:fraction>

The <number:fraction> element specifies the display formatting properties for a number style that should be displayed as a fraction.

The <number:fraction> element is usable within the following element: <number:number-style> 16.27.2.

The <number:fraction> element has the following attributes: number:denominator-value 19.345, number:grouping 19.348, number:min-denominator-digits 19.350, number:min-integer-digits 19.352 and number:min-numerator-digits 19.353.

The <number:fraction> element has no child elements.

16.27.7<number:currency-style>

The <number:currency-style> element specifies the style for currency values.

The <number:currency-style> element is usable within the following elements: <office:automatic-styles> 3.15.3 and <office:styles> 3.15.2.

The <number:currency-style> element has the following attributes: number:automatic-order 19.340, number:country 19.342, number:language 19.349, number:rfc-language-tag 19.356, number:script 19.357, number:title 19.360, number:transliteration-country 19.361, number:transliteration-format 19.362, number:transliteration-language 19.363, number:transliteration-style 19.364, style:display-name 19.472, style:name 19.498.2 and style:volatile 19.517.

The <number:currency-style> element has the following child elements: <number:currency-symbol> 16.27.8, <number:number> 16.27.3, <number:text> 16.27.26, <style:map> 16.3 and <style:text-properties> 16.27.28.

16.27.8<number:currency-symbol>

The <number:currency-symbol> element specifies whether a currency symbol is displayed in a currency style.

The content of this element is the text that is displayed as the currency symbol. If the element is empty or contains white space characters only, the default currency symbol for the currency style or the language and country of the currency style is displayed.

The <number:currency-symbol> element is usable within the following element: <number:currency-style> 16.27.7.

The <number:currency-symbol> element has the following attributes: number:country 19.342, number:language 19.349, number:rfc-language-tag 19.356 and number:script 19.357.

The <number:currency-symbol> element has no child elements.

The <number:currency-symbol> element has character data content.

16.27.9<number:percentage-style>

The <number:percentage-style> element specifies the style for percentage values.

A <number:percentage-style> element should have <number:text> child element whose character data contains a “%” (U+0025, PERCENT SIGN) character.

The <number:percentage-style> element is usable within the following elements: <office:automatic-styles> 3.15.3 and <office:styles> 3.15.2.

The <number:percentage-style> element has the following attributes: number:country 19.342, number:language 19.349, number:rfc-language-tag 19.356, number:script 19.357, number:title 19.360, number:transliteration-country 19.361, number:transliteration-format 19.362, number:transliteration-language 19.363, number:transliteration-style 19.364, style:display-name 19.472, style:name 19.498.2 and style:volatile 19.517.

The <number:percentage-style> element has the following child elements: <number:number> 16.27.3, <number:text> 16.27.26, <style:map> 16.3 and <style:text-properties> 16.27.28.

16.27.10<number:date-style>

The <number:date-style> element specifies a style for date values.

This element can contain one instance of each of the following elements: <number:day>, <number:month>, <number:year>, <number:era>, <number:day-of-week>, <number:week-of-year>, <number:quarter>, <number:hours>, <number:minutes>, <number:seconds>, and <number:am-pm>.

The <number:date-style> element is usable within the following elements: <office:automatic-styles> 3.15.3 and <office:styles> 3.15.2.

The <number:date-style> element has the following attributes: number:automatic-order 19.340, number:country 19.342, number:format-source 19.347, number:language 19.349, number:rfc-language-tag 19.356, number:script 19.357, number:title 19.360, number:transliteration-country 19.361, number:transliteration-format 19.362, number:transliteration-language 19.363, number:transliteration-style 19.364, style:display-name 19.472, style:name 19.498.2 and style:volatile 19.517.

The <number:date-style> element has the following child elements: <number:am-pm> 16.27.22, <number:day> 16.27.11, <number:day-of-week> 16.27.15, <number:era> 16.27.14, <number:hours> 16.27.19, <number:minutes> 16.27.20, <number:month> 16.27.12, <number:quarter> 16.27.17, <number:seconds> 16.27.21, <number:text> 16.27.26, <number:week-of-year> 16.27.16, <number:year> 16.27.13, <style:map> 16.3 and <style:text-properties> 16.27.28.

16.27.11<number:day>

The <number:day> element specifies a day of a month in a date.

The <number:day> element is usable within the following element: <number:date-style> 16.27.10.

The <number:day> element has the following attributes: number:calendar 19.341 and number:style 19.358.2.

The <number:day> element has no child elements.

16.27.12<number:month>

The <number:month> element specifies a month in a date.

The <number:month> element is usable within the following element: <number:date-style> 16.27.10.

The <number:month> element has the following attributes: number:calendar 19.341, number:possessive-form 19.355, number:style 19.358.7 and number:textual 19.359.

The <number:month> element has no child elements.

16.27.13<number:year>

The <number:year> element specifies a year in a date.

The <number:year> element is usable within the following element: <number:date-style> 16.27.10.

The <number:year> element has the following attributes: number:calendar 19.341 and number:style 19.358.10.

The <number:year> element has no child elements.

16.27.14<number:era>

The <number:era> element specifies an era in which a year is counted.

The <number:era> element is usable within the following element: <number:date-style> 16.27.10.

The <number:era> element has the following attributes: number:calendar 19.341 and number:style 19.358.4.

The <number:era> element has no child elements.

16.27.15<number:day-of-week>

The <number:day-of-week> element specifies a day of a week in a date.

The <number:day-of-week> element is usable within the following element: <number:date-style> 16.27.10.

The <number:day-of-week> element has the following attributes: number:calendar 19.341 and number:style 19.358.3.

The <number:day-of-week> element has no child elements.

16.27.16<number:week-of-year>

The <number:week-of-year> element specifies a week of a year in a date.

The <number:week-of-year> element is usable within the following element: <number:date-style> 16.27.10.

The <number:week-of-year> element has the following attribute: number:calendar 19.341.

The <number:week-of-year> element has no child elements.

16.27.17<number:quarter>

The <number:quarter> element specifies a quarter of the year in a date.

The <number:quarter> element is usable within the following element: <number:date-style> 16.27.10.

The <number:quarter> element has the following attributes: number:calendar 19.341 and number:style 19.358.8.

The <number:quarter> element has no child elements.

16.27.18<number:time-style>

The <number:time-style> element specifies a style for time values.

This element can contain one instance of any of the following elements: <number:hours>, <number:minutes>, <number:seconds> and <number:am-pm>.

The <number:time-style> element can also contain <number:text> elements, which display additional text.

The <number:time-style> element is usable within the following elements: <office:automatic-styles> 3.15.3 and <office:styles> 3.15.2.

The <number:time-style> element has the following attributes: number:country 19.342, number:format-source 19.347, number:language 19.349, number:rfc-language-tag 19.356, number:script 19.357, number:title 19.360, number:transliteration-country 19.361, number:transliteration-format 19.362, number:transliteration-language 19.363, number:transliteration-style 19.364, number:truncate-on-overflow 19.365, style:display-name 19.472, style:name 19.498.2 and style:volatile 19.517.

The <number:time-style> element has the following child elements: <number:am-pm> 16.27.22, <number:hours> 16.27.19, <number:minutes> 16.27.20, <number:seconds> 16.27.21, <number:text> 16.27.26, <style:map> 16.3 and <style:text-properties> 16.27.28.

16.27.19<number:hours>

The <number:hours> element specifies whether hours are displayed as part of a date or time.

The <number:hours> element is usable within the following elements: <number:date-style> 16.27.10 and <number:time-style> 16.27.18.

The <number:hours> element has the following attribute: number:style 19.358.5.

The <number:hours> element has no child elements.

16.27.20<number:minutes>

The <number:minutes> element specifies whether minutes are displayed as part of a date or time.

The <number:minutes> element is usable within the following elements: <number:date-style> 16.27.10 and <number:time-style> 16.27.18.

The <number:minutes> element has the following attribute: number:style 19.358.6.

The <number:minutes> element has no child elements.

16.27.21<number:seconds>

The <number:seconds> element specifies whether seconds are displayed as part of a date or time.

The <number:seconds> element is usable within the following elements: <number:date-style> 16.27.10 and <number:time-style> 16.27.18.

The <number:seconds> element has the following attributes: number:decimal-places 19.343.3 and number:style 19.358.9.

The <number:seconds> element has no child elements.

16.27.22<number:am-pm>

The <number:am-pm> element specifies whether AM/PM is included as part of a date or time.

If a <number:am-pm> element is contained in a date or time style, hours are displayed using values from 1 to 12 only.

The <number:am-pm> element is usable within the following elements: <number:date-style> 16.27.10 and <number:time-style> 16.27.18.

The <number:am-pm> element has no attributes.

The <number:am-pm> element has no child elements.

16.27.23<number:boolean-style>

The <number:boolean-style> element defines a style for Boolean values.

The <number:boolean-style> element is usable within the following elements: <office:automatic-styles> 3.15.3 and <office:styles> 3.15.2.

The <number:boolean-style> element has the following attributes: number:country 19.342, number:language 19.349, number:rfc-language-tag 19.356, number:script 19.357, number:title 19.360, number:transliteration-country 19.361, number:transliteration-format 19.362, number:transliteration-language 19.363, number:transliteration-style 19.364, style:display-name 19.472, style:name 19.498.2 and style:volatile 19.517.

The <number:boolean-style> element has the following child elements: <number:boolean> 16.27.24, <number:text> 16.27.26, <style:map> 16.3 and <style:text-properties> 16.27.28.

16.27.24<number:boolean>

The <number:boolean> element marks the position of the Boolean value of a Boolean style.

The <number:boolean> element is usable within the following element: <number:boolean-style> 16.27.23.

The <number:boolean> element has no attributes.

The <number:boolean> element has no child elements.

16.27.25<number:text-style>

The <number:text-style> element defines a style for displaying text.

It can also contain <number:text> elements, which display additional text.

The <number:text-style> element is usable within the following elements: <office:automatic-styles> 3.15.3 and <office:styles> 3.15.2.

The <number:text-style> element has the following attributes: number:country 19.342, number:language 19.349, number:rfc-language-tag 19.356, number:script 19.357, number:title 19.360, number:transliteration-country 19.361, number:transliteration-format 19.362, number:transliteration-language 19.363, number:transliteration-style 19.364, style:display-name 19.472, style:name 19.498.2 and style:volatile 19.517.

The <number:text-style> element has the following child elements: <number:text> 16.27.26, <number:text-content> 16.27.27, <style:map> 16.3 and <style:text-properties> 16.27.28.

16.27.26<number:text>

The <number:text> element contains any fixed text for a data style.

The <number:text> element is usable within the following elements: <number:boolean-style> 16.27.23, <number:currency-style> 16.27.7, <number:date-style> 16.27.10, <number:number-style> 16.27.2, <number:percentage-style> 16.27.9, <number:text-style> 16.27.25 and <number:time-style> 16.27.18.

The <number:text> element has no attributes.

The <number:text> element has no child elements.

The <number:text> element has character data content.

16.27.27<number:text-content>

The <number:text-content> element marks the position of variable text content of a text style.

The <number:text-content> element is usable within the following element: <number:text-style> 16.27.25.

The <number:text-content> element has no attributes.

The <number:text-content> element has no child elements.

16.27.28<style:text-properties>

The <style:text-properties> element specifies formatting properties for text.

It also specifies the formatting properties for a section.

The <style:text-properties> element is usable within the following elements: <number:boolean-style> 16.27.23, <number:currency-style> 16.27.7, <number:date-style> 16.27.10, <number:number-style> 16.27.2, <number:percentage-style> 16.27.9, <number:text-style> 16.27.25, <number:time-style> 16.27.18, <style:default-style> 16.4, <style:style> 16.2, <text:list-level-style-bullet> 16.31, <text:list-level-style-number> 16.32 and <text:outline-level-style> 16.35.

The <style:text-properties> element has the following attributes: fo:background-color 20.175, fo:color 20.180, fo:country 20.181, fo:font-family 20.182, fo:font-size 20.183, fo:font-style 20.184, fo:font-variant 20.185, fo:font-weight 20.186, fo:hyphenate 20.188, fo:hyphenation-push-char-count 20.191, fo:hyphenation-remain-char-count 20.192, fo:language 20.195, fo:letter-spacing 20.196, fo:script 20.215, fo:text-shadow 20.219, fo:text-transform 20.220, style:country-asian 20.248, style:country-complex 20.249, style:font-charset 20.260, style:font-charset-asian 20.261, style:font-charset-complex 20.262, style:font-family-asian 20.263, style:font-family-complex 20.264, style:font-family-generic 20.265, style:font-family-generic-asian 20.266, style:font-family-generic-complex 20.267, style:font-name 20.269, style:font-name-asian 20.270, style:font-name-complex 20.271, style:font-pitch 20.272, style:font-pitch-asian 20.273, style:font-pitch-complex 20.274, style:font-relief 20.275, style:font-size-asian 20.276, style:font-size-complex 20.277, style:font-size-rel 20.278, style:font-size-rel-asian 20.279, style:font-size-rel-complex 20.280, style:font-style-asian 20.281, style:font-style-complex 20.282, style:font-style-name 20.283, style:font-style-name-asian 20.284, style:font-style-name-complex 20.285, style:font-weight-asian 20.286, style:font-weight-complex 20.287, style:language-asian 20.294, style:language-complex 20.295, style:letter-kerning 20.308, style:rfc-language-tag 20.335, style:rfc-language-tag-asian 20.336, style:rfc-language-tag-complex 20.337, style:script-asian 20.346, style:script-complex 20.347, style:script-type 20.348, style:text-blinking 20.356, style:text-combine 20.357, style:text-combine-end-char 20.359, style:text-combine-start-char 20.358, style:text-emphasize 20.360, style:text-line-through-color 20.361, style:text-line-through-mode 20.362, style:text-line-through-style 20.363, style:text-line-through-text 20.364, style:text-line-through-text-style 20.365, style:text-line-through-type 20.366, style:text-line-through-width 20.367, style:text-outline 20.368, style:text-overline-color 20.369, style:text-overline-mode 20.370, style:text-overline-style 20.371, style:text-overline-type 20.372, style:text-overline-width 20.373, style:text-position 20.374, style:text-rotation-angle 20.375, style:text-rotation-scale 20.376, style:text-scale 20.377, style:text-underline-color 20.378, style:text-underline-mode 20.379, style:text-underline-style 20.380, style:text-underline-type 20.381, style:text-underline-width 20.382, style:use-window-font-color 20.385, text:condition 20.416, text:display 20.417.

The <style:text-properties> element has no child elements.

16.28Text Style Families

16.28.1Text Styles

Text styles are represented by <style:style> elements whose style:family attribute has the value text.

16.28.2Paragraph Styles

Paragraph styles are represented by <style:style> elements whose style:family attribute has the value paragraph.

In addition to paragraph properties, paragraph styles may define text properties. These are applied to the character content of the paragraph unless they are overwritten by a text style that is specified by any of the descendant elements of the paragraph element.

16.28.3Section Styles

Section styles are represented by <style:style> elements whose style:family attribute has the value section.

16.28.4Ruby Styles

Ruby styles are represented by <style:style> elements whose style:family attribute has the value ruby.

16.29Enhanced Text Styles

16.29.1<text:linenumbering-configuration>

The <text:linenumbering-configuration> element specifies line numbering within the <office:styles> element.

The <text:linenumbering-configuration> element is usable within the following element: <office:styles> 3.15.2.

The <text:linenumbering-configuration> element has the following attributes: style:num-format 19.500, style:num-letter-sync 19.501, text:count-empty-lines 19.783, text:count-in-text-boxes 19.784, text:increment 19.808, text:number-lines 19.839, text:number-position 19.840, text:offset 19.842, text:restart-on-page 19.858 and text:style-name 19.874.21.

The <text:linenumbering-configuration> element has the following child element: <text:linenumbering-separator> 16.29.2.

16.29.2<text:linenumbering-separator>

The <text:linenumbering-separator> element contains the text that is displayed as a separator. A separator is text that is displayed instead of a line number for lines where no number is displayed.

The <text:linenumbering-separator> element is usable within the following element: <text:linenumbering-configuration> 16.29.1.

The <text:linenumbering-separator> element has the following attribute: text:increment 19.808.

The <text:linenumbering-separator> element has no child elements.

The <text:linenumbering-separator> element has character data content.

16.29.3<text:notes-configuration>

A <text:notes-configuration> element specifies values for each note class used in a document. If there is no note configuration element, an implementation-defined default note configuration is used.

The <text:notes-configuration> element is usable within the following elements: <office:styles> 3.15.2 and <style:section-properties> 17.11.

The <text:notes-configuration> element has the following attributes: style:num-format 19.500, style:num-letter-sync 19.501, style:num-prefix 19.502, style:num-suffix 19.503, text:citation-body-style-name 19.768, text:citation-style-name 19.769, text:default-style-name 19.794, text:footnotes-position 19.804, text:master-page-name 19.833, text:note-class 19.837, text:start-numbering-at 19.869 and text:start-value 19.868.5.

The <text:notes-configuration> element has the following child elements: <text:note-continuation-notice-backward> 16.29.5 and <text:note-continuation-notice-forward> 16.29.4.

16.29.4<text:note-continuation-notice-forward>

The <text:note-continuation-notice-forward> elements specifies the text that is displayed at the end of a footnote that is continued on the next page

The <text:note-continuation-notice-forward> element is usable within the following element: <text:notes-configuration> 16.29.3.

The <text:note-continuation-notice-forward> element has no attributes.

The <text:note-continuation-notice-forward> element has no child elements.

The <text:note-continuation-notice-forward> element has character data content.

16.29.5<text:note-continuation-notice-backward>

The <text:note-continuation-notice-backward> elements specifies the text that is displayed before continued text.

The <text:note-continuation-notice-backward> element is usable within the following element: <text:notes-configuration> 16.29.3.

The <text:note-continuation-notice-backward> element has no attributes.

The <text:note-continuation-notice-backward> element has no child elements.

The <text:note-continuation-notice-backward> element has character data content.

16.29.6<text:bibliography-configuration>

The <text:bibliography-configuration> element specifies how bibliography entries are displayed in-line, and how they are displayed in a bibliography index.

The <text:bibliography-configuration> element is usable within the following element: <office:styles> 3.15.2.

The <text:bibliography-configuration> element has the following attributes: fo:country 19.234.2, fo:language 19.236.3, fo:script 19.242.3, style:rfc-language-tag 19.512, text:numbered-entries 19.841, text:prefix 19.848, text:sort-algorithm 19.865, text:sort-by-position 19.867 and text:suffix 19.876.

The <text:bibliography-configuration> element has the following child element: <text:sort-key> 16.29.7.

16.29.7<text:sort-key>

The <text:sort-key> element specifies a single sort key if bibliography entries are not displayed in document order.

The <text:sort-key> element is usable within the following element: <text:bibliography-configuration> 16.29.6.

The <text:sort-key> element has the following attributes: text:key 19.820 and text:sort-ascending 19.866.

The <text:sort-key> element has no child elements.

16.30<text:list-style>

The <text:list-style> element contains a set of style elements for each list level, which are called list level styles. There are three different list level style elements, depending on whether a list level is to have a list label containing the list numbering, a bullet, or an image.

If a list style is applied to a list but does not contain a list level specification for a specific level, the list level style of the next lower level is used. If no specific list level style has been defined, an implementation-dependent default style is used.

<text:list-style> elements may occur in the <office:automatic-styles> 3.15.3 and <office:styles> 3.15.2 elements, but they may also occur within the <style:graphic-properties> 17.21.elements of graphic styles.

Including a list style element into a graphic style has the same semantics as adding a style:list-style-name attribute ( 19.496) to the style that references a list style that is declared outside a graphic style.

Note: The inclusion of a list style element is needed in cases where a common graphic style should be associated with an automatic list style.

List styles contained in a graphic style can be referenced by other graphic styles using the style:list-style-name attribute. Their names are not displayed in the user interface, even if the graphic style that contains it is a common style.

The <text:list-style> element is usable within the following elements: <office:automatic-styles> 3.15.3, <office:styles> 3.15.2 and <style:graphic-properties> 17.21.

The <text:list-style> element has the following attributes: style:display-name 19.472, style:name 19.498.2 and text:consecutive-numbering 19.779.

The <text:list-style> element has the following child elements: <text:list-level-style-bullet> 16.31, <text:list-level-style-image> 16.33 and <text:list-level-style-number> 16.32.

16.31<text:list-level-style-bullet>

A <text:list-level-style-bullet> element specifies a list style where list items are preceded by bullets.

The <text:list-level-style-bullet> element is usable within the following element: <text:list-style> 16.30.

The <text:list-level-style-bullet> element has the following attributes: style:num-prefix 19.502, style:num-suffix 19.503, text:bullet-char 19.760, text:bullet-relative-size 19.761, text:level 19.828 and text:style-name 19.874.24.

The <text:list-level-style-bullet> element has the following child elements: <style:list-level-properties> 17.19 and <style:text-properties> 16.27.28.

16.32<text:list-level-style-number>

A <text:list-level-style-number> specifies a list style where list items are preceded by numbers.

The <text:list-level-style-number> element is usable within the following element: <text:list-style> 16.30.

The <text:list-level-style-number> element has the following attributes: style:num-format 19.500, style:num-letter-sync 19.501, style:num-prefix 19.502, style:num-suffix 19.503, text:display-levels 19.797, text:level 19.828, text:start-value 19.868.4 and text:style-name 19.874.23.

The <text:list-level-style-number> element has the following child elements: <style:list-level-properties> 17.19 and <style:text-properties> 16.27.28.

16.33<text:list-level-style-image>

A <text:list-level-style-image> specifies a list style where list items are preceded by images. This element can be an [XLink] and can only be contained in list style elements.

The <text:list-level-style-image> element is usable within the following element: <text:list-style> 16.30.

The <text:list-level-style-image> element has the following attributes: text:level 19.828, xlink:actuate 19.909, xlink:href 19.910.35, xlink:show 19.911 and xlink:type 19.913.

The <text:list-level-style-image> element has the following child elements: <office:binary-data> 10.4.5 and <style:list-level-properties> 17.19.

16.34<text:outline-style>

The <text:outline-style> element contains the elements that specify a style for each outline level.

An outline style is a list style that is applied to all headings within a text document where the heading's paragraph style does not define a list style to use itself.

The <text:outline-style> element is usable within the following element: <office:styles> 3.15.2.

The <text:outline-style> element has the following attribute: style:name 19.498.2.

The <text:outline-style> element has the following child element: <text:outline-level-style> 16.35.

16.35<text:outline-level-style>

The <text:outline-level-style> element specifies a style for each outline level.

The <text:outline-level-style> element is usable within the following element: <text:outline-style> 16.34.

The <text:outline-level-style> element has the following attributes: style:num-format 19.500, style:num-letter-sync 19.501, style:num-prefix 19.502, style:num-suffix 19.503, text:display-levels 19.797, text:level 19.828, text:start-value 19.868.7 and text:style-name 19.874.28.

The <text:outline-level-style> element has the following child elements: <style:list-level-properties> 17.19 and <style:text-properties> 16.27.28.

16.36Table Styles

16.36.1Table Styles

Table styles are <style:style> elements that have the family table.

16.36.2Table Column Styles

Table column styles are <style:style> elements that have the family table-column.

16.36.3Table Row Styles

Table row styles are <style:style> elements that have the family table-row.

16.36.4Table Cell Styles

Table cell styles are <style:style> elements that have the family table-cell.

In addition to table cell properties, table cell styles may define paragraph and text properties. These are applied to paragraphs contained in a table cell unless they are overwritten by paragraph styles that are specified by the paragraph elements themselves.

16.37Graphic Styles

Graphic styles are <style:style> elements that have the family graphic.

In addition to graphic properties, graphic styles may define paragraph and text properties. These are applied to paragraphs contained in drawing objects unless they are overwritten by paragraph styles that are specified by the paragraph elements themselves.

16.38Presentation Styles

Presentation styles are <style:style> elements that have the family presentation.

In addition to graphic properties, presentation styles may define paragraph and text properties. These are applied to paragraphs contained in drawing objects unless they are overwritten by paragraph styles that are specified by the paragraph elements themselves.

16.39Drawing Page Style

A drawing page style is a <style:style> element with family drawing-page.

Within drawing and presentation documents, drawing page styles can be used to change the background of a draw page. If a background is set with the help of a drawing page style, it overrides the background of the master page that is assigned to the draw page, but not the shapes that are on the master page.

Within presentation documents, the draw page style may contain presentation formatting properties.

16.40Enhanced Graphic Style Elements

16.40.1<draw:gradient>

The <draw:gradient> element defines a gradient for filling a drawing object.

The <draw:gradient> element is usable within the following element: <office:styles> 3.15.2.

The <draw:gradient> element has the following attributes: draw:angle 19.112, draw:border 19.114, draw:cx 19.129, draw:cy 19.130, draw:display-name 19.133.3, draw:end-color 19.141, draw:end-intensity 19.143, draw:name 19.197.12, draw:start-color 19.214, draw:start-intensity 19.216 and draw:style 19.218.2.

The <draw:gradient> element has no child elements.

16.40.2<svg:linearGradient>

The <svg:linearGradient> element as specified in §13.2 of [SVG] can used in documents in OpenDocument format subject to the following rules:

  • The gradient shall have a name. It is specified by the draw:name attribute. 

  • Only the svg:gradientTransform, svg:x1, svg:y1, svg:x2, svg:y2 and svg:spreadMethod attributes are evaluated. 

  • The gradient shall be calculated as having a svg:gradientUnits attribute of objectBoundingBox.  

  • The only child element that is evaluated is <svg:stop>. 

  • For <svg:stop>, only the svg:offset, svg:stop-color and svg:stop-opacity attributes are evaluated. 

The <svg:linearGradient> element is usable within the following element: <office:styles> 3.15.2.

The <svg:linearGradient> element has the following attributes: draw:display-name 19.133.8, draw:name 19.197.29, svg:gradientTransform 19.536, svg:gradientUnits 19.537, svg:spreadMethod 19.553, svg:x1 19.574.2, svg:x2 19.575.2, svg:y1 19.578.2 and svg:y2 19.579.2.

The <svg:linearGradient> element has the following child element: <svg:stop> 16.40.4.

16.40.3<svg:radialGradient>

The <svg:radialGradient> element as specified in §13.2 of [SVG] can used in documents in OpenDocument format subject to the following rules:

  • The gradient shall have a name. It is specified by the draw:name attribute. 

  • For <svg:radialGradient>, only the svg:gradientTransform, svg:cx, svg:cy, svg:r, svg:fx, svg:fy and svg:spreadMethod attributes are evaluated. 

  • The gradient shall be calculated as having a svg:gradientUnits attribute of objectBoundingBox.  

  • The only child element that is evaluated is <svg:stop>. 

  • For <svg:stop>, only the svg:offset, svg:stop-color and svg:stop-opacity attributes are evaluated. 

The <svg:radialGradient> element is usable within the following element: <office:styles> 3.15.2.

The <svg:radialGradient> element has the following attributes: draw:display-name 19.133.9, draw:name 19.197.30, svg:cx 19.524.4, svg:cy 19.525.4, svg:fx 19.534, svg:fy 19.535, svg:gradientTransform 19.536, svg:gradientUnits 19.537, svg:r 19.549.3 and svg:spreadMethod 19.553.

The <svg:radialGradient> element has the following child element: <svg:stop> 16.40.4.

16.40.4<svg:stop>

See §13.2.4 of [SVG].

The <svg:stop> element is usable within the following elements: <svg:linearGradient> 16.40.2 and <svg:radialGradient> 16.40.3.

The <svg:stop> element has the following attributes: svg:offset 19.543, svg:stop-color 19.556 and svg:stop-opacity 19.557.

The <svg:stop> element has no child elements.

16.40.5<draw:hatch>

The <draw:hatch> element defines a hatch for filling graphic objects. A hatch is a simple pattern of straight lines that is repeated in the fill area.

The <draw:hatch> element is usable within the following element: <office:styles> 3.15.2.

The <draw:hatch> element has the following attributes: draw:color 19.122.2, draw:display-name 19.133.4, draw:distance 19.134.2, draw:name 19.197.13, draw:rotation 19.209 and draw:style 19.218.3.

The <draw:hatch> element has no child elements.

16.40.6<draw:fill-image>

The <draw:fill-image> element specifies a link to a bitmap resource. Fill image are not available as automatic styles.

The <draw:fill-image> element is usable within the following element: <office:styles> 3.15.2.

The <draw:fill-image> element has the following attributes: draw:display-name 19.133.2, draw:name 19.197.9, svg:height 19.539.7, svg:width 19.571.9, xlink:actuate 19.909, xlink:href 19.910.13, xlink:show 19.911 and xlink:type 19.913.

The <draw:fill-image> element has no child elements.

16.40.7<draw:opacity>

The <draw:opacity> element specifies an opacity gradient for a graphic object. An opacity gradient interpolates opacity. Opacity gradients are not available as automatic styles.

The <draw:opacity> element is usable within the following element: <office:styles> 3.15.2.

The <draw:opacity> element has the following attributes: draw:angle 19.112, draw:border 19.114, draw:cx 19.129, draw:cy 19.130, draw:display-name 19.133.6, draw:end 19.139, draw:name 19.197.18, draw:start 19.212 and draw:style 19.218.4.

The <draw:opacity> element has no child elements.

16.40.8<draw:marker>

The <draw:marker> element represents a marker, which is used to draw polygons at the start or end point of a stroke depending on whether it is referenced by a draw:marker-start or draw:marker-end attribute.

Marker geometry is defined by a svg:d attribute.

Note: The marker geometry could be imagined as an arrow whose vertex points upwards.

When the marker is painted, its geometry is first mapped to the stroke start or end point as follows:

If a marker is referenced by a draw:marker-start attribute, the marker geometry is scaled so that its width equals the width specified by draw:marker-start-width attribute. If the marker is referenced by a draw:marker-end attribute, the marker geometry is scaled so that its width equals the width specified by draw:marker-end-width attribute. The aspect ratio of the geometry is in both cases kept.

The geometry is horizontally centered. It is vertically positioned relative to an offset value which is specified by a draw:marker-start-center attribute for markers referenced by a draw:marker-start attribute, and by the draw:marker-end-center attribute for markers referenced by a draw:marker-end attribute. The attribute value true defines an offset of 0.5 and the attribute value false defines an offset of 0.3, which is also the default value. The offset specifies the marker's vertical position in a range from 0.0 to 1.0, where the value 0.0 means the geometry's bottom bound is aligned to the X axis of the local coordinate system of the marker geometry, and where the value 1.0 means the top bound to be aligned to the X axis of the local coordinate system of the marker geometry.

If the marker referenced by a draw:marker-start attribute, the marker geometry is then rotated so that the Y axis is aligned with the direction of the stroke in the start/end point direction. It is painted to the stroke so that the origin of the coordinate system of the mapped marker geometry is positioned at the start point's position.

If the marker is referenced by a draw:marker-end attribute, the marker geometry is then rotated so that the X axis is aligned with the direction of the stroke in the end/start point direction. It is pointed to the stroke so that the origin of the coordinate system of the mapped marker geometry is positioned at the end point's position.

Markers are not available as automatic styles.

The <draw:marker> element is usable within the following element: <office:styles> 3.15.2.

The <draw:marker> element has the following attributes: draw:display-name 19.133.5, draw:name 19.197.16, svg:d 19.526 and svg:viewBox 19.570.

The <draw:marker> element has no child elements.

16.40.9<draw:stroke-dash>

The <draw:stroke-dash> element represents a dash style that can be used to render strokes of shapes. Dash styles are not available as automatic styles.

The <draw:stroke-dash> element is usable within the following element: <office:styles> 3.15.2.

The <draw:stroke-dash> element has the following attributes: draw:display-name 19.133.7, draw:distance 19.134.3, draw:dots1 19.135, draw:dots1-length 19.136, draw:dots2 19.137, draw:dots2-length 19.138, draw:name 19.197.27 and draw:style 19.218.5.

The <draw:stroke-dash> element has no child elements.

16.41<style:presentation-page-layout>

The <style:presentation-page-layout> element is a container <presentation:placeholder> elements. These placeholders are used as templates for creating new presentation objects and to mark the size and position of an object if the presentation page layout of a drawing page is changed.

The <style:presentation-page-layout> element is usable within the following element: <office:styles> 3.15.2.

The <style:presentation-page-layout> element has the following attributes: style:display-name 19.472 and style:name 19.498.2.

The <style:presentation-page-layout> element has the following child element: <presentation:placeholder> 16.42.

16.42<presentation:placeholder>

The <presentation:placeholder> element specifies a placeholder for presentation objects.

The <presentation:placeholder> element is usable within the following element: <style:presentation-page-layout> 16.41.

The <presentation:placeholder> element has the following attributes: presentation:object 19.403, svg:height 19.539.10, svg:width 19.571.12, svg:x 19.573.8 and svg:y 19.577.8.

The <presentation:placeholder> element has no child elements.

16.43Chart Styles

Chart styles are <style:style> elements that have the family chart.

There are two style inheritance models at work with chart styles. The first model, is standard style inheritance as described in <style:style>. 16.2 The second model is inheritance between elements representing parts of a chart.

If an attribute is not specified with a chart style on a <chart:data-point> element, the specification of that attribute on its parent <chart:series> element is used. If the attribute is not specified on the parent <chart:series> element, then the specification of that attribute on its ancestor <chart:plot-area> element is used.

Chart styles may define paragraph and text properties. These are applied to paragraphs contained in chart elements unless they are over-ridden by paragraph styles that are specified by the paragraph elements themselves.

17Formatting Elements

17.1General

A document can contain multiple style elements. Formatting properties are attributes and child elements of formatting properties elements, which are described in this chapter, and which are child elements of style elements. This container relationship means:

17.2<style:page-layout-properties>

The <style:page-layout-properties> element acts as a container for attributes and elements that define a page layout.

The <style:page-layout-properties> element is usable within the following elements: <style:default-page-layout> 16.8 and <style:page-layout> 16.5.

The <style:page-layout-properties> element has the following attributes: fo:background-color 20.175, fo:border 20.176.2, fo:border-bottom 20.176.3, fo:border-left 20.176.4, fo:border-right 20.176.5, fo:border-top 20.176.6, fo:margin 20.198, fo:margin-bottom 20.199, fo:margin-left 20.200, fo:margin-right 20.201, fo:margin-top 20.202, fo:padding 20.210, fo:padding-bottom 20.211, fo:padding-left 20.212, fo:padding-right 20.213, fo:padding-top 20.214, fo:page-height 20.208, fo:page-width 20.209, style:border-line-width 20.241, style:border-line-width-bottom 20.242, style:border-line-width-left 20.243, style:border-line-width-right 20.244, style:border-line-width-top 20.245, style:first-page-number 20.258, style:footnote-max-height 20.288, style:layout-grid-base-height 20.296, style:layout-grid-base-width 20.297, style:layout-grid-color 20.298, style:layout-grid-display 20.299, style:layout-grid-lines 20.300, style:layout-grid-mode 20.301, style:layout-grid-print 20.302, style:layout-grid-ruby-below 20.303, style:layout-grid-ruby-height 20.304, style:layout-grid-snap-to 20.305, style:layout-grid-standard-mode 20.306, style:num-format 20.314, style:num-letter-sync 20.315, style:num-prefix 20.316, style:num-suffix 20.317, style:paper-tray-name 20.321, style:print 20.322, style:print-orientation 20.325, style:print-page-order 20.324, style:register-truth-ref-style-name 20.329, style:scale-to 20.344, style:scale-to-pages 20.345, style:shadow 20.349, style:table-centering 20.353 and style:writing-mode 20.394.3.

The <style:page-layout-properties> element has the following child elements: <style:background-image> 17.3, <style:columns> 17.12 and <style:footnote-sep> 17.4.

17.3<style:background-image>

The <style:background-image> element specifies an image as a background.

If the <style:background-image> element is empty and if there is no color specified by an fo:background-color element in the same formatting properties element, the background color is set to transparent.

Note: The fo:background-color property also sets a background attribute.

The <style:background-image> element is usable within the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6, <style:section-properties> 17.11, <style:table-cell-properties> 17.18, <style:table-properties> 17.15 and <style:table-row-properties> 17.17.

The <style:background-image> element has the following attributes: draw:opacity 19.202, style:filter-name 19.477, style:position 19.508.2, style:repeat 19.511, xlink:actuate 19.909, xlink:href 19.910.28, xlink:show 19.911 and xlink:type 19.913.

The <style:background-image> element has the following child element: <office:binary-data> 10.4.5.

17.4<style:footnote-sep>

The <style:footnote-sep> element specifies the line that separates a footnote area from a body text area on a page.

The <style:footnote-sep> element is usable within the following element: <style:page-layout-properties> 17.2.

The <style:footnote-sep> element has the following attributes: style:adjustment 19.461, style:color 19.467, style:distance-after-sep 19.475, style:distance-before-sep 19.474, style:line-style 19.493, style:rel-width 19.510.4 and style:width 19.518.3.

The <style:footnote-sep> element has no child elements.

17.5<style:header-footer-properties>

The <style:header-footer-properties> element specifies formatting properties for both headers and footers.

The <style:header-footer-properties> element is usable within the following elements: <style:footer-style> 16.7 and <style:header-style> 16.6.

The <style:header-footer-properties> element has the following attributes: fo:background-color 20.175, fo:border 20.176.2, fo:border-bottom 20.176.3, fo:border-left 20.176.4, fo:border-right 20.176.5, fo:border-top 20.176.6, fo:margin 20.198, fo:margin-bottom 20.199, fo:margin-left 20.200, fo:margin-right 20.201, fo:margin-top 20.202, fo:min-height 20.205.2, fo:padding 20.210, fo:padding-bottom 20.211, fo:padding-left 20.212, fo:padding-right 20.213, fo:padding-top 20.214, style:border-line-width 20.241, style:border-line-width-bottom 20.242, style:border-line-width-left 20.243, style:border-line-width-right 20.244, style:border-line-width-top 20.245, style:dynamic-spacing 20.256, style:shadow 20.349 and svg:height 20.397.2.

The <style:header-footer-properties> element has the following child element: <style:background-image> 17.3.

17.6<style:paragraph-properties>

The <style:paragraph-properties> element specifies formatting properties for paragraphs.

The <style:paragraph-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:paragraph-properties> element has the following attributes: fo:background-color 20.175, fo:border 20.176.2, fo:border-bottom 20.176.3, fo:border-left 20.176.4, fo:border-right 20.176.5, fo:border-top 20.176.6, fo:break-after 20.177, fo:break-before 20.178, fo:hyphenation-keep 20.189, fo:hyphenation-ladder-count 20.190, fo:keep-together 20.193, fo:keep-with-next 20.194, fo:line-height 20.197, fo:margin 20.198, fo:margin-bottom 20.199, fo:margin-left 20.200, fo:margin-right 20.201, fo:margin-top 20.202, fo:orphans 20.207, fo:padding 20.210, fo:padding-bottom 20.211, fo:padding-left 20.212, fo:padding-right 20.213, fo:padding-top 20.214, fo:text-align 20.216.1, fo:text-align-last 20.217, fo:text-indent 20.218, fo:widows 20.221, style:auto-text-indent 20.239, style:background-transparency 20.240, style:border-line-width 20.241, style:border-line-width-bottom 20.242, style:border-line-width-left 20.243, style:border-line-width-right 20.244, style:border-line-width-top 20.245, style:font-independent-line-spacing 20.268, style:join-border 20.292, style:justify-single-word 20.293, style:line-break 20.307, style:line-height-at-least 20.309, style:line-spacing 20.310, style:page-number 20.320, style:punctuation-wrap 20.327, style:register-true 20.328, style:shadow 20.349, style:snap-to-layout-grid 20.351, style:tab-stop-distance 20.352, style:text-autospace 20.355, style:vertical-align 20.386.1, style:writing-mode 20.394.4, style:writing-mode-automatic 20.395, text:line-number 20.420 and text:number-lines 20.424.

The <style:paragraph-properties> element has the following child elements: <style:background-image> 17.3, <style:drop-cap> 17.9 and <style:tab-stops> 17.7.

17.7<style:tab-stops>

The <style:tab-stops> element is a container for <style:tab-stop> elements.

The <style:tab-stops> element is usable within the following element: <style:paragraph-properties> 17.6.

The <style:tab-stops> element has no attributes.

The <style:tab-stops> element has the following child element: <style:tab-stop> 17.8.

17.8<style:tab-stop>

The <style:tab-stop> element defines a tab stop.

The <style:tab-stop> element is usable within the following element: <style:tab-stops> 17.7.

The <style:tab-stop> element has the following attributes: style:char 19.465, style:leader-color 19.484, style:leader-style 19.485, style:leader-text 19.486, style:leader-text-style 19.487, style:leader-type 19.488, style:leader-width 19.489, style:position 19.508.3, style:type 19.515.3.

The <style:tab-stop> element has no child elements.

17.9<style:drop-cap>

The <style:drop-cap> element specifies if the first character or more of a paragraph is displayed in a larger font, that spans multiple lines.

The <style:drop-cap> element is usable within the following element: <style:paragraph-properties> 17.6.

The <style:drop-cap> element has the following attributes: style:distance 19.473, style:length 19.492, style:lines 19.494 and style:style-name 19.514.

The <style:drop-cap> element has no child elements.

17.10<style:ruby-properties>

The <style:ruby-properties> element specifies formatting properties for ruby elements.

The <style:ruby-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:ruby-properties> element has the following attributes: style:ruby-align 20.341 and style:ruby-position 20.342.

The <style:ruby-properties> element has no child elements.

17.11<style:section-properties>

The <style:section-properties> element defined the formatting properties used by section styles.

The <style:section-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:section-properties> element has the following attributes: fo:background-color 20.175, fo:margin-left 20.200, fo:margin-right 20.201, style:editable 20.257, style:protect 20.326.3, style:writing-mode 20.394.5 and text:dont-balance-text-columns 20.418.

The <style:section-properties> element has the following child elements: <style:background-image> 17.3, <style:columns> 17.12 and <text:notes-configuration> 16.29.3.

17.12<style:columns>

The <style:columns> element specifies the formatting properties of columns by its attributes and its child elements. If it does not contain any column formatting properties, all columns are assigned the same width.

The <style:columns> element is usable within the following elements: <style:graphic-properties> 17.21, <style:page-layout-properties> 17.2 and <style:section-properties> 17.11.

The <style:columns> element has the following attributes: fo:column-count 19.232 and fo:column-gap 19.233.

The <style:columns> element has the following child elements: <style:column> 17.13 and <style:column-sep> 17.14.

17.13<style:column>

The <style:column> element specifies formatting properties for a column.

The <style:column> element is usable within the following element: <style:columns> 17.12.

The <style:column> element has the following attributes: fo:end-indent 19.235, fo:space-after 19.243, fo:space-before 19.244, fo:start-indent 19.245 and style:rel-width 19.510.3.

The <style:column> element has no child elements.

17.14<style:column-sep>

The <style:column-sep> element specifies a separator line between columns.

The <style:column-sep> element is usable within the following element: <style:columns> 17.12.

The <style:column-sep> element has the following attributes: style:color 19.467, style:height 19.482, style:style 19.513, style:vertical-align 19.516 and style:width 19.518.2.

The <style:column-sep> element has no child elements.

17.15<style:table-properties>

The <style:table-properties> element specifies formatting properties for tables.

The <style:table-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:table-properties> element has the following attributes: fo:background-color 20.175, fo:break-after 20.177, fo:break-before 20.178, fo:keep-with-next 20.194, fo:margin 20.198, fo:margin-bottom 20.199, fo:margin-left 20.200, fo:margin-right 20.201, fo:margin-top 20.202, style:may-break-between-rows 20.311, style:page-number 20.320, style:rel-width 20.332.2, style:shadow 20.349, style:width 20.389, style:writing-mode 20.394.7, table:align 20.404, table:border-model 20.405 and table:display 20.406.

The <style:table-properties> element has the following child element: <style:background-image> 17.3.

17.16<style:table-column-properties>

The <style:table-column-properties> element specifies formatting properties for table columns.

The <style:table-column-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:table-column-properties> element has the following attributes: fo:break-after 20.177, fo:break-before 20.178, style:column-width 20.247, style:rel-column-width 20.330 and style:use-optimal-column-width 20.383.

The <style:table-column-properties> element has no child elements.

17.17<style:table-row-properties>

The <style:table-row-properties> element specifies formatting properties for table rows.

The <style:table-row-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:table-row-properties> element has the following attributes: fo:background-color 20.175, fo:break-after 20.177, fo:break-before 20.178, fo:keep-together 20.193, style:min-row-height 20.312, style:row-height 20.340 and style:use-optimal-row-height 20.384.

The <style:table-row-properties> element has the following child element: <style:background-image> 17.3.

17.18<style:table-cell-properties>

The <style:table-cell-properties> element specifies formatting properties for cells.

The <style:table-cell-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:table-cell-properties> element has the following attributes: fo:background-color 20.175, fo:border 20.176.2, fo:border-bottom 20.176.3, fo:border-left 20.176.4, fo:border-right 20.176.5, fo:border-top 20.176.6, fo:padding 20.210, fo:padding-bottom 20.211, fo:padding-left 20.212, fo:padding-right 20.213, fo:padding-top 20.214, fo:wrap-option 20.223, style:border-line-width 20.241, style:border-line-width-bottom 20.242, style:border-line-width-left 20.243, style:border-line-width-right 20.244, style:border-line-width-top 20.245, style:cell-protect 20.246, style:decimal-places 20.250, style:diagonal-bl-tr 20.251, style:diagonal-bl-tr-widths 20.252, style:diagonal-tl-br 20.253, style:diagonal-tl-br-widths 20.254, style:direction 20.255, style:glyph-orientation-vertical 20.289, style:print-content 20.323.3, style:repeat-content 20.334, style:rotation-align 20.338, style:rotation-angle 20.339, style:shadow 20.349, style:shrink-to-fit 20.350, style:text-align-source 20.354, style:vertical-align 20.386.2 and style:writing-mode 20.394.6.

The <style:table-cell-properties> element has the following child element: <style:background-image> 17.3.

17.19<style:list-level-properties>

The <style:list-level-properties> element specifies formatting properties for a list level.

The <style:list-level-properties> element is usable within the following elements: <text:list-level-style-bullet> 16.31, <text:list-level-style-image> 16.33, <text:list-level-style-number> 16.32 and <text:outline-level-style> 16.35.

The <style:list-level-properties> element has the following attributes: fo:height 20.187, fo:text-align 20.216.2, fo:width 20.222, style:font-name 20.269, style:vertical-pos 20.387, style:vertical-rel 20.388, svg:y 20.402.2, text:list-level-position-and-space-mode 20.421, text:min-label-distance 20.422, text:min-label-width 20.423 and text:space-before 20.425.

The <style:list-level-properties> element has the following child element: <style:list-level-label-alignment> 17.20.

17.20<style:list-level-label-alignment>

The <style:list-level-label-alignment> element specifies the position and spacing of a list label and its list item.

The element will be evaluated only if the text:list-level-position-and-space-mode attribute has the value label-alignment.

The fo:text-indent and fo:margin-left attributes specify the indent and margin for the text lines of a list item. The text lines of a list item contains the list level properties specific content and the text of the paragraph inside the list item. The value fo:text-indent + fo:margin-left specifies the indent of the first text line of the list item. This position is also the alignment position for the list label, because the value of text:min-label-width is treated as 0. 19.246, 20.421

The fo:text-indent and fo:margin-left attributes are evaluated only for paragraphs inside list items whose paragraph styles do not specify them. If one of the two properties, or both, are specified by the paragraph style, the text indent and/or left margin are taken from the paragraph style. In this case the paragraph style's properties are used to determine the indent and margin for the text lines and thus also the alignment position.

 

The <style:list-level-label-alignment> element is usable within the following element: <style:list-level-properties> 17.19.

The <style:list-level-label-alignment> element has the following attributes: fo:margin-left 19.237, fo:text-indent 19.246, text:label-followed-by 19.827 and text:list-tab-stop-position 19.830.

The <style:list-level-label-alignment> element has no child elements.

17.21<style:graphic-properties>

The <style:graphic-properties> element specifies formatting properties for chart, draw, graphic, and frame elements.

The <style:graphic-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:graphic-properties> element has the following attributes: dr3d:ambient-color 20.67, dr3d:backface-culling 20.69, dr3d:back-scale 20.68, dr3d:close-back 20.70, dr3d:close-front 20.71, dr3d:depth 20.72, dr3d:diffuse-color 20.73, dr3d:edge-rounding 20.74, dr3d:edge-rounding-mode 20.75, dr3d:emissive-color 20.76, dr3d:end-angle 20.77, dr3d:horizontal-segments 20.78, dr3d:lighting-mode 20.79, dr3d:normals-direction 20.80, dr3d:normals-kind 20.81, dr3d:shadow 20.82, dr3d:shininess 20.83, dr3d:specular-color 20.84, dr3d:texture-filter 20.85, dr3d:texture-generation-mode-x 20.88, dr3d:texture-generation-mode-y 20.89, dr3d:texture-kind 20.86, dr3d:texture-mode 20.87, dr3d:vertical-segments 20.90, draw:auto-grow-height 20.91, draw:auto-grow-width 20.92, draw:blue 20.94, draw:caption-angle 20.95, draw:caption-angle-type 20.96, draw:caption-escape 20.97, draw:caption-escape-direction 20.98, draw:caption-fit-line-length 20.99, draw:caption-gap 20.100, draw:caption-line-length 20.101, draw:caption-type 20.102, draw:color-inversion 20.103, draw:color-mode 20.104, draw:contrast 20.105, draw:decimal-places 20.106, draw:draw-aspect 20.107, draw:end-guide 20.108, draw:end-line-spacing-horizontal 20.109, draw:end-line-spacing-vertical 20.110, draw:fill 20.111, draw:fill-color 20.112, draw:fill-gradient-name 20.113, draw:fill-hatch-name 20.114, draw:fill-hatch-solid 20.115, draw:fill-image-height 20.116, draw:fill-image-name 20.117, draw:fill-image-ref-point 20.118, draw:fill-image-ref-point-x 20.119, draw:fill-image-ref-point-y 20.120, draw:fill-image-width 20.121, draw:fit-to-contour 20.122, draw:fit-to-size 20.123, draw:frame-display-border 20.124, draw:frame-display-scrollbar 20.126, draw:frame-margin-horizontal 20.125, draw:frame-margin-vertical 20.127, draw:gamma 20.128, draw:gradient-step-count 20.130, draw:green 20.129, draw:guide-distance 20.131, draw:guide-overhang 20.132, draw:image-opacity 20.133, draw:line-distance 20.134, draw:luminance 20.135, draw:marker-end 20.136, draw:marker-end-center 20.137, draw:marker-end-width 20.138, draw:marker-start 20.139, draw:marker-start-center 20.140, draw:marker-start-width 20.141, draw:measure-align 20.142, draw:measure-vertical-align 20.143, draw:ole-draw-aspect 20.144, draw:opacity 20.145, draw:opacity-name 20.146, draw:parallel 20.147, draw:placing 20.148, draw:red 20.149, draw:secondary-fill-color 20.150, draw:shadow 20.151, draw:shadow-color 20.152, draw:shadow-offset-x 20.153, draw:shadow-offset-y 20.154, draw:shadow-opacity 20.155, draw:show-unit 20.156, draw:start-guide 20.157, draw:start-line-spacing-horizontal 20.158, draw:start-line-spacing-vertical 20.159, draw:stroke 20.160, draw:stroke-dash 20.161, draw:stroke-dash-names 20.162, draw:stroke-linejoin 20.163, draw:symbol-color 20.165, draw:textarea-horizontal-align 20.166, draw:textarea-vertical-align 20.167, draw:tile-repeat-offset 20.168, draw:unit 20.173, draw:visible-area-height 20.169, draw:visible-area-left 20.170, draw:visible-area-top 20.171, draw:visible-area-width 20.172, draw:wrap-influence-on-position 20.174, fo:background-color 20.175, fo:border 20.176.2, fo:border-bottom 20.176.3, fo:border-left 20.176.4, fo:border-right 20.176.5, fo:border-top 20.176.6, fo:clip 20.179, fo:margin 20.198, fo:margin-bottom 20.199, fo:margin-left 20.200, fo:margin-right 20.201, fo:margin-top 20.202, fo:max-height 20.203, fo:max-width 20.204, fo:min-height 20.205.1, fo:min-width 20.206, fo:padding 20.210, fo:padding-bottom 20.211, fo:padding-left 20.212, fo:padding-right 20.213, fo:padding-top 20.214, fo:wrap-option 20.223, style:background-transparency 20.240, style:border-line-width 20.241, style:border-line-width-bottom 20.242, style:border-line-width-left 20.243, style:border-line-width-right 20.244, style:border-line-width-top 20.245, style:editable 20.257, style:flow-with-text 20.259, style:horizontal-pos 20.290, style:horizontal-rel 20.291, style:mirror 20.313, style:number-wrapped-paragraphs 20.318, style:overflow-behavior 20.319, style:print-content 20.323.2, style:protect 20.326.2, style:rel-height 20.331, style:rel-width 20.332.1, style:repeat 20.333, style:run-through 20.343, style:shadow 20.349, style:shrink-to-fit 20.350, style:vertical-pos 20.387, style:vertical-rel 20.388, style:wrap 20.390, style:wrap-contour 20.391, style:wrap-contour-mode 20.392, style:wrap-dynamic-threshold 20.393, style:writing-mode 20.394.2, svg:fill-rule 20.396, svg:height 20.397.1, svg:stroke-color 20.398, svg:stroke-linecap 20.164, svg:stroke-opacity 20.399, svg:stroke-width 20.400, svg:width 20.403, svg:x 20.401, svg:y 20.402.1, text:anchor-page-number 20.407, text:anchor-type 20.408, text:animation 20.409, text:animation-delay 20.410, text:animation-direction 20.411, text:animation-repeat 20.412, text:animation-start-inside 20.413, text:animation-steps 20.414 and text:animation-stop-inside 20.415.

The <style:graphic-properties> element has the following child elements: <style:background-image> 17.3, <style:columns> 17.12 and <text:list-style> 16.30.

17.22<style:chart-properties>

The <style:chart-properties> element specifies formatting properties for charts.

The <style:chart-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:chart-properties> element has the following attributes: chart:angle-offset 20.2, chart:auto-position 20.3, chart:auto-size 20.4, chart:axis-label-position 20.5, chart:axis-position 20.6, chart:connect-bars 20.7, chart:data-label-number 20.8, chart:data-label-symbol 20.9, chart:data-label-text 20.10, chart:deep 20.11, chart:display-label 20.12, chart:error-category 20.13, chart:error-lower-indicator 20.14, chart:error-lower-limit 20.15, chart:error-lower-range 20.16, chart:error-margin 20.17, chart:error-percentage 20.18, chart:error-upper-indicator 20.19, chart:error-upper-limit 20.20, chart:error-upper-range 20.21, chart:gap-width 20.22, chart:group-bars-per-axis 20.23, chart:hole-size 20.24, chart:include-hidden-cells 20.25, chart:interpolation 20.26, chart:interval-major 20.27, chart:interval-minor-divisor 20.28, chart:japanese-candle-stick 20.29, chart:label-arrangement 20.30, chart:label-position 20.31, chart:label-position-negative 20.32, chart:lines 20.33, chart:link-data-style-to-source 20.34, chart:logarithmic 20.35, chart:maximum 20.36, chart:mean-value 20.37, chart:minimum 20.38, chart:origin 20.39, chart:overlap 20.40, chart:percentage 20.42, chart:pie-offset 20.41, chart:regression-type 20.43, chart:reverse-direction 20.44, chart:right-angled-axes 20.45, chart:scale-text 20.46, chart:series-source 20.47, chart:solid-type 20.49, chart:sort-by-x-values 20.48, chart:spline-order 20.50, chart:spline-resolution 20.51, chart:stacked 20.52, chart:symbol-height 20.53, chart:symbol-name 20.54, chart:symbol-type 20.55, chart:symbol-width 20.56, chart:text-overlap 20.57, chart:three-dimensional 20.58, chart:tick-mark-position 20.63, chart:tick-marks-major-inner 20.59, chart:tick-marks-major-outer 20.60, chart:tick-marks-minor-inner 20.61, chart:tick-marks-minor-outer 20.62, chart:treat-empty-cells 20.64, chart:vertical 20.65, chart:visible 20.66, style:direction 20.255, style:rotation-angle 20.339 and text:line-break 20.419.

The <style:chart-properties> element has the following child elements: <chart:label-separator> 17.24 and <chart:symbol-image> 17.23.

17.23<chart:symbol-image>

The <chart:symbol-image> element specifies an image to be used for a data point in a chart.

This element should be used only together with a chart:symbol-type attribute and only when that attribute has the value image.

The <chart:symbol-image> element is usable within the following element: <style:chart-properties> 17.22.

The <chart:symbol-image> element has the following attribute: xlink:href 19.910.4.

The <chart:symbol-image> element has no child elements.

17.24<chart:label-separator>

The <chart:label-separator> element specifies text that is used for separating different parts of a textual data label. These parts can be the value as number, the value as a percentage (20.8), and the label text (20.10).

If the <chart:label-separator> element is omitted, the default value is a space character “ “ (U+0020, SPACE).

This element should be used within chart styles that are applied to <chart:data-label>, <chart:data-point>, <chart:series> or <chart:plot-area> elements.

If a separator is not specified by this element in a chart style applied to a <chart:data-label> element, the separator specified with a chart style applied to a parent element is used.

The <chart:label-separator> element is usable within the following element: <style:chart-properties> 17.22.

The <chart:label-separator> element has no attributes.

The <chart:label-separator> element has the following child element: <text:p> 5.1.3.

17.25<style:drawing-page-properties>

The <style:drawing-page-properties> element specifies formatting that can be applied to a <draw:page> element.

The <style:drawing-page-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:drawing-page-properties> element has the following attributes: draw:background-size 20.93, draw:fill 20.111, draw:fill-color 20.112, draw:fill-gradient-name 20.113, draw:fill-hatch-name 20.114, draw:fill-hatch-solid 20.115, draw:fill-image-height 20.116, draw:fill-image-name 20.117, draw:fill-image-ref-point 20.118, draw:fill-image-ref-point-x 20.119, draw:fill-image-ref-point-y 20.120, draw:fill-image-width 20.121, draw:gradient-step-count 20.130, draw:opacity 20.145, draw:opacity-name 20.146, draw:secondary-fill-color 20.150, draw:tile-repeat-offset 20.168, presentation:background-objects-visible 20.224, presentation:background-visible 20.225, presentation:display-date-time 20.226, presentation:display-footer 20.227, presentation:display-header 20.228, presentation:display-page-number 20.229, presentation:duration 20.230, presentation:transition-speed 20.231, presentation:transition-style 20.232, presentation:transition-type 20.233, presentation:visibility 20.234, smil:direction 20.235, smil:fadeColor 20.236, smil:subtype 20.237, smil:type 20.238, style:repeat 20.333 and svg:fill-rule 20.396.

The <style:drawing-page-properties> element has the following child element: <presentation:sound> 10.8.2.

18Datatypes

18.1Introduction

The values of attributes and elements have datatypes. This specification defines datatypes for values of elements and attributes of OpenDocument documents.

Note: This specification and the schema make reference to other specifications for some datatype definitions. Some datatypes introduced here may be specializations of other datatypes defined here or in other specifications.

 

18.2W3C Schema Datatypes

The following [xmlschema-2] datatypes are used in this specification:

18.3Other Datatypes

18.3.1angle

An angle, as defined in §4.1 of [SVG]. An angle is a double value that may be followed immediately by one of the following angle unit identifiers: deg (degrees), grad (gradiants) or rad (radians). If no unit identifier is specified, the value is assumed to be in degrees.

Note: OpenDocument v1.1 did not support angle specifications that contain an angle unit identifier.  Angle unit identifiers should be omitted for compatibility with OpenDocument v1.1.

18.3.2anyIRI

An IRI-reference as defined in [RFC3987], expressed in an [xmlschema-2] anyURI.

Note: The procedure for resolution of anyIRI values that are not IRI values is undefined.

18.3.3boolean

A Boolean value may have either of the values true or false.

18.3.4cellAddress

A cell address as specified in 9.2.1.

18.3.5cellRangeAddress

A cell range address as specified in 9.2.3.

18.3.6cellRangeAddressList

A cell range address list as specified in 9.2.5.

18.3.7character

A character value is a string with only one character.

18.3.8clipShape

A clip shape as defined in §7.20.1 of [XSL]. Offsets shall not be specified using the units em and px.

18.3.9color

A RGB color in conformance with §5.9.11 of [XSL], that is a RGB color in notation “#rrggbb”, where rr, gg and bb are 8-bit hexadecimal digits.

18.3.10coordinate

A coordinate represents a length in a coordinate system. It specifies the distance from the origin of the coordinate system along the relevant axis.

18.3.11countryCode

A country code is a value that conforms to ISO 3166 ([ISO3166-1], [ISO3166-2], [ISO3166-3], or their successors, and further parts).

See §2.2.4 Region Subtag of [RFC5646], or its successors.

18.3.12CURIE

A CURIE, as described in §7 of [RDFa].

18.3.13CURIEs

A list of CURIEs, as described in §7 of [RDFa], separated by whitespaces.

18.3.14dateOrDateTime

A dateOrDateTime value is either an [xmlschema-2] date value or an [xmlschema-2] dateTime value.

18.3.15distance

The length between two points.

18.3.16language

A language is a natural language identifier as defined by [RFC5646], or its successor. The lexical space is the same as the [xmlschema-2] language data type.

Note 1: The language datatype is the same as the [xmlschema-2] language datatype, except that its value range is not restricted to values of [RFC3066], but follows the syntax of the xml:lang attribute. See §2.12 of [XML1.0].

18.3.17languageCode

A language code is a value that conforms to ISO 639 ([ISO639-1], [ISO639-2], [ISO639-3] or their successors, and further parts).

See §2.2.1 Primary Language Subtag of [RFC5646], or its successors.

18.3.18length

A (positive or negative) length, consisting of magnitude and unit, in conformance with the Units of Measure defined in §5.9.13 of [XSL].

18.3.19namespacedToken

A namespaced token is an [xmlschema-2] QName that matches the definition of PrefixedName in §4 of [xml-names].

18.3.20nonNegativeLength

A measurement with a value that shall be zero or positive.

18.3.21nonNegativePixelLength

A non-negative measurement that shall have the unit px (pixels).

18.3.22pathData

Path data as described in §8.3 of [SVG]. Attribute values of this data type shall match the BNF grammar for SVG path data in §8.3.9 of [SVG].

18.3.23percent

(Positive or negative) percentage values in conformance with §5.9.11 of [XSL].

18.3.24point3D

A 3D point. The syntax of a 3D point is the same as that of a vector3D, except that each coordinate is shall be followed by a unit.

18.3.25points

A sequence of points. Each point consists of two integer coordinates separated by a comma “,” (U+002C, COMMA). The points are separated by white space.

18.3.26positiveLength

A measurement with a value that shall be positive.

18.3.27relativeLength

A relative length is a positive integer, followed by a ”*” (U+002A, ASTERISK) character.

18.3.28safeCURIE

A safe CURIE, as described in §7 of [RDFa].

18.3.29scriptCode

A script code conforming to [ISO15924], or its successors. See §2.2.3 Script Subtag of [RFC5646], or its successors.

18.3.30signedZeroToHundredPercent

Percentage values in the range [-100%,100%] in conformance with §5.9.11 of [XSL].

18.3.31styleName

A NCName as specified in [xmlschema-2] that is the name of a style.

18.3.32styleNameRef

A NCName as specified in [xmlschema-2] that is the name of a referenced style, or an empty value.

18.3.33styleNameRefs

A white space separated list of NCNames as specified in [xmlschema-2] that are the names of a styles.

18.3.34targetFrameName

The name of a target frame in conformance with §6.16 of [HTML4].

18.3.35textEncoding

A character encoding in the notation described in the §4.3.3 of [XML1.0], or the value x-symbol. The value is x-symbol means that the character encoding is not enumerated by §4.3.3 of [XML1.0].

18.3.36timeOrDateTime

A timeOrDateTime value is either an [xmlschema-2] time or an [xmlschema-2] dateTime value.

18.3.37URIorSafeCURIE

An IRI or a safe CURIE, as described in §7 of [RDFa].

18.3.38valueType

A list of value types.,

18.3.39variableName

A string specifying the name of a variable

18.3.40vector3D

A 3-element vector that is represented by floating point x, y, z coordinates. The format of a vector3D value is whitespace separated tokens in the order x, y, and z, and that expression starts with "(" (LEFT PARENTHESIS U+0028) and ends with ")" (RIGHT PARENTHESIS U+0029). If this value represents a normal, then it should be normalized.

18.3.41zeroToHundredPercent

Percentage values in the range [0%,100%] in conformance with §5.9.11 of [XSL].

19General Attributes

19.1General

Attributes for elements defined by OpenDocument are divided between those used by structural elements (19) versus those used by <style:*-properties> elements (20).

Attributes have default values defined by this standard. When any element appears in a document instance without such an attribute, consumers should behave as if the attribute is present with the defined default value.

19.2anim:color-interpolation

The anim:color-interpolation attribute specifies the color space that is used for color interpolation.

The defined values for the anim:color-interpolation attribute are:

The default value for this attribute is rgb.

The anim:color-interpolation attribute is usable with the following element: <anim:animateColor> 15.2.6.

The values of the anim:color-interpolation attribute are rgb or hsl.

19.3anim:color-interpolation-direction

The anim:color-interpolation-direction attribute specifies the direction that is used for color interpolation. This is only valid for the HSL color space.

The defined values for the anim:color-interpolation-direction attribute are:

The default value for this attribute is clockwise.

The anim:color-interpolation-direction attribute is usable with the following element: <anim:animateColor> 15.2.6.

The values of the anim:color-interpolation-direction attribute are clockwise or counter-clockwise.

19.4anim:audio-level

The anim:audio-level attribute specifies the audio volume during a playback.

The defined value range for the anim:audio-level attribute is a rational number between 0 (inaudible) and 1 (system volume), inclusive.

The anim:audio-level attribute is usable with the following element: <anim:audio> 15.5.

The anim:audio-level attribute has the data type double 18.2.

19.5anim:command

The anim:command attribute specifies an animation command.

The defined values for the anim:command attribute are:

  • custom: the command is user defined. 

  • verb: the command targets an embedded [OLE] object. 10.4.6.3. The parameter verb is the verb number executed at the embedded object. 

  • play: the command targets a media shape and starts its playback. The parameter media-time defines the playback start time in seconds. If this parameter is not set, playback starts at the last position. 

  • toggle-pause: the command targets a media shape and toggles its playback state from play to paused or from paused to play. 

  • stop: the command targets a media shape and stops its playback. 

  • stop-audio: the command has no target and stops all running audio playback. 

If the value of the anim:command attribute is custom, then there shall be a <anim:param> child element whose anim:name attribute and anim:value attribute values are user defined.

If the value of the anim:command attribute is verb, then there shall be a <anim:param> child element whose anim:name attribute value is verb and whose anim:value attribute value contains the verb number.

If the value of the anim:command attribute is play, then there shall be a <anim:param> child element whose anim:name attribute value is play and whose anim:value attribute value contains a value expressed in seconds.

The anim:command attribute is usable with the following element: <anim:command> 15.6.1.

The anim:command attribute has the data type string 18.2.

19.6anim:formula

The anim:formula attribute specifies a formula used in an animation function.

The following is the minimum supported grammar:

formula::= additive_expression

identifier::= '$' | 'pi' | 'e' | 'x' | 'y' | 'width' | 'height'

function::= 'abs'|'sqrt'|'sin'|'cos'|'tan'|'atan'|'acos'|'asin'|'exp'|'log'

binary_function::= 'min'|'max'

basic_expression::= number

    | identifier

    | unary_function S* '(' S* additive_expression S* ')'

    | binary_function S* '(' S* additive_expression S* ','     S*additive_expression S* ')'

    | '(' S* additive_expression S* ')'

unary_expression::= '-' S* basic_expression | basic_expression

multiplicative_expression::= unary_expression ( ( S* '*' S* unary_expression )

    | ( S* '/' S* unary_expression ) )*

additive_expression::= multiplicative_expression ( ( S* '+' S* multiplicative_expression )

    | ( S* '-' S* multiplicative_expression ) )*

number::= sign? integer | sign? Floating-point-constant

floating-point-constant::= fractional-constant exponent? | integer exponent

fractional-constant::= integer? '.' integer | integer '.'

exponent::= ( 'e' | 'E' ) sign? Integer

sign::= '+' | '-'

integer::= [0-9]+

S::= (#x20 | #x9)

The defined identifiers for the anim:formula attribute are:

When the anim:formula attribute appears on a descendant element of <office:presentation>, it may use the following additional identifiers:

If an anim:formula attribute is given, it overrides the smil:values, smil:to, smil:from and smil:by attributes as specified in 15.3.2.

The anim:formula attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3 and <anim:transitionFilter> 15.2.7.

The anim:formula attribute has the data type string 18.2.

19.7anim:id (deprecated)

The anim:id attribute specifies an identifier to an animation element.

OpenDocument consumers shall ignore an anim:id attribute if it occurs on an element with an xml:id attribute value.

OpenDocument producers may write anim:id attributes for elements in addition to an xml:id attribute.

 The value of an anim:id attribute shall equal the value of an xml:id attribute on the same element.

The anim:id attribute is deprecated in favor of xml:id. 19.914

The anim:id attribute is usable with the following elements: <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2 and <anim:seq> 15.4.3.

The anim:id attribute has the data type NCName 18.2.

19.8anim:iterate-interval

The anim:iterate-interval attribute specifies the time interval between effects that are children of <anim:iterate> elements.

The anim:iterate-interval attribute is usable with the following element: <anim:iterate> 15.4.4.

The anim:iterate-interval attribute has the data type duration 18.2.

19.9anim:iterate-type

The anim:iterate-type attribute of a <anim:iterate> element specifies the iteration of child elements.

The defined values for the anim:iterate-type attribute are:

The anim:iterate-type attribute is usable with the following element: <anim:iterate> 15.4.4.

The anim:iterate-type attribute has the data type string 18.2.

19.10anim:name

The anim:name attribute specifies the name of a parameter for an <anim:command> element.

The anim:name attribute is usable with the following element: <anim:param> 15.6.2.

The anim:name attribute has the data type string 18.2.

19.11anim:sub-item

The anim:sub-item attribute specifies components of a target element for application of animation effects.

The defined values for the anim:sub-item attribute are:

The anim:sub-item attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The anim:sub-item attribute has the data type string 18.2.

19.12anim:value

The anim:value attribute specifies the value of a parameter for an <anim:command> element.

The anim:value attribute is usable with the following element: <anim:param> 15.6.2.

The anim:value attribute has the data type string 18.2.

19.13chart:attached-axis

The chart:attached-axis attribute specifies an axis to be used with a series. The value shall be the name of an axis as defined with the chart:name attribute on a <chart:axis> element.

The chart:attached-axis attribute is usable with the following element: <chart:series> 11.11.

The chart:attached-axis attribute has the data type string 18.2.

19.14chart:automatic-content

The chart:automatic-content attribute specifies if an equation to be displayed should be calculated automatically or if text given within a <text:p> element should be used instead.

If no <text:p> element is provided, the chart:automatic-content attribute is assumed to be true.

The defined values for the chart:automatic-content attribute are:

The default value for this attribute is true.

The chart:automatic-content attribute is usable with the following element: <chart:equation> 11.18.

The chart:automatic-content attribute has the data type boolean 18.3.3.

19.15chart:class

19.15.1<chart:chart>, <chart:series>

The chart:class attribute specifies a chart type. The value is a namespaced token. The values for the predefined chart types are defined within the chart namespace ( urn:oasis:names:tc:opendocument:xmlns:chart:1.0).

The term line attributes is used in defining chart:class values to refer to the attributes of the <style:graphic-properties> element within a chart style: draw:stroke, svg:stroke-color, svg:stroke-width, svg:stroke-opacity, draw:stroke-dash and draw:stroke-linejoin.

The term fill attributes is used in defining chart:class values to refer to the attributes of the <style:graphic-properties> element within a chart style: draw:fill, draw:fill-color, draw:fill-gradient-name, draw:gradient-step-count, draw:fill-hatch-name, draw:fill-hatch-solid, draw:fill-image-name, style:repeat, draw:fill-image-height, draw:fill-image-width, draw:fill-image-ref-point, draw:fill-image-ref-point-x, draw:fill-image-ref-point-y, draw:tile-repeat-offset, draw:opacity and draw:opacity-name.

The defined values for the chart:class attribute are:

  • chart:area –The values given by a chart:values-cell-range-address attribute on a <chart:series> element are interpreted as y-coordinates within a Cartesian coordinate system with horizontal x-axis and vertical y-axis. The accessory x-coordinates are generated from the positions in the y-value sequence starting with 1.0. The first y value gets an x value 1.0. The second y value is associated with an x value of 2.0 and so forth. The <chart:categories> element can be used to define labels for the x-axis.  

    Where chart:three-dimensional="true" a left handed three-dimensional Cartesian coordinate system is used with horizontal x-axis and vertical y-axis (prior to any 3D scene transformations).  

    Where chart:deep="true" the z-coordinates are generated from the order of the series elements starting with 1.0. The first series has an associated z-coordinate of 1.0. The second series has a z-coordinate 2.0 and so forth. The series names are used as labels at the z-axis. 

    The area in the xy-pane between the data points and the x-axis is filled (chart:origin 20.39).  

    Where chart:stacked="true" the area between a series and the previous series is filled. The filling is done as indicated by the fill attributes of the series. A border is drawn as specified by the line attributes of the series.  

  • chart:bar – The values given by a chart:values-cell-range-address attribute on a <chart:series> element are interpreted as y-coordinates within a Cartesian coordinate system with horizontal x-axis and vertical y-axis. The accessory x-coordinates are generated from the positions in the y-value sequence starting with 1.0. The first y value gets an x value 1.0. The second y value is associated with an x value of 2.0 and so forth. The <chart:categories> element> can be used to define labels for the x-axis. Where chart:three-dimensional="true" a left handed three-dimensional Cartesian coordinate system is used with horizontal x-axis and vertical y-axis (prior to any 3D scene transformations). 

    Where chart:deep="true" the z-coordinates are generated from the order of the series elements starting with 1.0. The first series has an associated z-coordinate of 1.0. The second series has a z-coordinate 2.0 and so forth. The series names are used as labels at the z-axis.  

    Bars are displayed for each data point starting at the x-axis and ending at the indicated y-coordinate (see chart:origin for more details). In case of chart:stacked="true" the bar starts at the previous series instead of the x-axis. The width and exact position of the bars along the x-axis is influenced by the attributes chart:gap-width, chart:overlap, chart:group-bars-per-axis, chart:stacked and chart:percentage. In case of chart:three-dimensional="false" the bars are simple rectangles.  

    Where chart:three-dimensional="true" the shape of the bars are defined by a chart:solid-type attribute. A chart:vertical attribute indicates whether the positions of x- and y-axis should be swapped, resulting in a horizontal y-axis and vertical x-axis. The bars are filled as indicated by the fill attributes of the series and points. A border is drawn as specified by the line attributes.  

  • chart:bubble – Circles(bubbles) with different sizes are displayed in a Cartesian coordinate system with horizontal x-axis and vertical y-axis. The values given by a chart:values-cell-range-address attribute on a <chart:series> element are interpreted as relative bubble area. The values for the y-coordinates are given by the first <chart:domain> element. The values for the x-coordinates are given by the second <chart:domain> element. The bubbles are filled as indicated by the fill attributes of the series and points. A border is drawn as specified by the line attributes.  

  • chart:circle – The values given by a chart:values-cell-range-address attribute on a <chart:series> element are displayed as pie chart. For a value sequence a circle is divided into sectors, the angle of a sector represents the relative weight of a value. Only one series can be displayed with this chart type. By default, the segments are arranged counter clockwise starting at 12 o'clock. To arrange the segments in clockwise order the attribute chart:reverse-direction at the y-axis is set to true. The chart:angle-offset attribute is used to rotate the pie. The <chart:categories> element at the x-axis can be used to define categories for the data points. The segments are filled as indicated by the fill attributes of the series and points. A border is drawn as specified by the line attributes.  

  • chart:filled-radar – The values given by a chart:values-cell-range-address attribute on a <chart:series> element are interpreted as radius-coordinates within a counter clockwise polar coordinate system. The angle axis starts at 12 o'clock. The axis element with chart:dimension="y" is interpreted as radius axis. The axis element with chart:dimension="x" is interpreted as angle axis. The <chart:categories> element can be used to define labels for the x-axis. The x-coordinates are generated from the positions in the value sequence starting with 1.0. First value gets an x value 1.0. The second value is associated with an x value of 2.0 and so forth.  

    The area surrounded by the data points is filled as indicated by the fill attributes of the series. In case of chart:stacked="true" the area between a series and the previous series is filled instead. A border is drawn as specified by the line attributes.  

  • chart:gantt – The values given by a chart:values-cell-range-address attribute of two <chart:series> (marked as being of type chart:gantt) are interpreted
    together to form the start and end values (in this order) in a gantt chart. Start and end values are displayed at the y-axis in a Cartesian coordinate system with horizontal x-axis and vertical y-axis. The accessory x-coordinates are generated from the positions in the y-value sequence starting with 1.0. The first y value gets an x value 1.0. The second y value is associated with an x value of 2.0 and so forth. The <chart:categories> element can be used to define labels for the x-axis.  

    For each x-coordinate, a bar is displayed, starting at the start value and ending at the end value. The fill and line attributes of the series and points specify how the bars are to be displayed. If the end value is greater than or equal to the start value the style of the first series, shall be used. If the end value is smaller than the start value, the styles of the second series shall be used.  

  • chart:line – The values given by a chart:values-cell-range-address attribute on a <chart:series> element are interpreted as y-coordinates within a Cartesian coordinate system with horizontal x-axis and vertical y-axis.  

    The accessory x-coordinates are generated from the positions in the y-value sequence starting with 1.0. The first y value gets an x value 1.0. The second y value is associated with an x value of 2.0 and so forth. The <chart:categories> element can be used to define labels for the x-axis.  

    Where chart:three-dimensional="true" a left handed three-dimensional Cartesian coordinate system is used with horizontal x-axis and vertical y-axis (prior to any 3D scene transformations).  

    Where chart:deep="true" the z-coordinates are generated from the order of the series elements starting with 1.0. The first series has an associated z-coordinate of 1.0. The second series has a z-coordinate 2.0 and so forth. The series names are used as labels at the z-axis.  

    Where chart:three-dimensional="false" the data points are connected with a line as specified by the line attributes of the series. By default a solid line is drawn. If symbols should be used for the data points this shall be specified with the chart:symbol-type attribute. The fill attributes of the series and data points specify how the symbols are filled. By default. the symbols are filled solid with the same color as the connecting line. In case no line color is given but a fill color, the line uses the fill color.  

    Where chart:three-dimensional="true" no symbols are shown. The data points are connected with a line that is extruded in z direction. The extruded line is filled as specified by the fill attributes of the series. A border is drawn as specified by the line attributes.  

    The attribute chart:interpolation within the chart style at the plot-area specifies which type of interpolation is used while connecting the points with lines.  

  • chart:radar – The values given by a chart:values-cell-range-address attribute on a <chart:series> element are interpreted as radius-coordinates within a counter clockwise polar coordinate system. The angle axis starts at 12 o'clock. The axis element with chart:dimension="y" is interpreted as radius axis. The axis element with chart:dimension="x" is interpreted as angle axis. The <chart:categories> element can be used to define labels for the x-axis. The x-coordinates are generated from the positions in the value sequence starting with 1.0. First value gets an x value 1.0. The second value is associated with an x value of 2.0 and so forth.  

    The data points are connected with a line as specified by the line attributes of the series. By default a solid line is drawn. If symbols should be used for the data points this shall be specified with the chart:symbol-type attribute. The fill attributes of the series and data points specify how the symbols are filled. By default, the symbols are filled solid with the same color as the connecting line. In case no line color is given but a fill color, the line uses the fill color.  

  • chart:ring – The values given by a chart:values-cell-range-address attribute on a <chart:series> element are displayed as one ring in a donut chart. For a given value sequence, the ring is divided into sectors, the angle of a sector represents the relative weight of a value.  

    By default, segments are arranged counter clockwise starting at 12 o'clock. To arrange the segments in clockwise order the attribute chart:reverse-direction at the y-axis is set to "true". The chart:angle-offset attribute is used to rotate the donut.  

    By default, the first series of class ring forms the inner ring and the last series forms the outermost ring. To arrange the rings in opposite order the attribute chart:reverse-direction is set to "true" at the x-axis. The attribute chart:hole-size is used to influence the inner hole size.  

    The <chart:categories> element at the x-axis can be used to define categories for the data points. The segments are filled as specified by the fill attributes of the series and points. A border is drawn around a segment as specified by the line attributes.  

  • chart:scatter – The values given by a chart:values-cell-range-address attribute on a <chart:series> element are interpreted as y-coordinates within a Cartesian coordinate system with horizontal x-axis and vertical y-axis. The values for the x-coordinates are given by the first <chart:domain> element.  

    Where chart:three-dimensional="true" a left handed three-dimensional Cartesian coordinate system is used with horizontal x-axis and vertical y-axis (prior to any 3D scene transformations).  

    Where chart:deep="true" the z-coordinates are generated from the order of the series elements starting with 1.0. The first series has an associated z-coordinate of 1.0. The second series has a z-coordinate 2.0 and so forth. The series names are used as labels at the z-axis.  

    Where chart:three-dimensional="false" the data points are connected with a line as specified by the line attributes of the series. By default a solid line is drawn. If symbols should be used for the data points this shall be specified with the chart:symbol-type attribute.  

    The fill attributes of the series and data points specify how the symbols are filled. By default the symbols are filled solid with the same color as the connecting line. In case no line color is given but a fill color, the line uses the fill color.  

    Where chart:three-dimensional="true" no symbols are shown. The data points are connected with a line that is extruded in z direction. The extruded line is filled as specified by the fill attributes of the series. A border is drawn as specified by the line attributes.  

    The attribute chart:interpolation within the chart style at the plot-area specifies which type of interpolation is used while connecting the points with lines.  

  • chart:stock – The values given by a chart:values-cell-range-address attribute on up to four <chart:series> (marked as being of type chart:stock) are interpreted together to form the opening, minimum, maximum and closing (in this order) values of a stock symbol displayed at the y scale in a Cartesian coordinate system with horizontal x-axis and vertical y-axis. If only three series are given, the values are interpreted as minimum, maximum and closing values (in this order). The accessory x-coordinates are generated from the positions in the y-value sequence starting with 1.0. The first y value gets an x value 1.0. The second y value is associated with an x value of 2.0 and so forth. The <chart:categories> element can be used to define labels for the x-axis.  

    For each x-coordinate, the minimum and maximum y-values are connected with a line. The line style is specified with element <chart:stock-range-line>. The chart:japanese-candle-stick attribute specifies the display of opening and closing values in a stock chart. In case of chart:japanese-candle-stick="false" opening and closing values are displayed as left and right tick-lines in the same style as the line connecting minimum and maximum value. This is the default. Only in case of chart:japanese-candle-stick="true" a bar is drawn from opening to closing value. The styles to use for those bars are defined with elements <chart:stock-gain-marker> and <chart:stock-loss-marker>.  

  • chart:surface – Depending on the size of the range specified by chart:values-cell-range-address attribute of the first <chart:series> element one of two types of surfaces is rendered: 

    • If the chart:values-cell-range-address attribute of the first <chart:series> element specifies a range with more than one row and more than one column, the first version of a surface chart is rendered: 

      The value in the ith column and jth row of the cell range given by the chart:values-cell-range-address attribute of the <chart:series> element (marked as being of type chart:surface) is the altitude corresponding to the x-value i and the y-value j unless <chart:domain> elements are contained in the <chart:series> element.  

      If chart:three-dimensional="true" a surface chart is displayed in a right-handed three-dimensional Cartesian coordinate system with horizontal x-axis (from left to right), a perspective y-axis running from the front to the right rear and a vertical z-axis (prior to any 3D scene transformation). The altitude values are displayed on the z-axis in this case. The surface is displayed as specified by the line and fill attributes of the first series. Furthermore the <chart:data-point> elements of the series can be used to specify differing fill and line styles for the different altitude intervals. The surface within the first major interval (starting at lower values) is displayed with the line and fill attributes of the first data-point, within the second major interval the surface is displayed with the line and fill attributes of the second data-point and so on. 

      Where chart:three-dimensional="false" a contour plot is displayed in a 2 dimensional Cartesian coordinate system with horizontal x-axis and vertical y-axis. An axis element with chart:dimension="z" is used to define the range and segmentation of the displayed altitude values. Contour lines are drawn along lines of equal altitude specified by the major interval of the z-axis. The area between the contour lines can be filled. The line and fill style is specified by the line and fill attributes of the series. Furthermore the <chart:data-point> elements of the series can be used to specify differing line and fill attributes for the different altitude intervals. The contour line and area belonging to the first major interval is displayed with the line and fill attributes of the first data-point, the contour line and area belonging to the second interval is displayed as specified by the line and fill attributes of the second data-point and so on. 

      In both cases two <chart:domain> elements may be used to specify the y-values and x-values to be used (19.593.5). In this case the jth value of the table:cell-range-address attribute of the first <chart:domain> element specifies the y-values used for the values in the jth row of the cell range given by the chart:values-cell-range-address attribute of the <chart:series> element and the ith value of the table:cell-range-address attribute of the second <chart:domain> element specifies the x-values used for the values in the ith column. 

      The attribute chart:deep shall be false. Multiple <chart:series> elements of type chart:surface will result in multiple surfaces being rendered.  

    • If the chart:values-cell-range-address attribute of the first <chart:series> element specifies a range with a single row or with a single column the second version of a surface chart is rendered: 

      The values given by a chart:values-cell-range-address attribute on multiple <chart:series> elements (marked as being of type chart:surface) are interpreted as altitudes at specific grid locations. 

      Where chart:three-dimensional="true" a surface chart is displayed in a left handed three-dimensional Cartesian coordinate system with horizontal x-axis and vertical y-axis (prior to any 3D scene transformation). The altitude values are displayed on the y-axis in this case. The attribute chart:deep shall be true. The accessory x-coordinates are generated from the positions in the altitude -value sequence starting with 1.0. The first altitude value in each series gets an x value 1.0. The second altitude value is associated with an x value of 2.0 and so forth. The <chart:categories> element can be used to define labels for the x-axis. The z-coordinates are generated from the order of the series elements starting with 1.0. The first series marked as being of type surface gets an associated z-coordinate of 1.0. The second series marked as being of type surface gets a z-coordinate 2.0 and so forth. The series names are used as labels at the z-axis. The surface is displayed as specified by the line and fill attributes of the first series. Furthermore the <chart:data-point> elements of the first series can be used to specify differing fill and line styles for the different altitude intervals. The surface within the first major interval (starting at lower values) is displayed with the line and fill attributes of the first data-point, within the second major interval the surface is displayed with the line and fill attributes of the second data-point and so on. 

      Where chart:three-dimensional="false" a contour plot is displayed in a 2 dimensional Cartesian coordinate system with horizontal x-axis and vertical y-axis. The x-coordinates are generated from the positions in the altitude -value sequence starting with 1.0. The <chart:categories> element can be used to define labels for the x-axis. The y-coordinates are generated from the order of the series elements starting with 1.0. The series names are used as labels at the y-axis. A third axis element with chart:dimension="z" is used to define the range and segmentation of the displayed altitude values. Contour lines are drawn along lines of equal altitude specified by the major interval of the z-axis. The area between the contour lines can be filled. The line and fill style is specified by the line and fill attributes of the first series. Furthermore the <chart:data-point> elements of the first series can be used to specify differing line and fill attributes for the different altitude intervals. The contour line and area belonging to the first major interval is displayed with the line and fill attributes of the first data-point, the contour line and area belonging to the second interval is displayed as specified by the line and fill attributes of the second data-point and so on.  

Additional chart types may be supported by using a different namespace.

A chart:class attribute for a <chart:series> element overrides the chart:class attribute for the entire chart.

Note: The following table shows examples for the pre-defined chart types. Those charts that use one or two data series use two data series with the values 1;2;3;4 and 1;4;9;16 and the labels a;b;c;d. Those chart types that use more than two data series (stock and bubble) use the data series 1;2;3;4 and multiples thereof. The radar chart uses two data series with five data points.

chart:line
 
chart:area
 
chart:circle
 
chart:ring
 
chart:scatter
 
chart:radar
 
chart:bar
 
chart:stock
 
chart:bubble
 
chart:surface
 
chart:gantt
 

The chart:class attribute is usable with the following elements: <chart:chart> 11.1 and <chart:series> 11.11.

The chart:class attribute has the data type namespacedToken 18.3.19.

19.15.2<chart:grid>

The chart:class attribute of a <chart:grid> element specifies whether major or minor tick marks are used on a grid.

The defined values for the chart:class attribute are:

For a <chart:grid> 11.10 element the default value for this attribute is major.

The chart:class attribute is usable with the following element: <chart:grid> 11.10.

The values of the chart:class attribute are major or minor.

19.16chart:column-mapping (deprecated)

The chart:column-mapping attribute is deprecated. It specifies a list of indexes of series. The numbers define a reordering of data that comes from a container document that provides the data for the chart. The numbering begins with 1. A list of ascending numbers beginning with 1 has no effect. To exchange two series, their numbers shall be exchanged in the list.

The chart:column-mapping and chart:row-mapping 19.26 attributes shall not be used simultaneously.

Note: Instead of using the deprecated chart:column-mapping attribute, <chart:series> elements may be reordered and specific cell ranges may be assigned to them using the chart:values-cell-range-address attribute.

The chart:column-mapping attribute is usable with the following element: <chart:chart> 11.1.

The chart:column-mapping attribute has the data type string 18.2.

19.17chart:data-source-has-labels (deprecated)

The chart:data-source-has-labels attribute specifies whether a chart's source range (as given within table:cell-range-address attribute on a <chart:plot-area> element) contain labels.

The defined values for the chart:data-source-has-labels attribute are:

The default value for this attribute is none.

The chart:data-source-has-labels attribute is usable with the following element: <chart:plot-area> 11.4.

The values of the chart:data-source-has-labels attribute are none, row, column or both.

19.18chart:dimension

The chart:dimension attribute specifies a dimension in a coordinate system.

For charts with less than three axes the chart:dimension attribute may appear with values for the x-axis and y-axis only.

The defined values for the chart:dimension attribute are:

The chart:dimension attribute is usable with the following elements: <chart:axis> 11.8 and <chart:error-indicator> 11.16.

The values of the chart:dimension attribute are x, y or z.

19.19chart:display-equation

The chart:display-equation attribute specifies whether the equation itself should be displayed or not. It is only evaluated if the value of the chart:automatic-content attribute is true.

The defined values for the chart:display-equation attribute are:

The default value for this attribute is true.

The chart:display-equation attribute is usable with the following element: <chart:equation> 11.18.

The chart:display-equation attribute has the data type boolean 18.3.3.

19.20chart:display-r-square

The chart:display-r-square attribute specifies whether an R-square value should be displayed or not. It is only evaluated if the value of the chart:automatic-content attribute is true.

The defined values for the chart:display-r-square attribute are:

The default value for this attribute is false.

The chart:display-r-square attribute is usable with the following element: <chart:equation> 11.18.

The chart:display-r-square attribute has the data type boolean 18.3.3.

19.21chart:label-cell-address

The chart:label-cell-address attribute specifies a cell range list that contains the name for a series.

The chart:label-cell-address attribute is usable with the following element: <chart:series> 11.11.

The chart:label-cell-address attribute has the data type cellRangeAddressList 18.3.6.

19.22chart:legend-align

The chart:legend-align attribute specifies the alignment of a legend with the plot area.

The defined values for the chart:legend-align attribute are:

Note: This attribute can be used when the chart:legend-position attribute has one of the following values: start, end, top, bottom.

The chart:legend-align attribute is usable with the following element: <chart:legend> 11.3.

The values of the chart:legend-align attribute are start, center or end.

19.23chart:legend-position

The chart:legend-position attribute specifies the placement of a legend.

The defined values for the chart:legend-position attribute to specify the location of a legend in one of the corners of a chart outside the plot area are:

The defined values for the chart:legend-position attribute to specify the location of a legend next to the plot area are:

The legend position can also be given in absolute coordinates with svg:x and svg:y attributes, as with any drawing object. If both absolute coordinates and the legend-position attribute are given, the legend-position attribute shall be used.

The chart:legend-position attribute is usable with the following element: <chart:legend> 11.3.

The values of the chart:legend-position attribute are start, end, top, bottom, top-start, bottom-start, top-end or bottom-end.

19.24chart:name

The chart:name attribute specifies a name for an axis.

Note: The value of a chart:name attribute can be used to reference an axis.

The chart:name attribute is usable with the following element: <chart:axis> 11.8.

The chart:name attribute has the data type string 18.2.

19.25chart:repeated

The chart:repeated attribute specifies how many consecutive data points have the same style.

The chart:repeated attribute is usable with the following element: <chart:data-point> 11.13.

The chart:repeated attribute has the data type positiveInteger 18.2.

19.26chart:row-mapping (deprecated)

The chart:row-mapping attribute specifies a list of indexes of series. The numbers define a reordering of data that comes from a container document that provides the data for the chart. The numbering begins with 1. A list of ascending numbers beginning with 1 has no effect. To exchange two series, their numbers shall be exchanged in the list.

The chart:row-mapping and chart:column-mapping 19.16 attributes shall not be used simultaneously.

Note: Instead of using the deprecated chart:row-mapping attribute, <chart:series> elements may be reordered and specific cell ranges may be assigned to them using the chart:values-cell-range-address attribute.

The chart:row-mapping attribute is usable with the following element: <chart:chart> 11.1.

The chart:row-mapping attribute has the data type string 18.2.

19.27chart:style-name

The chart:style-name attribute references a chart style by its name.19.498

The chart:style-name attribute is usable with the following elements: <chart:axis> 11.8, <chart:chart> 11.1, <chart:data-label> 11.14, <chart:data-point> 11.13, <chart:equation> 11.18, <chart:error-indicator> 11.16, <chart:floor> 11.7, <chart:footer> 11.2.3, <chart:grid> 11.10, <chart:legend> 11.3, <chart:mean-value> 11.15, <chart:plot-area> 11.4, <chart:regression-curve> 11.17, <chart:series> 11.11, <chart:stock-gain-marker> 11.19, <chart:stock-loss-marker> 11.20, <chart:stock-range-line> 11.21, <chart:subtitle> 11.2.2, <chart:title> 11.2.1 and <chart:wall> 11.6.

The chart:style-name attribute has the data type styleNameRef 18.3.32.

19.28chart:values-cell-range-address

 The chart:values-cell-range-address attribute specifies a cell range that contains the values for a data series.

The chart:values-cell-range-address attribute is usable with the following element: <chart:series> 11.11.

The chart:values-cell-range-address attribute has the data type cellRangeAddressList 18.3.6.

19.29config:name

The config:name attribute specifies a name of an application setting, an application setting sequence, or an application setting container.

For <config:config-item-set> elements that are children of <office:settings> elements, the name shall begin with a namespace prefix followed by a “:” (U+003A, COLON). The XML namespace bound to the prefix identifies the implementation that defines the name of a setting.

The config:name attribute is usable with the following elements: <config:config-item> 3.10.3, <config:config-item-map-entry> 3.10.5, <config:config-item-map-indexed> 3.10.4, <config:config-item-map-named> 3.10.6 and <config:config-item-set> 3.10.2.

The config:name attribute has the data type string 18.2.

19.30config:type

The config:type attribute specifies a data type for a setting.

The defined values for the config:type attribute are:

The config:type attribute is usable with the following element: <config:config-item> 3.10.3.

The values of the config:type attribute are boolean, short, int, long, double, string, datetime or base64Binary.

19.31db:additional-column-statement

The db:additional-column-statement attribute specifies the auto-increment keyword of an SQL create statement and any start value.

Note: The auto increment keyword, optional start value and the format of the string specifying them are database specific.

The db:additional-column-statement attribute is usable with the following element: <db:auto-increment> 12.10.

The db:additional-column-statement attribute has the data type string 18.2.

19.32db:append-table-alias-name

The db:append-table-alias-name attribute specifies that a table alias name should be appended when creating an SQL query.

The defined values for the db:append-table-alias-name attribute are:

The default value for this attribute is true.

The db:append-table-alias-name attribute is usable with the following element: <db:application-connection-settings> 12.15.

The db:append-table-alias-name attribute has the data type boolean 18.3.3.

19.33db:apply-command

The db:apply-command attribute specifies whether an SQL clause specified by a db:command attribute should be appended to an underlying statement.

The defined values for the db:apply-command attribute are:

The default value for this attribute is false.

The db:apply-command attribute is usable with the following elements: <db:filter-statement> 12.30 and <db:order-statement> 12.29.

The db:apply-command attribute has the data type boolean 18.3.3.

19.34db:as-template

The db:as-template attribute specifies that a document is used as a template for a table structure to be created inside a database.

The defined values for the db:as-template attribute are:

The db:as-template attribute is usable with the following element: <db:component> 12.25.5.

The db:as-template attribute has the data type boolean 18.3.3.

19.35db:base-dn

The db:base-dn attribute specifies a base DN for data that is retrieved using LDAP. [RFC4514]

The db:base-dn attribute is usable with the following element: <db:driver-settings> 12.9.

The db:base-dn attribute has the data type string 18.2.

19.36db:boolean-comparison-mode

The db:boolean-comparison-mode attribute specifies a comparison mode used for Boolean values in SQL SELECT statements.

The defined values for the db:boolean-comparison-mode attribute are:

The default value for this attribute is equal-integer.

The db:boolean-comparison-mode attribute is usable with the following element: <db:application-connection-settings> 12.15.

The values of the db:boolean-comparison-mode attribute are equal-integer, is-boolean, equal-boolean or equal-use-only-zero.

19.37db:catalog-name

The db:catalog-name attribute specifies the catalog part of a full qualified SQL table name or index name.

The db:catalog-name attribute is usable with the following elements: <db:index> 12.46, <db:table-definition> 12.38, <db:table-representation> 12.33 and <db:update-table> 12.31.

The db:catalog-name attribute has the data type string 18.2.

19.38db:command

The db:command attribute specifies an SQL select, order or filter clause that is used as part of a SELECT statement.

The db:command attribute is usable with the following elements: <db:filter-statement> 12.30, <db:order-statement> 12.29 and <db:query> 12.28.

The db:command attribute has the data type string 18.2.

19.39db:data-source-setting-is-list

The db:data-source-setting-is-list attribute specifies whether a <db:data-source-setting> element contains a list of <db:data-source-setting-value> elements.

The defined values for the db:data-source-setting-is-list attribute are:

The db:data-source-setting-is-list attribute is usable with the following element: <db:data-source-setting> 12.23.

The db:data-source-setting-is-list attribute has the data type boolean 18.3.3.

19.40db:data-source-setting-name

The db:data-source-setting-name attribute specifies a name for a <db:data-source-setting> element.

The db:data-source-setting-name attribute is usable with the following element: <db:data-source-setting> 12.23.

The db:data-source-setting-name attribute has the data type string 18.2.

19.41db:data-source-setting-type

The db:data-source-setting-type attribute specifies a data type for a data-source-setting value.

The defined values for the db:data-source-setting-type attribute are:

The db:data-source-setting-type attribute is usable with the following element: <db:data-source-setting> 12.23.

The values of the db:data-source-setting-type attribute are boolean, short, int, long, double or string.

19.42db:data-type

The db:data-type attribute specifies an SQL data type for a column.

The values accepted by db:data-type are defined by [SQL].

The db:data-type attribute is usable with the following element: <db:column-definition> 12.40.

The values of the db:data-type attribute are bit, boolean, tinyint, smallint, integer, bigint, float, real, double, numeric, decimal, char, varchar, longvarchar, date, time, timestmp, binary, varbinary, longvarbinary, sqlnull, other, object, distinct, struct, array, blob, clob or ref.

19.43db:database-name

The db:database-name attribute specifies the database for a connection if the database type supports multiple logical databases per server.

The db:database-name attribute is usable with the following element: <db:server-database> 12.6.

The db:database-name attribute has the data type string 18.2.

19.44db:decimal

The db:decimal attribute specifies a decimal separator for numeric fields.

The default value for this attribute is “.” (U+002E, FULL STOP).

The db:decimal attribute is usable with the following element: <db:delimiter> 12.11.

The db:decimal attribute has the data type string 18.2.

19.45db:default-cell-style-name

The db:default-cell-style-name attribute specifies a default cell style. This style is applied to all cells in a column.

The db:default-cell-style-name attribute is usable with the following element: <db:column> 12.35.

The db:default-cell-style-name attribute has the data type styleNameRef 18.3.32.

19.46db:default-row-style-name

The db:default-row-style-name attribute specifies a default row style. This style is applied to all rows in a table.

The db:default-row-style-name attribute is usable with the following elements: <db:query> 12.28 and <db:table-representation> 12.33.

The db:default-row-style-name attribute has the data type styleNameRef 18.3.32.

19.47db:delete-rule

The db:delete-rule attribute specifies a rule that is applied for deleting records from a table. It is used only with foreign keys.

The defined values for the db:delete-rule attribute are:

The default value for this attribute is no-action.

The db:delete-rule attribute is usable with the following element: <db:key> 12.42.

The values of the db:delete-rule attribute are cascade, restrict, set-null, no-action or set-default.

19.48db:description

The db:description attribute specifies a description of a database object.

The db:description attribute is usable with the following elements: <db:column> 12.35, <db:component> 12.25.5, <db:component-collection> 12.25.4, <db:query> 12.28, <db:query-collection> 12.27 and <db:table-representation> 12.33.

The db:description attribute has the data type string 18.2.

19.49db:enable-sql92-check

The db:enable-sql92-check attribute specifies whether the names of tables, views, columns, and queries may contain characters defined by the [SQL] feature F392.

The defined values for the db:enable-sql92-check attribute are:

  • false: consumers should permit characters defined by the [SQL] feature F392 for new or changed names of tables, views, columns, and queries.  

  • true: consumers should not permit characters defined by the [SQL] feature F392 for new or changed names of tables, views, columns, and queries.  

The default value for this attribute is false.

The db:enable-sql92-check attribute is usable with the following element: <db:application-connection-settings> 12.15.

The db:enable-sql92-check attribute has the data type boolean 18.3.3.

19.50db:encoding

The db:encoding attribute specifies a text encoding for string data.

The default value for this attribute is utf-8.

The db:encoding attribute is usable with the following element: <db:character-set> 12.12.

The db:encoding attribute has the data type textEncoding 18.3.35.

19.51db:escape-processing

The db:escape-processing attribute specifies whether escape processing for a query is used or not.

The defined values for the db:escape-processing attribute are:

The default value for this attribute is true.

The db:escape-processing attribute is usable with the following element: <db:query> 12.28.

The db:escape-processing attribute has the data type boolean 18.3.3.

19.52db:extension

The db:extension attribute of a <db:file-based-database> element specifies a file name extension for files which are used as tables.

The db:extension attribute is usable with the following element: <db:file-based-database> 12.5.

The db:extension attribute has the data type string 18.2.

19.53db:field

The db:field attribute specifies a separator for database fields.

The default value for this attribute is “;” (U+003B, SEMICOLON).

The db:field attribute is usable with the following element: <db:delimiter> 12.11.

The db:field attribute has the data type string 18.2.

19.54db:hostname

The db:hostname attribute specifies the name of a server for a server-based database.

The db:hostname attribute is usable with the following element: <db:server-database> 12.6.

The db:hostname attribute has the data type string 18.2.

19.55db:ignore-driver-privileges

The db:ignore-driver-privileges attribute specifies whether privileges returned by a database driver should be ignored.

The defined values for the db:ignore-driver-privileges attribute are:

The default value for this attribute is true.

The db:ignore-driver-privileges attribute is usable with the following element: <db:application-connection-settings> 12.15.

The db:ignore-driver-privileges attribute has the data type boolean 18.3.3.

19.56db:is-ascending

The db:is-ascending attribute specifies that a column is to be sorted in ascending order.

The defined values for the db:is-ascending attribute are:

The db:is-ascending attribute is usable with the following element: <db:index-column> 12.48.

The db:is-ascending attribute has the data type boolean 18.3.3.

19.57db:is-autoincrement

The db:is-autoincrement attribute specifies whether a column is automatically numbered.

The defined values for the db:is-autoincrement attribute are:

The db:is-autoincrement attribute is usable with the following element: <db:column-definition> 12.40.

The db:is-autoincrement attribute has the data type boolean 18.3.3.

19.58db:is-clustered

The db:is-clustered attribute specifies that an index is clustered.

The defined values for the db:is-clustered attribute are:

The db:is-clustered attribute is usable with the following element: <db:index> 12.46.

The db:is-clustered attribute has the data type boolean 18.3.3.

19.59db:is-empty-allowed

The db:is-empty-allowed attribute specifies whether a column may contain empty values.

The defined values for the db:is-empty-allowed attribute are:

The db:is-empty-allowed attribute is usable with the following element: <db:column-definition> 12.40.

The db:is-empty-allowed attribute has the data type boolean 18.3.3.

19.60db:is-first-row-header-line

The db:is-first-row-header-line attribute specifies whether the first row in a text file, which is interpreted as table of a file-based database, is used to define the columns of a table.

The defined values for the db:is-first-row-header-line attribute are:

The default value for this attribute is true.

The db:is-first-row-header-line attribute is usable with the following elements: <db:driver-settings> 12.9 and <db:table-setting> 12.14.

The db:is-first-row-header-line attribute has the data type boolean 18.3.3.

19.61db:login-timeout

The db:login-timeout attribute indicates a default time-out to be used when establishing a connection for this data source. If the attribute is not present, then default time-out is specified by the database server.

The db:login-timeout attribute is usable with the following element: <db:login> 12.8.

The db:login-timeout attribute has the data type positiveInteger 18.2.

19.62db:is-nullable

The db:is-nullable attribute specifies the nullability of values in a column.

The defined values for the db:is-nullable attribute are:

The db:is-nullable attribute is usable with the following element: <db:column-definition> 12.40.

The values of the db:is-nullable attribute are no-nulls or nullable.

19.63db:is-password-required

The db:is-password-required attribute specifies if a password is always necessary when establishing a connection for a data source.

The defined values for the db:is-password-required attribute are:

The default value for this attribute is false.

The db:is-password-required attribute is usable with the following element: <db:login> 12.8.

The db:is-password-required attribute has the data type boolean 18.3.3.

19.64db:is-unique

The db:is-unique attribute specifies an index shall have unique values.

The defined values for the db:is-unique attribute are:

The db:is-unique attribute is usable with the following element: <db:index> 12.46.

The db:is-unique attribute has the data type boolean 18.3.3.

19.65db:precision

The db:precision attribute specifies a column's number of decimal digits.

The db:precision attribute is usable with the following element: <db:column-definition> 12.40.

The db:precision attribute has the data type positiveInteger 18.2.

19.66db:is-table-name-length-limited

The db:is-table-name-length-limited attribute specifies whether table names are limited to eight characters or fewer characters.

The defined values for the db:is-table-name-length-limited attribute are:

The default value for this attribute is true.

The db:is-table-name-length-limited attribute is usable with the following element: <db:application-connection-settings> 12.15.

The db:is-table-name-length-limited attribute has the data type boolean 18.3.3.

19.67db:local-socket

The db:local-socket attribute specifies local socket on which a server database is running and accepting connections. The server's local socket filename is used for connecting to a server database when it is running locally.

If db:local-socket is present but empty, consumers should use the default local socket for the database type in question.

The db:local-socket attribute is usable with the following element: <db:server-database> 12.6.

The db:local-socket attribute has the data type string 18.2.

19.68db:max-row-count

The db:max-row-count attribute specifies the maximum number of rows that should be returned in a result set.

The db:max-row-count attribute is usable with the following element: <db:application-connection-settings> 12.15.

The db:max-row-count attribute has the data type integer 18.2.

19.69db:media-type

The db:media-type attribute of a <db:file-based-database> element specifies the type of the file(s) that comprise a database. If the database consists of multiple files of different types which all are required for it to be operational, this attribute specifies the type of the file l to by the xlink:href attribute on the <db:file-based-database> element.

The db:media-type attribute is usable with the following element: <db:file-based-database> 12.5.

The db:media-type attribute has the data type string 18.2.

19.70db:name

19.70.1General

The db:name attribute specifies a name of a database or component of a database.

19.70.2<db:column>

The db:name attribute value specifies the name of a column.

The db:name attribute is usable with the following element: <db:column> 12.35.

The db:name attribute has the data type string 18.2.

19.70.3<db:column-definition>

The db:name attribute specifies the name of a column.

The db:name attribute is usable with the following element: <db:column-definition> 12.40.

The db:name attribute has the data type string 18.2.

19.70.4<db:component>

The db:name attribute specifies the name of a database component.

The db:name attribute is usable with the following element: <db:component> 12.25.5.

The db:name attribute has the data type string 18.2.

19.70.5<db:component-collection>

The db:name attribute specifies the name of a collection of <db:component> and <db:component-collection> elements.

The db:name attribute is usable with the following element: <db:component-collection> 12.25.4.

The db:name attribute has the data type string 18.2.

19.70.6<db:index>

The db:name attribute value specifies the name of an index.

The db:name attribute is usable with the following element: <db:index> 12.46.

The db:name attribute has the data type string 18.2.

19.70.7<db:index-column>

The db:name attribute value specifies the name of an index column.

The db:name attribute is usable with the following element: <db:index-column> 12.48.

The db:name attribute has the data type string 18.2.

19.70.8<db:key>

The db:name attribute value specifies the name of a key. If the key is not a primary key, the db:name attribute with a value shall appear on the <db:key> element.

The db:name attribute is usable with the following element: <db:key> 12.42.

The db:name attribute has the data type string 18.2.

19.70.9<db:key-column>

The db:name attribute specifies the name of a <db:key-column> element.

The db:name attribute is usable with the following element: <db:key-column> 12.44.

The db:name attribute has the data type string 18.2.

19.70.10<db:query>

The db:name attribute specifies the name of a <db:query> element.

The db:name attribute is usable with the following element: <db:query> 12.28.

The db:name attribute has the data type string 18.2.

19.70.11<db:query-collection>

The db:name attribute specifies the name of a collection of <db:query> and <db:query-collection> elements.

The db:name attribute is usable with the following element: <db:query-collection> 12.27.

The db:name attribute has the data type string 18.2.

19.70.12<db:table-definition>

The db:name attribute specifies the name of a schema for a table.

The db:name attribute is usable with the following element: <db:table-definition> 12.38.

The db:name attribute has the data type string 18.2.

19.70.13<db:table-representation>

The db:name attribute value specifies the name of a table. Fully identifying a table in a database may require values from the db:catalog-name and db:schema-name attributes.

The db:name attribute is usable with the following element: <db:table-representation> 12.33.

The db:name attribute has the data type string 18.2.

19.70.14<db:update-table>

The db:name attribute specifies the name of a <db:update-table> element.

The db:name attribute is usable with the following element: <db:update-table> 12.31.

The db:name attribute has the data type string 18.2.

19.71db:parameter-name-substitution

The db:parameter-name-substitution attribute specifies that parameter names shall be replaced with a ”?” (U+003F, QUESTION MARK).

The defined values for the db:parameter-name-substitution attribute are:

The default value for this attribute is true.

The db:parameter-name-substitution attribute is usable with the following element: <db:driver-settings> 12.9.

The db:parameter-name-substitution attribute has the data type boolean 18.3.3.

19.72db:port

The db:port attribute specifies the port on which a server database is accepting connections. If no port is present, consumers should use the default port for the database type in question.

The db:port attribute is usable with the following element: <db:server-database> 12.6.

The db:port attribute has the data type positiveInteger 18.2.

19.73db:referenced-table-name

The db:referenced-table-name attribute specifies the name of a referenced table. It is only used with foreign keys.

The db:referenced-table-name attribute is usable with the following element: <db:key> 12.42.

The db:referenced-table-name attribute has the data type string 18.2.

19.74db:related-column-name

The db:related-column-name attribute specifies the name of a reference column out of the referenced table. It is used only with foreign keys.

The db:related-column-name attribute is usable with the following element: <db:key-column> 12.44.

The db:related-column-name attribute has the data type string 18.2.

19.75db:row-retrieving-statement

The db:row-retrieving-statement attribute specifies an SQL statement, which is executed to retrieve auto generated values after inserting a new row.

The db:row-retrieving-statement attribute is usable with the following element: <db:auto-increment> 12.10.

The db:row-retrieving-statement attribute has the data type string 18.2.

19.76db:scale

The db:scale attribute specifies a column's number of digits to the right of the decimal point.

The db:scale attribute is usable with the following element: <db:column-definition> 12.40.

The db:scale attribute has the data type positiveInteger 18.2.

19.77db:schema-name

The db:schema-name attribute specifies the name of a schema.

The db:schema-name attribute is usable with the following elements: <db:table-definition> 12.38, <db:table-representation> 12.33 and <db:update-table> 12.31.

The db:schema-name attribute has the data type string 18.2.

19.78db:show-deleted

The db:show-deleted attribute specifies that deleted records should be included in result sets.

The defined values for the db:show-deleted attribute are:

The default value for this attribute is false.

The db:show-deleted attribute is usable with the following elements: <db:driver-settings> 12.9 and <db:table-setting> 12.14.

The db:show-deleted attribute has the data type boolean 18.3.3.

19.79db:string

The db:string attribute specifies a separator for strings.

The default value for this attribute is "." (U+002E, FULL STOP).

The db:string attribute is usable with the following element: <db:delimiter> 12.11.

The db:string attribute has the data type string 18.2.

19.80db:style-name

19.80.1General

The db:style-name attribute specifies a style name of a style family for the element upon which it appears.

19.80.2<db:column>

The db:style-name attribute value specifies the name of a style of the family table-column.

The db:style-name attribute is usable with the following element: <db:column> 12.35.

The db:style-name attribute has the data type styleNameRef 18.3.32.

19.80.3<db:query>

The db:style-name attribute value specifies the name of a style of the family table.

The db:style-name attribute is usable with the following element: <db:query> 12.28.

The db:style-name attribute has the data type styleNameRef 18.3.32.

19.80.4<db:table-representation>

The db:style-name attribute value specifies the name of a style of the family table.

The db:style-name attribute is usable with the following element: <db:table-representation> 12.33.

The db:style-name attribute has the data type styleNameRef 18.3.32.

19.81db:suppress-version-columns

The db:suppress-version-columns attribute specifies that version columns, columns that are used for versioning row content, should be suppressed.

The defined values for the db:suppress-version-columns attribute are:

The default value for this attribute is true.

The db:suppress-version-columns attribute is usable with the following element: <db:application-connection-settings> 12.15.

The db:suppress-version-columns attribute has the data type boolean 18.3.3.

19.82db:system-driver-settings

The db:system-driver-settings attribute specifies system specific options for a connection.

The db:system-driver-settings attribute is usable with the following element: <db:driver-settings> 12.9.

The db:system-driver-settings attribute has the data type string 18.2.

19.83db:thousand

The db:thousand attribute specifies a thousand separator of numeric fields.

The default value for this attribute is “,” (U+002C, COMMA).

The db:thousand attribute is usable with the following element: <db:delimiter> 12.11.

The db:thousand attribute has the data type string 18.2.

19.84db:title

The db:title attribute specifies a human-readable title of an object.

The db:title attribute is usable with the following elements: <db:column> 12.35, <db:component> 12.25.5, <db:component-collection> 12.25.4, <db:query> 12.28, <db:query-collection> 12.27 and <db:table-representation> 12.33.

The db:title attribute has the data type string 18.2.

19.85db:type

19.85.1General

The db:type attribute specifies a type for keys, databases, or tables, depending upon the element where it occurs.

19.85.2<db:key>

The db:type attribute specifies the type of a key.

The defined values for the db:type attribute are:

The db:type attribute is usable with the following element: <db:key> 12.42.

The values of the db:type attribute are primary, unique or foreign.

19.85.3<db:server-database>

The db:type attribute specifies the type of a database.

The db:type attribute is usable with the following element: <db:server-database> 12.6.

The db:type attribute has the data type namespacedToken 18.3.19.

19.85.4<db:table-definition>

The db:type attribute specifies the type of a table.

The defined values for the db:type attribute are:

The db:type attribute is usable with the following element: <db:table-definition> 12.38.

The db:type attribute has the data type string 18.2.

19.86db:type-name

The db:type-name attribute specifies a database dependent type name of a database column.

The db:type-name attribute is usable with the following element: <db:column-definition> 12.40.

The db:type-name attribute has the data type string 18.2.

19.87db:update-rule

The db:update-rule attribute specifies a rule that is applied for updating records in a table. It is only used for foreign keys.

The defined values for the db:update-rule attribute are:

The default value for this attribute is no-action.

The db:update-rule attribute is usable with the following element: <db:key> 12.42.

The values of the db:update-rule attribute are cascade, restrict, set-null, no-action or set-default.

19.88db:use-catalog

The db:use-catalog attribute specifies that a catalog name should be used to reference a table in SQL statements.

The defined values for the db:use-catalog attribute are:

The default value for this attribute is false.

The db:use-catalog attribute is usable with the following element: <db:application-connection-settings> 12.15.

The db:use-catalog attribute has the data type boolean 18.3.3.

19.89db:use-system-user

The db:use-system-user attribute specifies that the name of a user as logged in to the client operating system is used.

If db:use-system-user and db:user-name attributes are omitted and the server requires a user name, the user is prompted to enter a name.

The defined values for the db:use-system-user attribute are:

The db:use-system-user attribute is usable with the following element: <db:login> 12.8.

The db:use-system-user attribute has the data type boolean 18.3.3.

19.90db:user-name

The db:user-name attribute specifies a user name for authentication upon creating a connection to a database.

If db:user-name and db:use-system-user attributes are omitted and the server requires a user name, the user is prompted to enter a name.

The db:user-name attribute is usable with the following element: <db:login> 12.8.

The db:user-name attribute has the data type string 18.2.

19.91db:visible

The db:visible attribute specifies whether a column appears in a table grid view.

The defined values for the db:visible attribute are:

The default value for this attribute is true.

The db:visible attribute is usable with the following element: <db:column> 12.35.

The db:visible attribute has the data type boolean 18.3.3.

19.92dr3d:ambient-color

The dr3d:ambient-color attribute specifies a color for ambient light.

Note: Ambient light is light that seems to come from all directions.

The dr3d:ambient-color attribute, along with dr3d:diffuse-color, dr3d:emissive-color, and dr3d:specular-color specifies the four colors that define the color of a material.

The dr3d:ambient-color attribute is usable with the following elements: <chart:plot-area> 11.4 and <dr3d:scene> 10.5.2.

The dr3d:ambient-color attribute has the data type color 18.3.9.

19.93dr3d:center

The dr3d:center attribute specifies the center of a sphere in a three-dimensional space.

The dr3d:center attribute is usable with the following element: <dr3d:sphere> 10.5.5.

The dr3d:center attribute has the data type vector3D 18.3.40.

19.94dr3d:diffuse-color

The dr3d:diffuse-color attribute specifies the base color that a light is emitting.

The dr3d:diffuse-color attribute is usable with the following element: <dr3d:light> 10.5.3.

The dr3d:diffuse-color attribute has the data type color 18.3.9.

19.95dr3d:direction

The dr3d:direction attribute specifies the direction in which light is emitted.

The dr3d:direction attribute is usable with the following element: <dr3d:light> 10.5.3.

The dr3d:direction attribute has the data type vector3D 18.3.40.

19.96dr3d:distance

The dr3d:distance attribute specifies the distance between a camera and an object.

The dr3d:distance attribute is usable with the following elements: <chart:plot-area> 11.4 and <dr3d:scene> 10.5.2.

The dr3d:distance attribute has the data type length 18.3.18.

19.97dr3d:enabled

The dr3d:enabled attribute specifies if a light is enabled. If a light is not enabled, it does not emit any light.

The defined values for the dr3d:enabled attribute are:

The dr3d:enabled attribute is usable with the following element: <dr3d:light> 10.5.3.

The dr3d:enabled attribute has the data type boolean 18.3.3.

19.98dr3d:focal-length

The dr3d:focal-length attribute specifies the focal length of a virtual camera in a scene.

The dr3d:focal-length attribute is usable with the following elements: <chart:plot-area> 11.4 and <dr3d:scene> 10.5.2.

The dr3d:focal-length attribute has the data type length 18.3.18.

19.99dr3d:lighting-mode

19.99.1General

The dr3d:lighting-mode attribute specifies the use of lighting in three-dimensional scenes

Note: The dr3d:lighting-mode attribute is also defined for 3D objects. 20.79

19.99.2<chart:plot-area>

The dr3d:lighting-mode attribute specifies whether lighting is used in a three-dimensional chart.

The defined values for the dr3d:lighting-mode attribute are:

The dr3d:lighting-mode attribute is usable with the following element: <chart:plot-area> 11.4.

The dr3d:lighting-mode attribute has the data type boolean 18.3.3.

19.99.3<dr3d:scene>

The dr3d:lighting-mode attribute specifies whether lighting is used in a three-dimensional scene.

The defined values for the dr3d:lighting-mode attribute are:

The dr3d:lighting-mode attribute is usable with the following element: <dr3d:scene> 10.5.2.

The dr3d:lighting-mode attribute has the data type boolean 18.3.3.

19.100dr3d:max-edge

The dr3d:max-edge attribute specifies the maximum x, y and z coordinate values for a cube.

The dr3d:max-edge attribute is usable with the following element: <dr3d:cube> 10.5.4.

The dr3d:max-edge attribute has the data type vector3D 18.3.40.

19.101dr3d:min-edge

The dr3d:min-edge attribute specifies the minimum x, y and z coordinate values for a cube.

The dr3d:min-edge attribute is usable with the following element: <dr3d:cube> 10.5.4.

The dr3d:min-edge attribute has the data type vector3D 18.3.40.

19.102dr3d:projection

The dr3d:projection attribute specifies a projection mode.

The defined values for the dr3d:projection attribute are:

For a <draw:enhanced-geometry> 10.6.2 element the default value for this attribute is parallel.

The dr3d:projection attribute is usable with the following elements: <chart:plot-area> 11.4, <dr3d:scene> 10.5.2 and <draw:enhanced-geometry> 10.6.2.

The values of the dr3d:projection attribute are parallel or perspective.

19.103dr3d:shade-mode

The dr3d:shade-mode attribute specifies how lighting is calculated for rendered surfaces.

The defined values for the dr3d:shade-mode attribute are:

For a <draw:enhanced-geometry> 10.6.2 element the default value for this attribute is flat.

The dr3d:shade-mode attribute is usable with the following elements: <chart:plot-area> 11.4, <dr3d:scene> 10.5.2 and <draw:enhanced-geometry> 10.6.2.

The values of the dr3d:shade-mode attribute are flat, phong, gouraud or draft.

19.104dr3d:shadow-slant

The dr3d:shadow-slant attribute specifies an angle from a three-dimensional scene to a virtual paper on which a shadow is cast.

The dr3d:shadow-slant attribute is usable with the following elements: <chart:plot-area> 11.4 and <dr3d:scene> 10.5.2.

The dr3d:shadow-slant attribute has the data type angle 18.3.1.

19.105dr3d:size

The dr3d:size attribute specifies the size of a sphere in a three-dimensional space.

The dr3d:size attribute is usable with the following element: <dr3d:sphere> 10.5.5.

The dr3d:size attribute has the data type vector3D 18.3.40.

19.106dr3d:specular

The dr3d:specular attribute specifies whether a light causes a specular reflection on objects. consumers may evaluate this attribute only for the first light in a scene.

The defined values for the dr3d:specular attribute are:

The dr3d:specular attribute is usable with the following element: <dr3d:light> 10.5.3.

The dr3d:specular attribute has the data type boolean 18.3.3.

19.107dr3d:transform

The dr3d:transform attribute specifies a list of transform definitions, which are applied in the order provided. The individual transform definitions are separated by white space.

The defined transforms are:

The dr3d:transform attribute is usable with the following elements: <chart:plot-area> 11.4, <dr3d:cube> 10.5.4, <dr3d:extrude> 10.5.6, <dr3d:rotate> 10.5.7, <dr3d:scene> 10.5.2 and <dr3d:sphere> 10.5.5.

The dr3d:transform attribute has the data type string 18.2.

19.108dr3d:vpn

The dr3d:vpn attribute specifies a pointer towards projected objects.

With the dr3d:vrp and dr3d:vup attributes, the dr3d:vpn attribute specifies a viewing volume.

The dr3d:vpn attribute is usable with the following elements: <chart:plot-area> 11.4 and <dr3d:scene> 10.5.2.

The dr3d:vpn attribute has the data type vector3D 18.3.40.

19.109dr3d:vrp

The dr3d:vrp attribute specifies an origin.

With the dr3d:vpn and dr3d:vup attributes, the dr3d:vrp attribute specifies a viewing volume.

The dr3d:vrp attribute is usable with the following elements: <chart:plot-area> 11.4 and <dr3d:scene> 10.5.2.

The dr3d:vrp attribute has the data type vector3D 18.3.40.

19.110dr3d:vup

The dr3d:vup attribute specifies an up vector.

With the dr3d:vpn and dr3d:vrp attributes, the dr3d:vup attribute specifies a viewing volume.

The dr3d:vup attribute is usable with the following elements: <chart:plot-area> 11.4 and <dr3d:scene> 10.5.2.

The dr3d:vup attribute has the data type vector3D 18.3.40.

19.111draw:align

The draw:align attribute specifies the shape edge where a glue point is positioned.

The defined values for the draw:align attribute are:

The draw:align attribute is usable with the following element: <draw:glue-point> 10.3.16.

The values of the draw:align attribute are top-left, top, top-right, left, center, right, bottom-left or bottom-right.

19.112draw:angle

The draw:angle attribute specifies an angle that rotates the axis at which the gradient values are interpolated. This attribute is ignored for radial style gradients.

The draw:angle attribute is usable with the following elements: <draw:gradient> 16.40.1 and <draw:opacity> 16.40.7.

The draw:angle attribute has the data type angle 18.3.1.

19.113draw:archive

The draw:archive attribute is equivalent to the archive attribute of an <applet> element in HTML. See. §13.4 of [HTML4].

The draw:archive attribute is usable with the following element: <draw:applet> 10.4.7.

The draw:archive attribute has the data type string 18.2.

19.114draw:border

The draw:border attribute specifies a percentage value that is used to scale a border area which is filled by a solid color.

For linear, square, rectangle, radial and elliptical gradients the start color is used. For axial gradients, the end color is used.

The draw:border attribute is usable with the following elements: <draw:gradient> 16.40.1 and <draw:opacity> 16.40.7.

The draw:border attribute has the data type percent 18.3.23.

19.115draw:caption-id

The draw:caption-id attribute establishes a relationship between a drawing shape and its caption. It takes a value of type IDREF. The value for the draw:caption-id attribute is the target ID assigned to the <draw:text-box> element (see 10.4.3) that contains the caption.

Note: When a caption is assigned to a drawing shape, an id shall be assigned to the element containing the text used to caption a drawing shape. Removing the caption should result in removing the draw:caption-id attribute of the drawing shape that was being captioned.

The draw:caption-id attribute is usable with the following elements: <dr3d:scene> 10.5.2, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2 and <draw:regular-polygon> 10.3.6.

The draw:caption-id attribute has the data type IDREF 18.2.

19.116draw:caption-point-x

The draw:caption-point-x attribute, along with the draw:caption-point-y specifies the position of a point that is captioned. A set of lines are rendered to that point from the caption area.

The draw:caption-point-x attribute is usable with the following elements: <draw:caption> 10.3.11 and <office:annotation> 14.1.

The draw:caption-point-x attribute has the data type coordinate 18.3.10.

19.117draw:caption-point-y

The draw:caption-point-y attribute, along with the draw:caption-point-x specifies the position of a point that is captioned. A set of lines are rendered to that point from the caption area.

The draw:caption-point-y attribute is usable with the following elements: <draw:caption> 10.3.11 and <office:annotation> 14.1.

The draw:caption-point-y attribute has the data type coordinate 18.3.10.

19.118draw:chain-next-name

The draw:chain-next-name attribute specifies a name that is used to chain text boxes together for cases where the content of a text box exceeds its capacity. The content flows into the next text box in the chain. The value of this attribute is the name of the next text box in the chain.

The draw:chain-next-name attribute is usable with the following element: <draw:text-box> 10.4.3.

The draw:chain-next-name attribute has the data type string 18.2.

19.119draw:class-id

The draw:class-id attribute specifies the OLE class id of an object.

The draw:class-id attribute is usable with the following element: <draw:object-ole> 10.4.6.3.

The draw:class-id attribute has the data type string 18.2.

19.120draw:class-names

The draw:class-names attribute specifies a white space separated list of styles with the family value of graphic. The referenced styles are applied in the order they are contained in the list.

If both draw:style-name and draw:class-names are present, the style referenced by the draw:style-name attribute is applied before the styles referenced by the draw:class-names attribute.

The draw:class-names attribute is usable with the following elements: <dr3d:cube> 10.5.4, <dr3d:extrude> 10.5.6, <dr3d:rotate> 10.5.7, <dr3d:scene> 10.5.2, <dr3d:sphere> 10.5.5, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:annotation> 14.1.

The draw:class-names attribute has the data type styleNameRefs 18.3.33.

19.121draw:code

The draw:code attribute is equivalent to the code attribute of an <applet> element in HTML. See. §13.4 of [HTML4].

The draw:code attribute is usable with the following element: <draw:applet> 10.4.7.

The draw:code attribute has the data type string 18.2.

19.122draw:color

19.122.1General

The draw:color attribute specifies different colors depending upon the element where it appears.

19.122.2<draw:hatch>

The draw:color attribute specifies the color of hatch lines.

The draw:color attribute is usable with the following element: <draw:hatch> 16.40.5.

The draw:color attribute has the data type color 18.3.9.

19.122.3<presentation:dim>

The draw:color attribute specifies the color of that is used to fill a shape when the shape is dimmed.

The draw:color attribute is usable with the following element: <presentation:dim> 10.8.7.

The draw:color attribute has the data type color 18.3.9.

19.123draw:concave

The draw:concave attribute specifies whether a regular polygon is convex or concave.  For a concave regular polygon the draw:sharpness attribute shall be specified in addition to the draw:concave attribute.

The defined values for the draw:concave attribute are:

The draw:concave attribute is usable with the following element: <draw:regular-polygon> 10.3.6.

The values of the draw:concave attribute are false or true.

19.124draw:concentric-gradient-fill-allowed

The draw:concentric-gradient-fill-allowed attribute specifies the rendering of a shape with a concentric gradient that uses a custom shape path.

The defined values for the draw:concentric-gradient-fill-allowed attribute are:

The default value for this attribute is false.

The draw:concentric-gradient-fill-allowed attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:concentric-gradient-fill-allowed attribute has the data type boolean 18.3.3.

19.125draw:control

The draw:control attribute specifies a control within a form that is linked to the control shape by its ID.

The draw:control attribute is usable with the following element: <draw:control> 10.3.13.

The draw:control attribute has the data type IDREF 18.2.

19.126draw:copy-of

The draw:copy-of attribute specifies that a frame displays the contents of another frame. This does not effect style and position information. The style and position information of the frame with the draw:copy-of attribute is used to render the copied contents.

Note: Multiple frames can be set to display the exact same underlying data: for instance for a company logo, that shall appear somewhere on every page, without being part of a header or footer.

The draw:copy-of attribute is usable with the following element: <draw:frame> 10.4.2.

The draw:copy-of attribute has the data type string 18.2.

19.127draw:corner-radius

The draw:corner-radius attribute specifies the radius of the circle used to round off the corners of a caption <draw:caption>, rectangle <draw:rect>, or a text-box <draw:text-box>.

The svg:rx and svg:ry attributes can also be used to round off the corners of a rectangle <draw:rect>.

If svg:rx and/or svg:ry and draw:corner-radius attributes are present on an element, the svg:rx and svg:ry attributes control the rounding applied to the shape defined by the element. If one or both of svg:rx and svg:ry attributes are present, any draw:corner-radius attribute is ignored.

The draw:corner-radius attribute is usable with the following elements: <draw:caption> 10.3.11, <draw:rect> 10.3.2, <draw:text-box> 10.4.3 and <office:annotation> 14.1.

The draw:corner-radius attribute has the data type nonNegativeLength 18.3.20.

19.128draw:corners

The draw:corners attribute specifies the number of polygon corners on a polygon shape.

The draw:corners attribute is usable with the following element: <draw:regular-polygon> 10.3.6.

The draw:corners attribute has the data type positiveInteger 18.2.

19.129draw:cx

The draw:cx attribute, along with the draw:cy attribute, specifies the center of the geometry that is used for a gradient, if the gradient style is ellipsoid, radial, rectangular, or square.

The draw:cx attribute is usable with the following elements: <draw:gradient> 16.40.1 and <draw:opacity> 16.40.7.

The draw:cx attribute has the data type percent 18.3.23.

19.130draw:cy

The draw:cy attribute, along with the draw:cx attribute, specifies the center of the geometry that is used for a gradient, if the gradient style is ellipsoid, radial, rectangular, or square.

The draw:cy attribute is usable with the following elements: <draw:gradient> 16.40.1 and <draw:opacity> 16.40.7.

The draw:cy attribute has the data type percent 18.3.23.

19.131draw:data

The draw:data attribute specifies rendering engine specific data for a custom shape. This attribute is only evaluated if a rendering engine is specified by the draw:engine attribute.

The draw:data attribute is usable with the following element: <draw:custom-shape> 10.6.1.

The draw:data attribute has the data type string 18.2.

19.132draw:display

The draw:display attribute specifies the visibility of drawing objects contained in a layer for display or printing.

The defined values for the draw:display attribute are:

The default value for this attribute is always.

The draw:display attribute is usable with the following element: <draw:layer> 10.2.3.

The values of the draw:display attribute are always, screen, printer or none.

19.133draw:display-name

19.133.1General

The draw:display-name attribute specifies a name as it should appear in the user interface.  If this attribute is not present, the display name is the same as the internal name.

19.133.2<draw:fill-image>

The draw:display-name attribute specifies the name of a fill image.

The draw:display-name attribute is usable with the following element: <draw:fill-image> 16.40.6.

The draw:display-name attribute has the data type string 18.2.

19.133.3<draw:gradient>

The draw:display-name attribute specifies the name of a gradient.

The draw:display-name attribute is usable with the following element: <draw:gradient> 16.40.1.

The draw:display-name attribute has the data type string 18.2.

19.133.4<draw:hatch>

The draw:display-name attribute specifies the name of a hatch style.

The draw:display-name attribute is usable with the following element: <draw:hatch> 16.40.5.

The draw:display-name attribute has the data type string 18.2.

19.133.5<draw:marker>

The draw:display-name attribute specifies the name of a marker.

The draw:display-name attribute is usable with the following element: <draw:marker> 16.40.8.

The draw:display-name attribute has the data type string 18.2.

19.133.6<draw:opacity>

The draw:display-name attribute specifies the name of an opacity gradient.

The draw:display-name attribute is usable with the following element: <draw:opacity> 16.40.7.

The draw:display-name attribute has the data type string 18.2.

19.133.7<draw:stroke-dash>

The draw:display-name attribute specifies the name of a dash style.

The draw:display-name attribute is usable with the following element: <draw:stroke-dash> 16.40.9.

The draw:display-name attribute has the data type string 18.2.

19.133.8<svg:linearGradient>

The draw:display-name attribute specifies the name of a gradient.

The draw:display-name attribute is usable with the following element: <svg:linearGradient> 16.40.2.

The draw:display-name attribute has the data type string 18.2.

19.133.9<svg:radialGradient>

The draw:display-name attribute specifies the name of a gradient.

The draw:display-name attribute is usable with the following element: <svg:radialGradient> 16.40.3.

The draw:display-name attribute has the data type string 18.2.

19.134draw:distance

19.134.1General

The draw:distance attribute specifies distances.

19.134.2<draw:hatch>

The draw:distance attribute specifies the distance between two hatch lines.

The draw:distance attribute is usable with the following element: <draw:hatch> 16.40.5.

The draw:distance attribute has the data type length 18.3.18.

19.134.3<draw:stroke-dash>

The draw:distance attribute specifies the distance between the dashes of a stroke.

The value of the attribute may be an absolute length or a percentage value. Percentage values are relative to the width of the stroke as defined by the svg:stroke-width attribute. 20.400

The draw:distance attribute is usable with the following element: <draw:stroke-dash> 16.40.9.

The values of the draw:distance attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

19.135draw:dots1

The draw:dots1 attribute specifies the number of dashes for the first sequence in an alternating sequence of dots.

The draw:dots1 attribute is usable with the following element: <draw:stroke-dash> 16.40.9.

The draw:dots1 attribute has the data type integer 18.2.

19.136draw:dots1-length

The draw:dots1-length attributes specifies the length of the dashes in the sequence specified by draw:dots1.

The value of the attribute may be an absolute length or a percentage value. Percentage values are relative to the width of the stroke as defined by the svg:stroke-width attribute. 20.400

The draw:dots1-length attribute is usable with the following element: <draw:stroke-dash> 16.40.9.

The values of the draw:dots1-length attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

19.137draw:dots2

The draw:dots2 attribute specifies the number of dashes for the second sequence in an alternating sequence of dots.

The draw:dots2 attribute is usable with the following element: <draw:stroke-dash> 16.40.9.

The draw:dots2 attribute has the data type integer 18.2.

19.138draw:dots2-length

The draw:dots2-length attributes specifies the length of the dashes in the sequence specified by draw:dots2.

The value of the attribute may be an absolute length or a percentage value. Percentage values relative to the width of the stroke as defined by the svg:stroke-width attribute. 20.400

The draw:dots2-length attribute is usable with the following element: <draw:stroke-dash> 16.40.9.

The values of the draw:dots2-length attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

19.139draw:end

The draw:end attributes specifies the end value for the <draw:opacity> element, which interpolates between the value of this attribute and draw:start. The defined value range for the draw:end attribute is 0% to 100%, where 0% is transparent and 100% is opaque.

The draw:end attribute is usable with the following element: <draw:opacity> 16.40.7.

The draw:end attribute has the data type zeroToHundredPercent 18.3.41.

19.140draw:end-angle

The draw:end-angle attribute specifies the end angle of an arc, cut, or section for circles where the draw:kind attribute value is arc, cut, or section.

The draw:end-angle attribute is usable with the following elements: <draw:circle> 10.3.8 and <draw:ellipse> 10.3.9.

The draw:end-angle attribute has the data type angle 18.3.1.

19.141draw:end-color

The draw:end-color attribute specifies the end value for the <draw:gradient> element, which interpolates between the value of this attribute and draw:start-color.

The draw:end-color attribute is usable with the following element: <draw:gradient> 16.40.1.

The draw:end-color attribute has the data type color 18.3.9.

19.142draw:end-glue-point

The draw:end-glue-point attribute identifies the glue point in a shape where a connector ends by its number. See 10.3.16. Glue point numbers are defined by the draw:id attributes of the glue point elements <draw:glue-point>. See 19.187.

If the connector is not connected to a shape, this attribute is ignored.

The draw:end-glue-point attribute is usable with the following element: <draw:connector> 10.3.10.

The draw:end-glue-point attribute has the data type nonNegativeInteger 18.2.

19.143draw:end-intensity

The draw:end-intensity attribute specifies the intensity of the gradient's end color as a percentage value. If it is not specified, the color is used at 100% intensity. The defined value range for the draw:end-intensity attribute is 0% to 100%,

The draw:end-intensity attribute is usable with the following element: <draw:gradient> 16.40.1.

The draw:end-intensity attribute has the data type zeroToHundredPercent 18.3.41.

19.144draw:end-shape

The draw:end-shape attribute specifies a drawing shape to which the end of a connector is connected by its ID.

The draw:end-shape attribute is usable with the following element: <draw:connector> 10.3.10.

The draw:end-shape attribute has the data type IDREF 18.2.

19.145draw:enhanced-path

The draw:enhanced-path attribute specifies a path that is the outline of a shape.

The syntax of a value for a draw:enhanced-path attribute is defined as:

A parameter in the value of a draw:enhanced-path attribute may be:

The syntax used in Table 10 for parameters is:

  • (): grouping of parameters. 

  • +: 1 or more of the given parameter(s) shall be present. 

The following commands are defined:

Table 10 - Enhanced path commands

Command

Name

Parameters

Description

A

arcto

(x1 y1 x2 y2 x3 y3 x4 y4) +

(x1, y1) and (x2, y2) define the bounding box of a ellipse. A line is then drawn from the current point to the start angle of the arc that is specified by the radial vector of point (x3, y3) and then counter clockwise to the end-angle that is specified by point (x4, y4).

B

arc

(x1 y1 x2 y2 x3 y3 x4 y4) +

The same as the “A” command, except that a implied moveto to the starting point is done.

C

curveto

(x1 y1 x2 y2 x y) +

Draws a cubic Bézier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve.

F

nofill

(none)

Specifies that the current set of sub-paths will not be filled.

L

lineto

(x y) +

Draws a line from the current point to (x, y). If followed by multiple coordinate pairs, they are all interpreted as lineto.

M

moveto

(x y) +

Start a new sub-path at the given (x,y) coordinate. If a moveto is followed by multiple pairs of coordinates, they are treated as lineto.

N

endpath

(none)

Ends the current set of sub-paths. The sub-paths will be filled by using the “even-odd” filling rule. Other following subpaths will be filled independently.

Q

quadratic­curveto

(x1 y1 x y)+

Draws a quadratic Bézier curve from the current point to (x, y) using (x1, y1) as the control point. (x, y) becomes the new current point at the end of the command.

S

nostroke

(none)

Specifies that the current set of sub-paths will not be stroked.

T

angle­ellipseto

(x y w h t0 t1) +

Draws a segment of an ellipse. The ellipse is specified by the center(x, y), the size(w, h) and the start-angle t0 in degrees and end-angle t1 in degrees. The segment is drawn clockwise.

U

angle­ellipse

(x y w h t0 t1) +

The same as the “T” command, except that a implied moveto to the starting point is done.

V

clockwise­arc

(x1 y1 x2 y2 x3 y3 x y)+

The same as the “A” command, except that a implied moveto to the starting point is done and the arc is drawn clockwise.

W

clockwise­arcto

(x1 y1 x2 y2 x3 y3 x y) +

The same as the “A” command except, that the arc is drawn clockwise.

X

elliptical­quatrantx

(x y) +

Draws a quarter ellipse, whose initial segment is tangential to the x-axis from the current point to (x, y). For each additional quarter ellipse command, the axis to which the segment is tangential to switches from x to y and from y to x.

Y

elliptical­quadranty

(x y) +

Draws a quarter ellipse, whose initial segment is tangential to the y-axis from the current point to (x, y). For each additional quarter ellipse command, the axis to which the segment is tangential to switches from y to x and from x to y

Z

closepath

(none)

Close the current sub-path by drawing a straight line from the current point to current sub-path's initial point.

Note: The value of the draw:enhanced-path attribute is based upon [SVG] §8.3.

The draw:enhanced-path attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:enhanced-path attribute has the data type string 18.2.

19.146draw:engine

The draw:engine attribute specifies the name of a specific rendering engine that can be used to render a custom shape.

The value of the draw:engine attribute shall not influence the geometry of a shape.

The draw:engine attribute is usable with the following element: <draw:custom-shape> 10.6.1.

The draw:engine attribute has the data type namespacedToken 18.3.19.

19.147draw:escape-direction

The draw:escape-direction attribute specifies the direction in which a connection line leaves a drawing object if a connector connects to a glue point.

The defined values for the draw:escape-direction attribute are:

The draw:escape-direction attribute is usable with the following element: <draw:glue-point> 10.3.16.

The values of the draw:escape-direction attribute are auto, left, right, up, down, horizontal or vertical.

19.148draw:extrusion

The draw:extrusion attribute specifies if an extrusion is displayed.

The defined values for the draw:extrusion attribute are:

The default value for this attribute is false.

The draw:extrusion attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion attribute has the data type boolean 18.3.3.

19.149draw:extrusion-allowed

The draw:extrusion-allowed attribute specifies whether a shape can be rendered as extrusion object.

The defined values for the draw:extrusion-allowed attribute are:

The default value for this attribute is false.

The draw:extrusion-allowed attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-allowed attribute has the data type boolean 18.3.3.

19.150draw:extrusion-brightness

The draw:extrusion-brightness attribute specifies the brightness of a scene.

The default value for this attribute is 33%.

The draw:extrusion-brightness attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-brightness attribute has the data type zeroToHundredPercent 18.3.41.

19.151draw:extrusion-color

The draw:extrusion-color attribute specifies if an extrusion color is used. The extrusion color is defined by the draw:secondary-fill-color attribute specified in a custom shape's graphic style.

The defined values for the draw:extrusion-color attribute are:

The default value for this attribute is false.

The draw:extrusion-color attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-color attribute has the data type boolean 18.3.3.

19.152draw:extrusion-depth

The draw:extrusion-depth attribute specifies the depth of an extrusion. It takes two white space separated values. The first value specifies the depth of the extrusion in units, the second value specifies the fraction of the extrusion that lies before a shape. The second value shall be in the range [0,1]. A value of 0 is the default.

The default value for this attribute is 36pt 0.

The draw:extrusion-depth attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-depth attribute has two white space separated values. The first value is of type length 18.3.18. The second value is of type double 18.2.

19.153draw:extrusion-diffusion

 The draw:extrusion-diffusion attribute specifies the amount of diffusion reflected by a shape.

The default value for this attribute is 0%.

The draw:extrusion-diffusion attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-diffusion attribute has the data type percent 18.3.23.

19.154draw:extrusion-first-light-direction

The draw:extrusion-first-light-direction attribute specifies the direction of the first light.

The default value for this attribute is (5 0 1).

The draw:extrusion-first-light-direction attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-first-light-direction attribute has the data type vector3D 18.3.40.

19.155draw:extrusion-first-light-harsh

The draw:extrusion-first-light-harsh attribute specifies if the first light is harsh.

The defined values for the draw:extrusion-first-light-harsh attribute are:

The default value for this attribute is true.

The draw:extrusion-first-light-harsh attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-first-light-harsh attribute has the data type boolean 18.3.3.

19.156draw:extrusion-first-light-level

The draw:extrusion-first-light-level attribute specifies the intensity of the first light.

The default value for this attribute is 66%.

The draw:extrusion-first-light-level attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-first-light-level attribute has the data type zeroToHundredPercent 18.3.41.

19.157draw:extrusion-light-face

The draw:extrusion-light-face attribute specifies if the front face of an extrusion responds to lighting changes.

The defined values for the draw:extrusion-light-face attribute are:

The default value for this attribute is true.

The draw:extrusion-light-face attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-light-face attribute has the data type boolean 18.3.3.

19.158draw:extrusion-metal

The draw:extrusion-metal attribute specifies the shading of an extruded shape.

The defined values for the draw:extrusion-metal attribute are:

The default value for this attribute is false.

The draw:extrusion-metal attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-metal attribute has the data type boolean 18.3.3.

19.159draw:extrusion-number-of-line-segments

The draw:extrusion-number-of-line-segments attribute specifies the number of line segments that should be used to display curved surfaces.

The default value for this attribute is 30.

The draw:extrusion-number-of-line-segments attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-number-of-line-segments attribute has the data type integer 18.2.

19.160draw:extrusion-origin

The draw:extrusion-origin attribute specifies the point of origin of a shape within its bounding box in shape size fractions. The value of the draw:extrusion-origin attribute consists of two parameters separated by white space.

The first parameter represents the horizontal origin of a shape.

The defined values for the first parameter of the draw:extrusion-origin attribute are:

The second parameter represents the vertical origin of a shape.

The defined values for the second parameter of the draw:extrusion-origin attribute are:

The default value for this attribute is 0.5 -0.5.

The draw:extrusion-origin attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-origin attribute has two white space separated values. The first value is a value of type double 18.2 in the range [-0.5,0.5]. The second value is a value of type double 18.2 in the range [-0.5,0.5].

19.161draw:extrusion-rotation-angle

The draw:extrusion-rotation-angle attribute specifies rotation about an x-axis and y-axis. The values are separated by a white space. The first angle specifies rotation on the x-axis and the second angle specifies rotation on the y-axis. z-axis is specified by the draw:transform attribute on the <draw:custom-shape> element.

The order of the rotation is: z-axis, y-axis and then x-axis.

The default value for this attribute is 0 0.

The draw:extrusion-rotation-angle attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-rotation-angle attribute has two white space separated values. The first value is of type angle 18.3.1. The second value is of type angle 18.3.1.

19.162draw:extrusion-rotation-center

The draw:extrusion-rotation-center attribute specifies the position of a rotation center in shape size fractions. If the draw:extrusion-rotation-center attribute is omitted, the geometric center of the shape is used as the rotation center.

The draw:extrusion-rotation-center attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-rotation-center attribute has the data type vector3D 18.3.40.

19.163draw:extrusion-second-light-direction

The draw:extrusion-second-light-direction attribute specifies the direction of a second light.

The default value for this attribute is (-5 0 1).

The draw:extrusion-second-light-direction attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-second-light-direction attribute has the data type vector3D 18.3.40.

19.164draw:extrusion-second-light-harsh

The draw:extrusion-second-light-harsh attribute specifies if a second light is harsh.

The defined values for the draw:extrusion-second-light-harsh attribute are:

The default value for this attribute is true.

The draw:extrusion-second-light-harsh attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-second-light-harsh attribute has the data type boolean 18.3.3.

19.165draw:extrusion-second-light-level

The draw:extrusion-second-light-level attribute specifies the intensity of a second light.

The default value for this attribute is 66%.

The draw:extrusion-second-light-level attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-second-light-level attribute has the data type zeroToHundredPercent 18.3.41.

19.166draw:extrusion-shininess

The draw:extrusion-shininess attribute specifies the reflectivity of a mirror.

The default value for this attribute is 50%.

The draw:extrusion-shininess attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-shininess attribute has the data type zeroToHundredPercent 18.3.41.

19.167draw:extrusion-skew

The draw:extrusion-skew attribute specifies the skew amount and skew angle of an extrusion. Skew settings are only applied if the dr3d:projection attribute on the same element has the value parallel.

The attribute value is a white space separated number and angle. The first value defines the skew amount in percent, the second value defines the skew angle.

The default value for this attribute is 50 45.

The draw:extrusion-skew attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-skew attribute has two white space separated values. The first value is of type double 18.2. The second value is of type angle 18.3.1.

19.168draw:extrusion-specularity

The draw:extrusion-specularity attribute specifies the specularity of an extrusion object.

The default value for this attribute is 0%.

The draw:extrusion-specularity attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-specularity attribute has the data type zeroToHundredPercent 18.3.41.

19.169draw:extrusion-viewpoint

The draw:extrusion-viewpoint attribute specifies the viewpoint of an observer as an 3D point.

The default value for this attribute is (3.5cm -3.5cm 25cm).

The draw:extrusion-viewpoint attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-viewpoint attribute has the data type point3D 18.3.24.

19.170draw:filter-name

The draw:filter-name attribute specifies the implementation-dependent filter name that has been used to load an image into the document.

The draw:filter-name attribute is usable with the following element: <draw:image> 10.4.4.

The draw:filter-name attribute has the data type string 18.2.

19.171draw:formula

The draw:formula attribute specifies an equation that should be used to evaluate a value. A formula can make use of other formulas or modifier values by function and or modifier reference.

The value of a draw:formula attribute can have one of the following parameters:

formula::=additive_expression

identifier::= 'pi' | 'left' | 'top' | 'right' | 'bottom' | 'xstretch'

    | 'ystretch' | 'hasstroke' | 'hasfill' | 'width' | 'height' | 'logwidth'

    | 'logheight'

unary_function::= 'abs' | 'sqrt' | 'sin' | 'cos' | 'tan' | 'atan'

binary_function::= 'min' | 'max' | 'atan2'

ternary_function::= 'if'

basic_expression::= number

    | identifier

    | function_reference

    | modifier_reference

    | unary_function S* '(' S* additive_expression S* ')'

    | binary_function S* '(' S* additive_expression S* ',' S*

        additive_expression S* ')'

    | ternary_function S* '(' S* additive_expression S* ',' S*

        additive_expression S* ',' S* additive_expression S* ')'

    | '(' S* additive_expression S* ')'

unary_expression::= '-' S* basic_expression | basic_expression

multiplicative_expression::= unary_expression     ( ( S* '*' S* unary_expression )

    | ( S* '/' S* unary_expression ) )*

additive_expression::= multiplicative_expression

    ( ( S* '+' S* multiplicative_expression )

    | ( S* '-' S* multiplicative_expression ) )*

number::= sign? Integer | sign? Floating-point-constant

function_reference::= "?" name

modifier_reference::= "$" integer

floating-point-constant::= fractional-constant exponent? | integer exponent

fractional-constant::= integer? '.' integer | integer '.'

exponent::= ( 'e' | 'E' ) sign? Integer

sign::= '+' | '-'

name::= [^#x20#x9]+

integer::= [0-9]+

S::= (#x20 | #x9)

Table 11 - Enhanced geometry equation identifiers

Identifier

Description

bottom

The bottom position the svg:viewBox attribute is used.

hasfill

If the shape has a fill style, a value of 1 is used.If the shape has a fill style, a value of 1 is used. If the shape has no fill style, a value of 0 is used.

hasstroke

If the shape has a line style, a value of 1 is used. If the shape has a line style, a value of 1 is used. If the shape has no line style, a value of 0 is used.

height

The height of the svg:viewBox attribute is used.

left

The left position of the svg:viewBox attribute is used.

logheight

The height of the svg:viewBox attribute in 1/100th mm is used.

logwidth

The width of the svg:viewBox attribute in 1/100th mm is used.

right

The right position the svg:viewBox attribute is used.

top

The top position the svg:viewBox attribute is used.

width

The width of the svg:viewBox attribute is used.

xstretch

The value of the draw:path-stretchpoint-x attribute is used.

ystretch

The value of the draw:path-stretchpoint-y attribute is used.

Table 12 - Functions Used in draw:formula

Function

Description

abs(n)

returns the absolute value of n

sqrt(n)

returns the positive square root of n

sin(n)

returns the trigonometric sine of n, where n is an angle specified in degrees

cos(n)

returns the trigonometric cosine of n, where n is an angle specified in degrees

tan(n)

returns the trigonometric tangent of n, where n is an angle specified in degrees

atan(n)

returns the arc tangent of n in degrees

min(x,y)

returns the smaller of two values

max(x,y)

returns the greater of two values

atan2(x,y)

returns the angle in degrees of the vector (x,y) with the x-axis

if(c,x,y)

conditional testing: if c is greater than zero then the result of evaluating x is returned, otherwise the result of evaluating y is returned.

The draw:formula attribute is usable with the following element: <draw:equation> 10.2.5.

The draw:formula attribute has the data type string 18.2.

19.172draw:frame-name

The draw:frame-name attribute specifies the name of a frame. The name of a frame can be used as a target by hyperlinks.

The draw:frame-name attribute is usable with the following element: <draw:floating-frame> 10.4.10.

The draw:frame-name attribute has the data type string 18.2.

19.173draw:glue-point-leaving-directions

The draw:glue-point-leaving-directions attribute specifies a comma “,” (U+002C, COMMA) separated list of angles. The angles are listed in the same order as the glue-points specified in the draw:glue-points attribute. 19.175

The draw:glue-point-leaving-directions attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:glue-point-leaving-directions attribute has the data type string 18.2.

19.174draw:glue-point-type

The draw:glue-point-type attribute specifies a glue-point type. If the draw:glue-points attribute has a value, this attribute is ignored.

The defined values for the draw:glue-point-type attribute are:

The default value for this attribute is none.

The draw:glue-point-type attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The values of the draw:glue-point-type attribute are none, segments or rectangle.

19.175draw:glue-points

The draw:glue-points attribute specifies a list of object defined glue points. Unlike the user defined glue points which are defined by the <draw:glue-point> sub-element, the position of an object defined glue point can be defined using equations and modifiers.

The first parameter specifies the horizontal position of the glue point.

The second parameter specifies the vertical position of the glue point.

Each parameter can be a float, or it can also have one of the following enhancements:

The value of a draw:glue-points attribute is formally defined as:

gluepoints::= gluepointsequence?
gluepointsequence::= gluepoint ( ' '+ gluepointsequence )*
glue-point::= position ' '+ position
position::= formula | modifier | number
formula::= '?' name
modifier::= '$' integer
number::= sign? float | sign? integer
float::= fractional exponent? | integer exponent
fractional::= integer? '.' integer | integer '.'
exponent::= ( 'e' | 'E' ) sign? integer
sign::= '+'| '-'
integer::= [0-9]+
name ::= [^ ]+

The draw:glue-points attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:glue-points attribute has the data type string 18.2.

19.176draw:handle-mirror-horizontal

The draw:handle-mirror-horizontal attribute specifies if the y position of a handle is mirrored.

The defined values for the draw:handle-mirror-horizontal attribute are:

The default value for this attribute is false.

The draw:handle-mirror-horizontal attribute is usable with the following element: <draw:handle> 10.6.3.

The draw:handle-mirror-horizontal attribute has the data type boolean 18.3.3.

19.177draw:handle-mirror-vertical

The draw:handle-mirror-vertical attribute specifies if the x position of a handle is mirrored.

The defined values for the draw:handle-mirror-vertical attribute are:

The default value for this attribute is false.

The draw:handle-mirror-vertical attribute is usable with the following element: <draw:handle> 10.6.3.

The draw:handle-mirror-vertical attribute has the data type boolean 18.3.3.

19.178draw:handle-polar

The draw:handle-polar attribute specifies that a handle is a polar handle. The syntax for this attribute is the same as for the draw:handle-position attribute. The first parameter specifies the horizontal center position, the vertical center position is specified by the second parameter. If this attribute is set, the draw:handle-range-x-minimum, draw:handle-range-x-maximum, draw:handle-range-y-minimum and draw:handle-range-y-maximum attributes are ignored, and the draw:handle-radius-range-minimum and draw:handle-radius-range-maximum attributes are used.

The draw:handle-polar attribute is usable with the following element: <draw:handle> 10.6.3.

The draw:handle-polar attribute has the data type string 18.2.

19.179draw:handle-position

The draw:handle-position attribute specifies the position of a handle and consists of two values.

Each value can be a float or it can have one of the following enhancements:

Table 13 - Handle position constants

Constant

Description

bottom

The bottom coordinate of the view box as specified by the svg:viewBox attribute is used.

hasfill

If the shape has a fill style, a value of 1 is used.

hasstroke

If the shape has a line style, a value of 1 is used.

height

The view box height as specified by the svg:viewBox attribute is used.

logheight

The view box height in 1/100th mm as specified by the svg:viewBox attribute is used.

logwidth

The view box width in 1/100th mm as specified by the svg:viewBox attribute is used.

left

The left coordinate of the view box as specified by the svg:viewBox attribute is used.

right

The right coordinate of the view box as specified by the svg:viewBox attribute is used.

top

The top coordinate of the view box as specified by the svg:viewBox attribute is used.

width

The view box width as specified by the svg:viewBox attribute is used.

xstretch

The value of the draw:path-stretchpoint-x attribute is used.

ystretch

The value of the draw:path-stretchpoint-y attribute is used.

If the draw:handle-polar attribute is not set, the first parameter of the draw:handle-position attribute specifies the horizontal handle position, the vertical handle position is described by the second parameter. If the draw:handle-polar attribute is set, then a handle is a polar handle and the first parameter of the draw:handle-position attribute specifies the angle (as defined in 18.3.1), the handle radius is specified by the second parameter.

The value of a draw:handle-position attribute is formally defined as:

handleposition ::= position ' '+ position
position::= formula | modifier | constant | number
formula::= '?' name
modifier::= '$' integer
constant::= 'left' | 'top' | 'right' | 'bottom' |
'xstretch' | 'ystretch' | 'hasstroke' | 'hasfill ' |
'width' | 'height' | 'logwidth' | 'logheight'
number::=sign? float | sign? integer
float::= fractional exponent? | integer exponent
fractional::= integer? '.' integer | integer '.'
exponent::= ( 'e' | 'E' ) sign? integer
sign::= '+'| '-'
integer::= [0-9]+
name ::= [^ ]+

The draw:handle-position attribute is usable with the following element: <draw:handle> 10.6.3.

The draw:handle-position attribute has the data type string 18.2.

19.180draw:handle-radius-range-maximum

The draw:handle-radius-range-maximum attribute specifies the maximum radius range for a polar handle. The syntax for the value of the draw:handle-radius-range-maximum attribute is the same as the draw:handle-position attribute, except that only the first parameter is used. 19.179

The draw:handle-radius-range-maximum attribute is usable with the following element: <draw:handle> 10.6.3.

The draw:handle-radius-range-maximum attribute has the data type string 18.2.

19.181draw:handle-radius-range-minimum

The draw:handle-radius-range-minimum attribute specifies the minimum radius range for a polar handle. The syntax for the value of the draw:handle-radius-range-minimum attribute is the same as the draw:handle-position attribute, except that only the first parameter is used. 19.179

The draw:handle-radius-range-minimum attribute is usable with the following element: <draw:handle> 10.6.3.

The draw:handle-radius-range-minimum attribute has the data type string 18.2.

19.182draw:handle-range-x-maximum

The draw:handle-range-x-maximum attribute specifies the horizontal maximum value of the range for movement of a handle. The syntax for the value of the draw:handle-range-x-maximum attribute is the same as the draw:handle-position attribute, except that only the first parameter is used. 19.179

The draw:handle-range-x-maximum attribute is usable with the following element: <draw:handle> 10.6.3.

The draw:handle-range-x-maximum attribute has the data type string 18.2.

19.183draw:handle-range-x-minimum

The draw:handle-range-x-minimum attribute specifies the horizontal minimum value of the range of movement of a handle. The syntax for the value of the draw:handle-range-x-minimum attribute is the same as the draw:handle-position attribute, except that only the first parameter is used. 19.179

The draw:handle-range-x-minimum attribute is usable with the following element: <draw:handle> 10.6.3.

The draw:handle-range-x-minimum attribute has the data type string 18.2.

19.184draw:handle-range-y-maximum

The draw:handle-range-y-maximum attribute specifies the vertical maximum value of the range for movement of a handle. The syntax for the value of the draw:handle-range-y-maximum attribute is the same as the draw:handle-position attribute, except that only the first parameter is used. 19.179

The draw:handle-range-y-maximum attribute is usable with the following element: <draw:handle> 10.6.3.

The draw:handle-range-y-maximum attribute has the data type string 18.2.

19.185draw:handle-range-y-minimum

The draw:handle-range-y-minimum attribute specifies the vertical minimum value of the range of movement of a handle. The syntax for the value of the draw:handle-range-y-minimum attribute is the same as the draw:handle-position attribute, except that only the first parameter is used. 19.179

The draw:handle-range-y-minimum attribute is usable with the following element: <draw:handle> 10.6.3.

The draw:handle-range-y-minimum attribute has the data type string 18.2.

19.186draw:handle-switched

The draw:handle-switched attribute specifies if handle directions are swapped if shape height exceeds shape width.

The defined values for the draw:handle-switched attribute are:

The default value for this attribute is false.

The draw:handle-switched attribute is usable with the following element: <draw:handle> 10.6.3.

The draw:handle-switched attribute has the data type boolean 18.3.3.

19.187draw:id

19.187.1General

The draw:id attribute specifies an identifier for an element.

19.187.2<draw:glue-point>

The draw:id attribute specifies an identifier for a glue point. See 10.3.16. The ids 0 to 3 are reserved for the 4 standard glue points of drawing objects. The glue points are numbered clockwise, starting at the top left corner edge of the shape.

The draw:id attribute is usable with the following element: <draw:glue-point> 10.3.16.

The draw:id attribute has the data type nonNegativeInteger 18.2.

19.187.3<dr3d:cube>, <dr3d:extrude>, <dr3d:rotate>, <dr3d:scene>, <dr3d:sphere>, <draw:caption>, <draw:circle>, <draw:connector>, <draw:control>, <draw:custom-shape>, <draw:ellipse>, <draw:frame>, <draw:g>, <draw:line>, <draw:measure>, <draw:page>, <draw:page-thumbnail>, <draw:path>, <draw:polygon>, <draw:polyline>, <draw:rect>, <draw:regular-polygon> and <office:annotation>

The draw:id attribute specifies identifiers for draw elements other than <draw:glue-point>.

OpenDocument consumers shall ignore a draw:id attribute if it occurs on a draw element with an xml:id attribute value.  

OpenDocument producers may write draw:id attributes for any draw element in addition to an xml:id attribute.

 The value of a draw:id attribute shall equal the value of an xml:id attribute on the same element.

The draw:id attribute is deprecated in favor of xml:id. 19.914

The draw:id attribute is usable with the following elements: <dr3d:cube> 10.5.4, <dr3d:extrude> 10.5.6, <dr3d:rotate> 10.5.7, <dr3d:scene> 10.5.2, <dr3d:sphere> 10.5.5, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page> 10.2.4, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:annotation> 14.1.

The draw:id attribute has the data type NCName 18.2.

19.188draw:kind

The draw:kind attribute specifies the appearance of a circle.

The defined values for the draw:kind attribute are:

The default value for this attribute is full.

The draw:kind attribute is usable with the following elements: <draw:circle> 10.3.8 and <draw:ellipse> 10.3.9.

The values of the draw:kind attribute are full, section, cut or arc.

19.189draw:layer

The draw:layer attribute specifies the name of a layer in the layer-set of a document.

Note: The effect of this attribute is to assign a shape to a particular layer.

The draw:layer attribute is usable with the following elements: <dr3d:cube> 10.5.4, <dr3d:extrude> 10.5.6, <dr3d:rotate> 10.5.7, <dr3d:scene> 10.5.2, <dr3d:sphere> 10.5.5, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:annotation> 14.1.

The draw:layer attribute has the data type string 18.2.

19.190draw:line-skew

The draw:line-skew attribute specifies a list of offsets for the placements of connector lines if the connector is of type standard. The offsets are relative to the default position of the connector, that is, the position the lines get if the draw:line-skew attribute is not present. The offsets are applied in the order from the connector's start to its end shape. The first offset is applied to the line that follows the line that is connected to the start shape. The last line to which an offset is applied is the line that precedes the line that is connected to the end shape.

For the application of the offsets the connector lines are interpreted as vectors from their start to their end point. Positive values move a line to the right, while negative values move it to the left.

The draw:line-skew attribute is usable with the following element: <draw:connector> 10.3.10.

The values of the draw:line-skew attribute are one, two or three white space separated values of type length 18.3.18.

19.191draw:mime-type

The draw:mime-type attribute specifies the MIME type of the media-type which a plugin processes. Valid values for this attribute are those defined in accordance with §3.7 of [RFC2616], or registered in accordance with [RFC4288].

Note: Additional information on MIME media types can be found at [MIMETYPES].

The draw:mime-type attribute is usable with the following element: <draw:plugin> 10.4.8.

The draw:mime-type attribute has the data type string 18.2.

19.192draw:mirror-horizontal

The draw:mirror-horizontal attribute specifies if the horizontal geometry of a shape is to be mirrored.

The defined values for the draw:mirror-horizontal attribute are:

The default value for this attribute is false.

The draw:mirror-horizontal attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:mirror-horizontal attribute has the data type boolean 18.3.3.

19.193draw:mirror-vertical

The draw:mirror-vertical attribute specifies if the vertical geometry of a shape is to be mirrored.

The defined values for the draw:mirror-vertical attribute are:

The default value for this attribute is false.

The draw:mirror-vertical attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:mirror-vertical attribute has the data type boolean 18.3.3.

19.194draw:master-page-name

The draw:master-page-name attribute specifies the name of a master page assigned to a drawing page.

The draw:master-page-name attribute is usable with the following element: <draw:page> 10.2.4.

The draw:master-page-name attribute has the data type styleNameRef 18.3.32.

19.195draw:may-script

The draw:may-script attribute specifies whether an applet can be modified by scripts.

The defined values for the draw:may-script attribute are:

The default value for this attribute is false.

The draw:may-script attribute is usable with the following element: <draw:applet> 10.4.7.

The draw:may-script attribute has the data type boolean 18.3.3.

19.196draw:modifiers

The draw:modifiers attribute contains list of modifier values.

The value of a draw:modifiers attribute is formally defined as:

modifiers::= numbersequence?
numbersequence::= number ( ' '+ numbersequence )*
number::= sign? float | sign? integer
float::= fractional exponent? | integer exponent
fractional::= integer? '.' integer | integer '.'
exponent::= ( 'e' | 'E' ) sign? integer
sign::= '+'| '-'
integer::= [0-9]+

The draw:modifiers attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:modifiers attribute has the data type string 18.2.

19.197draw:name

19.197.1General

The draw:name attribute specifies names that are used for referencing graphical elements.

19.197.2<draw:caption>

The draw:name attribute specifies a name by which a <draw:caption> element can be referenced.

The draw:name attribute is usable with the following element: <draw:caption> 10.3.11.

The draw:name attribute has the data type string 18.2.

19.197.3<draw:circle>

The draw:name attribute specifies a name by which a <draw:circle> element can be referenced.

The draw:name attribute is usable with the following element: <draw:circle> 10.3.8.

The draw:name attribute has the data type string 18.2.

19.197.4<draw:connector>

The draw:name attribute specifies a name by which a <draw:connector> element can be referenced.

The draw:name attribute is usable with the following element: <draw:connector> 10.3.10.

The draw:name attribute has the data type string 18.2.

19.197.5<draw:control>

The draw:name attribute specifies a name by which a <draw:control> element can be referenced.

The draw:name attribute is usable with the following element: <draw:control> 10.3.13.

The draw:name attribute has the data type string 18.2.

19.197.6<draw:custom-shape>

The draw:name attribute specifies a name by which a <draw:custom-shape> element can be referenced.

The draw:name attribute is usable with the following element: <draw:custom-shape> 10.6.1.

The draw:name attribute has the data type string 18.2.

19.197.7<draw:ellipse>

The draw:name attribute specifies a name by which a <draw:ellipse> element can be referenced.

The draw:name attribute is usable with the following element: <draw:ellipse> 10.3.9.

The draw:name attribute has the data type string 18.2.

19.197.8<draw:equation>

The draw:name attribute specifies a name by which a <draw:equation> element can be referenced.

The draw:name attribute is usable with the following element: <draw:equation> 10.2.5.

The draw:name attribute has the data type string 18.2.

19.197.9<draw:fill-image>

The draw:name attribute specifies a name by which a <draw:fill-image> element can be referenced.

The draw:name attribute is usable with the following element: <draw:fill-image> 16.40.6.

The draw:name attribute has the data type styleName 18.3.31.

19.197.10<draw:frame>

The draw:name attribute specifies a name by which a <draw:frame> element can be referenced.

The draw:name attribute is usable with the following element: <draw:frame> 10.4.2.

The draw:name attribute has the data type string 18.2.

19.197.11<draw:g>

The draw:name attribute specifies a name by which a <draw:g> element can be referenced.

The draw:name attribute is usable with the following element: <draw:g> 10.3.15.

The draw:name attribute has the data type string 18.2.

19.197.12<draw:gradient>

The draw:name attribute specifies a name by which a <draw:gradient> element can be referenced.

The draw:name attribute is usable with the following element: <draw:gradient> 16.40.1.

The draw:name attribute has the data type styleName 18.3.31.

19.197.13<draw:hatch>

The draw:name attribute specifies a name by which a <draw:hatch> element can be referenced.

The draw:name attribute is usable with the following element: <draw:hatch> 16.40.5.

The draw:name attribute has the data type styleName 18.3.31.

19.197.14<draw:layer>

The draw:name attribute specifies a name by which a <draw:layer> element can be referenced.

The draw:name attribute is usable with the following element: <draw:layer> 10.2.3.

The draw:name attribute has the data type string 18.2.

19.197.15<draw:line>

The draw:name attribute specifies a name by which a <draw:line> element can be referenced.

The draw:name attribute is usable with the following element: <draw:line> 10.3.3.

The draw:name attribute has the data type string 18.2.

19.197.16<draw:marker>

The draw:name attribute specifies a name by which a <draw:marker> element can be referenced.

The draw:name attribute is usable with the following element: <draw:marker> 16.40.8.

The draw:name attribute has the data type styleName 18.3.31.

19.197.17<draw:measure>

The draw:name attribute specifies a name by which a <draw:measure> element can be referenced.

The draw:name attribute is usable with the following element: <draw:measure> 10.3.12.

The draw:name attribute has the data type string 18.2.

19.197.18<draw:opacity>

The draw:name attribute specifies a name by which a <draw:opacity> element can be referenced.

The draw:name attribute is usable with the following element: <draw:opacity> 16.40.7.

The draw:name attribute has the data type styleName 18.3.31.

19.197.19<draw:page>

The draw:name attribute specifies a name by which a <draw:page> element can be referenced. The name shall be unique within the document instance. If the attribute is not present, a consumer may generate a unique name.

The draw:name attribute is usable with the following element: <draw:page> 10.2.4.

The draw:name attribute has the data type string 18.2.

19.197.20<draw:page-thumbnail>

The draw:name attribute specifies a name by which a <draw:page-thumbnail> element can be referenced.

The draw:name attribute is usable with the following element: <draw:page-thumbnail> 10.3.14.

The draw:name attribute has the data type string 18.2.

19.197.21<draw:param>

The draw:name attribute specifies the name of a runtime parameter.

The draw:name attribute is usable with the following element: <draw:param> 10.4.9.

The draw:name attribute has the data type string 18.2.

19.197.22<draw:path>

The draw:name attribute specifies a name by which a <draw:path> element can be referenced.

The draw:name attribute is usable with the following element: <draw:path> 10.3.7.

The draw:name attribute has the data type string 18.2.

19.197.23<draw:polygon>

The draw:name attribute specifies a name by which a <draw:polygon> element can be referenced.

The draw:name attribute is usable with the following element: <draw:polygon> 10.3.5.

The draw:name attribute has the data type string 18.2.

19.197.24<draw:polyline>

The draw:name attribute specifies a name by which a <draw:polyline> element can be referenced.

The draw:name attribute is usable with the following element: <draw:polyline> 10.3.4.

The draw:name attribute has the data type string 18.2.

19.197.25<draw:rect>

The draw:name attribute specifies a name by which a <draw:rect> element can be referenced.

The draw:name attribute is usable with the following element: <draw:rect> 10.3.2.

The draw:name attribute has the data type string 18.2.

19.197.26<draw:regular-polygon>

The draw:name attribute specifies a name by which a <draw:regular-polygon> element can be referenced.

The draw:name attribute is usable with the following element: <draw:regular-polygon> 10.3.6.

The draw:name attribute has the data type string 18.2.

19.197.27<draw:stroke-dash>

The draw:name attribute specifies a name by which a <draw:stroke-dash> element can be referenced.

The draw:name attribute is usable with the following element: <draw:stroke-dash> 16.40.9.

The draw:name attribute has the data type styleName 18.3.31.

19.197.28<office:annotation> (deprecated)

The draw:name attribute specifies a name for an <office:annotation> element.

The draw:name attribute has been deprecated in favor of the office:name attribute.

The draw:name attribute is usable with the following element: <office:annotation> 14.1.

The draw:name attribute has the data type string 18.2.

19.197.29<svg:linearGradient>

The draw:name attribute specifies a name by which a <svg:linearGradient> element can be referenced.

SVG gradients are referenced by the name assigned to them by use of the draw:fill-gradient-name attribute within a graphic style. SVG gradients cannot be referenced by a draw:opacity-name attribute. The result of referencing a SVG gradient with a draw:fill-gradient-name attribute and an opacity gradient with a draw:opacity-name attribute at the same time is unspecified.

The draw:name attribute is usable with the following element: <svg:linearGradient> 16.40.2.

The draw:name attribute has the data type styleName 18.3.31.

19.197.30<svg:radialGradient>

The draw:name attribute specifies a name by which a <svg:radialGradient> element can be referenced.

SVG gradients are referenced by the name assigned to them by use of the draw:fill-gradient-name attribute within a graphic style. SVG gradients cannot be referenced by a draw:opacity-name attribute. The result of referencing a SVG gradient with a draw:fill-gradient-name attribute and an opacity gradient with a draw:opacity-name attribute at the same time is unspecified.

The draw:name attribute is usable with the following element: <svg:radialGradient> 16.40.3.

The draw:name attribute has the data type styleName 18.3.31.

19.198draw:nav-order

The draw:nav-order attribute defines a navigation sequence for the graphical elements included in a <draw:page> element. Its value is a sequence of IDREFs. It shall include all graphic elements in the page that are not contained within a <draw:g> element. Any <draw:g> elements are included in that list as a single graphical element.

The value of this attribute is the ordering of graphics as set by the document author.

Note: The ordering within any <draw:g> element is set by the value of its draw:z-index attribute. 19.231

The draw:nav-order attribute is usable with the following element: <draw:page> 10.2.4.

The draw:nav-order attribute has the data type IDREFS 18.2.

19.199draw:nohref

The draw:nohref attribute specifies that an image map element and its associated area are inactive.

The draw:nohref attribute is usable with the following elements: <draw:area-circle> 10.4.13.4, <draw:area-polygon> 10.4.13.5 and <draw:area-rectangle> 10.4.13.3.

The only value of the draw:nohref attribute is nohref.

19.200draw:notify-on-update-of-ranges

The draw:notify-on-update-of-ranges attribute specifies that a <draw:object> will be notified if content within a given ranges changes.

The defined values for the draw:notify-on-update-of-ranges attribute are:

If a table name is specified, the <draw:object> element is notified if any of the table's cells change.

The draw:notify-on-update-of-ranges attribute is usable with the following element: <draw:object> 10.4.6.2.

The values of the draw:notify-on-update-of-ranges attribute are a value of type cellRangeAddressList 18.3.6 or a value of type string 18.2.

19.201draw:object

The draw:object attribute is equivalent to the object attribute of an <applet> element in HTML. See. §13.4 of [HTML4].

The draw:object attribute is usable with the following element: <draw:applet> 10.4.7.

The draw:object attribute has the data type string 18.2.

19.202draw:opacity

The draw:opacity attribute specifies the opacity for an image or graphic object. The defined value range for the draw:opacity attribute is 0% to 100%, where 0% is fully transparent and 100% is fully opaque.

Use of the draw:opacity attribute disables any transparency effect and set the opacity for the fill area of a graphic object.

The draw:opacity attribute is usable with the following element: <style:background-image> 17.3.

The draw:opacity attribute has the data type zeroToHundredPercent 18.3.41.

19.203draw:page-number

The draw:page-number attribute specifies the number of a page that is displayed as a thumbnail. For thumbnails on notes pages, the value of this attribute is fixed to the drawing page of a notes page. For thumbnails on handout master pages, the value of this attribute is the order in which the pages are previewed on the handout.

The draw:page-number attribute is usable with the following element: <draw:page-thumbnail> 10.3.14.

The draw:page-number attribute has the data type positiveInteger 18.2.

19.204draw:path-stretchpoint-x

The draw:path-stretchpoint-x attribute specifies that a drawing shape is stretched horizontally.

If specified, and if the x/y aspect ratio of the svg:viewBox is lower than the x/y aspect ratio of the shape size then the whole path is stretched horizontally at draw:path-stretchpoint-x.

Stretching is done by:

  1. 1)intersecting the path vertically at draw:path-stretchpoint-x. 

  2. 2)moving the right path fragments to the right border of the drawing shape, using its original aspect ratio.The left path fragment remains unmodified at the left border of drawing the shape  

The draw:path-stretchpoint-x attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:path-stretchpoint-x attribute has the data type double 18.2.

19.205draw:path-stretchpoint-y

The draw:path-stretchpoint-y attribute specifies that a drawing shape is stretched vertically.If the x/y aspect ratio of the svg:viewBox is greater than the x/y aspect ratio of the shape size then the whole path is stretched vertically at draw:path-stretchpoint-y.

Stretching is done by:

  1. 1)intersecting the path horizontally at draw:path-stretchpoint-y.  

  2. 2)moving the bottom path fragments to the bottom border of the drawing shape, using its original aspect ratio.  

The top path fragment remains unmodified at the top border of drawing the shape

The draw:path-stretchpoint-y attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:path-stretchpoint-y attribute has the data type double 18.2.

19.206draw:points

The draw:points attribute stores a sequence of points, which are connected by straight lines. Each point consists of two coordinates. The coordinates are separated by a comma “,” (U+002C, COMMA) and the points are separated by white spaces. The coordinates are relative to the coordinate system established by the svg:viewBox attribute.

The draw:points attribute is usable with the following elements: <draw:area-polygon> 10.4.13.5, <draw:contour-polygon> 10.4.11.2, <draw:polygon> 10.3.5 and <draw:polyline> 10.3.4.

The draw:points attribute has the data type points 18.3.25.

19.207draw:protected

The draw:protected attribute specifies if drawing objects in a layer are protected from modification.

The defined values for the draw:protected attribute are:

The default value for this attribute is false.

The draw:protected attribute is usable with the following element: <draw:layer> 10.2.3.

The draw:protected attribute has the data type boolean 18.3.3.

19.208draw:recreate-on-edit

The draw:recreate-on-edit attribute specifies if the contour of an image or object should be recreated automatically if the image or object is edited.

The defined values for the draw:recreate-on-edit attribute are:

The draw:recreate-on-edit attribute is usable with the following elements: <draw:contour-path> 10.4.11.3 and <draw:contour-polygon> 10.4.11.2.

The draw:recreate-on-edit attribute has the data type boolean 18.3.3.

19.209draw:rotation

The draw:rotation attribute specifies the rotation angle of a hatch axis. The direction is clockwise, 0 degrees is the vertical axis.

The draw:rotation attribute is usable with the following element: <draw:hatch> 16.40.5.

The draw:rotation attribute has the data type angle 18.3.1.

19.210draw:shape-id

The draw:shape-id attribute identifies the shape to which an effect defined by a presentation shape effect element is applied.

The draw:shape-id attribute is usable with the following elements: <presentation:dim> 10.8.7, <presentation:hide-shape> 10.8.5, <presentation:hide-text> 10.8.6, <presentation:play> 10.8.8, <presentation:show-shape> 10.8.3 and <presentation:show-text> 10.8.4.

The draw:shape-id attribute has the data type IDREF 18.2.

19.211draw:sharpness

The draw:sharpness attribute specifies the radius of the ellipse on which inner polygon corners are located. The value is a percentage, where 0% means that all corners are located on a single ellipse, while 100% means that the inner corners are located at the center point of the polygon. If r is the radius of the polygon, and s is the sharpness, the inner corners are located on a ellipse whose radius is r(100-s)/100.

Note: This attribute is only meaningful only with a draw:concave attribute with the value true.

The draw:sharpness attribute is usable with the following element: <draw:regular-polygon> 10.3.6.

The draw:sharpness attribute has the data type percent 18.3.23.

19.212draw:start

The draw:start attribute specifies the start value for the <draw:opacity> element, which interpolates between the value of this attribute and draw:end. The defined value range for the draw:start attribute is 0% to 100%, where 0% is transparent and 100% is opaque.

The draw:start attribute is usable with the following element: <draw:opacity> 16.40.7.

The draw:start attribute has the data type zeroToHundredPercent 18.3.41.

19.213draw:start-angle

The draw:start-angle attribute specifies the start angle of a section, cut, or arc for circles where the draw:kind attribute value is section, cut or arc.

The draw:start-angle attribute is usable with the following elements: <draw:circle> 10.3.8 and <draw:ellipse> 10.3.9.

The draw:start-angle attribute has the data type angle 18.3.1.

19.214draw:start-color

The draw:start-color attributes specifies the start value for the <draw:gradient> element, which interpolates between the value of this attribute and draw:end-color.

The draw:start-color attribute is usable with the following element: <draw:gradient> 16.40.1.

The draw:start-color attribute has the data type color 18.3.9.

19.215draw:start-glue-point

The draw:start-glue-point attribute identifies the glue point in a shape where a connector starts by its number. See 10.3.16. Glue point numbers are defined by the draw:id attributes of the glue point elements <draw:glue-point>. See 19.187.

If the connector is not connected to a shape, this attribute is ignored.

The draw:start-glue-point attribute is usable with the following element: <draw:connector> 10.3.10.

The draw:start-glue-point attribute has the data type nonNegativeInteger 18.2.

19.216draw:start-intensity

The draw:start-intensity attribute specifies the intensity of the gradient's start color as a percentage value. If it is not specified, the color is used at 100% intensity. The defined value range for the draw:start-intensity attribute is 0% to 100%.

The draw:start-intensity attribute is usable with the following element: <draw:gradient> 16.40.1.

The draw:start-intensity attribute has the data type zeroToHundredPercent 18.3.41.

19.217draw:start-shape

The draw:start-shape attribute specifies a drawing shape to which the start of a connector is connected by its ID.

The draw:start-shape attribute is usable with the following element: <draw:connector> 10.3.10.

The draw:start-shape attribute has the data type IDREF 18.2.

19.218draw:style

19.218.1General

The draw:style attribute specifies the rendering of graphic objects.

19.218.2<draw:gradient>

The draw:style attribute specifies a rendering for a gradient.

The defined values for the draw:style attribute are:

The draw:style attribute is usable with the following element: <draw:gradient> 16.40.1.

The values of the draw:style attribute are linear, axial, radial, ellipsoid, square or rectangular.

19.218.3<draw:hatch>

The draw:style attribute specifies a rendering for a hatch.

The defined values for the draw:style attribute are:

The draw:style attribute is usable with the following element: <draw:hatch> 16.40.5.

The values of the draw:style attribute are single, double or triple.

19.218.4<draw:opacity>

The draw:style attribute specifies the transparency of a graphic object.

The defined values for the draw:style attribute are:

The transparency of an object is blended in contrast to the blending of colors described for draw:style on <draw:gradient>.

The draw:style attribute is usable with the following element: <draw:opacity> 16.40.7.

The values of the draw:style attribute are linear, axial, radial, ellipsoid, square or rectangular.

19.218.5<draw:stroke-dash>

The draw:style attribute specifies a rendering for a stroke-dash.

The defined values for the draw:style attribute are:

The draw:style attribute is usable with the following element: <draw:stroke-dash> 16.40.9.

The values of the draw:style attribute are rect or round.

19.219draw:style-name

19.219.1General

The draw:style-name attribute specifies the name of a <style:style> element whose family varies depending upon the element where it appears.

19.219.2<dr3d:cube>

The draw:style-name attribute specifies the name of a <style:style> element that defines a style with the family value of graphic.

The draw:style-name attribute is usable with the following element: <dr3d:cube> 10.5.4.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.3<dr3d:extrude>

The draw:style-name attribute specifies the name of a <style:style> element that defines a style with the family value of graphic.

The draw:style-name attribute is usable with the following element: <dr3d:extrude> 10.5.6.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.4<dr3d:rotate>

The draw:style-name attribute specifies the name of a <style:style> element that defines a style with the family value of graphic.

The draw:style-name attribute is usable with the following element: <dr3d:rotate> 10.5.7.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.5<dr3d:scene>

The draw:style-name attribute specifies the name of a <style:style> element that defines a style with the family value of graphic.

The draw:style-name attribute is usable with the following element: <dr3d:scene> 10.5.2.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.6<dr3d:sphere>

The draw:style-name attribute specifies the name of a <style:style> element that defines a style with the family value of graphic.

The draw:style-name attribute is usable with the following element: <dr3d:sphere> 10.5.5.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.7<draw:caption>

The draw:style-name attribute specifies the name of a <style:style> element that defines a style with the family value of graphic.

The draw:style-name attribute is usable with the following element: <draw:caption> 10.3.11.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.8<draw:circle>

The draw:style-name attribute specifies the name of a <style:style> element that defines a style with the family value of graphic.

The draw:style-name attribute is usable with the following element: <draw:circle> 10.3.8.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.9<draw:connector>

The draw:style-name attribute specifies the name of a <style:style> element that defines a style with the family value of graphic.

The draw:style-name attribute is usable with the following element: <draw:connector> 10.3.10.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.10<draw:control>

The draw:style-name attribute specifies the name of a <style:style> element that defines a style with the family value of graphic.

The draw:style-name attribute is usable with the following element: <draw:control> 10.3.13.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.11<draw:custom-shape>

The draw:style-name attribute specifies the name of a <style:style> element that defines a style with the family value of graphic.

The draw:style-name attribute is usable with the following element: <draw:custom-shape> 10.6.1.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.12<draw:ellipse>

The draw:style-name attribute specifies the name of a <style:style> element that defines a style with the family value of graphic.

The draw:style-name attribute is usable with the following element: <draw:ellipse> 10.3.9.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.13<draw:frame>

The draw:style-name attribute specifies the name of a <style:style> element that defines a style with the family value of graphic.

The draw:style-name attribute is usable with the following element: <draw:frame> 10.4.2.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.14<draw:g>

The draw:style-name attribute specifies the name of a <style:style> element that defines a style with the family value of graphic.

The draw:style-name attribute is usable with the following element: <draw:g> 10.3.15.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.15<draw:line>

The draw:style-name attribute specifies the name of a <style:style> element that defines a style with the family value of graphic.

The draw:style-name attribute is usable with the following element: <draw:line> 10.3.3.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.16<draw:measure>

The draw:style-name attribute specifies the name of a <style:style> element that defines a style with the family value of graphic.

The draw:style-name attribute is usable with the following element: <draw:measure> 10.3.12.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.17<draw:page>

The draw:style-name attribute specifies the name of a <style:style> element that defines a style with the family value of drawing-page.

The draw:style-name attribute is usable with the following element: <draw:page> 10.2.4.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.18<draw:page-thumbnail>

The draw:style-name attribute specifies the name of a <style:style> element that defines a style with the family value of graphic.

The draw:style-name attribute is usable with the following element: <draw:page-thumbnail> 10.3.14.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.19<draw:path>

The draw:style-name attribute specifies the name of a <style:style> element that defines a style with the family value of graphic.

The draw:style-name attribute is usable with the following element: <draw:path> 10.3.7.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.20<draw:polygon>

The draw:style-name attribute specifies the name of a <style:style> element that defines a style with the family value of graphic.

The draw:style-name attribute is usable with the following element: <draw:polygon> 10.3.5.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.21<draw:polyline>

The draw:style-name attribute specifies the name of a <style:style> element that defines a style with the family value of graphic.

The draw:style-name attribute is usable with the following element: <draw:polyline> 10.3.4.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.22<draw:rect>

The draw:style-name attribute specifies the name of a <style:style> element that defines a style with the family value of graphic.

The draw:style-name attribute is usable with the following element: <draw:rect> 10.3.2.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.23<draw:regular-polygon>

The draw:style-name attribute specifies the name of a <style:style> element that defines a style with the family value of graphic.

The draw:style-name attribute is usable with the following element: <draw:regular-polygon> 10.3.6.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.24<office:annotation>

The draw:style-name attribute specifies the name of a <style:style> element that defines a style with the family value of graphic.

The draw:style-name attribute is usable with the following element: <office:annotation> 14.1.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.25<presentation:notes>

The draw:style-name attribute specifies the name of a <style:style> element that defines a style with the family value of drawing-page.

The draw:style-name attribute is usable with the following element: <presentation:notes> 16.17.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.26<style:handout-master>

The draw:style-name attribute specifies the name of a <style:style> element that defines a style with the family value of drawing-page.

The draw:style-name attribute is usable with the following element: <style:handout-master> 10.2.1.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.27<style:master-page>

The draw:style-name attribute specifies the name of a <style:style> element that defines a style with the family value of drawing-page.

In drawing and presentation documents, additional drawing page attributes may be assigned to a drawing page using the draw:style-name attribute.

The draw:style-name attribute is usable with the following element: <style:master-page> 16.9.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.220draw:text-areas

The draw:text-areas attribute specifies up to two text areas. If the attribute specifies one text area, this text area is used to position and align the text. If the attribute specifies two text areas, the second text area is used if a style that is assigned to the text has a style:writing-mode attribute with value tb-rl or tb. Otherwise, the first text area is used. If the draw:text-areas attribute is omitted, the entire area of the shape is used to position and align the text.

An area consists of four parameters:

The first parameter specifies the left side of a text area.

The second parameter specifies the top side of a text area.

The third parameter specifies the right side of a text area.

The fourth parameter specifies the bottom side of a text area.

A parameter can also have one of the following enhancements:

The value of a draw:text-areas attribute is formally defined as:

textareas::= textareasequence
textareasequence ::= textarea ( ' '+ textarea )?
textarea::= position ' '+ position ' '+ position ' '+ position
position::= formula | modifier | number
formula::= '?' name
modifier::= '$' integer
number::= sign? float | sign? integer
float::= fractional exponent? | integer exponent
fractional::= integer? '.' integer | integer '.'
exponent::= ( 'e' | 'E' ) sign? integer
sign::= '+'| '-'
integer::= [0-9]+
name ::= [^ ]+

The draw:text-areas attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:text-areas attribute has the data type string 18.2.

19.221draw:text-path

The draw:text-path attribute specifies if text is displayed on a text path.

The defined values for the draw:text-path attribute are:

The default value for this attribute is false.

The draw:text-path attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:text-path attribute has the data type boolean 18.3.3.

19.222draw:text-path-allowed

The draw:text-path-allowed attribute specifies whether the user interface of a consumer that supports the draw:text-path attribute should allow modification of the value of the draw:text-path attribute.

The defined values for the draw:text-path-allowed attribute are:

The default value for this attribute is false.

The draw:text-path-allowed attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:text-path-allowed attribute has the data type boolean 18.3.3.

19.223draw:text-path-mode

The draw:text-path-mode attribute specifies how text is drawn on a path.

The defined values for the draw:text-path-mode attribute are:

The default value for this attribute is normal.

The draw:text-path-mode attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The values of the draw:text-path-mode attribute are normal, path or shape.

19.224draw:text-path-same-letter-heights

The draw:text-path-same-letter-heights attribute specifies if all letters in a custom shape have the same height.

The defined values for the draw:text-path-same-letter-heights attribute are:

The default value for this attribute is false.

The draw:text-path-same-letter-heights attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:text-path-same-letter-heights attribute has the data type boolean 18.3.3.

19.225draw:text-path-scale

The draw:text-path-scale attribute specifies the scaling of a text path.

The defined values for the draw:text-path-scale attribute are:

The default value for this attribute is path.

The draw:text-path-scale attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The values of the draw:text-path-scale attribute are path or shape.

19.226draw:text-rotate-angle

The draw:text-rotate-angle attribute specifies the angle by which text within a custom shape is rotated in addition to the rotation included in the shape's draw:transform attribute.

The default value for this attribute is 0.

The draw:text-rotate-angle attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:text-rotate-angle attribute has the data type angle 18.3.1.

19.227draw:text-style-name

The draw:text-style-name attribute specifies a style for formatting of text in a shape.

The value of this attribute is the name of a <style:style> element with a family value of paragraph.

The draw:text-style-name attribute is usable with the following elements: <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:annotation> 14.1.

The draw:text-style-name attribute has the data type styleNameRef 18.3.32.

19.228draw:transform

The draw:transform attribute specifies a list of transformations that can be applied to a drawing shape.

The value of this attribute is a list of transform definitions, which are applied to the drawing shape in the order in which they are listed. The transform definitions in the list shall be separated by a white space and/or a comma “,” (U+002C, COMMA). Unless otherwise stated, the parameters of the transform definitions are double values (18.2)

The defined transforms are:

  • matrix(<a> <b> <c> <d> <e> <f>), specifies a transformation in the form of a transformation matrix of six values. "The values describe a standard 3x2 homogeneous transformation matrix in column-major order, where the right column (<e>, <f>) describes the translation.  

  • rotate(<rotate-angle>), specifies a rotation by <rotate-angle> degrees about the origin of the shapes coordinate system. 

  • scale(<sx> [<sy>]), specifies a scale operation by sx and sy. If <sy> is not provided, it is assumed to be equal to <sx>. 

  • skewX(<skew-angle>), specifies a skew transformation by <rotate-angle> degrees along the x-axis. 

  • skewY(<skew-angle>), specifies a skew transformation by <rotate-angle> degrees along the y-axis. 

  • translate(<tx> [<ty>]), specifies a translation by tx and ty, where tx and ty are lengths (18.3.18). If ty is not provided, it is assumed to be zero. 

The draw:transform attribute is usable with the following elements: <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:annotation> 14.1.

The draw:transform attribute has the data type string 18.2.

19.229draw:type

19.229.1General

The draw:type attribute specifies a drawing type.

19.229.2<draw:connector>

The draw:type attribute specifies the line or series of lines that connect two glue points.

The defined values for the draw:type attribute are:

For a <draw:connector> 10.3.10 element the default value for this attribute is standard.

The draw:type attribute is usable with the following element: <draw:connector> 10.3.10.

The values of the draw:type attribute are standard, lines, line or curve.

19.229.3<draw:enhanced-geometry>

The draw:type attribute specifies the name of a shape type that is rendering engine dependent.

The defined values for the draw:type attribute are:

The value of this attribute shall not influence the geometry of the shape.

Note: The shape type can be used to offer specialized user interfaces for classes of shapes, like for arrows, smileys, etc.

For a <draw:enhanced-geometry> 10.6.2 element the default value for this attribute is non-primitive.

The draw:type attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The values of the draw:type attribute are non-primitive or a value of type string 18.2.

19.230draw:value

The draw:value attribute specifies the value of a runtime parameter specified by a draw:name attribute.

The draw:value attribute is usable with the following element: <draw:param> 10.4.9.

The draw:value attribute has the data type string 18.2.

19.231draw:z-index

The draw:z-index attribute defines a rendering order for shapes in a document instance. Shapes are rendered in the order in which they appear in the document in the absence of this attribute.

The draw:z-index attribute is usable with the following elements: <dr3d:cube> 10.5.4, <dr3d:extrude> 10.5.6, <dr3d:rotate> 10.5.7, <dr3d:scene> 10.5.2, <dr3d:sphere> 10.5.5, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:annotation> 14.1.

The draw:z-index attribute has the data type nonNegativeInteger 18.2.

19.232fo:column-count

The fo:column-count attribute specifies the number of columns in a section.

The fo:column-count attribute is usable with the following element: <style:columns> 17.12.

The fo:column-count attribute has the data type positiveInteger 18.2.

19.233fo:column-gap

The fo:column-gap attribute specifies the gap between columns for <style:columns> elements that do not contain individual <style:column> elements.

Note: This attribute has the same name as an [XSL] property but it is attached to a different element.

In the OpenDocument XSL compatible namespace, the fo:column-gap attribute does not support inherit and percentage values.

The fo:column-gap attribute is usable with the following element: <style:columns> 17.12.

The fo:column-gap attribute has the data type length 18.3.18.

19.234fo:country

19.234.1<text:alphabetical-index-source>

The fo:country attribute specifies the country code used for sorting an alphabetical index.

The fo:country attribute is usable with the following element: <text:alphabetical-index-source> 8.8.2.

The fo:country attribute has the data type countryCode 18.3.11.

19.234.2<text:bibliography-configuration>

The fo:country attribute specifies the country code used for sorting a bibliographic index.

The fo:country attribute is usable with the following element: <text:bibliography-configuration> 16.29.6.

The fo:country attribute has the data type countryCode 18.3.11.

19.235fo:end-indent

The fo:end-indent attribute specifies the right space of a column. Together with the fo:start-indent attribute of an immediately adjacent and following column, it establishes the gap between the columns. 19.245

See §7.10.8 of [XSL].

In the OpenDocument XSL compatible namespace, the fo:end-indent attribute does not support inherit and percentage values.

The default value for this attribute is 0cm.

The fo:end-indent attribute is usable with the following element: <style:column> 17.13.

The fo:end-indent attribute has the data type length 18.3.18.

19.236fo:language

19.236.1General

See §7.9.2 of [XSL]. Compared to the XSL language attribute, the value range of this attribute is extended to additional parts of ISO 639.

This attribute may be ignored if it is not specified together with a fo:country attribute.

In the OpenDocument XSL compatible namespace, the fo:language attribute does not support inherit and none values.

19.236.2<text:alphabetical-index-source>

The fo:language attribute specifies the language code used for sorting an alphabetical index.

The fo:language attribute is usable with the following element: <text:alphabetical-index-source> 8.8.2.

The fo:language attribute has the data type languageCode 18.3.17.

19.236.3<text:bibliography-configuration>

The fo:language attribute specifies the language code used for sorting a bibliographic index.

The fo:language attribute is usable with the following element: <text:bibliography-configuration> 16.29.6.

The fo:language attribute has the data type languageCode 18.3.17.

19.237fo:margin-left

See §7.10.3 of [XSL].

The fo:margin-left attribute specifies the left margins for the text lines of a list item. The attribute has the same meaning as the formatting property attribute fo:margin-left. 20.200 Its value is only considered for paragraphs inside a list item those paragraph styles do not specify a fo:text-indent attribute or a fo:margin-left attribute.

The fo:margin-left attribute is usable with the following element: <style:list-level-label-alignment> 17.20.

The fo:margin-left attribute has the data type length 18.3.18.

19.238fo:max-height

See §7.14.6 of [XSL].

The fo:max-height attribute specifies the maximum height of a text box when the minimum height has been set using the fo:min-height attribute. When this maximum value is reached, the text box stops increasing in height. The units of measure for this attribute shall match those used for the corresponding fo:min-height attribute.

If the anchor for the text box is in a table cell, a percentage value is relative to the size of the surrounding table cell. If the anchor for the text box is in a text box, a percentage value is relative to the size of the surrounding text box. In other cases, percentage values are relative to the width or height of the page or window.

In the OpenDocument XSL compatible namespace, the fo:max-height attribute does not support the none value.

The fo:max-height attribute is usable with the following element: <draw:text-box> 10.4.3.

The values of the fo:max-height attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

19.239fo:max-width

See §7.14.7 of [XSL].

The fo:max-width attribute specifies the maximum width of a text box when the minimum width have been set using the fo:min-width attribute. When this maximum value is reached, the text box stops increasing in width. The units of measure for this attribute shall match those used for the corresponding fo:min-width attribute.

If the anchor for the text box is in a table cell, a percentage value is relative to the size of the surrounding table cell. If the anchor for the text box is in a text box, a percentage value is relative to the size of the surrounding text box. In other cases, percentage values are relative to the width or height of the page or window.

The fo:max-width attribute is usable with the following element: <draw:text-box> 10.4.3.

The values of the fo:max-width attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

19.240fo:min-height

See §7.14.8 of [XSL].

If set, it overrides the height or width of a text box specified by the svg:height attribute of the surrounding <draw:frame> element.

If the anchor for a text box is in a table cell, a percentage value is relative to the surrounding table box. If the anchor for the text box is in a text box, a percentage value is relative to the surrounding text box. In other cases, percentage values are relative to the height of the page or window.

The fo:min-height attribute is usable with the following element: <draw:text-box> 10.4.3.

The values of the fo:min-height attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

19.241fo:min-width

See §7.14.9 of [XSL].

If set, it overrides the width of a text box specified by the svg:width attribute of the surrounding <draw:frame> element.

If the anchor for a text box is in a table cell, a percentage value is relative to the surrounding table box. If the anchor for a text box is in a text box, a percentage value is relative to the surrounding text box. In other cases, percentage values are relative to the height of the page or window.

The fo:min-width attribute is usable with the following element: <draw:text-box> 10.4.3.

The values of the fo:min-width attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

19.242fo:script

19.242.1General

See §7.9.3 of [XSL]. The attribute should be used only if necessary according to the rules of §2.2.3 of [RFC5646], or its successors.

It may be ignored if it is not specified together with a fo:language attribute.

In the OpenDocument XSL compatible namespace, the fo:script attribute does not support inherit and none values.

19.242.2<text:alphabetical-index-source>

The fo:script attribute specifies the script code used for sorting an alphabetical index. The attribute should be used only if necessary according to the rules of §2.2.3 of [RFC5646], or its successors.

The fo:script attribute is usable with the following element: <text:alphabetical-index-source> 8.8.2.

The fo:script attribute has the data type scriptCode 18.3.29.

19.242.3<text:bibliography-configuration>

The fo:script attribute specifies the script code used for sorting a bibliographic index. The attribute should be used only if necessary according to the rules of §2.2.3 of [RFC5646], or its successors.

The fo:script attribute is usable with the following element: <text:bibliography-configuration> 16.29.6.

The fo:script attribute has the data type scriptCode 18.3.29.

19.243fo:space-after

See §7.10.6 of [XSL].

The default value for this attribute is 0cm.

The fo:space-after attribute is usable with the following element: <style:column> 17.13.

The fo:space-after attribute has the data type length 18.3.18.

19.244fo:space-before

See §7.10.5 of [XSL].

The default value for this attribute is 0cm.

The fo:space-before attribute is usable with the following element: <style:column> 17.13.

The fo:space-before attribute has the data type length 18.3.18.

19.245fo:start-indent

See §7.10.7 of [XSL].

The default value for this attribute is 0cm.

The fo:start-indent attribute is usable with the following element: <style:column> 17.13.

The fo:start-indent attribute has the data type length 18.3.18.

19.246fo:text-indent

The fo:text-indent attribute specifies the indent for the text lines of a list item. The attribute has the same meaning as the formatting property attribute fo:text-indent. See 20.218 It is used for paragraphs inside list items whose paragraph styles do not specify an fo:text-indent or fo:margin-left attribute.

The value fo:text-indent + fo:margin-left specifies the indent of the first text line of the list item. This position is also the alignment position for the list label, because the value of text:min-label-width is treated as 0.

The fo:text-indent attribute is usable with the following element: <style:list-level-label-alignment> 17.20.

The fo:text-indent attribute has the data type length 18.3.18.

19.247form:allow-deletes

The form:allow-deletes attribute specifies whether data records can be deleted by a form. It applies only if a form is data-aware.

The defined values for the form:allow-deletes attribute are:

The default value for this attribute is true.

The form:allow-deletes attribute is usable with the following element: <form:form> 13.3.

The form:allow-deletes attribute has the data type boolean 18.3.3.

19.248form:allow-inserts

The form:allow-inserts attribute specifies whether new data records can be inserted by a form. It applies only if the form is data-aware.

The defined values for the form:allow-inserts attribute are:

The default value for this attribute is true.

The form:allow-inserts attribute is usable with the following element: <form:form> 13.3.

The form:allow-inserts attribute has the data type boolean 18.3.3.

19.249form:allow-updates

The form:allow-updates attribute specifies whether data records in the form can be updated. It applies only if the form is data-aware.

The defined values for the form:allow-updates attribute are:

The default value for this attribute is true.

The form:allow-updates attribute is usable with the following element: <form:form> 13.3.

The form:allow-updates attribute has the data type boolean 18.3.3.

19.250form:apply-design-mode

The form:apply-design-mode attribute specifies whether forms are presented in editable or non-editable state.

The default value for this attribute is true.

The form:apply-design-mode attribute is usable with the following element: <office:forms> 13.2.

The form:apply-design-mode attribute has the data type boolean 18.3.3.

19.251form:apply-filter

The form:apply-filter attribute specifies whether the filter clause specified by the form:filter attribute is applied to the SQL command constituting the form's result set. 19.273

The defined values for the form:apply-filter attribute are:

  • false: the filter clause specified by the form:filter attribute is not applied to the SQL command constituting the form's result set. 

  • true: the filter clause specified by the form:filter attribute is applied to the SQL command constituting the form's result set. 

The default value for this attribute is false.

The form:apply-filter attribute is usable with the following element: <form:form> 13.3.

The form:apply-filter attribute has the data type boolean 18.3.3.

19.252form:auto-complete

The form:auto-complete attribute specifies whether, when the user enters text in the combobox that matches the beginning of a list item in the combobox, the consumer completes the text with the matched item.

The defined values for the form:auto-complete attribute are:

The form:auto-complete attribute is usable with the following element: <form:combobox> 13.5.11.

The form:auto-complete attribute has the data type boolean 18.3.3.

19.253form:automatic-focus

The form:automatic-focus attribute specifies whether the consumer loading the document should set the focus to a form control.

The defined values for the form:automatic-focus attribute are:

Note: Which form control is chosen to be focused is not defined. It may be the first control in the logical order defined by the <office:forms> elements and its sub elements, it may be the top-most form control of the document view, or any other control.

The default value for this attribute is false.

The form:automatic-focus attribute is usable with the following element: <office:forms> 13.2.

The form:automatic-focus attribute has the data type boolean 18.3.3.

19.254form:bound-column

The form:bound-column attribute specifies the column values of the list source result set that are used to fill the data field values.

The form:list-source and form:list-source-type attributes together define an SQL command to execute against the database to which the control's form is bound. The result set of the execution of this SQL command is the list source result set.

The form:bound-column attribute is usable with the following element: <form:listbox> 13.5.13.

The form:bound-column attribute has the data type string 18.2.

19.255form:button-type

The form:button-type attribute specifies the type of a button.

The defined values for the form:button-type attribute are:

The default value for this attribute is push.

The form:button-type attribute is usable with the following elements: <form:button> 13.5.15 and <form:image> 13.5.16.

The values of the form:button-type attribute are submit, reset, push or url.

19.256form:command

The form:command attribute specifies a command to execute on a data source.

The value is interpreted differently, depending to the value of the form:command-type attribute of the form.

The form:command attribute is usable with the following element: <form:form> 13.3.

The form:command attribute has the data type string 18.2.

19.257form:command-type

The form:command-type attribute specifies the type of command to execute on a data source.

The defined values of the form:command-type attribute are:

Note: The attribute value query is only meaningful if the form:datasource attribute specifies a data source name or a database front-end document. .

The default value for this attribute is command.

The form:command-type attribute is usable with the following element: <form:form> 13.3.

The values of the form:command-type attribute are table, query or command.

19.258form:control-implementation

The form:control-implementation attribute specifies a \rendition or implementation of a control that should be created. If the consumer supports the form element this attribute is used with, but does not support the specific concrete rendition or implementation, the consumer shall ignore the form:control-implementation attribute and use its own rendition of the form element.

The form:control-implementation attribute is usable with the following elements: <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:column> 13.5.23, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:fixed-text> 13.5.10, <form:form> 13.3, <form:formatted-text> 13.5.6, <form:frame> 13.5.19, <form:generic-control> 13.5.25, <form:grid> 13.5.22, <form:hidden> 13.5.21, <form:image> 13.5.16, <form:image-frame> 13.5.20, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9 and <form:value-range> 13.5.24.

The form:control-implementation attribute has the data type namespacedToken 18.3.19.

19.259form:convert-empty-to-null

The form:convert-empty-to-null attribute specifies whether empty current values are treated as NULL.

The defined values for the form:convert-empty-to-null attribute are:

The default value for this attribute is false.

The form:convert-empty-to-null attribute is usable with the following elements: <form:combobox> 13.5.11, <form:date> 13.5.8, <form:formatted-text> 13.5.6, <form:number> 13.5.7, <form:password> 13.5.4, <form:text> 13.5.2, <form:textarea> 13.5.3 and <form:time> 13.5.9.

The form:convert-empty-to-null attribute has the data type boolean 18.3.3.

19.260form:current-selected

The form:current-selected attribute specifies the state of a radio button or option element.

The defined values for the form:current-selected attribute are:

The default value for this attribute is false.

The form:current-selected attribute is usable with the following elements: <form:option> 13.5.14 and <form:radio> 13.5.18.

The form:current-selected attribute has the data type boolean 18.3.3.

19.261form:current-state

The form:current-state attribute specifies the state of a check box control.

The defined values for the form:current-state attribute are:

The form:current-state attribute is usable with the following element: <form:checkbox> 13.5.17.

The values of the form:current-state attribute are unchecked, checked or unknown.

19.262form:current-value

The form:current-value attribute specifies the current status of an input control. It overrides the value of a form:value attribute, if one is present.

The defined value types for form:current-value attribute values are:

The form:current-value attribute is usable with the following elements: <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:formatted-text> 13.5.6, <form:number> 13.5.7, <form:text> 13.5.2, <form:textarea> 13.5.3 and <form:time> 13.5.9.

The form:current-value attribute has the data type string 18.2.

19.263form:data-field

The form:data-field attribute specifies the name of a column in the result set defined by a (data-aware) form. A control interchanges content with its column when:

Note: consumers may delay this write-back, for instance until the control loses the focus, instead of updating the column value with every change in the control.

The form:data-field attribute is usable with the following elements: <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:formatted-text> 13.5.6, <form:image-frame> 13.5.20, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3 and <form:time> 13.5.9.

The form:data-field attribute has the data type string 18.2.

19.264form:datasource

The form:datasource attribute specifies the name of a data source to use for a form.

The defined values for the form:datasource attribute are:

Note: The data source name is a programmatic name for a database front end document which allows it to reference data sources regardless of their real location. The mapping from data source names to specific instances of database front end documents is implementation-defined.

The form:datasource attribute is usable with the following element: <form:form> 13.3.

The values of the form:datasource attribute are a value of type anyIRI 18.3.2 or a value of type string 18.2.

19.265form:default-button

The form:default-button attribute specifies whether a button is the default button on a form. If a user clicks the default button or presses Return while an input control is focused, the consumer takes the same action.

If multiple buttons with form:default-button attributes with values of true are present in a form, it is implementation-defined which button is the default for the form.

The defined values for the form:default-button attribute are:

The default value for this attribute is false.

The form:default-button attribute is usable with the following element: <form:button> 13.5.15.

The form:default-button attribute has the data type boolean 18.3.3.

19.266form:delay-for-repeat

The form:delay-for-repeat attribute specifies a time-out to be used before a pressed mouse button results in repeating an action. The form:delay-for-repeat attribute is ignored unless a form:repeat attribute is present, and evaluates to true.

The default value for this attribute is PT0.050S.

The form:delay-for-repeat attribute is usable with the following elements: <form:button> 13.5.15, <form:date> 13.5.8, <form:formatted-text> 13.5.6, <form:number> 13.5.7, <form:time> 13.5.9 and <form:value-range> 13.5.24.

The form:delay-for-repeat attribute has the data type duration 18.2.

19.267form:detail-fields

The form:detail-fields attribute specifies the names of the columns in contained forms that are related to columns in the containing form. The columns are used as parameters in the command for the contained form to retrieve the details from its containing form.

This attribute contains a comma “,” (U+002C, COMMA) separated list of field names.

The form:detail-fields attribute is usable with the following element: <form:form> 13.3.

The form:detail-fields attribute has the data type string 18.2.

19.268form:disabled

The form:disabled attribute specifies whether a control can accept user input.

Controls that are disabled are not included in the tabbing navigation sequence and cannot be focused.

The defined values for the form:disabled attribute are:

The default value for this attribute is false.

The form:disabled attribute is usable with the following elements: <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:fixed-text> 13.5.10, <form:formatted-text> 13.5.6, <form:frame> 13.5.19, <form:grid> 13.5.22, <form:image> 13.5.16, <form:image-frame> 13.5.20, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9 and <form:value-range> 13.5.24.

The form:disabled attribute has the data type boolean 18.3.3.

19.269form:dropdown

The form:dropdown attribute specifies whether a list in a <form:combobox> or <form:listbox> element is always visible or is only visible when the user clicks the drop-down button.

The defined values for the form:dropdown attribute are:

The default value for this attribute is false.

The form:dropdown attribute is usable with the following elements: <form:combobox> 13.5.11 and <form:listbox> 13.5.13.

The form:dropdown attribute has the data type boolean 18.3.3.

19.270form:echo-char

The form:echo-char attribute specifies the character that a form uses to mask text that a user inputs in a password control.

The default value for this attribute is "*" (U+002A, ASTERISK).

The form:echo-char attribute is usable with the following element: <form:password> 13.5.4.

The form:echo-char attribute has the data type character 18.3.7.

19.271form:enctype

The form:enctype attribute, when the value of the form:method attribute is post, specifies the content type used to submit the form to the server.  Other MIME types may be acceptable. See §17.3.4 of [HTML4].

The default value for this attribute is application/x-www-form-urlencoded.

The form:enctype attribute is usable with the following element: <form:form> 13.3.

The form:enctype attribute has the data type string 18.2.

19.272form:escape-processing

The form:escape-processing attribute, when the value of the form:command-type attribute is command, specifies whether the consumer processes the command before passing it to a database driver.

The defined values for the form:escape-processing attribute are:

The default value for this attribute is true.

The form:escape-processing attribute is usable with the following element: <form:form> 13.3.

The form:escape-processing attribute has the data type boolean 18.3.3.

19.273form:filter

The form:filter attribute specifies a filter for the SQL clause determined by the form:command-type and form:command attributes. If that SQL statement contains a filter (WHERE clause), the filter specified by the attribute value is conjunctively added to the existing filter.

The filter is only applied if the form:apply-filter attribute has the value true. 19.251.

Note: This allows OpenDocument consumers to toggle a filter on and off without losing the content of the form:filter attribute.

The form:filter attribute is usable with the following element: <form:form> 13.3.

The form:filter attribute has the data type string 18.2.

19.274form:focus-on-click

The form:focus-on-click attribute specifies if a <form:button> element is given the focus in a form when the form button control for that element is operated.

The defined values for the form:focus-on-click attribute are:

The form:focus-on-click attribute is usable with the following element: <form:button> 13.5.15.

The form:focus-on-click attribute has the data type boolean 18.3.3.

19.275form:for

The form:for attribute specifies a comma “,” (U+002C, COMMA) separated list of xml:ids of control elements that are the targets of the elements where this attribute appears.

The form:for attribute is usable with the following elements: <form:fixed-text> 13.5.10 and <form:frame> 13.5.19.

The form:for attribute has the data type string 18.2.

19.276form:id (deprecated)

The form:id attribute specifies an identifier for a control element.

OpenDocument consumers shall ignore a form:id attribute if it occurs on an element with an xml:id attribute value.

OpenDocument producers may write form:id attributes for elements in addition to an xml:id attribute.

 The value of a form:id attribute shall equal the value of an xml:id attribute on the same element.

The form:id attribute is deprecated in favor of xml:id. 19.914

The form:id attribute is usable with the following elements: <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:fixed-text> 13.5.10, <form:formatted-text> 13.5.6, <form:frame> 13.5.19, <form:generic-control> 13.5.25, <form:grid> 13.5.22, <form:hidden> 13.5.21, <form:image> 13.5.16, <form:image-frame> 13.5.20, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9 and <form:value-range> 13.5.24.

The form:id attribute has the data type NCName 18.2.

19.277form:ignore-result

The form:ignore-result attribute specifies whether to discard all results that are retrieved from an underlying data source.

The defined values for the form:ignore-result attribute are:

The default value for this attribute is false.

The form:ignore-result attribute is usable with the following element: <form:form> 13.3.

The form:ignore-result attribute has the data type boolean 18.3.3.

19.278form:image-align

The form:image-align attribute specifies which border (start, end) or axis (center) of an image and a text are to be aligned.

The defined values for the form:image-align attribute are:

If a form:image-align attribute is not present, it is assumed to be center.

The default value for this attribute is center.

The form:image-align attribute is usable with the following elements: <form:button> 13.5.15, <form:checkbox> 13.5.17 and <form:radio> 13.5.18.

The values of the form:image-align attribute are start, center or end.

19.279form:image-data

The form:image-data attribute specifies the location of a file containing image data.

The form:image-data attribute is usable with the following elements: <form:button> 13.5.15, <form:image> 13.5.16 and <form:image-frame> 13.5.20.

The form:image-data attribute has the data type anyIRI 18.3.2.

19.280form:image-position

If the form:image-position attribute specifies the location of an image relative to the text of a control.

The defined values for the form:image-position attribute are:

The default value for this attribute is center.

The form:image-position attribute is usable with the following elements: <form:button> 13.5.15, <form:checkbox> 13.5.17 and <form:radio> 13.5.18.

The values of the form:image-position attribute are center, start, end, top or bottom.

19.281form:is-tristate

The form:is-tristate attribute specifies a check box can have the values of checked, unchecked and unknown.

The defined values for the form:is-tristate attribute are:

The default value for this attribute is false.

The form:is-tristate attribute is usable with the following element: <form:checkbox> 13.5.17.

The form:is-tristate attribute has the data type boolean 18.3.3.

19.282form:label

The form:label attribute specifies the text for a control.

The form:label attribute is usable with the following elements: <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:column> 13.5.23, <form:fixed-text> 13.5.10, <form:frame> 13.5.19, <form:item> 13.5.12, <form:option> 13.5.14 and <form:radio> 13.5.18.

The form:label attribute has the data type string 18.2.

19.283form:linked-cell

The form:linked-cell attribute specifies a table cell to which the form control content should be linked. Linking means that the cell value and control content are equal at all times.

The table cell to link the control to can be specified as a cellAddress, or as a named cell range. In the latter case, if the named range contains more than one cell, the cell in the first row and first column of the range is linked to the form control.

If the attribute value matches the name of a named range as well as a cell address, it is interpreted as the name of a named range.

The form:linked-cell attribute is usable with the following elements: <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:formatted-text> 13.5.6, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9 and <form:value-range> 13.5.24.

The values of the form:linked-cell attribute are a value of type cellAddress 18.3.4 or a value of type string 18.2.

19.284form:list-linkage-type

The form:list-linkage-type attribute specifies how a control defined by a <form:listbox> elements interacts with a linked table cell.

The defined values for the form:list-linkage-type attribute are:

The form:list-linkage-type attribute is usable with the following element: <form:listbox> 13.5.13.

The values of the form:list-linkage-type attribute are selection or selection-indices.

19.285form:list-source

The form:list-source attribute specifies a source for the list entries in a list or combo box.

Obtaining those list entries is may be a multi-step process. The process depends upon the value of the form:list-source-type attribute on the same element.

If the form:list-source-type attribute has the value value-list, the content of the form:list-source attribute is ignored.

In all other cases, the content of the form:list-source attribute is resolved relative to a database connection or database front-end document. The <form:form> element containing the control defines this database connection or document by its form:datasource attribute.

For retrieving the list entries depending on the form:list-source-type attribute, the following algorithms are to be used:

If the form:list-source-type attribute has the value table-fields, the form:list-source attribute specifies the name of a database table. The names of the columns of this table, in the order as returned by the database driver, are used as list entries.

For all other values of form:list-source-type, the value of the form:list-source attribute is used to create a result set. For this, the first step is to transform the value of the form:list-source attribute into an SQL command as follows:

In a next step, the obtained SQL command is executed against the database. If the form:list-source-type attribute has the value sql-pass-through or query, and if the db:escape-processing attribute of the referred query has the value false, then the SQL command shall be passed directly to the database driver, without being interpreted and modified or normalized by the consumer.

This execution produces a two-dimensional homogeneous result set, whose first-column-values form the entry list to be used.

The form:list-source attribute is usable with the following elements: <form:combobox> 13.5.11 and <form:listbox> 13.5.13.

The form:list-source attribute has the data type string 18.2.

19.286form:list-source-type

The form:list-source-type attribute specifies how to populate the entry list in a combo box or list box control.

The defined values for the form:list-source-type attribute are:

  • query: evaluated against the database front-end document or database connection defined by the <form:form> element which the control belongs to. The form:list-source attribute defines that evaluation. 19.285 

  • sql: evaluated against the database front-end document or database connection defined by the <form:form> element which the control belongs to. The form:list-source attribute defines that evaluation. 19.285 

  • sql-pass-through: evaluated against the database front-end document or database connection defined by the <form:form> element which the control belongs to. The form:list-source attribute defines that evaluation. 19.285 

  • table: evaluated against the database front-end document or database connection defined by the <form:form> element which the control belongs to. The form:list-source attribute defines that evaluation. 19.285 

  • table-fields: evaluated against the database front-end document or database connection defined by the <form:form> element which the control belongs to. The form:list-source attribute defines that evaluation. 19.285 

  • value-list: entry list populated by values specified by the form:value attributes of <form:option> child elements. This value is applicable to list boxes only.  

The form:list-source-type attribute is usable with the following elements: <form:combobox> 13.5.11 and <form:listbox> 13.5.13.

The values of the form:list-source-type attribute are table, query, sql, sql-pass-through, value-list or table-fields.

19.287form:master-fields

The form:master-fields attribute specifies the names of the columns in the result set represented by a parent form. Each time the parent form changes the current row, the nested form queries the database again based on the values of the master fields.

The attribute contains a comma “,” (U+002C, COMMA) separated list of field names.

The form:master-fields attribute is usable with the following element: <form:form> 13.3.

The form:master-fields attribute has the data type string 18.2.

19.288form:max-length

The form:max-length attribute specifies the maximum number of characters that a user can enter in an input control.

The form:max-length attribute is usable with the following elements: <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:formatted-text> 13.5.6, <form:number> 13.5.7, <form:password> 13.5.4, <form:text> 13.5.2, <form:textarea> 13.5.3 and <form:time> 13.5.9.

The form:max-length attribute has the data type nonNegativeInteger 18.2.

19.289form:max-value

19.289.1General

The form:max-value attribute specifies the maximum value that a user can enter.

19.289.2<form:date>

The value type of the form:max-value attribute is date.

The form:max-value attribute is usable with the following element: <form:date> 13.5.8.

The form:max-value attribute has the data type date 18.2.

19.289.3<form:formatted-text>

The value type of the form:max-value attribute is string.

The form:max-value attribute is usable with the following element: <form:formatted-text> 13.5.6.

The form:max-value attribute has the data type string 18.2.

19.289.4<form:number> and <form:value-range>

The value type of the form:max-value attribute is double.

The form:max-value attribute is usable with the following elements: <form:number> 13.5.7 and <form:value-range> 13.5.24.

The form:max-value attribute has the data type double 18.2.

19.289.5<form:time>

The value type of the form:max-value attribute is time.

The form:max-value attribute is usable with the following element: <form:time> 13.5.9.

The form:max-value attribute has the data type time 18.2.

19.290form:min-value

19.290.1General

The form:min-value attribute specifies the minimum value that a user can enter.

19.290.2<form:date>

The value type of the form:min-value attribute is date.

The form:min-value attribute is usable with the following element: <form:date> 13.5.8.

The form:min-value attribute has the data type date 18.2.

19.290.3<form:formatted-text>

The value type of the form:min-value attribute is string.

The form:min-value attribute is usable with the following element: <form:formatted-text> 13.5.6.

The form:min-value attribute has the data type string 18.2.

19.290.4<form:number> and <form:value-range>

The value type of the form:min-value attribute is double.

The form:min-value attribute is usable with the following elements: <form:number> 13.5.7 and <form:value-range> 13.5.24.

The form:min-value attribute has the data type double 18.2.

19.290.5<form:time>

The value type of the form:min-value attribute is time.

The form:min-value attribute is usable with the following element: <form:time> 13.5.9.

The form:min-value attribute has the data type time 18.2.

19.291form:method

The form:method attribute specifies the HTTP method used to submit data in a form to a server.

The defined values for the form:list-source-type attribute are:

These values are not case sensitive.

The default value for this attribute is get.

The form:method attribute is usable with the following element: <form:form> 13.3.

The values of the form:method attribute are get, post or a value of type string 18.2.

19.292form:multi-line

The form:multi-line attribute specifies whether a label is displayed on multiple lines.

The defined values for the form:multi-line attribute are:

The default value for this attribute is false.

The form:multi-line attribute is usable with the following element: <form:fixed-text> 13.5.10.

The form:multi-line attribute has the data type boolean 18.3.3.

19.293form:multiple

The form:multiple attribute specifies whether a user can select multiple items from a list box.

The defined values for the form:multiple attribute are:

The default value for this attribute is false.

The form:multiple attribute is usable with the following element: <form:listbox> 13.5.13.

The form:multiple attribute has the data type boolean 18.3.3.

19.294form:name

The form:name attribute specifies the name of a form or control element.

Note: This may be used to give a form or control element an identity, which is can be used for scripting or for submitting the content of controls.

The form:name attribute is usable with the following elements: <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:column> 13.5.23, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:fixed-text> 13.5.10, <form:form> 13.3, <form:formatted-text> 13.5.6, <form:frame> 13.5.19, <form:generic-control> 13.5.25, <form:grid> 13.5.22, <form:hidden> 13.5.21, <form:image> 13.5.16, <form:image-frame> 13.5.20, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9 and <form:value-range> 13.5.24.

The form:name attribute has the data type string 18.2.

19.295form:navigation-mode

The form:navigation-mode attribute specifies methods for navigation of a database aware form.

The defined values of the form:navigation-mode attribute are:

The form:navigation-mode attribute is usable with the following element: <form:form> 13.3.

The values of the form:navigation-mode attribute are none, current or parent.

19.296form:order

The form:order attribute specifies a sort criteria for a command.

The form:order attribute is usable with the following element: <form:form> 13.3.

The form:order attribute has the data type string 18.2.

19.297form:orientation

The form:orientation attribute specifies the orientation of a control,

The defined values for the form:orientation attribute are:

The form:orientation attribute is usable with the following element: <form:value-range> 13.5.24.

The values of the form:orientation attribute are horizontal or vertical.

19.298form:page-step-size

The form:page-step-size attribute specifies the preferred major value change offered through a UI (if applicable for the control used).

The value of a form:page-step-size attribute shall be positive.

The form:page-step-size attribute is usable with the following element: <form:value-range> 13.5.24.

The form:page-step-size attribute has the data type positiveInteger 18.2.

19.299form:printable

The form:printable attribute specifies whether a control is printed when a user prints a document in which the control is contained.

The defined values for the form:printable attribute are:

The default value for this attribute is true.

The form:printable attribute is usable with the following elements: <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:fixed-text> 13.5.10, <form:formatted-text> 13.5.6, <form:frame> 13.5.19, <form:grid> 13.5.22, <form:image> 13.5.16, <form:image-frame> 13.5.20, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9 and <form:value-range> 13.5.24.

The form:printable attribute has the data type boolean 18.3.3.

19.300form:property-name

The form:property-name attribute specifies the name of a property element. The name is unique within all <form:property> and <form:list-property> child elements of a <form:properties> element.

The form:property-name attribute is usable with the following elements: <form:list-property> 13.9 and <form:property> 13.8.

The form:property-name attribute has the data type string 18.2.

19.301form:readonly

The form:readonly attribute specifies whether a user can modify the value of a control.

Read-only controls are included in a tabbing navigation sequence.

The defined values for the form:readonly attribute are:

The default value for this attribute is false.

The form:readonly attribute is usable with the following elements: <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:formatted-text> 13.5.6, <form:image-frame> 13.5.20, <form:number> 13.5.7, <form:text> 13.5.2, <form:textarea> 13.5.3 and <form:time> 13.5.9.

The form:readonly attribute has the data type boolean 18.3.3.

19.302form:repeat

The form:repeat attribute specifies whether a form control, or a part of a form control repeats a defined action in response a continuous action by a user.

The defined values for the form:repeat attribute are:

Note: Pressing and holding any key is an example of continuing a single act.

The form:repeat attribute is usable with the following elements: <form:button> 13.5.15, <form:date> 13.5.8, <form:formatted-text> 13.5.6, <form:number> 13.5.7, <form:time> 13.5.9 and <form:value-range> 13.5.24.

The form:repeat attribute has the data type boolean 18.3.3.

19.303form:selected

The form:selected attribute specifies the default state of a radio button or option. A control initializes to the default state specified by this attribute.

In a group of radio buttons that share the same name, only one radio button can have a form:selected attribute set to true.

The defined values for the form:selected attribute are:

The default value for this attribute is false.

The form:selected attribute is usable with the following elements: <form:option> 13.5.14 and <form:radio> 13.5.18.

The form:selected attribute has the data type boolean 18.3.3.

19.304form:size

The form:size attribute specifies the number of rows that are visible at a time in a combo box list or a list box list.

The form:size attribute is usable with the following elements: <form:combobox> 13.5.11 and <form:listbox> 13.5.13.

The form:size attribute has the data type nonNegativeInteger 18.2.

19.305form:source-cell-range

The form:source-cell-range attribute specifies a rectangular cell range, whose content should be synchronized with a form controls item list. The form control reacts to changes in the cell range, that is, it adjusts its item list as cell range's content changes.

Specify a cell range using cellRangeAddress or as a name of a named cell range. Display the left most columns of a range if the range contains more columns than a form control can display.

The form:source-cell-range attribute is usable with the following elements: <form:combobox> 13.5.11 and <form:listbox> 13.5.13.

The values of the form:source-cell-range attribute are a value of type cellRangeAddress 18.3.5 or a value of type string 18.2.

19.306form:spin-button

The form:spin-button attribute specifies whether a form control for input has spin buttons. Spin buttons are used to increment or decrement all or part of an input value.

The defined values for the form:spin-button attribute are:

The default value for this attribute is false.

The form:spin-button attribute is usable with the following elements: <form:date> 13.5.8, <form:formatted-text> 13.5.6, <form:number> 13.5.7 and <form:time> 13.5.9.

The form:spin-button attribute has the data type boolean 18.3.3.

19.307form:state

The form:state attribute specifies the default state of a check box control. A check box control initializes to the default state specified by this attribute.

The defined values for the form:state attribute are:

The default value for this attribute is unchecked.

The form:state attribute is usable with the following element: <form:checkbox> 13.5.17.

The values of the form:state attribute are unchecked, checked or unknown.

19.308form:step-size

The form:step-size attribute specifies the preferred minor value change offered through a UI (if applicable for the control used).

The value of a form:step-size attribute shall be positive.

The default value for this attribute is 1.

The form:step-size attribute is usable with the following element: <form:value-range> 13.5.24.

The form:step-size attribute has the data type positiveInteger 18.2.

19.309form:tab-cycle

The form:tab-cycle attribute specifies how the consumer responds when the user presses the TAB key in the controls in a form. The behavior of the consumer depends on whether the form is bound to a data source.

The defined values for the form:tab-cycle attribute are:

The form:tab-cycle attribute is usable with the following element: <form:form> 13.3.

The values of the form:tab-cycle attribute are records, current or page.

19.310form:tab-index

The form:tab-index attribute specifies the tabbing navigation order of controls within a form. Tabbing order is the order of focus on controls when a user navigates the form using the TAB key on the keyboard. Elements within other elements can be included in a tabbing order. Values do not have to be sequential and they do not have to begin with a particular value.

The rules of tab navigation are:

  1. 1)Controls that have the form:disabled attribute set to true are not included in the navigation, independent of their form:tab-index value.  

  2. 2)Controls that have the same values for the form:tab-index attribute are navigated in order of their position in the form.  

  3. 3)The navigation starts with the controls with lowest non-zero form:tab-index value.  

  4. 4)When the controls with a certain form:tab-index value have been navigated, navigation continues with the controls with the next highest value.  

  5. 5)After the controls with the highest value have been navigated, navigation continues with the controls that do not contain the form:tab-index attribute or contain the attribute with a value of 0.  

The default value for this attribute is 0.

The form:tab-index attribute is usable with the following elements: <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:formatted-text> 13.5.6, <form:grid> 13.5.22, <form:image> 13.5.16, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9 and <form:value-range> 13.5.24.

The form:tab-index attribute has the data type nonNegativeInteger 18.2.

19.311form:tab-stop

The form:tab-stop attribute specifies whether a control is included in the tabbing navigation order.

The defined values for the form:tab-stop attribute are:

The default value for this attribute is true.

The form:tab-stop attribute is usable with the following elements: <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:formatted-text> 13.5.6, <form:grid> 13.5.22, <form:image> 13.5.16, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9 and <form:value-range> 13.5.24.

The form:tab-stop attribute has the data type boolean 18.3.3.

19.312form:text-style-name

The form:text-style-name attribute specifies paragraph style that is applied to all controls for a column. Unlike other paragraph styles, this style may reference a data style.

The form:text-style-name attribute is usable with the following element: <form:column> 13.5.23.

The form:text-style-name attribute has the data type styleNameRef 18.3.32.

19.313form:title

The form:title attribute contains additional information about a control. The value of the attribute may be used as a "tool tip" (a short message that appears when the pointing device pauses over the form element). Audio user agents may speak the title information in a similar context.

The form:title attribute is usable with the following elements: <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:fixed-text> 13.5.10, <form:formatted-text> 13.5.6, <form:frame> 13.5.19, <form:grid> 13.5.22, <form:image> 13.5.16, <form:image-frame> 13.5.20, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9 and <form:value-range> 13.5.24.

The form:title attribute has the data type string 18.2.

19.314form:toggle

The form:toggle attribute specifies whether a form button control acts as push button or as toggle button.

Note: A toggle button is similar to a check box (in fact, it could be considered a different visual representation of a check box), in that operating it once, by either mouse or keyboard, toggles its state between "pressed" and "not pressed".

A push button triggers an action, which happens every time the user operates the button.

The defined values for the form:toggle attribute are:

The default value for this attribute is false.

The form:toggle attribute is usable with the following element: <form:button> 13.5.15.

The form:toggle attribute has the data type boolean 18.3.3.

19.315form:validation

The form:validation attribute specifies whether the text that the user enters is validated during input against the input format associated with the control.

The defined values for the form:validation attribute are:

The default value for this attribute is false.

The form:validation attribute is usable with the following element: <form:formatted-text> 13.5.6.

The form:validation attribute has the data type boolean 18.3.3.

19.316form:value

19.316.1General

The form:value attribute specifies the default value of an input control.

19.316.2<form:button>

The value type of the form:value attribute is boolean.

The form:value attribute is usable with the following element: <form:button> 13.5.15.

The form:value attribute has the data type string 18.2.

19.316.3<form:date>

The value type of the form:value attribute is date.

The form:value attribute is usable with the following element: <form:date> 13.5.8.

The form:value attribute has the data type date 18.2.

19.316.4<form:number> and <form:value-range>

The value type of the form:value attribute is number.

The form:value attribute is usable with the following elements: <form:number> 13.5.7 and <form:value-range> 13.5.24.

The form:value attribute has the data type double 18.2.

19.316.5<form:checkbox>, <form:combobox>, <form:file>, <form:formatted-text>, <form:hidden>, <form:image>, <form:option>, <form:password>, <form:radio>, <form:text>, <form:textarea>

The value type of the form:value attribute is string.

The form:value attribute is usable with the following elements: <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:file> 13.5.5, <form:formatted-text> 13.5.6, <form:hidden> 13.5.21, <form:image> 13.5.16, <form:option> 13.5.14, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2 and <form:textarea> 13.5.3.

The form:value attribute has the data type string 18.2.

19.316.6<form:time>

The value type of the form:value attribute is time.

The form:value attribute is usable with the following element: <form:time> 13.5.9.

The form:value attribute has the data type time 18.2.

19.317form:visual-effect

The form:visual-effect attributes specifies a visual effect to apply to a control.

The defined values for the form:visual-effect attribute are:

The form:visual-effect attribute is usable with the following elements: <form:checkbox> 13.5.17 and <form:radio> 13.5.18.

The values of the form:visual-effect attribute are flat or 3d.

19.318form:xforms-list-source

The form:xforms-list-source attribute specifies a reference to an <xforms:bind> element, and creates a list entry for each node in the node-set defined by that attribute.

The form:xforms-list-source attribute is usable with the following element: <form:listbox> 13.5.13.

The form:xforms-list-source attribute has the data type string 18.2.

19.319form:xforms-submission

The form:xforms-submission attribute specifies the name of an <xforms:submission> element for a <form:button> control.

The form:xforms-submission attribute is usable with the following element: <form:button> 13.5.15.

The form:xforms-submission attribute has the data type string 18.2.

19.320grddl:transformation

The grddl:transformation attributes link to a transformation for extracting RDF data from the document. See [GRDDL].

Note: This transformation is intended to be interpreted by consumers that do not support OpenDocument.

The referenced transformations should map OpenDocument elements that are children of the <office:meta> element to RDF. They should also extract the RDF triples stored as RDFa attributes in the document content and styles.

Note: Please check the OASIS Open Document Format for Office Applications (OpenDocument) TC's web site for GRDDL transformations provided by the OASIS Open Document Format for Office Applications (OpenDocument) TC.

The grddl:transformation attribute is usable with the following elements: <office:document> 3.1.2, <office:document-content> 3.1.3.2, <office:document-meta> 3.1.3.4, <office:document-settings> 3.1.3.5 and <office:document-styles> 3.1.3.3.

The value of the grddl:transformation attribute is a white space separated lists of values of type anyIRI 18.3.2, including the empty list.

19.321meta:cell-count

The meta:cell-count attribute specifies the number of table cells that an OpenDocument producer has counted for a document.

The meta:cell-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:cell-count attribute has the data type nonNegativeInteger 18.2.

19.322meta:character-count

The meta:character-count attribute specifies the number of characters that an OpenDocument producer has counted for a document.

The value of the meta:character-count attribute is implementation-dependent.

The meta:character-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:character-count attribute has the data type nonNegativeInteger 18.2.

19.323meta:date

The meta:date attribute specifies the date and time when a template was last modified, prior to being used to create the current document.

The meta:date attribute is usable with the following element: <meta:template> 4.3.2.12.

The meta:date attribute has the data type dateTime 18.2.

19.324meta:delay

The meta:delay attribute specifies a reload delay.

The meta:delay attribute is usable with the following element: <meta:auto-reload> 4.3.2.13.

The meta:delay attribute has the data type duration 18.2.

19.325meta:draw-count

The meta:draw-count attribute specifies the number of drawing-shapes that an OpenDocument producer has counted for a document.

The meta:draw-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:draw-count attribute has the data type nonNegativeInteger 18.2.

19.326meta:frame-count

The meta:frame-count attribute specifies the number of text-boxes that an OpenDocument producer has counted for a document.

The meta:frame-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:frame-count attribute has the data type nonNegativeInteger 18.2.

19.327meta:image-count

The meta:image-count attribute specifies the number of images that an OpenDocument producer has counted for a document.

The meta:image-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:image-count attribute has the data type nonNegativeInteger 18.2.

19.328meta:name

The meta:name attribute specifies the name of a metadata element. The name shall be unique within the domain of <meta:user-defined> elements.

The meta:name attribute is usable with the following element: <meta:user-defined> 4.3.3.

The meta:name attribute has the data type string 18.2.

19.329meta:non-whitespace-character-count

The meta:non-whitespace-character-count attribute specifies the number of non-white space characters that an OpenDocument producer has counted for a document.

The value of the meta:non-whitespace-character-count attribute is implementation-dependent.

The meta:non-whitespace-character-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:non-whitespace-character-count attribute has the data type nonNegativeInteger 18.2.

19.330meta:object-count

The meta:object-count attribute specifies the number of embedded objects stored in OpenDocument format that the OpenDocument producer has counted for the document.

The meta:object-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:object-count attribute has the data type nonNegativeInteger 18.2.

19.331meta:ole-object-count

The meta:ole-object-count attribute specifies the number of embedded objects stored in a different format than OpenDocument that the OpenDocument producer has counted for the document.

The meta:ole-object-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:ole-object-count attribute has the data type nonNegativeInteger 18.2.

19.332meta:page-count

The meta:page-count attribute specifies the number of pages that an OpenDocument producer has calculated for a document.

The value of the meta:page-count attribute is implementation-dependent.

The meta:page-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:page-count attribute has the data type nonNegativeInteger 18.2.

19.333meta:paragraph-count

The meta:paragraph-count attribute specifies the number of paragraphs that an OpenDocument producer has counted for a document.

The meta:paragraph-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:paragraph-count attribute has the data type nonNegativeInteger 18.2.

19.334meta:row-count

The meta:row-count attribute specifies the number of lines contained in a document instance.

The value of the meta:row-count attribute is implementation-dependent.

The meta:row-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:row-count attribute has the data type nonNegativeInteger 18.2.

19.335meta:sentence-count

The meta:sentence-count attribute specifies the number of sentences that an OpenDocument producer has counted for a document.

The value of the meta:sentence-count attribute is implementation-dependent.

The meta:sentence-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:sentence-count attribute has the data type nonNegativeInteger 18.2.

19.336meta:syllable-count

The meta:syllable-count attribute specifies the number of syllables that an OpenDocument producer has counted for a document.

The value of the meta:syllable-count attribute is implementation-dependent.

The meta:syllable-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:syllable-count attribute has the data type nonNegativeInteger 18.2.

19.337meta:table-count

The meta:table-count attribute specifies the number of <table:table> elements contained in a document instance.

The meta:table-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:table-count attribute has the data type nonNegativeInteger 18.2.

19.338meta:value-type

The meta:value-type attribute specifies the type of a metadata element.

The defined values for the meta:value-type attribute are:

The default type for meta-data elements is string.

The meta:value-type attribute is usable with the following element: <meta:user-defined> 4.3.3.

The values of the meta:value-type attribute are float, date, time, boolean or string.

19.339meta:word-count

The meta:word-count attribute specifies the number of words that an OpenDocument producer has counted for a document.

The value of the meta:word-count attribute is implementation-dependent.

The meta:word-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:word-count attribute has the data type nonNegativeInteger 18.2.

19.340number:automatic-order

The number:automatic-order attribute specifies whether data is ordered to match the default order for the language and country of a data style.

The defined values for the number:automatic-order attribute are:

The default value for this attribute is false.

The number:automatic-order attribute is usable with the following elements: <number:currency-style> 16.27.7 and <number:date-style> 16.27.10.

The number:automatic-order attribute has the data type boolean 18.3.3.

19.341number:calendar

The number:calendar attribute specifies the calendar system used to extract parts of a date.

The defined values for the number:calendar attribute are:

The attribute value may also be a string value. If this attribute is not specified, the default calendar system for the locale of the data style is used.

The number:calendar attribute is usable with the following elements: <number:day> 16.27.11, <number:day-of-week> 16.27.15, <number:era> 16.27.14, <number:month> 16.27.12, <number:quarter> 16.27.17, <number:week-of-year> 16.27.16 and <number:year> 16.27.13.

The values of the number:calendar attribute are gregorian, gengou, ROC, hanja_yoil, hanja, hijri, jewish, buddhist or a value of type string 18.2.

19.342number:country

The number:country attribute specifies a country code for a data style. The country code is used for formatting properties whose evaluation is locale dependent.

If a country is not specified, the system settings are used.

The number:country attribute on a <number:currency-symbol> element, specifies the country of a currency symbol.

The number:country attribute is usable with the following elements: <number:boolean-style> 16.27.23, <number:currency-style> 16.27.7, <number:currency-symbol> 16.27.8, <number:date-style> 16.27.10, <number:number-style> 16.27.2, <number:percentage-style> 16.27.9, <number:text-style> 16.27.25 and <number:time-style> 16.27.18.

The number:country attribute has the data type countryCode 18.3.11.

19.343number:decimal-places

19.343.1General

The number:decimal-places attribute specifies the number of decimal places to display.

19.343.2<number:number>

If the number:decimal-places attribute is not specified, the number of decimal places specified by the default table cell style is used.

The number:decimal-places attribute is usable with the following element: <number:number> 16.27.3.

The number:decimal-places attribute has the data type integer 18.2.

19.343.3<number:seconds>

If the number:decimal-places attribute  is not specified or if the value of the attribute is 0, seconds are not displayed.

For a <number:seconds> 16.27.21 element the default value for this attribute is 0.

The number:decimal-places attribute is usable with the following element: <number:seconds> 16.27.21.

The number:decimal-places attribute has the data type integer 18.2.

19.343.4<number:scientific-number>

The number:decimal-places attribute specifies the number of decimal places to display.

If the number:decimal-places attribute is not specified, the number of decimal places specified by the default table cell style is used.

The number:decimal-places attribute is usable with the following element: <number:scientific-number> 16.27.5.

The number:decimal-places attribute has the data type integer 18.2.

19.344number:decimal-replacement

The number:decimal-replacement attribute specifies a replacement text for decimal places if a number style specifies that decimal places are used but the number displayed is an integer.

Note: What replacement text is supported is implementation-dependent.

The number:decimal-replacement attribute is usable with the following element: <number:number> 16.27.3.

The number:decimal-replacement attribute has the data type string 18.2.

19.345number:denominator-value

The number:denominator-value attribute specifies an integer value that is used as denominator of a fraction. If this attribute is not present, a denominator that is appropriate for displaying the number is used.

Note: The number:denominator-value attribute is used with number:grouping 19.348, number:min-denominator-digits 19.350, number:min-integer-digits 19.352 and number:min-numerator-digits 19.353 to define the display of a floating point number as a fraction.

The number:denominator-value attribute is usable with the following element: <number:fraction> 16.27.6.

The number:denominator-value attribute has the data type integer 18.2.

19.346number:display-factor

The number:display-factor attribute specifies a factor by which each number is scaled (divided) before displaying.

The default value for this attribute is 1.

The number:display-factor attribute is usable with the following element: <number:number> 16.27.3.

The number:display-factor attribute has the data type double 18.2.

19.347number:format-source

The number:format-source attribute specifies the source of definitions of the short and long display formats.

The defined values for the number:format-source attribute are:

The default value for this attribute is fixed.

The number:format-source attribute is usable with the following elements: <number:date-style> 16.27.10 and <number:time-style> 16.27.18.

The values of the number:format-source attribute are fixed or language.

19.348number:grouping

The number:grouping attribute specifies whether the integer digits of a number should be grouped using a separator character.

The grouping character that is used and the number of digits that are grouped together depends on the language and country of the style.

The defined values for the number:grouping attribute are:

The default value for this attribute is false.

The number:grouping attribute is usable with the following elements: <number:fraction> 16.27.6, <number:number> 16.27.3 and <number:scientific-number> 16.27.5.

The number:grouping attribute has the data type boolean 18.3.3.

19.349number:language

The number:language attribute specifies a language code. The country code is used for formatting properties whose evaluation is locale dependent.

If a language code is not specified, either the system settings or the setting for the system's language are used, depending on the property whose value should be evaluated.

The number:language attribute is usable with the following elements: <number:boolean-style> 16.27.23, <number:currency-style> 16.27.7, <number:currency-symbol> 16.27.8, <number:date-style> 16.27.10, <number:number-style> 16.27.2, <number:percentage-style> 16.27.9, <number:text-style> 16.27.25 and <number:time-style> 16.27.18.

The number:language attribute has the data type languageCode 18.3.17.

19.350number:min-denominator-digits

The number:min-denominator-digits attribute specifies the minimum number of digits to use to display the denominator of a fraction.

The number:min-denominator-digits attribute is usable with the following element: <number:fraction> 16.27.6.

The number:min-denominator-digits attribute has the data type integer 18.2.

19.351number:min-exponent-digits

The number:min-exponent-digits attribute specifies the minimum number of digits to use to display an exponent.

The number:min-exponent-digits attribute is usable with the following element: <number:scientific-number> 16.27.5.

The number:min-exponent-digits attribute has the data type integer 18.2.

19.352number:min-integer-digits

The number:min-integer-digits attribute specifies the minimum number of integer digits to display in a number, a scientific number, or a fraction.

For a <number:fraction> element, if the number:min-integer-digits attribute is not present, no integer portion is displayed.

The number:min-integer-digits attribute is usable with the following elements: <number:fraction> 16.27.6, <number:number> 16.27.3 and <number:scientific-number> 16.27.5.

The number:min-integer-digits attribute has the data type integer 18.2.

19.353number:min-numerator-digits

The number:min-numerator-digits attribute specifies the minimum number of digits to use to display the numerator in a fraction.

The number:min-numerator-digits attribute is usable with the following element: <number:fraction> 16.27.6.

The number:min-numerator-digits attribute has the data type integer 18.2.

19.354number:position

The number:position attribute specifies the position where text appears.

The index of a position starts with 1 and is counted by digits from right to left in the integer part of a number, starting left from a decimal separator if one exists, or from the last digit of the number. Text is inserted before the digit at the specified position. If the value of number:position attribute is greater than the value of number:min-integer-digits and greater than the number of integer digits in the number, text is prepended to the number.

The number:position attribute is usable with the following element: <number:embedded-text> 16.27.4.

The number:position attribute has the data type integer 18.2.

19.355number:possessive-form

The number:possessive-form attribute specifies whether the month is displayed as a noun or using the possessive form.

The number:possessive-form attribute is only applied when a number:textual attribute on the same <number:month> element has the value of true.

The defined values for the number:possessive-form attribute are:

The number:possessive-form attribute is usable with the following element: <number:month> 16.27.12.

The number:possessive-form attribute has the data type boolean 18.3.3.

19.356number:rfc-language-tag

The number:rfc-language-tag attribute specifies a language identifier according to the rules of [RFC5646], or its successors.

It shall only be used if its value can not be expressed as a valid combination of the number:language, number:script and number:country attributes.

Producers may add support for consumers that don't support the number:rfc-language-tag attribute by specifying number:language, number:script and number:country attributes with values as close as possible to the actual value of the number:rfc-language-tag attribute. Producers shall not use values for these attributes that contradict the value of the table:rfc-language-tag attribute.

The number:rfc-language-tag attribute is usable with the following elements: <number:boolean-style> 16.27.23, <number:currency-style> 16.27.7, <number:currency-symbol> 16.27.8, <number:date-style> 16.27.10, <number:number-style> 16.27.2, <number:percentage-style> 16.27.9, <number:text-style> 16.27.25 and <number:time-style> 16.27.18.

The number:rfc-language-tag attribute has the data type language 18.3.16.

19.357number:script

The number:script attribute specifies a script code. The script code is used for formatting properties whose evaluation is locale dependent. The attribute should be used only if necessary according to the rules of §2.2.3 of [RFC5646], or its successors.

The number:script attribute is usable with the following elements: <number:boolean-style> 16.27.23, <number:currency-style> 16.27.7, <number:currency-symbol> 16.27.8, <number:date-style> 16.27.10, <number:number-style> 16.27.2, <number:percentage-style> 16.27.9, <number:text-style> 16.27.25 and <number:time-style> 16.27.18.

The number:script attribute has the data type scriptCode 18.3.29.

19.358number:style

19.358.1General

The number:style attribute specifies whether the content of a time element is displayed in short or long format. The value of this attribute can be short or long. The meaning of these values depends on the value of the number:format-source attribute that is attached to a date or time style.

19.358.2<number:day>

If the value of the number:format-source attribute is fixed the number:style attribute on the same element has the defined values:

The number:style attribute is usable with the following element: <number:day> 16.27.11.

The values of the number:style attribute are short or long.

19.358.3<number:day-of-week>

If the value of the number:format-source attribute is fixed the number:style attribute on the same element has the defined values:

The number:style attribute is usable with the following element: <number:day-of-week> 16.27.15.

The values of the number:style attribute are short or long.

19.358.4<number:era>

If the value of the number:format-source attribute is fixed the number:style attribute on the same element has the defined values:

The number:style attribute is usable with the following element: <number:era> 16.27.14.

The values of the number:style attribute are short or long.

19.358.5<number:hours>

If the value of the number:format-source attribute is fixed the number:style attribute on the same element has the defined values:

The number:style attribute is usable with the following element: <number:hours> 16.27.19.

The values of the number:style attribute are short or long.

19.358.6<number:minutes>

If the value of the number:format-source attribute is fixed the number:style attribute on the same element has the defined values:

The number:style attribute is usable with the following element: <number:minutes> 16.27.20.

The values of the number:style attribute are short or long.

19.358.7<number:month>

If the value of the number:format-source attribute is fixed the number:style attribute on the same element has the defined values:

The number:style attribute is usable with the following element: <number:month> 16.27.12.

The values of the number:style attribute are short or long.

19.358.8<number:quarter>

If the value of the number:format-source attribute is fixed the number:style attribute on the same element has the defined values:

The number:style attribute is usable with the following element: <number:quarter> 16.27.17.

The values of the number:style attribute are short or long.

19.358.9<number:seconds>

if the value of the number:format-source attribute is fixed the number:style attribute on the same element has the defined values:

The number:style attribute is usable with the following element: <number:seconds> 16.27.21.

The values of the number:style attribute are short or long.

19.358.10<number:year>

If the value of the number:format-source attribute is fixed the number:style attribute on the same element has the defined values:

The number:style attribute is usable with the following element: <number:year> 16.27.13.

The values of the number:style attribute are short or long.

19.359number:textual

The number:textual attribute specifies whether the name or number of a month is displayed in the month element of a date.

The defined values for the number:textual element are:

The name or number of a month is defined by the number:calendar attribute on the same parent element as the number:textual attribute.

The default value for this attribute is false.

The number:textual attribute is usable with the following element: <number:month> 16.27.12.

The number:textual attribute has the data type boolean 18.3.3.

19.360number:title

The number:title attribute specifies the title of a data style.

The number:title attribute is usable with the following elements: <number:boolean-style> 16.27.23, <number:currency-style> 16.27.7, <number:date-style> 16.27.10, <number:number-style> 16.27.2, <number:percentage-style> 16.27.9, <number:text-style> 16.27.25 and <number:time-style> 16.27.18.

The number:title attribute has the data type string 18.2.

19.361number:transliteration-country

The number:transliteration-country attribute specifies a country code in conformance with [RFC5646].

If no language/country (locale) combination is specified the locale of the data style is used.

The number:transliteration-country attribute is usable with the following elements: <number:boolean-style> 16.27.23, <number:currency-style> 16.27.7, <number:date-style> 16.27.10, <number:number-style> 16.27.2, <number:percentage-style> 16.27.9, <number:text-style> 16.27.25 and <number:time-style> 16.27.18.

The number:transliteration-country attribute has the data type countryCode 18.3.11.

19.362number:transliteration-format

The number:transliteration-format attribute specifies which number characters to use.

The value of the number:transliteration-format attribute shall be a decimal "DIGIT ONE" character with numeric value 1 as listed in the Unicode Character Database file UnicodeData.txt with value 'Nd' (Numeric decimal digit) in the General_Category/Numeric_Type property field 6 and value '1' in the Numeric_Value fields 7 and 8, respectively as listed in DerivedNumericValues.txt

If no format is specified the default ASCII representation of Latin-Indic digits is used, other transliteration attributes present in that case are ignored.

The default value for this attribute is 1.

The number:transliteration-format attribute is usable with the following elements: <number:boolean-style> 16.27.23, <number:currency-style> 16.27.7, <number:date-style> 16.27.10, <number:number-style> 16.27.2, <number:percentage-style> 16.27.9, <number:text-style> 16.27.25 and <number:time-style> 16.27.18.

The number:transliteration-format attribute has the data type string 18.2.

19.363number:transliteration-language

The number:transliteration-language attribute specifies a language code in conformance with [RFC5646].

If no language/country (locale) combination is specified the locale of the data style is used.

The number:transliteration-language attribute is usable with the following elements: <number:boolean-style> 16.27.23, <number:currency-style> 16.27.7, <number:date-style> 16.27.10, <number:number-style> 16.27.2, <number:percentage-style> 16.27.9, <number:text-style> 16.27.25 and <number:time-style> 16.27.18.

The number:transliteration-language attribute has the data type countryCode 18.3.11.

19.364number:transliteration-style

The number:transliteration-style attribute specifies the transliteration-format of a number system.

The semantics of the values of the number:transliteration-style attribute are locale and implementation-dependent.

The default value for this attribute is short.

The number:transliteration-style attribute is usable with the following elements: <number:boolean-style> 16.27.23, <number:currency-style> 16.27.7, <number:date-style> 16.27.10, <number:number-style> 16.27.2, <number:percentage-style> 16.27.9, <number:text-style> 16.27.25 and <number:time-style> 16.27.18.

The values of the number:transliteration-style attribute are short, medium or long.

19.365number:truncate-on-overflow

The number:truncate-on-overflow attribute specifies if a time or duration for which the value to be displayed by the largest time component specified in the style is too large to be displayed using the value range for <number:hours> (0 to 23), or <number:minutes> or <number:seconds> (0 to 59) is truncated or if the value range of this component is extended. The largest time component is those for which a value of "1" represents the longest period of time.

If a value gets truncated, then its value is displayed modulo 24 (for <number:hours>) or modulo 60 (for <number:minutes> and <number:seconds>).

If the value range of a component get extended, then values larger than 23 or 59 are displayed.

The defined values for the number:truncate-on-overflow element are:

The default value for this attribute is true.

The number:truncate-on-overflow attribute is usable with the following element: <number:time-style> 16.27.18.

The number:truncate-on-overflow attribute has the data type boolean 18.3.3.

19.366office:automatic-update

The office:automatic-update attribute specifies if DDE links are automatically updated or only upon user request.

The defined values for the office:automatic-update element are:

The default value for this attribute is true.

The office:automatic-update attribute is usable with the following elements: <office:dde-source> 14.6.5 and <text:dde-connection-decl> 14.6.3.

The office:automatic-update attribute has the data type boolean 18.3.3.

19.367office:boolean-value

The office:boolean-value attribute specifies the Boolean value for a table cell (<table:change-track-table-cell>, <table:covered-table-cell> and <table:table-cell>), a text field (<text:expression>, <text:user-defined>, <text:user-field-decl> and <text:variable-set>), or a form property (<form:list-value> and <form:property>).

It specifies a default value for database columns and database column definitions (<db:column> and <db:column-definition>).

For <text:user-defined> elements, this attribute is only evaluated if the corresponding <meta:user-defined> element has attribute meta:value-type="boolean".

The office:boolean-value attribute is usable with the following elements: <db:column> 12.35, <db:column-definition> 12.40, <form:list-value> 13.10, <form:property> 13.8, <table:change-track-table-cell> 9.9.16, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:expression> 7.4.14, <text:user-defined> 7.5.6, <text:user-field-decl> 7.4.8 and <text:variable-set> 7.4.4.

The office:boolean-value attribute has the data type boolean 18.3.3.

19.368office:conversion-mode

The office:conversion-mode attribute specifies the method by which the DDE server converts its data into numbers.

The defined values for the office:conversion-mode attribute are:

The default value for this attribute is into-default-style-data-style.

The office:conversion-mode attribute is usable with the following element: <office:dde-source> 14.6.5.

The values of the office:conversion-mode attribute are into-default-style-data-style, into-english-number or keep-text.

19.369office:currency

The office:currency attribute specifies the currency for a value of a table cell (<table:change-track-table-cell>, <table:covered-table-cell> and <table:table-cell>), a text field (<text:expression>,  <text:user-field-decl> and <text:variable-set>), or a form property (<form:list-value> and <form:property>).

It specifies a default currency for database columns and database column definitions (<db:column> and <db:column-definition>).

The office:currency attribute is usable with the following elements: <db:column> 12.35, <db:column-definition> 12.40, <form:list-value> 13.10, <form:property> 13.8, <table:change-track-table-cell> 9.9.16, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:expression> 7.4.14, <text:user-field-decl> 7.4.8 and <text:variable-set> 7.4.4.

The office:currency attribute has the data type string 18.2.

19.370office:date-value

The office:date-value attribute specifies the date or date-time value for a table cell (<table:change-track-table-cell>, <table:covered-table-cell> and <table:table-cell>), a text field (<text:expression>, <text:user-defined>, <text:user-field-decl> and <text:variable-set>), or a form property (<form:list-value> and <form:property>).

It specifies a default value for database columns and database column definitions (<db:column> and <db:column-definition>).

For <text:user-defined> elements, this attribute is only evaluated if the corresponding <meta:user-defined> element has attribute meta:value-type="date".

The office:date-value attribute is usable with the following elements: <db:column> 12.35, <db:column-definition> 12.40, <form:list-value> 13.10, <form:property> 13.8, <table:change-track-table-cell> 9.9.16, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:expression> 7.4.14, <text:user-defined> 7.5.6, <text:user-field-decl> 7.4.8 and <text:variable-set> 7.4.4.

The office:date-value attribute has the data type dateOrDateTime 18.3.14.

19.371office:dde-application

The office:dde-application attribute specifies the name of the target application to use for the DDE connection.

The office:dde-application attribute is usable with the following elements: <office:dde-source> 14.6.5 and <text:dde-connection-decl> 14.6.3.

The office:dde-application attribute has the data type string 18.2.

19.372office:dde-item

The office:dde-item attribute specifies which information the target application should deliver.

The office:dde-item attribute is usable with the following elements: <office:dde-source> 14.6.5 and <text:dde-connection-decl> 14.6.3.

The office:dde-item attribute has the data type string 18.2.

19.373office:dde-topic

The office:dde-topic attribute specifies the name of the topic to use for the DDE connection.

The office:dde-topic attribute is usable with the following elements: <office:dde-source> 14.6.5 and <text:dde-connection-decl> 14.6.3.

The office:dde-topic attribute has the data type string 18.2.

19.374office:display

The office:display attribute specifies whether an annotation is visible.

The office:display attribute is usable with the following element: <office:annotation> 14.1.

The office:display attribute has the data type boolean 18.3.3.

19.375office:mimetype

The office:mimetype attribute specifies the document type for a document that is contained in a single XML file. Its values are the MIME types that are used for the packaged variant of office documents.

The office:mimetype attribute is usable with the following element: <office:document> 3.1.2.

The office:mimetype attribute has the data type string 18.2.

19.376office:name

19.376.1General

The office:name attribute specifies a name. The use of that name is specified for each element on which it appears.

19.376.2<draw:a>

The office:name attribute specifies a name for a link. The name can serve as a target for other hyperlinks. The name does not have to be unique.

The office:name attribute is usable with the following element: <draw:a> 10.4.12.

The office:name attribute has the data type string 18.2.

19.376.3<draw:area-circle>

The office:name attribute specifies a name for a shape represented by this element. The name does not have to be unique.

The office:name attribute is usable with the following element: <draw:area-circle> 10.4.13.4.

The office:name attribute has the data type string 18.2.

19.376.4<draw:area-rectangle>

The office:name attribute specifies a name for a shape represented by this element. The name does not have to be unique.

The office:name attribute is usable with the following element: <draw:area-rectangle> 10.4.13.3.

The office:name attribute has the data type string 18.2.

19.376.5<draw:area-polygon>

The office:name attribute specifies a name for an image map. The name does not have to be unique.

The office:name attribute is usable with the following element: <draw:area-polygon> 10.4.13.5.

The office:name attribute has the data type string 18.2.

19.376.6<office:annotation>

The office:name attribute specifies a name for an annotation. It is used to match <office:annotation> elements with the corresponding <office:annotation-end> elements.

The name that appears in the office:name attribute of any <office:annotation>, <office:annotation-end> pair shall be unique to that pair of elements in a document instance.

The office:name attribute is usable with the following element: <office:annotation> 14.1.

The office:name attribute has the data type string 18.2.

19.376.7<office:annotation-end>

The office:name attribute specifies a name for an annotation. It is used to match <office:annotation-end> elements with the corresponding <office:annotation> elements.

The office:name attribute is usable with the following element: <office:annotation-end> 14.2.

The office:name attribute has the data type string 18.2.

19.376.8<office:dde-source>

The office:name attribute specifies the name by which a connection can be referred.

The office:name attribute is usable with the following element: <office:dde-source> 14.6.5.

The office:name attribute has the data type string 18.2.

19.376.9<text:a>

The office:name attribute specifies a name for a hyperlink. The name serves as a target for other hyperlinks and need not be unique.

Note: This attribute is specified for compatibility with [HTML4] only, where an <a> element may serve as a link source and target simultaneously. This attribute should not be used for any purpose other than to represent links that came from a HTML document.

The office:name attribute is usable with the following element: <text:a> 6.1.8.

The office:name attribute has the data type string 18.2.

19.376.10<text:dde-connection-decl>

The office:name attribute specifies a name by which a connection can be referenced.

The office:name attribute is usable with the following element: <text:dde-connection-decl> 14.6.3.

The office:name attribute has the data type string 18.2.

19.377office:process-content (deprecated)

The office:process-content attribute specifies the processing to be performed on foreign elements.

The defined values of the office:process-content attribute are:

Note: The office:process-content attribute has been deprecated in favor of simpler rules regarding the processing of foreign elements. 3.17

19.378office:server-map

The office:server-map attribute specifies that a link returns data to a server side image map. The mouse coordinates of the click position of the graphic shape are appended to the IRI of the link. The coordinates are be used by the server to determine which link to activate within the image map.

The default value for this attribute is false.

The office:server-map attribute is usable with the following element: <draw:a> 10.4.12.

The office:server-map attribute has the data type boolean 18.3.3.

19.379office:string-value

The office:string-value attribute specifies the string-value for a table cell (<table:change-track-table-cell>, <table:covered-table-cell> and <table:table-cell>), a text field (<text:expression>, <text:user-defined>, <text:user-field-decl> and <text:variable-set>), or a form property (<form:list-value> and <form:property>).

It specifies a default value for database columns and database column definitions (<db:column> and <db:column-definition>).

For <text:user-defined> elements, this attribute is only evaluated if the corresponding <meta:user-defined> element has (default) attribute meta:value-type="string".

The office:string-value attribute is usable with the following elements: <db:column> 12.35, <db:column-definition> 12.40, <form:list-value> 13.10, <form:property> 13.8, <table:change-track-table-cell> 9.9.16, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:expression> 7.4.14, <text:user-defined> 7.5.6, <text:user-field-decl> 7.4.8 and <text:variable-set> 7.4.4.

The office:string-value attribute has the data type string 18.2.

19.380office:target-frame

The office:target-frame attribute specifies a target frame.

The defined values for the office:target-frame attribute are:

The default value for this attribute is _blank.

The office:target-frame attribute is usable with the following elements: <form:button> 13.5.15, <form:form> 13.3 and <form:image> 13.5.16.

The office:target-frame attribute has the data type targetFrameName 18.3.34.

19.381office:target-frame-name

The office:target-frame-name attribute. specifies the name of a target frame.

The defined values for the office:target-frame-name attribute are:

The office:target-frame-name attribute may be used together with an xlink:show attribute. In that case, if the value of the attribute is _blank, the xlink:show attribute value should be new. If the value of the attribute is any of the other value options, the value of the xlink:show attribute should be replace.

The office:target-frame-name attribute is usable with the following elements: <draw:a> 10.4.12, <draw:area-circle> 10.4.13.4, <draw:area-polygon> 10.4.13.5, <draw:area-rectangle> 10.4.13.3, <meta:hyperlink-behaviour> 4.3.2.14 and <text:a> 6.1.8.

The office:target-frame-name attribute has the data type targetFrameName 18.3.34.

19.382office:time-value

The office:time-value attribute specifies the time value for a table cell (<table:change-track-table-cell>, <table:covered-table-cell> and <table:table-cell>), a text field (<text:expression>, <text:user-defined>, <text:user-field-decl> and <text:variable-set>), or a form property (<form:list-value> and <form:property>).

It specifies a default value for database columns and database column definitions (<db:column> and <db:column-definition>).

For <text:user-defined> elements, this attribute is only evaluated if the corresponding <meta:user-defined> element has attribute meta:value-type="time".

The office:time-value attribute is usable with the following elements: <db:column> 12.35, <db:column-definition> 12.40, <form:list-value> 13.10, <form:property> 13.8, <table:change-track-table-cell> 9.9.16, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:expression> 7.4.14, <text:user-defined> 7.5.6, <text:user-field-decl> 7.4.8 and <text:variable-set> 7.4.4.

The office:time-value attribute has the data type duration 18.2.

19.383office:title

The office:title attribute specifies a short accessible description.

Note: See appendix D for guidelines on using this attribute.

The office:title attribute is usable with the following elements: <draw:a> 10.4.12 and <text:a> 6.1.8.

The office:title attribute has the data type string 18.2.

19.384office:value

The office:value attribute specifies the currency, float or percentage value for a table cell (<table:change-track-table-cell>, <table:covered-table-cell> and <table:table-cell>), a text field (<text:expression>, <text:user-defined>, <text:user-field-decl> and <text:variable-set>), or a form property (<form:list-value> and <form:property>).

It specifies a default value for database columns and database column definitions (<db:column> and <db:column-definition>).

For <text:user-defined> elements, this attribute is only interpreted if the corresponding <meta:user-defined> element has attribute meta:value-type="float".

The office:value attribute is usable with the following elements: <db:column> 12.35, <db:column-definition> 12.40, <form:list-value> 13.10, <form:property> 13.8, <table:change-track-table-cell> 9.9.16, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:expression> 7.4.14, <text:user-defined> 7.5.6, <text:user-field-decl> 7.4.8 and <text:variable-set> 7.4.4.

The office:value attribute has the data type double 18.2.

19.385office:value-type

The office:value-type attribute specifies the value-type of a table cell (<table:change-track-table-cell>, <table:covered-table-cell> and <table:table-cell>), a text field (<text:expression>, <text:user-field-decl>, <text:variable-decl>, <text:variable-input>and <text:variable-set>), or a form property (<form:list-value> and <form:property>).

It specifies a default value type of database columns and database column definitions (<db:column> and <db:column-definition>).

If the value type is not string, the corresponding Value Attribute(s) (Table 14 - Value attributes) shall contain the value(s) of the element.

Each of these elements has a value type that shall be specified. The defined value types, their respective value attributes, and how the values are encoded are described in Table 14 - Value attributes.

Table 14 - Value attributes

Value Type

Value Attribute(s)

Encoded as...

Example

boolean

office:boolean-value

true or false

"true"

currency

office:value and
office:currency

Numeric value and
currency symbol

"100"
"USD"

date

office:date-value

Date value as specified in §3.2.9 of [xmlschema-2], or date and time value as specified in §3.2.7 of [xmlschema-2]

"2003-04-17"

float

office:value

Numeric value

"12.345"

percentage

office:value

Numeric value

"0.50"

string

office:string-value

Strings

"abc def"

time

office:time-value

Duration, as specified in §3.2.6 of [xmlschema-2]

"PT03H30M00S"

void

none

 

 

If the value type is string and the office:string-value attribute is not present, the element content defines the value.

Note: The OpenDocument concept of field values and value types and their encoding in XML is also modeled on the corresponding XML for table cell attributes.

The office:value-type attribute is usable with the following elements: <db:column> 12.35, <db:column-definition> 12.40, <form:list-property> 13.9, <form:property> 13.8, <table:change-track-table-cell> 9.9.16, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:expression> 7.4.14, <text:user-field-decl> 7.4.8, <text:variable-decl> 7.4.3, <text:variable-input> 7.4.6 and <text:variable-set> 7.4.4.

The office:value-type attribute has the data type valueType 18.3.38.

19.386office:version

The office:version attribute identifies the version of the OpenDocument specification that defines the associated element, its schema, its complete content, and its interpretation.

The office:version attribute shall be present in each and every <office:document>, <office:document-content>, <office:document-styles>, <office:document-meta>, and <office:document-settings> element in the XML documents that comprise an OpenDocument 1.2 document. The value of the office:version attribute shall be "1.2".

Note 1: When an office:version-requiring element has office:version="1.1" the element and its content are based on the OpenDocument v1.1 specification [ODF11]. For office:version="1.0" the element and its content are based on the OpenDocument v1.0 specification [ODF10]. When an office:version-requiring element has office:version omitted, the element is based on a version of the OpenDocument specification earlier than v1.2.

Note 2:An OpenDocument 1.2 document that relies solely on features of a previous OpenDocument specification that are upward-compatible with OpenDocument 1.2, can be interpreted correctly under that earlier specification by treating the office:version=""1.2" attribute as omitted or as identifying the earlier version.

The office:version attribute is usable with the following elements: <office:document> 3.1.2, <office:document-content> 3.1.3.2, <office:document-meta> 3.1.3.4, <office:document-settings> 3.1.3.5 and <office:document-styles> 3.1.3.3.

The only value of the office:version attribute is 1.2.

19.387presentation:action

The presentation:action attribute specifies the type of action that is executed when an event is triggered.

The defined values for the presentation:action attribute are:

The presentation:action attribute is usable with the following element: <presentation:event-listener> 10.9.2.

The values of the presentation:action attribute are none, previous-page, next-page, first-page, last-page, hide, stop, execute, show, verb, fade-out, sound or last-visited-page.

19.388presentation:animations

The presentation:animations attribute enables or disables the playback of animations that are specified within embedded or linked images during a presentation.

The defined values for the presentation:animations attribute are:

The default value for this attribute is enabled.

The presentation:animations attribute is usable with the following element: <presentation:settings> 10.9.3.7.

The values of the presentation:animations attribute are enabled or disabled.

19.389presentation:class

The presentation:class attribute classifies presentation shapes by their usage within a draw page.

The defined values for the presentation:class attribute are:

The date-time, footer, header, and page-number classes can be used only for drawing shapes that are contained in master pages. Depending on the settings of the <style:master-page> element, they are displayed automatically on drawing pages that use the master page.

When used with drawing shapes contained in master pages, the defined values for the presentation:class attribute are:

The presentation:class attribute is usable with the following elements: <draw:frame> 10.4.2 and <draw:page-thumbnail> 10.3.14.

The values of the presentation:class attribute are title, outline, subtitle, text, graphic, object, chart, table, orgchart, page, notes, handout, header, footer, date-time or page-number.

19.390presentation:class-names

The presentation:class-names attribute specifies a white space separated list of styles with the family value of presentation. The referenced styles are applied in the order they are contained in the list.

If both presentation:style-name and presentation:class-names are present, the style referenced by the presentation:style-name attribute is applied before the styles referenced by the presentation:class-names attribute.

The presentation:class-names attribute is usable with the following elements: <dr3d:cube> 10.5.4, <dr3d:extrude> 10.5.6, <dr3d:rotate> 10.5.7, <dr3d:scene> 10.5.2, <dr3d:sphere> 10.5.5, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:annotation> 14.1.

The presentation:class-names attribute has the data type styleNameRefs 18.3.33.

19.391presentation:delay

The presentation:delay attribute specifies the delay before a presentation effect starts after the previous one has finished.

The presentation:delay attribute is usable with the following elements: <presentation:hide-shape> 10.8.5, <presentation:hide-text> 10.8.6, <presentation:show-shape> 10.8.3 and <presentation:show-text> 10.8.4.

The presentation:delay attribute has the data type duration 18.2.

19.392presentation:direction

The presentation:direction attribute specifies the direction of an effect.

The defined values for the presentation:direction attribute are:

The default value for this attribute is none.

The presentation:direction attribute is usable with the following elements: <presentation:event-listener> 10.9.2, <presentation:hide-shape> 10.8.5, <presentation:hide-text> 10.8.6, <presentation:show-shape> 10.8.3 and <presentation:show-text> 10.8.4.

The values of the presentation:direction attribute are none, from-left, from-top, from-right, from-bottom, from-center, from-upper-left, from-upper-right, from-lower-left, from-lower-right, to-left, to-top, to-right, to-bottom, to-upper-left, to-upper-right, to-lower-right, to-lower-left, path, spiral-inward-left, spiral-inward-right, spiral-outward-left, spiral-outward-right, vertical, horizontal, to-center, clockwise or counter-clockwise.

19.393presentation:endless

The presentation:endless attribute specifies is a presentation repeats indefinitely or not.

The defined values for the presentation:endless attribute are:

The default value for this attribute is false.

The presentation:endless attribute is usable with the following element: <presentation:settings> 10.9.3.7.

The presentation:endless attribute has the data type boolean 18.3.3.

19.394presentation:effect

The presentation:effect attribute specifies the type of an effect.

The defined values for the presentation:effect attribute are:

The default value for this attribute is none.

The presentation:effect attribute is usable with the following elements: <presentation:event-listener> 10.9.2, <presentation:hide-shape> 10.8.5, <presentation:hide-text> 10.8.6, <presentation:show-shape> 10.8.3 and <presentation:show-text> 10.8.4.

The values of the presentation:effect attribute are none, fade, move, stripes, open, close, dissolve, wavyline, random, lines, laser, appear, hide, move-short, checkerboard, rotate or stretch.

19.395presentation:force-manual

The presentation:force-manual attribute specifies that the value of the presentation:transition-type attribute is set to manual.

The defined values for the presentation:force-manual attribute are:

The default value for this attribute is false.

The presentation:force-manual attribute is usable with the following element: <presentation:settings> 10.9.3.7.

The presentation:force-manual attribute has the data type boolean 18.3.3.

19.396presentation:full-screen

The presentation:full-screen attribute specifies whether the presentation is displayed in full screen mode or in a window.

The defined values for the presentation:full-screen attribute are:

The default value for this attribute is true.

The presentation:full-screen attribute is usable with the following element: <presentation:settings> 10.9.3.7.

The presentation:full-screen attribute has the data type boolean 18.3.3.

19.397presentation:group-id

The presentation:group-id attribute specifies a group id. This id can be used to group animation elements within a user interface, where a group consists of all animation elements that have the same group id.

The presentation:group-id attribute is usable with the following elements: <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2 and <anim:seq> 15.4.3.

The presentation:group-id attribute has the data type string 18.2.

19.398presentation:master-element

The presentation:master-element attribute specifies the id of an animation element.

Note: Consumer user interfaces may consider animation elements that have a presentation:master-element attribute to be a part of the animation element that is referenced, and may therefore exclude them from any lists of defined animations.

The presentation:master-element attribute is usable with the following elements: <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2 and <anim:seq> 15.4.3.

The presentation:master-element attribute has the data type IDREF 18.2.

19.399presentation:mouse-as-pen

The presentation:mouse-as-pen attribute specifies if a mouse pointer is displayed as a pen or a pointer.

The defined values for the presentation:mouse-as-pen attribute are:

The default value for this attribute is false.

The presentation:mouse-as-pen attribute is usable with the following element: <presentation:settings> 10.9.3.7.

The presentation:mouse-as-pen attribute has the data type boolean 18.3.3.

19.400presentation:mouse-visible

The presentation:mouse-visible attribute specifies whether a mouse pointer is visible during a presentation.

The defined values for the presentation:mouse-visible attribute are:

The default value for this attribute is true.

The presentation:mouse-visible attribute is usable with the following element: <presentation:settings> 10.9.3.7.

The presentation:mouse-visible attribute has the data type boolean 18.3.3.

19.401presentation:name

The presentation:name attribute identifies the element on which it appears inside a presentation.

The presentation:name attribute is usable with the following elements: <presentation:date-time-decl> 10.9.3.6, <presentation:footer-decl> 10.9.3.4, <presentation:header-decl> 10.9.3.2 and <presentation:show> 10.9.3.8.

The presentation:name attribute has the data type string 18.2.

19.402presentation:node-type

The presentation:node-type attribute specifies a node type for an animation element.

The defined values for the presentation:node-type attribute are:

Note: Click is the action of a computer user moving a cursor or focus to a location on a screen (point) and then pressing a mouse button, usually the left button(click), or other pointing device. A click can be used with any number of input devices varying from mice, touch pads, keyboards, joysticks, scroll buttons, and roller balls.

The default value for this attribute is default.

The presentation:node-type attribute is usable with the following elements: <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2 and <anim:seq> 15.4.3.

The values of the presentation:node-type attribute are default, on-click, with-previous, after-previous, timing-root, main-sequence or interactive-sequence.

19.403presentation:object

The presentation:object attribute specifies the type of object that a <presentation:placeholder> element represents.

The defined values for the presentation:object attribute are the same as those defined for the presentation:class attribute. 19.389

The presentation:object attribute is usable with the following element: <presentation:placeholder> 16.42.

The values of the presentation:object attribute are title, outline, subtitle, text, graphic, object, chart, table, orgchart, page, notes, handout, header, footer, date-time or page-number.

19.404presentation:pages

The presentation:pages attribute specifies a comma “,” (U+002C, COMMA) separated list of page names as given by draw:name attributes on <draw:page> elements. The pages are displayed in the order in which they are listed during a presentation that uses this show. Pages can be included more than once.

The presentation:pages attribute is usable with the following element: <presentation:show> 10.9.3.8.

The presentation:pages attribute has the data type string 18.2.

19.405presentation:path-id

The presentation:path-id attribute specifies a polygon shape by the value of its draw:shape-id attribute. An effect moves along the lines of the specified polygon. The referenced polygon is not visible during the presentation.

The presentation:path-id attribute is usable with the following elements: <presentation:hide-shape> 10.8.5, <presentation:hide-text> 10.8.6, <presentation:show-shape> 10.8.3 and <presentation:show-text> 10.8.4.

The presentation:path-id attribute has the data type string 18.2.

19.406presentation:pause

The presentation:pause attribute specifies a time duration for displaying a pause screen before the presentation is played again if the presentation is to be repeated indefinitely. If this attribute is not set or has a value of P0s, a pause screen is not displayed in endless mode.

The presentation:pause attribute is usable with the following element: <presentation:settings> 10.9.3.7.

The presentation:pause attribute has the data type duration 18.2.

19.407presentation:placeholder

The presentation:placeholder attribute specifies if a shape is a placeholder or a presentation object with content.

The presentation:placeholder attribute is usable with the following elements: <draw:frame> 10.4.2 and <draw:page-thumbnail> 10.3.14.

The presentation:placeholder attribute has the data type boolean 18.3.3.

19.408presentation:play-full

The presentation:play-full attribute specifies when an effect starts.

The defined values for the presentation:play-full attribute are:

The presentation:play-full attribute is usable with the following element: <presentation:sound> 10.8.2.

The presentation:play-full attribute has the data type boolean 18.3.3.

19.409presentation:presentation-page-layout-name

The presentation:presentation-page-layout-name attribute references the style:name attribute of a <style:presentation-page-layout> element.

The presentation:presentation-page-layout-name attribute is usable with the following elements: <draw:page> 10.2.4 and <style:handout-master> 10.2.1.

The presentation:presentation-page-layout-name attribute has the data type styleNameRef 18.3.32.

19.410presentation:preset-class

The presentation:preset-class attribute specifies the class of the preset that was used to create an animation element.

The defined values for the presentation:preset-class attribute are:

The default value for this attribute is custom.

The presentation:preset-class attribute is usable with the following elements: <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2 and <anim:seq> 15.4.3.

The values of the presentation:preset-class attribute are custom, entrance, exit, emphasis, motion-path, ole-action or media-call.

19.411presentation:preset-id

The presentation:preset-id attribute specifies the name of the preset that was used to create an animation element.

The presentation:preset-id attribute is usable with the following elements: <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2 and <anim:seq> 15.4.3.

The presentation:preset-id attribute has the data type string 18.2.

19.412presentation:preset-sub-type

The presentation:preset-sub-type attribute specifies the sub type of the preset that was used to create an animation element.

The presentation:preset-sub-type attribute is usable with the following elements: <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2 and <anim:seq> 15.4.3.

The presentation:preset-sub-type attribute has the data type string 18.2.

19.413presentation:show

The presentation:show attribute specifies the name of a <presentation:show> element that is used for the presentation. If the presentation:start-page attribute is set, it overrides the value of this attribute.

The presentation:show attribute is usable with the following element: <presentation:settings> 10.9.3.7.

The presentation:show attribute has the data type string 18.2.

19.414presentation:show-end-of-presentation-slide

The presentation:show-end-of-presentation-slide attribute specifies whether an additional slide should be shown at the end of the presentation, indicating the presentation is finished.

The slide content is not defined within the document, but is implementation-defined.

The defined values for the presentation:show-end-of-presentation-slide attribute are:

The default value for this attribute is true.

The presentation:show-end-of-presentation-slide attribute is usable with the following element: <presentation:settings> 10.9.3.7.

The presentation:show-end-of-presentation-slide attribute has the data type boolean 18.3.3.

10.9.3.7.

The presentation:show-logo attribute has the data type boolean 18.3.3.

19.416presentation:source

The presentation:source attribute specifies whether the current date/time or the fixed content of the field declaration is displayed.

The presentation:source attribute is usable with the following element: <presentation:date-time-decl> 10.9.3.6.

The values of the presentation:source attribute are fixed or current-date.

19.417presentation:speed

The presentation:speed attribute specifies the speed of an effect.

The defined values for the presentation:speed attribute are:

The rates specified by these values are implementation-defined.

The default value for this attribute is medium.

The presentation:speed attribute is usable with the following elements: <presentation:event-listener> 10.9.2, <presentation:hide-shape> 10.8.5, <presentation:hide-text> 10.8.6, <presentation:play> 10.8.8, <presentation:show-shape> 10.8.3 and <presentation:show-text> 10.8.4.

The values of the presentation:speed attribute are slow, medium or fast.

19.418presentation:start-scale

The presentation:start-scale attribute specifies the start size of a shape as a percentage of its original size.

The default value for this attribute is 100%.

The presentation:start-scale attribute is usable with the following elements: <presentation:event-listener> 10.9.2, <presentation:hide-shape> 10.8.5, <presentation:hide-text> 10.8.6, <presentation:show-shape> 10.8.3 and <presentation:show-text> 10.8.4.

The presentation:start-scale attribute has the data type percent 18.3.23.

19.419presentation:start-page

The presentation:start-page attribute specifies the name of the page on which the presentation starts. If this attribute is set, it overrides the presentation:show attribute.

The presentation:start-page attribute is usable with the following element: <presentation:settings> 10.9.3.7.

The presentation:start-page attribute has the data type string 18.2.

19.420presentation:start-with-navigator

The presentation:start-with-navigator attribute specifies whether a navigator window is initially displayed during a presentation.

The defined values for the presentation:start-with-navigator attribute are:

The default value for this attribute is false.

The presentation:start-with-navigator attribute is usable with the following element: <presentation:settings> 10.9.3.7.

The presentation:start-with-navigator attribute has the data type boolean 18.3.3.

19.421presentation:stay-on-top

The presentation:stay-on-top attribute specifies whether a presentation window is displayed on top of other windows during a presentation.

The defined values for the presentation:stay-on-top attribute are:

The default value for this attribute is false.

The presentation:stay-on-top attribute is usable with the following element: <presentation:settings> 10.9.3.7.

The presentation:stay-on-top attribute has the data type boolean 18.3.3.

19.422presentation:style-name

The presentation:style-name attribute specifies a style for a presentation shape.

The value of the attribute is the name of a <style:style> element that has a family value of presentation. The formatting properties of the specified style and its parent styles are used to format the shape.

The presentation:style-name attribute is usable with the following elements: <dr3d:cube> 10.5.4, <dr3d:extrude> 10.5.6, <dr3d:rotate> 10.5.7, <dr3d:scene> 10.5.2, <dr3d:sphere> 10.5.5, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:annotation> 14.1.

The presentation:style-name attribute has the data type styleNameRef 18.3.32.

19.423presentation:transition-on-click

The presentation:transition-on-click attributes specifies whether a mouse click on a slide during a presentation triggers a transition.

The defined values for the presentation:transition-on-click attribute are:

The default value for this attribute is enabled.

The presentation:transition-on-click attribute is usable with the following element: <presentation:settings> 10.9.3.7.

The values of the presentation:transition-on-click attribute are enabled or disabled.

19.424presentation:use-date-time-name

The presentation:use-date-time-name attribute specifies the name of the <presentation:date-time-decl> that is used for all <presentation:date-time> elements that are displayed on a page.

The presentation:use-date-time-name attribute is usable with the following elements: <draw:page> 10.2.4, <presentation:notes> 16.17 and <style:handout-master> 10.2.1.

The presentation:use-date-time-name attribute has the data type string 18.2.

19.425presentation:use-footer-name

The presentation:use-footer-name attribute specifies the name of the <presentation:footer-decl> element that is used for all <presentation:footer> elements that are displayed on a page.

The presentation:use-footer-name attribute is usable with the following elements: <draw:page> 10.2.4, <presentation:notes> 16.17 and <style:handout-master> 10.2.1.

The presentation:use-footer-name attribute has the data type string 18.2.

19.426presentation:use-header-name

The presentation:use-header-name attribute specifies the name of the <presentation:header-decl> element that is used for all <presentation:header> elements that are displayed on a page.

The presentation:use-header-name attribute is usable with the following elements: <draw:page> 10.2.4, <presentation:notes> 16.17 and <style:handout-master> 10.2.1.

The presentation:use-header-name attribute has the data type string 18.2.

19.427presentation:user-transformed

The presentation:user-transformed attribute specifies whether the size and position of the shape is set by the user or is set by the corresponding presentation shape on the master page.

The defined values for the presentation:user-transformed attribute are:

The presentation:user-transformed attribute is usable with the following elements: <draw:frame> 10.4.2 and <draw:page-thumbnail> 10.3.14.

The presentation:user-transformed attribute has the data type boolean 18.3.3.

19.428presentation:verb

The presentation:verb attribute specifies the [OLE] verb that is executed for event listeners of type verb at the object that contains this event.

The presentation:verb attribute is usable with the following element: <presentation:event-listener> 10.9.2.

The presentation:verb attribute has the data type nonNegativeInteger 18.2.

19.429script:event-name

The script:event-name attribute specifies the name of an event.

Event names should begin with a namespace prefix followed by a “:” (U+003A, COLON).

Where appropriate, producers should use the event names described in [DOMEvents2]. The corresponding namespace is “http://www.w3.org/2001/xml-events”.

Note: Event names defined in [DOMEvents2] are not namespaced. If used in OpenDocument, they should be preceded by a namespace prefix as described above

Table 15 specifies events defined in [DOMEvents2] that have an equivalent event in HTML. The namespace used for these events is “http://www.w3.org/2001/xml-events”“. The namespace prefix used in this specification is “dom”.

Table  15 Script Events

Value of script:event-name Attribute

Equivalent HTML Event

Description of Event

dom:change

onchange

Occurs when a control is no longer focused and the value of the control was modified since it was given focus.

dom:DOMFocusIn

onfocus

Occurs when a control is given focus using the mouse or the TAB key.

dom:DOMFocusOut

onblur

Occurs when a control is no longer focused as a result of moving the mouse or by tabbing navigation. It may be used with the same elements as form:on-focus.

dom:mousedown

onmousedown

Occurs when a mouse button is pressed on a control.

dom:mousemove

onmousemove

Occurs when the mouse pointer is moved onto a control.

dom:mouseover

onmouseover

Occurs when the mouse pointer is moved over the control.

dom:mouseup

onmouseup

Occurs when a mouse button is released on a control.

dom:mouseout

onmouseout

Occurs when the mouse pointer is moved away from a control.

dom:reset

onreset

Occurs when a form is reset.

dom:submit

onsubmit

Occurs when a form is submitted.

The script:event-name attribute is usable with the following elements: <presentation:event-listener> 10.9.2 and <script:event-listener> 14.4.2.

The script:event-name attribute has the data type string 18.2.

19.430script:language

The attribute script:language specifies the name of a script. Script language names are implementation-dependent. The names identifying script languages should begin with by a namespace prefix, followed by a ":" (U+003A, COLON) separator. If a namespace prefix is present, the local name of the attribute value is considered to be a name in the XML namespace bound to the namespace prefix.

The script:language attribute is usable with the following elements: <office:script> 3.13, <script:event-listener> 14.4.2 and <text:script> 7.7.9.

The script:language attribute has the data type string 18.2.

19.431script:macro-name

The script:macro-name attribute specifies the name of a macro. The interpretation of the name is script language dependent.

The script:macro-name attribute is usable with the following element: <script:event-listener> 14.4.2.

The script:macro-name attribute has the data type string 18.2.

19.432smil:accelerate

See §11.1.2 of [SMIL20].

The defined range for the smil:accelerate attribute is 0 to 1, inclusive. The default value for a smil:accelerate attribute is 0.0, meaning no acceleration.

The default value for this attribute is 0.0.

The smil:accelerate attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The smil:accelerate attribute has values of type decimal 18.2 in the range [0,1].

19.433smil:accumulate

See $3.4.3 of [SMIL20].

The smil:accumulate attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The values of the smil:accumulate attribute are none or sum.

19.434smil:additive

See $3.4.3 of [SMIL20].

The smil:additive attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The values of the smil:additive attribute are replace or sum.

19.435smil:attributeName

See §3.4.1 of [SMIL20].

The defined values for the smil:attributeName attribute are:

  • charColor: animates the element's char color. 

  • charFontName: animates the element's text font. 

  • charHeight: animates the element's text height. 

  • charPosture: animates the element's text posture. 

  • charUnderline: animates the element's text underline. 

  • charWeight: animates the element's text weight. 

  • color: animates the element's color, this animates both fill,line and char color. Values can be RGB or HSL. 

  • fillColor: animates the element's fill color. 

  • fillStyle: animates the element's fill style. 

  • height: animates the element's height, values are given in screen space where 0 is no height and 1 is the same height as the screen. 

  • lineColor: animates the element's line color. 

  • lineStyle: animates the element's line style. 

  • opacity: animates the element's opacity. 

  • rotate: animates the element's rotation, this animates both the shapes and text animation. 

  • skewX: animates the element's horizontal skew. 

  • visibility: animates the element's visibility. 

  • width: animates the element's width, values are given in screen space where 0 is no width and 1 is the same width as the screen. 

  • x: animates the element's x position, values are given in screen space where 0 is the left edge and 1 is the right edge. 

  • y: animates the element's y position, values are given in screen space where 0 is the top and 1 is the bottom. 

The smil:attributeName attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3 and <anim:set> 15.2.4.

The smil:attributeName attribute has the data type string 18.2.

19.436smil:autoReverse

See §11.1.2 of [SMIL20].

The default value for this attribute is false.

The smil:autoReverse attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The smil:autoReverse attribute has the data type boolean 18.3.3.

19.437smil:begin

See §10.3.1 of [SMIL20].

The smil:begin attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The smil:begin attribute has the data type string 18.2.

19.438smil:by

See §3.4.4 of [SMIL20].

The smil:by attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3 and <anim:transitionFilter> 15.2.7.

The smil:by attribute has the data type string 18.2.

19.439smil:calcMode

See §3.4.2 and §3.7.1 of [SMIL20].

For <anim:animate> 15.2.2 and <anim:animateColor> 15.2.6 elements the default value for this attribute is discrete.

For a <anim:animateMotion> 15.2.5 element the default value for this attribute is paced.

The smil:calcMode attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5 and <anim:transitionFilter> 15.2.7.

The values of the smil:calcMode attribute are discrete, linear, paced or spline.

19.440smil:decelerate

See §11.1.2 of [SMIL20].

The defined range for the smil:decelerate attribute is 0 to 1, inclusive.

The default value for this attribute is 0.0.

The smil:decelerate attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The smil:decelerate attribute has values of type decimal 18.2 in the range [0,1].

19.441smil:direction

See §12.4.1 of [SMIL20].

For a <anim:transitionFilter> 15.2.7 element the default value for this attribute is forward.

The smil:direction attribute is usable with the following element: <anim:transitionFilter> 15.2.7.

The values of the smil:direction attribute are forward or reverse.

19.442smil:dur

See §10.3.1 of [SMIL20].

The smil:dur attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The smil:dur attribute has the data type string 18.2.

19.443smil:end

See §10.3.1 of [SMIL20].

The smil:end attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The smil:end attribute has the data type string 18.2.

19.444smil:endsync

See §10.3.1 of [SMIL20].

The smil:endsync attribute is usable with the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2 and <anim:seq> 15.4.3.

The values of the smil:endsync attribute are first, last, all, media or a value of type IDREF 18.2.

19.445smil:fadeColor

See §12.5.1 of [SMIL20].

The default value for this attribute is #000000.

The smil:fadeColor attribute is usable with the following element: <anim:transitionFilter> 15.2.7.

The smil:fadeColor attribute has the data type color 18.3.9.

19.446smil:fill

See §10.3.1 of [SMIL20].

The smil:fill attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The values of the smil:fill attribute are remove, freeze, hold, auto, default or transition.

19.447smil:fillDefault

See §10.3.1 of [SMIL20].

The smil:fillDefault attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The values of the smil:fillDefault attribute are remove, freeze, hold, transition, auto or inherit.

19.448smil:from

See §3.4.4 of [SMIL20].

The smil:from attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3 and <anim:transitionFilter> 15.2.7.

The smil:from attribute has the data type string 18.2.

19.449smil:keySplines

See $3.7.1 of [SMIL20].

The smil:keySplines attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6 and <anim:animateMotion> 15.2.5.

The smil:keySplines attribute has the data type string 18.2.

19.450smil:keyTimes

See $3.7.1 of [SMIL20].

The smil:keyTimes attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6 and <anim:animateMotion> 15.2.5.

The smil:keyTimes attribute has the data type string 18.2.

19.451smil:mode

See §12.5.1 of [SMIL20].

The default value for this attribute is in.

The smil:mode attribute is usable with the following element: <anim:transitionFilter> 15.2.7.

The values of the smil:mode attribute are in or out.

19.452smil:repeatCount

See §10.3.1 of [SMIL20].

The smil:repeatCount attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The values of the smil:repeatCount attribute are a non negative value of type decimal 18.2 or indefinite.

19.453smil:repeatDur

See §10.3.1 of [SMIL20].

The value of the smil:repeatDur attribute can be indefinite, or a clock-value as defined in $10.3.1 of SMIL

The smil:repeatDur attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The smil:repeatDur attribute has the data type string 18.2.

19.454smil:restart

See §10.3.1 of [SMIL20].

The default value for this attribute is default.

The smil:restart attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The values of the smil:restart attribute are never, always, whenNotActive or default.

19.455smil:restartDefault

See §10.3.1 of [SMIL20].

The default value for this attribute is inherit.

The smil:restartDefault attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The values of the smil:restartDefault attribute are never, always, whenNotActive or inherit.

19.456smil:subtype

See §12.4.1 of [SMIL20].

Note: See §12.8 of [SMIL20] for a list of supported subtypes.

The smil:subtype attribute is usable with the following element: <anim:transitionFilter> 15.2.7.

The smil:subtype attribute has the data type string 18.2.

19.457smil:targetElement

See §3.4.1 of [SMIL20].

Drawing shapes are specified by their xml:id or draw:id attribute values and paragraphs by their xml:id or text:id attribute values.

If the anim:sub-item attribute of a <anim:iterate> element has the value whole, the iteration includes the drawing shape's background and its text. If the anim:sub-item attribute value is text, only the shape's text is iterated.

The smil:targetElement attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The smil:targetElement attribute has the data type IDREF 18.2.

19.458smil:to

See §3.4.4 of [SMIL20].

The smil:to attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The smil:to attribute has the data type string 18.2.

19.459smil:type

The [SMIL20] smil:type attribute specifies a transition type or family.

See §12.8 of [SMIL20] for a list of supported types.

If this attribute is present, the attributes presentation:transition-type and presentation:transition-style attributes should be ignored.

The smil:type attribute is usable with the following element: <anim:transitionFilter> 15.2.7.

The smil:type attribute has the data type string 18.2.

19.460smil:values

See $3.4.2 of [SMIL20].

The smil:values attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3 and <anim:transitionFilter> 15.2.7.

The smil:values attribute has the data type string 18.2.

19.461style:adjustment

The style:adjustment attribute specifies how a footnote separator line is aligned on a page.

The defined values for the style:adjustment attribute are:

The default value for this attribute is left.

The style:adjustment attribute is usable with the following element: <style:footnote-sep> 17.4.

The values of the style:adjustment attribute are left, center or right.

19.462style:apply-style-name

The style:apply-style-name attribute specifies the style to apply when the condition specified by the style:condition attribute is true. If the referenced style is undefined or is an automatic style, an error occurs.

The referenced style shall be defined by the same type of element as the conditional style that contains the condition. If the referenced style element has a style:family attribute, its value further shall be equal the value of the style:family attribute of the conditional style.

The style:apply-style-name attribute is usable with the following element: <style:map> 16.3.

The style:apply-style-name attribute has the data type styleNameRef 18.3.32.

19.463style:auto-update

The style:auto-update attribute specifies whether styles are automatically updated when the formatting properties of an object that has the style assigned to it are changed.

The defined values for the style:auto-update attribute are:

The default value for this attribute is false.

The style:auto-update attribute is usable with the following element: <style:style> 16.2.

The style:auto-update attribute has the data type boolean 18.3.3.

19.464style:base-cell-address

The style:base-cell-address attribute specifies as an absolute cell address with a table name the base cell for relative addresses in formulas. This attribute applies only to cell styles where the condition contains a formula.

The style:base-cell-address attribute is usable with the following element: <style:map> 16.3.

The style:base-cell-address attribute has the data type cellAddress 18.3.4.

19.465style:char

The style:char attribute specifies the delimiter character for tab stops of type char.

The style:char attribute is usable with the following element: <style:tab-stop> 17.8.

The style:char attribute has the data type character 18.3.7.

19.466style:class

The style:class attribute specifies a style class name. A style class name is a string and any style may belong to any  number of classes. A style may belong to any class of styles.

The style:class attribute is usable with the following element: <style:style> 16.2.

The style:class attribute has the data type string 18.2.

19.467style:color

The style:color attribute specifies the color of a column or footnote separator line.

For a <style:column-sep> 17.14 element the default value for this attribute is #000000.

The style:color attribute is usable with the following elements: <style:column-sep> 17.14 and <style:footnote-sep> 17.4.

The style:color attribute has the data type color 18.3.9.

19.468style:condition

The style:condition attribute specifies a condition that triggers a style map.

The value of this attribute should be a namespace prefix, followed by a ":" (U+003A, COLON), followed by one of the defined conditions. If the namespace prefix is missing it defaults to the "urn:oasis:names:tc:opendocument:xmlns:of:1.2" namespace. The XML namespace that applies to the style:condition attribute specifies the syntax and semantics of any expression occurrences in the style:condition syntax.

If a consumer does not recognize a condition, it shall ignore the <style:map> element containing the condition.

The defined conditions that may be used by paragraph styles are:

Within paragraph style conditions n is a positive integer in the lexical form of the [xmlschema-2] positiveInteger datatype.

The defined conditions that may be used by table cell styles are:

 Within table cell style conditions:

The defined condition that may be used by data styles is:

  • value() op n, where, op is one of the relational operators ”<”, ”>”, ”<=”, ”>=”, “=” or ”!=”, and n is a number for non-Boolean data styles and true or false for Boolean data styles: true if the style is applied to a table cell where the cell's value compared to the value specified in the condition by n using the relational operator op evaluates to true. 

Relative cell range addresses that occur in a condition for a table cell style define an offset which shall be interpreted relative to the cell for which a condition is calculated. The offset is the same as the offsets between the table cell addressed by the relative cell range address and the table cell specified by the style:base-cell-address attribute.

An OpenDocument Consumer when hosting a formula evaluator makes available the host-dependent properties defined by table 12 in 19.644.

The style:condition attribute is usable with the following element: <style:map> 16.3.

The style:condition attribute has the data type string 18.2.

19.469style:data-style-name

19.469.1General

The style:data-style-name attribute specifies the name of a data style.

19.469.2<presentation:date-time-decl>

The style:data-style-name attribute specifies a data style to format a date and time.

The style:data-style-name attribute is usable with the following element: <presentation:date-time-decl> 10.9.3.6.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.469.3<style:style>

The style:data-style-name attribute specifies a data style for a <style:style> element that defines the styles for table cell styles and chart styles.

The style:data-style-name attribute is usable with the following element: <style:style> 16.2.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.469.4<text:creation-date>

The style:data-style-name attribute specifies a data style to format a numeric value.

The style:data-style-name attribute is usable with the following element: <text:creation-date> 7.5.3.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.469.5<text:creation-time>

The style:data-style-name attribute specifies a data style to format a numeric value.

The style:data-style-name attribute is usable with the following element: <text:creation-time> 7.5.4.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.469.6<text:database-display>

The style:data-style-name attribute specifies a data style to format a numeric value.

The style:data-style-name attribute is usable with the following element: <text:database-display> 7.6.3.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.469.7<text:date>

The style:data-style-name attribute specifies a data style to format a numeric value.

The style:data-style-name attribute is usable with the following element: <text:date> 7.3.2.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.469.8<text:editing-duration>

The style:data-style-name attribute specifies a data style to format a numeric value.

The style:data-style-name attribute is usable with the following element: <text:editing-duration> 7.5.14.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.469.9<text:expression>

The style:data-style-name attribute specifies a data style to format a field value. This attribute shall be omitted for fields whose value type is string. It shall be present for fields whose value type is not string.

The style:data-style-name attribute is usable with the following element: <text:expression> 7.4.14.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.469.10<text:meta-field>

The style:data-style-name attribute specifies a data style to format a numeric value.

The style:data-style-name attribute is usable with the following element: <text:meta-field> 7.5.19.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.469.11<text:modification-date>

The style:data-style-name attribute specifies a data style to format a numeric value.

The style:data-style-name attribute is usable with the following element: <text:modification-date> 7.5.16.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.469.12<text:modification-time>

The style:data-style-name attribute specifies a data style to format a numeric value.

The style:data-style-name attribute is usable with the following element: <text:modification-time> 7.5.15.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.469.13<text:print-date>

The style:data-style-name attribute specifies a data style to format a numeric value.

The style:data-style-name attribute is usable with the following element: <text:print-date> 7.5.8.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.469.14<text:print-time>

The style:data-style-name attribute specifies a data style to format a numeric value.

The style:data-style-name attribute is usable with the following element: <text:print-time> 7.5.7.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.469.15<text:table-formula>

The style:data-style-name attribute specifies a data style to format a numeric value.

The style:data-style-name attribute is usable with the following element: <text:table-formula> 7.7.14.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.469.16<text:time>

The style:data-style-name attribute specifies a data style to format a numeric value.

The style:data-style-name attribute is usable with the following element: <text:time> 7.3.3.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.469.17<text:user-defined>

The style:data-style-name attribute specifies a data style to format a field value. This attribute shall be omitted for fields whose value type is string. It shall be present for fields whose value type is not string.

The style:data-style-name attribute is usable with the following element: <text:user-defined> 7.5.6.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.469.18<text:user-field-get>

The style:data-style-name attribute specifies a data style to format a field value. This attribute shall be omitted for fields whose value type is string. It shall be present for fields whose value type is not string.

The style:data-style-name attribute is usable with the following element: <text:user-field-get> 7.4.9.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.469.19<text:user-field-input>

The style:data-style-name attribute specifies a data style to format a field value. This attribute shall be omitted for fields whose value type is string. It shall be present for fields whose value type is not string.

The style:data-style-name attribute is usable with the following element: <text:user-field-input> 7.4.10.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.469.20<text:variable-get>

The style:data-style-name attribute specifies a data style to format a field value. This attribute shall be omitted for fields whose value type is string. It shall be present for fields whose value type is not string.

The style:data-style-name attribute is usable with the following element: <text:variable-get> 7.4.5.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.469.21<text:variable-input>

The style:data-style-name attribute specifies a data style to format a field value. This attribute shall be omitted for fields whose value type is string. It shall be present for fields whose value type is not string.

The style:data-style-name attribute is usable with the following element: <text:variable-input> 7.4.6.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.469.22<text:variable-set>

The style:data-style-name attribute specifies a data style to format a field value. This attribute shall be omitted for fields whose value type is string. It shall be present for fields whose value type is not string.

The style:data-style-name attribute is usable with the following element: <text:variable-set> 7.4.4.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.470style:default-outline-level

The style:default-outline-level attribute specifies a default outline level for a style with the family paragraph.

If the style:default-outline-level attribute is present in a paragraph style, and if this paragraph style is assigned to a paragraph or heading by user action, then the consumer should replace the paragraph or heading with a heading of the specified level, which has the same content and attributes as the original paragraph or heading.

Note: This attribute does not modify the behavior of <text:p> or <text:h> elements, but only instructs a consumer to create one or the other when assigning a paragraph style as a result of user interface action while the document is edited.

The style:default-outline-level attribute value can be empty. If empty, this attribute does not inherit a list style value from a parent style.

The style:default-outline-level attribute is usable with the following element: <style:style> 16.2.

The values of the style:default-outline-level attribute are a value of type positiveInteger 18.2 or an empty string.

19.471style:display

The style:display attribute specifies whether the header or footer is displayed or not.

The defined values for the style:display attribute are:

The default value for this attribute is true.

The style:display attribute is usable with the following elements: <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10 and <style:header-left> 16.12.

The style:display attribute has the data type boolean 18.3.3.

19.472style:display-name

The style:display-name attribute specifies the name of a style as it should appear in the user interface. If this attribute is not present, the display name is the same as the style name.

The style:display-name attribute is usable with the following elements: <number:boolean-style> 16.27.23, <number:currency-style> 16.27.7, <number:date-style> 16.27.10, <number:number-style> 16.27.2, <number:percentage-style> 16.27.9, <number:text-style> 16.27.25, <number:time-style> 16.27.18, <style:master-page> 16.9, <style:presentation-page-layout> 16.41, <style:style> 16.2 and <text:list-style> 16.30.

The style:display-name attribute has the data type string 18.2.

19.473style:distance

The style:distance attribute specifies the distance between the last of the characters using the larger font and the first of the remaining characters of each line.

Note: If the leading characters for a paragraph span the line size of a portion of the remaining text of a paragraph, the style:distance attribute specifies the distance between the end of the text written in the larger font and the smaller text of any lines that it spans.

The default value for this attribute is 0cm.

The style:distance attribute is usable with the following element: <style:drop-cap> 17.9.

The style:distance attribute has the data type length 18.3.18.

19.474style:distance-before-sep

The style:distance-before-sep attribute specifies the space between the body text area and a footnote separator line.

The style:distance-before-sep attribute is usable with the following element: <style:footnote-sep> 17.4.

The style:distance-before-sep attribute has the data type length 18.3.18.

19.475style:distance-after-sep

The style:distance-after-sep attribute specifies the space between a footnote separator line and the footnote text.

The style:distance-after-sep attribute is usable with the following element: <style:footnote-sep> 17.4.

The style:distance-after-sep attribute has the data type length 18.3.18.

19.476style:family

The style:family attribute specifies the family of a style.

The defined values for the style:family attribute are:

The style:family attribute is usable with the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The values of the style:family attribute are text, paragraph, section, ruby, table, table-column, table-row, table-cell, graphic, presentation, drawing-page or chart.

19.477style:filter-name

The style:filter-name attribute specifies the implementation-dependent filter name that has been used to load an image into the document.

This attribute is attached to a <style:background-image> element.

The style:filter-name attribute is usable with the following element: <style:background-image> 17.3.

The style:filter-name attribute has the data type string 18.2.

19.478style:font-adornments

The style:font-adornments attributes specifies a characteristic of a font.

Note: A font characteristic includes bold or italic, which when used with a font family name, specifies a font.

The style:font-adornments attribute is usable with the following element: <style:font-face> 16.21.

The style:font-adornments attribute has the data type string 18.2.

19.479style:font-charset

The style:font-charset attribute specifies whether a font defines glyphs according to the semantics of [UNICODE] or not.

The value of this attributes can be x-symbol or a character encoding in the notation described in the §4.3.3 of [XML1.0]. If the value is x-symbol, the font does not define glyphs according to the semantics of [UNICODE]. If the value is one of the encodings or transformations of [UNICODE], the font does define glyphs according to the semantics of [UNICODE]. The use of other values is deprecated.

Note: Fonts for which the attribute has the value x-symbol may define glyphs for code points in the private use area of [UNICODE].

The style:font-charset attribute is usable with the following element: <style:font-face> 16.21.

The style:font-charset attribute has the data type textEncoding 18.3.35.

19.480style:font-family-generic

The style:font-family-generic attribute specifies a generic font family name.

The defined values for the style:font-family-generic attribute are:

The style:font-family-generic attribute is usable with the following element: <style:font-face> 16.21.

The values of the style:font-family-generic attribute are roman, swiss, modern, decorative, script or system.

19.481style:font-pitch

The style:font-pitch attribute specifies whether a font has a fixed or variable width.

The defined values for the style:font-pitch attribute are:

The style:font-pitch attribute is usable with the following element: <style:font-face> 16.21.

The values of the style:font-pitch attribute are fixed or variable.

19.482style:height

The style:height attribute specifies the height of a column separator line. The value of this attribute is a percentage of the height of the columned area.

The defined value range for the style:height attribute is 0% to 100%, inclusive.

The default value for this attribute is 100%.

The style:height attribute is usable with the following element: <style:column-sep> 17.14.

The style:height attribute has the data type zeroToHundredPercent 18.3.41.

19.483style:leader-char

The style:leader-char attribute specifies a leader character.

The style:leader-char attribute is usable with the following element: <text:index-entry-tab-stop> 8.13.6.

The style:leader-char attribute has the data type character 18.3.7.

19.484style:leader-color

The style:leader-color attribute specifies the color of a leader line. The value of this attribute is either font-color or a color. If the value is font-color, the current text color is used for the leader line.

The style:leader-color attribute is usable with the following element: <style:tab-stop> 17.8.

The values of the style:leader-color attribute are font-color or a value of type color 18.3.9.

19.485style:leader-style

The style:leader-style attribute specifies a style for a leader line.

The defined values for the style:leader-style attribute are:

Note: The definitions of the values of the style:leader-style attribute are based on the text decoration style 'text-underline-style' from [CSS3Text], §9.2.

The style:leader-style attribute is usable with the following element: <style:tab-stop> 17.8.

The values of the style:leader-style attribute are none, solid, dotted, dash, long-dash, dot-dash, dot-dot-dash or wave.

19.486style:leader-text

The style:leader-text attribute specifies a single Unicode character for use as leader text for tab stops.

An consumer may support only specific characters as textual leaders. If a character that is not supported by a consumer is specified by this attribute, the consumer should display a leader character that it supports instead of the one specified by this attribute.

If both style:leader-text and style:leader-style attributes are specified, the value of the style:leader-text sets the leader text for tab stops.

The default value for this attribute is “ “ (U+0020, SPACE).

The style:leader-text attribute is usable with the following element: <style:tab-stop> 17.8.

The style:leader-text attribute has the data type character 18.3.7.

19.487style:leader-text-style

The style:leader-text-style specifies a text style that is applied to a textual leader. It is not applied to leader lines. If the attribute appears in an automatic style, it may reference either an automatic text style or a common style. If the attribute appears in a common style, it may reference a common style only.

The style:leader-text-style attribute is usable with the following element: <style:tab-stop> 17.8.

The style:leader-text-style attribute has the data type styleNameRef 18.3.32.

19.488style:leader-type

The style:leader-type attribute specifies whether a leader line should be drawn, and if so, whether a single or double line will be used.

The defined values for the style:leader-type attribute are:

The style:leader-type attribute is usable with the following element: <style:tab-stop> 17.8.

The values of the style:leader-type attribute are none, single or double.

19.489style:leader-width

The style:leader-width attribute specifies the width of a leader line.

The defined values for the style:leader-width attribute are:

The line widths referenced by the values medium, normal, thick and thin are implementation-defined.

The style:leader-width attribute is usable with the following element: <style:tab-stop> 17.8.

The values of the style:leader-width attribute are auto, normal, bold, thin, medium, thick, a value of type positiveInteger 18.2, a value of type percent 18.3.23 or a value of type positiveLength 18.3.26.

19.490style:legend-expansion

The style:legend-expansion attribute specifies the direction in which a legend expands .

The defined values for the style:legend-expansion attribute are:

The style:legend-expansion attribute is usable with the following element: <chart:legend> 11.3.

The values of the style:legend-expansion attribute are wide, high, balanced or custom.

19.491style:legend-expansion-aspect-ratio

The style:legend-expansion-aspect-ratio attribute specifies the ratio between width and height for a style:legend-expansion attribute with value custom.

The style:legend-expansion-aspect-ratio attribute is usable with the following element: <chart:legend> 11.3.

The style:legend-expansion-aspect-ratio attribute has the data type double 18.2.

19.492style:length

The style:length attribute specifies the number of characters that are displayed in a larger font.

The defined values for the style:length attribute are:

Note: What will be treated as a “word” by a consumer is locale specific.

The default value for this attribute is 1.

The style:length attribute is usable with the following element: <style:drop-cap> 17.9.

The values of the style:length attribute are word or a value of type positiveInteger 18.2.

19.493style:line-style

The style:line-style attribute specifies the style of a footnote separator line.

The defined value for the style:line-style attribute is none: no footnote separator line is drawn.

The footnote separator components referenced by the values dash, dot-dash, dot-dot-dash, dotted, long-dash, solid and wave, are implementation-defined.

The style:line-style attribute is usable with the following element: <style:footnote-sep> 17.4.

The values of the style:line-style attribute are none, solid, dotted, dash, long-dash, dot-dash, dot-dot-dash or wave.

19.494style:lines

The style:lines attribute specifies the number of text lines which a font spans. If the value of this attribute is 1, <style:drop-cap> is disabled.

The default value for this attribute is 1.

The style:lines attribute is usable with the following element: <style:drop-cap> 17.9.

The style:lines attribute has the data type positiveInteger 18.2.

19.495style:list-level

The style:list-level attribute specifies the list level value of a list style that may be applied to any paragraph style. It does not directly specify the paragraph's list level value, but consumers can change the paragraph's list level value to the specified value when the paragraph style is applied. It is valid only if the style:list-style-name attribute is specified and is not empty, and if the style:family attribute has the value paragraph.

The style:list-level attribute is usable with the following element: <style:style> 16.2.

The values of the style:list-level attribute are a value of type positiveInteger 18.2 or an empty string.

19.496style:list-style-name

The style:list-style-name attribute specifies a list style for style families with paragraph formatting properties. This applies to automatic and common styles.

The list style specified by this attribute is applied to headings and paragraphs that are contained in a list, where the list does not specify a list style itself, and the list has no list style specification for any of its parents.

The style:list-style-name attribute value can be empty. If empty, this attribute does not inherit a list style value from a parent style.

The style:list-style-name attribute is usable with the following element: <style:style> 16.2.

The values of the style:list-style-name attribute are a value of type styleName 18.3.31 or an empty string.

19.497style:master-page-name

The style:master-page-name attribute defines a master page for a paragraph or table style. This applies to automatic and common styles.

If this attribute is associated with a style, a page break is inserted when the style is applied and the specified master page is applied to the resulting page.

This attribute is ignored if it is associated with a paragraph style that is applied to a paragraph within a table.

The style:master-page-name attribute is usable with the following element: <style:style> 16.2.

The style:master-page-name attribute has the data type styleNameRef 18.3.32.

19.498style:name

19.498.1General

The style:name attribute specifies names that reference style mechanisms.

19.498.2<number:boolean-style>, <number:currency-style>, <number:date-style>, <number:number-style>, <number:percentage-style>, <number:text-style>, <number:time-style>, <style:master-page>, <style:page-layout>, <style:presentation-page-layout>, <style:style>, <text:list-style>, <text:outline-style>

The style:name attribute specifies the name of a:

For automatic styles, the name may be generated by OpenDocument producers. For each style family or style element, producers should generate distinct sets of names for automatic styles stored in the content.xml 3.1.3.2 and styles.xml 3.1.3.3 files. The names should also be distinct from the names used in the <office:styles> element inside the styles.xml files.

Note: If the document is produced multiple times, it cannot be assumed that the same name is generated each time.

The style:name attribute is usable with the following elements: <number:boolean-style> 16.27.23, <number:currency-style> 16.27.7, <number:date-style> 16.27.10, <number:number-style> 16.27.2, <number:percentage-style> 16.27.9, <number:text-style> 16.27.25, <number:time-style> 16.27.18, <style:master-page> 16.9, <style:page-layout> 16.5, <style:presentation-page-layout> 16.41, <style:style> 16.2, <text:list-style> 16.30 and <text:outline-style> 16.34.

The style:name attribute has the data type styleName 18.3.31.

19.498.3<style:font-face>

The style:name attribute specifies a unique name for a font declaration. This name can be used inside styles as an attribute of the <style:text-properties> element) as the value of a style:font-name attribute to immediately select a font face declaration.

The style:name attribute is usable with the following element: <style:font-face> 16.21.

The style:name attribute has the data type string 18.2.

19.499style:next-style-name

19.499.1General

The style:next-style-name attribute specifies a style to be used with pages and paragraphs.

19.499.2<style:master-page>

The style:next-style-name attribute specifies the name of the master page that is used for the next page if the current page is entirely filled. If the next style name is not specified, the current master page is used for the next page. The value of this attribute shall be the name of a <style:master-page> element.

The style:next-style-name attribute is usable with the following element: <style:master-page> 16.9.

The style:next-style-name attribute has the data type styleNameRef 18.3.32.

19.499.3<style:style>

Within styles for paragraphs, style:next-style-name attribute specifies the style to be used for the next paragraph if a paragraph break is inserted in the user interface. By default, the current style is used as the next style.

The style:next-style-name attribute is usable with the following element: <style:style> 16.2.

The style:next-style-name attribute has the data type styleNameRef 18.3.32.

19.500style:num-format

The style:num-format attribute specifies a numbering sequence.

The defined values for the style:num-format attribute are:

If no value is given, no number sequence is displayed.

The style:num-format attribute is usable with the following elements: <text:character-count> 7.5.18.5, <text:database-row-number> 7.6.6, <text:image-count> 7.5.18.7, <text:linenumbering-configuration> 16.29.1, <text:list-level-style-number> 16.32, <text:notes-configuration> 16.29.3, <text:object-count> 7.5.18.8, <text:outline-level-style> 16.35, <text:page-count> 7.5.18.2, <text:page-number> 7.3.4, <text:page-variable-get> 7.7.1.3, <text:paragraph-count> 7.5.18.3, <text:sequence> 7.4.13, <text:table-count> 7.5.18.6 and <text:word-count> 7.5.18.4.

The values of the style:num-format attribute are 1, i, I, a value of type string 18.2, an empty string, a or A.

19.501style:num-letter-sync

The style:num-letter-sync attribute specifies whether letter synchronization shall take place. If letters are used in alphabetical order for numbering, there are two ways to process overflows within a digit, as follows:

The style:num-letter-sync attribute is usable with the following elements: <text:character-count> 7.5.18.5, <text:database-row-number> 7.6.6, <text:image-count> 7.5.18.7, <text:linenumbering-configuration> 16.29.1, <text:list-level-style-number> 16.32, <text:notes-configuration> 16.29.3, <text:object-count> 7.5.18.8, <text:outline-level-style> 16.35, <text:page-count> 7.5.18.2, <text:page-number> 7.3.4, <text:page-variable-get> 7.7.1.3, <text:paragraph-count> 7.5.18.3, <text:sequence> 7.4.13, <text:table-count> 7.5.18.6 and <text:word-count> 7.5.18.4.

The style:num-letter-sync attribute has the data type boolean 18.3.3.

19.502style:num-prefix

The style:num-prefix attribute specifies what to display before a number.

If the style:num-prefix and style:num-suffix values do not contain any character that has a Unicode category of Nd, Nl, No, Lu, Ll, Lt, Lm or Lo, an [XSLT] format attribute can be created from the OpenDocument attributes by concatenating the values of the style:num-prefix, style:num-format, and style:num-suffix attributes.

The style:num-prefix attribute can also specify a character before the value of a text:bullet-char attribute.

The style:num-prefix attribute is usable with the following elements: <text:list-level-style-bullet> 16.31, <text:list-level-style-number> 16.32, <text:notes-configuration> 16.29.3 and <text:outline-level-style> 16.35.

The style:num-prefix attribute has the data type string 18.2.

19.503style:num-suffix

The style:num-prefix and style:num-suffix attributes specify what to display before and after the number.

If the style:num-prefix and style:num-suffix values do not contain any character that has a Unicode category of Nd, Nl, No, Lu, Ll, Lt, Lm or Lo, an [XSLT] format attribute can be created from the OpenDocument attributes by concatenating the values of the style:num-prefix, style:num-format, and style:num-suffix attributes.

The style:num-suffix attribute can also specify a character after the value of a text:bullet-char attribute.

The style:num-suffix attribute is usable with the following elements: <text:list-level-style-bullet> 16.31, <text:list-level-style-number> 16.32, <text:notes-configuration> 16.29.3 and <text:outline-level-style> 16.35.

The style:num-suffix attribute has the data type string 18.2.

19.504style:page-layout-name

The style:page-layout-name attribute specifies a page layout style that contains sizes, border and orientation attributes.

The style:page-layout-name attribute is usable with the following elements: <presentation:notes> 16.17, <style:handout-master> 10.2.1 and <style:master-page> 16.9.

The style:page-layout-name attribute has the data type styleNameRef 18.3.32.

19.505style:page-usage

The style:page-usage attribute specifies the type of pages that a page master should generate.

The defined values for the style:page-usage attribute are:

The default value for this attribute is all.

The style:page-usage attribute is usable with the following element: <style:page-layout> 16.5.

The values of the style:page-usage attribute are all, left, right or mirrored.

19.506style:parent-style-name

The style:parent-style-name attribute specifies the name of a parent style. The parent style cannot be an automatic style and shall exist.

If a parent style is not specified, the default style which has the same family as the current style is used.

The style:parent-style-name attribute is usable with the following element: <style:style> 16.2.

The style:parent-style-name attribute has the data type styleNameRef 18.3.32.

19.507style:percentage-data-style-name

The style:percentage-data-style-name attribute references the name of a percentage data style.

This attribute should be used together with chart:data-label-number attribute when the chart:data-label-number attribute has the value percentage or the value value-and-percentage.

The style:percentage-data-style-name attribute is usable with the following element: <style:style> 16.2.

The style:percentage-data-style-name attribute has the data type styleNameRef 18.3.32.

19.508style:position

19.508.1General

This attribute defines a position.

19.508.2<style:background-image>

The style:position attribute specifies the position of a background image. Its value can be a space separated combination of top, center or bottom for the vertical position and left, center or right for the horizontal position. The vertical and horizontal positions can be specified in any order. If one position is specified, the other position defaults to center.

For a <style:background-image> 17.3 element the default value for this attribute is center.

The style:position attribute is usable with the following element: <style:background-image> 17.3.

The values of the style:position attribute are left, center, right, top, bottom, or two white space separated values, that may appear in any order. One of these values is one of: left, center or right. The other value is one of: top, center or bottom.

19.508.3<style:tab-stop>

The style:position attribute specifies the position of a tab stop. Depending on the value of the text:relative-tab-stop-position attribute in the <text:table-of-content-source>, <text:illustration-index-source>, <text:object-index-source>, <text:user-index-source> or <text:alphabetical-index-source> parent element, the position of the tab is interpreted as being relative to the left margin or the left indent.

The style:position attribute is usable with the following element: <style:tab-stop> 17.8.

The style:position attribute has the data type length 18.3.18.

19.508.4<text:index-entry-tab-stop>

The style:position attribute specifies the position of a tab stop. If the value of the style:type attribute is left, then this attribute shall be present. Otherwise, it shall be omitted.

Depending on the value of the text:relative-tab-stop-position attribute in the <text:table-of-content-source>, <text:illustration-index-source>, <text:object-index-source>, <text:user-index-source> or <text:alphabetical-index-source> parent element, the position of the tab is interpreted as being relative to the left margin or the left indent.

The style:position attribute is usable with the following element: <text:index-entry-tab-stop> 8.13.6.

The style:position attribute has the data type length 18.3.18.

19.509style:rel-height

The style:rel-height attribute specifies height of a drawing object as a relative value within a frame.

The defined values for the style:rel-height attribute are:

The interpretation of percentage values depends on the anchor of the drawing object. If the anchor for the drawing object is in a table cell, the percentage value is relative to the surrounding table box. If the anchor for the drawing object is in a text box, the percentage value is relative to the surrounding text box. In other cases, the percentage values is relative to the width of the page or window.

To support consumers that do not support relative width and heights, producers should also provide the height in svg:height and fo:min-height attributes.

The style:rel-height attribute is usable with the following element: <draw:frame> 10.4.2.

The values of the style:rel-height attribute are a value of type percent 18.3.23, scale or scale-min.

19.510style:rel-width

19.510.1General

The style:rel-width attribute specifies widths.

19.510.2<draw:frame>

The style:rel-width attribute specifies the width of a drawing object as a relative value within a frame.

The defined values for the style:rel-width attribute are:

The interpretation of percentage values depends on the anchor of the drawing object. If the anchor for the drawing object is in a table cell, the percentage value is relative to the surrounding table box. If the anchor for the drawing object is in a text box, the percentage value is relative to the surrounding text box. In other cases, the percentage values is relative to the width of the page or window.

To support consumers that do not support relative width, producers should also provide the width and heights in the svg:width and fo:min-width attributes.

The style:rel-width attribute is usable with the following element: <draw:frame> 10.4.2.

The values of the style:rel-width attribute are a value of type percent 18.3.23, scale or scale-min.

19.510.3<style:column>

The style:rel-width attribute specifies the width of a column.

 Column widths are specified as relative widths, that is, a number followed by a "*" (U+002A, ASTERISK) character. The total space available for the entire table is distributed among its columns according to its relative width.

The style:rel-width attribute is usable with the following element: <style:column> 17.13.

The style:rel-width attribute has the data type relativeLength 18.3.27.

19.510.4<style:footnote-sep>

The style:rel-width attribute specifies the length of the footnote separator line as a percentage of the body text area.

The style:rel-width attribute is usable with the following element: <style:footnote-sep> 17.4.

The style:rel-width attribute has the data type percent 18.3.23.

19.511style:repeat

The style:repeat attribute specifies if an image can be repeated or stretched over an area.

The defined values for the style:repeat attribute are:

For a <style:background-image> 17.3 element the default value for this attribute is repeat.

The style:repeat attribute is usable with the following element: <style:background-image> 17.3.

The values of the style:repeat attribute are no-repeat, repeat or stretch.

19.512style:rfc-language-tag

The style:rfc-language-tag attribute specifies a language identifier according to the rules of [RFC5646], or its successors.

It shall only be used if its value can not be expressed as a valid combination of the fo:language, fo:script and fo:country attributes.

Producers may add support for consumers that don't support the style:rfc-language-tag attribute by specifying fo:language, fo:script and fo:country attributes with values that are implementation-dependent.

The style:rfc-language-tag attribute is usable with the following elements: <text:alphabetical-index-source> 8.8.2 and <text:bibliography-configuration> 16.29.6.

The style:rfc-language-tag attribute has the data type language 18.3.16.

19.513style:style

The style:style attribute specifies the line style of a column separator line.

The defined values for the style:style attribute are:

The default value for this attribute is solid.

The style:style attribute is usable with the following element: <style:column-sep> 17.14.

The values of the style:style attribute are none, solid, dotted, dashed or dot-dashed.

19.514style:style-name

The style:style-name attribute specifies the text style to apply to characters specified by a <style:drop-cap> element.

The style:style-name attribute is usable with the following element: <style:drop-cap> 17.9.

The style:style-name attribute has the data type styleNameRef 18.3.32.

19.515style:type

19.515.1General

The style:type attribute specifies a tab stop type.

19.515.2<text:index-entry-tab-stop>

The style:type attribute specifies the type of a tab stop. If the value of this attribute is left, the style:position attribute shall also be present. Otherwise, this attribute shall be omitted.

The defined values for the style:type attribute are:

The style:type attribute is usable with the following element: <text:index-entry-tab-stop> 8.13.6.

The values of the style:type attribute are right or left.

19.515.3<style:tab-stop>

The style:type attribute specifies the type of a tab stop.

The defined values for the style:type attribute are:

The style:type attribute is usable with the following element: <style:tab-stop> 17.8.

The values of the style:type attribute are left, center, right or char.

For a <style:tab-stop> 17.8 element the default value for this attribute is left.

19.516style:vertical-align

The style:vertical-align attribute specifies how to vertically align a line that is less than 100% of its height within the columned area. The value of this attribute can be either top, middle, or bottom.

The defined values for the style:vertical-align attribute are:

For a <style:column-sep> 17.14 element the default value for this attribute is top.

The style:vertical-align attribute is usable with the following element: <style:column-sep> 17.14.

The values of the style:vertical-align attribute are top, middle or bottom.

19.517style:volatile

The style:volatile attribute specifies whether unused style in a document are retained or discarded by consumers.

The defined values for the style:volatile attribute are:

The style:volatile attribute is usable with the following elements: <number:boolean-style> 16.27.23, <number:currency-style> 16.27.7, <number:date-style> 16.27.10, <number:number-style> 16.27.2, <number:percentage-style> 16.27.9, <number:text-style> 16.27.25 and <number:time-style> 16.27.18.

The style:volatile attribute has the data type boolean 18.3.3.

19.518style:width

19.518.1General

The style:width attribute specifies a width.

19.518.2<style:column-sep>

The style:width attribute specifies the width of a column separation.

The style:width attribute is usable with the following element: <style:column-sep> 17.14.

The style:width attribute has the data type length 18.3.18.

19.518.3<style:footnote-sep>

The style:width attribute width or thickness of a line.

The style:width attribute is usable with the following element: <style:footnote-sep> 17.4.

The style:width attribute has the data type length 18.3.18.

19.519svg:accent-height

See §20.8.3 of [SVG].

The svg:accent-height attribute is usable with the following element: <style:font-face> 16.21.

The svg:accent-height attribute has the data type integer 18.2.

19.520svg:alphabetic

See §20.8.3 of [SVG].

The svg:alphabetic attribute is usable with the following element: <style:font-face> 16.21.

The svg:alphabetic attribute has the data type integer 18.2.

19.521svg:ascent

See §20.8.3 of [SVG].

The svg:ascent attribute is usable with the following element: <style:font-face> 16.21.

The svg:ascent attribute has the data type integer 18.2.

19.522svg:bbox

See §20.8.3 of [SVG].

The svg:bbox attribute is usable with the following element: <style:font-face> 16.21.

The svg:bbox attribute has the data type string 18.2.

19.523svg:cap-height

See §20.8.3 of [SVG].

The svg:cap-height attribute is usable with the following element: <style:font-face> 16.21.

The svg:cap-height attribute has the data type integer 18.2.

19.524svg:cx

19.524.1<draw:area-circle>

The svg:cx attribute defines the x-axis coordinate of the center of a circular image map area.

The svg:cx attribute is usable with the following element: <draw:area-circle> 10.4.13.4.

The svg:cx attribute has the data type coordinate 18.3.10.

19.524.2<draw:circle>

See §9.3 of [SVG].

The svg:cx attribute is usable with the following element: <draw:circle> 10.3.8.

The svg:cx attribute has the data type coordinate 18.3.10.

19.524.3<draw:ellipse>

See §9.4 of [SVG].

The svg:cx attribute is usable with the following element: <draw:ellipse> 10.3.9.

The svg:cx attribute has the data type coordinate 18.3.10.

19.524.4<svg:radialGradient>

See §13.3.2 of [SVG].

For a <svg:radialGradient> 16.40.3 element the default value for this attribute is 50%.

The svg:cx attribute is usable with the following element: <svg:radialGradient> 16.40.3.

The values of the svg:cx attribute are a value of type coordinate 18.3.10 or a value of type percent 18.3.23.

19.525svg:cy

19.525.1<draw:area-circle>

The svg:cy attribute defines the y-axis coordinate of the center of a circular image map area.

The svg:cy attribute is usable with the following element: <draw:area-circle> 10.4.13.4.

The svg:cy attribute has the data type coordinate 18.3.10.

19.525.2<draw:circle>

See §9.3 of [SVG].

The svg:cy attribute is usable with the following element: <draw:circle> 10.3.8.

The svg:cy attribute has the data type coordinate 18.3.10.

19.525.3<draw:ellipse>

See §9.4 of [SVG].

The svg:cy attribute is usable with the following element: <draw:ellipse> 10.3.9.

The svg:cy attribute has the data type coordinate 18.3.10.

19.525.4<svg:radialGradient>

See §13.3.2 of [SVG].

For a <svg:radialGradient> 16.40.3 element the default value for this attribute is 50%.

The svg:cy attribute is usable with the following element: <svg:radialGradient> 16.40.3.

The values of the svg:cy attribute are a value of type coordinate 18.3.10 or a value of type percent 18.3.23.

19.526svg:d

See §8 of [SVG].

The svg:d attribute is usable with the following elements: <dr3d:extrude> 10.5.6, <dr3d:rotate> 10.5.7, <draw:connector> 10.3.10, <draw:contour-path> 10.4.11.3, <draw:marker> 16.40.8 and <draw:path> 10.3.7.

The svg:d attribute has the data type pathData 18.3.22.

19.527svg:descent

See §20.8.3 of [SVG].

The svg:descent attribute is usable with the following element: <style:font-face> 16.21.

The svg:descent attribute has the data type integer 18.2.

19.528svg:font-family

See §20.8.3 of [SVG].

The svg:font-family attribute is usable with the following element: <style:font-face> 16.21.

The svg:font-family attribute has the data type string 18.2.

19.529svg:font-size

See §20.8.3 of [SVG].

The svg:font-size attribute is usable with the following element: <style:font-face> 16.21.

The svg:font-size attribute has the data type positiveLength 18.3.26.

19.530svg:font-stretch

See §20.8.3 of [SVG].

The svg:font-stretch attribute is usable with the following element: <style:font-face> 16.21.

The values of the svg:font-stretch attribute are normal, ultra-condensed, extra-condensed, condensed, semi-condensed, semi-expanded, expanded, extra-expanded or ultra-expanded.

19.531svg:font-style

See §20.8.3 of [SVG].

The svg:font-style attribute is usable with the following element: <style:font-face> 16.21.

The values of the svg:font-style attribute are normal, italic or oblique.

19.532svg:font-variant

See §20.8.3 of [SVG].

The svg:font-variant attribute is usable with the following element: <style:font-face> 16.21.

The values of the svg:font-variant attribute are normal or small-caps.

19.533svg:font-weight

See §20.8.3 of [SVG].

The svg:font-weight attribute is usable with the following element: <style:font-face> 16.21.

The values of the svg:font-weight attribute are normal, bold, 100, 200, 300, 400, 500, 600, 700, 800 or 900.

19.534svg:fx

See §13.2.3 of [SVG].

The svg:fx attribute is usable with the following element: <svg:radialGradient> 16.40.3.

The values of the svg:fx attribute are a value of type coordinate 18.3.10 or a value of type percent 18.3.23.

19.535svg:fy

See §13.2.3 of [SVG].

The svg:fy attribute is usable with the following element: <svg:radialGradient> 16.40.3.

The values of the svg:fy attribute are a value of type coordinate 18.3.10 or a value of type percent 18.3.23.

19.536svg:gradientTransform

See §13.2.2 and §13.2.3 of [SVG].

The svg:gradientTransform attribute is usable with the following elements: <svg:linearGradient> 16.40.2 and <svg:radialGradient> 16.40.3.

The svg:gradientTransform attribute has the data type string 18.2.

19.537svg:gradientUnits

See §13.2.2 and §13.2.3 of [SVG].

The default value for this attribute is objectBoundingBox.

The svg:gradientUnits attribute is usable with the following elements: <svg:linearGradient> 16.40.2 and <svg:radialGradient> 16.40.3.

The only value of the svg:gradientUnits attribute is objectBoundingBox.

19.538svg:hanging

See §20.8.3 of [SVG].

The svg:hanging attribute is usable with the following element: <style:font-face> 16.21.

The svg:hanging attribute has the data type integer 18.2.

19.539svg:height

19.539.1<chart:chart>

The svg:height attribute defines the height of the entire chart. If it is omitted, the size of the chart is determined by the size of the window in which the chart is displayed.

The svg:height attribute is usable with the following element: <chart:chart> 11.1.

The svg:height attribute has the data type length 18.3.18.

19.539.2<chart:plot-area>

The svg:height attribute defines the height of the plot-area.

The svg:height attribute is usable with the following element: <chart:plot-area> 11.4.

The svg:height attribute has the data type length 18.3.18.

19.539.3<dr3d:scene>

See 19.539.8.

The svg:height attribute is usable with the following element: <dr3d:scene> 10.5.2.

The svg:height attribute has the data type length 18.3.18.

19.539.4<draw:area-polygon>

The svg:height attribute defines the height of a polygonal image map area's bounding box.

The svg:height attribute is usable with the following element: <draw:area-polygon> 10.4.13.5.

The svg:height attribute has the data type length 18.3.18.

19.539.5<draw:area-rectangle>

The svg:height attribute defines the height of a rectangular image map area.

The svg:height attribute is usable with the following element: <draw:area-rectangle> 10.4.13.3.

The svg:height attribute has the data type length 18.3.18.

19.539.6<draw:contour-polygon>, <draw:contour-path>

The svg:height attribute defines the height of a contour's bounding box.

The svg:height attribute is usable with the following elements: <draw:contour-path> 10.4.11.3 and <draw:contour-polygon> 10.4.11.2.

The svg:height attribute has the data type length 18.3.18.

19.539.7<draw:fill-image>

The svg:height attribute may be used to specify the height of a linked image. Its value is overridden by the height of the linked image resource.

Note: This attribute can be used to estimate the size of a fill image without loading the image data.

The svg:height attribute is usable with the following element: <draw:fill-image> 16.40.6.

The svg:height attribute has the data type length 18.3.18.

19.539.8<draw:caption>, <draw:custom-shape>, <draw:circle>, <draw:control>, <draw:ellipse>, <draw:frame>, <draw:rect>, <draw:page-thumbnail>, <draw:path>, <draw:polygon>, <draw:polyline>, <draw:regular-polygon>

See §5.1.2 of [SVG]. For drawing shapes that have a non rectangular shape, the length refers to the drawing shape's bounding box.

If the svg:width and svg:height attributes specify different values for a <draw:circle> element, the radius of the circle is derived from the smaller of the two values, and the circle is centered within the bounding box.

The svg:height attribute is usable with the following elements: <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2 and <draw:regular-polygon> 10.3.6.

The svg:height attribute has the data type length 18.3.18.

19.539.9<office:annotation>

The svg:height attribute specifies the height of the rectangular which displays the annotation. Its meaning is the same as for a <draw:caption> element. See 19.571.10.

The svg:height attribute is usable with the following element: <office:annotation> 14.1.

The svg:height attribute has the data type length 18.3.18.

19.539.10<presentation:placeholder>

See 19.571.10. Percentage values are relative to the height of the drawing page.

The svg:height attribute is usable with the following element: <presentation:placeholder> 16.42.

The values of the svg:height attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

19.540svg:ideographic

See §20.8.3 of [SVG].

The svg:ideographic attribute is usable with the following element: <style:font-face> 16.21.

The svg:ideographic attribute has the data type integer 18.2.

19.541svg:mathematical

See §20.8.3 of [SVG].

The svg:mathematical attribute is usable with the following element: <style:font-face> 16.21.

The svg:mathematical attribute has the data type integer 18.2.

19.542svg:name

See §20.8.3 of [SVG].

The svg:name attribute is usable with the following element: <svg:font-face-name> 16.23.

The svg:name attribute has the data type string 18.2.

19.543svg:offset

See §13.2.4 of [SVG].

The svg:offset attribute is usable with the following element: <svg:stop> 16.40.4.

The values of the svg:offset attribute are a value of type double 18.2 or a value of type percent 18.3.23.

19.544svg:origin

See §19.2.12 of [SVG].

Note: SVG relies upon the definition of origin in SMIL, see: http://www.w3.org/TR/2001/REC-smil-animation-20010904/#MotionOriginAttribute.

The svg:origin attribute is usable with the following element: <anim:animateMotion> 15.2.5.

The svg:origin attribute has the data type string 18.2.

19.545svg:overline-position

See §20.8.3 of [SVG].

The svg:overline-position attribute is usable with the following element: <style:font-face> 16.21.

The svg:overline-position attribute has the data type integer 18.2.

19.546svg:overline-thickness

See §20.8.3 of [SVG].

The svg:overline-thickness attribute is usable with the following element: <style:font-face> 16.21.

The svg:overline-thickness attribute has the data type integer 18.2.

19.547svg:panose-1

See §20.8.3 of [SVG].

The svg:panose-1 attribute is usable with the following element: <style:font-face> 16.21.

The svg:panose-1 attribute has the data type string 18.2.

19.548svg:path

See §19.2.12 of [SVG].

The svg:path attribute is usable with the following element: <anim:animateMotion> 15.2.5.

The svg:path attribute has the data type pathData 18.3.22.

19.549svg:r

19.549.1<draw:area-circle>

The svg:r attribute defines the radius of a circular image map area.

The svg:r attribute is usable with the following element: <draw:area-circle> 10.4.13.4.

The svg:r attribute has the data type length 18.3.18.

19.549.2<draw:circle>

The svg:r attribute defines the radius of a circle. The use of this attribute is defined by §9.3 of [SVG].

Note: If a <draw:circle> element does not have a value for the svg:r attribute, then its svg:x, svg:y, svg:height, and svg:width attributes can be used to define the geometry of a circle.

The svg:r attribute is usable with the following element: <draw:circle> 10.3.8.

The svg:r attribute has the data type length 18.3.18.

19.549.3<svg:radialGradient>

See §13.2.3 of [SVG].

For a <svg:radialGradient> 16.40.3 element the default value for this attribute is 50%.

The svg:r attribute is usable with the following element: <svg:radialGradient> 16.40.3.

The values of the svg:r attribute are a value of type coordinate 18.3.10 or a value of type percent 18.3.23.

19.550svg:rx

See §9.4 of[SVG].

The svg:rx and svg:ry attributes can be used to round off the corners of a rectangle. The svg:rx attribute specifies the x-axis radius of the ellipse used to round off the corners of a rectangle. The svg:ry attribute specifies the y-axis radius of that ellipse. If only the svg:rx attribute is present then its value will be used for svg:ry. If only a svg:ry attribute is present then its value will be used for svg:rx.

For use of this attribute with <draw:rect> see §9.2 of [SVG].

For use of this attribute with <draw:ellipse> see §9.4 of [SVG].

The svg:rx attribute is usable with the following elements: <draw:ellipse> 10.3.9 and <draw:rect> 10.3.2.

The svg:rx attribute has the data type nonNegativeLength 18.3.20.

19.551svg:ry

See §9.4 of [SVG].

The svg:rx and svg:ry attributes can be used to round off the corners of a rectangle. The svg:rx attribute specifies the x-axis radius of the ellipse used to round off the corners of a rectangle. The svg:ry attribute specifies the y-axis radius of that ellipse. If only the svg:rx attribute is present then its value will be used for svg:ry. If only a svg:ry attribute is present then its value will be used for svg:rx.

The svg:ry attribute is usable with the following elements: <draw:ellipse> 10.3.9 and <draw:rect> 10.3.2.

The svg:ry attribute has the data type nonNegativeLength 18.3.20.

19.552svg:slope

See §20.8.3 of [SVG].

The svg:slope attribute is usable with the following element: <style:font-face> 16.21.

The svg:slope attribute has the data type integer 18.2.

19.553svg:spreadMethod

See §13.2.2 and §13.2.3 of [SVG].

The default value for this attribute is pad.

The svg:spreadMethod attribute is usable with the following elements: <svg:linearGradient> 16.40.2 and <svg:radialGradient> 16.40.3.

The values of the svg:spreadMethod attribute are pad, reflect or repeat.

19.554svg:stemh

See §20.8.3 of [SVG].

The svg:stemh attribute is usable with the following element: <style:font-face> 16.21.

The svg:stemh attribute has the data type integer 18.2.

19.555svg:stemv

See §20.8.3 of [SVG].

The svg:stemv attribute is usable with the following element: <style:font-face> 16.21.

The svg:stemv attribute has the data type integer 18.2.

19.556svg:stop-color

See §13.2.4 of [SVG].

The svg:stop-color attribute is usable with the following element: <svg:stop> 16.40.4.

The svg:stop-color attribute has the data type color 18.3.9.

19.557svg:stop-opacity

See §13.2.4 of [SVG].

The svg:stop-opacity attribute is usable with the following element: <svg:stop> 16.40.4.

The svg:stop-opacity attribute has the data type double 18.2.

19.558svg:strikethrough-position

See §20.8.3 of [SVG].

The svg:strikethrough-position attribute is usable with the following element: <style:font-face> 16.21.

The svg:strikethrough-position attribute has the data type integer 18.2.

19.559svg:strikethrough-thickness

See §20.8.3 of [SVG].

The svg:strikethrough-thickness attribute is usable with the following element: <style:font-face> 16.21.

The svg:strikethrough-thickness attribute has the data type integer 18.2.

19.560svg:string

See §20.8.3 of [SVG].

The svg:string attribute is usable with the following element: <svg:font-face-format> 16.26.

The svg:string attribute has the data type string 18.2.

19.561svg:type

See §19.2.14 of [SVG].

The svg:type attribute is usable with the following element: <anim:animateTransform> 15.2.3.

The values of the svg:type attribute are translate, scale, rotate, skewX or skewY.

19.562svg:underline-position

See §20.8.3 of [SVG].

The svg:underline-position attribute is usable with the following element: <style:font-face> 16.21.

The svg:underline-position attribute has the data type integer 18.2.

19.563svg:underline-thickness

See §20.8.3 of [SVG].

The svg:underline-thickness attribute is usable with the following element: <style:font-face> 16.21.

The svg:underline-thickness attribute has the data type integer 18.2.

19.564svg:unicode-range

See §20.8.3 of [SVG].

The svg:unicode-range attribute is usable with the following element: <style:font-face> 16.21.

The svg:unicode-range attribute has the data type string 18.2.

19.565svg:units-per-em

See §20.8.3 of [SVG].

The svg:units-per-em attribute is usable with the following element: <style:font-face> 16.21.

The svg:units-per-em attribute has the data type integer 18.2.

19.566svg:v-alphabetic

See §20.8.3 of [SVG].

The svg:v-alphabetic attribute is usable with the following element: <style:font-face> 16.21.

The svg:v-alphabetic attribute has the data type integer 18.2.

19.567svg:v-hanging

See §20.8.3 of [SVG].

The svg:v-hanging attribute is usable with the following element: <style:font-face> 16.21.

The svg:v-hanging attribute has the data type integer 18.2.

19.568svg:v-ideographic

See §20.8.3 of [SVG].

The svg:v-ideographic attribute is usable with the following element: <style:font-face> 16.21.

The svg:v-ideographic attribute has the data type integer 18.2.

19.569svg:v-mathematical

See §20.8.3 of [SVG].

The svg:v-mathematical attribute is usable with the following element: <style:font-face> 16.21.

The svg:v-mathematical attribute has the data type integer 18.2.

19.570svg:viewBox

The svg:viewBox attribute establishes a user coordinate system inside the coordinate system of the shape specified by the position and size attributes. This user coordinate system is used by the draw:points and svg:d attributes, as well as by the attributes of <draw:enhanced-geometry> element and its child elements which specify coordinates.

The syntax for using this attribute is the same as the [SVG] syntax. The value of the attribute are four numbers separated by white spaces, which define the left, top, right, and bottom dimensions of the user coordinate system.

The svg:viewBox attribute is usable with the following elements: <dr3d:extrude> 10.5.6, <dr3d:rotate> 10.5.7, <draw:area-polygon> 10.4.13.5, <draw:connector> 10.3.10, <draw:contour-path> 10.4.11.3, <draw:contour-polygon> 10.4.11.2, <draw:enhanced-geometry> 10.6.2, <draw:marker> 16.40.8, <draw:path> 10.3.7, <draw:polygon> 10.3.5 and <draw:polyline> 10.3.4.

The values of the svg:viewBox attribute are four white space separated values of type integer 18.2.

19.571svg:width

19.571.1<chart:chart>

The svg:width attribute defines the width of a chart. If it is omitted, the size of a chart is determined by the size of the window in which the chart is displayed.

The svg:width attribute is usable with the following element: <chart:chart> 11.1.

The svg:width attribute has the data type length 18.3.18.

19.571.2<chart:floor>

The svg:width attribute defines the thickness of a floor.

The svg:width attribute is usable with the following element: <chart:floor> 11.7.

The svg:width attribute has the data type length 18.3.18.

19.571.3<chart:plot-area>

The svg:width attribute defines the width of a plot-area.

The svg:width attribute is usable with the following element: <chart:plot-area> 11.4.

The svg:width attribute has the data type length 18.3.18.

19.571.4<chart:wall>

The svg:width attribute specifies the thickness of a wall for three-dimensional charts.

The svg:width attribute is usable with the following element: <chart:wall> 11.6.

The svg:width attribute has the data type length 18.3.18.

19.571.5<dr3d:scene>

See 19.571.10.

The svg:width attribute is usable with the following element: <dr3d:scene> 10.5.2.

The svg:width attribute has the data type length 18.3.18.

19.571.6<draw:area-polygon>

The svg:width attribute defines the width of a polygonal image map area's bounding box.

The svg:width attribute is usable with the following element: <draw:area-polygon> 10.4.13.5.

The svg:width attribute has the data type length 18.3.18.

19.571.7<draw:area-rectangle>

The svg:width attribute defines the width of a rectangular image map area.

The svg:width attribute is usable with the following element: <draw:area-rectangle> 10.4.13.3.

The svg:width attribute has the data type length 18.3.18.

19.571.8<draw:contour-polygon>, <draw:contour-path>

The svg:width attribute defines the width of a contour's bounding box.

The svg:width attribute is usable with the following elements: <draw:contour-path> 10.4.11.3 and <draw:contour-polygon> 10.4.11.2.

The svg:width attribute has the data type length 18.3.18.

19.571.9<draw:fill-image>

The svg:width attribute may be used to specify the width of a linked image. Its value is overridden by the width of the linked image resource.

Note: This attribute can be used to estimate the size of a fill image without loading the image data.

The svg:width attribute is usable with the following element: <draw:fill-image> 16.40.6.

The svg:width attribute has the data type length 18.3.18.

19.571.10<draw:caption>, <draw:custom-shape>, <draw:circle>, <draw:control>, <draw:ellipse>, <draw:frame>, <draw:rect>, <draw:page-thumbnail>, <draw:path>, <draw:polygon>, <draw:polyline>, <draw:regular-polygon>

See §5.1.2 of [SVG]. For drawing shapes that have a non rectangular shape, the length refers to the drawing shape's bounding box.

If the svg:width and svg:height attributes specify different values for a <draw:circle> element, the radius of the circle is derived from the smaller of the two values, and the circle is centered within the bounding box.

The svg:width attribute is usable with the following elements: <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2 and <draw:regular-polygon> 10.3.6.

The svg:width attribute has the data type length 18.3.18.

19.571.11<office:annotation>

The svg:width attribute specifies the width of the rectangular which displays the annotation. Its meaning is the same as for a <draw:caption> element. See 19.571.10.

The svg:width attribute is usable with the following element: <office:annotation> 14.1.

The svg:width attribute has the data type length 18.3.18.

19.571.12<presentation:placeholder>

See 19.571.10. Percentage values are relative to the width of the drawing page.

The svg:width attribute is usable with the following element: <presentation:placeholder> 16.42.

The values of the svg:width attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

19.572svg:widths

See §20.8.3 of [SVG].

The svg:widths attribute is usable with the following element: <style:font-face> 16.21.

The svg:widths attribute has the data type string 18.2.

19.573svg:x

19.573.1<chart:data-label>, <chart:equation>, <chart:footer>, <chart:legend>, <chart:plot-area>, <chart:subtitle>, <chart:title>

The svg:x attribute specifies the horizontal distance of the upper left corner of the given element from the upper left corner of the <chart:chart> element.

The svg:x attribute is usable with the following elements: <chart:data-label> 11.14, <chart:equation> 11.18, <chart:footer> 11.2.3, <chart:legend> 11.3, <chart:plot-area> 11.4, <chart:subtitle> 11.2.2 and <chart:title> 11.2.1.

The svg:x attribute has the data type coordinate 18.3.10.

19.573.2<draw:area-polygon>

The svg:x attribute defines the x-axis coordinate of a polygonal image map area's bounding box.

The svg:x attribute is usable with the following element: <draw:area-polygon> 10.4.13.5.

The svg:x attribute has the data type coordinate 18.3.10.

19.573.3<draw:area-rectangle>

The svg:x attribute defines the x-axis coordinate of a rectangular image map area.

The svg:x attribute is usable with the following element: <draw:area-rectangle> 10.4.13.3.

The svg:x attribute has the data type coordinate 18.3.10.

19.573.4<dr3d:scene>

See 19.573.5.

The svg:x attribute is usable with the following element: <dr3d:scene> 10.5.2.

The svg:x attribute has the data type coordinate 18.3.10.

19.573.5<draw:caption>, <draw:custom-shape>, <draw:circle>, <draw:control>, <draw:ellipse>, <draw:frame>, <draw:rect>, <draw:page-thumbnail>, <draw:path>, <draw:polygon>, <draw:polyline>, <draw:regular-polygon>

See §5.1.2 of [SVG]. For drawing shapes that have a non rectangular shape, the coordinate refers to the drawing shape's bounding box.

The svg:x attribute is usable with the following elements: <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2 and <draw:regular-polygon> 10.3.6.

The svg:x attribute has the data type coordinate 18.3.10.

19.573.6<draw:glue-point>

The svg:x attribute specifies the horizontal position of the glue point. The coordinate is either a percentage value relative to the drawing shape's center in horizontal direction, or, if the draw:align attribute is also specified, an absolute distance value relative to the edge specified by the draw:align attribute.

The svg:x attribute is usable with the following element: <draw:glue-point> 10.3.16.

The values of the svg:x attribute are a value of type distance 18.3.15 or a value of type percent 18.3.23.

19.573.7<office:annotation>

The svg:x attribute specifies the horizontal position of an annotation. Its meaning is the same as for a <draw:caption> element. See 19.573.5.

The svg:x attribute is usable with the following element: <office:annotation> 14.1.

The svg:x attribute has the data type coordinate 18.3.10.

19.573.8<presentation:placeholder>

See 19.573.5. Percentage values are relative to the height of the drawing page.

The svg:x attribute is usable with the following element: <presentation:placeholder> 16.42.

The values of the svg:x attribute are a value of type coordinate 18.3.10 or a value of type percent 18.3.23.

19.574svg:x1

19.574.1<draw:connector>, <draw:line> and <draw:measure>

See §9.5 of [SVG].

The svg:x1 attribute may be omitted on <draw:connector> elements when the connector is connected to a shape by a draw:start-shape attribute. The start position then is the position of the glue point to which the connector is connected.

The svg:x1 attribute is usable with the following elements: <draw:connector> 10.3.10, <draw:line> 10.3.3 and <draw:measure> 10.3.12.

The svg:x1 attribute has the data type coordinate 18.3.10.

19.574.2<svg:linearGradient>

See §13.3.2 of [SVG].

For a <svg:linearGradient> 16.40.2 element the default value for this attribute is 0%.

The svg:x1 attribute is usable with the following element: <svg:linearGradient> 16.40.2.

The values of the svg:x1 attribute are a value of type coordinate 18.3.10 or a value of type percent 18.3.23.

19.575svg:x2

19.575.1<draw:connector>, <draw:line> and <draw:measure>

See §9.5 of [SVG].

The svg:x2 attribute may be omitted on <draw:connector> elements when the connector is connected to a shape by a draw:end-shape attribute. The end position then is the position of the glue point to which the connector is connected.

The svg:x2 attribute is usable with the following elements: <draw:connector> 10.3.10, <draw:line> 10.3.3 and <draw:measure> 10.3.12.

The svg:x2 attribute has the data type coordinate 18.3.10.

19.575.2<svg:linearGradient>

See §13.3.2 of [SVG].

For a <svg:linearGradient> 16.40.2 element the default value for this attribute is 100%.

The svg:x2 attribute is usable with the following element: <svg:linearGradient> 16.40.2.

The values of the svg:x2 attribute are a value of type coordinate 18.3.10 or a value of type percent 18.3.23.

19.576svg:x-height

See §20.8.3 of [SVG].

The svg:x-height attribute is usable with the following element: <style:font-face> 16.21.

The svg:x-height attribute has the data type integer 18.2.

19.577svg:y

19.577.1<chart:data-label>, <chart:equation>, <chart:footer>, <chart:legend>, <chart:plot-area>, <chart:subtitle>, <chart:title>

The svg:y attribute specifies the vertical distance of the upper left corner of the given element from the upper left corner of the <chart:chart> element.

The svg:y attribute is usable with the following elements: <chart:data-label> 11.14, <chart:equation> 11.18, <chart:footer> 11.2.3, <chart:legend> 11.3, <chart:plot-area> 11.4, <chart:subtitle> 11.2.2 and <chart:title> 11.2.1.

The svg:y attribute has the data type coordinate 18.3.10.

19.577.2<draw:area-polygon>

The svg:y attribute defines the y-axis coordinate of a polygonal image map area's bounding box.

The svg:y attribute is usable with the following element: <draw:area-polygon> 10.4.13.5.

The svg:y attribute has the data type coordinate 18.3.10.

19.577.3<draw:area-rectangle>

The svg:y attributes defines the y-axis coordinate of a rectangular image map area.

The svg:y attribute is usable with the following element: <draw:area-rectangle> 10.4.13.3.

The svg:y attribute has the data type coordinate 18.3.10.

19.577.4<dr3d:scene>

See 19.577.5.

The svg:y attribute is usable with the following element: <dr3d:scene> 10.5.2.

The svg:y attribute has the data type coordinate 18.3.10.

19.577.5<draw:caption>, <draw:custom-shape>, <draw:circle>, <draw:control>, <draw:ellipse>, <draw:frame>, <draw:g>, <draw:rect>, <draw:page-thumbnail>, <draw:path>, <draw:polygon>, <draw:polyline>, <draw:regular-polygon>

See §5.1.2 of [SVG]. For drawing shapes that have a non rectangular shape, the coordinate refers to the drawing shape's bounding box.

The svg:y attribute is usable with the following elements: <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2 and <draw:regular-polygon> 10.3.6.

The svg:y attribute has the data type coordinate 18.3.10.

19.577.6<draw:glue-point>

The svg:y attribute specifies the vertical position of the glue point. The coordinate is either a percentage value relative to the drawing shape's center in vertical direction, or, if the draw:align attribute is also specified, an absolute distance value relative to the edge specified by the draw:align attribute.

The svg:y attribute is usable with the following element: <draw:glue-point> 10.3.16.

The values of the svg:y attribute are a value of type distance 18.3.15 or a value of type percent 18.3.23.

19.577.7<office:annotation>

The svg:y attribute specifies the position where the annotation is displayed. Its meaning is the same as for a <draw:caption> element. See 19.573.5.

The svg:y attribute is usable with the following element: <office:annotation> 14.1.

The svg:y attribute has the data type coordinate 18.3.10.

19.577.8<presentation:placeholder>

See 19.577.5. Percentage values are relative to the height of the drawing page.

The svg:y attribute is usable with the following element: <presentation:placeholder> 16.42.

The values of the svg:y attribute are a value of type coordinate 18.3.10 or a value of type percent 18.3.23.

19.578svg:y1

19.578.1<draw:connector>, <draw:line> and <draw:measure>

See §9.5 of [SVG].

The svg:y1 attribute may be omitted on <draw:connector> elements when the connector is connected to a shape by a draw:start-shape attribute. The start position then is the position of the glue point to which the connector is connected.

The svg:y1 attribute is usable with the following elements: <draw:connector> 10.3.10, <draw:line> 10.3.3 and <draw:measure> 10.3.12.

The svg:y1 attribute has the data type coordinate 18.3.10.

19.578.2<svg:linearGradient>

See §13.3.2 of [SVG].

For a <svg:linearGradient> 16.40.2 element the default value for this attribute is 0%.

The svg:y1 attribute is usable with the following element: <svg:linearGradient> 16.40.2.

The values of the svg:y1 attribute are a value of type coordinate 18.3.10 or a value of type percent 18.3.23.

19.579svg:y2

19.579.1<draw:connector>, <draw:line> and <draw:measure>

See §9.5 of [SVG].

The svg:y2 attribute may be omitted on <draw:connector> elements when the connector is connected to a shape by a draw:end-shape attribute. The end position then is the position of the glue point to which the connector is connected.

The svg:y2 attribute is usable with the following elements: <draw:connector> 10.3.10, <draw:line> 10.3.3 and <draw:measure> 10.3.12.

The svg:y2 attribute has the data type coordinate 18.3.10.

19.579.2<svg:linearGradient>

See §13.3.2 of [SVG].

For a <svg:linearGradient> 16.40.2 element the default value for this attribute is 100%.

The svg:y2 attribute is usable with the following element: <svg:linearGradient> 16.40.2.

The values of the svg:y2 attribute are a value of type coordinate 18.3.10 or a value of type percent 18.3.23.

19.580table:acceptance-state

The table:acceptance-state attribute specifies whether a tracked change has been accepted or rejected already, or whether an acceptance or rejection is still pending.

The defined values for the table:acceptance-state attribute are:

The default value for this attribute is pending.

The table:acceptance-state attribute is usable with the following elements: <table:cell-content-change> 9.9.17, <table:deletion> 9.9.9, <table:insertion> 9.9.3 and <table:movement> 9.9.13.

The values of the table:acceptance-state attribute are accepted, rejected or pending.

19.581table:algorithm

The table:algorithm attribute specifies the algorithm used to compare sort keys. To avoid name conflicts between different consumers, the name of the algorithm should begin with a namespace prefix, followed by a “:” (U+003A, COLON) separator.

The table:algorithm attribute is usable with the following element: <table:sort> 9.4.19.

The table:algorithm attribute has the data type string 18.2.

19.582table:add-empty-lines

The table:add-empty-lines attribute specifies whether an empty row is inserted in the data pilot table after the data (including the subtotals) for each member of the field.

The defined values for the table:add-empty-lines attribute are:

The table:add-empty-lines attribute is usable with the following element: <table:data-pilot-layout-info> 9.6.15.

The table:add-empty-lines attribute has the data type boolean 18.3.3.

19.583table:allow-empty-cell

The table:allow-empty-cell attribute specifies whether a cell can be empty.

The defined values for the table:allow-empty-cell attribute are:

The default value for this attribute is true.

The table:allow-empty-cell attribute is usable with the following element: <table:content-validation> 9.4.5.

The table:allow-empty-cell attribute has the data type boolean 18.3.3.

19.584table:application-data

The table:application-data attribute specifies extra information about a data pilot table, which can be used by the consumer. This data shall not influence the behavior of the data pilot.

The table:application-data attribute is usable with the following element: <table:data-pilot-table> 9.6.3.

The table:application-data attribute has the data type string 18.2.

19.585table:automatic-find-labels

The table:automatic-find-labels attribute specifies whether a consumer should attempt to find labels of rows and columns.

The defined values for the table:automatic-find-labels attribute are:

Note: The table:automatic-find-labels attribute enables the use of the automatic lookup of labels capability defined by OpenFormula. OpenFormula, 5.10.2. (*update*)

The default value for this attribute is true.

The table:automatic-find-labels attribute is usable with the following element: <table:calculation-settings> 9.4.1.

The table:automatic-find-labels attribute has the data type boolean 18.3.3.

19.586table:base-cell-address

The table:base-cell-address attribute specifies the address of the base cell for relative addresses in formulas that occur within a condition. This attribute is only necessary when the condition contains a formula. The value of this attribute shall be an absolute cell address that contains a table name. The dollar signs “$” (U+0024, DOLLAR SIGN) that indicate an absolute address may be omitted.

The table:base-cell-address attribute is usable with the following elements: <table:content-validation> 9.4.5, <table:named-expression> 9.4.13 and <table:named-range> 9.4.12.

The table:base-cell-address attribute has the data type cellAddress 18.3.4.

19.587table:bind-styles-to-content

The table:bind-styles-to-content attribute specifies whether cells retain their style after a subtotal calculation. This attribute is only evaluated if a <table:sort-groups> element is present.

The defined values for the table:bind-styles-to-content attribute are:

The default value for this attribute is true.

The table:bind-styles-to-content attribute is usable with the following elements: <table:sort> 9.4.19 and <table:subtotal-rules> 9.4.21.

The table:bind-styles-to-content attribute has the data type boolean 18.3.3.

19.588table:border-color

The table:border-color attribute specifies the color of a border that is displayed around a scenario that belongs to a scenario table.

The table:border-color attribute is usable with the following element: <table:scenario> 9.2.7.

The table:border-color attribute has the data type color 18.3.9.

19.589table:buttons

The table:buttons attribute specifies the cells in a data pilot table that should be displayed as buttons to trigger interactive operations on the table like changing the order of columns. Its value is a list of white space separated cell-addresses. The value of this attribute shall be an absolute cell address that contains a table name. The dollar signs “$” (U+0024, DOLLAR SIGN) that indicate an absolute address may be omitted.

The table:buttons attribute is usable with the following element: <table:data-pilot-table> 9.6.3.

The table:buttons attribute has the data type cellRangeAddressList 18.3.6.

19.590table:case-sensitive

The table:case-sensitive attribute specifies whether to distinguish between upper and lower case when comparing, sorting or filtering content.

That attribute is only evaluated if the operations take place on strings.

The defined values for the table:case-sensitive attribute are:

For a <table:calculation-settings> 9.4.1 element the default value for this attribute is true.

For <table:filter-condition> 9.5.5, <table:sort> 9.4.19 and <table:subtotal-rules> 9.4.21 elements the default value for this attribute is false.

The table:case-sensitive attribute is usable with the following elements: <table:calculation-settings> 9.4.1, <table:filter-condition> 9.5.5, <table:sort> 9.4.19 and <table:subtotal-rules> 9.4.21.

The table:case-sensitive attribute has the data type boolean 18.3.3.

19.591table:cell-address

The table:cell-address attribute specifies the original address of a cell used in a calculation.

The table:cell-address attribute is usable with the following element: <table:change-track-table-cell> 9.9.16.

The table:cell-address attribute has the data type cellAddress 18.3.4.

19.592table:cell-range

The table:cell-range attribute specifies a list of ranges of cells.

The table:cell-range attribute is usable with the following elements: <chart:footer> 11.2.3, <chart:subtitle> 11.2.2 and <chart:title> 11.2.1.

The table:cell-range attribute has the data type cellRangeAddressList 18.3.6.

19.593table:cell-range-address

19.593.1General

The table:cell-range-address attribute specifies specifies a range of cells or a list of ranges of cells.

19.593.2<chart:categories>

The table:cell-range-address attribute specifies the region from which the category labels are taken. If this attribute or the <chart:categories> element is omitted the chart:data-source-has-labels attribute of the <chart:plot-area> element should be evaluated.

The table:cell-range-address attribute is usable with the following element: <chart:categories> 11.9.

The table:cell-range-address attribute has the data type cellRangeAddressList 18.3.6.

19.593.3<chart:domain> - bubble

The table:cell-range-address attribute specifies the x and y-coordinate values for bubble charts when the chart:class attribute of its parent <chart:series> element has the value chart:bubble.

The table:cell-range-address attribute is usable with the following element: <chart:domain> 11.12.

The table:cell-range-address attribute has the data type cellRangeAddressList 18.3.6.

19.593.4<chart:domain>- scatter

The table:cell-range-address attribute specifies the x-coordinate values for scatter charts when the chart:class attribute of its parent <chart:series> element has the value chart:scatter.

The table:cell-range-address attribute is usable with the following element: <chart:domain> 11.12.

The table:cell-range-address attribute has the data type cellRangeAddressList 18.3.6.

19.593.5<chart:domain> - surface

The table:cell-range-address attribute of the first <chart:domain> element specifies the y-coordinate values and the table:cell-range-address attribute of the second <chart:domain> element specifies the x-coordinate values for surface charts when the chart:class attribute of its parent <chart:series> element has the value chart:surface and the chart:values-cell-range-address attribute of this <chart:series> element specifies a range with more than one row and more than one column.

The table:cell-range-address attribute is usable with the following element: <chart:domain> 11.12.

The table:cell-range-address attribute has the data type cellRangeAddressList 18.3.6.

19.593.6<chart:plot-area> (deprecated)

The table:cell-range-address attribute specifies the ranges of data for a chart.

The table:cell-range-address attribute at the <chart:plot-area> element has no effect in case the data is assigned to the <chart:series> elements directly by chart:values-cell-range-address attributes.

The use of the table:cell-range-address attribute is deprecated in favor of the chart:values-cell-range-address attributes of <chart:series> elements.

The table:cell-range-address attribute is usable with the following element: <chart:plot-area> 11.4.

The table:cell-range-address attribute has the data type cellRangeAddressList 18.3.6.

19.593.7<table:highlighted-range>

The table:cell-range-address attribute specifies the address of a range that is highlighted.

The table:cell-range-address attribute is usable with the following element: <table:highlighted-range> 9.3.4.

The table:cell-range-address attribute has the data type cellRangeAddress 18.3.5.

19.593.8<table:named-range>

The table:cell-range-address attribute specifies the address of a named range. The address can be either absolute or relative. If the cell range address is relative, the parent <table:named-range> element shall have a table:base-cell-address attribute with a value. A relative cell address defines an offset which shall be interpreted relative to the cell where the named range is used. The offset is the same as the offsets between the table cell addressed by the relative cell range address and the table cell specified by the table:base-cell-address attribute.

The table:cell-range-address attribute is usable with the following element: <table:named-range> 9.4.12.

The table:cell-range-address attribute has the data type cellRangeAddress 18.3.5.

19.593.9<table:source-cell-range>

The table:cell-range-address attribute specifies the cell range containing the source data. The value of this attribute shall be an absolute cell address that contains a table name. The dollar signs “$” (U+0024, DOLLAR SIGN) that indicate an absolute address may be omitted.

The table:cell-range-address attribute is usable with the following element: <table:source-cell-range> 9.6.5.

The table:cell-range-address attribute has the data type cellRangeAddress 18.3.5.

19.594table:column

The table:column attribute specifies the column number of a cell.

The table:column attribute is usable with the following elements: <table:cell-address> 9.9.18, <table:source-range-address> 9.9.14 and <table:target-range-address> 9.9.15.

The table:column attribute has the data type integer 18.2.

19.595table:comment

The table:comment attribute specifies a comment about a scenario.

The table:comment attribute is usable with the following element: <table:scenario> 9.2.7.

The table:comment attribute has the data type string 18.2.

19.596table:condition

The table:condition attribute specifies a condition that applies to the value of a table cell that references a <table:content-validation> element having the table:condition attribute. When evaluation of the condition results in "false", any action taken is determine by the other attributes and child elements of the <table:content-validation> element.

Note: Possible actions include presentation of a message, triggering an event, and performance of a script, with or without invalidating the value. The table:allow-empty-cell attribute value influences whether the table:condition is applicable.

 The value of this attribute should be a namespace prefix, followed by a ":" (U+003A, COLON), followed by Boolean expression. If the namespace prefix is missing it defaults to the "urn:oasis:names:tc:opendocument:xmlns:of:1.2" namespace. The XML namespace that applies to the table:condition attribute specifies the syntax and semantics of the expression occurrences in the table:condition syntax.

Note: The value of the <table:content-validation> table:base-cell-address can influence how references are resolved in an expression anywhere within the defined conditions.

An OpenDocument Consumer when hosting a formula evaluator makes available the host-dependent properties defined by table 12 in 19.644.

The defined conditions are:

  • cell-content-text-length() op value, where op is one of the relational operators ””<”,“>”, ”<=”, ”>=”, ”=” or “!=”: true if the length of the cell's text compared to the value specified in the condition by value using the relational operator op evaluates to true.  

  • cell-content-text-length-is-between(value1, value2): true if the length of the cell's text is between value1 and value2.  

  • cell-content-text-length-is-not-between(value1, value2): true if the length of the cell's text is not between value1 and value2.  

  • cell-content-is-in-list(list), where list is one or more string entries, separated by ”;” (U+003B, SEMICOLON), or an expression: true if the cell's content is in list.  

  • cell-content-is-decimal-number() and condition, where condition is one of the value conditions below: true if the cell has a numeric value and condition is true.  

  • cell-content-is-whole-number() and condition, where condition is one of the value conditions below: true if the cell's cell has a whole value and condition is true. 

  • cell-content-is-date() and condition, where condition is one of the value conditions below: true if the cell has a date value and condition is true.  

  • cell-content-is-time() and condition, where condition is one of the value conditions below: true if the cell has a time value and condition is true.  

  • is-true-formula(expression): true if evaluation of the expression yields a value that converts to logical type value true in the semantics for the expression; false otherwise.  

The defined value conditions are:

  • cell-content() op value, where op is one of the relational operators ”<”, ”>”, ”<=”, ”>=”, ”=” or ”!=”: true if the cell's value compared to the value specified in the condition by value using the relational operator op evaluates to true.  

  • cell-content-is-between(value1, value2): true if the cell's value is between value1 and value2. 

  • cell-content-is-not-between(value1, value2): true if the cell's value is not between value1 and value2. 

  • is-true-formula(expression): true if evaluation of the expression yields a value that converts to logical value true in the semantics for the expression; false otherwise.  

Within the conditions:

  • value, value1 and value2 are a numberValue, a string or an expression.  

  • numberValue is a whole or decimal number in the lexical form of the [xmlschema-2] decimal datatype.  

  • string expresses a value of the [xmlschema-2] string datatype by surrounding the sequence of string characters in quotation marks (U+0022, QUOTATION MARK). A quotation mark within the string itself is expressed with two consecutive quotation marks.  

  • expression is a lexical form that is neither numberValue nor string and that is a well-formed expression determined by the namespace applicable to the table:condition value. 

The table:condition attribute is usable with the following element: <table:content-validation> 9.4.5.

The table:condition attribute has the data type string 18.2.

19.597table:condition-source

The table:condition-source attribute specifies whether the condition is contained in a filter or encoded in a cell range.

The defined values for the table:condition-source attribute are:

The default value for this attribute is self.

The table:condition-source attribute is usable with the following element: <table:filter> 9.5.2.

The values of the table:condition-source attribute are self or cell-range.

19.598table:condition-source-range-address

The table:condition-source-range-address attribute specifies a cell range that contains encoded conditions. The first row of the cell range shall contain the labels of the columns whose content should be filtered. The following rows contain conditions that have to evaluate to true for the cells contained in the columns. The conditions in each row are connected by an “and” operation, while the rows are connected by an “or” operation. This means that a row is of the source table is displayed if there is at least one row in the condition range where all conditions evaluate to true if they are applied to the columns specified in the first row of the condition range.

The table:condition-source-range-address attribute is usable with the following element: <table:filter> 9.5.2.

The table:condition-source-range-address attribute has the data type cellRangeAddress 18.3.5.

19.599table:contains-error

The table:contains-error attribute specifies whether a cell range contained an error at the point of evaluation.

The defined values for the table:contains-error attribute are:

The default value for this attribute is false.

The table:contains-error attribute is usable with the following element: <table:highlighted-range> 9.3.4.

The table:contains-error attribute has the data type boolean 18.3.3.

19.600table:contains-header

The table:contains-header attribute specifies whether the content of the database range's first row or column defines labels which may be used to reference a whole row or column.

The defined values for the table:contains-header attribute are:

The default value for this attribute is true.

The table:contains-header attribute is usable with the following element: <table:database-range> 9.4.15.

The table:contains-header attribute has the data type boolean 18.3.3.

19.601table:content-validation-name

The table:content-validation-name attribute specifies the name of a validity check.

The value of this attribute is a name found in the table:name attribute of a <table:content-validation> element. 9.4.5 If this attribute is not present, a cell may have arbitrary content.

The table:content-validation-name attribute is usable with the following elements: <table:covered-table-cell> 9.1.5 and <table:table-cell> 9.1.4.

The table:content-validation-name attribute has the data type string 18.2.

19.602table:copy-back

The table:copy-back attribute specifies whether data is copied back into a scenario table if another scenario is activated.

The defined values for the table:copy-back attribute are:

The default value for this attribute is true.

The table:copy-back attribute is usable with the following element: <table:scenario> 9.2.7.

The table:copy-back attribute has the data type boolean 18.3.3.

19.603table:copy-formulas

The table:copy-formulas attribute specifies whether formulas are copied from a scenario table to a destination table.

The defined values for the table:copy-formulas attribute are:

The default value for this attribute is true.

The table:copy-formulas attribute is usable with the following element: <table:scenario> 9.2.7.

The table:copy-formulas attribute has the data type boolean 18.3.3.

19.604table:copy-styles

The table:copy-styles attribute specifies whether styles are copied from a scenario table to a destination table together with the data.

The defined values for the table:copy-styles attribute are:

The default value for this attribute is true.

The table:copy-styles attribute is usable with the following element: <table:scenario> 9.2.7.

The table:copy-styles attribute has the data type boolean 18.3.3.

19.605table:count

The table:count attribute specifies the count of inserted rows, columns or tables.

The default value for this attribute is 1.

The table:count attribute is usable with the following element: <table:insertion> 9.9.3.

The table:count attribute has the data type positiveInteger 18.2.

19.606table:country

The table:country attribute specifies the country information for the natural language in which comparisons will occur.

The table:country attribute is usable with the following element: <table:sort> 9.4.19.

The table:country attribute has the data type countryCode 18.3.11.

19.607table:data-field

The table:data-field attribute specifies the data field whose values are taken into account.

The table:data-field attribute is usable with the following elements: <table:data-pilot-display-info> 9.6.13 and <table:data-pilot-sort-info> 9.6.14.

The table:data-field attribute has the data type string 18.2.

19.608table:data-cell-range-address

The table:data-cell-range-address attribute specifies the cell range address of data.

The table:data-cell-range-address attribute is usable with the following element: <table:label-range> 9.4.9.

The table:data-cell-range-address attribute has the data type cellRangeAddress 18.3.5.

19.609table:database-name

A table:database-name attribute specifies the name of an SQL database for the importation of data.

The table:database-name attribute is usable with the following elements: <table:database-source-query> 9.4.18, <table:database-source-sql> 9.4.16 and <table:database-source-table> 9.4.17.

The table:database-name attribute has the data type string 18.2.

19.610table:database-table-name

A table:database-table-name attribute specifies a database table for the importation of data.

The table:database-table-name attribute is usable with the following element: <table:database-source-table> 9.4.17.

The table:database-table-name attribute has the data type string 18.2.

19.611table:data-type

19.611.1General

The table:data-type attribute specifies a data type for tables.

19.611.2<table:filter-condition>

The table:data-type attribute specifies whether a comparison shall take place as text or as numeric values.

The defined values for the table:data-type attribute are:

For a <table:filter-condition> 9.5.5 element the default value for this attribute is text.

The table:data-type attribute is usable with the following element: <table:filter-condition> 9.5.5.

The values of the table:data-type attribute are text or number.

19.611.3<table:sort-by>

The table:data-type attribute specifies the data type of a field to be sorted.

The defined values for the table:data-type attribute are:

For a <table:sort-by> 9.4.20 element the default value for this attribute is automatic.

The table:data-type attribute is usable with the following element: <table:sort-by> 9.4.20.

The values of the table:data-type attribute are text, number, automatic or a value of type string 18.2.

19.611.4<table:sort-groups>

The table:data-type attribute specifies the data type of a field to be sorted.

If the attribute value is automatic, the consumer shall determine what type of data is in the field. User defined sort orders are implementation specific.

The defined values for the table:data-type attribute are:

For a <table:sort-groups> 9.4.22 element the default value for this attribute is automatic.

The table:data-type attribute is usable with the following element: <table:sort-groups> 9.4.22.

The values of the table:data-type attribute are text, number, automatic or a value of type string 18.2.

19.612table:date-end

The table:date-end attribute specifies the end value for a grouping of date values.

All values that are higher than the end value are contained in a single group, while values that are equal to or lower than the end value are grouped as specified by the table:grouped-by and table:step attributes.

The defined values for the table:date-end attribute are:

The table:date-end attribute is usable with the following element: <table:data-pilot-groups> 9.6.17.

The values of the table:date-end attribute are a value of type dateOrDateTime 18.3.14 or auto.

19.613table:date-start

The table:date-start attribute specifies the start value for a grouping of date values.

The defined values for the table:date-start attribute are:

The table:date-start attribute is usable with the following element: <table:data-pilot-groups> 9.6.17.

The values of the table:date-start attribute are a value of type dateOrDateTime 18.3.14 or auto.

19.614table:date-value

The table:date-value attribute specifies the null date. The null date is the date that results in the value “0” if a date value is converted into a numeric value.

The default value for this attribute is 1899-12-30.

The table:date-value attribute is usable with the following element: <table:null-date> 9.4.2.

The table:date-value attribute has the data type date 18.2.

19.615table:default-cell-style-name

The table:default-cell-style-name attribute specifies a default cell style. Cells defined by a <table:table-cell> element that do not have a table:style-name attribute value use the specified default cell style.

If an individual cell has a default style specified by a table:default-cell-style-name attribute on a <table:table-column> element and by a style:default-cell-style-name on a <table:table-row> element, the default style specified by the <table:table-row> element shall be applied to the cell and the default style specified by the <table:table-column element shall be ignored.

The table:default-cell-style-name attribute is usable with the following elements: <table:table-column> 9.1.6 and <table:table-row> 9.1.3.

The table:default-cell-style-name attribute has the data type styleNameRef 18.3.32.

19.616table:direction

The table:direction attribute specifies the direction of a relation between a cell and a highlighted range.

The defined values for the table:direction attribute are:

The table:direction attribute is usable with the following element: <table:highlighted-range> 9.3.4.

The values of the table:direction attribute are from-another-table, to-another-table or from-same-table.

19.617table:display

The table:display attribute specifies whether a table is displayed.

The defined values for the table:display attribute are:

For <table:table-column-group> 9.1.10 and <table:table-row-group> 9.1.9 elements the default value for this attribute is true.

For <table:error-message> 9.4.7 and <table:help-message> 9.4.6 elements the default value for this attribute is false.

The table:display attribute is usable with the following elements: <table:data-pilot-member> 9.6.12, <table:error-message> 9.4.7, <table:help-message> 9.4.6, <table:table-column-group> 9.1.10 and <table:table-row-group> 9.1.9.

The table:display attribute has the data type boolean 18.3.3.

19.618table:display-border

The table:display-border attribute specifies whether to display a border around a scenario that belongs to a scenario table.

The defined values for the table:display-border attribute are:

The default value for this attribute is true.

The table:display-border attribute is usable with the following element: <table:scenario> 9.2.7.

The table:display-border attribute has the data type boolean 18.3.3.

19.619table:display-duplicates

The table:display-duplicates attribute specifies whether to display duplicate matches in a result.

The defined values for the table:display-duplicates attribute are:

The default value for this attribute is true.

The table:display-duplicates attribute is usable with the following element: <table:filter> 9.5.2.

The table:display-duplicates attribute has the data type boolean 18.3.3.

19.620table:display-filter-buttons

The table:display-filter-buttons attribute specifies whether to display filter buttons. Filter buttons are list box controls displayed in the label cells whose list entries are the values that exist in the labeled row or column. Selecting one of these entries is the equivalent of applying a filter to the database range that selects all row or columns where the cells in the labeled row or column have the selected value.

The defined values for the table:display-filter-buttons attribute are:

The default value for this attribute is false.

The table:display-filter-buttons attribute is usable with the following element: <table:database-range> 9.4.15.

The table:display-filter-buttons attribute has the data type boolean 18.3.3.

19.621table:display-list

The table:display-list attribute specifies whether a list of values that occurs within a condition is displayed in a UI when a user is entering a cell value.

The defined values for the table:display-list attribute are:

The default value for this attribute is unsorted.

The table:display-list attribute is usable with the following element: <table:content-validation> 9.4.5.

The values of the table:display-list attribute are none, unsorted or sort-ascending.

19.622table:display-member-mode

The table:display-member-mode attribute specifies whether the value count specified by table:member-count attribute should be taken from the top or from the bottom of a data field's column. 19.667

The defined values for the table:display-member-mode attribute are:

  • from-bottom 

  • from-top 

The table:display-member-mode attribute is usable with the following element: <table:data-pilot-display-info> 9.6.13.

The values of the table:display-member-mode attribute are from-top or from-bottom.

19.623table:drill-down-on-double-click

The table:drill-down-on-double-click attribute specifies how the data pilot table reacts on a double click in the data pilot table. A double click other than as specified in a data pilot table has no effect.

The defined values for the table:drill-down-on-double-click attribute are:

The default value for this attribute is true.

The table:drill-down-on-double-click attribute is usable with the following element: <table:data-pilot-table> 9.6.3.

The table:drill-down-on-double-click attribute has the data type boolean 18.3.3.

19.624table:embedded-number-behavior

The table:embedded-number-behavior attribute specifies how string values that contain digits are sorted. If the value is alpha-numeric, string comparison as specified by the other attributes of <table:sort> element is used for sorting.

The defined values for the table:embedded-number-behavior attribute are:

Note: If the attribute value is integer or double, string-prefixed numbers will be sorted in a "natural", number-aware way, i.e. A1, A2, A3, ... , A19, A20, instead of the normal, alpha-numeric behavior, i.e. A1, A10, A11, A12, ... ,A19, A2, A20, A3, A4, ... , A8, A9.

The following illustrates how two strings shall be compared if the attribute value is integer or double.

In the following, the term "alpha-numeric comparison" means the string comparison that would be used if the table:embedded-number-behavior attribute would have the value alpha-numeric.

Step 1: The two strings are compared by using the alpha-numeric comparison to test whether they are equal.  If they are equal, the comparison will stop immediately returning an equality as result.

Step 2:.The prefix substrings of the two strings are determined by locating the first occurrence of a digit character in the two strings; the substrings from the very first characters through the characters preceding the first digits are the prefix substrings. If a string starts with a digit, the prefix substring of this string is empty. If there is no digit in either one of the compared strings, the natural sort process will end and the alpha-numeric comparison will be performed instead.

Step 3: After the prefix substrings have been determined for both strings, an alpha-numeric comparison is performed on the two prefix substrings. If they differ, the result is returned and the process will end.

Step 4. The numeric substrings are determined by locating the first occurrences of a non-digit character after the first digit characters; the substrings from the first digit characters through the characters preceding the first non-digit character are the numeric substrings. These substrings are converted into double-precision values. The converted values are compared by numeric comparison. If these values differ, then the result will be returned and the process will end.

Step 5. The suffix substrings, which are the strings that start after the last digits of the numeric substring, will be determined. This suffix substrings replace the original strings, and the whole process will start again with step 1.

Decimal separators are treated as follows: If the attribute value is integer, then a decimal separator is not considered as a digit. If the attribute value is double, the treatment of a decimal separator is context-dependent: If a decimal separator occurs adjacent to one or two digit characters, it is considered a digit character as long as it is the only occurrence in that given numeric substring. In other words, a second occurrence of a decimal separator in sequence of digits and decimal separators is treated as a non-digit character. Therefore the character immediately preceding the separator becomes the last character of the numeric substring, while the separator itself becomes the first character of the suffix substring.

This sorting process is illustrated by the following figure:

The default value for this attribute is alpha-numeric.

The table:embedded-number-behavior attribute is usable with the following element: <table:sort> 9.4.19.

The values of the table:embedded-number-behavior attribute are alpha-numeric, integer or double.

19.625table:enabled

The table:enabled attribute specifies whether the <table:data-pilot-display-info> element is evaluated or not.

The defined values for the table:enabled attribute are:

The table:enabled attribute is usable with the following element: <table:data-pilot-display-info> 9.6.13.

The table:enabled attribute has the data type boolean 18.3.3.

19.626table:end

The table:end attribute specifies the end value for a grouping of numeric values. All values that are higher than the end value are contained in a single group, while values that are equal to or lower than the end value are grouped as specified by table:grouped-by and table:step attributes.

The defined values for the table:end attribute are:

The table:end attribute is usable with the following element: <table:data-pilot-groups> 9.6.17.

The values of the table:end attribute are a value of type double 18.2 or auto.

19.627table:end-cell-address

The table:end-cell-address attribute specifies specify end position of the shape if it is included in a spreadsheet document.

The table:end-cell-address attribute is usable with the following elements: <dr3d:scene> 10.5.2, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:annotation> 14.1.

The table:end-cell-address attribute has the data type cellAddress 18.3.4.

19.628table:end-column

The table:end-column attribute specifies the end column of a range if the range address is a cell range address. The value of a table:end-column attribute is inclusive.

The table:end-column attribute is usable with the following elements: <table:source-range-address> 9.9.14 and <table:target-range-address> 9.9.15.

The table:end-column attribute has the data type integer 18.2.

19.629table:end-position

The table:end-position attribute specifies the number of the last deleted row or column. The value of a table:end-position attribute is exclusive.

The table:end-position attribute is usable with the following element: <table:movement-cut-off> 9.9.12.

The table:end-position attribute has the data type integer 18.2.

19.630table:end-row

The table:end-row attribute specifies the end row of a range if the range address is a cell range address. The value of a table:end-row attribute is inclusive.

The table:end-row attribute is usable with the following elements: <table:source-range-address> 9.9.14 and <table:target-range-address> 9.9.15.

The table:end-row attribute has the data type integer 18.2.

19.631table:end-table

The table:end-table attribute specifies the end table of a range if the range address is a cell range address. The value of a table:end-table attribute is inclusive.

The table:end-table attribute is usable with the following elements: <table:source-range-address> 9.9.14 and <table:target-range-address> 9.9.15.

The table:end-table attribute has the data type integer 18.2.

19.632table:end-x

The table:end-x attribute specifies the x-coordinate of the end position of a shape relative to the top left edge of a cell. The size attributes of the shape are ignored.

The table:end-x attribute is usable with the following elements: <dr3d:scene> 10.5.2, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:annotation> 14.1.

The table:end-x attribute has the data type coordinate 18.3.10.

19.633table:end-y

The table:end-y attribute specifies the y-coordinate of the end position of a shape relative to the top left edge of a cell. The size attributes of the shape are ignored.

The table:end-y attribute is usable with the following elements: <dr3d:scene> 10.5.2, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:annotation> 14.1.

The table:end-y attribute has the data type coordinate 18.3.10.

19.634table:execute

The table:execute attribute specifies whether a macro should be executed or not.

The defined values for the table:execute attribute are:

The default value for this attribute is true.

The table:execute attribute is usable with the following element: <table:error-macro> 9.4.8.

The table:execute attribute has the data type boolean 18.3.3.

19.635table:expression

The table:expression attribute specifies an expression. If the expression contains a named range or another named expression, the named range or named expression shall be specified first, before the containing expression. If the expression contains a relative cell range address, a table:base-cell-address attribute shall also appear on the <table:named-expression> element.

Relative cell range addresses that occur in an expression define an offset which shall be interpreted relative to the cell where a named expression is used. The offset is the same as the offsets between the table cell addressed by the relative cell range address and the table cell specified by the table:base-cell-address attribute.

The value of this attribute may have a namespace prefix, followed by a ":" (U+003A, COLON), followed by an expression. If the namespace prefix is missing it defaults to the "urn:oasis:names:tc:opendocument:xmlns:of:1.2" namespace. If a namespace prefix is present, the expression shall start with an '=' equal sign. If no namespace prefix is present, the '=' equal sign may be omitted. The XML namespace name bound to the namespace prefix specifies the syntax and semantics of the formulas and values occurring within the condition.

An OpenDocument Consumer when hosting a formula evaluator makes available the host-dependent properties defined by table 12 in 19.644.

The table:expression attribute is usable with the following element: <table:named-expression> 9.4.13.

The table:expression attribute has the data type string 18.2.

19.636table:field-name

The table:field-name attribute specifies a category column whose members' values are used in operations defined by a table:type attribute that determines the display of values of the data field of which the <table:data-pilot-field-reference> element is a part.

The table:field-name attribute is usable with the following element: <table:data-pilot-field-reference> 9.6.16.

The table:field-name attribute has the data type string 18.2.

19.637table:field-number

The table:field-number number attribute specifies a row or column number to sort, subtotal or filter. It is the number of a row or column within a database range.

The table:field-number attribute is usable with the following elements: <table:filter-condition> 9.5.5, <table:sort-by> 9.4.20 and <table:subtotal-field> 9.4.24.

The table:field-number attribute has the data type nonNegativeInteger 18.2.

19.638table:filter-name

The table:filter-name attribute specifies the file type of the document containing the original table. The value of this attribute is implementation-dependent.

The table:filter-name attribute is usable with the following elements: <table:cell-range-source> 9.3.1 and <table:table-source> 9.2.6.

The table:filter-name attribute has the data type string 18.2.

19.639table:filter-options

The table:filter-options attribute specifies implementation-dependent settings for a file type.

The table:filter-options attribute is usable with the following elements: <table:cell-range-source> 9.3.1 and <table:table-source> 9.2.6.

The table:filter-options attribute has the data type string 18.2.

19.640table:first-row-end-column (deprecated)

The table:first-row-end-column attribute specifies the whether the cell in the first row, end column gets its style from its row or column.

The use of this attribute is deprecated. The table:use-first-row-styles or table:use-last-column-styles attributes should be used instead.

The defined values for the table:first-row-end-column attribute are:

The table:first-row-end-column attribute is usable with the following element: <table:table-template> 16.18.

The values of the table:first-row-end-column attribute are row or column.

19.641table:first-row-start-column (deprecated)

The table:first-row-start-column attribute specifies the whether the cell in the first row, start column gets its style from its row or column.

The use of this attribute is deprecated. The table:use-first-row-styles or table:use-first-column-styles attributes should be used instead.

The defined values for the table:first-row-start-column attribute are:

The table:first-row-start-column attribute is usable with the following element: <table:table-template> 16.18.

The values of the table:first-row-start-column attribute are row or column.

19.642table:formula

The table:formula attribute specifies a formula for a table cell.

Formulas specify calculations to be performed within table cells. The attribute value should begin with a namespace prefix followed by ":" (U+003A, COLON), followed by the text of the formula. The namespace bound to the prefix determines the syntax and semantics of the formula.

Whenever the initial text of a formula has the appearance of an NCName followed by ":" (U+003A, COLON), an OpenDocument producer shall provide a valid namespace prefix and separating ":" (U+003A, COLON) separator before the text of the formula in order to eliminate any ambiguity.

If a namespace prefix is not specified, it defaults to the "urn:oasis:names:tc:opendocument:xmlns:of:1.2" namespace.

An OpenDocument Consumer when hosting a formula evaluator has the host-dependent properties specified in Table 16.

Table  16 Host-dependent Properties

Property

Attribute

Default Value

HOST-CASE-SENSITIVE

table:case-sensitive

true

HOST-PRECISION-AS-SHOWN

table:precision-as-shown

false

HOST-SEARCH-CRITERIA-MUST-APPLY-TO-WHOLE-CELL

table:search-criteria-must-apply-to-whole-cell

true

HOST-AUTOMATIC-FIND-LABELS

table:automatic-find-labels

true

HOST-USE-REGULAR-EXPRESSIONS

table:use-regular-expressions

true

HOST-USE-WILDCARDS

table:use-wildcards

false

HOST-NULL-YEAR

table:null-year

1930

HOST-NULL-DATE

table:null-date

1899-12-30

HOST-LOCALE

N/A

Implementation-defined

HOST-ITERATION-STATUS

table:status

disable

HOST-ITERATION-MAXIMUM-DIFFERENCE

table:maximum-difference

0

HOST-ITERATION-STEPS

table:steps

100

Note: Host-dependent properties are applicable to style:condition (19.468), table:condition (19.596) and, table:expression (19.635) attributes.

The table:formula attribute is usable with the following elements: <table:change-track-table-cell> 9.9.16, <table:covered-table-cell> 9.1.5 and <table:table-cell> 9.1.4.

The table:formula attribute has the data type string 18.2.

19.643table:function

19.643.1General

The table:function attribute specifies functions that are applied to tables.

The table:function attribute on all elements has the following defined values:

19.643.2<table:consolidation>

The table:function attribute specifies functions.

The table:function attribute is usable with the following element: <table:consolidation> 9.7.

The values of the table:function attribute are average, count, countnums, max, min, product, stdev, stdevp, sum, var, varp or a value of type string 18.2.

19.643.3<table:data-pilot-field>

The table:function attribute specifies specifies the function which is applied to the cell values of data columns.

For <table:data-pilot-field> elements whose table:orientation attribute has the value data, the defined values for the table:function attribute are those defined in 19.643.1.

For <table:data-pilot-field> elements whose table:orientation attribute has the value column or row, the only defined value for the table:function attribute is:

  • auto: no function is applied to that category field.  

The table:function attribute is usable with the following element: <table:data-pilot-field> 9.6.7.

The values of the table:function attribute are auto, average, count, countnums, max, min, product, stdev, stdevp, sum, var, varp or a value of type string 18.2.

19.643.4<table:data-pilot-subtotal>

The table:function attribute specifies the type of subtotals to calculate.

The addition to the values defined in 19.643.1 the following value is defined:

  • auto: specifies that subtotals shall use the same function(s) that are used to calculate the <table:data-pilot-field> elements with table:orientation="data".  

The table:function attribute is usable with the following element: <table:data-pilot-subtotal> 9.6.10.

The values of the table:function attribute are auto, average, count, countnums, max, min, product, stdev, stdevp, sum, var, varp or a value of type string 18.2.

19.643.5<table:subtotal-field>

The table:function attribute specifies the type of subtotals to calculate.

The table:function attribute is usable with the following element: <table:subtotal-field> 9.4.24.

The values of the table:function attribute are average, count, countnums, max, min, product, stdev, stdevp, sum, var, varp or a value of type string 18.2.

19.644table:grand-total

The table:grand-total attribute specifies whether a grand total column, row, or both should be displayed in addition to values calculated for each combination of values in the category columns.

The defined values for the table:grand-total attribute are:

The default value for this attribute is both.

The table:grand-total attribute is usable with the following element: <table:data-pilot-table> 9.6.3.

The values of the table:grand-total attribute are none, row, column or both.

19.645table:group-by-field-number

The table:group-by-field-number attribute specifies a field, that is to be grouped. It is the number of a row or column within a database range.

The table:group-by-field-number attribute is usable with the following element: <table:subtotal-rule> 9.4.23.

The table:group-by-field-number attribute has the data type nonNegativeInteger 18.2.

19.646table:grouped-by

The table:grouped-by attribute specifies the grouping of the date values. Date values can be grouped by seconds, minutes, hours, days, months, quarters or years.

Note: If date values are for instance grouped by minutes, all dates or times that are within the same minute are within one group.

The defined values for the table:grouped-by attribute are:

The table:grouped-by attribute is usable with the following element: <table:data-pilot-groups> 9.6.17.

The values of the table:grouped-by attribute are seconds, minutes, hours, days, months, quarters or years.

19.647table:has-persistent-data

The table:has-persistent-data attribute specifies whether the current data in a database range is saved when the document itself is saved.

The defined values for the table:has-persistent-data attribute are:

The default value for this attribute is true.

The table:has-persistent-data attribute is usable with the following element: <table:database-range> 9.4.15.

The table:has-persistent-data attribute has the data type boolean 18.3.3.

19.648table:id

The table:id attribute specifies the id of an insertion or tracked change.

The table:id attribute is usable with the following elements: <table:cell-content-change> 9.9.17, <table:cell-content-deletion> 9.9.7, <table:change-deletion> 9.9.8, <table:deletion> 9.9.9, <table:dependency> 9.9.5, <table:insertion> 9.9.3, <table:insertion-cut-off> 9.9.11, <table:movement> 9.9.13 and <table:previous> 9.9.19.

The table:id attribute has the data type string 18.2.

19.649table:identify-categories

The table:identify-categories attribute specifies whether rows that do not contain a value in one of the category columns should use the value of the nearest ancestor row that has a value, or  should be moved into a group (or category) of its own.

The defined values for the table:identify-categories attribute are:

The default value for this attribute is false.

The table:identify-categories attribute is usable with the following element: <table:data-pilot-table> 9.6.3.

The table:identify-categories attribute has the data type boolean 18.3.3.

19.650table:ignore-empty-rows

The table:ignore-empty-rows attribute specifies whether empty rows in a source range should be ignored.

The defined values for the table:ignore-empty-rows attribute are:

The default value for this attribute is false.

The table:ignore-empty-rows attribute is usable with the following element: <table:data-pilot-table> 9.6.3.

The table:ignore-empty-rows attribute has the data type boolean 18.3.3.

19.651table:index

The table:index attribute specifies for the <table:operation> element on which it appears, its order in a series of <table:operation> elements under a <table:detective> element.

The table:index attribute is usable with the following element: <table:operation> 9.3.3.

The table:index attribute has the data type nonNegativeInteger 18.2.

19.652table:is-active

The table:is-active attribute specifies whether a scenario that belongs to a scenario table is active.

The defined values for the table:is-active attribute are:

The table:is-active attribute is usable with the following element: <table:scenario> 9.2.7.

The table:is-active attribute has the data type boolean 18.3.3.

19.653table:is-data-layout-field

The table:is-data-layout-field attribute specifies whether a field is a data layout field.

The defined values for the table:is-data-layout-field attribute are:

The default value for this attribute is false.

The table:is-data-layout-field attribute is usable with the following element: <table:data-pilot-field> 9.6.7.

The table:is-data-layout-field attribute has the data type string 18.2.

19.654table:is-selection

The table:is-selection attribute specifies whether the database range includes a complete database, or a selection of records from a database only.

The defined values for the table:is-selection attribute are:

The default value for this attribute is false.

The table:is-selection attribute is usable with the following element: <table:database-range> 9.4.15.

The table:is-selection attribute has the data type boolean 18.3.3.

19.655table:is-sub-table

The table:is-sub-table attribute specifies if a nested table is a subtable.

If a table cell only contains a single table but no paragraphs or other content, the table can be specified as subtable. It occupies the whole cell and no other content can appear in the cell.

The borders of a subtable merge with the borders of the cell where it is specified. A subtable does not have its own style.

A nested table that is not specified to be a subtable appears as a table within a table, that is, it has borders distinct from those of the parent cell and respects the padding of the parent cell.

The defined values for the table:is-sub-table attribute are:

The default value for this attribute is false.

The table:is-sub-table attribute is usable with the following element: <table:table> 9.1.2.

The table:is-sub-table attribute has the data type boolean 18.3.3.

19.656table:label-cell-range-address

The table:label-cell-range-address attribute specifies a cell range address for labels.

The table:label-cell-range-address attribute is usable with the following element: <table:label-range> 9.4.9.

The table:label-cell-range-address attribute has the data type cellRangeAddress 18.3.5.

19.657table:language

The table:language attribute specifies the natural language in which a comparison will occur.

The table:language attribute is usable with the following element: <table:sort> 9.4.19.

The table:language attribute has the data type languageCode 18.3.17.

19.658table:last-column-spanned

The table:last-column-spanned attribute together with the table:last-row-spanned attribute specifies the last known size of a range. If the size of the range has changed since the determination of its size, the value of these attributes will be incorrect.

The table:last-column-spanned attribute is usable with the following element: <table:cell-range-source> 9.3.1.

The table:last-column-spanned attribute has the data type positiveInteger 18.2.

19.659table:last-row-end-column (deprecated)

The table:last-row-end-column attribute specifies the whether the cell in the last row, end column gets its style from its row or column.

The use of this attribute is deprecated. The table:use-last-row-styles or table:use-last-column-styles attributes should be used instead.

The defined values for the table:last-row-end-column attribute are:

The table:last-row-end-column attribute is usable with the following element: <table:table-template> 16.18.

The values of the table:last-row-end-column attribute are row or column.

19.660table:last-row-spanned

The table:last-row-spanned attribute together with the table:last-column-spanned attribute specifies the last known size of a range. If the size of the range has changed since the determination of its size, the value of these attributes will be incorrect.

The table:last-row-spanned attribute is usable with the following element: <table:cell-range-source> 9.3.1.

The table:last-row-spanned attribute has the data type positiveInteger 18.2.

19.661table:last-row-start-column (deprecated)

The table:last-row-start-column attribute specifies the whether the cell in the last row, start column gets its style from its row or column.

The use of this attribute is deprecated. The table:use-last-row-styles or table:use-first-column-styles attributes should be used instead.

The defined values for the table:last-row-start-column attribute are:

The table:last-row-start-column attribute is usable with the following element: <table:table-template> 16.18.

The values of the table:last-row-start-column attribute are row or column.

19.662table:layout-mode

The table:layout-mode attribute specifies how to layout a field.

The defined values for the table:layout-mode attribute are:

The table:layout-mode attribute is usable with the following element: <table:data-pilot-layout-info> 9.6.15.

The values of the table:layout-mode attribute are tabular-layout, outline-subtotals-top or outline-subtotals-bottom.

19.663table:link-to-source-data

The table:link-to-source-data attribute specifies whether the data in a consolidation table range should be linked to the source data, so that it is automatically updated if any changes are made to the source data.

The defined values for the table:link-to-source-data attribute are:

The default value for this attribute is false.

The table:link-to-source-data attribute is usable with the following element: <table:consolidation> 9.7.

The table:link-to-source-data attribute has the data type boolean 18.3.3.

19.664table:marked-invalid

The table:marked-invalid attribute specifies whether the current cell is marked invalid. This attribute cannot be used together with any other attributes.

The defined values for the table:marked-invalid attribute are:

The table:marked-invalid attribute is usable with the following element: <table:highlighted-range> 9.3.4.

The table:marked-invalid attribute has the data type boolean 18.3.3.

19.665table:matrix-covered

The table:matrix-covered attribute specifies if a cell is contained in a matrix.

The defined values for the table:matrix-covered attribute are:

The default value for this attribute is false.

The table:matrix-covered attribute is usable with the following element: <table:change-track-table-cell> 9.9.16.

The table:matrix-covered attribute has the data type boolean 18.3.3.

19.666table:maximum-difference

The table:maximum-difference attribute specifies the maximum difference between two iterative calculation results. The iteration is stopped if the result is less than the value of this attribute.

The default value for this attribute is 0.001.

The table:maximum-difference attribute is usable with the following element: <table:iteration> 9.4.3.

The table:maximum-difference attribute has the data type double 18.2.

19.667table:member-count

The table:member-count attribute specifies the number of values from the top or from the bottom of a data field's column are shown.

The table:member-count attribute is usable with the following element: <table:data-pilot-display-info> 9.6.13.

The table:member-count attribute has the data type nonNegativeInteger 18.2.

19.668table:member-name

The table:member-name attribute specifies the value of a data pilot member.

The table:member-name attribute is usable with the following element: <table:data-pilot-field-reference> 9.6.16.

The table:member-name attribute has the data type string 18.2.

19.669table:member-type

The table:member-type attribute specifies the member of the referenced category column, whose value within the current data field is taken into account.

The defined values for the table:member-type attribute are:

The table:member-type attribute is usable with the following element: <table:data-pilot-field-reference> 9.6.16.

The values of the table:member-type attribute are named, previous or next.

19.670table:message-type

The table:message-type attribute specifies the display of messages.

The defined values for the table:message-type attribute are:

The default value for this attribute is stop.

The table:message-type attribute is usable with the following element: <table:error-message> 9.4.7.

The values of the table:message-type attribute are stop, warning or information.

19.671table:mode

The table:mode attribute specifies what data should be copied from a source table to a destination table.

The defined values for the table:mode attribute are:

The default value for this attribute is copy-all.

The table:mode attribute is usable with the following element: <table:table-source> 9.2.6.

The values of the table:mode attribute are copy-all or copy-results-only.

19.672table:multi-deletion-spanned

The table:multi-deletion-spanned attribute specifies the total number of deleted rows or columns when multiple columns or rows were deleted simultaneously. Each deleted row or column is represented by a <table:deletion> element. The first <table:deletion element in a set representing a simultaneous deletion, shall carry a table:multi-deletion-spanned attribute that specifies the total number of deleted rows or columns.

The table:multi-deletion-spanned attribute is usable with the following element: <table:deletion> 9.9.9.

The table:multi-deletion-spanned attribute has the data type integer 18.2.

19.673table:name

19.673.1General

The table:name attribute specifies a name.

19.673.2<table:cell-range-source>

The table:name attribute specifies the name of a source database range or named range.

The table:name attribute is usable with the following element: <table:cell-range-source> 9.3.1.

The table:name attribute has the data type string 18.2.

19.673.3<table:content-validation>

The table:name attribute specifies the name of a content validation rule. It is used to reference the validation rule from the cell the rule should applied.

The table:name attribute is usable with the following element: <table:content-validation> 9.4.5.

The table:name attribute has the data type string 18.2.

19.673.4<table:data-pilot-group>

The table:name attribute specifies the name of a group.

The table:name attribute is usable with the following element: <table:data-pilot-group> 9.6.18.

The table:name attribute has the data type string 18.2.

19.673.5<table:data-pilot-group-member>

The table:name attribute specifies the name of a member.

The table:name attribute is usable with the following element: <table:data-pilot-group-member> 9.6.19.

The table:name attribute has the data type string 18.2.

19.673.6<table:data-pilot-member>

The table:name attribute specifies the value for which display information is specified.

The table:name attribute is usable with the following element: <table:data-pilot-member> 9.6.12.

The table:name attribute has the data type string 18.2.

19.673.7<table:data-pilot-table>

The table:name attribute specifies the name of a data pilot table.

The table:name attribute is usable with the following element: <table:data-pilot-table> 9.6.3.

The table:name attribute has the data type string 18.2.

19.673.8<table:database-range>

The table:name attribute specifies the name of a database range on which to perform operations. Within a single document, only one database range may have no name. This database range is created by the consumer and is used to filter or sort data in a cell ranges without the user creating a database range.

The table:name attribute is usable with the following element: <table:database-range> 9.4.15.

The table:name attribute has the data type string 18.2.

19.673.9<table:named-expression>

The table:name attribute specifies the name of an expression.

The table:name attribute is usable with the following element: <table:named-expression> 9.4.13.

The table:name attribute has the data type string 18.2.

19.673.10<table:named-range>

The table:name attribute specifies the name of a database range on which to perform operations. Within a single document, only one database range may have no name.

The table:name attribute is usable with the following element: <table:named-range> 9.4.12.

The table:name attribute has the data type string 18.2.

19.673.11<table:operation>

The table:name attribute specifies the name of a detective operation.

The defined values for the table:name attribute are:

The nature of the highlighting imposed or removed from cells as the result of detective operations is implementation-defined.

The table:name attribute is usable with the following element: <table:operation> 9.3.3.

The values of the table:name attribute are trace-dependents, remove-dependents, trace-precedents, remove-precedents or trace-errors.

19.673.12<table:source-service>

The table:name attribute specifies the name of a service. The value of this attribute is implementation-dependent.

The table:name attribute is usable with the following element: <table:source-service> 9.6.6.

The table:name attribute has the data type string 18.2.

19.673.13<table:table>

The table:name attribute specifies the name of a table.

The table:name attribute is usable with the following element: <table:table> 9.1.2.

The table:name attribute has the data type string 18.2.

19.673.14<table:table-template>

The table:name attribute specifies the name of a table template.

The table:name attribute is usable with the following element: <table:table-template> 16.18.

The table:name attribute has the data type string 18.2.

19.674table:null-year

The table:null-year attribute specifies the start year for year values that contain only two digits. All two digit year values are interpreted as a year that is the same as or follows the start year.

The default value for this attribute is 1930.

The table:null-year attribute is usable with the following element: <table:calculation-settings> 9.4.1.

The table:null-year attribute has the data type positiveInteger 18.2.

19.675table:number-columns-repeated

19.675.1General

The table:number-columns-repeated attribute specifies the repetition of columns.

19.675.2<table:covered-table-cell>

The table:number-columns-repeated attribute specifies the number of successive columns in which a cell is repeated. It may be used to describe two or more adjoining cells with a single cell element, if they meet the following conditions:

For a <table:covered-table-cell> 9.1.5 element the default value for this attribute is 1.

The table:number-columns-repeated attribute is usable with the following element: <table:covered-table-cell> 9.1.5.

The table:number-columns-repeated attribute has the data type positiveInteger 18.2.

19.675.3<table:table-cell>

The table:number-columns-repeated attribute specifies the number of successive columns in which a cell is repeated. It may be used to describe two or more adjoining cells with a single cell element, if they meet the following conditions:

For a <table:table-cell> 9.1.4 element the default value for this attribute is 1.

The table:number-columns-repeated attribute is usable with the following element: <table:table-cell> 9.1.4.

The table:number-columns-repeated attribute has the data type positiveInteger 18.2.

19.675.4<table:table-column>

The table:number-columns-repeated attribute specifies the number of columns to which a column description applies. If two or more columns are adjoining, and have the same style, this attribute may be used to describe them with a single <table:table-column> element.

For a <table:table-column> 9.1.6 element the default value for this attribute is 1.

The table:number-columns-repeated attribute is usable with the following element: <table:table-column> 9.1.6.

The table:number-columns-repeated attribute has the data type positiveInteger 18.2.

19.676table:number-columns-spanned

The table:number-columns-spanned attribute specifies the number of columns that a cell spans.

When a cell covers another cell because of a column or row span value greater than one, a <table:covered-table-cell> element shall appear in the table to represent the covered cell.

The default value for this attribute is 1.

The table:number-columns-spanned attribute is usable with the following element: <table:table-cell> 9.1.4.

The table:number-columns-spanned attribute has the data type positiveInteger 18.2.

19.677table:number-rows-repeated

The table:number-rows-repeated attribute specifies the number of rows to which a row element applies. If two or more rows are adjoining, and have the same content and style, and do not contain vertically merged cells, they may be described by a single <table:table-row> element that has a table:number-rows-repeated attribute with a value greater than 1.

The default value for this attribute is 1.

The table:number-rows-repeated attribute is usable with the following element: <table:table-row> 9.1.3.

The table:number-rows-repeated attribute has the data type positiveInteger 18.2.

19.678table:number-rows-spanned

The table:number-rows-spanned attribute specifies the number of columns that a cell spans.

The default value for this attribute is 1.

The table:number-rows-spanned attribute is usable with the following element: <table:table-cell> 9.1.4.

The table:number-rows-spanned attribute has the data type positiveInteger 18.2.

19.679table:number-matrix-columns-spanned

The table:number-matrix-columns-spanned attribute specifies the number of rows spanned by a matrix.

The table:number-matrix-columns-spanned attribute is usable with the following elements: <table:change-track-table-cell> 9.9.16 and <table:table-cell> 9.1.4.

The table:number-matrix-columns-spanned attribute has the data type positiveInteger 18.2.

19.680table:number-matrix-rows-spanned

The table:number-matrix-rows-spanned attribute specifies the number of rows spanned by a matrix.

The table:number-matrix-rows-spanned attribute is usable with the following elements: <table:change-track-table-cell> 9.9.16 and <table:table-cell> 9.1.4.

The table:number-matrix-rows-spanned attribute has the data type positiveInteger 18.2.

19.681table:object-name

The table:object-name attribute specifies the name of the object in the source which contains the data and is passed to the service implementation. Its value is implementation-dependent and service specific.

The table:object-name attribute is usable with the following element: <table:source-service> 9.6.6.

The table:object-name attribute has the data type string 18.2.

19.682table:on-update-keep-size

The table:on-update-keep-size attribute specifies the behavior of a database range if the size of the data in the data source changes.

The defined values for the table:on-update-keep-size attribute are:

The default value for this attribute is true.

The table:on-update-keep-size attribute is usable with the following element: <table:database-range> 9.4.15.

The table:on-update-keep-size attribute has the data type boolean 18.3.3.

19.683table:on-update-keep-styles

The table:on-update-keep-styles attribute specifies the behavior if the database range is updated. If the attribute value is “true”, the cell styles that are assigned to the cells in the first non-label row of the database range are used for all rows with in the database range. If the attribute value is “false”, all cells in the database range get the default cell style of the document assigned.

The defined values for the table:on-update-keep-styles attribute are:

The default value for this attribute is false.

The table:on-update-keep-styles attribute is usable with the following element: <table:database-range> 9.4.15.

The table:on-update-keep-styles attribute has the data type boolean 18.3.3.

19.684table:operator

The table:operator attribute specifies the operator to use in a filter condition. Each cell contained in columns specified by a field number (table:field-number attribute) is compared to a value (table:value attribute) using the specified operator. The result of this comparison is the result of the filter sub-conditions specified by a <table:filter-condition> element.

The defined operators that use regular expressions are:

The table:value attribute contains the regular expression.

Regular expressions are implementation-dependent expressions that, at a minimum, conform to the requirements of Conformance Clause C1 of [UTR18].

The defined operators that do not use regular expressions are:

  • = (Equal to) 

  • != (Not equal to) 

  • < (Less than) 

  • > (Greater than) 

  • <= (Less than or equal to) 

  • >= (Greater than or equal to) 

  • begins (begins with) 

  • contains (contains) 

  • !contains (does not contain) 

  • ends (ends with) 

  • !begins (does not begin with) 

  • !ends (does not end with) 

  • bottom percent (like bottom values, except that the office:value attribute specifies the number of cells for which the condition is true as a percentage) 

  • bottom values (true for the n cells that have the smallest value, where n is the value of the office:value attribute) 

  • empty (true for empty cells) 

  • !empty (true for non-empty cells) 

  • top percent (like bottom percent, but for the largest values) 

  • top values (like bottom values, but for the largest values) 

Depending on the value of the table:data-type attribute, all operations take place on string or numeric values.

The table:operator attribute is usable with the following element: <table:filter-condition> 9.5.5.

The table:operator attribute has the data type string 18.2.

19.685table:order

The table:order attribute specifies a sort order should be in ascending or descending order.

The defined values for the table:order attribute are:

Note: Sorting is locale and implementation-dependent.

For <table:sort-by> 9.4.20 and <table:sort-groups> 9.4.22 elements the default value for this attribute is ascending.

The table:order attribute is usable with the following elements: <table:data-pilot-sort-info> 9.6.14, <table:sort-by> 9.4.20 and <table:sort-groups> 9.4.22.

The values of the table:order attribute are ascending or descending.

19.686table:orientation

19.686.1General

The table:orientation attribute specifies the sorting of tables.

19.686.2<table:data-pilot-field>

The table:orientation attribute specifies the orientation of a source field.

The defined values for the table:orientation attribute are:

The table:orientation attribute is usable with the following element: <table:data-pilot-field> 9.6.7.

The values of the table:orientation attribute are row, column, data, hidden or page.

19.686.3<table:database-range>

The table:orientation attribute specifies whether data fields are organized in row or columns.

The defined values for the table:orientation attribute are:

For a <table:database-range> 9.4.15 element the default value for this attribute is row.

The table:orientation attribute is usable with the following element: <table:database-range> 9.4.15.

The values of the table:orientation attribute are column or row.

19.686.4<table:label-range>

The table:orientation attribute specifies whether labels label rows or columns.

The defined values for the table:orientation attribute are:

The table:orientation attribute is usable with the following element: <table:label-range> 9.4.9.

The values of the table:orientation attribute are column or row.

19.687table:page-breaks-on-group-change

The table:page-breaks-on-group-change attribute specifies whether to insert a page break after the subtotal for each group.

The defined values for the table:page-breaks-on-group-change attribute are:

The default value for this attribute is false.

The table:page-breaks-on-group-change attribute is usable with the following element: <table:subtotal-rules> 9.4.21.

The table:page-breaks-on-group-change attribute has the data type boolean 18.3.3.

19.688table:paragraph-style-name

The table:paragraph-style-name attribute specifies the paragraph style which should be applied to the empty paragraphs created in cells for tables created from a template.

The table:paragraph-style-name attribute is usable with the following elements: <table:body> 16.19.6, <table:even-columns> 16.19.9, <table:even-rows> 16.19.7, <table:first-column> 16.19.4, <table:first-row> 16.19.2, <table:last-column> 16.19.5, <table:last-row> 16.19.3, <table:odd-columns> 16.19.10 and <table:odd-rows> 16.19.8.

The table:paragraph-style-name attribute has the data type styleNameRef 18.3.32.

19.689table:parse-sql-statement

A table:parse-sql-statement attribute specifies whether the consumer will parse SQL statements.

The defined values for the table:parse-sql-statement attribute are:

The default value for this attribute is false.

The table:parse-sql-statement attribute is usable with the following element: <table:database-source-sql> 9.4.16.

The table:parse-sql-statement attribute has the data type boolean 18.3.3.

19.690table:password

The table:password attribute specifies the password needed to access the source. It is passed to the service implementation. Its value is implementation-dependent and service specific.

The table:password attribute is usable with the following element: <table:source-service> 9.6.6.

The table:password attribute has the data type string 18.2.

19.691table:position

The table:position attribute specifies the position where an insertion or deletion was made in a table. Depending on the type of insertion or deletion, the value is the number of a row, a column or a table.

If multiple rows or columns get deleted, the table:start-position and table:end-position attributes contain the number of the first (inclusive) and last (exclusive) deleted rows or columns.

The table:position attribute is usable with the following elements: <table:deletion> 9.9.9, <table:insertion> 9.9.3, <table:insertion-cut-off> 9.9.11 and <table:movement-cut-off> 9.9.12.

The table:position attribute has the data type integer 18.2.

19.692table:precision-as-shown

The table:precision-as-shown attribute specifies whether to perform a calculation using the rounded values displayed in the spreadsheet or using all of the digits in a value.

The defined values for the table:precision-as-shown attribute are:

The default value for this attribute is false.

The table:precision-as-shown attribute is usable with the following element: <table:calculation-settings> 9.4.1.

The table:precision-as-shown attribute has the data type boolean 18.3.3.

19.693table:print

The table:print attribute specifies if a table will be printed. The table:print attribute value is overridden by the table:display attribute. If the table is not displayed, it will also not be printed.

If a table is printed, the table range printed can be specified by the table:print-ranges attribute. If there is no table:print-ranges attribute or it has no value specified, the non-empty portion of a table will be printed.

The defined values for the table:print attribute are:

The default value for this attribute is true.

The table:print attribute is usable with the following element: <table:table> 9.1.2.

The table:print attribute has the data type boolean 18.3.3.

19.694table:print-ranges

The table:print-ranges attribute specifies print ranges of a table. Print ranges define the cells that will be printed. It contains a list of cell addresses or cell range addresses.

The table:print-ranges attribute is usable with the following element: <table:table> 9.1.2.

The table:print-ranges attribute has the data type cellRangeAddressList 18.3.6.

19.695table:protect (deprecated)

The table:protect attribute specifies whether a table cell is protected. Users can not edit the content of a cell that is marked as protected.

This attribute is deprecated in favor of the table:protected attribute.

The defined values for the table:protect attribute are:

The default value for this attribute is false.

The table:protect attribute is usable with the following elements: <table:covered-table-cell> 9.1.5 and <table:table-cell> 9.1.4.

The table:protect attribute has the data type boolean 18.3.3.

19.696table:protected

19.696.1General

The table:protected attribute specifies protection for tables.

19.696.2<table:covered-table-cell>

The table:protected attribute specifies whether a table cell is protected. Users can not edit the content of a cell that is marked as protected.

The defined values for the table:protected attribute are:

For a <table:covered-table-cell> 9.1.5 element the default value for this attribute is false.

The table:protected attribute is usable with the following element: <table:covered-table-cell> 9.1.5.

The table:protected attribute has the data type boolean 18.3.3.

19.696.3<table:scenario>

The table:protected attribute specifies specifies whether the data that is displayed within the scenario is protected from being edited. The attribute is only evaluated if the table on which the scenario displayed is also protected.

The defined values for the table:protected attribute are:

The table:protected attribute is usable with the following element: <table:scenario> 9.2.7.

The table:protected attribute has the data type boolean 18.3.3.

19.696.4<table:table>

The table:protected attribute specifies whether a table is protected from editing. If the table is protected, the table:protection-key attribute can specify an authorization requirement for resetting the protection to enable editing. 19.697 For a protected table, the protection of table cells may be controlled individually by the style:cell-protect attribute. 20.246 Table cells are protected only if they have a table cell style assigned whose style:cell-protect attribute value is different than none.

The defined values for the table:protected attribute are:

  • false: table is not protected. 

  • true: table is protected. 

The table:protected attribute is usable with the following element: <table:table> 9.1.2.

The table:protected attribute has the data type boolean 18.3.3.

For a <table:table> 9.1.2 element the default value for this attribute is false.

19.696.5<table:table-cell>

The table:protected attribute specifies whether a table cell is protected. Users can not edit the content of a cell that is marked as protected.

The defined values for the table:protected attribute are:

For a <table:table-cell> 9.1.4 element the default value for this attribute is false.

The table:protected attribute is usable with the following element: <table:table-cell> 9.1.4.

The table:protected attribute has the data type boolean 18.3.3.

19.697table:protection-key

The table:protection-key attribute, when present, specifies that an authorization is required for removing the protection of a table, table cell or scenario. The authentication procedure is identified by the table:protection-key-digest-algorithm attribute. 19.698 The attribute value is binary data that may be used by the authentication procedure.

The password shall be provided as a sequence of bytes in UTF-8 encoding.

The table:protection-key attribute is usable with the following elements: <office:spreadsheet> 3.7 and <table:table> 9.1.2.

The table:protection-key attribute has the data type string 18.2.

19.698table:protection-key-digest-algorithm

The table:protection-key-digest-algorithm attribute value is an IRI that identifies an authentication procedure for removing a protection.

If the IRI identifies a message-digest algorithm specified in §5.7 of [xmlenc-core], the value of table:protection-key attribute shall be the hash value of the password that is required to authorize removal of the protection. The password shall be provided as a sequence of bytes in UTF-8 encoding.

Any other procedures, their identifying IRIs, and their application of table:protection-key values are implementation-defined.

Consumers shall support http://www.w3.org/2000/09/xmldsig#sha1, which is the default, and http://www.w3.org/2000/09/xmldsig#sha256. They may support other algorithms described in §5.7 of [xmlenc-core] or alternative procedures. Producers should use http://www.w3.org/2000/09/xmldsig#sha256.

The default value for this attribute is http://www.w3.org/2000/09/xmldsig#sha1.

The table:protection-key-digest-algorithm attribute is usable with the following elements: <office:spreadsheet> 3.7 and <table:table> 9.1.2.

The table:protection-key-digest-algorithm attribute has the data type anyIRI 18.3.2.

19.699table:query-name

A table:query-name attribute specifies a query to perform on a database whose data is being imported.

The table:query-name attribute is usable with the following element: <table:database-source-query> 9.4.18.

The table:query-name attribute has the data type string 18.2.

19.700table:range-usable-as

The table:range-usable-as attribute specifies whether the name of the range can be used within the specification of a print range, a filter, a repeating row, or a repeat column.

The defined values for the table:range-usable-as attribute are:

The default value for this attribute is none.

The table:range-usable-as attribute is usable with the following element: <table:named-range> 9.4.12.

The values of the table:range-usable-as attribute are none, or white space separated non-empty lists of one of these values: print-range, filter, repeat-row, or repeat-column..

19.701table:refresh-delay

The table:refresh-delay attribute specifies a time delay between automatic refresh actions.

The table:refresh-delay attribute is usable with the following elements: <table:cell-range-source> 9.3.1, <table:database-range> 9.4.15 and <table:table-source> 9.2.6.

The table:refresh-delay attribute has the data type duration 18.2.

19.702table:rejecting-change-id

The table:rejecting-change-id attribute specifies the id of a previously tracked change that has been rejected.

The table:rejecting-change-id attribute is usable with the following elements: <table:cell-content-change> 9.9.17, <table:deletion> 9.9.9, <table:insertion> 9.9.3 and <table:movement> 9.9.13.

The table:rejecting-change-id attribute has the data type string 18.2.

19.703table:rfc-language-tag

The table:rfc-language-tag attribute specifies a language identifier according to the rules of [RFC5646], or its successors.

It shall only be used if its value can not be expressed as a valid combination of the table:language, table:script and table:country attributes.

Producers may add support for consumers that don't support the table:rfc-language-tag attribute by specifying table:language, table:script and table:country attributes with values that are implementation-dependent.

The table:rfc-language-tag attribute augments the table:language, table:script and table:country attributes. It shall only be used if its value could not be expressed as a valid combination of those. The value shall be a language identifier according to the rules of [RFC5646], or its successors. If a fall-back is provided for consumers that do not support the table:rfc-language-tag attribute, producers should add table:language, table:script and table:country attributes whose values are as close as possible to the value of the table:rfc-language-tag attribute. Producers shall not use values for these attributes that contradict the value of the table:rfc-language-tag attribute.

The table:rfc-language-tag attribute is usable with the following element: <table:sort> 9.4.19.

The table:rfc-language-tag attribute has the data type language 18.3.16.

19.704table:row

The table:row attribute specifies the row number of a cell.

The table:row attribute is usable with the following elements: <table:cell-address> 9.9.18, <table:source-range-address> 9.9.14 and <table:target-range-address> 9.9.15.

The table:row attribute has the data type integer 18.2.

19.705table:scenario-ranges

The table:scenario-ranges attribute specifies the table range that is displayed as a scenario. The value of this attribute is a white space separated list of cell range addresses.

The table:scenario-ranges attribute is usable with the following element: <table:scenario> 9.2.7.

The table:scenario-ranges attribute has the data type cellRangeAddressList 18.3.6.

19.706table:script

The table:script attribute specifies the script information for the natural language in which comparisons will occur. The attribute should be used only if necessary according to the rules of §2.2.3 of [RFC5646], or its successors.

The table:script attribute is usable with the following element: <table:sort> 9.4.19.

The table:script attribute has the data type scriptCode 18.3.29.

19.707table:search-criteria-must-apply-to-whole-cell

The table:search-criteria-must-apply-to-whole-cell attribute specifies whether a search pattern matches the entire content of a cell.

Note: The table:search-criteria-must-apply-to-whole-cell is used with the <table:filter-condition> element when the table:data-type attribute has the value text and the table:operator attribute has a value of: match, !match, =, or !=.

The defined values for the table:search-criteria-must-apply-to-whole-cell are:

The default value for this attribute is true.

The table:search-criteria-must-apply-to-whole-cell attribute is usable with the following element: <table:calculation-settings> 9.4.1.

The table:search-criteria-must-apply-to-whole-cell attribute has the data type boolean 18.3.3.

19.708table:selected-page

The table:selected-page attribute specifies which value is selected for an automatic filter.

The table:selected-page attribute is usable with the following element: <table:data-pilot-field> 9.6.7.

The table:selected-page attribute has the data type string 18.2.

19.709table:show-details

The table:show-details attribute specifies whether additional fields are displayed for a member. This attribute changes the behavior of a data pilot only if there are multiple fields with the orientation row or column.

The defined values for the table:show-details attribute are:

The table:show-details attribute is usable with the following element: <table:data-pilot-member> 9.6.12.

The table:show-details attribute has the data type boolean 18.3.3.

19.710table:show-empty

The table:show-empty attribute specifies whether fields that do not have any members should be displayed. If this attribute is not present, it is implementation-defined whether fields without members are displayed.

The defined values for the table:show-details attribute are:

The table:show-empty attribute is usable with the following element: <table:data-pilot-level> 9.6.8.

The table:show-empty attribute has the data type boolean 18.3.3.

19.711table:show-filter-button

The table:show-filter-button attribute specifies whether a filter button is shown in the UI for a data pilot table. A filter button displays a user interface for a filter if pushed.

The defined values for the table:show-filter-button attribute are:

The default value for this attribute is true.

The table:show-filter-button attribute is usable with the following element: <table:data-pilot-table> 9.6.3.

The table:show-filter-button attribute has the data type boolean 18.3.3.

19.712table:sort-mode

The table:sort-mode attribute specifies how to sort the members of a single data pilot field.

The defined values for the table:sort-mode attribute are:

The table:sort-mode attribute is usable with the following element: <table:data-pilot-sort-info> 9.6.14.

The values of the table:sort-mode attribute are data, none, manual or name.

19.713table:source-cell-range-addresses

The table:source-cell-range-addresses attribute specifies source cell ranges.

The table:source-cell-range-addresses attribute is usable with the following element: <table:consolidation> 9.7.

The table:source-cell-range-addresses attribute has the data type cellRangeAddressList 18.3.6.

19.714table:source-field-name

The table:source-field-name attribute specifies the name or label of a column that connects to a field.

There can be multiple <table:data-pilot-field> elements with the same value for this attribute.

The table:source-field-name attribute is usable with the following elements: <table:data-pilot-field> 9.6.7 and <table:data-pilot-groups> 9.6.17.

The table:source-field-name attribute has the data type string 18.2.

19.715table:source-name

The table:source-name attribute specifies a source name that is passed to the service implementation. Its value is implementation-dependent and service specific.

The table:source-name attribute is usable with the following element: <table:source-service> 9.6.6.

The table:source-name attribute has the data type string 18.2.

19.716table:sql-statement

An table:sql-statement attribute specifies the SQL statement to use when importing data from an SQL database.

The table:sql-statement attribute is usable with the following element: <table:database-source-sql> 9.4.16.

The table:sql-statement attribute has the data type string 18.2.

19.717table:start

The table:start attribute specifies the start value for a grouping of numeric values. All values that are lower than the start value are contained in a single group, while values that are equal to or higher than the start value are grouped as specified by the table:grouped-by and table:step attributes.

The defined values for the table:start attribute are:

The table:start attribute is usable with the following element: <table:data-pilot-groups> 9.6.17.

The values of the table:start attribute are a value of type double 18.2 or auto.

19.718table:start-column

The table:start-column attribute specifies the start-column for a cell range address. The value of a table:start-column attribute is inclusive.

The table:start-column attribute is usable with the following elements: <table:source-range-address> 9.9.14 and <table:target-range-address> 9.9.15.

The table:start-column attribute has the data type integer 18.2.

19.719table:start-position

The table:start-position attribute specifies the number of the first deleted row or column if multiple rows or columns are deleted. The value of a table:start-position attribute is inclusive.

The table:start-position attribute is usable with the following element: <table:movement-cut-off> 9.9.12.

The table:start-position attribute has the data type integer 18.2.

19.720table:start-row

The table:start-row attribute specifies the start-row for a cell range address. The value of a table:start-row attribute is inclusive.

The table:start-row attribute is usable with the following elements: <table:source-range-address> 9.9.14 and <table:target-range-address> 9.9.15.

The table:start-row attribute has the data type integer 18.2.

19.721table:start-table

The table:start-table attribute specifies the start-table for a cell range address. The value of a table:start-table attribute is inclusive.

The table:start-table attribute is usable with the following elements: <table:source-range-address> 9.9.14 and <table:target-range-address> 9.9.15.

The table:start-table attribute has the data type integer 18.2.

19.722table:status

The table:status attribute specifies whether iterative calculations are enabled.

The defined values for the table:status attribute are:

The default value for this attribute is disable.

The table:status attribute is usable with the following element: <table:iteration> 9.4.3.

The values of the table:status attribute are enable or disable.

19.723table:step

The table:step attribute specifies the grouping of numeric values, by specifying the distance between the groups.

The table:step attribute is usable with the following element: <table:data-pilot-groups> 9.6.17.

The table:step attribute has the data type double 18.2.

19.724table:steps

The table:steps attributes specifies the maximum number of iterative calculations.

The default value for this attribute is 100.

The table:steps attribute is usable with the following element: <table:iteration> 9.4.3.

The table:steps attribute has the data type positiveInteger 18.2.

19.725table:structure-protected

The table:structure-protected attribute specifies whether a table is protected from the insertion, deletion, moving or renaming of tables in the document. If the table structure is protected and the table:protection-key attribute is present, an authorization is required for resetting the protection to enable editing.

The defined values for the table:show-details attribute are:

The default value for this attribute is false.

The table:structure-protected attribute is usable with the following element: <office:spreadsheet> 3.7.

The table:structure-protected attribute has the data type boolean 18.3.3.

19.726table:style-name

19.726.1General

The table:style-name attribute specifies styles that are assigned to elements. The style can be either an automatic or common style.

19.726.2<table:background>

The table:style-name attribute specifies a <style:style> element for the table. The style specified by the <style:style> element is of the table family.

The table:style-name attribute is usable with the following element: <table:background> 16.20.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.726.3<table:body>

The table:style-name attribute specifies a <style:style> element of type table-cell.

The table:style-name attribute is usable with the following element: <table:body> 16.19.6.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.726.4<table:covered-table-cell>

The table:style-name attribute specifies a <style:style> element of type table-cell.

If a cell does not have a cell style assigned, then the table:default-cell-style-name attribute of the table row specifies the cell style. If that does not exist, the table:default-cell-style-name attribute of the table column specifies the cell style. If that does not exist, the default style with family table-cell specifies the style for the cell.

The table:style-name attribute is usable with the following element: <table:covered-table-cell> 9.1.5.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.726.5<table:even-columns>

The table:style-name attribute specifies a <style:style> element of type table-cell.

The table:style-name attribute is usable with the following element: <table:even-columns> 16.19.9.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.726.6<table:even-rows>

The table:style-name attribute specifies a <style:style> element of type table-cell.

The table:style-name attribute is usable with the following element: <table:even-rows> 16.19.7.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.726.7<table:first-column>

The table:style-name attribute specifies a <style:style> element of type table-cell.

The table:style-name attribute is usable with the following element: <table:first-column> 16.19.4.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.726.8<table:first-row>

The table:style-name attribute specifies a <style:style> element of type table-cell.

The table:style-name attribute is usable with the following element: <table:first-row> 16.19.2.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.726.9<table:last-column>

The table:style-name attribute specifies a <style:style> element of type table-cell.

The table:style-name attribute is usable with the following element: <table:last-column> 16.19.5.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.726.10<table:last-row>

The table:style-name attribute specifies a <style:style> element of type table-cell.

The table:style-name attribute is usable with the following element: <table:last-row> 16.19.3.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.726.11<table:odd-columns>

The table:style-name attribute specifies a <style:style> element of type table-cell.

The table:style-name attribute is usable with the following element: <table:odd-columns> 16.19.10.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.726.12<table:odd-rows>

The table:style-name attribute specifies a <style:style> element of type table-cell.

The table:style-name attribute is usable with the following element: <table:odd-rows> 16.19.8.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.726.13<table:table-cell>

The table:style-name attribute specifies a <style:style> element of type table-cell.

If a cell does not have a cell style assigned, then the table:default-cell-style-name attribute of the table row specifies the cell style. If that does not exist, the table:default-cell-style-name attribute of the table column specifies the cell style. If that does not exist, the default style with family table-cell specifies the style for the cell.

The table:style-name attribute is usable with the following element: <table:table-cell> 9.1.4.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.726.14<table:table-column>

The table:style-name attribute specifies a <style:style> element of type table-column.

The table:style-name attribute is usable with the following element: <table:table-column> 9.1.6.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.726.15<table:table-row>

The table:style-name attribute specifies a <style:style> element of type table-row.

The table:style-name attribute is usable with the following element: <table:table-row> 9.1.3.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.726.16<table:table>

The table:style-name attribute specifies a <style:style> element of type table.

The table:style-name attribute is usable with the following element: <table:table> 9.1.2.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.727table:table

The table:table attribute specifies a table number for insertions, deletions and for table cells.

The table:table attribute is usable with the following elements: <table:cell-address> 9.9.18, <table:deletion> 9.9.9, <table:insertion> 9.9.3, <table:source-range-address> 9.9.14 and <table:target-range-address> 9.9.15.

The table:table attribute has the data type integer 18.2.

19.728table:table-background

The table:table-background attribute specifies whether a shape is in the table background if the drawing shape is included in a spreadsheet document.

The defined values for the table:show-details attribute are:

The table:table-background attribute is usable with the following elements: <dr3d:scene> 10.5.2, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:annotation> 14.1.

The table:table-background attribute has the data type boolean 18.3.3.

19.729table:table-name

The table:table-name attribute specifies the name of the table in the source document to which the current table is linked. If the attribute is omitted, the current table is linked to the first table in the source document.

The table:table-name attribute is usable with the following element: <table:table-source> 9.2.6.

The table:table-name attribute has the data type string 18.2.

19.730table:target-cell-address

The table:target-cell-address attribute specifies a target cell address.

The table:target-cell-address attribute is usable with the following element: <table:consolidation> 9.7.

The table:target-cell-address attribute has the data type cellAddress 18.3.4.

19.731table:target-range-address

19.731.1General

The table:target-range-address attribute specifies a cell range address. The value of this attribute shall be an absolute cell address that contains a table name. The dollar signs “$” (U+0024, DOLLAR SIGN) that indicate an absolute address may be omitted.

19.731.2<table:data-pilot-table>

The table:target-range-address attribute specifies the cell range where a data pilot table will be displayed.

The table:target-range-address attribute is usable with the following element: <table:data-pilot-table> 9.6.3.

The table:target-range-address attribute has the data type cellRangeAddress 18.3.5.

19.731.3<table:database-range>

The table:target-range-address attribute specifies the cell range address of a database range.

The table:target-range-address attribute is usable with the following element: <table:database-range> 9.4.15.

The table:target-range-address attribute has the data type cellRangeAddress 18.3.5.

19.731.4<table:filter>

The table:target-range-address attribute specifies the cell range for the result of a filter operation, but all table rows remain visible. If the attribute is not present, the rows that do not match the filter conditions are not displayed.

The table:target-range-address attribute is usable with the following element: <table:filter> 9.5.2.

The table:target-range-address attribute has the data type cellRangeAddress 18.3.5.

19.731.5<table:sort>

The table:target-range-address attribute specifies the cell range for the result of a sort operation. If the attribute is not present, the cell range for the result is identical to the cell range of the database range.

The table:target-range-address attribute is usable with the following element: <table:sort> 9.4.19.

The table:target-range-address attribute has the data type cellRangeAddress 18.3.5.

19.732table:template-name

The table:template-name attribute specifies a table template by name.

The table:template-name attribute is usable with the following element: <table:table> 9.1.2.

The table:template-name attribute has the data type string 18.2.

19.733table:title

The table:title attribute that specifies a title of a help or error message.

The table:title attribute is usable with the following elements: <table:error-message> 9.4.7 and <table:help-message> 9.4.6.

The table:title attribute has the data type string 18.2.

19.734table:track-changes

The table:track-changes attribute specifies whether change tracking is enabled.

The defined values for the table:track-changes attribute are:

The default value for this attribute is false.

The table:track-changes attribute is usable with the following element: <table:tracked-changes> 9.9.2.

The table:track-changes attribute has the data type boolean 18.3.3.

19.735table:type

19.735.1General

The table:type attribute specifies a type for a table.

19.735.2<table:data-pilot-field-reference>

The table:type attribute specifies the processing of a referenced category column for display.

The defined values for the table:type attribute are:

The table:type attribute is usable with the following element: <table:data-pilot-field-reference> 9.6.16.

The values of the table:type attribute are none, member-difference, member-percentage, member-percentage-difference, running-total, row-percentage, column-percentage, total-percentage or index.

19.735.3<table:deletion>

The table:type attribute specifies the type of a deletion.

The defined values for the table:type attribute are:

The table:type attribute is usable with the following element: <table:deletion> 9.9.9.

The values of the table:type attribute are row, column or table.

19.735.4<table:insertion>

The table:type attribute specifies the type of an insertion.

The defined values for the table:type attribute are:

The table:type attribute is usable with the following element: <table:insertion> 9.9.3.

The values of the table:type attribute are row, column or table.

19.736table:use-banding-columns-styles

The table:use-banding-columns-styles attribute specifies if the styles referenced by the <table:even-columns> and <table:odd-columns> elements of a table template referenced by the table:template-name attribute are used for cells that are contained in even and odd columns.

The defined values for the table:use-banding-columns-styles attribute are:

The default value for this attribute is false.

The table:use-banding-columns-styles attribute is usable with the following element: <table:table> 9.1.2.

The table:use-banding-columns-styles attribute has the data type boolean 18.3.3.

19.737table:use-banding-rows-styles

The table:use-banding-rows-styles attribute specifies if the styles referenced by the <table:even-rows> and <table:odd-rows> elements of a table template referenced by the table:template-name attribute are used for cells that are contained in even and odd rows.

The defined values for the table:use-banding-rows-styles attribute are:

The default value for this attribute is false.

The table:use-banding-rows-styles attribute is usable with the following element: <table:table> 9.1.2.

The table:use-banding-rows-styles attribute has the data type boolean 18.3.3.

19.738table:use-first-column-styles

The table:use-first-column-styles attribute specifies if the styles referenced by the <table:first-column> element of the table template referenced by the table:template-name attribute are used for cells that are contained in the table's first column.

The defined values for the table:use-first-column-styles attribute are:

The default value for this attribute is false.

The table:use-first-column-styles attribute is usable with the following element: <table:table> 9.1.2.

The table:use-first-column-styles attribute has the data type boolean 18.3.3.

19.739table:use-first-row-styles

The table:use-first-row-styles attribute specifies if the styles referenced by the <table:first-row> element of the table template referenced by the table:template-name attribute are used for cells that are contained in the table's first row.

The defined values for the table:use-first-row-styles attribute are:

The default value for this attribute is false.

The table:use-first-row-styles attribute is usable with the following element: <table:table> 9.1.2.

The table:use-first-row-styles attribute has the data type boolean 18.3.3.

19.740table:use-last-column-styles

The table:use-last-column-styles attribute specifies if the styles referenced by the <table:last-column> element of the table template referenced by the table:template-name attribute are used for cells that are contained in the table's last column.

The defined values for the table:use-last-column-styles attribute are:

The default value for this attribute is false.

The table:use-last-column-styles attribute is usable with the following element: <table:table> 9.1.2.

The table:use-last-column-styles attribute has the data type boolean 18.3.3.

19.741table:use-last-row-styles

The table:use-last-row-styles attribute specifies if the styles referenced by the <table:last-row> element of the table template referenced by the table:template-name attribute are used for cells that are contained in the table's last row.

The defined values for the table:use-last-row-styles attribute are:

The default value for this attribute is false.

The table:use-last-row-styles attribute is usable with the following element: <table:table> 9.1.2.

The table:use-last-row-styles attribute has the data type boolean 18.3.3.

19.742table:use-labels

The table:use-labels attribute specifies whether labels should be used by the consolidation for rows, columns or both. If labels are used for rows or columns, mathematical functions are applied to cells with equally labeled rows or columns rather than to cells with the same relative cell address.

The defined values for the table:type attribute are:

The default value for this attribute is none.

The table:use-labels attribute is usable with the following element: <table:consolidation> 9.7.

The values of the table:use-labels attribute are none, row, column or both.

19.743table:use-regular-expressions

The table:use-regular-expressions attribute specifies whether regular expressions are enabled for character string comparisons and when searching.

Regular expressions are implementation-dependent expressions that, at a minimum, conform to the requirements of Conformance Clause C1 of [UTR18].

The defined values for the table:use-regular-expressions attribute are:

  • false: regular expressions not enabled for string comparisons and searches. 

  • true: regular expressions enabled for string comparisons and searches. 

The default value for this attribute is true.

The table:use-regular-expressions attribute is usable with the following element: <table:calculation-settings> 9.4.1.

The table:use-regular-expressions attribute has the data type boolean 18.3.3.

19.744table:use-wildcards

The table:use-wildcards attribute specifies whether wildcards are enabled for character string comparisons and when searching.

If enabled, in a query or search string of a function, the “?” (U+003F, QUESTION MARK), “*" (U+002A, ASTERISK), and “~" (U+007E, TILDE) are defined as:

The table:use-regular-expressions attribute and the table:use-wildcards attribute are mutually exclusive. The attribute values cannot be true for both attributes.

The defined values for the table:use-wildcards attribute are:

The default value for this attribute is false.

The table:use-wildcards attribute is usable with the following element: <table:calculation-settings> 9.4.1.

The table:use-wildcards attribute has the data type boolean 18.3.3.

19.745table:used-hierarchy

The table:used-hierarchy attribute specifies a unique number assigned by an external component to select the hierarchy that should be applied to a source field.

If the data pilot source is provided by an external component or service, the data contained within category columns may be grouped by its value and it may be further divided into sub-groups or hierarchies. If an external component supports hierarchies, it shall assign unique numbers to those hierarchies.

The default value -1 means that no hierarchy should be applied to a source field.

The default value for this attribute is -1.

The table:used-hierarchy attribute is usable with the following element: <table:data-pilot-field> 9.6.7.

The table:used-hierarchy attribute has the data type integer 18.2.

19.746table:user-name

The table:user-name attribute specifies the user name needed to access a source. It is passed to a service implementation. Its value is implementation-dependent and service specific.

The table:user-name attribute is usable with the following element: <table:source-service> 9.6.6.

The table:user-name attribute has the data type string 18.2.

19.747table:value

19.747.1<table:filter-condition>

The table:value attribute specifies a value for the filter condition.

The table:value attribute is usable with the following element: <table:filter-condition> 9.5.5.

The values of the table:value attribute are a value of type string 18.2 or a value of type double 18.2.

19.747.2<table:filter-set-item>

The table:value attribute specifies a single value within a set of filter values.

The table:value attribute is usable with the following element: <table:filter-set-item> 9.5.6.

The table:value attribute has the data type string 18.2.

19.748table:value-type

The table:value-type attribute specifies the value type of a null date.

The default value for this attribute is date.

The table:value-type attribute is usable with the following element: <table:null-date> 9.4.2.

The only value of the table:value-type attribute is date.

19.749table:visibility

The table:visibility attribute specifies whether a row or column is visible.,

The defined values for the table:visibility attribute are:

The default value for this attribute is visible.

The table:visibility attribute is usable with the following elements: <table:table-column> 9.1.6 and <table:table-row> 9.1.3.

The values of the table:visibility attribute are visible, collapse or filter.

19.750text:active

The text:active attribute specifies the setting of the page variable.

The value of an active page variable is increased on each page.

An inactive page variable is not incremented between pages.

The defined values for the text:active attribute are:

The default value for this attribute is false.

The text:active attribute is usable with the following element: <text:page-variable-set> 7.7.1.2.

The text:active attribute has the data type boolean 18.3.3.

19.751text:address

The text:address attribute specifies the address for a bibliography index entry.

The text:address attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:address attribute has the data type string 18.2.

19.752text:alphabetical-separators

The text:alphabetical-separators attribute specifies whether entries beginning with the same letter are grouped and separated from the entries beginning with the next letter.

The defined values for the text:alphabetical-separators attribute are:

The default value for this attribute is false.

The text:alphabetical-separators attribute is usable with the following element: <text:alphabetical-index-source> 8.8.2.

The text:alphabetical-separators attribute has the data type boolean 18.3.3.

19.753text:anchor-page-number

The text:anchor-page-number attribute specifies the physical page number of an anchor if the drawing object is bound to a page within a text document.

The text:anchor-page-number attribute is usable with the following elements: <dr3d:scene> 10.5.2, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:annotation> 14.1.

The text:anchor-page-number attribute has the data type positiveInteger 18.2.

19.754text:anchor-type

The text:anchor-type attribute specifies how a frame is bound to a text document. The anchor position is the point at which a frame is bound to a text document. The defined values for the text:anchor-type attribute are shown in Table 17.

Table 17 - Text anchor positions

If the value of the text:anchor-type attribute is ...

The anchor position is...

The drawing shape element appears ...

Notes

as-char

There is no anchor position. The drawing shape behaves like a character.

At the position where the character appears in the document.

 

char

The character after the drawing shape element.

Just before the character.

 

frame

The parent text box that the current drawing shape element is contained in.

In the element representing the text box to which the drawing object is bound.

If an image is bound to a text box, the image element is located in the text box element.

 

page

The page that has the same physical page number as the value of the text:anchor-page-number attribute that is attached to the drawing shape element. If no text:anchor-page-number attribute is given, the anchor position is the page at which the character behind the drawing object element appears.

Either

  • At the start of the document body, outside any paragraph or frame, provided a text:anchor-page-number attribute is given. 

Or

  • Inside any paragraph element that is not contained in a header, footer, footnote, or text box, if a text:anchor-page-number attribute is not given. 

The physical page number is the number assigned to the page if all pages in the document are counted starting with page 1.

paragraph

The paragraph that the current drawing shape element is contained in.

At the start of the paragraph element.

 

The text:anchor-type attribute is usable with the following elements: <dr3d:scene> 10.5.2, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:annotation> 14.1.

The values of the text:anchor-type attribute are page, frame, paragraph, char or as-char.

19.755text:annote

The text:annote attribute specifies the annotation for a bibliography index entry.

The text:annote attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:annote attribute has the data type string 18.2.

19.756text:author

The text:author attribute specifies the author or authors for a bibliography index entry.

The text:author attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:author attribute has the data type string 18.2.

19.757text:bibliography-data-field

The text:bibliography-data-field attribute specifies which part of a bibliography data field will be displayed.

The defined values for the text:bibliography-data-field attribute are:

The text:bibliography-data-field attribute is usable with the following element: <text:index-entry-bibliography> 8.13.5.

The values of the text:bibliography-data-field attribute are address, annote, author, bibliography-type, booktitle, chapter, custom1, custom2, custom3, custom4, custom5, edition, editor, howpublished, identifier, institution, isbn, issn, journal, month, note, number, organizations, pages, publisher, report-type, school, series, title, url, volume or year.

19.758text:bibliography-type

The text:bibliography-type attribute specifies to which type of bibliographical entry a template applies.

The defined values for the text:bibliography-type attribute are:

Note: The definitions for article, book, booklet, inbook, incollection, in proceedings, journal, manual, mastersthesis, misc, phdthesis, proceedings, techreport, and unpublished are based on [BibTeXing].

The text:bibliography-type attribute is usable with the following elements: <text:bibliography-entry-template> 8.9.3 and <text:bibliography-mark> 8.1.11.

The values of the text:bibliography-type attribute are article, book, booklet, conference, custom1, custom2, custom3, custom4, custom5, email, inbook, incollection, inproceedings, journal, manual, mastersthesis, misc, phdthesis, proceedings, techreport, unpublished or www.

19.759text:booktitle

The text:booktitle attribute specifies the book title for a bibliography index entry.

The text:booktitle attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:booktitle attribute has the data type string 18.2.

19.760text:bullet-char

The text:bullet-char attribute specifies the [UNICODE] character to use as the bullet in a bullet level style.

The defined values for the text:bullet-char attribute are shown in Table 18:

Table 18 - Typical bullet characters

UNICODE Character Code

Typical Shape

UNICODE Character Name

U+2022

BULLET

U+25CF

BLACK CIRCLE

U+2714

HEAVY CHECK MARK

U+2717

BALLOT X

U+2794

HEAVY WIDE-HEADED RIGHTWARDS ARROW

U+27A2

THREE-D TOP-LIGHTED RIGHTWARDS ARROWHEAD

Note: These characters need not be available in all fonts.

The text:bullet-char attribute is usable with the following element: <text:list-level-style-bullet> 16.31.

The text:bullet-char attribute has the data type character 18.3.7.

19.761text:bullet-relative-size

The text:bullet-relative-size attribute specifies a percentage value for the bullet size relative to the font size of the paragraphs in the bullet list.

The text:bullet-relative-size attribute is usable with the following element: <text:list-level-style-bullet> 16.31.

The text:bullet-relative-size attribute has the data type percent 18.3.23.

19.762text:capitalize-entries

The text:capitalize-entries attribute specifies whether the entries in an index are capitalized.

The defined values for the text:capitalize-entries attribute are:

The text:capitalize-entries attribute controls capitalization of index entries during the generation of indexes. Index entries may be entered in either upper or lower case, without regard to the text:capitalize-entries attribute.

The default value for this attribute is false.

The text:capitalize-entries attribute is usable with the following element: <text:alphabetical-index-source> 8.8.2.

The text:capitalize-entries attribute has the data type boolean 18.3.3.

19.763text:c

The text:c attribute specifies the number of “ “ (U+0020, SPACE) characters that a <text:s> element represents. A missing text:c attribute is interpreted as a single “ “ (U+0020, SPACE) character.

The text:c attribute is usable with the following element: <text:s> 6.1.3.

The text:c attribute has the data type nonNegativeInteger 18.2.

19.764text:caption-sequence-format

The text:caption-sequence-format attribute specifies the format of entries for an index of illustrations obtained from image captions.

The defined values for the text:caption-sequence-format attribute are:

The text:caption-sequence-format attribute is usable with the following elements: <text:illustration-index-source> 8.4.2 and <text:table-index-source> 8.5.2.

The values of the text:caption-sequence-format attribute are text, category-and-value or caption.

19.765text:caption-sequence-name

The text:caption-sequence-name attribute specifies the sequence by which captions are identified.

If the text:use-caption attribute is set to true, this attribute shall be present.

Note: Illustration captions are regular paragraphs. For index generation, a paragraph is considered to be a caption if it contains the sequence variable with the name specified by the text:caption-sequence-name attribute.

The text:caption-sequence-name attribute is usable with the following elements: <text:illustration-index-source> 8.4.2 and <text:table-index-source> 8.5.2.

The text:caption-sequence-name attribute has the data type string 18.2.

19.766text:change-id

The text:change-id attribute specifies the id that links <text:change-start>, <text:change-end>, and <text:change> elements to the <text:changed-region> element that contains change information.

The text:change-id attribute is usable with the following elements: <text:change> 5.5.7.4, <text:change-end> 5.5.7.3 and <text:change-start> 5.5.7.2.

The text:change-id attribute has the data type IDREF 18.2.

19.767text:chapter

The text:chapter attribute specifies the chapter reference for a bibliography index entry.

The text:chapter attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:chapter attribute has the data type string 18.2.

19.768text:citation-body-style-name

The text:citation-body-style-name attribute specifies the text style to use for a note citation in the text flow.

The text:citation-body-style-name attribute is usable with the following element: <text:notes-configuration> 16.29.3.

The text:citation-body-style-name attribute has the data type styleNameRef 18.3.32.

19.769text:citation-style-name

The text:citation-style-name attribute specifies the text style to use for a note citation within the footnote.

The text:citation-style-name attribute is usable with the following element: <text:notes-configuration> 16.29.3.

The text:citation-style-name attribute has the data type styleNameRef 18.3.32.

19.770text:class-names

19.770.1General

A text:class-names attribute specifies a white space separated list of style names. The referenced styles are applied in the order they are contained in the list.

If both text:style-name and text:class-names are present, the style referenced by the text:style-name attribute is applied before the styles referenced by text:class-names attribute. If a conditional style is specified together with a text:class-names attribute, but without a text:style-name attribute, the text:style-name attribute is assumed to have the value of the first style name in the list defined by the text:class-name attribute.

19.770.2<text:h>

A text:class-names attribute specifies a white space separated list of paragraph style names.

The text:class-names attribute is usable with the following element: <text:h> 5.1.2.

The text:class-names attribute has the data type styleNameRefs 18.3.33.

19.770.3<text:p>

A text:class-names attribute specifies a white space separated list of paragraph style names.

The text:class-names attribute is usable with the following element: <text:p> 5.1.3.

The text:class-names attribute has the data type styleNameRefs 18.3.33.

19.770.4<text:span>

A text:class-names attribute specifies a white space separated list of text style names.

The text:class-names attribute is usable with the following element: <text:span> 6.1.7.

The text:class-names attribute has the data type styleNameRefs 18.3.33.

19.771text:column-name

The text:column-name attribute specifies the name of the column from which data is displayed. The value of this attribute shall be a column name contained in the current selection as specified by the data source.

The text:column-name attribute is usable with the following element: <text:database-display> 7.6.3.

The text:column-name attribute has the data type string 18.2.

19.772text:combine-entries

The text:combine-entries attribute specifies whether multiple entries for a single word should be combined into a single entry.

The defined values for the text:combine-entries attribute are:

The default value for this attribute is true.

The text:combine-entries attribute is usable with the following element: <text:alphabetical-index-source> 8.8.2.

The text:combine-entries attribute has the data type boolean 18.3.3.

19.773text:combine-entries-with-dash

The text:combine-entries-with-dash attributes specifies that multiple entries for a single word that should be displayed as a single entry, as per a text:combine-entries attribute, should be displayed as a range of numbers separated by a dash.

The defined values for the text:combine-entries-with-dash attribute are:

The default value for this attribute is false.

The text:combine-entries-with-dash attribute is usable with the following element: <text:alphabetical-index-source> 8.8.2.

The text:combine-entries-with-dash attribute has the data type boolean 18.3.3.

19.774text:combine-entries-with-pp

The text:combine-entries-with-pp attributes specifies that multiple entries for a single word that should be displayed as a single entry, as per a text:combine-entries attribute, should be displayed as the start page number, followed by a "ff", or the appropriate label for the chosen language.

The default value for this attribute is true.

The text:combine-entries-with-pp attribute is usable with the following element: <text:alphabetical-index-source> 8.8.2.

The text:combine-entries-with-pp attribute has the data type boolean 18.3.3.

19.775text:comma-separated

The text:comma-separated attribute specifies how to treat multiple index entries. Instead of listing each index entry on a separate line, multiple entries can be listed on a single line separated by a comma “,” (U+002C, COMMA). If the value of this attribute is true, multiple entries are listed on a single line separated by a comma. By default, the value of this attribute is false and each index entry is displayed on a separate line.

The defined values for the text:comma-separated attribute are:

The default value for this attribute is false.

The text:comma-separated attribute is usable with the following element: <text:alphabetical-index-source> 8.8.2.

The text:comma-separated attribute has the data type boolean 18.3.3.

19.776text:cond-style-name

The text:cond-style-name attribute specifies a conditional-style, that is, a style that contains conditions and maps to other styles. The styles referenced shall be a paragraph style. 16.3

If a conditional style is applied to a paragraph, the text:style-name attribute should contain the name of the style that was the result of the conditional style evaluation, while the conditional style name itself is the value of the text:cond-style-name attribute. The referenced style can be a common style or an automatic style.

The text:cond-style-name attribute is usable with the following elements: <text:h> 5.1.2 and <text:p> 5.1.3.

The text:cond-style-name attribute has the data type styleNameRef 18.3.32.

19.777text:condition

19.777.1General

The text:condition attribute specifies a condition. Conditions do not have a predefined syntax, but the attribute value should begin with a namespace prefix, followed by a ":" (U+003A, COLON) separator, followed by the text of a formula. The namespace bound to the prefix determines the syntax and semantics of the formula.

19.777.2<text:conditional-text>

The text:condition attribute specifies the condition that determines which of the two text strings of an <text:conditional-text> text field is displayed.

The text:condition attribute is usable with the following element: <text:conditional-text> 7.7.3.

The text:condition attribute has the data type string 18.2.

19.777.3<text:database-next>

The text:condition attribute specifies a condition expression. The expression is evaluated and if the result interpreted as a Boolean value is true, the next row is used as the new current row.

If the <text:database-next> element has no text:condition attribute, the next available row is selected.

The text:condition attribute is usable with the following element: <text:database-next> 7.6.4.

The text:condition attribute has the data type string 18.2.

19.777.4<text:database-row-select>

The text:condition attribute specifies a condition for selecting a row. If the attribute is present, a new row will be selected only if the condition evaluates to a value interpreted as true.

If a <text:database-row-select> element has no text:condition attribute, the next row is selected.

The text:condition attribute is usable with the following element: <text:database-row-select> 7.6.5.

The text:condition attribute has the data type string 18.2.

19.777.5<text:hidden-paragraph>

The text:condition attribute specifies a Boolean expression. If the expression evaluates to true, the paragraph is hidden. If the expression evaluates to false, the paragraph is displayed.

The text:condition attribute is usable with the following element: <text:hidden-paragraph> 7.7.11.

The text:condition attribute has the data type string 18.2.

19.777.6<text:hidden-text>

The text:condition attribute specifies a Boolean expression. If the expression evaluates to true, the text is hidden. If the expression evaluates to false, the text is displayed.

The text:condition attribute is usable with the following element: <text:hidden-text> 7.7.4.

The text:condition attribute has the data type string 18.2.

19.777.7<text:section>

The text:condition attribute specifies the condition under which a section is hidden. The condition is encoded as a string. If the value of text:display is condition, the text:condition attribute shall be present.

The text:condition attribute is usable with the following element: <text:section> 5.4.

The text:condition attribute has the data type string 18.2.

19.778text:connection-name

The text:connection-name attribute specifies the name of the DDE connection to which a field refers.

The text:connection-name attribute is usable with the following element: <text:dde-connection> 7.7.12.

The text:connection-name attribute has the data type string 18.2.

19.779text:consecutive-numbering

The text:consecutive-numbering attribute specifies whether the style uses consecutive numbering for all list levels or whether each list level restarts the numbering.

The defined values for the text:consecutive-numbering attribute are:

The default value for this attribute is false.

The text:consecutive-numbering attribute is usable with the following element: <text:list-style> 16.30.

The text:consecutive-numbering attribute has the data type boolean 18.3.3.

19.780text:continue-list

The text:continue-list attribute specifies the xml:id value of a list that is to be continued.

The text:continue-list attribute is usable with the following element: <text:list> 5.3.1.

The text:continue-list attribute has the data type IDREF 18.2.

19.781text:continue-numbering

The text:continue-numbering attribute specifies, if the numbering of the preceding list is continued or not. This attribute is ignored, if attribute text:continue-list 19.780 is present.

The defined values for the text:continue-numbering attribute are:

  • true: if text:continue-list attribute is not present and the numbering style of the preceding list is the same as the current list, the number of the first list item in the current list is the number of the last item in the preceding list incremented by one.  

  • false: if the text:continue-list attribute is not present, the numbering of the preceding list is not continued. 

The use of the text:continue-numbering attribute with the <text:numbered-paragraph> element has been deprecated.

The text:continue-numbering attribute is usable with the following elements: <text:list> 5.3.1 and <text:numbered-paragraph> 5.3.6.

The text:continue-numbering attribute has the data type boolean 18.3.3.

19.782text:copy-outline-levels

The text:copy-outline-levels attribute specifies whether index entries are indented according to the outline level of their source.

The defined values for the text:copy-outline-levels attribute are:

The default value for this attribute is false.

The text:copy-outline-levels attribute is usable with the following element: <text:user-index-source> 8.7.2.

The text:copy-outline-levels attribute has the data type boolean 18.3.3.

19.783text:count-empty-lines

The text:count-empty-lines attribute specifies whether empty lines are included in the line count.

The defined values for the text:count-empty-lines attribute are:

The default value for this attribute is true.

The text:count-empty-lines attribute is usable with the following element: <text:linenumbering-configuration> 16.29.1.

The text:count-empty-lines attribute has the data type boolean 18.3.3.

19.784text:count-in-text-boxes

The text:count-in-text-boxes attribute specifies whether text in text boxes is included in the line count. If the value of this attribute is true, text within text boxes is included in the line count.

The defined values for the text:count-in-text-boxes attribute are:

The default value for this attribute is false.

The text:count-in-text-boxes attribute is usable with the following element: <text:linenumbering-configuration> 16.29.1.

The text:count-in-text-boxes attribute has the data type boolean 18.3.3.

19.785text:current-value

The text:current-value attribute specifies the evaluation result of a condition given by the expression in a text:condition attribute. 613 The value of this attribute is updated whenever the expression is evaluated.

The text:current-value attribute is usable with the following element: <text:conditional-text> 7.7.3.

The text:current-value attribute has the data type boolean 18.3.3.

19.786text:custom1

The text:custom1 attribute specifies the first of up to five user defined fields for a bibliography index entry.

The text:custom1 attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:custom1 attribute has the data type string 18.2.

19.787text:custom2

The text:custom2 attribute specifies the second of up to five user defined fields for a bibliography index entry.

The text:custom2 attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:custom2 attribute has the data type string 18.2.

19.788text:custom3

The text:custom3 attribute specifies the third of up to five user defined fields for a bibliography index entry.

The text:custom3 attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:custom3 attribute has the data type string 18.2.

19.789text:custom4

The text:custom4 attribute specifies the fourth of up to five user defined fields for a bibliography index entry.

The text:custom4 attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:custom4 attribute has the data type string 18.2.

19.790text:custom5

The text:custom5 attribute specifies the fifth of up to five user defined fields for a bibliography index entry.

The text:custom5 attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:custom5 attribute has the data type string 18.2.

19.791text:database-name

The text:database-name attribute specifies a source database by its name.

The text:database-name attribute is usable with the following elements: <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6 and <text:database-row-select> 7.6.5.

The text:database-name attribute has the data type string 18.2.

19.792text:date-adjust

The text:date-adjust attribute specifies an adjustment to the value of a date field. If the time period is negative, it is subtracted from the value of the date field.

The text:date-adjust attribute is usable with the following element: <text:date> 7.3.2.

The text:date-adjust attribute has the data type duration 18.2.

19.793text:date-value

The text:date-value attribute specifies a date value. If no value is specified, whether the field is marked as fixed or not, the current date is assumed.

Note: This attribute can also be used to specify a future date.

The text:date-value attribute is usable with the following elements: <text:creation-date> 7.5.3, <text:date> 7.3.2, <text:modification-date> 7.5.16 and <text:print-date> 7.5.8.

The text:date-value attribute has the data type dateOrDateTime 18.3.14.

19.794text:default-style-name

The text:default-style-name attribute specifies a default footnote paragraph style for new footnotes that are inserted into a document. It is not evaluated for footnotes that already exist.

The text:default-style-name attribute is usable with the following element: <text:notes-configuration> 16.29.3.

The text:default-style-name attribute has the data type styleNameRef 18.3.32.

19.795text:description

The text:description attribute specifies a message that is displayed when users are prompted for input.

The text:description attribute is usable with the following elements: <text:placeholder> 7.7.2, <text:text-input> 7.4.15, <text:user-field-input> 7.4.10 and <text:variable-input> 7.4.6.

The text:description attribute has the data type string 18.2.

19.796text:display

19.796.1General

The text:display attribute specifies options for the display of text.

19.796.2<text:chapter>

The text:display attribute specifies the information that a chapter field should display.

The defined values for the text:display attribute are:

The text:display attribute is usable with the following element: <text:chapter> 7.3.8.

The values of the text:display attribute are name, number, number-and-name, plain-number-and-name or plain-number.

19.796.3<text:expression>

The text:display attribute specifies the display of a field.

The defined values for the text:display attribute are:

The text:display attribute is usable with the following element: <text:expression> 7.4.14.

The values of the text:display attribute are value or formula.

19.796.4<text:file-name>

The text:display attribute specifies how much of the file name to display.

The defined values for the text:display attribute are:

The filename may be an IRI, either because an IRI has been used to retrieve the file, or the consumer internally uses IRIs and therefore converts system specific paths into an IRI. If this is the case, and if the path, the name or the extension cannot be evaluated from the IRI, then the IRI should be displayed unmodified.

The text:display attribute is usable with the following element: <text:file-name> 7.3.9.

The values of the text:display attribute are full, path, name or name-and-extension.

19.796.5<text:index-entry-chapter>

The text:display attribute specifies the information that a chapter field should display.

The defined values for the text:display attribute are:

For a <text:index-entry-chapter> 8.13.1 element the default value for this attribute is number.

The text:display attribute is usable with the following element: <text:index-entry-chapter> 8.13.1.

The values of the text:display attribute are name, number, number-and-name, plain-number or plain-number-and-name.

19.796.6<text:section>

The text:display attribute specifies whether the section is hidden.

The defined values for the text:display attribute are:

The text:display attribute is usable with the following element: <text:section> 5.4.

The values of the text:display attribute are true, none or condition.

19.796.7<text:table-formula>

The text:display attribute specifies the type of the value that appears in this element.

The defined values for the text:display attribute are:

The text:display attribute is usable with the following element: <text:table-formula> 7.7.14.

The values of the text:display attribute are value or formula.

19.796.8<text:template-name>

The text:display attribute specifies the information about a document template to display.

The defined values for the text:display attribute are:

The text:display attribute is usable with the following element: <text:template-name> 7.3.10.

The values of the text:display attribute are full, path, name, name-and-extension, area or title.

19.796.9<text:user-field-get>

The text:display attribute specifies the display of a user field.

The defined values for the text:display attribute are:

The text:display attribute is usable with the following element: <text:user-field-get> 7.4.9.

The values of the text:display attribute are value, formula or none.

19.796.10<text:variable-get>

The text:display attribute specifies the display of a variable get field.

The defined values for the text:display attribute are:

The text:display attribute is usable with the following element: <text:variable-get> 7.4.5.

The values of the text:display attribute are value or formula.

19.796.11<text:variable-input>

The text:display attribute specifies the display of a variable input field.

The defined values for the text:display attribute are:

The text:display attribute is usable with the following element: <text:variable-input> 7.4.6.

The values of the text:display attribute are value or none.

19.796.12<text:variable-set>

The text:display attribute specifies the display of a variable set field.

The defined values for the text:display attribute are:

The text:display attribute is usable with the following element: <text:variable-set> 7.4.4.

The values of the text:display attribute are value or none.

19.797text:display-levels

The text:display-levels attribute specifies the number of levels whose numbers are displayed at the current level.

The default value for this attribute is 1.

The text:display-levels attribute is usable with the following elements: <text:list-level-style-number> 16.32 and <text:outline-level-style> 16.35.

The text:display-levels attribute has the data type positiveInteger 18.2.

19.798text:display-outline-level

The text:display-outline-level attribute specifies the numbering of a sequence by chapter. This attribute specifies an outline level that determines which chapters to reference for the chapter-specific numbering. All chapters that are at or below the specified outline level reset the value of the sequence to zero, the default value. The chapter number of the last chapter at or below the specified outline level is prefixed to the sequence number. Choosing an outline level of zero results in a continuous numbering of all sequence elements for that sequence variable.

The text:display-outline-level attribute is usable with the following element: <text:sequence-decl> 7.4.12.

The text:display-outline-level attribute has the data type nonNegativeInteger 18.2.

19.799text:duration

The text:duration attribute contains the value of a <text:editing-duration> field element if its value is fixed.

The text:duration attribute is usable with the following element: <text:editing-duration> 7.5.14.

The text:duration attribute has the data type duration 18.2.

19.800text:edition

The text:edition attribute specifies the edition for a bibliography index entry.

The text:edition attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:edition attribute has the data type string 18.2.

19.801text:editor

The text:editor attribute specifies the editor for a bibliography index entry.

The text:editor attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:editor attribute has the data type string 18.2.

19.802text:filter-name

The text:filter-name attribute specifies the filter type to be used to import the link target. The value of this attribute is implementation-dependent.

The text:filter-name attribute is usable with the following element: <text:section-source> 5.4.2.

The text:filter-name attribute has the data type string 18.2.

19.803text:fixed

The text:fixed attribute specifies whether the value of a field element is fixed.

The defined values for the text:fixed attribute are:

The text:fixed attribute is usable with the following elements: <text:author-initials> 7.3.7.2, <text:author-name> 7.3.7.1, <text:creation-date> 7.5.3, <text:creation-time> 7.5.4, <text:creator> 7.5.17, <text:date> 7.3.2, <text:description> 7.5.5, <text:editing-cycles> 7.5.13, <text:editing-duration> 7.5.14, <text:file-name> 7.3.9, <text:initial-creator> 7.5.2, <text:keywords> 7.5.12, <text:modification-date> 7.5.16, <text:modification-time> 7.5.15, <text:page-number> 7.3.4, <text:print-date> 7.5.8, <text:printed-by> 7.5.9, <text:print-time> 7.5.7, <text:sender-city> 7.3.6.13, <text:sender-company> 7.3.6.10, <text:sender-country> 7.3.6.15, <text:sender-email> 7.3.6.7, <text:sender-fax> 7.3.6.9, <text:sender-firstname> 7.3.6.2, <text:sender-initials> 7.3.6.4, <text:sender-lastname> 7.3.6.3, <text:sender-phone-private> 7.3.6.8, <text:sender-phone-work> 7.3.6.11, <text:sender-position> 7.3.6.6, <text:sender-postal-code> 7.3.6.14, <text:sender-state-or-province> 7.3.6.16, <text:sender-street> 7.3.6.12, <text:sender-title> 7.3.6.5, <text:subject> 7.5.11, <text:time> 7.3.3, <text:title> 7.5.10 and <text:user-defined> 7.5.6.

The text:fixed attribute has the data type boolean 18.3.3.

19.804text:footnotes-position

The text:footnotes-position attribute specifies a position for a footnote.

The defined values for the text:footnotes-position attribute are:

The text:footnotes-position attribute is usable with the following element: <text:notes-configuration> 16.29.3.

The values of the text:footnotes-position attribute are text, page, section or document.

19.805text:formula

The text:formula attribute specifies the formula or expression used to compute the value of a field.

The attribute value should begin with a namespace prefix followed by ":" (U+003A, COLON) followed by the text of the formula. The namespace bound to the prefix determines the syntax and semantics of the formula.

The text:formula attribute is usable with the following elements: <text:expression> 7.4.14, <text:sequence> 7.4.13, <text:table-formula> 7.7.14, <text:user-field-decl> 7.4.8 and <text:variable-set> 7.4.4.

The text:formula attribute has the data type string 18.2.

19.806text:global (deprecated)

The text:global attribute specifies whether the user interface of a consumer should consider the documents to which linked text sections are linked as individually editable parts of the document.

The defined values for the text:global attribute are:

The text:global attribute is deprecated in favor of the application/vnd.oasis.opendocument.text-master MIME type. Using this MIME type for a document has the same effect as the value true for a text:global attribute.

The default value for this attribute is false.

The text:global attribute is usable with the following element: <office:text> 3.4.

The text:global attribute has the data type boolean 18.3.3.

19.807text:howpublished

The text:howpublished attribute specifies the publication type for a bibliography index entry.

The text:howpublished attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:howpublished attribute has the data type string 18.2.

19.808text:increment

The text:increment attribute causes line numbers to be numbered as multiples of a specified increment.

The text:increment attribute is usable with the following elements: <text:linenumbering-configuration> 16.29.1 and <text:linenumbering-separator> 16.29.2.

The text:increment attribute has the data type nonNegativeInteger 18.2.

19.809text:id

19.809.1General

The text:id attribute specifies an identifier or a name for an element.

19.809.2<draw:text-box>

The text:id attribute specifies an identifier for an element.

OpenDocument consumers shall ignore a text:id attribute if it occurs on a <draw:text-box> element with an xml:id attribute value.

OpenDocument producers may write text:id attributes for <draw:text-box> elements in addition to an xml:id attribute.

 The value of a text:id attribute shall equal the value of an xml:id attribute on the same <draw:text-box> element.

The text:id attribute is deprecated in favor of xml:id. 19.914

The text:id attribute is usable with the following element: <draw:text-box> 10.4.3.

The text:id attribute has the data type NCName 18.2.

19.809.3<text:alphabetical-index-mark-end>

The text:id attribute specifies a name by which start- and end mark elements are connected to each other.

The text:id attribute is usable with the following element: <text:alphabetical-index-mark-end> 8.1.9.

The text:id attribute has the data type string 18.2.

19.809.4<text:alphabetical-index-mark-start>

The text:id attribute specifies a name by which start- and end mark elements are connected to each other.

The text:id attribute is usable with the following element: <text:alphabetical-index-mark-start> 8.1.8.

The text:id attribute has the data type string 18.2.

19.809.5<text:changed-region>

The text:id attribute specifies the an identifier for an element.

The ID value is used in text:change-id IDREF values to refer to a particular <text:changed-region> element.

OpenDocument consumers shall ignore a text:id attribute if it occurs on an element with an xml:id attribute value.

OpenDocument producers may write text:id attributes for elements in addition to an xml:id attribute.

The value of a text:id attribute shall equal the value of an xml:id attribute on the same element.

The text:id attribute is deprecated in favor of xml:id. 19.914

The text:id attribute is usable with the following element: <text:changed-region> 5.5.2.

The text:id attribute has the data type NCName 18.2.

19.809.6<text:h>

The text:id attribute specifies an identifier for an element.

OpenDocument consumers shall ignore a text:id attribute if it occurs on an element with an xml:id attribute value.

OpenDocument producers may write text:id attributes for elements in addition to an xml:id attribute.

The value of a text:id attribute shall equal the value of an xml:id attribute on the same element.

The text:id attribute is deprecated in favor of xml:id. 19.914

The text:id attribute is usable with the following element: <text:h> 5.1.2.

The text:id attribute has the data type NCName 18.2.

19.809.7<text:note>

The text:id attribute specifies specifies a name by which notes can be referenced from <text:note-ref> elements. See 7.7.7.

The text:id attribute is usable with the following element: <text:note> 6.3.2.

The text:id attribute has the data type string 18.2.

19.809.8<text:p>

The text:id attribute specifies an identifier for an element.

OpenDocument consumers shall ignore a text:id attribute if it occurs on a <text:p> element with an xml:id attribute value. If there is no xml:id attribute value, then a text:id attribute should be processed as it were an xml:id attribute.

OpenDocument producers may write text:id attributes for <text:p> elements in addition to an xml:id attribute.

A <text:p> element shall not have an text:id attribute if it has no xml:id attribute value. The value of a text:id attribute shall equal the value of an xml:id attribute on the same <text:p> element.

The text:id attribute is deprecated in favor of xml:id. 19.914

The text:id attribute is usable with the following element: <text:p> 5.1.3.

The text:id attribute has the data type NCName 18.2.

19.809.9<text:toc-mark-end>

The text:id attribute specifies a name by which start- and end mark elements are connected to each other.

The text:id attribute is usable with the following element: <text:toc-mark-end> 8.1.3.

The text:id attribute has the data type string 18.2.

19.809.10<text:toc-mark-start>

The text:id attribute specifies a name by which start- and end mark elements are connected to each other. The name specified by the text:id attribute shall be unique except for a matching <text:toc-mark-end> element.

The text:id attribute is usable with the following element: <text:toc-mark-start> 8.1.2.

The text:id attribute has the data type string 18.2.

19.809.11<text:user-index-mark-end>

The text:id attribute specifies a string by which start- and end mark elements are connected to each other. The string shall be unique except for matching its corresponding <text:user-index-mark-start> element.

The text:id attribute is usable with the following element: <text:user-index-mark-end> 8.1.6.

The text:id attribute has the data type string 18.2.

19.809.12<text:user-index-mark-start>

The text:id attribute specifies a string by which start- and end mark elements are connected to each other. The string shall be unique except for matching its corresponding <text:user-index-mark-end> element.

The text:id attribute is usable with the following element: <text:user-index-mark-start> 8.1.5.

The text:id attribute has the data type string 18.2.

19.810text:identifier

The text:identifier attribute specifies an identifier for a bibliography index entry.

The text:identifier attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:identifier attribute has the data type string 18.2.

19.811text:index-name

The text:index-name attribute specifies the name of a user defined index.

Note: In order to support multiple user-defined indexes with different contents, user index marks have a text:index-name attribute. The same attribute can be used with a <text:user-index-source> element to specify which index marks apply to the current index.

The text:index-name attribute is usable with the following elements: <text:user-index-mark> 8.1.7, <text:user-index-mark-start> 8.1.5 and <text:user-index-source> 8.7.2.

The text:index-name attribute has the data type string 18.2.

19.812text:index-scope

The text:index-scope attribute specifies whether an index is constructed for an entire document or for a chapter.

The defined values for the text:index-scope attribute are:

The default value for this attribute is document.

For <text:alphabetical-index-source> 8.8.2, <text:illustration-index-source> 8.4.2, <text:object-index-source> 8.6.2, <text:table-index-source> 8.5.2 and <text:user-index-source> 8.7.2 elements the default value for this attribute is document.

The text:index-scope attribute is usable with the following elements: <text:alphabetical-index-source> 8.8.2, <text:illustration-index-source> 8.4.2, <text:object-index-source> 8.6.2, <text:table-index-source> 8.5.2, <text:table-of-content-source> 8.3.2 and <text:user-index-source> 8.7.2.

The values of the text:index-scope attribute are document or chapter.

19.813text:ignore-case

The text:ignore-case attribute specifies whether the capitalization of words is ignored. If the value is true, the capitalization is ignored and entries that are identical except for character case are listed as the same entries. If the value is false, the capitalization of words is not ignored.

The defined values for the text:ignore-case attribute are:

The default value for this attribute is false.

The text:ignore-case attribute is usable with the following element: <text:alphabetical-index-source> 8.8.2.

The text:ignore-case attribute has the data type boolean 18.3.3.

19.814text:institution

The text:institution attribute specifies an institution for a bibliography index entry.

The text:institution attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:institution attribute has the data type string 18.2.

19.815text:is-hidden

The text:is-hidden attribute specifies whether a field or paragraph is currently visible.

Note: The value of this attribute is overwritten with a new value as soon as the consumer evaluates the expression.

The defined values for the text:is-hidden attribute are:

The text:is-hidden attribute is usable with the following elements: <text:hidden-paragraph> 7.7.11 and <text:hidden-text> 7.7.4.

The text:is-hidden attribute has the data type boolean 18.3.3.

19.816text:is-list-header

The text:is-list-header attribute specifies the appearance of a specific heading without numbering.

The defined values for the text:is-list-header attribute are:

The default value for this attribute is false.

The text:is-list-header attribute is usable with the following element: <text:h> 5.1.2.

The text:is-list-header attribute has the data type boolean 18.3.3.

19.817text:isbn

The text:isbn attribute specifies an ISBN for a bibliography index entry.

The text:isbn attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:isbn attribute has the data type string 18.2.

19.818text:issn

The text:issn attribute specifies an ISSN for a bibliography index entry.

The text:issn attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:issn attribute has the data type string 18.2.

19.819text:journal

The text:journal attribute specifies a journal for a bibliography index entry.

The text:journal attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:journal attribute has the data type string 18.2.

19.820text:key

The text:key attribute specifies a type for the index entries that should be used for sorting. See 8.1.11.

The defined values for the text:key attribute are:

The text:key attribute is usable with the following element: <text:sort-key> 16.29.7.

The values of the text:key attribute are address, annote, author, bibliography-type, booktitle, chapter, custom1, custom2, custom3, custom4, custom5, edition, editor, howpublished, identifier, institution, isbn, issn, journal, month, note, number, organizations, pages, publisher, report-type, school, series, title, url, volume or year.

19.821text:key1

The text:key1 attribute specifies an additional key for an alphabetical index mark. If only one key is used, it shall be contained in a text:key1 attribute.

The text:key1 attribute is usable with the following elements: <text:alphabetical-index-mark> 8.1.10 and <text:alphabetical-index-mark-start> 8.1.8.

The text:key1 attribute has the data type string 18.2.

19.822text:key2

The text:key2 attribute specifies an additional key for an alphabetical index mark.

The text:key2 attribute is usable with the following elements: <text:alphabetical-index-mark> 8.1.10 and <text:alphabetical-index-mark-start> 8.1.8.

The text:key2 attribute has the data type string 18.2.

19.823text:key1-phonetic

The text:key1-phonetic attribute specifies a phonetic key for <text:toc-mark-start> and <text:alphabetical-index-mark-start> elements. Phonetic keys should be used for sorting.

The text:key1-phonetic attribute is usable with the following elements: <text:alphabetical-index-mark> 8.1.10 and <text:alphabetical-index-mark-start> 8.1.8.

The text:key1-phonetic attribute has the data type string 18.2.

19.824text:key2-phonetic

The text:key2-phonetic attribute specifies an additional phonetic key for <text:toc-mark-start> and <text:alphabetical-index-mark-start> elements.

The text:key2-phonetic attribute is usable with the following elements: <text:alphabetical-index-mark> 8.1.10 and <text:alphabetical-index-mark-start> 8.1.8.

The text:key2-phonetic attribute has the data type string 18.2.

19.825text:kind

The text:kind attribute specifies which part of a measure is displayed.

The defined values for the text:kind attribute are:

Note: The purpose of the gap value is add space between the measure line and the text if the text is displayed perpendicular to the measure line.

The text:kind attribute is usable with the following element: <text:measure> 7.7.13.

The values of the text:kind attribute are value, unit or gap.

19.826text:label

The text:label attribute specifies a label for user inserted notes in a document. If this attribute is omitted, the element content is used.

The text:label attribute is usable with the following element: <text:note-citation> 6.3.3.

The text:label attribute has the data type string 18.2.

19.827text:label-followed-by

The text:label-followed-by attribute specifies a character that is inserted behind a list label.

The defined values for the text:label-followed-by attribute are:

The text:label-followed-by attribute is usable with the following element: <style:list-level-label-alignment> 17.20.

The values of the text:label-followed-by attribute are listtab, space or nothing.

19.828text:level

The text:level attribute specifies the level of an outline or number list style.

For a <text:numbered-paragraph> 5.3.6 element the default value for this attribute is 1.

The text:level attribute is usable with the following elements: <text:list-level-style-bullet> 16.31, <text:list-level-style-image> 16.33, <text:list-level-style-number> 16.32, <text:numbered-paragraph> 5.3.6 and <text:outline-level-style> 16.35.

The text:level attribute has the data type positiveInteger 18.2.

19.829text:list-id

The text:list-id attribute specifies an id that is used to group numbered paragraphs form a list. All numbered paragraphs with the same text:list-id value belong to one list. This list defines the counter domain for the numbered paragraphs. In this context, a list is defined as a number of list items, spanning multiple levels. As with lists in <text:list> representation the list style of the first numbered paragraph at every list level is used for the start value.

The text:list-id attribute did not exist in OpenDocument v1.0 and v1.1. For such text documents which do not contain the text:list-id attribute the following rules are applied to form a list from a group of numbered paragraphs:

The text:list-id attribute is usable with the following element: <text:numbered-paragraph> 5.3.6.

The text:list-id attribute has the data type NCName 18.2.

19.830text:list-tab-stop-position

The text:list-tab-stop-position attribute specifies an additional tab stop which is inserted into the list of tab stops that are defined for a list item. By default the tab stop's position is behind list label. The text of the first line of list item starts at this tab stop. In left-to-right layout environments this tab stop is interpreted as a left tab. While in right-to-left layout environments it is interpreted as a right tab.

The text:list-tab-stop-position attribute is ignored unless the text:label-followed-by attribute has the value listtab.

There are two cases in which this additional tab stop does not specify the start the of the text of the first line of the list item:

In these cases, the tab character that is inserted behind the list label advances to the next tab stop, or a default tab stop if none exists. However, other tab stops contained in the list item's text may advance to the additional list tab stop. The additional tab stop is further applied to the full text of tab stop, that is, not only the first line.

The text:list-tab-stop-position attribute is usable with the following element: <style:list-level-label-alignment> 17.20.

The text:list-tab-stop-position attribute has the data type length 18.3.18.

19.831text:main-entry

The text:main-entry attribute specifies which of multiple index marks for the same entry is the main entry.

The defined values for the text:main-entry attribute are:

The default value for this attribute is false.

The text:main-entry attribute is usable with the following elements: <text:alphabetical-index-mark> 8.1.10 and <text:alphabetical-index-mark-start> 8.1.8.

The text:main-entry attribute has the data type boolean 18.3.3.

19.832text:main-entry-style-name

The text:main-entry-style-name attribute specifies the character style to use for main entries. Sub entries are formatted using the default character style determined by the paragraph style of the entries.

The text:main-entry-style-name attribute is usable with the following element: <text:alphabetical-index-source> 8.8.2.

The text:main-entry-style-name attribute has the data type styleNameRef 18.3.32.

19.833text:master-page-name

The text:master-page-name attribute specifies the name of a master page.

For <text:page> elements 5.2.2, the attribute specifies the name of the master page which is used to format the page.

For <text:notes-configuration> elements 16.29.3, the attributes specifies the master page which is used to format the pages on which the notes are displayed.

The text:master-page-name attribute is usable with the following elements: <text:notes-configuration> 16.29.3 and <text:page> 5.2.2.

The text:master-page-name attribute has the data type styleNameRef 18.3.32.

19.834text:month

The text:month attribute specifies a month for a bibliography index entry.

The text:month attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:month attribute has the data type string 18.2.

19.835text:name

19.835.1General

The text:name attribute specifies a name.

19.835.2<text:alphabetical-index>

The text:name attribute specifies a unique name for an alphabetical index.

The text:name attribute is usable with the following element: <text:alphabetical-index> 8.8.

The text:name attribute has the data type string 18.2.

19.835.3<text:bibliography>

The text:name attribute specifies a unique name for a bibliography.

The text:name attribute is usable with the following element: <text:bibliography> 8.9.

The text:name attribute has the data type string 18.2.

19.835.4<text:bookmark>

The text:name attribute specifies a name for a bookmark.

The text:name attribute is usable with the following element: <text:bookmark> 6.2.1.2.

The text:name attribute has the data type string 18.2.

19.835.5<text:bookmark-end>

The text:name attribute specifies a name that shall match the text:name attribute on only one <text:bookmark-start> element in a document.

The text:name attribute is usable with the following element: <text:bookmark-end> 6.2.1.4.

The text:name attribute has the data type string 18.2.

19.835.6<text:bookmark-start>

The text:name attribute specifies a name that shall match the text:name attribute on only one <text:bookmark-end> element in a document.

The text:name attribute is usable with the following element: <text:bookmark-start> 6.2.1.3.

The text:name attribute has the data type string 18.2.

19.835.7<text:execute-macro>

The text:name attribute specifies a macro to invoke when a field is activated.

The text:name attribute is usable with the following element: <text:execute-macro> 7.7.10.

The text:name attribute has the data type string 18.2.

19.835.8<text:illustration-index>

The text:name attribute specifies a unique name for an illustration index.

The text:name attribute is usable with the following element: <text:illustration-index> 8.4.

The text:name attribute has the data type string 18.2.

19.835.9<text:index-title>

The text:name attribute specifies a unique name for an index title.

The text:name attribute is usable with the following element: <text:index-title> 8.2.3.

The text:name attribute has the data type string 18.2.

19.835.10<text:object-index>

The text:name attribute specifies a unique name for an object index.

The text:name attribute is usable with the following element: <text:object-index> 8.6.

The text:name attribute has the data type string 18.2.

19.835.11<text:reference-mark>

The text:name attribute specifies a unique name for reference elements.

The text:name attribute is usable with the following element: <text:reference-mark> 6.2.2.2.

The text:name attribute has the data type string 18.2.

19.835.12<text:reference-mark-end>

The text:name attribute specifies a unique name for reference elements.

The text:name attribute is usable with the following element: <text:reference-mark-end> 6.2.2.4.

The text:name attribute has the data type string 18.2.

19.835.13<text:reference-mark-start>

The text:name attribute specifies a unique name for reference elements.

The text:name attribute is usable with the following element: <text:reference-mark-start> 6.2.2.3.

The text:name attribute has the data type string 18.2.

19.835.14<text:section>

The text:name attribute specifies a unique name for a section.

The text:name attribute is usable with the following element: <text:section> 5.4.

The text:name attribute has the data type string 18.2.

19.835.15<text:sequence>

The text:name attribute specifies name of variable to display. It shall match the name of a sequence variable already declared by a preceding <text:sequence-decl>.element

The text:name attribute is usable with the following element: <text:sequence> 7.4.13.

The text:name attribute has the data type variableName 18.3.39.

19.835.16<text:sequence-decl>

The text:name attribute specifies unique name of a variable to be declared.

The text:name attribute is usable with the following element: <text:sequence-decl> 7.4.12.

The text:name attribute has the data type variableName 18.3.39.

19.835.17<text:table-of-content>

The text:name attribute specifies a unique name for a <text:table-of-content> element.

The text:name attribute is usable with the following element: <text:table-of-content> 8.3.

The text:name attribute has the data type string 18.2.

19.835.18<text:table-index>

The text:name attribute specifies a unique name for a table index.

The text:name attribute is usable with the following element: <text:table-index> 8.5.

The text:name attribute has the data type string 18.2.

19.835.19<text:user-defined>

 The text:name attribute specifies a name that corresponds to the value of a meta:name attribute on a <meta:user-defined> element.

The text:name attribute is usable with the following element: <text:user-defined> 7.5.6.

The text:name attribute has the data type string 18.2.

19.835.20<text:user-field-decl>

The text:name attribute specifies a unique name for a user defined field declaration.

The text:name attribute is usable with the following element: <text:user-field-decl> 7.4.8.

The text:name attribute has the data type variableName 18.3.39.

19.835.21<text:user-field-get>

The text:name attribute specifies name of a user defined field that shall be declared already by a preceding <text:user-field-decl> element.

The text:name attribute is usable with the following element: <text:user-field-get> 7.4.9.

The text:name attribute has the data type variableName 18.3.39.

19.835.22<text:user-field-input>

The text:name attribute specifies a name of a user defined field that shall be declared already by a preceding <text:user-field-decl> element.

The text:name attribute is usable with the following element: <text:user-field-input> 7.4.10.

The text:name attribute has the data type variableName 18.3.39.

19.835.23<text:user-index>

The text:name attribute specifies a unique name for a user specified index.

The text:name attribute is usable with the following element: <text:user-index> 8.7.

The text:name attribute has the data type string 18.2.

19.835.24<text:variable-set>

The text:name attribute specifies a variable name that shall match a variable name already declared by a preceding <text:variable-decl> element.

The text:name attribute is usable with the following element: <text:variable-set> 7.4.4.

The text:name attribute has the data type variableName 18.3.39.

19.835.25<text:variable-decl>

The text:name attribute specifies unique name for a variable declaration.

The text:name attribute is usable with the following element: <text:variable-decl> 7.4.3.

The text:name attribute has the data type variableName 18.3.39.

19.835.26<text:variable-get>

The text:name attribute specifies a variable name that shall match a preceding <text:variable-decl> element.

The text:name attribute is usable with the following element: <text:variable-get> 7.4.5.

The text:name attribute has the data type variableName 18.3.39.

19.835.27<text:variable-input>

The text:name attribute specifies a variable name that shall match the name of variable already declared by a preceding <text:variable-decl> element.

The text:name attribute is usable with the following element: <text:variable-input> 7.4.6.

The text:name attribute has the data type variableName 18.3.39.

19.836text:note

The text:note attribute specifies a note for a bibliography index entry.

The text:note attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:note attribute has the data type string 18.2.

19.837text:note-class

The text:note-class attribute specifies the class of a note.

The defined values for the text:note-class attribute are:

The text:note-class attribute is usable with the following elements: <text:note> 6.3.2, <text:note-ref> 7.7.7 and <text:notes-configuration> 16.29.3.

The values of the text:note-class attribute are footnote or endnote.

19.838text:number

The text:number attribute specifies a number for a bibliography index entry.

The text:number attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:number attribute has the data type string 18.2.

19.839text:number-lines

The text:number-lines attribute specifies whether lines are numbered.

The defined values for the text:number-lines attribute are:

For a <text:linenumbering-configuration> 16.29.1 element the default value for this attribute is true.

The text:number-lines attribute is usable with the following element: <text:linenumbering-configuration> 16.29.1.

The text:number-lines attribute has the data type boolean 18.3.3.

19.840text:number-position

The text:number-position attribute specifies margin where line numbers appear.

The defined values for the text:number-position attribute are:

The default value for this attribute is left.

The text:number-position attribute is usable with the following element: <text:linenumbering-configuration> 16.29.1.

The values of the text:number-position attribute are left, right, inner or outer.

19.841text:numbered-entries

The text:numbered-entries attribute specifies whether a number is displayed for bibliography entries instead of their short name.

The defined values for the text:numbered-entries attribute are:

The default value for this attribute is false.

The text:numbered-entries attribute is usable with the following element: <text:bibliography-configuration> 16.29.6.

The text:numbered-entries attribute has the data type boolean 18.3.3.

19.842text:offset

The text:offset attribute specifies the distance between a line number and the margin.

The text:offset attribute is usable with the following element: <text:linenumbering-configuration> 16.29.1.

The text:offset attribute has the data type nonNegativeLength 18.3.20.

19.843text:organizations

The text:organizations attribute specifies one or more organizations for a bibliography index entry.

The text:organizations attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:organizations attribute has the data type string 18.2.

19.844text:outline-level

19.844.1General

The text:outline-level attribute specifies an outline level.

19.844.2<text:alphabetical-index-entry-template>

The text:outline-level attribute specifies the level to which a template applies.

The defined values for the text:outline-level attribute are:

The text:outline-level attribute is usable with the following element: <text:alphabetical-index-entry-template> 8.8.4.

The values of the text:outline-level attribute are 1, 2, 3 or separator.

19.844.3<text:chapter>

The text:outline-level attribute specifies an outline level to use. The <text:chapter> element displays a chapter number or title up to the specified outline level.

The text:outline-level attribute is usable with the following element: <text:chapter> 7.3.8.

The text:outline-level attribute has the data type nonNegativeInteger 18.2.

19.844.4<text:h>

The text:outline-level attribute specifies the level of a heading, starting with 1. Headings without a level attribute are assumed to be at level 1.

The text:outline-level attribute is usable with the following element: <text:h> 5.1.2.

The text:outline-level attribute has the data type positiveInteger 18.2.

19.844.5<text:index-entry-chapter>

The text:outline-level attribute specifies an outline level for an index entry.

The text:outline-level attribute is usable with the following element: <text:index-entry-chapter> 8.13.1.

The text:outline-level attribute has the data type positiveInteger 18.2.

19.844.6<text:index-source-styles>

The text:outline-level attribute specifies an outline level for an index entry.

The text:outline-level attribute is usable with the following element: <text:index-source-styles> 8.10.

The text:outline-level attribute has the data type positiveInteger 18.2.

19.844.7<text:user-index-mark>

The text:outline-level attribute specifies an outline level for an index entry.

The text:outline-level attribute is usable with the following element: <text:user-index-mark> 8.1.7.

The text:outline-level attribute has the data type positiveInteger 18.2.

19.844.8<text:table-of-content-entry-template>

The text:outline-level attribute specifies to which outline level an entry configuration applies. Outline levels shall be unique for the template elements in one index source.

The text:outline-level attribute is usable with the following element: <text:table-of-content-entry-template> 8.3.3.

The text:outline-level attribute has the data type positiveInteger 18.2.

19.844.9<text:table-of-content-source>

The text:outline-level attribute specifies which outline levels are used when generating a table of contents. The value of this attribute shall be an integer greater than zero. If this attribute is omitted, all outline levels are used by default.

The text:outline-level attribute is usable with the following element: <text:table-of-content-source> 8.3.2.

The text:outline-level attribute has the data type positiveInteger 18.2.

19.844.10<text:toc-mark>

The text:outline-level attribute specifies an outline level for a table of contents index entry.

The text:outline-level attribute is usable with the following element: <text:toc-mark> 8.1.4.

The text:outline-level attribute has the data type positiveInteger 18.2.

19.844.11<text:toc-mark-start>

The text:outline-level attribute specifies an outline level for a table of contents index entry.

The text:outline-level attribute is usable with the following element: <text:toc-mark-start> 8.1.2.

The text:outline-level attribute has the data type positiveInteger 18.2.

19.844.12<text:user-index-entry-template>

The text:outline-level attribute specifies the template applied to entries at a specified outline level in a user-defined index. All <text:user-index-entry-template> elements that are contained in the same parent element shall specify different outline levels.

The text:outline-level attribute is usable with the following element: <text:user-index-entry-template> 8.7.3.

The text:outline-level attribute has the data type positiveInteger 18.2.

19.844.13<text:user-index-mark-start>

The text:outline-level attribute specifies an outline level for a user index entry.

The text:outline-level attribute is usable with the following element: <text:user-index-mark-start> 8.1.5.

The text:outline-level attribute has the data type positiveInteger 18.2.

19.845text:page-adjust

19.845.1General

The text:page-adjust attribute specifies an adjustment to page numbering.

19.845.2<text:page-number>

The text:page-adjust attribute specifies an adjustment of the value of a page number field, in order to display of page numbers of following or preceding pages. The specified value is added to the current page number. If a page with the resulting page number does not exist, no number is displayed.

The text:page-adjust attribute is usable with the following element: <text:page-number> 7.3.4.

The text:page-adjust attribute has the data type integer 18.2.

19.845.3<text:page-variable-set>

The text:page-adjust attribute specifies a page adjustment. The value of an active page variable is the current page number plus any page adjustment value immediately prior to the occurrence of this variable in document order.

The text:page-adjust attribute is usable with the following element: <text:page-variable-set> 7.7.1.2.

The text:page-adjust attribute has the data type integer 18.2.

19.846text:pages

The text:pages attribute specifies the page number or page numbers for a bibliography index entry.

The text:pages attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:pages attribute has the data type string 18.2.

19.847text:placeholder-type

The text:placeholder-type attribute specifies the content type of a placeholder.

The defined values for the text:placeholder-type attribute are:

The text:placeholder-type attribute is usable with the following element: <text:placeholder> 7.7.2.

The values of the text:placeholder-type attribute are text, table, text-box, image or object.

19.848text:prefix

The text:prefix attribute specifies a string that is displayed before a bibliography entry's short name or number if it occurs outside the bibliography.

The text:prefix attribute is usable with the following element: <text:bibliography-configuration> 16.29.6.

The text:prefix attribute has the data type string 18.2.

19.849text:protected

The text:protected attribute specifies whether a section is protected. A section can be protected, which means that a user can not edit the section. The protection is enforced by the user interface only.

Note: If the section is protected and the text:protection-key attribute is present, an authorization is required for resetting the protection to enable editing. 19.850

The defined values for the text:protected attribute are:

  • false: section is not protected from editing. 

  • true: section is protected from editing. 

The text:protected attribute is usable with the following elements: <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:illustration-index> 8.4, <text:index-title> 8.2.3, <text:object-index> 8.6, <text:section> 5.4, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

The text:protected attribute has the data type boolean 18.3.3.

19.850text:protection-key

The text:protection-key attribute, when present, specifies that an authorization is required for removing the protection of a section. The authentication procedure is identified by the text:protection-key-digest-algorithm attribute  19.851 The attribute value is binary data that may be used by the authentication procedure.

The password shall be provided as a sequence of bytes in UTF-8 encoding.

The text:protection-key attribute is usable with the following elements: <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:illustration-index> 8.4, <text:index-title> 8.2.3, <text:object-index> 8.6, <text:section> 5.4, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

The text:protection-key attribute has the data type string 18.2.

19.851text:protection-key-digest-algorithm

The text:protection-key-digest-algorithm attribute value is an IRI that identifies an authentication procedure for removing a protection.

If the IRI identifies a message-digest algorithm specified in §5.7 of [xmlenc-core], the value of text:protection-key attribute shall be the hash value of the password that is required to authorize removal of the protection. The password shall be provided as a sequence of bytes in UTF-8 encoding.

Any other procedures, their identifying IRIs, and their application of text:protection-key values are implementation-defined.

Consumers shall support http://www.w3.org/2000/09/xmldsig#sha1, which is the default, and http://www.w3.org/2000/09/xmldsig#sha256. They may support other algorithms described in §5.7 of [xmlenc-core] or alternative procedures. Producers should use http://www.w3.org/2000/09/xmldsig#sha256.

The default value for this attribute is http://www.w3.org/2000/09/xmldsig#sha1.

The text:protection-key-digest-algorithm attribute is usable with the following elements: <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:illustration-index> 8.4, <text:index-title> 8.2.3, <text:object-index> 8.6, <text:section> 5.4, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

The text:protection-key-digest-algorithm attribute has the data type anyIRI 18.3.2.

19.852text:publisher

The text:publisher attribute specifies a publisher for a bibliography index entry.

The text:publisher attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:publisher attribute has the data type string 18.2.

19.853text:ref-name

19.853.1General

The text:ref-name attribute specifies a name that is used as a reference.

19.853.2<text:bookmark-ref>

The text:ref-name attribute identifies a <text:bookmark> or <text:bookmark-start> element by the value of that element's text:name attribute.

The text:ref-name attribute is usable with the following element: <text:bookmark-ref> 7.7.6.

The text:ref-name attribute has the data type string 18.2.

19.853.3<text:note-ref>

The text:ref-name attribute identifies a <text:note> element by the value of that element's text:id attribute.

The text:ref-name attribute is usable with the following element: <text:note-ref> 7.7.7.

The text:ref-name attribute has the data type string 18.2.

19.853.4<text:reference-ref>

The text:ref-name attribute identifies a <text:reference-mark> or <text:reference-mark-start> element by the value of that element's text:name attribute.

The text:ref-name attribute identifies the element referenced by this reference field element.

The text:ref-name attribute is usable with the following element: <text:reference-ref> 7.7.5.

The text:ref-name attribute has the data type string 18.2.

19.853.5<text:sequence>

The text:ref-name attribute specifies the name for a sequence field that is the subject of a reference field. No two sequence fields can have the same reference name.

If a sequence field is not the target of a reference, this attribute can be omitted.

The text:ref-name attribute is usable with the following element: <text:sequence> 7.4.13.

The text:ref-name attribute has the data type string 18.2.

19.853.6<text:sequence-ref>

The text:ref-name attribute identifies a <text:sequence> element by the value of that element's text:ref-name attribute.

The text:ref-name attribute is usable with the following element: <text:sequence-ref> 7.7.8.

The text:ref-name attribute has the data type string 18.2.

19.854text:reference-format

The text:reference-format attribute specifies what information about a reference is displayed. If the reference format is not specified, the page format is used as the default.

The defined values for the text:reference-format attribute supported by all reference fields are:

Additional defined values for the text:reference-format attribute supported by references to sequence fields are:

References to bookmarks and other references support additional values, which display the list label of the referenced item. If the referenced item is contained in a list or a numbered paragraph, the list label is the formatted number of the paragraph which contains the referenced item. If the referenced item is not contained in a list or numbered paragraph, the list label is empty, and the referenced field therefore displays nothing. If the referenced bookmark or reference contains more than one paragraph, the list label of the paragraph at which the bookmark or reference starts is taken.

Additional defined values for the text:reference-format attribute supported by all references to bookmark's or other reference fields are:

The text:reference-format attribute is usable with the following elements: <text:bookmark-ref> 7.7.6, <text:note-ref> 7.7.7, <text:reference-ref> 7.7.5 and <text:sequence-ref> 7.7.8.

For <text:reference-ref> 7.7.5 elements, the values of the text:reference-format attribute are page, chapter, direction, text, number-no-superior, number-all-superior or number.

For <text:bookmark-ref> 7.7.6 elements, the values of the text:reference-format attribute are page, chapter, direction, text, number-no-superior, number-all-superior or number.

For <text:note-ref> 7.7.7 elements, the values of the text:reference-format attribute are page, chapter, direction or text.

For <text:sequence-ref> 7.7.8 elements, the values of the text:reference-format attribute are page, chapter, direction, text, category-and-value, caption or value.

19.855text:relative-tab-stop-position

The text:relative-tab-stop-position attribute specifies whether the position of tab stops is relative to the left margin or to the left indent as determined by the paragraph style. It is used in the specification for the generation of index entries and table of content entries.

The defined values for the text:relative-tab-stop-position attribute are:

The default value for this attribute is true.

The text:relative-tab-stop-position attribute is usable with the following elements: <text:alphabetical-index-source> 8.8.2, <text:illustration-index-source> 8.4.2, <text:object-index-source> 8.6.2, <text:table-index-source> 8.5.2, <text:table-of-content-source> 8.3.2 and <text:user-index-source> 8.7.2.

The text:relative-tab-stop-position attribute has the data type boolean 18.3.3.

19.856text:report-type

The text:report-type attribute specifies a report type for a bibliography index entry.

The text:report-type attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:report-type attribute has the data type string 18.2.

19.857text:restart-numbering

The text:restart-numbering attribute specifies whether to restart the numbering of headings.

The defined values for the text:restart-numbering attribute are:

The default value for this attribute is false.

The text:restart-numbering attribute is usable with the following element: <text:h> 5.1.2.

The text:restart-numbering attribute has the data type boolean 18.3.3.

19.858text:restart-on-page

The text:restart-on-page attribute specifies whether the line count is reset to 1 at the start of every page.

If the value of this attribute is true, the line count is reset to 1 at the beginning of every page, resulting in page-specific numbering of lines. The default value of this attribute is false, resulting in document-specific numbering of lines.

The defined values for the text:restart-on-page attribute are:

The default value for this attribute is false.

The text:restart-on-page attribute is usable with the following element: <text:linenumbering-configuration> 16.29.1.

The text:restart-on-page attribute has the data type boolean 18.3.3.

19.859text:row-number

The text:row-number attribute specifies a row number to select when a condition is true.

The text:row-number attribute is usable with the following element: <text:database-row-select> 7.6.5.

The text:row-number attribute has the data type nonNegativeInteger 18.2.

19.860text:school

The text:school attribute specifies a school for a bibliography index entry.

The text:school attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:school attribute has the data type string 18.2.

19.861text:section-name

The text:section-name attribute specifies a section to which a section is linked by its name. The referenced section occurs either in the document referenced by the xlink:href attribute on the same <text:section-source> element, or in the same document if the xlink:href attribute is not present.

If the text:section-name attribute is not present, the section is linked to the entire document referenced by the xlink:href attribute, unless the xlink:href attribute contains a fragment identifier. If neither the xlink:href attribute nor the text:section-name attribute is present, the <text:section-source> element shall be ignored.

The text:section-name attribute is usable with the following element: <text:section-source> 5.4.2.

The text:section-name attribute has the data type string 18.2.

19.862text:series

The text:series attribute specifies the series for a bibliography index entry.

The text:series attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:series attribute has the data type string 18.2.

19.863text:select-page

19.863.1General

The text:select-page attribute specifies conditional display of text.

19.863.2<text:page-continuation>

The text:select-page attribute specifies whether to check for a previous or next page and if that page exists, continuation text is printed.

The defined values for the text:select-page attribute are:

The text:select-page attribute is usable with the following element: <text:page-continuation> 7.3.5.

The values of the text:select-page attribute are previous or next.

19.863.3<text:page-number>

The text:select-page attribute specifies whether to display or not the number of a previous or following page rather than the number of the current page.

The defined values for the text:select-page attribute are:

Note: To display the current page number on all pages except the first or last page, use a combination of the text:select-page and text:page-adjust attributes.

The text:select-page attribute is usable with the following element: <text:page-number> 7.3.4.

The values of the text:select-page attribute are previous, current or next.

19.864text:separation-character

The text:separation-character attribute specifies the character used to separate values representing levels in an outline.

If the value of the text:display-outline-level attribute is a non-zero value, a separation character may be specified. The default separation character is "." (U+002E, FULL STOP). If the value of text:display-outline-level is zero, this attribute shall be omitted.

The text:separation-character attribute is usable with the following element: <text:sequence-decl> 7.4.12.

The text:separation-character attribute has the data type character 18.3.7.

19.865text:sort-algorithm

The text:sort-algorithm specifies a locale specific sorting algorithm by name.

The text:sort-algorithm attribute is usable with the following elements: <text:alphabetical-index-source> 8.8.2 and <text:bibliography-configuration> 16.29.6.

The text:sort-algorithm attribute has the data type string 18.2.

19.866text:sort-ascending

The text:sort-ascending attribute specifies whether locale specific sorting takes place in ascending or descending order.

The defined values for the text:sort-ascending attribute are:

The default value for this attribute is true.

The text:sort-ascending attribute is usable with the following element: <text:sort-key> 16.29.7.

The text:sort-ascending attribute has the data type boolean 18.3.3.

19.867text:sort-by-position

The text:sort-by-position attribute specifies whether bibliography entries are displayed in the order of their positions in the document, or by selected fields.

The defined values for the text:sort-by-position attribute are:

The default value for this attribute is true.

The text:sort-by-position attribute is usable with the following element: <text:bibliography-configuration> 16.29.6.

The text:sort-by-position attribute has the data type boolean 18.3.3.

19.868text:start-value

19.868.1General

The text:start-value attribute specifies the start value for numbering.

19.868.2<text:h>

The text:start-value attribute specifies a value that restarts numbering at the current heading.

The text:start-value attribute is usable with the following element: <text:h> 5.1.2.

The text:start-value attribute has the data type nonNegativeInteger 18.2.

19.868.3<text:list-item>

The text:start-value attribute specifies a value that restarts numbering of a list at the current item. This attribute can only be applied to items in a list with a numbering list style.

The text:start-value attribute is usable with the following element: <text:list-item> 5.3.4.

The text:start-value attribute has the data type nonNegativeInteger 18.2.

19.868.4<text:list-level-style-number>

The text:start-value attribute specifies a value that restarts numbering at the current list level.

For a <text:list-level-style-number> 16.32 element the default value for this attribute is 1.

The text:start-value attribute is usable with the following element: <text:list-level-style-number> 16.32.

The text:start-value attribute has the data type positiveInteger 18.2.

19.868.5<text:notes-configuration>

The text:start-value attribute specifies the value at which note numbering starts.

For a <text:notes-configuration> 16.29.3 element the default value for this attribute is 1.

The text:start-value attribute is usable with the following element: <text:notes-configuration> 16.29.3.

The text:start-value attribute has the data type nonNegativeInteger 18.2.

19.868.6<text:numbered-paragraph>

The text:start-value attribute specifies a value that restarts numbering of a numbered paragraph at the current item.

The text:start-value attribute is usable with the following element: <text:numbered-paragraph> 5.3.6.

The text:start-value attribute has the data type nonNegativeInteger 18.2.

19.868.7<text:outline-level-style>

The text:start-value attribute specifies the first number of a heading item at the current level.

For a <text:outline-level-style> 16.35 element the default value for this attribute is 1.

The text:start-value attribute is usable with the following element: <text:outline-level-style> 16.35.

The text:start-value attribute has the data type positiveInteger 18.2.

19.869text:start-numbering-at

The text:start-numbering-at attribute specifies if footnote numbers start with a new number at the beginning of the document or at the beginning of each chapter or page.

The defined values for the text:start-numbering-at attribute are:

The text:start-numbering-at attribute is usable with the following element: <text:notes-configuration> 16.29.3.

The values of the text:start-numbering-at attribute are document, chapter or page.

19.870text:string-value-phonetic

The text:string-value-phonetic attribute specifies a phonetic description of a word.

The text:string-value-phonetic attribute is usable with the following elements: <text:alphabetical-index-mark> 8.1.10 and <text:alphabetical-index-mark-start> 8.1.8.

The text:string-value-phonetic attribute has the data type string 18.2.

19.871text:string-value

19.871.1General

The text:string-value attribute specifies text for display.

19.871.2<text:alphabetical-index-mark>

The text:string-value attribute specifies text to be displayed in an alphabetical index.

The text:string-value attribute is usable with the following element: <text:alphabetical-index-mark> 8.1.10.

The text:string-value attribute has the data type string 18.2.

19.871.3<text:hidden-text>

The text:string-value attribute specifies the text to display if a text:condition attribute has the value of false. If this attribute is omitted, the element content is used.

The text:string-value attribute is usable with the following element: <text:hidden-text> 7.7.4.

The text:string-value attribute has the data type string 18.2.

19.871.4<text:page-continuation>

The text:string-value attribute specifies continuation text to display. If this attribute is omitted, the element content is used.

The text:string-value attribute is usable with the following element: <text:page-continuation> 7.3.5.

The text:string-value attribute has the data type string 18.2.

19.871.5<text:toc-mark>

The text:string-value attribute specifies text to be displayed in a table of contents.

The text:string-value attribute is usable with the following element: <text:toc-mark> 8.1.4.

The text:string-value attribute has the data type string 18.2.

19.871.6<text:user-index-mark>

The text:string-value attribute specifies text to be displayed in an index.

The text:string-value attribute is usable with the following element: <text:user-index-mark> 8.1.7.

The text:string-value attribute has the data type string 18.2.

19.872text:string-value-if-false

The text:string-value-if-false attribute specifies text string to display if a condition is false.

The text:string-value-if-false attribute is usable with the following element: <text:conditional-text> 7.7.3.

The text:string-value-if-false attribute has the data type string 18.2.

19.873text:string-value-if-true

The text:string-value-if-true attribute specifies a text string to display if a condition is true.

The text:string-value-if-true attribute is usable with the following element: <text:conditional-text> 7.7.3.

The text:string-value-if-true attribute has the data type string 18.2.

19.874text:style-name

19.874.1General

The text:style-name attribute specifies a style by name, with the additional requirement that it belong to a family of styles.

19.874.2<text:a>

The text:style-name attribute specifies a text style for an unvisited hyperlink.

The text:style-name attribute is usable with the following element: <text:a> 6.1.8.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.3<text:alphabetical-index>

The text:style-name attribute specifies a section family style.

The text:style-name attribute is usable with the following element: <text:alphabetical-index> 8.8.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.4<text:alphabetical-index-entry-template>

The text:style-name attribute specifies a paragraph family style.

The text:style-name attribute is usable with the following element: <text:alphabetical-index-entry-template> 8.8.4.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.5<text:bibliography>

The text:style-name attribute specifies a section family style.

The text:style-name attribute is usable with the following element: <text:bibliography> 8.9.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.6<text:bibliography-entry-template>

The text:style-name attribute specifies a paragraph family style.

The text:style-name attribute is usable with the following element: <text:bibliography-entry-template> 8.9.3.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.7<text:h>

The text:style-name attribute specifies a style that shall have the family paragraph. If a conditional style is applied, this attribute has the name of the style that was the result of the conditional style evaluation.

If both text:style-name and text:class-names are present, the style referenced by the text:style-name attribute is treated as the first style in the list in text:class-names. Consumers should support the text:class-names attribute and also should preserve it while editing.

The text:style-name attribute is usable with the following element: <text:h> 5.1.2.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.8<text:illustration-index>

The text:style-name attribute specifies a section family style.

The text:style-name attribute is usable with the following element: <text:illustration-index> 8.4.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.9<text:illustration-index-entry-template>

The text:style-name attribute specifies a paragraph family style.

The text:style-name attribute is usable with the following element: <text:illustration-index-entry-template> 8.4.3.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.10<text:index-entry-bibliography>

The text:style-name attribute specifies character family styles.

The text:style-name attribute is usable with the following element: <text:index-entry-bibliography> 8.13.5.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.11<text:index-entry-chapter>

The text:style-name attribute specifies character family styles.

The text:style-name attribute is usable with the following element: <text:index-entry-chapter> 8.13.1.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.12<text:index-entry-link-end>

The text:style-name attribute specifies character family styles.

The text:style-name attribute is usable with the following element: <text:index-entry-link-end> 8.13.8.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.13<text:index-entry-link-start>

The text:style-name attribute specifies character family styles.

The text:style-name attribute is usable with the following element: <text:index-entry-link-start> 8.13.7.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.14<text:index-entry-page-number>

The text:style-name attribute specifies character family styles.

The text:style-name attribute is usable with the following element: <text:index-entry-page-number> 8.13.3.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.15<text:index-entry-span>

The text:style-name attribute specifies character family styles.

The text:style-name attribute is usable with the following element: <text:index-entry-span> 8.13.4.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.16<text:index-entry-tab-stop>

The text:style-name attribute specifies character family styles.

The text:style-name attribute is usable with the following element: <text:index-entry-tab-stop> 8.13.6.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.17<text:index-entry-text>

The text:style-name attribute specifies character family styles.

The text:style-name attribute is usable with the following element: <text:index-entry-text> 8.13.2.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.18<text:index-source-style>

The text:style-name attribute specifies a paragraph family style.

The text:style-name attribute is usable with the following element: <text:index-source-style> 8.11.

The text:style-name attribute has the data type styleName 18.3.31.

19.874.19<text:index-title>

The text:style-name attribute specifies section family styles.

The text:style-name attribute is usable with the following element: <text:index-title> 8.2.3.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.20<text:index-title-template>

The text:style-name attribute specifies character family styles.

The text:style-name attribute is usable with the following element: <text:index-title-template> 8.12.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.21<text:linenumbering-configuration>

The text:style-name attribute specifies a text style.

The text:style-name attribute is usable with the following element: <text:linenumbering-configuration> 16.29.1.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.22<text:list>

The text:style-name attribute specifies the name of a list style that is applied to a list.

If this attribute is not included and therefore no list style is specified, one of the following actions is taken:

To determine which formatting properties are applied to a list, the list level and list style name are taken into account.

The text:style-name attribute is usable with the following element: <text:list> 5.3.1.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.23<text:list-level-style-number>

The text:style-name attribute specifies a text style.

The text:style-name attribute is usable with the following element: <text:list-level-style-number> 16.32.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.24<text:list-level-style-bullet>

The text:style-name attribute specifies character family styles.

The text:style-name attribute is usable with the following element: <text:list-level-style-bullet> 16.31.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.25<text:numbered-paragraph>

The text:style-name attribute specifies the name of a list style that is applied to a list.

If this attribute is not included and therefore no list style is specified, one of the following actions is taken:

To determine which formatting properties are applied to a list, the list level and list style name are taken into account.

The text:style-name attribute is usable with the following element: <text:numbered-paragraph> 5.3.6.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.26<text:object-index>

The text:style-name attribute specifies section family styles.

The text:style-name attribute is usable with the following element: <text:object-index> 8.6.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.27<text:object-index-entry-template>

The text:style-name attribute specifies a paragraph family style.

The text:style-name attribute is usable with the following element: <text:object-index-entry-template> 8.6.3.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.28<text:outline-level-style>

The text:style-name attribute specifies character family styles.

The text:style-name attribute is usable with the following element: <text:outline-level-style> 16.35.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.29<text:p>

The text:style-name attribute specifies a style that shall have the family paragraph. If a conditional style is applied, this attribute has the name of the style that was the result of the conditional style evaluation.

If both text:style-name and text:class-names are present, the style referenced by the text:style-name attribute is treated as the first style in the list in text:class-names. Consumers should support the text:class-names attribute and also should preserve it while editing.

The text:style-name attribute is usable with the following element: <text:p> 5.1.3.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.30<text:ruby>

The text:style-name attribute specifies a style for ruby which shall be a style with family of ruby.

The text:style-name attribute is usable with the following element: <text:ruby> 6.4.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.31<text:ruby-text>

The text:style-name attribute specifies a style for ruby which shall be a style with family of text.

The text:style-name attribute is usable with the following element: <text:ruby-text> 6.4.3.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.32<text:section>

The text:style-name attribute specifies a section family style for a section.

The text:style-name attribute is usable with the following element: <text:section> 5.4.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.33<text:span>

The text:style-name attribute specifies style for span which shall be a style with family of text.

If both text:style-name and text:class-names are present, the style referenced by the text:style-name attribute is treated as the first style in the list in text:class-names. Consumers should support the text:class-names attribute and also should preserve it while editing.

The text:style-name attribute is usable with the following element: <text:span> 6.1.7.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.34<text:table-index-entry-template>

The text:style-name attribute specifies a paragraph family style.

The text:style-name attribute is usable with the following element: <text:table-index-entry-template> 8.5.3.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.35<text:table-of-content>

The text:style-name attribute specifies a section family style.

The text:style-name attribute is usable with the following element: <text:table-of-content> 8.3.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.36<text:table-of-content-entry-template>

The text:style-name attribute specifies a paragraph family style.

The text:style-name attribute is usable with the following element: <text:table-of-content-entry-template> 8.3.3.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.37<text:table-index>

The text:style-name attribute specifies section family styles.

The text:style-name attribute is usable with the following element: <text:table-index> 8.5.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.38<text:user-index>

The text:style-name attribute specifies a section family style.

The text:style-name attribute is usable with the following element: <text:user-index> 8.7.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.874.39<text:user-index-entry-template>

The text:style-name attribute specifies a paragraph family style.

The text:style-name attribute is usable with the following element: <text:user-index-entry-template> 8.7.3.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.875text:style-override

The text:style-override attribute specifies an override to the list style to be applied to a list item.

The text:style-override attribute is usable with the following element: <text:list-item> 5.3.4.

The text:style-override attribute has the data type styleNameRef 18.3.32.

19.876text:suffix

The text:suffix attribute specifies a string that is displayed after a bibliography entry's short name or number if it occurs outside the bibliography.

The text:suffix attribute is usable with the following element: <text:bibliography-configuration> 16.29.6.

The text:suffix attribute has the data type string 18.2.

19.877text:tab-ref

The text:tab-ref attribute contains the number of the tab-stop to which a tab character refers. The position 0 marks the start margin of a paragraph.

Note: The text:tab-ref attribute is only a hint to help non-layout oriented consumers to determine the tab/tab-stop association. Layout oriented consumers should determine the tab positions based on the style information.

The text:tab-ref attribute is usable with the following element: <text:tab> 6.1.4.

The text:tab-ref attribute has the data type nonNegativeInteger 18.2.

19.878text:table-name

The text:table-name attribute specifies a table within a source database.

The text:table-name attribute is usable with the following elements: <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6 and <text:database-row-select> 7.6.5.

The text:table-name attribute has the data type string 18.2.

19.879text:table-type

The text:table-type attribute specifies the type of reference made by to a database.

The defined values for the text:table-type attribute are:

The text:table-type attribute is usable with the following elements: <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6 and <text:database-row-select> 7.6.5.

The values of the text:table-type attribute are table, query or command.

19.880text:time-adjust

The text:time-adjust attribute specifies an adjustment of the value of a time by a specific time period. Positive values adjust the time to a time in the future, while negative values adjust the time to a time in the past. Duration values are truncated to full minutes.

Note: Truncation of time values is defined by number:truncate-on-overflow. 19.365

The text:time-adjust attribute is usable with the following element: <text:time> 7.3.3.

The text:time-adjust attribute has the data type duration 18.2.

19.881text:time-value

The text:time-value attribute specifies the time at which a document was last edited.

If no value is specified, whether the field is marked as fixed or not, the current time is assumed.

The text:time-value attribute is usable with the following elements: <text:creation-time> 7.5.4, <text:modification-time> 7.5.15, <text:print-time> 7.5.7 and <text:time> 7.3.3.

The text:time-value attribute has the data type timeOrDateTime 18.3.36.

19.882text:title

The text:title attribute specifies a title for a bibliography index entry.

The text:title attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:title attribute has the data type string 18.2.

19.883text:track-changes

The text:track-changes attribute specifies whether changes to the document should be tracked and recorded.

The defined values for the text:sort-ascending attribute are:

The default value for this attribute is true.

The text:track-changes attribute is usable with the following element: <text:tracked-changes> 5.5.1.

The text:track-changes attribute has the data type boolean 18.3.3.

19.884text:url

The text:url attribute specifies an IRI for a bibliography index entry.

The text:url attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:url attribute has the data type string 18.2.

19.885text:use-caption

The text:use-caption attribute specifies whether captions or names of illustrations or tables are used for an index.

The defined values of the text:use-caption attribute are:

The default value for this attribute is true.

The text:use-caption attribute is usable with the following elements: <text:illustration-index-source> 8.4.2 and <text:table-index-source> 8.5.2.

The text:use-caption attribute has the data type boolean 18.3.3.

19.886text:use-chart-objects

The text:use-chart-objects attribute specifies whether to include embedded chart objects in an index of objects.

The defined values for the text:use-chart-objects attribute are:

The default value for this attribute is false.

The text:use-chart-objects attribute is usable with the following element: <text:object-index-source> 8.6.2.

The text:use-chart-objects attribute has the data type boolean 18.3.3.

19.887text:use-draw-objects

The text:use-draw-objects attributes specifies whether embedded draw objects (defined by <draw:object> 10.4.6.2 elements) will be included in an index of objects.

The defined values for the text:use-draw-objects attribute are:

  • false: draw objects not included in an index of objects. 

  • true: draw objects included in an index of objects. 

The default value for this attribute is false.

The text:use-draw-objects attribute is usable with the following element: <text:object-index-source> 8.6.2.

The text:use-draw-objects attribute has the data type boolean 18.3.3.

19.888text:use-floating-frames

The text:use-floating-frames attribute specifies whether text boxes will be included n user-defined indexes.

The defined values for the text:use-floating-frames attribute are:

The default value for this attribute is false.

The text:use-floating-frames attribute is usable with the following element: <text:user-index-source> 8.7.2.

The text:use-floating-frames attribute has the data type boolean 18.3.3.

19.889text:use-graphics

The text:use-graphics attribute specifies whether graphics are include in user-defined indexes.

The defined values for the text:use-graphics attribute are:

The default value for this attribute is false.

The text:use-graphics attribute is usable with the following element: <text:user-index-source> 8.7.2.

The text:use-graphics attribute has the data type boolean 18.3.3.

19.890text:use-index-marks

The text:use-index-marks attribute specifies whether table of contents index marks are used to generate index entries. The text:outline-level attribute specifies up to which level index marks are being included.19.844

The defined values for the text:use-index-marks attribute are:

  • false: table of contents does not include entries generated from table of contents index marks. 

  • true: table of contents does include entries generated from table of contents index marks. 

For a <text:user-index-source> 8.7.2 element the default value for this attribute is false.

The text:use-index-marks attribute is usable with the following elements: <text:table-of-content-source> 8.3.2 and <text:user-index-source> 8.7.2.

The text:use-index-marks attribute has the data type boolean 18.3.3.

19.891text:use-index-source-styles

The text:use-index-source-styles attribute specifies whether index entries are generated for paragraphs formatted using the paragraph styles listed in the <text:index-source-styles> element.

The text:outline-level attribute specifies up to which level index source styles are being included. 19.844

The defined values for the text:use-index-source-styles attribute are:

  • false: index entries are not generated for paragraphs formatted using the paragraph styles listed in a <text:index-source-styles> element. 

  • true: index entries are generated for paragraphs formatted using the paragraph styles listed in a <text:index-source-styles> element. 

For a <text:user-index-source> 8.7.2 element the default value for this attribute is false.

The text:use-index-source-styles attribute is usable with the following elements: <text:table-of-content-source> 8.3.2 and <text:user-index-source> 8.7.2.

The text:use-index-source-styles attribute has the data type boolean 18.3.3.

19.892text:use-keys-as-entries

The text:use-keys-as-entries attribute specifies the use of the up to two keys for an index mark as entries in the index.

The defined values for the text:use-keys-as-entries attribute are:

The default value for this attribute is false.

The text:use-keys-as-entries attribute is usable with the following element: <text:alphabetical-index-source> 8.8.2.

The text:use-keys-as-entries attribute has the data type boolean 18.3.3.

19.893text:use-math-objects

The text:use-math-objects attribute specifies whether embedded math objects are included in an index of objects.

The defined values for the text:use-math-objects attribute are:

The default value for this attribute is false.

The text:use-math-objects attribute is usable with the following element: <text:object-index-source> 8.6.2.

The text:use-math-objects attribute has the data type boolean 18.3.3.

19.894text:use-objects

The text:use-objects attributes specifies whether an object is included in a user defined index.

The defined values for the text:use-objects attribute are:

The default value for this attribute is false.

The text:use-objects attribute is usable with the following element: <text:user-index-source> 8.7.2.

The text:use-objects attribute has the data type boolean 18.3.3.

19.895text:use-other-objects

The text:use-other-objects attribute specifies whether other embedded objects are included in an index of objects. Other objects are those not covered by text:use-chart-objects, text:use-draw-objects, text:use-math-objects, and text:use-spreadsheet-objects attributes.

The defined values for the text:use-other-objects attribute are:

The default value for this attribute is false.

The text:use-other-objects attribute is usable with the following element: <text:object-index-source> 8.6.2.

The text:use-other-objects attribute has the data type boolean 18.3.3.

19.896text:use-outline-level

The text:use-outline-level attribute specifies whether headings are used to generate index entries. The text:outline-level attribute specifies up to which level headings are being included. 19.844

The defined values for the text:use-outline-level attribute are:

  • false: table of contents does not include entries generated from headings. 

  • true: table of contents does include entries generated from headings. 

The default value for this attribute is true.

The text:use-outline-level attribute is usable with the following element: <text:table-of-content-source> 8.3.2.

The text:use-outline-level attribute has the data type boolean 18.3.3.

19.897text:use-soft-page-breaks

The text:use-soft-page-breaks attribute specifies whether a document contains soft page breaks.

A soft page break is a page break that has been included in a document by a page oriented consumer at a position where the document itself does not include a page break as defined by fo:break-after 20.178 or fo:break-before 20.178.

Soft page breaks are specified by the <text:soft-page-break> element.

OpenDocument producers need not produce<text:soft-page-break> elements. They may include them if they have computed a paginated layout. Consumers may handle the element while computing the layout, but it shall not depend on its existence. Soft page breaks are only defined for text documents.

Producers that store soft page breaks shall indicate this by setting the text:use-soft-page-breaks attribute to true. Producers that do not store soft page breaks shall indicate that by omitting this attribute, or by setting it to false.

A producer that does not support pagination and soft page-breaks and that modifies an OpenDocument file, which includes soft page-breaks, shall set the text:use-soft-page-breaks attribute to false (or remove it). It should also remove the <text:soft-page-break> elements from the document.

Producers that compute a paginated layout of a document should provide a facility for the export of soft page breaks for the purposes of consistent page breaks and for  conversion to talking book formats ( [DAISY]).

For <text:soft-page-break> elements that appear within table rows, the maximum number of <text:soft-page-break> elements that appear within the single table cells determines the number of page breaks that appear within the table row. The <text:soft-page-break> elements contained in each cell determine the positions where these page breaks appear within the cell content.

When <text:soft-page-break> elements appear within text boxes and other content displayed outside the text flow, they do not start a new page, but only indicate where the text-box's content breaks between two pages.

The defined values for the text:use-soft-page-breaks attribute are:

  • false: soft page breaks not supported. 

  • true: soft page breaks supported. 

The default value for this attribute is false.

The text:use-soft-page-breaks attribute is usable with the following element: <office:text> 3.4.

The text:use-soft-page-breaks attribute has the data type boolean 18.3.3.

19.898text:use-spreadsheet-objects

The text:use-spreadsheet-objects attribute specifies whether embedded spreadsheet objects will appear in an object index.

The defined values for the text:use-spreadsheet-objects attribute are:

The default value for this attribute is false.

The text:use-spreadsheet-objects attribute is usable with the following element: <text:object-index-source> 8.6.2.

The text:use-spreadsheet-objects attribute has the data type boolean 18.3.3.

19.899text:use-tables

The text:use-tables attribute specifies whether tables will appear in a user defined index.

The defined values for the text:use-tables attribute are:

The default value for this attribute is false.

The text:use-tables attribute is usable with the following element: <text:user-index-source> 8.7.2.

The text:use-tables attribute has the data type boolean 18.3.3.

19.900text:value

The text:value attribute specifies the current row number for a <text:database-row-number> element. The number changes when new data is added to the current document.

The text:value attribute is usable with the following element: <text:database-row-number> 7.6.6.

The text:value attribute has the data type nonNegativeInteger 18.2.

19.901text:visited-style-name

The text:visited-style-name attribute specifies a style for a hyperlink that has been visited.

The text:visited-style-name attribute is usable with the following element: <text:a> 6.1.8.

The text:visited-style-name attribute has the data type styleNameRef 18.3.32.

19.902text:volume

The text:volume attribute specifies a volume for a bibliography index entry.

The text:volume attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:volume attribute has the data type string 18.2.

19.903text:year

The text:year attribute specifies a year for a bibliography index entry.

The text:year attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:year attribute has the data type string 18.2.

19.904xforms:bind

The xforms:bind attribute specifies the binding of an OpenDocument control to an XForm form.

With OpenDocument form buttons, the bind attribute refers to an <xforms:submission> element with the given ID. Pushing the button causes the appropriate XForms submission action to be performed.

Note: OpenDocument form button controls are: <form:button> 13.5.15, and, <form:image> 13.5.16.

With OpenDocument form non-button controls, the xforms:bind attribute refers to an <xforms:bind> element with the given ID. Any such bound control reads and writes its data as determined by the appropriate bind element.

Note: OpenDocument form non-button controls are: <form:checkbox> 13.5.17, <form:column> 13.5.23, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:fixed-text> 13.5.10, <form:formatted-text> 13.5.6, <form:frame> 13.5.19, <form:generic-control> 13.5.25, <form:grid> 13.5.22, <form:hidden> 13.5.21, <form:image-frame> 13.5.20, <form:item> 13.5.12, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:option> 13.5.14, <form:password> 13.5.4,<form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9, and <form:value-range> 13.5.24.

The xforms:bind attribute is usable with the following elements: <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:fixed-text> 13.5.10, <form:formatted-text> 13.5.6, <form:frame> 13.5.19, <form:generic-control> 13.5.25, <form:grid> 13.5.22, <form:hidden> 13.5.21, <form:image> 13.5.16, <form:image-frame> 13.5.20, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9 and <form:value-range> 13.5.24.

The xforms:bind attribute has the data type string 18.2.

19.905xhtml:about

The xhtml:about attribute specifies the subject of an RDF statement for in content metadata. Predicates for RDF statements are specified by the xhtml:property attribute. 19.908

The RDF statement's object is specified by the xhtml:content attribute, if present, or it is

  • the literal content between a pair of <text:bookmark-start> and <text:bookmark-end> elements that are paired by the values of their text:name attributes. 6.2.1.3, 6.2.1.4 

  • for elements other than <text:bookmark-start>/<text:bookmark-end>, the literal content of the element containing an xhtml:about attribute.  

The xhtml:datatype attribute provides the data type of the RDF object. 19.907

The xhtml:about attribute is usable with the following elements: <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:bookmark-start> 6.2.1.3, <text:h> 5.1.2, <text:meta> 6.1.9 and <text:p> 5.1.3.

The xhtml:about attribute has the data type URIorSafeCURIE 18.3.37.

19.906xhtml:content

The xhtml:content attribute specifies an object of an RDF statement for in content metadata. 19.905.

The xhtml:content attribute is usable with the following elements: <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:bookmark-start> 6.2.1.3, <text:h> 5.1.2, <text:meta> 6.1.9 and <text:p> 5.1.3.

The xhtml:content attribute has the data type string 18.2.

19.907xhtml:datatype

The xhtml:datatype attribute specifies the RDF data type (see §5 of [RDF-CONCEPTS]) of the object of an RDF statement.

The xhtml:datatype attribute is usable with the following elements: <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:bookmark-start> 6.2.1.3, <text:h> 5.1.2, <text:meta> 6.1.9 and <text:p> 5.1.3.

The xhtml:datatype attribute has the data type CURIE 18.3.12.

19.908xhtml:property

The xhtml:property attribute specifies a list of one or more CURIEs. Each CURIE is the predicate of an RDF statement for in content metadata. 19.905.

The xhtml:property attribute is usable with the following elements: <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:bookmark-start> 6.2.1.3, <text:h> 5.1.2, <text:meta> 6.1.9 and <text:p> 5.1.3.

The xhtml:property attribute has the data type CURIEs 18.3.13.

19.909xlink:actuate

See §5.6.2 of [XLink].

The xlink:actuate attribute has the value onRequest for the following elements: <db:component> 12.25.5, <db:connection-resource> 12.7, <draw:a> 10.4.12, <form:form> 13.3, <meta:template> 4.3.2.12, <presentation:event-listener> 10.9.2, <presentation:sound> 10.8.2, <script:event-listener> 14.4.2, <svg:definition-src> 16.25, <svg:font-face-uri> 16.24, <table:cell-range-source> 9.3.1, <table:table-source> 9.2.6 and <text:a> 6.1.8.

The xlink:actuate attribute has the value onLoad for the following elements: <draw:applet> 10.4.7, <draw:fill-image> 16.40.6, <draw:floating-frame> 10.4.10, <draw:image> 10.4.4, <draw:object> 10.4.6.2, <draw:object-ole> 10.4.6.3, <draw:plugin> 10.4.8, <meta:auto-reload> 4.3.2.13, <style:background-image> 17.3 and <text:list-level-style-image> 16.33.

For <db:connection-resource> 12.7, <draw:a> 10.4.12, <form:form> 13.3, <meta:template> 4.3.2.12, <presentation:event-listener> 10.9.2, <presentation:sound> 10.8.2, <script:event-listener> 14.4.2, <svg:definition-src> 16.25, <svg:font-face-uri> 16.24, <table:cell-range-source> 9.3.1, <table:table-source> 9.2.6 and <text:a> 6.1.8 elements the default value for this attribute is onRequest.

For <draw:applet> 10.4.7, <draw:fill-image> 16.40.6, <draw:floating-frame> 10.4.10, <draw:image> 10.4.4, <draw:object> 10.4.6.2, <draw:object-ole> 10.4.6.3, <draw:plugin> 10.4.8, <meta:auto-reload> 4.3.2.13, <style:background-image> 17.3 and <text:list-level-style-image> 16.33 elements the default value for this attribute is onLoad.

The xlink:actuate attribute is usable with the following elements: <db:component> 12.25.5, <db:connection-resource> 12.7, <draw:a> 10.4.12, <draw:applet> 10.4.7, <draw:fill-image> 16.40.6, <draw:floating-frame> 10.4.10, <draw:image> 10.4.4, <draw:object> 10.4.6.2, <draw:object-ole> 10.4.6.3, <draw:plugin> 10.4.8, <form:form> 13.3, <meta:auto-reload> 4.3.2.13, <meta:template> 4.3.2.12, <presentation:event-listener> 10.9.2, <presentation:sound> 10.8.2, <script:event-listener> 14.4.2, <style:background-image> 17.3, <svg:definition-src> 16.25, <svg:font-face-uri> 16.24, <table:cell-range-source> 9.3.1, <table:table-source> 9.2.6, <text:a> 6.1.8 and <text:list-level-style-image> 16.33.

19.910xlink:href

19.910.1General

The xlink:href attribute specifies a remote resource. Its data type is anyIRI. See §5.4 of [XLink].

19.910.2<anim:audio>

The xlink:href attribute specifies an audio stream.

The xlink:href attribute is usable with the following element: <anim:audio> 15.5.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.3<chart:chart>

The xlink:href attribute at the <chart:chart> element specifies the document which provides the data for a chart. The following values are supported:

All cell range addresses that are specified within a chart are relative to the document referenced by the xlink:href attribute.

If the xlink:href attribute is omitted, its value is assumed to be ".." (U+002E, FULL STOP followed by U+002E, FULL STOP).

The xlink:href attribute is usable with the following element: <chart:chart> 11.1.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.4<chart:symbol-image>

The xlink:href attribute specifies a file containing an image.

The xlink:href attribute is usable with the following element: <chart:symbol-image> 17.23.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.5<db:component>

The xlink:href attribute specifies a form or report document.

The xlink:href attribute is usable with the following element: <db:component> 12.25.5.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.6<db:connection-resource>

The xlink:href attribute specifies either a database, or database connection data encoded as an IRI.

The xlink:href attribute is usable with the following element: <db:connection-resource> 12.7.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.7<db:file-based-database>

The xlink:href attribute specifies the location of a file that defines a database. If a database consists of multiple files of different types which all are required for it to be operational, xlink:href points to one of those files which defines the database as a whole.

The xlink:href attribute is usable with the following element: <db:file-based-database> 12.5.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.8<draw:a>

The xlink:href attribute specifies a target location for the hyperlink.

The xlink:href attribute is usable with the following element: <draw:a> 10.4.12.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.9<draw:applet>

The xlink:href attribute specifies the base IRI for an applet.

The default value for this attribute is an empty string.

The xlink:href attribute is usable with the following element: <draw:applet> 10.4.7.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.10<draw:area-circle>

The xlink:href attribute specifies a target location for the hyperlink.

The xlink:href attribute is usable with the following element: <draw:area-circle> 10.4.13.4.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.11<draw:area-polygon>

The xlink:href attribute specifies a target location for the hyperlink.

The xlink:href attribute is usable with the following element: <draw:area-polygon> 10.4.13.5.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.12<draw:area-rectangle>

The xlink:href attribute specifies a target location for the hyperlink.

The xlink:href attribute is usable with the following element: <draw:area-rectangle> 10.4.13.3.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.13<draw:fill-image>

The xlink:href attribute specifies a file containing an image.

The xlink:href attribute is usable with the following element: <draw:fill-image> 16.40.6.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.14<draw:floating-frame>

The xlink:href attribute specifies the source of a floating frame.

The xlink:href attribute is usable with the following element: <draw:floating-frame> 10.4.10.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.15<draw:image>

The xlink:href attribute specifies a file containing an image.

The xlink:href attribute is usable with the following element: <draw:image> 10.4.4.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.16<draw:object>

The xlink:href attribute specifies the location of an embedded object.

The xlink:href attribute is usable with the following element: <draw:object> 10.4.6.2.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.17<draw:object-ole>

The xlink:href attribute specifies the location of an embedded object.

The xlink:href attribute is usable with the following element: <draw:object-ole> 10.4.6.3.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.18<draw:plugin>

The xlink:href attribute specifies the source of a plugin.

The xlink:href attribute is usable with the following element: <draw:plugin> 10.4.8.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.19<form:button>

 The xlink:href attribute specifies a resource that is loaded if a button is operated.

The xlink:href attribute is usable with the following element: <form:button> 13.5.15.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.20<form:connection-resource>

The xlink:href attribute specifies either a database, or database connection encoded as an IRI.

The xlink:href attribute is usable with the following element: <form:connection-resource> 7.6.2.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.21<form:image>

 The xlink:href attribute specifies a resource that is loaded if a button is operated.

The xlink:href attribute is usable with the following element: <form:image> 13.5.16.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.22<form:form>

The xlink:href attribute specifies the processing agent for a form.

The xlink:href attribute is usable with the following element: <form:form> 13.3.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.23<meta:auto-reload>

The xlink:href attribute specifies the IRI of a replacement document.

The xlink:href attribute is usable with the following element: <meta:auto-reload> 4.3.2.13.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.24<meta:template>

The xlink:href attribute specifies the location of a document template.

The xlink:href attribute is usable with the following element: <meta:template> 4.3.2.12.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.25<presentation:event-listener>

The xlink:href attribute specifies depending on the action selected by the presentation:action attribute either a document bookmark or an application.

The xlink:href attribute is usable with the following element: <presentation:event-listener> 10.9.2.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.26<presentation:sound>

The xlink:href attribute specifies a sound that is played when an effect is executed.

The xlink:href attribute is usable with the following element: <presentation:sound> 10.8.2.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.27<script:event-listener>

The xlink:href attribute specifies macro code that should be called for an event. The IRI may have any  protocol. The interpretation of the IRI is script language dependent.

The xlink:href attribute is usable with the following element: <script:event-listener> 14.4.2.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.28<style:background-image>

The xlink:href attribute specifies an image.

The xlink:href attribute is usable with the following element: <style:background-image> 17.3.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.29<svg:definition-src>

See § 20.8.3 of [SVG].

The xlink:href attribute is usable with the following element: <svg:definition-src> 16.25.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.30<svg:font-face-uri>

See § 20.8.3 of [SVG].

The xlink:href attribute is usable with the following element: <svg:font-face-uri> 16.24.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.31<table:cell-range-source>

The xlink:href attribute specifies an IRI for a document containing a source table.

The xlink:href attribute is usable with the following element: <table:cell-range-source> 9.3.1.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.32<table:table-source>

The xlink:href attribute specifies an IRI of a document containing a source table.

The xlink:href attribute is usable with the following element: <table:table-source> 9.2.6.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.33<text:a>

The xlink:href attribute specifies the target location of a hyperlink.

The xlink:href attribute is usable with the following element: <text:a> 6.1.8.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.34<text:alphabetical-index-auto-mark-file>

The xlink:href attribute specifies the location of an alphabetical index mark file that contains a list of terms.

The xlink:href attribute is usable with the following element: <text:alphabetical-index-auto-mark-file> 8.8.3.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.35<text:list-level-style-image>

The xlink:href attribute specifies an image.

The xlink:href attribute is usable with the following element: <text:list-level-style-image> 16.33.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.36<text:script>

The xlink:href attribute specifies the location script source code.

The xlink:href attribute is usable with the following element: <text:script> 7.7.9.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.910.37<text:section-source>

The xlink:href attribute specifies the document or document fragment to which a section is linked. If the IRI contains a fragment identifier, and if the referenced document is an OpenDocument document, the fragment identifier should be interpreted as the name of a section to which a section is linked. A fragment identifier should be ignored if a text:section-name attribute is present.

The xlink:href attribute is usable with the following element: <text:section-source> 5.4.2.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.911xlink:show

See §5.6.1 of [XLink].

For a <meta:auto-reload> 4.3.2.13 element the value for this attribute is replace.

For <draw:applet> 10.4.7, <draw:fill-image> 16.40.6, <draw:floating-frame> 10.4.10, <draw:image> 10.4.4, <draw:object> 10.4.6.2, <draw:object-ole> 10.4.6.3, <draw:plugin> 10.4.8, <presentation:event-listener> 10.9.2, <style:background-image> 17.3, <text:list-level-style-image> 16.33 and <text:section-source> 5.4.2 elements the value for this attribute is embed.

For <draw:a> 10.4.12, <draw:area-circle> 10.4.13.4, <draw:area-polygon> 10.4.13.5, <draw:area-rectangle> 10.4.13.3, <meta:hyperlink-behaviour> 4.3.2.14, <presentation:sound> 10.8.2 and <text:a> 6.1.8 elements the supported values for this attribute are new or replace.

For a <meta:auto-reload> 4.3.2.13 element the default value for this attribute is replace.

For <draw:applet> 10.4.7, <draw:fill-image> 16.40.6, <draw:floating-frame> 10.4.10, <draw:image> 10.4.4, <draw:object> 10.4.6.2, <draw:object-ole> 10.4.6.3, <draw:plugin> 10.4.8, <presentation:event-listener> 10.9.2, <style:background-image> 17.3, <text:list-level-style-image> 16.33 and <text:section-source> 5.4.2 elements the default value for this attribute is embed.

For <db:connection-resource> 12.7 the default value for this attribute is none.

The xlink:show attribute is usable with the following elements: <db:component> 12.25.5, <db:connection-resource> 12.7, <draw:a> 10.4.12, <draw:applet> 10.4.7, <draw:area-circle> 10.4.13.4, <draw:area-polygon> 10.4.13.5, <draw:area-rectangle> 10.4.13.3, <draw:fill-image> 16.40.6, <draw:floating-frame> 10.4.10, <draw:image> 10.4.4, <draw:object> 10.4.6.2, <draw:object-ole> 10.4.6.3, <draw:plugin> 10.4.8, <meta:auto-reload> 4.3.2.13, <meta:hyperlink-behaviour> 4.3.2.14, <presentation:event-listener> 10.9.2, <presentation:sound> 10.8.2, <style:background-image> 17.3, <text:a> 6.1.8, <text:list-level-style-image> 16.33 and <text:section-source> 5.4.2.

19.912xlink:title

The xlink:title attribute specifies a title to be associated with a document template.

The xlink:title attribute is usable with the following element: <meta:template> 4.3.2.12.

The xlink:title attribute has the data type string 18.2.

19.913xlink:type

See §3.2 of [XLink]. This attribute always has the value simple in OpenDocument document instances.

For <db:connection-resource> 12.7, <db:file-based-database> 12.5, <draw:a> 10.4.12, <draw:applet> 10.4.7, <draw:area-circle> 10.4.13.4, <draw:area-polygon> 10.4.13.5, <draw:area-rectangle> 10.4.13.3, <draw:fill-image> 16.40.6, <draw:floating-frame> 10.4.10, <draw:image> 10.4.4, <draw:object> 10.4.6.2, <draw:object-ole> 10.4.6.3, <draw:plugin> 10.4.8, <form:form> 13.3, <meta:auto-reload> 4.3.2.13, <meta:template> 4.3.2.12, <presentation:event-listener> 10.9.2, <presentation:sound> 10.8.2, <script:event-listener> 14.4.2, <style:background-image> 17.3, <svg:definition-src> 16.25, <svg:font-face-uri> 16.24, <table:cell-range-source> 9.3.1, <table:table-source> 9.2.6, <text:a> 6.1.8, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:list-level-style-image> 16.33, <text:script> 7.7.9 and <text:section-source> 5.4.2 elements the default value for this attribute is simple.

The xlink:type attribute is usable with the following elements: <chart:chart> 11.1, <db:component> 12.25.5, <db:connection-resource> 12.7, <db:file-based-database> 12.5, <draw:a> 10.4.12, <draw:applet> 10.4.7, <draw:area-circle> 10.4.13.4, <draw:area-polygon> 10.4.13.5, <draw:area-rectangle> 10.4.13.3, <draw:fill-image> 16.40.6, <draw:floating-frame> 10.4.10, <draw:image> 10.4.4, <draw:object> 10.4.6.2, <draw:object-ole> 10.4.6.3, <draw:plugin> 10.4.8, <form:form> 13.3, <meta:auto-reload> 4.3.2.13, <meta:template> 4.3.2.12, <presentation:event-listener> 10.9.2, <presentation:sound> 10.8.2, <script:event-listener> 14.4.2, <style:background-image> 17.3, <svg:definition-src> 16.25, <svg:font-face-uri> 16.24, <table:cell-range-source> 9.3.1, <table:table-source> 9.2.6, <text:a> 6.1.8, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:list-level-style-image> 16.33, <text:script> 7.7.9 and <text:section-source> 5.4.2.

19.914xml:id

The xml:id attribute is standardized by the W3C [XML-ID] and gives an element a unique identification in its XML file.

The xml:id attribute is usable with the following elements: <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <chart:chart> 11.1, <chart:data-point> 11.13, <chart:plot-area> 11.4, <chart:series> 11.11, <dr3d:cube> 10.5.4, <dr3d:extrude> 10.5.6, <dr3d:rotate> 10.5.7, <dr3d:scene> 10.5.2, <dr3d:sphere> 10.5.5, <draw:a> 10.4.12, <draw:applet> 10.4.7, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:floating-frame> 10.4.10, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:image> 10.4.4, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:object> 10.4.6.2, <draw:object-ole> 10.4.6.3, <draw:page> 10.2.4, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:plugin> 10.4.8, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <draw:text-box> 10.4.3, <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:fixed-text> 13.5.10, <form:formatted-text> 13.5.6, <form:frame> 13.5.19, <form:generic-control> 13.5.25, <form:grid> 13.5.22, <form:hidden> 13.5.21, <form:image> 13.5.16, <form:image-frame> 13.5.20, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9, <form:value-range> 13.5.24, <office:annotation> 14.1, <presentation:sound> 10.8.2, <table:covered-table-cell> 9.1.5, <table:table> 9.1.2, <table:table-cell> 9.1.4, <table:table-column> 9.1.6, <table:table-row> 9.1.3, <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:bookmark> 6.2.1.2, <text:bookmark-start> 6.2.1.3, <text:changed-region> 5.5.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:index-title> 8.2.3, <text:list> 5.3.1, <text:list-header> 5.3.3, <text:list-item> 5.3.4, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:numbered-paragraph> 5.3.6, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

The xml:id attribute has the data type ID 18.2.

20Formatting Attributes

20.1General

In an OpenDocument Format document, <style:*-properties> elements contain the definitions of formatting that is associated with document structure elements. Formatting definitions are expressed as attributes on the <style:*-properties> elements or as child elements of these elements. This chapter defines formatting properties that are represented by attributes. Formatting properties that are represented by elements are defined in chapter 17.

20.2chart:angle-offset

The chart:angle-offset attribute specifies a counter clockwise rotation of a polar coordinate in a circle, ring or polar chart. The attribute value is an angle. See 18.3.1. The default value is 90deg.

This attribute is evaluated for chart styles that are applied to a <chart:plot-area> element.

The chart:angle-offset attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:angle-offset attribute has the data type angle 18.3.1.

20.3chart:auto-position

The chart:auto-position attribute specifies if an object should be positioned automatically.

The default value is true if svg:x and svg:y attributes are not specified. It is false if the svg:x and svg:y attributes are specified.

The chart:auto-position attribute is evaluated for chart styles applied to elements that may have svg:x and svg:y attributes.

The defined values for the chart:auto-position attribute are:

The chart:auto-position attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:auto-position attribute has the data type boolean 18.3.3.

20.4chart:auto-size

The chart:auto-size attribute specifies if the size of an object should be chosen automatically.

The default value is true if svg:width and svg:height attributes are not specified. It is false if the svg:width and svg:height attributes are specified.

The chart:auto-size attribute is evaluated for chart styles applied to elements that have svg:width and svg:height attributes.

The defined values for the chart:auto-size attribute are:

The chart:auto-size attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:auto-size attribute has the data type boolean 18.3.3.

20.5chart:axis-label-position

The chart:axis-label-position attribute specifies the position of the axis labels.

The defined values for the chart:axis-label-position attribute are:

If the chart:axis-label-position attribute is missing but a chart:axis-position attribute is given, the value of the chart:axis-label-position attribute is assumed to be near-axis.

This attribute is evaluated for a chart style that is applied to a <chart:axis> element.

The chart:axis-label-position attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:axis-label-position attribute are near-axis, near-axis-other-side, outside-start or outside-end.

20.6chart:axis-position

The chart:axis-position attribute specifies the position of the axis line on the scale of the crossing axis.

If the attribute is set for a y-axis, the position indicates a value on the scale of the first x-axis.

If the attribute is set for a x-axis, the position indicates a value on the scale of the first y-axis.

This attribute is evaluated for a chart style that is applied to a <chart:axis> element.

The defined values for the chart:axis-position attribute are:

The chart:axis-position attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:axis-position attribute are start, end or a value of type double 18.2.

20.7chart:connect-bars

The chart:connect-bars attribute specifies if bars in a bar chart that belong to the same series are connected by lines.

This attribute is evaluated for chart styles that are applied to a <chart:plot-area> element.

The defined values for the chart:connect-bars attribute are:

The chart:connect-bars attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:connect-bars attribute has the data type boolean 18.3.3.

20.8chart:data-label-number

The chart:data-label-number attribute specifies whether the value and/or the percentage of a data point should be displayed within a data label. By default, neither the value nor a percentage is displayed.

The defined values for the chart:data-label-number attribute are:

This attribute is evaluated for chart styles that are applied to a <chart:data-label>, <chart:data-point>, <chart:series> or <chart:plot-area> elements.

The style:data-style-name attribute can be used together with this attribute to indicate which number format should be used to display the value.

The style:percentage-data-style-name attribute can be used together with this attribute to indicate which number format should be used to display the percentage value.

The chart:data-label-number attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:data-label-number attribute are none, value, percentage or value-and-percentage.

20.9chart:data-label-symbol

The chart:data-label-symbol attribute specifies whether to display a legend symbol within the data label of a data point.

This attribute is evaluated for chart styles that are applied to a <chart:data-label>, <chart:data-point>, <chart:series> or <chart:plot-area> elements.

The defined values for the chart:data-label-symbol attribute are:

The chart:data-label-symbol attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:data-label-symbol attribute has the data type boolean 18.3.3.

20.10chart:data-label-text

The chart:data-label-text attribute specifies whether to display the category within the data label of a data point.

This attribute is evaluated for chart styles that are applied to <chart:data-label>, <chart:data-point>, a <chart:series> or a <chart:plot-area> elements.

The defined values for the chart:data-label-text attribute are:

The chart:data-label-text attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:data-label-text attribute has the data type boolean 18.3.3.

20.11chart:deep

The chart:deep attribute specifies whether data series are displayed behind each other along the z-axis or not. The chart:deep attribute is ignored unless a chart:three-dimensional attribute is present and has the value true. 20.58

This attribute is evaluated for a chart style that is applied to a <chart:plot-area> element.

The defined values for the chart:deep attribute are:

  • false: data series are not displayed behind each other along the z-axis. 

  • true: data series are displayed behind each other along the z-axis. The z-axis displays the name of the series. 

The chart:deep attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:deep attribute has the data type boolean 18.3.3.

20.12chart:display-label

The chart:display-label attribute specifies whether labels are displayed on an axis or not.

This attribute is evaluated for a chart style that is applied to a <chart:axis> element.

Note: The labels controlled by chart:display-label attribute appear on an axis as opposed to being labels for the axis.

The defined values for the chart:display-label attribute are:

The chart:display-label attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:display-label attribute has the data type boolean 18.3.3.

20.13chart:error-category

The chart:error-category attribute is used to determine which function is used to calculate error indicators at data points. By default, no error indicators are shown.

The defined values for the chart:error-category attribute are:

This attribute is evaluated for chart styles that are applied to <chart:error-indicator>, <chart:series> or <chart:plot-area> elements.

The chart:error-category attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:error-category attribute are none, variance, standard-deviation, percentage, error-margin, constant, standard-error or cell-range.

20.14chart:error-lower-indicator

The chart:error-lower-indicator attribute specifies whether negative error indicators are displayed (the error value is subtracted from the data point value).

This attribute should be used together with the chart:error-category attribute.

The defined values for the chart:error-lower-indicator attribute are:

The chart:error-lower-indicator attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:error-lower-indicator attribute has the data type boolean 18.3.3.

20.15chart:error-lower-limit

The chart:error-lower-limit attribute specifies the absolute value in the negative direction that is used to display error indicators, if a chart:error-category attribute has the value constant. 20.13

The chart:error-lower-limit attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:error-lower-limit attribute has the data type double 18.2.

20.16chart:error-lower-range

The chart:error-lower-range attribute specifies the cell range used for negative error indicators when a chart:error-category attribute has a value of cell-range. 20.13

The chart:error-lower-range attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:error-lower-range attribute has the data type cellRangeAddressList 18.3.6.

20.17chart:error-margin

The chart:error-margin attribute specifies the percentage of the largest value in a series used in the display of error indicators for each data point of a series.

This attribute should be used together with the chart:error-category attribute if it has the value error-margin.

The chart:error-margin attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:error-margin attribute has the data type double 18.2.

20.18chart:error-percentage

The chart:error-percentage attribute specifies the percentage that is used in the display of error indicators for each data point of a series.

This attribute should be used together with a chart:error-category attribute if the chart:error-category attribute has the value percentage.

The chart:error-percentage attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:error-percentage attribute has the data type double 18.2.

20.19chart:error-upper-indicator

The chart:error-upper-indicator attribute specifies whether positive error indicators should be displayed (the error value is added to the data point value).

This attribute should be used together with a chart:error-category attribute.

The defined values for the chart:error-upper-indicator attribute are:

The chart:error-upper-indicator attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:error-upper-indicator attribute has the data type boolean 18.3.3.

20.20chart:error-upper-limit

The chart:error-upper-limit attribute specifies the absolute value in the positive direction that is used to display error indicators, if the chart:error-category attribute has the value constant. 20.13

This attribute should be used together with chart:error-category attribute.

The chart:error-upper-limit attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:error-upper-limit attribute has the data type double 18.2.

20.21chart:error-upper-range

The chart:error-upper-range attribute specifies the cell range used for positive error indicators when the chart:error-category attribute has the value cell-range 20.13.

The chart:error-upper-range attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:error-upper-range attribute has the data type cellRangeAddressList 18.3.6.

20.22chart:gap-width

The chart:gap-width attribute specifies a gap between neighboring groups of bars in a bar chart (that is the distance between the last bar in one category and the first bar in the following category). It is specified as an integer percentage relative to the width of a single bar.

This attribute is evaluated for chart styles that are applied to a <chart:axis> element with chart:dimension attribute set to y.

Note: Bars attached to different axis can be arranged differently as long as they are grouped per axis (chart:group-bars-per-axis attribute has the value true).

The chart:gap-width attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:gap-width attribute has the data type integer 18.2.

20.23chart:group-bars-per-axis

The chart:group-bars-per-axis attribute specifies whether bars in a bar chart are displayed side by side or behind each other when they are attached to different y-axes.

This attribute is evaluated for chart styles that are applied to a <chart:plot-area> element.

The defined values for the chart:group-bars-per-axis attribute are:

The chart:group-bars-per-axis attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:group-bars-per-axis attribute has the data type boolean 18.3.3.

20.24chart:hole-size

The chart:hole-size attribute specifies the diameter of the inner hole of a ring chart as percentage of the outer diameter of the outermost ring.

This attribute is evaluated for chart styles that are applied to a <chart:plot-area> element.

The chart:hole-size attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:hole-size attribute has the data type percent 18.3.23.

20.25chart:include-hidden-cells

The chart:include-hidden-cells attribute specifies whether data points in hidden cells are plotted in a chart. The default is to plot data points in hidden cells.

This attribute can be used within styles that are applied to a <chart:plot-area> element.

The defined values for the chart:include-hidden-cells attribute are:

The chart:include-hidden-cells attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:include-hidden-cells attribute has the data type boolean 18.3.3.

20.26chart:interpolation

 The chart:interpolation attribute specifies interpolations for line and scatter charts.

The defined values for the chart:interpolation attribute are:

  • b-spline – B-Splines. 20.51 If the chart:spline-resolution attribute has value 1 this is identical to the chart:interpolation attribute value none. If the chart:spline-resolution attribute has value
    formula
    and the chart:spline-order attribute has value p then given a sequence of data points, a B-spline interpolation with polynomials of degree p is constructed as described here. First we omit any consecutive repeated data points obtaining
    formula
    where for all
    formula
    ,
    formula
    .
    and the chart:spline-order attribute has value p then given a sequence of data points, a B-spline interpolation with polynomials of degree p is constructed as described here. First we omit any consecutive repeated data points obtaining
    formula
    where for all
    formula
    ,
    formula
    .
    where for all
    formula
    ,
    formula
    .
    ,
    formula
    .
    . 
    • We then construct a parameter list
      formula
      using the centripetal method with a power of 0.5:
      formula
      for
      formula
      and
      formula
      .
       
      Next we generate a knot vector
      formula
      with
      formula
      :
       
      formula
       
      Now let
      formula
      be the B-spline basis function defined recursively by
       
      formula
       
      Let
      formula
      be the solution of the matrix equation
      formula
      with
      formula
      and
      formula
      .
       
      formula
      are the control points of the desired B-spline of degree p passing through the data points
      formula
      .
       
      For
      formula
      let
      formula
      be recursively defined by
       
      formula
       
      If
      formula
      and
      formula
      , then
      formula
      is the point on this B-spline corresponding to the parameter u. If
      formula
      and
      formula
      , then
      formula
      is the point on this B-spline corresponding to the parameter u.
       
      Note:
      formula
      and
      formula
      are best calculated using de Boor's algorithm for a B-spline of degree p with control points
      formula
      and knots
      formula
      .
       
      The approximation of this B-spline is then plotted by using
      formula
      and
      formula
      to calculate the coordinates of the points on the spline corresponding to the parameters:
       
      formula
       

    and connecting these points with straight line segments. 

  • cubic-spline – Cubic Splines. If the chart:spline-resolution attribute has value 1 this is identical to the chart:interpolation attribute value none. If the chart:spline-resolution attribute has value
    formula
    then given a sequence of data points,
    formula
    a cubic spline interpolation is constructed as described here:
    then given a sequence of data points,
    formula
    a cubic spline interpolation is constructed as described here:
    a cubic spline interpolation is constructed as described here:  
    Find the unique cubic polynomials
    formula
    formula
    and such that:
    formula
    and such that:
    and such that: 
    • for all
      formula
      ,
      formula
      and
      formula
      ,
       
      for all
      formula
      ,
      formula
      with
      formula
      denoting the first derivative of f,
       
      for all
      formula
      ,
      formula
      with
      formula
      denoting the second derivative of f,
      for all
      formula
      ,
      formula
      and
      formula
      ,
       
      for all
      formula
      ,
      formula
      with
      formula
      denoting the first derivative of g,
       
      for all
      formula
      ,
      formula
      with
      formula
      denoting the second derivative of g,

      and

      • formula
        ,
        formula
        ,
        formula
        and
        formula
        if
        formula
        (ie. the curve will not be closed) or 
      • formula
        and
        formula
        if
        formula
        (I,e. the curve will be closed). 
    With these cubic polynomials we define the splines (piecewise polynomial functions)
    formula
    and
    formula
    . (In view of the first and fourth conditions above this yields well defined functions F and G.) The interpolation line is then obtained by connecting consecutive points in
    formula
    using straight line segments.
    and
    formula
    . (In view of the first and fourth conditions above this yields well defined functions F and G.) The interpolation line is then obtained by connecting consecutive points in
    formula
    using straight line segments.
    . (In view of the first and fourth conditions above this yields well defined functions F and G.) The interpolation line is then obtained by connecting consecutive points in
    formula
    using straight line segments.
    using straight line segments. 
  • none - Straight lines. Consecutive data points are connected by straight line segments.  

This attribute is evaluated for chart styles that are applied to a <chart:plot-area> or <chart:series> element.

The chart:interpolation attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:interpolation attribute are none, cubic-spline or b-spline.

20.27chart:interval-major

The chart:interval-major attribute specifies major intervals on an axis 11.8.

This attribute is evaluated for a chart style that is applied to a <chart:axis> element.

The chart:interval-major attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:interval-major attribute has the data type double 18.2.

20.28chart:interval-minor-divisor

The chart:interval-minor-divisor attribute specifies a divisor for the chart:interval-major value, the division of which determines the minor interval.

This attribute is evaluated for a chart style that is applied to a <chart:axis> element.

The chart:interval-minor-divisor attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:interval-minor-divisor attribute has the data type positiveInteger 18.2.

20.29chart:japanese-candle-stick

The chart:japanese-candle-stick attribute specifies the display of opening and closing values in a stock chart.

The defined values for the chart:japanese-candle-stick attribute are:

This attribute is evaluated for chart styles that are applied to a <chart:plot-area> element.

The chart:japanese-candle-stick attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:japanese-candle-stick attribute has the data type boolean 18.3.3.

20.30chart:label-arrangement

The chart:label-arrangement attribute specifies the arrangement of labels on an axis.

The defined values for the chart:label-arrangement attribute are:

This attribute is evaluated for a chart style that is applied to a <chart:axis> element.

The chart:label-arrangement attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:label-arrangement attribute are side-by-side, stagger-even or stagger-odd.

20.31chart:label-position

The chart:label-position attribute specifies where data labels are placed.

The defined values for the chart:label-position attribute are:

This attribute is evaluated for chart styles that are applied to <chart:data-label>, <chart:data-point>, <chart:series> or <chart:plot-area> elements.

The chart:label-position attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:label-position attribute are avoid-overlap, center, top, top-right, right, bottom-right, bottom, bottom-left, left, top-left, inside, outside or near-origin.

20.32chart:label-position-negative

If the chart:label-position-negative attribute is set in addition to a chart:label-position attribute (20.31), it is used for all labels that belong to data points with negative values. Otherwise the position set in a chart:label-position attribute is used for positive and negative values. If a chart:label-position-negative attribute is used without a chart:label-position attribute it is ignored.

The defined values for the chart:label-position-negative attribute are:

  • avoid-overlap: an algorithm should be used that tries to place the labels without overlapping each other. 

  • bottom: the data label is placed below the data point. 

  • bottom-left: the data label is placed to the bottom left of the data point. 

  • bottom-right: the data label is placed to the bottom right of the data point. 

  • center: the data label is centered on the data point. 

  • inside: the data label is placed inside the data point ( for pie charts the label is placed inside the piece on the bisecting line aligned to the outer radius, for bar charts the label is inside the bar aligned to that end that is given by the data points value, for polar charts the label is placed on that side of the data point that points to the polar charts center ). 

  • left: the data label is placed left of the data point. 

  • near-origin: the data label is placed inside the data point on that side that is near to the origin - where the origin is the beginning of the bar in a bar chart or the base line in an area chart ( for bar charts the label is placed inside the bar like with value inside, but aligned to the opposite end of the bar ). 

  • outside: the data label is placed outside the data point ( for pie charts the label is placed outside the circle aligned to the outer radius, for bar charts the label is outside the bar aligned to that end that is given by the data points value, for polar charts the label is placed on that side of the data point that points away from the polar charts center ). 

  • right: the data label is placed right of the data point. 

  • top: the data label is placed on top of the data point. 

  • top-left: the data label is placed to the top left of the data point. 

  • top-right: the data label is placed to the top right of the data point. 

The chart:label-position-negative attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:label-position-negative attribute are avoid-overlap, center, top, top-right, right, bottom-right, bottom, bottom-left, left, top-left, inside, outside or near-origin.

20.33chart:lines (deprecated)

The chart:lines attribute specifies whether connecting lines between data points are shown.

Note: The display of lines can be specified by the draw:stroke attribute.

The defined values for the chart:lines attribute are:

The chart:lines attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:lines attribute has the data type boolean 18.3.3.

20.34chart:link-data-style-to-source

The chart:link-data-style-to-source attribute can only be used in chart documents that are part of a document that provides the data for the chart.

This attribute is evaluated for a chart style that is applied to a <chart:axis> element.

The defined values for the chart:link-data-style-to-source attribute are:

The chart:link-data-style-to-source attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:link-data-style-to-source attribute has the data type boolean 18.3.3.

20.35chart:logarithmic

The chart:logarithmic attribute specifies whether logarithmic scaling will be used on an axis. By default, proportional scaling is used.

This attribute is evaluated for a chart style that is applied to a <chart:axis> element.

The defined values for the chart:logarithmic attribute are:

The chart:logarithmic attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:logarithmic attribute has the data type boolean 18.3.3.

20.36chart:maximum

The chart:maximum attribute specifies the maximum value of an axis.

This attribute is evaluated for a chart style that is applied to a <chart:axis> element.

The chart:maximum attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:maximum attribute has the data type double 18.2.

20.37chart:mean-value

The chart:mean-value attribute specifies whether to display a line that represents the statistical mean value of all data points of a series.

This attribute is evaluated for chart styles that are applied to a <chart:plot-area> element or a <chart:series> element.

The defined values for the chart:mean-value attribute are:

The chart:mean-value attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:mean-value attribute has the data type boolean 18.3.3.

20.38chart:minimum

The chart:minimum attribute specifies the minimum value of an axis.

This attribute is evaluated for a chart style that is applied to a <chart:axis> element.

The chart:minimum attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:minimum attribute has the data type double 18.2.

20.39chart:origin

The chart:origin attribute defines the origin of the graphical representation of a data series attached to an axis.

Note: For example, the beginning of the bars in a bar chart or the base line in an area chart can be set by the chart:origin attribute in the style of the y-axis to which the data series is attached.

If the first x-axis has a chart:axis-position attribute, that position is taken to indicate the origin of the data points attached to the first y-axis. It overrides the chart:origin attribute of the first y-axis.

This attribute is evaluated for a chart style that is applied to a <chart:axis> element.

The chart:origin attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:origin attribute has the data type double 18.2.

20.40chart:overlap

The chart:overlap attribute specifies how much bars within the same category in a bar chart overlap. The attribute value is an integer that is interpreted as a percentage relative to the width of a single bar. Negative values specify gaps between bars.

This attribute is evaluated for chart styles that are applied to a <chart:axis> element when a chart:dimension attribute set to y.

Note: This allows bars to be attached to different axis arranged differently as long as they are grouped per axis (chart:group-bars-per-axis attribute is true).

The chart:overlap attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:overlap attribute has the data type integer 18.2.

20.41chart:pie-offset

The chart:pie-offset attribute specifies the distance of a segment from the center of the circle in case of circle charts. The offset is given as an integer which is interpreted as a percentage of the radius of the circle.

In case of ring charts the chart:pie-offset attribute specifies an additional distance of a segment from the center of the circle. The distance is given as percentage of the thickness of the ring.

This attribute is evaluated for chart styles that are applied to a <chart:data-point> or <chart:series> element.

The chart:pie-offset attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:pie-offset attribute has the data type nonNegativeInteger 18.2.

20.42chart:percentage

The chart:percentage attribute specifies a percentage accumulation of values per category.

This attribute is evaluated for chart styles that are applied to a <chart:plot-area> element.

The defined values for the chart:percentage attribute are:

y-axis

The chart:percentage attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:percentage attribute has the data type boolean 18.3.3.

20.43chart:regression-type

The chart:regression-type attribute specifies the regression function for a series. A regression function can be used to approximate the data points in a series.

The defined values for the chart:regression-type attribute are:

This attribute is evaluated for chart styles that are applied to <chart:regression-curve>, <chart:series> or <chart:plot-area> elements.

The chart:regression-type attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:regression-type attribute are none, linear, logarithmic, exponential or power.

20.44chart:reverse-direction

The chart:reverse-direction attribute specifies whether the direction of an axis follows the Cartesian coordinate system or the reverse. False is the default.

In a Cartesian coordinate system the x-axis points from left to right and the y-axis points from bottom to top. 3D Cartesian coordinate systems are left handed and polar coordinate systems are counter clockwise. If x and y axes are swapped as in horizontal bar charts (when attribute chart:vertical value is true), the unswapped coordinate system follows the Cartesian coordinate system and is left handed.

This attribute is evaluated for chart styles that are applied to a <chart:axis> element.

The defined values for the chart:reverse-direction attribute are:

The chart:reverse-direction attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:reverse-direction attribute has the data type boolean 18.3.3.

20.45chart:right-angled-axes

The chart:right-angled-axes attribute specifies a modification of the projection of a 3D chart. In a Cartesian coordinate system the projections of x and y-axis are horizontal and vertical.

This attribute is evaluated for chart styles that are applied to a <chart:plot-area> element. The chart:right-angled-axes attribute is ignored unless a chart:three-dimensional attribute is present and has the value true.

The defined values for the chart:right-angled-axes attribute are:

The chart:right-angled-axes attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:right-angled-axes attribute has the data type boolean 18.3.3.

20.46chart:scale-text

The chart:scale-text attribute specifies that the text contained in an object should be scaled whenever the size of the chart changes. This attribute can appear at all chart objects that contain text.

The defined values for the chart:scale-text attribute are:

The chart:scale-text attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:scale-text attribute has the data type boolean 18.3.3.

20.47chart:series-source (deprecated)

The chart:series-source attribute specifies whether a tabular data for a chart contains all the data series in columns or rows .

The tabular data can be given by the table:cell-range-address attribute at the <chart:plot-area> element or by the <table:table> element inside the <chart:chart> element.

When data is assigned more specifically to a chart element, with a values-cell-range-address attribute on a <chart:series> element, the more specific data assignment has priority.

The chart:series-source attribute is evaluated for a chart style that is applied to a <chart:plot-area> element.

The defined values for the chart:series-source attribute are:

The chart:series-source attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:series-source attribute are columns or rows.

20.48chart:sort-by-x-values

The chart:sort-by-x-values attribute specifies whether the data points of a data series should be displayed in ascending order of the x values, or in the order they are contained in the underlying data. It is evaluated for styles that are assigned to the <chart:plot-area> element. The chart:sort-by-x-values attribute is used for chart types with data series that contain x-values (for example scatter charts, 19.15).

The defined values for the chart:sort-by-x-values attribute are:

  • false: data points of a data series should be displayed in the order they are contained in the underlying data. 

  • true: data points of a data series should be displayed in ascending order of the x values. 

The chart:sort-by-x-values attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:sort-by-x-values attribute has the data type boolean 18.3.3.

20.49chart:solid-type

The chart:solid-type attribute specifies the rendering of bars in three-dimensional bar charts.

The defined values for the chart:solid-type attribute are:

This attribute is evaluated for chart styles that are applied to <chart:data-point>, <chart:series> or <chart:plot-area> elements.

The chart:solid-type attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:solid-type attribute are cuboid, cylinder, cone or pyramid.

20.50chart:spline-order

The chart:spline-order attribute specifies the degree of the polynomials used as part of the spline.

This attribute should be used together with chart:interpolation attribute when it has the value b-spline.

The chart:spline-order attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:spline-order attribute has the data type positiveInteger 18.2.

20.51chart:spline-resolution

The chart:spline-resolution attribute specifies the number of straight line segments used between any two data points.

This attribute should be used together with chart:interpolation attribute when it has a value other than none.

The chart:spline-resolution attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:spline-resolution attribute has the data type positiveInteger 18.2.

20.52chart:stacked

The chart:stacked attribute specifies the accumulation of the series values per category. Each value is in addition to the other values in the same category.

This attribute is evaluated for chart styles that are applied to a <chart:plot-area> element.

The defined values for the chart:stacked attribute are:

The chart:stacked attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:stacked attribute has the data type boolean 18.3.3.

20.53chart:symbol-height

The chart:symbol-height attribute specifies the height of a symbol to be used for a data point in a chart.

This attribute should be used together with chart:symbol-type attribute when the chart:symbol-type attribute has a value other than none.

The chart:symbol-height attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:symbol-height attribute has the data type nonNegativeLength 18.3.20.

20.54chart:symbol-name

The chart:symbol-name attribute specifies a symbol to be used for a data point in a chart.

The glyphs associated with the values of the chart:symbol-name attribute are implementation-defined.

This attribute should be used only together with chart:symbol-type attribute and only when the chart:symbol-type attribute has the value named-symbol.

The chart:symbol-name attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:symbol-name attribute are square, diamond, arrow-down, arrow-up, arrow-right, arrow-left, bow-tie, hourglass, circle, star, x, plus, asterisk, horizontal-bar or vertical-bar.

20.55chart:symbol-type

The chart:symbol-type attribute specifies if a symbol is used for a data point in a chart, and if so, which type of symbol is to be used.

The defined values for the chart:symbol-type attribute are:

This attribute is evaluated for chart styles that are applied to <chart:data-point>, <chart:series> or <chart:plot-area> elements.

The chart:symbol-type attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:symbol-type attribute are none, automatic, named-symbol or image.

20.56chart:symbol-width

The chart:symbol-width attribute specifies the width of a symbol to be used for a data point in a chart.

This attribute should be used together with chart:symbol-type attribute when the chart:symbol-type attribute has a value other than none.

The chart:symbol-width attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:symbol-width attribute has the data type nonNegativeLength 18.3.20.

20.57chart:text-overlap

The chart:text-overlap attribute specifies whether axis labels may overlap each other.

This attribute is evaluated for a chart style that is applied to a <chart:axis> element.

The defined values for the chart:text-overlap attribute are:

The chart:text-overlap attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:text-overlap attribute has the data type boolean 18.3.3.

20.58chart:three-dimensional

The chart:three-dimensional attribute specifies whether a chart is displayed as a 3D scene.

This attribute is evaluated for chart styles that are applied to a <chart:plot-area> element.

The defined values for the chart:three-dimensional attribute are:

The chart:three-dimensional attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:three-dimensional attribute has the data type boolean 18.3.3.

20.59chart:tick-marks-major-inner

The chart:tick-marks-major-inner attribute specifies the existence of major inner tick marks on an axis. They are drawn with respect to the major interval that may be specified by the chart:interval-major attribute, and are drawn towards the inside of the plot area. That is, they are drawn to the right for an axis displayed on the left hand side of the plot area, and to the left for an axis displayed on the right hand side of the plot area.

If a chart:tick-marks-major-inner attribute and a chart:tick-marks-major-outer attribute are both set to true, one tick mark is drawn that crosses the axis.

This attribute is evaluated for a chart style that is applied to a <chart:axis> element.

The defined values for the chart:tick-marks-major-inner attribute are:

The chart:tick-marks-major-inner attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:tick-marks-major-inner attribute has the data type boolean 18.3.3.

20.60chart:tick-marks-major-outer

The chart:tick-marks-major-outer attribute specifies the existence of major outer tick marks on an axis. They are drawn with respect to the major interval that may be specified by the chart:interval-major attribute, and are drawn towards the outside of the plot area. That is, they are drawn to the left for an axis displayed on the left hand side of the plot area, and to the right for an axis displayed on the right hand side of the plot area.

If a chart:tick-marks-major-inner attribute and a chart:tick-marks-major-outer attribute are both set to true, one tick mark is drawn that crosses the axis.

This attribute is evaluated for a chart style that is applied to a <chart:axis> element.

The defined values for the chart:tick-marks-major-outer attribute are:

The chart:tick-marks-major-outer attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:tick-marks-major-outer attribute has the data type boolean 18.3.3.

20.61chart:tick-marks-minor-inner

The chart:tick-marks-minor-inner attribute specifies the existence of minor inner tick marks on an axis. They are drawn with respect to the minor interval divisor that may be specified by the chart:interval-minor-divisor attribute, and are drawn towards the inside of the plot area. That is, they are drawn to the right for an axis displayed on the left hand side of the plot area, and to the left for an axis displayed on the right hand side of the plot area.

If a chart:tick-marks-minor-inner attribute and a chart:tick-marks-minor-outer attribute are both set to true, one tick mark is drawn that crosses the axis.

This attribute is evaluated for a chart style that is applied to a <chart:axis> element.

The defined values for the chart:tick-marks-minor-inner attribute are:

The chart:tick-marks-minor-inner attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:tick-marks-minor-inner attribute has the data type boolean 18.3.3.

20.62chart:tick-marks-minor-outer

The chart:tick-marks-minor-outer attribute specifies the existence of minor outer tick marks on an axis. They are drawn with respect to the minor interval divisor that may be specified by the chart:interval-minor-divisor attribute, and are drawn towards the outside of the plot area. That is, they are drawn to the left for an axis displayed on the left hand side of the plot area, and to the right for an axis displayed on the right hand side of the plot area.

If a chart:tick-marks-minor-inner attribute and a chart:tick-marks-minor-outer attribute are set to true, one tick mark is drawn that crosses the axis.

This attribute is evaluated for a chart style that is applied to a <chart:axis> element.

The defined values for the chart:tick-marks-minor-outer attribute are:

The chart:tick-marks-minor-outer attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:tick-marks-minor-outer attribute has the data type boolean 18.3.3.

20.63chart:tick-mark-position

The chart:tick-mark-position attribute specifies the position of the interval marks.

The defined values for the chart:tick-mark-position attribute are:

This attribute makes a difference only if the labels are not placed at the axis line, that is, if the chart:axis-label-position attribute has the value outside-end or outside-start. 20.5

If the chart:tick-mark-position attribute is missing but a chart:axis-position attribute is given, chart:tick-mark-position is assumed to be at-labels-and-axis.

This attribute is evaluated for a chart style that is applied to a <chart:axis> element.

The chart:tick-mark-position attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:tick-mark-position attribute are at-labels, at-axis or at-labels-and-axis.

20.64chart:treat-empty-cells

The chart:treat-empty-cells attribute specifies how missing and invalid values are plotted in a chart.

The defined values for the chart:treat-empty-cells attribute are:

The default behavior is ignore for scatter charts (chart:class is chart:scatter). For all other chart types the default behavior is leave-gap.

This attribute is evaluated for chart styles that are applied to a <chart:plot-area> element.

The chart:treat-empty-cells attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:treat-empty-cells attribute are use-zero, leave-gap or ignore.

20.65chart:vertical

The chart:vertical attribute specifies whether the x-axis in a Cartesian coordinate system is oriented horizontally or vertically.

Note: This attribute is used to distinguish bar (chart:vertical=”true) and column (chart:vertical=”false) charts.

This attribute is evaluated for chart styles that are applied to a <chart:plot-area> element.

The defined values for the chart:vertical attribute are:

The chart:vertical attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:vertical attribute has the data type boolean 18.3.3.

20.66chart:visible

The chart:visible attribute specifies if an object in a chart is visible or not. By default, objects are visible.

This attribute is evaluated for chart styles that are applied to a <chart:axis> element or a <chart:series> element.

The defined values for the chart:visible attribute are:

The chart:visible attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:visible attribute has the data type boolean 18.3.3.

20.67dr3d:ambient-color

See: 19.92

The dr3d:ambient-color attribute is usable with the following element: <style:graphic-properties> 17.21.

The dr3d:ambient-color attribute has the data type color 18.3.9.

20.68dr3d:back-scale

The dr3d:back-scale attribute specifies the proportion of the background geometry for 3D rotation and extrude objects.

The dr3d:back-scale attribute is usable with the following element: <style:graphic-properties> 17.21.

The dr3d:back-scale attribute has the data type percent 18.3.23.

20.69dr3d:backface-culling

The dr3d:backface-culling attribute specifies whether backface culling is enabled.

The defined values for the dr3d:backface-culling attribute are:

The dr3d:backface-culling attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the dr3d:backface-culling attribute are enabled or disabled.

20.70dr3d:close-back

The dr3d:close-back attribute specifies if a back face is generated. The attribute can be used with 3D extrude and 3D rotation objects. It is only evaluated for geometries that are closed.

The defined values for the dr3d:close-back attribute are:

The dr3d:close-back attribute is usable with the following element: <style:graphic-properties> 17.21.

The dr3d:close-back attribute has the data type boolean 18.3.3.

20.71dr3d:close-front

The dr3d:close-front attribute specifies if a front face is generated. The attribute can be used with 3D extrude and 3D rotation objects. It is only evaluated for geometries that are closed.

The defined values for the dr3d:close-front attribute are:

The dr3d:close-front attribute is usable with the following element: <style:graphic-properties> 17.21.

The dr3d:close-front attribute has the data type boolean 18.3.3.

20.72dr3d:depth

The dr3d:depth attribute specifies an extrusion depth for extruded objects.

The dr3d:depth attribute is usable with the following element: <style:graphic-properties> 17.21.

The dr3d:depth attribute has the data type length 18.3.18.

20.73dr3d:diffuse-color

The dr3d:diffuse-color attribute, along with dr3d:ambient-color, dr3d:emissive-color, and dr3d:specular-color specifies the four colors that define the color of a material.

The dr3d:diffuse-color attribute is usable with the following element: <style:graphic-properties> 17.21.

The dr3d:diffuse-color attribute has the data type color 18.3.9.

20.74dr3d:edge-rounding

The dr3d:edge-rounding attribute specifies the size of an area at the edges of a geometry that is used for rounding edges, if the geometry of a 3D object is generated during run-time.

The dr3d:edge-rounding attribute is usable with the following element: <style:graphic-properties> 17.21.

The dr3d:edge-rounding attribute has the data type percent 18.3.23.

20.75dr3d:edge-rounding-mode

The dr3d:edge-rounding-mode attribute specifies how to generate rounded edges.

Creating rounded edges in a 3D environment requires an inner and outer representation of the outline on which rounded edges will appear.

The defined values for the dr3d:edge-rounding-mode attribute are:

The dr3d:edge-rounding-mode attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the dr3d:edge-rounding-mode attribute are correct or attractive.

20.76dr3d:emissive-color

The dr3d:emissive-color attribute, along with dr3d:ambient-color, dr3d:diffuse-color, and dr3d:specular-color specifies the four colors that define the color of a material.

The dr3d:emissive-color attribute is usable with the following element: <style:graphic-properties> 17.21.

The dr3d:emissive-color attribute has the data type color 18.3.9.

20.77dr3d:end-angle

The dr3d:end-angle attribute specifies the rotation angle for 3D rotation objects. The attribute value is an angle.

A value of 360 degrees defines that the 3D rotation object is closed and completely rotated. This is also the default. Values smaller than 360 degrees define opened 3D rotation objects (segments). Values larger than 360 degrees define 3D rotation objects with more than one rotation.

Note:  The visible effect of values larger than 360 degrees only differs from that of 360 degrees when the dr3d:back-scale attribute has a value different than 100% .

The dr3d:end-angle attribute is usable with the following element: <style:graphic-properties> 17.21.

The dr3d:end-angle attribute has the data type angle 18.3.1.

20.78dr3d:horizontal-segments

The dr3d:horizontal-segments attribute specifies the number of horizontal segments that are used to generate a geometry, if the geometry of a 3D object is generated during run-time.

Note: Typical consumers support values between 2 and 256.

The dr3d:horizontal-segments attribute is usable with the following element: <style:graphic-properties> 17.21.

The dr3d:horizontal-segments attribute has the data type nonNegativeInteger 18.2.

20.79dr3d:lighting-mode

The dr3d:lighting-mode attribute specifies whether lighting is used for a three-dimensional object.

The defined values for the dr3d:lighting-mode attribute are:

Note: The dr3d:lighting-mode attribute is also defined for non-3D object uses. 19.99

The dr3d:lighting-mode attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the dr3d:lighting-mode attribute are standard or double-sided.

20.80dr3d:normals-direction

The dr3d:normals-direction attribute specifies which sides of a 3D object's planes are displayed if the dr3d:lighting-mode attribute has the value 'standard'.

The defined values for the dr3d:normals-direction attribute are:

The front side of the plane is the one the normal points away from.

The dr3d:normals-direction attribute has no effect if the dr3d:lighting-mode attribute has the value double-sided.

The dr3d:normals-direction attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the dr3d:normals-direction attribute are normal or inverse.

20.81dr3d:normals-kind

The dr3d:normals-kind attribute specifies the normal settings for generated lighting.

The defined values for the dr3d:normals-kind attribute are:

The dr3d:normals-kind attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the dr3d:normals-kind attribute are object, flat or sphere.

20.82dr3d:shadow

The dr3d:shadow attribute enables or disables a three-dimensional shadow for a three-dimensional object.

The defined values for the dr3d:shadow attribute are:

The dr3d:shadow attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the dr3d:shadow attribute are visible or hidden.

20.83dr3d:shininess

The dr3d:shininess attribute specifies the shine of a material.

The dr3d:shininess attribute is usable with the following element: <style:graphic-properties> 17.21.

The dr3d:shininess attribute has the data type percent 18.3.23.

20.84dr3d:specular-color

The dr3d:specular-color attribute, along with dr3d:ambient-color, dr3d:diffuse-color, and dr3d:emissive-color specifies the four colors that define the color of a material.

The dr3d:specular-color attribute is usable with the following element: <style:graphic-properties> 17.21.

The dr3d:specular-color attribute has the data type color 18.3.9.

20.85dr3d:texture-filter

The dr3d:texture-filter attribute specifies whether texture filtering is enabled.

The defined values for the dr3d:texture-filter attribute are:

The dr3d:texture-filter attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the dr3d:texture-filter attribute are enabled or disabled.

20.86dr3d:texture-kind

The dr3d:texture-kind attribute specifies if texture changes the luminance, intensity, or color of a shape.

The defined values for the dr3d:texture-kind attribute are:

The dr3d:texture-kind attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the dr3d:texture-kind attribute are luminance, intensity or color.

20.87dr3d:texture-mode

The dr3d:texture-mode attribute specifies how the texture is modulated.

The defined values for the dr3d:texture-mode attribute are:

The dr3d:texture-mode attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the dr3d:texture-mode attribute are replace, modulate or blend.

20.88dr3d:texture-generation-mode-x

The dr3d:texture-generation-mode-x attribute, along with the dr3d:texture-generation-mode-y attribute, specifies how textual coordinates are generated.

The defined values for the dr3d:texture-generation-mode-x attribute are:

The dr3d:texture-generation-mode-x attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the dr3d:texture-generation-mode-x attribute are object, parallel or sphere.

20.89dr3d:texture-generation-mode-y

The dr3d:texture-generation-mode-y attribute, along with the dr3d:texture-generation-mode-x attribute, specifies how textual coordinates are generated.

The defined values for the dr3d:texture-generation-mode-y attribute are:

The dr3d:texture-generation-mode-y attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the dr3d:texture-generation-mode-y attribute are object, parallel or sphere.

20.90dr3d:vertical-segments

The dr3d:vertical-segments attribute specifies the number of vertical segments that are used to generate the geometry, if the geometry of a 3D object is generated during run-time.

Note: Typical consumers support values between 2 and 256.

The dr3d:vertical-segments attribute is usable with the following element: <style:graphic-properties> 17.21.

The dr3d:vertical-segments attribute has the data type nonNegativeInteger 18.2.

20.91draw:auto-grow-height

The draw:auto-grow-height attributes specifies whether to automatically increase the height of the drawing object if text is added to the drawing object. This attribute is evaluated only for text boxes.

If both draw:auto-grow-width and draw:auto-grow-height are present, a consumer should first grow the size of the drawing object in the dimension of the major text flow (width for horizontal writing, and height for vertical writing). Only after that size component is filled, a consumer should adjust the other dimension to fit the text content.

The defined values for the draw:auto-grow-height attribute are:

The draw:auto-grow-height attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:auto-grow-height attribute has the data type boolean 18.3.3.

20.92draw:auto-grow-width

The draw:auto-grow-width attribute specifies whether to automatically increase the width of the drawing object if text is added to the drawing object. This attribute is evaluated only for text boxes.

The defined values for the draw:auto-grow-width attribute are:

The draw:auto-grow-width attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:auto-grow-width attribute has the data type boolean 18.3.3.

20.93draw:background-size

The draw:background-size attribute specifies whether the background of a page is rendered on a full page or only inside the borders of a page.

The defined values for the draw:background-size attribute are:

The draw:background-size attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The values of the draw:background-size attribute are full or border.

20.94draw:blue

The draw:blue attribute specifies together with the attributes draw:green and draw:red a non destructive filter for a linear transformation of the white balance of a pixel image.

If any of these three attributes is specified, an offset is applied to each pixel of an image while is it rendered. The offsets for each color channel is given as a percentage in the range of -100% to +100%.

These offsets is scaled to the range -2^bits to 2^bits, where bits is the number of bits reserved for each color channel within the image. If the resulting value is less than 0 it is set to 0 and if it is greater than the maximum possible value it is set to the maximum.

Note: For example, if the draw:blue attribute has the value 50% and the blue color channel has 8 bits, then 128 is added to the blue color value of each pixel inside the image before it is rendered. If draw:blue has the value -50% then 128 is subtracted.

The draw:blue attribute specifies the offset for the blue color channel.

The draw:blue attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:blue attribute has the data type signedZeroToHundredPercent 18.3.30.

20.95draw:caption-angle

The draw:caption-angle attribute specifies the leaving angle of the line of a caption. It is evaluated only if draw:caption-angle-type has the value fixed. The attribute value is an angle. See 18.3.1.

The draw:caption-angle attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:caption-angle attribute has the data type angle 18.3.1.

20.96draw:caption-angle-type

The draw:caption-angle-type attribute specifies if the leaving angle of the line of a caption is fixed or free..

The defined values for the draw:caption-angle-type attribute are:

The draw:caption-angle-type attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:caption-angle-type attribute are fixed or free.

20.97draw:caption-escape

The draw:caption-escape attribute specifies the point where a caption's connector is connected to the caption's text area, measured from the top left corner of the text area. The value can be an absolute length or a percentage.

The draw:caption-escape attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:caption-escape attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

20.98draw:caption-escape-direction

The draw:caption-escape-direction attribute specifies the leaving direction for the line of a caption. If this is set to auto the consumer can choose the best direction.

The defined values for the draw:caption-escape-direction attribute are:

The draw:caption-escape-direction attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:caption-escape-direction attribute are horizontal, vertical or auto.

20.99draw:caption-fit-line-length

The draw:caption-fit-line-length attribute enables the consumer to determine the best possible length for a caption line.

The defined values for the draw:caption-fit-line-length attribute are:

The draw:caption-fit-line-length attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:caption-fit-line-length attribute has the data type boolean 18.3.3.

20.100draw:caption-gap

The draw:caption-gap attribute specifies the distance between the text area of the caption and the start of the line.

The draw:caption-gap attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:caption-gap attribute has the data type distance 18.3.15.

20.101draw:caption-line-length

The draw:caption-line-length attribute specifies the length of the first line of a caption. The attribute is only evaluated if draw:caption-fit-line-length has the value false.

The draw:caption-line-length attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:caption-line-length attribute has the data type length 18.3.18.

20.102draw:caption-type

The draw:caption-type attribute specifies the geometry of the line of a caption.

The defined values for the draw:caption-type attribute are:

The draw:caption-type attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:caption-type attribute are straight-line, angled-line or angled-connector-line.

20.103draw:color-inversion

The draw:color-inversion attribute specifies whether the colors in the graphic shape should be inverted.

Note: Given a color "#rrggbb", where rr, gg and bb are 8-bit hexadecimal digits, the inverted color is "#RRGGBB" where RR is the 8 bit hexadecimal number obtained as the difference of hexadecimal FF and rr, GG is the 8-bit hexadecimal number obtained as the difference of hexadecimal FF (=256) and gg, and BB is the 8 bit hexadecimal number obtained as the difference of hexadecimal FF (=256) and bb.

The defined values for the draw:color-inversion attribute are:

The draw:color-inversion attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:color-inversion attribute has the data type boolean 18.3.3.

20.104draw:color-mode

The draw:color-mode attribute sets the output of colors from a source bitmap or raster graphic.

The defined values for the draw:color-mode attribute are:

The draw:color-mode attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:color-mode attribute are greyscale, mono, watermark or standard.

20.105draw:contrast

The draw:contrast attribute specifies a signed percentage value that sets the output contrast of a bitmap or raster graphic.

The draw:contrast attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:contrast attribute has the data type percent 18.3.23.

20.106draw:decimal-places

The draw:decimal-places attribute specifies the number of decimal places that are used for the measure text.

The draw:decimal-places attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:decimal-places attribute has the data type nonNegativeInteger 18.2.

20.107draw:draw-aspect

The draw:draw-aspect attribute specifies the display embedded objects.

The defined values for the draw:draw-aspect attribute are:

The draw:draw-aspect attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:draw-aspect attribute are content, thumbnail, icon or print-view.

20.108draw:end-guide

The draw:end-guide attribute specifies a length that is added to the length of the end extension line. The extension line is extended by this length towards the end reference point.

The draw:end-guide attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:end-guide attribute has the data type length 18.3.18.

20.109draw:end-line-spacing-horizontal

The draw:end-line-spacing-horizontal attribute increments the length of the leaving line from the end shape. For line connectors, it specifies the absolute length of the leaving line from the end shape. For other connector types, it is ignored.

The draw:end-line-spacing-horizontal attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:end-line-spacing-horizontal attribute has the data type distance 18.3.15.

20.110draw:end-line-spacing-vertical

The draw:end-line-spacing-vertical attribute increments the length of the leaving line from the end shape. For line connectors, it specifies the absolute length of the leaving line from the end shape. For other connector types, it is ignored.

The draw:end-line-spacing-vertical attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:end-line-spacing-vertical attribute has the data type distance 18.3.15.

20.111draw:fill

The draw:fill attribute specifies the fill style for a graphic object. Graphic objects that are not closed will not be filled.

Note: A path without a closepath at the end is open and will not be filled.

The defined values for the draw:fill attribute are:

The draw:fill attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The values of the draw:fill attribute are none, solid, bitmap, gradient or hatch.

20.112draw:fill-color

The draw:fill-color attribute specifies the color of the fill for a graphic object. It is used only if the draw:fill attribute has one of the values solid or hatch.

The draw:fill-color attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The draw:fill-color attribute has the data type color 18.3.9.

20.113draw:fill-gradient-name

The draw:fill-gradient-name attribute specifies a gradient style that is used for filling graphic objects. It is used only if the draw:fill attribute has the value gradient.

The draw:fill-gradient-name attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The draw:fill-gradient-name attribute has the data type styleNameRef 18.3.32.

20.114draw:fill-hatch-name

The draw:fill-hatch-name attribute specifies a hatch style that is used for filling. It is used only if the draw:fill attribute has the value hatch.

The draw:fill-hatch-name attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The draw:fill-hatch-name attribute has the data type styleNameRef 18.3.32.

20.115draw:fill-hatch-solid

The draw:fill-hatch-solid attribute specifies whether the background of a hatch filling is solid or transparent.

The defined values for the draw:fill-hatch-solid attribute are:

The draw:fill-hatch-solid attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The draw:fill-hatch-solid attribute has the data type boolean 18.3.3.

20.116draw:fill-image-height

The draw:fill-image-height attribute overrides the logical height of a source image that is used for filling. If the value of the style:repeat attribute is stretch, this attribute is ignored.

The draw:fill-image-height attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The values of the draw:fill-image-height attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

20.117draw:fill-image-name

The draw:fill-image-name attribute specifies a fill image that is used for filling. It is used only if the draw:fill attribute has the value bitmap.

The draw:fill-image-name attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The draw:fill-image-name attribute has the data type styleNameRef 18.3.32.

20.118draw:fill-image-ref-point

The draw:fill-image-ref-point attribute specifies an alignment of an image in the filling area.

If an alignment (draw:fill-image-ref-point) and a movement (draw:fill-image-ref-point-x, draw:fill-image-ref-point-y) is specified at the same time, the image first is aligned and then moved.

This attribute is only interpreted if the value of the current style:repeat attribute is repeat.

The defined values for the draw:fill-image-ref-point attribute are:

The draw:fill-image-ref-point attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The values of the draw:fill-image-ref-point attribute are top-left, top, top-right, left, center, right, bottom-left, bottom or bottom-right.

20.119draw:fill-image-ref-point-x

The draw:fill-image-ref-point-x attribute specifies the horizontal movement of an image as a percentage value, where the percentage value is relative to the image width.

If an alignment (draw:fill-image-ref-point) and a movement (draw:fill-image-ref-point-x, draw:fill-image-ref-point-y) is specified at the same time, the image first is aligned and then moved.

This attribute is only interpreted if the value of the current style:repeat attribute is repeat.

The draw:fill-image-ref-point-x attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The draw:fill-image-ref-point-x attribute has the data type percent 18.3.23.

20.120draw:fill-image-ref-point-y

The draw:fill-image-ref-point-x attribute specifies the horizontal movement of an image as a percentage value, where the percentage value is relative to the image width.

If an alignment (draw:fill-image-ref-point) and a movement (draw:fill-image-ref-point-x, draw:fill-image-ref-point-y) is specified at the same time, the image first is aligned and then moved.

This attribute is only interpreted if the value of the current style:repeat attribute is repeat.

The draw:fill-image-ref-point-y attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The draw:fill-image-ref-point-y attribute has the data type percent 18.3.23.

20.121draw:fill-image-width

The draw:fill-image-width attribute overrides the logical width of a source image that is used for filling. If the value of the style:repeat attribute is stretch, this attribute is ignored.

The draw:fill-image-width attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The values of the draw:fill-image-width attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

20.122draw:fit-to-contour

The draw:fit-to-contour attribute specifies whether to stretch the text content of a drawing object to fill the contour of an object.

The defined values for the draw:fit-to-contour attribute are:

The draw:fit-to-contour attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:fit-to-contour attribute has the data type boolean 18.3.3.

20.123draw:fit-to-size

The draw:fit-to-size attribute specifies whether to stretch the text content of a drawing object to fill an entire object.

The defined values for the draw:fit-to-size attribute are:

The draw:fit-to-size attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:fit-to-size attribute has the data type boolean 18.3.3.

20.124draw:frame-display-border

The draw:frame-display-border attribute specifies whether a border is displayed on a floating frame. This attribute can be used with automatic styles only.

The defined values for the draw:frame-display-border attribute are:

The draw:frame-display-border attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:frame-display-border attribute has the data type boolean 18.3.3.

20.125draw:frame-margin-horizontal

The draw:frame-margin-horizontal attribute specifies the horizontal margin between the border and the content of the floating frame. If this attribute is not specified, the default margin is used. This attribute can be used with automatic styles only. The value of this attribute shall be a length in pixels.

The draw:frame-margin-horizontal attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:frame-margin-horizontal attribute has the data type nonNegativePixelLength 18.3.21.

20.126draw:frame-display-scrollbar

The draw:frame-display-scrollbar attribute specifies whether vertical and horizontal scrollbars are displayed. This attribute can be assigned to automatic styles only.

The defined values for the draw:frame-display-scrollbar attribute are:

The draw:frame-display-scrollbar attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:frame-display-scrollbar attribute has the data type boolean 18.3.3.

20.127draw:frame-margin-vertical

The draw:frame-margin-vertical attribute specifies the vertical margin between the border and the content of the floating frame. If this attribute is not specified, the default margin is used. This attribute can be used with automatic styles only. The value of this attribute shall be a length in pixels.

The draw:frame-margin-vertical attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:frame-margin-vertical attribute has the data type nonNegativePixelLength 18.3.21.

20.128draw:gamma

The draw:gamma attribute specifies a value that sets the output gamma of a bitmap or raster graphic.

The draw:gamma attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:gamma attribute has the data type percent 18.3.23.

20.129draw:green

The draw:green attribute specifies together with the attributes draw:blue and draw:red a non destructive filter for a linear transformation of the white balance of a pixel image. See 20.94.

The draw:green attribute specifies the offset for the green color channel.

The draw:green attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:green attribute has the data type signedZeroToHundredPercent 18.3.30.

20.130draw:gradient-step-count

The draw:gradient-step-count attribute specifies the gradient step count of a color interpolation to be a fixed value. By default, the step count is automatically calculated based on the size and resolution of the filled area.

A gradient step count of color interpretation shall be 3 or greater.

A gradient step count of color interpretation may be above 256.

The draw:gradient-step-count attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The draw:gradient-step-count attribute has the data type nonNegativeInteger 18.2.

20.131draw:guide-distance

The draw:guide-distance attribute specifies the distance between the reference points and the start point of extension lines.

Note: This distance may be further modified for the start and end extensions lines individually with the draw:start-guide and draw:end-guide attributes.

The draw:guide-distance attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:guide-distance attribute has the data type distance 18.3.15.

20.132draw:guide-overhang

The draw:guide-overhang attribute specifies the length of extension lines after their intersection with a dimension line.

The draw:guide-overhang attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:guide-overhang attribute has the data type length 18.3.18.

20.133draw:image-opacity

The draw:image-opacity attribute specifies the opacity of an image.

The draw:image-opacity attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:image-opacity attribute has the data type zeroToHundredPercent 18.3.41.

20.134draw:line-distance

The draw:line-distance attribute specifies the distance between a reference line (as defined by the reference points) and a dimension line.

The draw:line-distance attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:line-distance attribute has the data type distance 18.3.15.

20.135draw:luminance

The draw:luminance attribute specifies a signed percentage value that sets the output luminance of a bitmap or raster graphic.

The draw:luminance attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:luminance attribute has the data type zeroToHundredPercent 18.3.41.

20.136draw:marker-end

The draw:marker-end attribute specifies a stroke end marker, which is a path that can be connected to the end of a stroke.

The draw:marker-end attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:marker-end attribute has the data type styleNameRef 18.3.32.

20.137draw:marker-end-center

The draw:marker-end-center attribute specifies whether an end marker is centered at the end of a stroke.

The defined values for the draw:marker-end-center attribute are:

The draw:marker-end-center attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:marker-end-center attribute has the data type boolean 18.3.3.

20.138draw:marker-end-width

The draw:marker-end-width attribute specifies the width of the marker at the end of a stroke.

The draw:marker-end-width attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:marker-end-width attribute has the data type length 18.3.18.

20.139draw:marker-start

The draw:marker-start attribute specifies a stroke start marker, which is a path that can be connected to the start of a stroke.

The draw:marker-start attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:marker-start attribute has the data type styleNameRef 18.3.32.

20.140draw:marker-start-center

The draw:marker-start-center attribute specifies whether a start marker is centered at the start of a stroke.

The defined values for the draw:marker-start-center attribute are:

The draw:marker-start-center attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:marker-start-center attribute has the data type boolean 18.3.3.

20.141draw:marker-start-width

The draw:marker-start-width attribute specifies the width of the marker at the start of a stroke.

The draw:marker-start-width attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:marker-start-width attribute has the data type length 18.3.18.

20.142draw:measure-align

The draw:measure-align attribute specifies the horizontal alignment of a measure text relative to its measure line.

The defined values for the draw:measure-align attribute are:

The draw:measure-align attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:measure-align attribute are automatic, left-outside, inside or right-outside.

20.143draw:measure-vertical-align

The draw:measure-vertical-align attribute specifies the vertical alignment of a measure text relative to its measure line. If the value of this attribute is automatic, the consumer chooses the best position.

The defined values for the draw:measure-vertical-align attribute are:

The draw:measure-vertical-align attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:measure-vertical-align attribute are automatic, above, below or center.

20.144draw:ole-draw-aspect (deprecated)

The draw:ole-draw-aspect attribute specifies the display of embedded objects. See [OLE].

The use of this attribute is deprecated. The draw:draw-aspect attribute should be used instead.

The draw:ole-draw-aspect attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:ole-draw-aspect attribute has the data type nonNegativeInteger 18.2.

20.145draw:opacity

The draw:opacity attribute specifies the opacity for an image or graphic object. The value is a percentage, where 0% is fully transparent and 100% is fully opaque.

The defined value range for the draw:opacity attribute is 0% to 100%, inclusive.

Use of the draw:opacity attribute disables any transparency effect and set the opacity for the fill area of a graphic object.

The draw:opacity attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The draw:opacity attribute has the data type zeroToHundredPercent 18.3.41.

20.146draw:opacity-name

The draw:opacity-name attribute specifies an opacity gradient that defines the opacity for the fill area of a graphic object. When applying an opacity gradient, the opacity is interpolated as defined in the referenced opacity gradient style. Opacity is applied after other fill styles have been applied to an image or graphic object.

The value of this attribute overrides the draw:opacity attribute.

The draw:opacity-name attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The draw:opacity-name attribute has the data type styleNameRef 18.3.32.

20.147draw:parallel

The draw:parallel attribute specifies whether a measure text is displayed parallel to its measure line or perpendicular to it.

The defined values for the draw:parallel attribute are:

The draw:parallel attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:parallel attribute has the data type boolean 18.3.3.

20.148draw:placing

The draw:placing attribute specifies whether the measure line is rendered below or above the edge defined by the two reference points.

The defined values for the draw:placing attribute are:

The draw:placing attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:placing attribute are below or above.

20.149draw:red

The draw:red attribute specifies together with the attributes draw:blue and draw:green a non destructive filter for a linear transformation of the white balance of a pixel image. See 20.94.

The draw:red attribute specifies the offset for the red color channel.

The draw:red attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:red attribute has the data type signedZeroToHundredPercent 18.3.30.

20.150draw:secondary-fill-color

The draw:secondary-fill-color attribute specifies a secondary fill color. It may be used as fill color for the extrusion.

The draw:secondary-fill-color attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The draw:secondary-fill-color attribute has the data type color 18.3.9.

20.151draw:shadow

The draw:shadow attribute enables or disables the visibility of a shadow.

The defined values for the draw:shadow attribute are:

The draw:shadow attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:shadow attribute are visible or hidden.

20.152draw:shadow-color

The draw:shadow-color attribute specifies the color in which a shadow is rendered.

The draw:shadow-color attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:shadow-color attribute has the data type color 18.3.9.

20.153draw:shadow-offset-x

The draw:shadow-offset-x attribute along with the draw:shadow-offset-y attribute are used to render a shadow.

A copy of the shape is rendered in the single shadow color (specified by draw:shadow-color) behind the shape. The offset attributes specify the offset between the top left edge of the shape and the top left edge of the border.

The draw:shadow-offset-x attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:shadow-offset-x attribute has the data type length 18.3.18.

20.154draw:shadow-offset-y

The draw:shadow-offset-y attribute along with the draw:shadow-offset-x attribute are used to render a shadow.

The draw:shadow-offset-y attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:shadow-offset-y attribute has the data type length 18.3.18.

20.155draw:shadow-opacity

The draw:shadow-opacity attribute specifies the opacity in which the shadow is rendered. The value of this attribute is a percentage value.

The draw:shadow-opacity attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:shadow-opacity attribute has the data type zeroToHundredPercent 18.3.41.

20.156draw:show-unit

The draw:show-unit attribute specifies the visibility of a unit in the textual presentation of a measure shape.

The defined values for the draw:show-unit attribute are:

The draw:show-unit attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:show-unit attribute has the data type boolean 18.3.3.

20.157draw:start-guide

The draw:start-guide attribute specifies a length that is added to the length of a start extension line. The extension line is extended by this length towards the start reference point.

The draw:start-guide attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:start-guide attribute has the data type length 18.3.18.

20.158draw:start-line-spacing-horizontal

The draw:start-line-spacing-horizontal attribute increments the length of the leaving line from the start shape for standard connectors. For lines connectors, these attributes specify the absolute length of the leaving line from the start shape. For other connector types, they are ignored.

The draw:start-line-spacing-horizontal attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:start-line-spacing-horizontal attribute has the data type distance 18.3.15.

20.159draw:start-line-spacing-vertical

The draw:start-line-spacing-vertical attribute increments the length of the leaving line from the start shape for standard connectors. For lines connectors, these attributes specify the absolute length of the leaving line from the start shape. For other connector types, they are ignored.

The draw:start-line-spacing-vertical attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:start-line-spacing-vertical attribute has the data type distance 18.3.15.

20.160draw:stroke

The draw:stroke attribute specifies the style of the stroke on the current object.

The defined values for the draw:stroke attribute are:

The draw:stroke attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:stroke attribute are none, dash or solid.

20.161draw:stroke-dash

The draw:stroke-dash attribute specifies the dash style that is used for a stroke.

The draw:stroke-dash attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:stroke-dash attribute has the data type styleNameRef 18.3.32.

20.162draw:stroke-dash-names

The draw:stroke-dash-names attribute specifies a list of dash styles that are used for the stroke in addition to the dash specified by the draw:stroke-dash attribute.

For each dash style referenced by the attribute a stroke using that dash style is drawn on top of the already drawn strokes.

The draw:stroke-dash-names attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:stroke-dash-names attribute has the data type styleNameRefs 18.3.33.

20.163draw:stroke-linejoin

The draw:stroke-linejoin attribute specifies the shape at the corners of paths or other vector shapes when they are stroked.

The defined values for the draw:stroke-linejoin attribute are:

The draw:stroke-linejoin attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:stroke-linejoin attribute are miter, round, bevel, middle or none.

20.164svg:stroke-linecap

The svg:stroke-linecap attribute specifies the shape of the end of open subpaths when they are stroked.

The defined values for the svg:stroke-linecap attribute are:

The svg:stroke-linecap attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the svg:stroke-linecap attribute are butt, square or round.

20.165draw:symbol-color

The draw:symbol-color attribute defines the color to be used to draw symbols contained on the drawing object.

The draw:symbol-color attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:symbol-color attribute has the data type color 18.3.9.

20.166draw:textarea-horizontal-align

The draw:textarea-horizontal-align attribute specifies the horizontal alignment of the text area inside a shape.

The defined values for the draw:textarea-horizontal-align attribute are:

The draw:textarea-horizontal-align attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:textarea-horizontal-align attribute are left, center, right or justify.

20.167draw:textarea-vertical-align

The draw:textarea-vertical-align attribute specifies the vertical alignment of the text area inside a shape.

The defined values for the draw:textarea-vertical-align attribute are:

The draw:textarea-vertical-align attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:textarea-vertical-align attribute are top, middle, bottom or justify.

20.168draw:tile-repeat-offset

The draw:tile-repeat-offset attribute specifies for tiling the translation of each tile in relation to the previous tile. This attribute is only interpreted if the value of the current style:repeat attribute is repeat. The value of this attribute is a percentage value representing the tiles repeat offset relative to the tiles height or width, followed by either the word horizontal or vertical.

The defined values for the draw:tile-repeat-offset attribute are:

The draw:tile-repeat-offset attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The draw:tile-repeat-offset attribute has two white space separated values. The first value is of type zeroToHundredPercent 18.3.41. The second value is one of: horizontal or vertical.

20.169draw:visible-area-height

The visible area of an object may be specified by the draw:visible-area-height attribute along with the draw:visible-area-left, draw:visible-area-top, draw:visible-area-width attributes. It is implementation-defined whether these attributes are used to specify the visible area, or whether the producer of the object stores the visible area within the object itself.

When the entire object is visible, the values of the draw:visible-area-left and draw:visible-area-top attributes are 0 and the draw:visible-area-width and draw:visible-area-height attributes specify the size of the object. These attributes can be assigned to automatic styles only.

The draw:visible-area-height attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:visible-area-height attribute has the data type positiveLength 18.3.26.

20.170draw:visible-area-left

The visible area of an object may be specified by the draw:visible-area-left attribute along with the draw:visible-area-height, draw:visible-area-top, draw:visible-area-width attributes. It is implementation-defined whether these attributes are used to specify the visible area, or whether the producer of the object stores the visible area within the object itself.

When the entire object is visible, the values of the draw:visible-area-left and draw:visible-area-top attributes are 0 and the draw:visible-area-width and draw:visible-area-height attributes specify the size of the object. These attributes can be assigned to automatic styles only.

The draw:visible-area-left attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:visible-area-left attribute has the data type nonNegativeLength 18.3.20.

20.171draw:visible-area-top

The visible area of an object may be specified by the draw:visible-area-top attribute along with the draw:visible-area-left, draw:visible-area-height, draw:visible-area-width attributes. It is implementation-defined whether these attributes are used to specify the visible area, or whether the producer of the object stores the visible area within the object itself.

When the entire object is visible, the values of the draw:visible-area-left and draw:visible-area-top attributes are 0 and the draw:visible-area-width and draw:visible-area-height attributes specify the size of the object. These attributes can be assigned to automatic styles only.

The draw:visible-area-top attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:visible-area-top attribute has the data type nonNegativeLength 18.3.20.

20.172draw:visible-area-width

The visible area of an object may be specified by the draw:visible-area-width attribute along with the draw:visible-area-left, draw:visible-area-top, draw:visible-area-height attributes. It is implementation-defined whether these attributes are used to specify the visible area, or whether the producer of the object stores the visible area within the object itself.

When the entire object is visible, the values of the draw:visible-area-left and draw:visible-area-top attributes are 0 and the draw:visible-area-width and draw:visible-area-height attributes specify the size of the object. These attributes can be assigned to automatic styles only.

The draw:visible-area-width attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:visible-area-width attribute has the data type positiveLength 18.3.26.

20.173draw:unit

The draw:unit attribute specifies the unit of measurement used in the textual presentation of a measure shape.

The defined values for the draw:unit attribute are:

The draw:unit attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:unit attribute are automatic, mm, cm, m, km, pt, pc, inch, ft or mi.

20.174draw:wrap-influence-on-position

The draw:wrap-influence-on-position attribute specifies placement options for two or more frames or graphic objects with style:wrap properties that influence the placement of the other object. (20.390) It is intended as a hint to the layout algorithm to help determine the placement of frames in cases where several correct placements are possible.

The situation in which this attribute makes a difference is when the anchor, position and wrapping mode of a frame influence each other. For example, consider a paragraph of text with two images positioned above the anchor. Without wrapping, the images overlie the text and can simply be placed at the given offset from the anchor.

If wrap-around is enabled, the text hidden behind the images now should flow around the images, making the first paragraph use more space than previously. This moves the anchor position further down. If the placement is only done once and concurrently for all objects, this is the final result. This corresponds to the object once-concurrently.

If one image is processed at a time, the position shown Figure 5 results. This corresponds to the option once-successive.

If the images are placed iteratively, until a position is found which corresponds to the given offset from the anchor, a placement that fully satisfies all the given layout formatting properties can be achieved. This corresponds to the option iterative.

The defined values for the draw:wrap-influence-on-position attribute are:

The draw:wrap-influence-on-position attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:wrap-influence-on-position attribute are iterative, once-concurrent or once-successive.

20.175fo:background-color

The fo:background-color attribute specifies a background color for characters, paragraphs, text sections, frames, page bodies, headers, footers, tables, table rows and tables. This can be transparent or a color. If the value is set to transparent, it switches off any background image that is specified by a <style:background-image>. 17.3

If a value for a draw:fill attribute is provided in a style, any background image that is specified by a <style:background-image> element and any background color that is specified with the fo:background-color attribute are switched off.

The fo:background-color attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6, <style:section-properties> 17.11, <style:table-cell-properties> 17.18, <style:table-properties> 17.15, <style:table-row-properties> 17.17 and <style:text-properties> 16.27.28.

The values of the fo:background-color attribute are transparent or a value of type color 18.3.9.

20.176fo Border Properties

20.176.1General

The fo:border, fo:border-top, fo:border-bottom, fo:border-left and fo:border-right attributes specify border properties for these elements:

20.176.2fo:border

See §7.29.3 of [XSL].

The fo:border attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The fo:border attribute has the data type string 18.2.

20.176.3fo:border-bottom

See §7.29.4 of [XSL].

The fo:border-bottom attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The fo:border-bottom attribute has the data type string 18.2.

20.176.4fo:border-left

See §7.29.6 of [XSL].

The fo:border-left attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The fo:border-left attribute has the data type string 18.2.

20.176.5fo:border-right

See §7.29.7 of [XSL].

The fo:border-right attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The fo:border-right attribute has the data type string 18.2.

20.176.6fo:border-top

See §7.29.10 of [XSL].

The fo:border-top attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The fo:border-top attribute has the data type string 18.2.

20.177fo:break-after

See §7.19.1 of [XSL]. The values odd-page and even-page are not supported.

This attribute shall not be used at the same time as fo:break-before.

In the OpenDocument XSL compatible namespace, the fo:break-after attribute does not support even-page, inherit and odd-page values.

The fo:break-after attribute is usable with the following elements: <style:paragraph-properties> 17.6, <style:table-column-properties> 17.16, <style:table-properties> 17.15 and <style:table-row-properties> 17.17.

The values of the fo:break-after attribute are auto, column or page.

20.178fo:break-before

See §7.19.2 of [XSL]. The values odd-page and even-page are not supported.

This attribute shall not be used at the same time as fo:break-after.

In the OpenDocument XSL compatible namespace, the fo:break-before attribute does not support even-page, inherit and odd-page values.

The fo:break-before attribute is usable with the following elements: <style:paragraph-properties> 17.6, <style:table-column-properties> 17.16, <style:table-properties> 17.15 and <style:table-row-properties> 17.17.

The values of the fo:break-before attribute are auto, column or page.

20.179fo:clip

See §7.20.1 of [XSL].

In the OpenDocument XSL compatible namespace, the fo:clip attribute does not support em and px values.

The defined value for the fo:clip attribute is a value of type clipShape 18.3.8.

The fo:clip attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the fo:clip attribute are auto or a value of type clipShape 18.3.8.

20.180fo:color

See §7.17.1 of [XSL].

In the OpenDocument XSL compatible namespace, the fo:color attribute does not support the inherit value.

The fo:color attribute is usable with the following element: <style:text-properties> 16.27.28.

The fo:color attribute has the data type color 18.3.9.

20.181fo:country

See §7.9.1 of [XSL].

The attribute is evaluated for any [UNICODE] characters whose script type is latin. 20.348

It may be ignored if is not specified together with a fo:language attribute.

In the OpenDocument XSL compatible namespace, the fo:country attribute does not support none or inherit values.

The fo:country attribute is usable with the following element: <style:text-properties> 16.27.28.

The fo:country attribute has the data type countryCode 18.3.11.

20.182fo:font-family

See §7.8.2 of [XSL].

The fo:font-family attribute is evaluated for any [UNICODE] character whose script type is latin. 20.348

Instead of this attribute, the style:font-name attribute should be used to specify the properties of a font.

The fo:font-family attribute is usable with the following element: <style:text-properties> 16.27.28.

The fo:font-family attribute has the data type string 18.2.

20.183fo:font-size

See §7.8.4 of [XSL].

This attribute is evaluated for any [UNICODE] character whose script type is latin. 20.348

The value of this attribute is either an absolute length or a percentage as described in §7.8.4 of [XSL]. In contrast to XSL, percentage values can be used within common styles only and are based on the font height of the parent style rather than to the font height of the attributes neighborhood. Absolute font heights and relative font heights are not supported.

Note: The style:font-size-asian attribute (20.276) is evaluated for [UNICODE] characters whose type is asian. 20.348 The style:font-size-complex attribute (20.277) is evaluated for [UNICODE] characters whose type is complex. 20.348

In the OpenDocument XSL compatible namespace, the fo:font-size attribute does not support absolute-size, inherit and relative-size values.

The fo:font-size attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the fo:font-size attribute are a value of type positiveLength 18.3.26 or a value of type percent 18.3.23.

20.184fo:font-style

See §7.8.7 of [XSL].

This attribute is evaluated for any [UNICODE] character whose script type is latin. 20.348

In the OpenDocument XSL compatible namespace, the fo:font-style attribute does not support backslant and inherit values.

The fo:font-style attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the fo:font-style attribute are normal, italic or oblique.

20.185fo:font-variant

See §7.8.8 of [XSL].

In the OpenDocument XSL compatible namespace, the fo:font-variant attribute does not support the inherit value.

The fo:font-variant attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the fo:font-variant attribute are normal or small-caps.

20.186fo:font-weight

See §7.8.9 of [XSL].

This attribute is evaluated for any [UNICODE] character whose script type is latin. 20.348

In the OpenDocument XSL compatible namespace, the fo:font-weight attribute does not support bolder, inherit and lighter values.

The fo:font-weight attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the fo:font-weight attribute are normal, bold, 100, 200, 300, 400, 500, 600, 700, 800 or 900.

20.187fo:height

See §7.14.4 of [XSL].

The fo:height attribute is used with fo:width to set the size of a bullet image.

In the OpenDocument XSL compatible namespace, the fo:height attribute does not support auto, inherit and percentage values.

The fo:height attribute is usable with the following element: <style:list-level-properties> 17.19.

The fo:height attribute has the data type positiveLength 18.3.26.

20.188fo:hyphenate

See §7.9.4 of [XSL].

In the OpenDocument XSL compatible namespace, the fo:hyphenate attribute does not support the inherit value.

The fo:hyphenate attribute is usable with the following element: <style:text-properties> 16.27.28.

The fo:hyphenate attribute has the data type boolean 18.3.3.

20.189fo:hyphenation-keep

See §7.15.1 of [XSL].

The fo:hyphenation-keep attribute is usable with the following element: <style:paragraph-properties> 17.6.

The values of the fo:hyphenation-keep attribute are auto or page.

20.190fo:hyphenation-ladder-count

See §7.15.2 of [XSL].

The defined values for the fo:hyphenation-ladder-count attribute are:

  • no-limit: 

  • a value of type positiveInteger 

The fo:hyphenation-ladder-count attribute is usable with the following element: <style:paragraph-properties> 17.6.

The values of the fo:hyphenation-ladder-count attribute are no-limit or a value of type positiveInteger 18.2.

20.191fo:hyphenation-push-char-count

See §7.9.6 of [XSL].

The fo:hyphenation-push-char-count attribute is usable with the following element: <style:text-properties> 16.27.28.

The fo:hyphenation-push-char-count attribute has the data type positiveInteger 18.2.

20.192fo:hyphenation-remain-char-count

See §7.9.7 of [XSL].

The fo:hyphenation-remain-char-count attribute is usable with the following element: <style:text-properties> 16.27.28.

The fo:hyphenation-remain-char-count attribute has the data type positiveInteger 18.2.

20.193fo:keep-together

See §7.19.3 of [XSL].

In the OpenDocument XSL compatible namespace, the fo:keep-together attribute does not support the integer value.

The fo:keep-together attribute is usable with the following elements: <style:paragraph-properties> 17.6 and <style:table-row-properties> 17.17.

The values of the fo:keep-together attribute are auto or always.

20.194fo:keep-with-next

See §7.9.4 of [XSL].

In the OpenDocument XSL compatible namespace, the fo:keep-with-next attribute does not support the integer value.

The fo:keep-with-next attribute is usable with the following elements: <style:paragraph-properties> 17.6 and <style:table-properties> 17.15.

The values of the fo:keep-with-next attribute are auto or always.

20.195fo:language

See §7.9.2 of [XSL]. Compared to the XSL language attribute, the value range of this attribute is extended to additional parts of ISO 639. See 18.3.17.

This attribute is evaluated for any [UNICODE] character whose script type is latin. 20.348

This attribute may be ignored if it is not specified together with a fo:country attribute.

In the OpenDocument XSL compatible namespace, the fo:language attribute does not support the inherit and none values.

The fo:language attribute is usable with the following element: <style:text-properties> 16.27.28.

The fo:language attribute has the data type languageCode 18.3.17.

20.196fo:letter-spacing

See §7.16.2 of [XSL].

In the OpenDocument XSL compatible namespace, the fo:letter-spacing attribute does not support the inherit and space values.

The defined value for the fo:letter-spacing attribute is a value of type length 18.3.18.

The fo:letter-spacing attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the fo:letter-spacing attribute are a value of type length 18.3.18 or normal.

20.197fo:line-height

 See §7.15.4 of [XSL].

The value normal activates the default line height calculation. The value of this attribute can be a length, a percentage, normal.

In the OpenDocument XSL compatible namespace, the fo:line-height attribute does not support the inherit, number, and space values.

The defined values for the fo:line-height attribute are:

  • a value of type nonNegativeLength 18.3.20 

  • normal: disables the effects of style:line-height-at-least and style:line-spacing.  

  • a value of type percent 18.3.23 

The fo:line-height attribute is usable with the following element: <style:paragraph-properties> 17.6.

The values of the fo:line-height attribute are normal, a value of type nonNegativeLength 18.3.20 or a value of type percent 18.3.23.

20.198fo:margin

See §7.29.14 of [XSL].

In the OpenDocument XSL compatible namespace, the fo:margin attribute does not support auto and inherit values.

The fo:margin attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-properties> 17.15.

The values of the fo:margin attribute are a value of type nonNegativeLength 18.3.20 or a value of type percent 18.3.23.

20.199fo:margin-bottom

See §7.10.2 of [XSL].

If this attribute is contained in a <style:paragraph-properties> element, its value may be a percentage that refers to the corresponding margin of a parent style.

In the OpenDocument XSL compatible namespace, the fo:margin-bottom attribute does not support the auto and inherit values.

The fo:margin-bottom attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-properties> 17.15.

The values of the fo:margin-bottom attribute are a value of type nonNegativeLength 18.3.20 or a value of type percent 18.3.23.

20.200fo:margin-left

See §7.10.3 of [XSL].

If this attribute is contained in a <style:paragraph-properties> element, its value may be a percentage that refers to the corresponding margin of a parent style.

Tables that align to the left or to the center ignore right margins, and tables that align to the right or to the center ignore left margins.

The fo:margin-left attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6, <style:section-properties> 17.11 and <style:table-properties> 17.15.

The values of the fo:margin-left attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

20.201fo:margin-right

See §7.10.4 of [XSL].

If this attribute is contained in a <style:paragraph-properties> element, its value may be a percentage that refers to the corresponding margin of a parent style.

Tables that align to the left or to the center ignore right margins, and tables that align to the right or to the center ignore left margins.

The fo:margin-right attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6, <style:section-properties> 17.11 and <style:table-properties> 17.15.

The values of the fo:margin-right attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

20.202fo:margin-top

See §7.10.1 of [XSL].

If this attribute is contained in a <style:paragraph-properties> element, its value may be a percentage that refers to the corresponding margin of a parent style.

In the OpenDocument XSL compatible namespace, the fo:margin-top attribute does not support the inherit value.

The fo:margin-top attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-properties> 17.15.

The values of the fo:margin-top attribute are a value of type nonNegativeLength 18.3.20 or a value of type percent 18.3.23.

20.203fo:max-height

The fo:max-height attribute specifies a default maximum height for new frames that are created using a graphics style. See 19.238.

The fo:max-height attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the fo:max-height attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

20.204fo:max-width

The fo:max-width attribute specifies a default maximum width for new frames that are created using a graphics style. See 19.239.

The fo:max-width attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the fo:max-width attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

20.205fo:min-height

20.205.1<style:graphic-properties>

The fo:min-height attribute specifies a default minimum height for new frames that are created using a graphics style. See 19.240.

The fo:min-height attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the fo:min-height attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

20.205.2<style:header-footer-properties>

The fo:min-height attribute specifies a minimum height for a header or footer.

The fo:min-height attribute is usable with the following element: <style:header-footer-properties> 17.5.

The fo:min-height attribute has the data type length 18.3.18.

20.206fo:min-width

The fo:min-width attribute specifies a default minimum width for new frames that are created using a graphics style. See 19.241.

The fo:min-width attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the fo:min-width attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

20.207fo:orphans

See §7.19.6 of [XSL].

The fo:orphans attribute is usable with the following element: <style:paragraph-properties> 17.6.

The fo:orphans attribute has the data type nonNegativeInteger 18.2.

20.208fo:page-height

See §7.25.13 of [XSL].

The fo:page-height attribute is usable with the following element: <style:page-layout-properties> 17.2.

The fo:page-height attribute has the data type length 18.3.18.

20.209fo:page-width

See §7.25.15 of [XSL].

The fo:page-width attribute is usable with the following element: <style:page-layout-properties> 17.2.

The fo:page-width attribute has the data type length 18.3.18.

20.210fo:padding

See §7.29.15 of [XSL].

The fo:padding attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The fo:padding attribute has the data type nonNegativeLength 18.3.20.

20.211fo:padding-bottom

See §7.7.36 of [XSL].

The fo:padding-bottom attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The fo:padding-bottom attribute has the data type nonNegativeLength 18.3.20.

20.212fo:padding-left

See §7.7.37 of [XSL].

The fo:padding-left attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The fo:padding-left attribute has the data type nonNegativeLength 18.3.20.

20.213fo:padding-right

See §7.7.38 of [XSL].

The fo:padding-right attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The fo:padding-right attribute has the data type nonNegativeLength 18.3.20.

20.214fo:padding-top

See §7.7.35 of [XSL].

The fo:padding-top attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The fo:padding-top attribute has the data type nonNegativeLength 18.3.20.

20.215fo:script

See §7.9.3 of [XSL]. The attribute should be used only if necessary according to the rules of §2.2.3 of [RFC5646], or its successors.

The attribute is evaluated for any [UNICODE] character whose script type is latin. 20.348

It may be ignored if is not specified together with a fo:language attribute.

In the OpenDocument XSL compatible namespace, the fo:script attribute does not support the inherit or none values.

The fo:script attribute is usable with the following element: <style:text-properties> 16.27.28.

The fo:script attribute has the data type scriptCode 18.3.29.

20.216fo:text-align

See §7.15.9 of [XSL].

If there are no values specified for the fo:text-align and style:justify-single-word attributes within the same formatting properties element, the values of those attributes is set to start and false respectively.

In the OpenDocument XSL compatible namespace, the fo:text-align attribute does not support the inherit, inside, outside, or string values.

20.216.1<style:paragraph-properties>

The fo:text-align attribute when used with the <style:paragraph-properties> element specifies the alignment of paragraphs in a text.

The values of start and end are interpreted according to the writing direction of the text.

The fo:text-align attribute is usable with the following element: <style:paragraph-properties> 17.6.

The values of the fo:text-align attribute are start, end, left, right, center or justify.

20.216.2<style:list-level-properties>

The fo:text-align attribute when used with the <style:list-level-properties> elements specifies the alignment of list labels.

If the text:list-level-position-and-space-mode attribute on the same <style:list-level-properties> element has the value label-width-and-position, the fo:text-align attribute specifies the horizontal alignment of the list label within the width specified by the text:min-label-width attribute. If the actual width of the list label is greater than the specified minimum width no alignment takes place.

If the text:list-level-position-and-space-mode attribute on the same <style:list-level-properties> element has the value label-alignment, the value of the text:min-label-width attribute is treated as 0 and the fo:text-align attribute specifies the horizontal alignment of the list label at the alignment position. The alignment position is specified by the fo:margin-left and fo:text-indent attributes of it child element <style:list-level-label-alignment> 17.20.

The defined values for the fo:text-align attribute are:

  • center: center of the list label is positioned at the alignment position. 

  • end: interpreted as fo:text-align=”right 

  • justify: label is justified. 

  • left: list label starts at the alignment position. 

  • right: list label ends at the alignment position. 

  • start: interpreted as fo:text-align=”left”. 

The fo:text-align attribute is usable with the following element: <style:list-level-properties> 17.19.

The values of the fo:text-align attribute are start, end, left, right, center or justify.

20.217fo:text-align-last

See §7.15.10 of [XSL].

This attribute is ignored if it not accompanied by an fo:text-align attribute.

If no value is specified for this attribute, the value is set to start.

The fo:text-align-last attribute is usable with the following element: <style:paragraph-properties> 17.6.

The values of the fo:text-align-last attribute are start, center or justify.

20.218fo:text-indent

The fo:text-indent attribute specifies a positive or negative indent for the first line of a paragraph. See §7.15.11 of [XSL]. The attribute value is a length. If the attribute is contained in a common style, the attribute value may be also a percentage that refers to the corresponding text indent of a parent style.

The fo:text-indent attribute is usable with the following element: <style:paragraph-properties> 17.6.

The values of the fo:text-indent attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

20.219fo:text-shadow

The fo:text-shadow attribute specifies the text shadow style to use.

The defined values for this attribute are those defined in §7.16.5 of [XSL], except the value inherit.

The fo:text-shadow attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the fo:text-shadow attribute are none or a value of type string 18.2.

20.220fo:text-transform

See §7.16.6 of [XSL].

If fo:text-transform and fo:font-variant attributes are used simultaneously and have different values than normal and none, the result is undefined.

Note: In consumers, the fo:text-transform and fo:font-variant attributes are mutually exclusive.

The fo:text-transform attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the fo:text-transform attribute are none, lowercase, uppercase or capitalize.

20.221fo:widows

See §7.19.7 of [XSL].

The fo:widows attribute specifies the minimum number of lines that shall be displayed at the top of a page to avoid paragraph widows.

In the OpenDocument XSL compatible namespace, the fo:widows attribute does not support the inherit value.

The fo:widows attribute is usable with the following element: <style:paragraph-properties> 17.6.

The fo:widows attribute has the data type nonNegativeInteger 18.2.

20.222fo:width

See §7.14.12 of [XSL].

The fo:width attribute is used with fo:height to set the size of a bullet image.

In the OpenDocument XSL compatible namespace, the fo:width attribute does not support the auto or inherit values.

The fo:width attribute is usable with the following element: <style:list-level-properties> 17.19.

The fo:width attribute has the data type positiveLength 18.3.26.

20.223fo:wrap-option

See §7.15.13 of [XSL].

If wrapping is disabled, it is implementation-defined whether the overflow  text is visible or hidden. If the text is hidden consumers may support a scrolling to access the text.

The fo:wrap-option attribute is usable with the following elements: <style:graphic-properties> 17.21 and <style:table-cell-properties> 17.18.

The values of the fo:wrap-option attribute are no-wrap or wrap.

20.224presentation:background-objects-visible

The presentation:background-objects-visible attribute specifies whether to display objects in the background of a master page when displaying a presentation page.

The defined values for the presentation:background-objects-visible attribute are:

The presentation:background-objects-visible attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The presentation:background-objects-visible attribute has the data type boolean 18.3.3.

20.225presentation:background-visible

The presentation:background-visible attribute specifies whether to display the background of a master page when displaying a presentation page.

The defined values for the presentation:background-visible attribute are:

The presentation:background-visible attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The presentation:background-visible attribute has the data type boolean 18.3.3.

20.226presentation:display-date-time

The presentation:display-date-time attribute specifies the visibility of from the <style:master-page> element with the presentation class date-time.

The defined values for the presentation:display-date-time attribute are:

The presentation:display-date-time attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The presentation:display-date-time attribute has the data type boolean 18.3.3.

20.227presentation:display-footer

The presentation:display-footer attribute specifies the visibility of a drawing shape used as a footer in a <style:master-page> element.

The defined values for the presentation:display-footer attribute are:

The presentation:display-footer attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The presentation:display-footer attribute has the data type boolean 18.3.3.

20.228presentation:display-header

The presentation:display-header attribute specifies the visibility of a drawing shape used as a header in a <style:master-page> element.

The defined values for the presentation:display-header attribute are:

The presentation:display-header attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The presentation:display-header attribute has the data type boolean 18.3.3.

20.229presentation:display-page-number

The presentation:display-page-number attribute specifies the visibility of a drawing shape used as a page number in a <style:master-page> element.

The defined values for the presentation:display-page-number attribute are:

The presentation:display-page-number attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The presentation:display-page-number attribute has the data type boolean 18.3.3.

20.230presentation:duration

The presentation:duration attribute specifies the amount of time that the presentation page is displayed.

The presentation:duration attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The presentation:duration attribute has the data type duration 18.2.

20.231presentation:transition-speed

The presentation:transition-speed attribute specifies the speed at which a presentation page is removed from display, and replaced by a new presentation page.

The defined values for the presentation:transition-speed attribute are:

The presentation:transition-speed attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The values of the presentation:transition-speed attribute are slow, medium or fast.

20.232presentation:transition-style

The presentation:transition-style attribute specifies the way that each presentation page replaces the previous presentation page.

The defined values for the presentation:transition-style attribute are:

The presentation:transition-style attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The values of the presentation:transition-style attribute are none, fade-from-left, fade-from-top, fade-from-right, fade-from-bottom, fade-from-upperleft, fade-from-upperright, fade-from-lowerleft, fade-from-lowerright, move-from-left, move-from-top, move-from-right, move-from-bottom, move-from-upperleft, move-from-upperright, move-from-lowerleft, move-from-lowerright, uncover-to-left, uncover-to-top, uncover-to-right, uncover-to-bottom, uncover-to-upperleft, uncover-to-upperright, uncover-to-lowerleft, uncover-to-lowerright, fade-to-center, fade-from-center, vertical-stripes, horizontal-stripes, clockwise, counterclockwise, open-vertical, open-horizontal, close-vertical, close-horizontal, wavyline-from-left, wavyline-from-top, wavyline-from-right, wavyline-from-bottom, spiralin-left, spiralin-right, spiralout-left, spiralout-right, roll-from-top, roll-from-left, roll-from-right, roll-from-bottom, stretch-from-left, stretch-from-top, stretch-from-right, stretch-from-bottom, vertical-lines, horizontal-lines, dissolve, random, vertical-checkerboard, horizontal-checkerboard, interlocking-horizontal-left, interlocking-horizontal-right, interlocking-vertical-top, interlocking-vertical-bottom, fly-away, open, close or melt.

20.233presentation:transition-type

The presentation:transition-type attribute specifies the mode of a transition.

The defined values for the presentation:transition-type attribute are:

The smil:type attribute should be used for presentations. The presentation:transition-type and presentation:transition-style attributes are retained for legacy compatibility only.

The presentation:transition-type attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The values of the presentation:transition-type attribute are manual, automatic or semi-automatic.

20.234presentation:visibility

The presentation:visibility attribute specifies if the content of a <draw:page> element is visible during a presentation.

The defined values for the presentation:transition-speed attribute are:

The presentation:visibility attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The values of the presentation:visibility attribute are visible or hidden.

20.235smil:direction

See §12.4.1 of [SMIL20].

The smil:direction attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The values of the smil:direction attribute are forward or reverse.

20.236smil:fadeColor

See §12.4.1 of [SMIL20].

The smil:fadeColor attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The smil:fadeColor attribute has the data type color 18.3.9.

20.237smil:subtype

See §12.4.1 of [SMIL20].

Note: See §12.8 of [SMIL20] for a list of supported subtypes.

The smil:subtype attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The smil:subtype attribute has the data type string 18.2.

20.238smil:type

The [SMIL20] smil:type attribute specifies a transition type or family.

See §12.8 of [SMIL20] for a list of supported types.

If this attribute is present, the attributes presentation:transition-type and presentation:transition-style attributes should be ignored.

The smil:type attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The smil:type attribute has the data type string 18.2.

20.239style:auto-text-indent

The style:auto-text-indent attribute specifies that the first line of a paragraph is indented by a value that is based on the current font size.

If this attribute has a value of true and is used together with a fo:text-indent attribute the fo:text-indent attribute is ignored.

The style:auto-text-indent attribute is usable with the following element: <style:paragraph-properties> 17.6.

The style:auto-text-indent attribute has the data type boolean 18.3.3.

20.240style:background-transparency

The style:background-transparency attribute specifies the transparency of a paragraph's background color.

The style:background-transparency attribute is usable with the following elements: <style:graphic-properties> 17.21 and <style:paragraph-properties> 17.6.

The style:background-transparency attribute has the data type zeroToHundredPercent 18.3.41.

20.241style:border-line-width

The style:border-line-width attribute specifies the widths of borders defined by the FO border properties (see 20.176) for borders where the value of these properties is double.

The value of the style:border-line-width attribute is a list of three white space-separated lengths, as follows:

  • The first value specifies the width of the inner line 

  • The second value specifies the distance between the two lines 

  • The third value specifies the width of the outer line 

The style:border-line-width attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The values of the style:border-line-width attribute are three white space separated values of type positiveLength 18.3.26.

20.242style:border-line-width-bottom

The style:border-line-width-bottom attribute specifies the widths of the bottom border for borders defined by the FO border properties (see 20.176) if the property for the bottom border has the value double.

The value of the style:border-line-width-bottom attribute is a list of three white space-separated lengths, as follows:

  • The first value specifies the width of the inner line 

  • The second value specifies the distance between the two lines 

  • The third value specifies the width of the outer line 

The style:border-line-width-bottom attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The values of the style:border-line-width-bottom attribute are three white space separated values of type positiveLength 18.3.26.

20.243style:border-line-width-left

The style:border-line-width-left attribute specifies the widths of the left border for borders defined by the FO border properties (see 20.176) if the property for the left border has the value double.

The value of the style:border-line-width-left attribute is a list of three white space-separated lengths, as follows:

  • The first value specifies the width of the inner line 

  • The second value specified the distance between the two lines 

  • The third value specifies the width of the outer line 

The style:border-line-width-left attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The values of the style:border-line-width-left attribute are three white space separated values of type positiveLength 18.3.26.

20.244style:border-line-width-right

The style:border-line-width-right attribute specifies the widths of the right border for borders defined by the FO border properties (see 20.176) if the property for the right border has the value double.

The value of the style:border-line-width-right attribute is a list of three white space-separated lengths, as follows:

  • The first value specifies the width of the inner line 

  • The second value specified the distance between the two lines 

  • The third value specifies the width of the outer line 

The style:border-line-width-right attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The values of the style:border-line-width-right attribute are three white space separated values of type positiveLength 18.3.26.

20.245style:border-line-width-top

The style:border-line-width-top attribute specifies the widths of the top border for borders defined by the FO border properties (see 20.176) if the property for the top border has the value double.

The value of the style:border-line-width-top attribute is a list of three white space-separated lengths, as follows:

  • The first value specifies the width of the inner line 

  • The second value specified the distance between the two lines 

  • The third value specifies the width of the outer line 

The style:border-line-width-top attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The values of the style:border-line-width-top attribute are three white space separated values of type positiveLength 18.3.26.

20.246style:cell-protect

The style:cell-protect attribute specifies how a cell is protected.

This attribute is only evaluated if the current table is protected.

The defined values for the style:cell-protect attribute are:

Note: Replacement of cell content includes replacement with another formula or other cell content.

The style:cell-protect attribute is usable with the following element: <style:table-cell-properties> 17.18.

The values of the style:cell-protect attribute are none, hidden-and-protected, or white space separated non-empty lists of one of these values: protected, or formula-hidden..

20.247style:column-width

The style:column-width attribute specifies a fixed width for a column.

The style:column-width attribute is usable with the following element: <style:table-column-properties> 17.16.

The style:column-width attribute has the data type positiveLength 18.3.26.

20.248style:country-asian

The style:country-asian attribute specifies the country of a text.

It is evaluated for [UNICODE] characters whose script type is asian. 20.348

It may be ignored if it is not specified together with a style:language-asian attribute.

The style:country-asian attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:country-asian attribute has the data type countryCode 18.3.11.

20.249style:country-complex

The style:country-complex attribute specifies the country of a text. See §7.9.1 of [XSL].

It is evaluated for [UNICODE] characters whose script type is complex. 20.348

It may be ignored if it is not specified together with a style:language-complex attribute.

The style:country-complex attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:country-complex attribute has the data type countryCode 18.3.11.

20.250style:decimal-places

The style:decimal-places attribute specifies the maximum number of decimal places that are displayed if numbers are formatted by a data style that has no setting for number of decimal places itself.

This attribute is only evaluated if it is contained in a default style.

The style:decimal-places attribute is usable with the following element: <style:table-cell-properties> 17.18.

The style:decimal-places attribute has the data type nonNegativeInteger 18.2.

20.251style:diagonal-bl-tr

The style:diagonal-bl-tr attribute specifies the style of border to use for a bottom-left to top-right diagonal in a spreadsheet cell.

The style:diagonal-bl-tr attribute is usable with the following element: <style:table-cell-properties> 17.18.

The style:diagonal-bl-tr attribute has the data type string 18.2.

20.252style:diagonal-bl-tr-widths

The style:diagonal-bl-tr-widths attribute specifies the width between a double line border to use for a bottom-left to top-right diagonal in a spreadsheet cell.

The style:diagonal-bl-tr-widths attribute is usable with the following element: <style:table-cell-properties> 17.18.

The values of the style:diagonal-bl-tr-widths attribute are three white space separated values of type positiveLength 18.3.26.

20.253style:diagonal-tl-br

The style:diagonal-tl-br attribute specifies the style of border to use for a left-top to bottom-right diagonal in a spreadsheet cell.

The style:diagonal-tl-br attribute is usable with the following element: <style:table-cell-properties> 17.18.

The style:diagonal-tl-br attribute has the data type string 18.2.

20.254style:diagonal-tl-br-widths

The style:diagonal-tl-br-widths attribute specifies the width between a double line border to use for a top-left to bottom-right diagonal in a spreadsheet cell.

The style:diagonal-tl-br-widths attribute is usable with the following element: <style:table-cell-properties> 17.18.

The values of the style:diagonal-tl-br-widths attribute are three white space separated values of type positiveLength 18.3.26.

20.255style:direction

The style:direction attribute specifies the direction of characters.

The style:direction attribute modifies the direction of text rendering as specified by a style:writing-mode attribute. 20.394

The defined values for the style:direction attribute are:

  • ltr – left to right, text is rendered in the direction specified by the style:writing-mode attribute  

  • ttb – top to bottom, characters are vertically stacked but not rotated 

The style:direction attribute is usable with the following elements: <style:chart-properties> 17.22 and <style:table-cell-properties> 17.18.

The values of the style:direction attribute are ltr or ttb.

20.256style:dynamic-spacing

The style:dynamic-spacing attribute specifies whether the header or footer grows into the space between the page body and the header or footer before the height of the page body becomes smaller.

The defined values for the style:dynamic-spacing attribute are:

The style:dynamic-spacing attribute is usable with the following element: <style:header-footer-properties> 17.5.

The style:dynamic-spacing attribute has the data type boolean 18.3.3.

20.257style:editable

The style:editable attribute specifies if a text section or box can be edited within a read-only document.

The defined values for the style:editable attribute are:

The style:editable attribute is usable with the following elements: <style:graphic-properties> 17.21 and <style:section-properties> 17.11.

The style:editable attribute has the data type boolean 18.3.3.

20.258style:first-page-number

The style:first-page-number attribute specifies the number of a document.

The value of this attribute can be an integer or continue. If the value is continue, the page number is the preceding page number incremented by 1. The default first page number is 1.

The style:first-page-number attribute is usable with the following element: <style:page-layout-properties> 17.2.

The values of the style:first-page-number attribute are a value of type positiveInteger 18.2 or continue.

20.259style:flow-with-text

The style:flow-with-text attribute specifies whether a drawing shape flows with the text of its layout environment or not. The layout environment of a drawing shape is determined by the location of its anchor. The following layout environments are defined:

The innermost enclosing area of the anchor defines the layout environment of the drawing shape.

If the value of the attribute is true, the following conditions shall hold:

When a drawing shape leaves its layout environment due to its position and/or size in the forward text flow direction, it flows with the text flow to the next layout environment. If there is no next layout environment, the position of the layout environment is adjusted. If the drawing shape is larger than its layout environment, the size of the layout environment is adjusted.

If due to its position a drawing shape would leave its layout environment in the backward text flow direction, the position is adjusted to the beginning of its layout environment.

A drawing object may leave its layout environment in the other (non text flow) directions. Exceptions from this rule are the layout environments table cell area and frame area. For these layout environments it shall be ensured that the drawing shape is laid out inside its layout environment by adjusting the position and (if necessary) the size.

If the value of the attribute is false, the drawing shape does not have to flow with the text of its layout environment. It can be laid out anywhere on the page its anchor is on.

This attribute is not applicable to drawing shapes that are anchored with text:anchor-type="as-char", because such drawing shapes are treated as characters. For drawing shapes, which are anchored to a specific page with text:anchor-type="page", the attribute is also not applicable, because such drawing shapes are to be laid out on the page they are anchored to.

The style:flow-with-text attribute is usable with the following element: <style:graphic-properties> 17.21.

The style:flow-with-text attribute has the data type boolean 18.3.3.

20.260style:font-charset

The style:font-charset attribute specifies whether a font defines glyphs according to the semantics of [UNICODE] or not.

The value of this attributes can be x-symbol or a character encoding in the notation described in the §4.3.3 of [XML1.0]. If the value is x-symbol, the font does not define glyphs according to the semantics of [UNICODE]. If the value is one of the encodings or transformations of [UNICODE], the font does define glyphs according to the semantics of [UNICODE]. The use of other values is deprecated.

Note: Fonts for which the attribute has the value x-symbol may define glyphs for code points in the private use area of [UNICODE]

This attribute is evaluated for any [UNICODE] character whose script type is latin. 20.348

This attribute is ignored if there is no fo:font-family attribute attached to the same formatting property element.

Instead of this attribute, the style:font-name attribute should be used to specify the properties of a font.

The style:font-charset attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:font-charset attribute has the data type textEncoding 18.3.35.

20.261style:font-charset-asian

The style:font-charset-asian attribute specifies whether a font defines glyphs according to the semantics of [UNICODE] or not.

The value of this attributes can be x-symbol or a character encoding in the notation described in the §4.3.3 of [XML1.0]. If the value is x-symbol, the font does not define glyphs according to the semantics of [UNICODE]. If the value is one of the encodings or transformations of [UNICODE], the font does define glyphs according to the semantics of [UNICODE]. The use of other values is deprecated.

Note: Fonts for which the attribute has the value x-symbol may define glyphs for code points in the private use area of [UNICODE]

This attribute is evaluated for [UNICODE] characters whose script type is asian. 20.34820.348

This attribute is ignored if there is no style:font-family-asian attribute attached to the same formatting property element.

Instead of this attribute, the style:font-name-asian attribute should be used to specify the properties of a font.

The style:font-charset-asian attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:font-charset-asian attribute has the data type textEncoding 18.3.35.

20.262style:font-charset-complex

The style:font-charset-complex attribute specifies whether a font defines glyphs according to the semantics of [UNICODE] or not.

The value of this attributes can be x-symbol or a character encoding in the notation described in the §4.3.3 of [XML1.0]. If the value is x-symbol, the font does not define glyphs according to the semantics of [UNICODE]. If the value is one of the encodings or transformations of [UNICODE], the font does define glyphs according to the semantics of [UNICODE]. The use of other values is deprecated.

Note: Fonts for which the attribute has the value x-symbol may define glyphs for code points in the private use area of [UNICODE]

The style:font-charset-complex attribute is evaluated for [UNICODE] characters whose script type is complex. 20.348

This attribute is ignored if there is no style:font-family-complex attribute attached to the same formatting properties element.

Instead of this attribute, the style:font-name-complex attribute should be used to specify the properties of a font.

The style:font-charset-complex attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:font-charset-complex attribute has the data type textEncoding 18.3.35.

20.263style:font-family-asian

The style:font-family-asian attribute specifies the font family for a text. See §7.8.2 of [XSL].

This is evaluated for [UNICODE] characters whose script type is asian. 20.277

Instead of this attribute, the style:font-name-asian attribute should be used to specify the properties of a font.

The style:font-family-asian attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:font-family-asian attribute has the data type string 18.2.

20.264style:font-family-complex

The style:font-family-complex attribute specifies the font family for a text. See §7.8.2 of [XSL].

This attribute is evaluated for [UNICODE] characters whose script type is complex. 20.348

Instead of this attribute, the style:font-name-complex attribute should be used to specify the properties of a font.

The style:font-family-complex attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:font-family-complex attribute has the data type string 18.2.

20.265style:font-family-generic

The style:font-family-generic attribute specifies a generic font family name.

This attribute is evaluated for any [UNICODE] character whose script type is latin. 20.348

This attribute is ignored if there is no corresponding fo:font-family attribute attached to the same formatting property element.

Instead of this attribute, the style:font-name attribute should be used to specify the properties of a font.

The defined values for the style:font-family-generic attribute are:

  • decorative: the family of decorative fonts.  

  • modern: the family of modern fonts.  

  • roman: the family roman fonts (with serifs).  

  • script: the family of script fonts.  

  • swiss: the family roman fonts (without serifs).  

  • system: the family system fonts.  

The style:font-family-generic attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:font-family-generic attribute are roman, swiss, modern, decorative, script or system.

20.266style:font-family-generic-asian

The style:font-family-generic-asian attribute specifies a generic Asian font family name.

The style:font-family-generic-asian attribute is evaluated for [UNICODE] characters whose script type is asian. 20.277

This attribute is ignored if there is no corresponding fo:font-family attribute attached to the same formatting property element.

Instead of this attribute, the style:font-name-asian attribute should be used to specify the properties of a font.

The defined values for the style:font-family-generic-asian attribute are:

  • decorative: the family of decorative fonts.  

  • modern: the family of modern fonts.  

  • roman: the family roman fonts (with serifs).  

  • script: the family of script fonts.  

  • swiss: the family roman fonts (without serifs).  

  • system: the family system fonts.  

The style:font-family-generic-asian attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:font-family-generic-asian attribute are roman, swiss, modern, decorative, script or system.

20.267style:font-family-generic-complex

The style:font-family-generic-complex attribute specifies a generic font family name.

This attribute is ignored if there is no corresponding fo:font-family attribute attached to the same formatting property element.

Instead of this attribute, the style:font-name-complex attribute should be used to specify the properties of a font.

The defined values for the style:font-family-generic-complex attribute are:

The style:font-family-generic-complex attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:font-family-generic-complex attribute are roman, swiss, modern, decorative, script or system.

20.268style:font-independent-line-spacing

The style:font-independent-line-spacing attribute specifies if font independent line spacing is used.

The defined values for the style:font-independent-line-spacing attribute are:

The style:font-independent-line-spacing attribute is usable with the following element: <style:paragraph-properties> 17.6.

The style:font-independent-line-spacing attribute has the data type boolean 18.3.3.

20.269style:font-name

The style:font-name attribute specifies a font that is declared by a <style:font-face> element with a style:name attribute whose name is the same as that of the style:font-name attribute value.

This attribute is evaluated for any [UNICODE] character whose script type is latin. 20.348

The style:font-name attribute is usable with the following elements: <style:list-level-properties> 17.19 and <style:text-properties> 16.27.28.

The style:font-name attribute has the data type string 18.2.

20.270style:font-name-asian

The style:font-name-asian attribute specifies a font that is declared by a <style:font-face> element with a style:name attribute whose name is the same as that of the style:font-name-asian attribute value.

This attribute is evaluated for [UNICODE] characters whose script type is asian. 20.277

The style:font-name-asian attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:font-name-asian attribute has the data type string 18.2.

20.271style:font-name-complex

The style:font-name-complex attribute specifies a font that is declared by a <style:font-face> element with a style:name attribute whose name is the same as that of the style:font-name-complex attribute value.

The style:font-name-complex attribute is evaluated for [UNICODE] characters whose script type is complex. 20.348

The style:font-name-complex attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:font-name-complex attribute has the data type string 18.2.

20.272style:font-pitch

The style:font-pitch attribute specifies whether a font has a fixed or variable width.

This attribute is evaluated for any [UNICODE] character whose script type is latin. 20.348

This attribute is ignored if there is no corresponding fo:font-family attribute attached to the same formatting property element.

Instead of this attribute, the style:font-name attribute should be used to specify the properties of a font.

The defined values for the style:font-pitch attribute are:

  • fixed: font pitch is fixed. 

  • variable: font pitch is variable. 

The style:font-pitch attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:font-pitch attribute are fixed or variable.

20.273style:font-pitch-asian

The style:font-pitch-asian attribute specifies whether a font has a fixed or variable width.

This attribute is evaluated for [UNICODE] characters whose script type is asian. 20.348

This attribute is ignored if there is no corresponding fo:font-family attribute attached to the same formatting property element.

Instead of this attribute, the style:font-name-asian attribute should be used to specify the properties of a font.

The defined values for the style:font-pitch-asian attribute are:

  • fixed: font width is fixed. 

  • variable: font width is variable. 

The style:font-pitch-asian attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:font-pitch-asian attribute are fixed or variable.

20.274style:font-pitch-complex

The style:font-pitch-complex attribute specifies whether a font has a fixed or variable width.

This attribute is evaluated for [UNICODE] characters whose script type is complex. 20.348

This attribute is ignored if there is no corresponding fo:font-family attribute attached to the same formatting property element.

Instead of this attribute, the style:font-name-complex attribute should be used to specify the properties of a font.

The defined values for the style:font-pitch-complex attribute are:

  • fixed: font width is fixed. 

  • variable: font width is variable. 

The style:font-pitch-complex attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:font-pitch-complex attribute are fixed or variable.

20.275style:font-relief

The style:font-relief attribute specifies whether a font should be embossed, engraved, or neither.

The defined values for the style:font-relief attribute are:

The style:font-relief attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:font-relief attribute are none, embossed or engraved.

20.276style:font-size-asian

The style:font-size-asian attribute specifies the size of a font.

This attribute is evaluated for [UNICODE] characters whose script type is asian. 20.348

The value of this attribute is either an absolute length or a percentage as described in §7.8.4 of [XSL]. In contrast to XSL, percentage values can be used within common styles only and are based on the font height of the parent style rather than to the font height of the attributes neighborhood. Absolute font heights and relative font heights are not supported.

The style:font-size-asian attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:font-size-asian attribute are a value of type positiveLength 18.3.26 or a value of type percent 18.3.23.

20.277style:font-size-complex

The fo:font-size, style:font-size-asian and style:font-size-complex attributes specify the size of a font.

This attribute is evaluated for [UNICODE] characters whose script type is complex. 20.348

The value of this attribute is either an absolute length or a percentage as described in §7.8.4 of [XSL]. In contrast to XSL, percentage values can be used within common styles only and are based on the font height of the parent style rather than to the font height of the attributes neighborhood. Absolute font heights and relative font heights are not supported.

The style:font-size-complex attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:font-size-complex attribute are a value of type positiveLength 18.3.26 or a value of type percent 18.3.23.

20.278style:font-size-rel

The style:font-size-rel attribute specifies a relative font size change.

This attribute is evaluated for any [UNICODE] character whose script type is latin. 20.348

This attribute specifies a relative font size change as a length. It cannot be used within automatic styles. This attribute changes the font size based on the font size of the parent style.

The style:font-size-rel attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:font-size-rel attribute has the data type length 18.3.18.

20.279style:font-size-rel-asian

The style:font-size-rel-asian attributes specifies a relative font size change.

This attribute is evaluated for [UNICODE] characters whose script type is asian. 20.348

This attribute specifies a relative font size change as a length. It cannot be used within automatic styles. This attribute changes the font size based on the font size of the parent style.

The style:font-size-rel-asian attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:font-size-rel-asian attribute has the data type length 18.3.18.

20.280style:font-size-rel-complex

The style:font-size-rel, style:font-size-rel-asian and style:font-size-rel-complex attributes specify a relative font size change.

The style:font-size-rel-complex attribute is evaluated for [UNICODE] characters whose script type is complex. 20.348

This attribute specifies a relative font size change as a length. It cannot be used within automatic styles. This attribute changes the font size based on the font size of the parent style.

The style:font-size-rel-complex attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:font-size-rel-complex attribute has the data type length 18.3.18.

20.281style:font-style-asian

The style:font-style-asian attribute specifies whether to use normal or italic font face. See §7.8.7 of [XSL].

This attribute is evaluated for [UNICODE] characters whose script type is asian. 20.348

The defined values for the style:font-style-asian attribute are:

  • italic: characters displayed in an italic font face. 

  • normal: characters displayed in normal font face. 

  • oblique: characters displayed in an oblique font face. 

The style:font-style-asian attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:font-style-asian attribute are normal, italic or oblique.

20.282style:font-style-complex

The style:font-style-complex attribute specifies whether to use normal or italic font face. See §7.8.7 of [XSL].

This attribute is evaluated for [UNICODE] characters whose script type is complex. 20.348

The fo:font-style attribute is evaluated for any other [UNICODE] character.

The defined values for the style:font-style-complex attribute are:

  • italic: characters displayed in an italic font face. 

  • normal: characters displayed in normal font face. 

  • oblique: characters displayed in an oblique font face. 

The style:font-style-complex attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:font-style-complex attribute are normal, italic or oblique.

20.283style:font-style-name

The style:font-style-name attribute specifies a font style name.

This attribute is evaluated for any [UNICODE] character whose script type is latin. 20.348

This attribute is ignored if there is no corresponding fo:font-family attribute attached to the same formatting property element.

Instead of this attribute, the style:font-name attribute should be used to specify the properties of a font.

The style:font-style-name attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:font-style-name attribute has the data type string 18.2.

20.284style:font-style-name-asian

The style:font-style-name-asian attribute specifies a font style name.

The style:font-style-name-asian attribute is evaluated for [UNICODE] characters whose script type is asian. 20.348

This attribute is ignored if there is no corresponding fo:font-family attribute attached to the same formatting property element.

Instead of this attribute, the style:font-name-asian attribute should be used to specify the properties of a font.

The style:font-style-name-asian attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:font-style-name-asian attribute has the data type string 18.2.

20.285style:font-style-name-complex

The style:font-style-name-complex attribute specifies a font style name.

The style:font-style-name-complex attribute is evaluated for [UNICODE] characters whose script type is complex. 20.348

This attribute is ignored if there is no corresponding fo:font-family attribute attached to the same formatting property element.

Instead of this attribute, the style:font-name-complex attribute should be used to specify the properties of a font.

The style:font-style-name-complex attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:font-style-name-complex attribute has the data type string 18.2.

20.286style:font-weight-asian

The style:font-weight-asian attribute specifies the weight of a font. See §7.8.9 of [XSL].

This attribute is evaluated for [UNICODE] characters whose script type is asian. 20.348

The style:font-weight-asian attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:font-weight-asian attribute are normal, bold, 100, 200, 300, 400, 500, 600, 700, 800 or 900.

20.287style:font-weight-complex

The style:font-weight-complex attributes specify the weight of a font. See §7.8.9 of [XSL].

This attribute is evaluated for [UNICODE] characters whose script type is complex. 20.348

The fo:font-weight attribute is evaluated for any other [UNICODE] character.

The style:font-weight-complex attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:font-weight-complex attribute are normal, bold, 100, 200, 300, 400, 500, 600, 700, 800 or 900.

20.288style:footnote-max-height

The style:footnote-max-height attribute specifies the maximum amount of space on a page that a footnote can occupy. The value of the attribute is a length, which determines the maximum height of a footnote area.

If the value of this attribute is set to 0cm, there is no limit to the amount of space that the footnote can occupy.

The style:footnote-max-height attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:footnote-max-height attribute has the data type length 18.3.18.

20.289style:glyph-orientation-vertical

The style:glyph-orientation-vertical attribute specifies a vertical glyph orientation. See §10.7.3 of [SVG]. The attribute specifies an angle or automatic mode. The only defined angle is 0 degrees, which disables this feature.

Note: OpenDocument v1.1 did not support angle specifications that contain an angle unit identifier. Angle unit identifiers should be omitted for compatibility with OpenDocument v1.1.

The style:glyph-orientation-vertical attribute is usable with the following element: <style:table-cell-properties> 17.18.

The values of the style:glyph-orientation-vertical attribute are auto, 0, 0deg, 0rad or 0grad.

20.290style:horizontal-pos

The style:horizontal-pos attribute specifies the horizontal alignment of a frame in relation to an area specified by the style:horizontal-rel attribute.

The defined values for the style:horizontal-pos attribute are:

If the attribute value is not from-left and not from-inside, the svg:x attribute associated with the frame element is ignored for text documents.

Tables 19 and 20 display the defined combinations of values of the attributes style:horizontal-pos and style:horizontal-rel. The values of these alignment attributes are listed in the first column on the left, and an alignment attribute value/anchor type value match is indicated by an X.

Table 19 - Horizontal position values

Value of style:horizontal-pos

Value of text:anchor-type

page

frame

paragraph

char

as-char

any

X

X

X

X

 

Table 20 - Horizontal relation values

 

Value of style:horizontal-rel

Value of text:anchor-type

page

frame

paragraph

char

as-char

char

 

 

 

X

 

frame

 

X

 

 

 

frame-content

 

X

 

 

 

frame-end-margin

 

X

 

 

 

frame-start-margin

 

X

 

 

 

page

X

 

X

X

 

page-content

X

 

X

X

 

page-end-margin

X

 

X

X

 

page-start-margin

X

 

X

X

 

paragraph

 

 

X

X

 

paragraph-content

 

 

X

X

 

paragraph-end-margin

 

 

X

X

 

paragraph-start-margin

 

 

X

X

 

The style:horizontal-pos attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the style:horizontal-pos attribute are left, center, right, from-left, inside, outside or from-inside.

20.291style:horizontal-rel

The style:horizontal-rel attribute specifies the area against which the horizontal position of a frame is positioned.

The value start-margin determines the left margin, except when the horizontal position is from-inside, inside or outside and the anchor for the frame is on a page with an even page number, in which case it determines the right margin. The value end-margin determines the opposite margin to the start-margin values.

The defined values for the style:horizontal-rel attribute are:

The style:horizontal-rel attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the style:horizontal-rel attribute are page, page-content, page-start-margin, page-end-margin, frame, frame-content, frame-start-margin, frame-end-margin, paragraph, paragraph-content, paragraph-start-margin, paragraph-end-margin or char.

20.292style:join-border

The style:join-border property specifies whether a border for one paragraph is to be extended around the following paragraph.

In addition to the value of this attribute, joining of borders requires meeting these conditions:

  1. 1)Values of attributes fo:border-top, fo:border-bottom, fo:border-left and fo:border-right are the same. These values can also be given by the fo:border attribute. 

  2. 2)Values of attributes style:border-line-width-top, style:border-line-width-bottom, style:border-line-width-left and style:border-line-width-right are the same. These values can also be given by the style:border-line-width attribute. 

  3. 3)Values of attributes fo:padding-left and fo:padding-right are the same. These values can also be given by the fo:padding attribute. 

  4. 4)Values of the fo:margin-right attributes are the same. These values can also be given by the fo:margin attribute. 

  5. 5)Values of the fo:margin-left attribute, which can also be given by the fo:margin, and fo:text-indent attributes, that meet one of these conditions: 

    1. 1.All values are the same. 

    2. 2.Values of the fo:margin-left attributes are the same and values of the fo:text-indent attributes are non-negative. 

    3. 3.Value of the fo:margin-left attribute of one paragraph whose value of the fo:text-indent attribute is non-negative is the same as the sum of values of the fo:margin-left and fo:text-indent attributes of the other paragraph whose value of the fo:text-indent attribute is negative. 

    4. 4.Both values of the fo:text-indent attributes are negative and the sums of values of the fo:margin-left and fo:text-indent attributes are equal. 

The default value of this attribute is true.

The defined values for the style:join-border attribute are:

The style:join-border attribute is usable with the following element: <style:paragraph-properties> 17.6.

The style:join-border attribute has the data type boolean 18.3.3.

20.293style:justify-single-word

The style:justify-single-word attribute specifies whether a single word should be justified when the last line in a paragraph is justified.

Specifying a style:justify-single-word attribute without specifying a fo:text-align and fo:text-align-last attribute has no effect. Unspecified, both fo:text-align and fo:text-align-last have the value start.

The defined values for the style:justify-single-word attribute are:

The style:justify-single-word attribute is usable with the following element: <style:paragraph-properties> 17.6.

The style:justify-single-word attribute has the data type boolean 18.3.3.

20.294style:language-asian

The style:language-asian attribute specifies the language of a text.

This attribute is evaluated for [UNICODE] characters whose script type is asian. 20.348

This attribute may be ignored if it is not specified together with a style:country-asian attribute.

The style:language-asian attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:language-asian attribute has the data type languageCode 18.3.17.

20.295style:language-complex

The style:language-complex attribute specifies the language of a text.

The style:language-asian attribute is evaluated for [UNICODE] characters whose script type is asian. 20.348

This attribute is evaluated for [UNICODE] characters whose script type is complex. 20.348

This attribute may be ignored if it is not specified together with a style:country-complex attribute.

The style:language-complex attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:language-complex attribute has the data type languageCode 18.3.17.

20.296style:layout-grid-base-height

The style:layout-grid-base-height attribute specifies the height reserved in layout grid lines for non-ruby text.

The style:layout-grid-base-height attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:layout-grid-base-height attribute has the data type length 18.3.18.

20.297style:layout-grid-base-width

The style:layout-grid-base-width attribute specifies a grid's base width. This attribute is only evaluated if style:layout-grid-standard-mode attribute has the value true.

The style:layout-grid-base-width attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:layout-grid-base-width attribute has the data type length 18.3.18.

20.298style:layout-grid-color

The style:layout-grid-color attribute specifies the color of layout grid border lines.

The style:layout-grid-color attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:layout-grid-color attribute has the data type color 18.3.9.

20.299style:layout-grid-display

The style:layout-grid-display attribute specifies whether layout grid border lines are displayed.

The defined values for the style:layout-grid-display attribute are:

The style:layout-grid-display attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:layout-grid-display attribute has the data type boolean 18.3.3.

20.300style:layout-grid-lines

The style:layout-grid-lines attribute specifies the number of layout grid lines per page. The number of lines displayed may be smaller than specified if the page does not have space to display the specified number of lines with the specified line height.

The style:layout-grid-lines attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:layout-grid-lines attribute has the data type positiveInteger 18.2.

20.301style:layout-grid-mode

The style:layout-grid-mode attribute enables Asian layout grids.

The defined values for the style:layout-grid-mode attribute are:

The style:layout-grid-mode attribute is usable with the following element: <style:page-layout-properties> 17.2.

The values of the style:layout-grid-mode attribute are none, line or both.

20.302style:layout-grid-print

The style:layout-grid-print attribute specifies whether layout grid border lines are printed.

The defined values for the style:layout-grid-print attribute are:

The style:layout-grid-print attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:layout-grid-print attribute has the data type boolean 18.3.3.

20.303style:layout-grid-ruby-below

The style:layout-grid-ruby-below attribute specifies whether ruby text is displayed above or below the base text.

The defined values for the style:layout-grid-ruby-below attribute are:

The style:layout-grid-ruby-below attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:layout-grid-ruby-below attribute has the data type boolean 18.3.3.

20.304style:layout-grid-ruby-height

The style:layout-grid-ruby-height attribute specifies the height reserved in layout grid lines for ruby text.

The style:layout-grid-ruby-height attribute appears on a <style:page-layout-properties> element only if a style:layout-grid-standard-mode attribute, with the value false, appears on the same <style:page-layout-properties> element.

The style:layout-grid-ruby-height attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:layout-grid-ruby-height attribute has the data type length 18.3.18.

20.305style:layout-grid-snap-to

The style:layout-grid-snap-to attribute specifies whether the text is snapped to the grid or not. It is evaluated only if the style:layout-grid-mode attribute has the value both and the style:layout-grid-standard-mode attribute has the value true.

The defined values for the style:layout-grid-snap-to attribute are:

The style:layout-grid-snap-to attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:layout-grid-snap-to attribute has the data type boolean 18.3.3.

20.306style:layout-grid-standard-mode

The style:layout-grid-standard-mode attribute specifies how the rectangular grid cells are calculated if the style:layout-grid-mode attribute has the value both.

The style:layout-grid-standard-mode attribute can only be used in the default page layout. If the style:layout-grid-standard-mode attribute appears inside a <style:page-layout> element it shall be ignored.

The defined values for the style:layout-grid-standard-mode attribute are:

The style:layout-grid-standard-mode attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:layout-grid-standard-mode attribute has the data type boolean 18.3.3.

20.307style:line-break

The style:line-break attribute specifies line breaking rules.

The defined values for the style:line-break attribute are:

The style:line-break attribute is usable with the following element: <style:paragraph-properties> 17.6.

The values of the style:line-break attribute are normal or strict.

20.308style:letter-kerning

The style:letter-kerning attribute specifies whether kerning between characters is enabled or disabled.

The defined values for the style:letter-kerning attribute are:

The style:letter-kerning attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:letter-kerning attribute has the data type boolean 18.3.3.

20.309style:line-height-at-least

The style:line-height-at-least attribute specifies a minimum line height. The value of this attribute is a length.

The effect of this attribute is disabled when fo:line-height has the value of normal.

The style:line-height-at-least attribute is usable with the following element: <style:paragraph-properties> 17.6.

The style:line-height-at-least attribute has the data type nonNegativeLength 18.3.20.

20.310style:line-spacing

The style:line-spacing attribute specifies a fixed distance between two lines.

The effect of this attribute is disabled when fo:line-height has the value of normal.

The style:line-spacing attribute is usable with the following element: <style:paragraph-properties> 17.6.

The style:line-spacing attribute has the data type length 18.3.18.

20.311style:may-break-between-rows

The style:may-break-between-rows attribute specifies that a page break may occur inside a table.

The defined values for the style:may-break-between-rows attribute are:

The style:may-break-between-rows attribute is usable with the following element: <style:table-properties> 17.15.

The style:may-break-between-rows attribute has the data type boolean 18.3.3.

20.312style:min-row-height

The style:min-row-height attribute specifies a fixed minimum height for a row.

The style:min-row-height attribute is usable with the following element: <style:table-row-properties> 17.17.

The style:min-row-height attribute has the data type nonNegativeLength 18.3.20.

20.313style:mirror

The style:mirror attribute specifies whether an image is mirrored before it is displayed. The mirroring can be vertical or horizontal or both.

The defined values for the style:mirror attribute are:

The value vertical and the horizontal values can be specified together, separated by a white space.

The style:mirror attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the style:mirror attribute are none, vertical, or two white space separated values, that may appear in any order. One of these values is always vertical. The other value is one of: horizontal, horizontal-on-odd or horizontal-on-even.

20.314style:num-format

The style:num-format attribute specifies a numbering sequence.

If no value is given, no number sequence is displayed.

The defined values for the style:num-format attribute are:

The style:num-format attribute is usable with the following element: <style:page-layout-properties> 17.2.

The values of the style:num-format attribute are 1, i, I, a value of type string 18.2, an empty string, a or A.

20.315style:num-letter-sync

The style:num-letter-sync attribute specifies whether letter synchronization shall take place. If letters are used in alphabetical order for numbering, there are two ways to process overflows within a digit, as follows:

The style:num-letter-sync attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:num-letter-sync attribute has the data type boolean 18.3.3.

20.316style:num-prefix

The style:num-prefix attribute specifies what to display before a number.

If the style:num-prefix and style:num-suffix values do not contain any character that has a Unicode category of Nd, Nl, No, Lu, Ll, Lt, Lm or Lo, an [XSLT] format attribute can be created from the OpenDocument attributes by concatenating the values of the style:num-prefix, style:num-format, and style:num-suffix attributes.

The style:num-prefix attribute can also specify a character before the value of a text:bullet-char attribute.

The style:num-prefix attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:num-prefix attribute has the data type string 18.2.

20.317style:num-suffix

The style:num-prefix and style:num-suffix attributes specify what to display before and after a number.

If the style:num-prefix and style:num-suffix values do not contain any character that has a Unicode category of Nd, Nl, No, Lu, Ll, Lt, Lm or Lo, an [XSLT] format attribute can be created from the OpenDocument attributes by concatenating the values of the style:num-prefix, style:num-format, and style:num-suffix attributes.

The style:num-suffix attribute can also specify a character after the value of a text:bullet-char attribute.

The style:num-suffix attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:num-suffix attribute has the data type string 18.2.

20.318style:number-wrapped-paragraphs

The style:number-wrapped-paragraphs attribute specifies the number of paragraphs that can wrap around a frame if the anchor position of a frame or drawing shape is a paragraph or a character, and the wrap mode specified by the style:wrap attribute is left, right, parallel, or dynamic.

This attribute is only recognized in frames or styles that have a style:wrap attribute attached with a value of left, right, parallel, or dynamic.

The defined values for the style:number-wrapped-paragraphs attribute are:

The style:number-wrapped-paragraphs attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the style:number-wrapped-paragraphs attribute are no-limit or a value of type positiveInteger 18.2.

20.319style:overflow-behavior

The style:overflow-behavior attribute specifies the behavior of text boxes where the containing text does not fit into a text box.

If the style:overflow-behavior attribute value is auto-create-new-frame and the text box has a minimum width or height specified the text box will grow as long as there is space left on the page. If no space is left, a new frame will be created on the next page, with the same position and dimensions of the original frame.

The defined values for the style:overflow-behavior attribute are:

The style:overflow-behavior attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the style:overflow-behavior attribute are clip or auto-create-new-frame.

20.320style:page-number

The style:page-number attribute specifies the page number that should be used for a new page when either a paragraph or table style specifies a master page that should be applied beginning from the start of a paragraph or table.

The defined values for the style:page-number attribute are:

The style:page-number attribute is usable with the following elements: <style:paragraph-properties> 17.6 and <style:table-properties> 17.15.

The values of the style:page-number attribute are a value of type positiveInteger 18.2 or auto.

20.321style:paper-tray-name

The style:paper-tray-name attribute specifies the paper tray to use when printing a document. The names assigned to the paper trays depends upon the printer.

The defined values for the style:paper-tray-name attribute are:

The style:paper-tray-name attribute is usable with the following element: <style:page-layout-properties> 17.2.

The values of the style:paper-tray-name attribute are default or a value of type string 18.2.

20.322style:print

The style:print attribute specifies the components in a spreadsheet document to print.

The value of the style:print attribute is a white space separated list of one or more of these values: headers, grid, annotations, objects, charts, drawings, formulas, zero-values, or the empty list.

The defined values for the style:print attribute are:

The style:print attribute is usable with the following element: <style:page-layout-properties> 17.2.

The value of the style:print attribute is a white space separated lists of one of these values: headers, grid, annotations, objects, charts, drawings, formulas, or zero-values, including the empty list.

20.323style:print-content

20.323.1General

The style:print-content attribute specifies if content is printed.

20.323.2<style:graphic-properties>

The style:print-content attribute specifies if frame content is printed.

The style:print-content attribute is usable with the following element: <style:graphic-properties> 17.21.

The style:print-content attribute has the data type boolean 18.3.3.

20.323.3<style:table-cell-properties>

The style:print-content attribute specifies if cell content is printed.

The style:print-content attribute is usable with the following element: <style:table-cell-properties> 17.18.

The style:print-content attribute has the data type boolean 18.3.3.

20.324style:print-page-order

The style:print-page-order attribute specifies the order in which data in a spreadsheet is numbered and printed when the data does not fit on one printed page.

The defined values for the style:print-page-order attribute are:

The style:print-page-order attribute is usable with the following element: <style:page-layout-properties> 17.2.

The values of the style:print-page-order attribute are ttb or ltr.

20.325style:print-orientation

The style:print-orientation attribute specifies the orientation of the printed page. The value of this attribute can be portrait or landscape.

The defined values for the style:print-orientation attribute are:

The style:print-orientation attribute is usable with the following element: <style:page-layout-properties> 17.2.

The values of the style:print-orientation attribute are portrait or landscape.

20.326style:protect

20.326.1General

The style:protect attribute specifies the protection of content.

20.326.2<style:graphic-properties>

The style:protect attribute specifies whether the content, size, or position of a frame is protected. The value of this attribute can be either none or a white space separated list that consists of any of the values content, position, or size.

The defined values for the style:protect attribute are:

The style:protect attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the style:protect attribute are none, or white space separated non-empty lists of one of these values: content, position, or size..

20.326.3<style:section-properties>

The style:protect attribute specifies that sections should not be changed. The user interface should prevent the user from manually making any changes. The style:protect attribute should be set to true by default for linked sections or indexes. Removing the protection from linked sections or indexes leaves them unprotected from editing, but any edits will be over-written by updates to those sections.

The defined values for the style:protect attribute are:

The style:protect attribute is usable with the following element: <style:section-properties> 17.11.

The style:protect attribute has the data type boolean 18.3.3.

20.327style:punctuation-wrap

The style:punctuation-wrap attribute specifies whether a punctuation mark, if one is present, can be hanging, that is, whether it can placed in the margin area at the end of a full line of text.

The defined values for the style:punctuation-wrap attribute are:

The style:punctuation-wrap attribute is usable with the following element: <style:paragraph-properties> 17.6.

The values of the style:punctuation-wrap attribute are simple or hanging.

20.328style:register-true

The style:register-true attribute specifies whether the lines on both sides of a printed page align. The text baselines of text in page columns or text box columns also align.

The defined values for the style:register-true attribute are:

The style:register-true attribute is usable with the following element: <style:paragraph-properties> 17.6.

The style:register-true attribute has the data type boolean 18.3.3.

20.329style:register-truth-ref-style-name

The style:register-truth-ref-style-name attribute specifies a paragraph style. The line distance specified of the paragraph style is used as the reference line distance for all paragraphs that have the register-truth feature enabled.

The style:register-truth-ref-style-name attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:register-truth-ref-style-name attribute has the data type styleNameRef 18.3.32.

20.330style:rel-column-width

The style:rel-column-width attribute specifies a relative width of a column with a number value, followed by a ”*” (U+002A, ASTERISK) character. If rc is the relative with of the column, rs the sum of all relative columns widths, and ws the absolute width that is available for these columns the absolute width wc of the column is wc=rcws/rs.

The style:rel-column-width attribute is usable with the following element: <style:table-column-properties> 17.16.

The style:rel-column-width attribute has the data type relativeLength 18.3.27.

20.331style:rel-height

The style:rel-height attribute specifies the height of a drawing object as a relative value within a frame. The relative value either is a percentage value, the value scale, or the value scale-min.

The defined values for the style:rel-width attribute are:

The interpretation of relative values depends on the anchor of the drawing object. If the anchor for the drawing object is in a table cell, the percentage value is relative to the surrounding table box. If the anchor for the drawing object is in a text box, the percentage value is relative to the surrounding text box. In other cases, the percentage values is relative to the width of the page or window.

To support consumers that do not support relative width and heights, producers should also provide the height in svg:height and fo:min-height attributes.

The style:rel-height attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the style:rel-height attribute are a value of type percent 18.3.23, scale or scale-min.

20.332style:rel-width

20.332.1<style:graphic-properties>

The style:rel-width attribute specifies the relative width of a drawing object. The relative value either is a percentage value, the value scale, or the value scale-min.

The defined values for the style:rel-width attribute are:

The interpretation of the percent value depends on the anchor of the drawing object. If the anchor for the drawing object is in a table cell, the percent value of the surrounding table box. If the anchor for the drawing object is in a text box, the percentage value of the surrounding text box. In all other cases, the percent value of the containing page or window

To support consumers that do not support relative width, producers should also provide the width in a svg:width attribute.

The style:rel-width attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the style:rel-width attribute are a value of type percent 18.3.23, scale or scale-min.

20.332.2<style:table-properties>

The style:rel-width attribute specifies the width of a table relative to the width of the area that the table is in.

The style:rel-width attribute is usable with the following element: <style:table-properties> 17.15.

The style:rel-width attribute has the data type percent 18.3.23.

20.333style:repeat

The style:repeat attribute specifies if an image can be repeated or stretched over an area. The value of the attribute can be no-repeat, repeat, or stretch.

The defined values for the style:repeat attribute are:

The style:repeat attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The values of the style:repeat attribute are no-repeat, repeat or stretch.

20.334style:repeat-content

The style:repeat-content attribute specifies whether text content of a cell is displayed as many times as there is space left in the cell's writing direction. The attribute has no effect for cell content that contains a line break.

The defined values for the style:repeat-content attribute are:

The style:repeat-content attribute is usable with the following element: <style:table-cell-properties> 17.18.

The style:repeat-content attribute has the data type boolean 18.3.3.

20.335style:rfc-language-tag

The style:rfc-language-tag attribute specifies a language identifier according to the rules of [RFC5646], or its successors.

It shall only be used if its value can not be expressed as a valid combination of the fo:language, fo:script and fo:country attributes.

Producers may add support for consumers that don't support the style:rfc-language-tag attribute by specifying fo:language, fo:script and fo:country attributes with values that are implementation-dependent.

The attribute is evaluated for any [UNICODE] characters that are not of type asian or complex. 20.348

The style:rfc-language-tag attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:rfc-language-tag attribute has the data type language 18.3.16.

20.336style:rfc-language-tag-asian

The style:rfc-language-tag-asian attribute specifies a language identifier according to the rules of [RFC5646], or its successors.

It shall only be used if its value can not be expressed as a valid combination of the style:language-asian, style:script-asian and style:country-asian attributes.

Producers may add support for consumers that don't support the style:rfc-language-tag-asian attribute by specifying style:language-asian, style:script-asian and style:country-asian attributes with values that are implementation-dependent.

This attribute is evaluated for [UNICODE] characters that are of type asian. 20.348.

The style:rfc-language-tag-asian attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:rfc-language-tag-asian attribute has the data type language 18.3.16.

20.337style:rfc-language-tag-complex

The style:rfc-language-tag-complex attribute specifies a language identifier according to the rules of [RFC5646], or its successors.

It shall only be used if its value can not be expressed as a valid combination of the style:language-complex, style:script-complex and style:country-complex attributes.

Producers may add support for consumers that don't support the style:rfc-language-tag-complex attribute by specifying style:language-complex, style:script-complex and style:country-complex attributes with values that are implementation-dependent.

This attribute is evaluated for [UNICODE] characters that are of type complex..

The style:rfc-language-tag-complex attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:rfc-language-tag-complex attribute has the data type language 18.3.16.

20.338style:rotation-align

The style:rotation-align attribute specifies how the edge of the text in a cell is aligned after a rotation.

The defined values for the style:rotation-align attribute are shown in Table 21:

Table 21 - Rotation align values

Alignment

Text is...

Borders and background are...

None.

Rotated and aligned within the cell.

Unchanged.

Bottom

Center

Top

Rotated and may overlap with other cells if the text is longer than the length of the cell.

Positioned parallel to the text, whereby the edge that is named by the attribute value aligns with the corresponding edge of the cell's original position.

The style:rotation-align attribute is usable with the following element: <style:table-cell-properties> 17.18.

The values of the style:rotation-align attribute are none, bottom, top or center.

20.339style:rotation-angle

The style:rotation-angle attribute specifies the rotation angle of content. The attribute value is an angle.

If used with a chart style applied to a <chart:axis> element the attribute specifies the rotation of the axis labels, each tick label is rotated, the axis title is not affected in this case.

If used with a chart style applied to a <chart:data-label>, <chart:data-point>, <chart:series> or <chart:plot-area> element the attribute specifies the rotation angle of the according data labels.

If used with a chart style applied to a <chart:title> element the attribute specifies the rotation angle of the title.

The style:rotation-angle attribute is usable with the following elements: <style:chart-properties> 17.22 and <style:table-cell-properties> 17.18.

The style:rotation-angle attribute has the data type angle 18.3.1.

20.340style:row-height

The style:row-height attribute specifies a fixed row height.

The style:row-height attribute is usable with the following element: <style:table-row-properties> 17.17.

The style:row-height attribute has the data type positiveLength 18.3.26.

20.341style:ruby-align

The style:ruby-align attribute specifies the horizontal alignment of the ruby text in relationship to the ruby base.

The defined values for the style:ruby-align attribute are:

The style:ruby-align attribute is usable with the following element: <style:ruby-properties> 17.10.

The values of the style:ruby-align attribute are left, center, right, distribute-letter or distribute-space.

20.342style:ruby-position

The style:ruby-position attribute specifies the vertical position of the ruby text in relationship to the ruby base.

The defined values for the style:ruby-position attribute are:

The style:ruby-position attribute is usable with the following element: <style:ruby-properties> 17.10.

The values of the style:ruby-position attribute are above or below.

20.343style:run-through

The style:run-through attribute specifies whether content of a frame is displayed in the background or foreground.

The value of this attribute can be foreground or background.

The defined values for the style:run-through attribute are:

Use of this attribute depends upon the presence of a style:wrap attribute with the value run-through.

The style:run-through attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the style:run-through attribute are foreground or background.

20.344style:scale-to

The style:scale-to attribute specifies that a document is to be scaled to a percentage value. A value of 100% means no scaling.

If this attribute and style:scale-to-pages are absent, a document is not scaled.

The style:scale-to attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:scale-to attribute has the data type percent 18.3.23.

20.345style:scale-to-pages

The style:scale-to-pages attribute specifies the number of pages on which a document should be printed. The document is scaled to fit a specified number of pages.

If this attribute and style:scale-to are absent, a document is not scaled.

The style:scale-to-pages attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:scale-to-pages attribute has the data type positiveInteger 18.2.

20.346style:script-asian

The style:script-asian attribute specifies the script code of a text. The attribute should be used only if necessary according to the rules of §2.2.3 of [RFC5646], or its successors.

This attribute is evaluated for [UNICODE] characters whose script type is asian. 20.348

It may be ignored if is not specified together with a style:language-asian attribute.

The style:script-asian attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:script-asian attribute has the data type scriptCode 18.3.29.

20.347style:script-complex

The style:script-complex attribute specifies the script code of a text. The attribute should be used only if necessary according to the rules of §2.2.3 of [RFC5646], or its successors.

This attribute is evaluated for [UNICODE] characters whose script type is complex. 20.348

It may be ignored if is not specified together with a style:language-complex attribute.

The style:script-complex attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:script-complex attribute has the data type scriptCode 18.3.29.

20.348style:script-type

The style:script-type attribute specifies which script type dependent attributes ( fo:font-family, style:font-family-asian, style:font-family-complex) are currently active for a portion of text. The attribute may be evaluated by consumers that cannot determine the script types of Unicode characters to select the correct script type dependent formatting properties. Consumers that can determine script types of Unicode characters may also evaluate the attribute and overwrite the script type they determine for certain character with the value of the attribute.

Note: The usage of this attribute simplifies transformations from and to [CSS2]/[XSL] and other formats that do not have script-dependent attributes, and also can be used to assign script-types to weak [UNICODE] characters, where consumers may choose different script types.

The value ignore can be used only within default styles. If it is set, all script-dependent attributes are applied to all script types. This would mean that a fo:font-family would be applied to all script types as well as a style:font-family-asian or style:font-family-complex.

Note: Use of the ignore value simplifies saving documents with producers that do not support a script type.

The defined values for the style:script-type attribute are:

  • asian: all asian script type dependent attributes are active. 

  • complex: all complex script type dependent attributes are active. 

  • ignore: all script type dependent attributes are applied to all script types. This is available on default styles only. 

  • latin: all latin script type dependent attributes are active. 

The mapping of Unicode code points to script types is defined by table 22. Consumers should apply this mapping. For Unicode code points for which no mapping is defined, the mapping is implementation dependent.

Table 22 - Unicode Code Point to Script Type Mapping

Unicode Code Point Ranges

Script Type

U+0003..U+001F, U+0021..U+009F, U+00A1..U+04FF, U+0530..U+058F, U+10A0..U+10FF, U+13A0..U+16FF, U+1E00..U+1FFF, U+2C60..U+2C7F, U+2C80..U+2CE3, U+A720..U+A7FF

latin

U+0590..U+074F, U+0780..U+07BF, U+0900..U+109F, U+1200..U+137F, U+1780..U+18AF, U+FB50..U+FDFF, U+FE70..U+FEFF

complex

U+1100..U+11FF, U+2E80..U+31BF, U+31C0..U+31EF, U+3200..U+4DBF, U+4E00..U+A4CF, U+AC00..U+D7AF, U+F900..U+FAFF, U+FE30..U+FE4F, U+FF00..U+FFEF, U+20000..U+2A6DF, U+2F800..U+2FA1F

asian

The style:script-type attribute specifies which script type dependent attributes are currently active for a portion of text. The attribute may be evaluated by consumers that do not support script types to select the correct script dependent formatting properties. Consumers that support script types may also evaluate the attribute and overwrite the script type they would evaluate for a specific character.

The style:script-type attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:script-type attribute are latin, asian, complex or ignore.

20.349style:shadow

The style:shadow attribute specifies a shadow effect.

The defined values for this attribute are those defined in §7.16.5 of [XSL], except the value inherit.

The shadow effect is not applied to the text content of an element, but depending on the element where the attribute appears, to a paragraph, a text box, a page body, a header, a footer, a table or a table cell.

The style:shadow attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6, <style:table-cell-properties> 17.18 and <style:table-properties> 17.15.

The values of the style:shadow attribute are none or a value of type string 18.2.

20.350style:shrink-to-fit

The style:shrink-to-fit attribute specifies whether content is reduced in size to fit within a cell or drawing object. Shrinking means that the font size of the content is decreased to fit the content into a cell or drawing object. The attribute has no effect on cells where the cell content  already fits into the cell.

The defined values for the style:shrink-to-fit attribute are:

The style:shrink-to-fit attribute is usable with the following elements: <style:graphic-properties> 17.21 and <style:table-cell-properties> 17.18.

The style:shrink-to-fit attribute has the data type boolean 18.3.3.

20.351style:snap-to-layout-grid

The style:snap-to-layout-grid attribute specifies whether the layout of a paragraph should consider the layout grid settings of the page where it appears.

The defined values for the style:snap-to-layout-grid attribute are:

The style:snap-to-layout-grid attribute is usable with the following element: <style:paragraph-properties> 17.6.

The style:snap-to-layout-grid attribute has the data type boolean 18.3.3.

20.352style:tab-stop-distance

The style:tab-stop-distance attribute specifies the distance between default tab stops. A default tab stop is repeated automatically after the specified distance. Default tab stops are only evaluated if they are specified within a default style.

The style:tab-stop-distance attribute is usable with the following element: <style:paragraph-properties> 17.6.

The style:tab-stop-distance attribute has the data type nonNegativeLength 18.3.20.

20.353style:table-centering

The style:table-centering attribute specifies whether tables are centered horizontally and/or vertically on the page. This attribute only applies to spreadsheet documents.

The default is to align the table to the top-left or top-right corner of the page, depending of its writing direction.

The defined values for the style:table-centering attribute are:

The style:table-centering attribute is usable with the following element: <style:page-layout-properties> 17.2.

The values of the style:table-centering attribute are horizontal, vertical, both or none.

20.354style:text-align-source

The style:text-align-source attribute specifies the source of a text-align attribute.

The defined values for the style:text-align-source attribute are:

The default alignment for a cell value-type string is left, for other value-types it is right.

The style:text-align-source attribute is usable with the following element: <style:table-cell-properties> 17.18.

The values of the style:text-align-source attribute are fix or value-type.

20.355style:text-autospace

The style:text-autospace attribute specifies whether to add space between portions of Asian, Western, and complex texts.

The defined values for the style:text-autospace attribute are:

The style:text-autospace attribute is usable with the following element: <style:paragraph-properties> 17.6.

The values of the style:text-autospace attribute are none or ideograph-alpha.

20.356style:text-blinking

The style:text-blinking attribute specifies whether text blinks.

The defined values for the style:text-blinking attribute are:

The style:text-blinking attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:text-blinking attribute has the data type boolean 18.3.3.

20.357style:text-combine

The style:text-combine attribute specifies whether to combine characters so that they are displayed within two lines.

The defined values for the style:text-combine attribute are:

The style:text-combine attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:text-combine attribute are none, letters or lines.

20.358style:text-combine-start-char

The style:text-combine-start-char attribute specifies the start character that is displayed before a portion of text whose style:text-combine attribute has a value of lines.

The style:text-combine-start-char attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:text-combine-start-char attribute has the data type character 18.3.7.

20.359style:text-combine-end-char

The style:text-combine-end-char attribute specifies the end character that is displayed after a portion of text whose style:text-combine attribute has a value of lines.

The style:text-combine-end-char attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:text-combine-end-char attribute has the data type character 18.3.7.

20.360style:text-emphasize

The style:text-emphasize attribute specifies emphasis in a text composed of [UNICODE] characters whose script type is asian. 20.348

The value of this attribute consists of two white space-separated values.

The first value represents the style to use for emphasis and it can be accent, circle, dot, disc or none.

The second value represents the position of the emphasis and it can be above or below. If the first value is none, the second value can be omitted.

The defined values for the style:text-emphasize attribute are:

  • accent: calligraphic accent strokes. 

  • circle: hollow circles. 

  • disc: filled circles. 

  • dot: calligraphic dot. 

  • none: no emphasis marks. 

The style:text-emphasize attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:text-emphasize attribute are none, or two white space separated values. The first of these values is one of: none, accent, dot, circle or disc. The second of these values is one of: above or below.

20.361style:text-line-through-color

The style:text-line-through-color attribute specifies the color that is used for line-through text.

The defined values for the style:text-line-through-color attribute are:

The style:text-line-through-color attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:text-line-through-color attribute are font-color or a value of type color 18.3.9.

20.362style:text-line-through-mode

The style:text-line-through-mode attribute specifies whether lining through is applied to words only or to portions of text.

The defined values for the style:text-line-through-mode attribute are:

The style:text-line-through-mode attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:text-line-through-mode attribute are continuous or skip-white-space.

20.363style:text-line-through-style

The style:text-line-through-style attribute specifies a style for rendering a line-through text.

The defined values for the style:text-line-through-style attribute are:

Note: The definitions of the values of the style:text-line-through-style attribute are based on the text decoration style 'text-line-through-style' from [CSS3Text], §9.2.

The style:text-line-through-style attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:text-line-through-style attribute are none, solid, dotted, dash, long-dash, dot-dash, dot-dot-dash or wave.

20.364style:text-line-through-text

The style:text-line-through-text attribute specifies a text that is used for line-through. The attribute will be evaluated only if the value of style:text-line-through-style attribute is different than none.

If the attribute value is not empty, the attribute value string is used for line-through instead of the line style that has been specified by the style:text-line-through-style attribute. Consumers that do not support line-through with text should ignore the attribute, i and should use the line style specified by the style:text-line-through-style attribute.

Consumers that support line-through with single characters only, should use the first character of the value for line-through, if the style:text-line-through-text attribute value as more than one character. Consumers that support line-through with specific characters only (like ”x” or ”/” (U+002F, SOLIDUS) should use one of these characters if the attribute specifies characters that are not supported.

The style:text-line-through-text attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:text-line-through-text attribute has the data type string 18.2.

20.365style:text-line-through-text-style

The style:text-line-through-text-style specifies a text style that is applied to text-line-through characters. It is not applied to line-through lines. If the attribute appears in an automatic style, it may reference either an automatic text style or a common style. If the attribute appears in a common style, it may reference a common style only.

The style:text-line-through-text-style attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:text-line-through-text-style attribute has the data type styleNameRef 18.3.32.

20.366style:text-line-through-type

The style:text-line-through-type attribute specifies whether text is lined through, and if so, whether a single or double line will be used.

The defined values for the style:text-line-through-type attribute are:

Every occurrence of the style:text-line-through-type attribute should be accompanied by an occurrence of the style:text-line-through-style attribute on the same element. There should not be an occurrence of the style:text-line-through-type attribute if the value of the style:text-line-through-style attribute is none.

The style:text-line-through-type attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:text-line-through-type attribute are none, single or double.

20.367style:text-line-through-width

The style:text-line-through-width attribute specifies the width of a line-through line. The value bold specifies a line width that is calculated from the font sizes like an auto width, but is wider than an auto width.

The defined values for the style:text-line-through-width attribute are:

The line-through text styles referenced by the values dash, medium, thick and thin, are implementation-defined. Thin shall be smaller width than medium and medium shall be a smaller width than thick.

The style:text-line-through-width attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:text-line-through-width attribute are auto, normal, bold, thin, medium, thick, a value of type positiveInteger 18.2, a value of type percent 18.3.23 or a value of type positiveLength 18.3.26.

20.368style:text-outline

The style:text-outline attribute specifies whether to display an outline of text or the text itself.

The defined values for the style:text-outline attribute are:

The style:text-outline attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:text-outline attribute has the data type boolean 18.3.3.

20.369style:text-overline-color

The style:text-overline-color attribute specifies a color that is used to overline text.

The defined values for the style:text-overline-color attribute are:

The style:text-overline-color attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:text-overline-color attribute are font-color or a value of type color 18.3.9.

20.370style:text-overline-mode

The style:text-overline-mode attribute specifies whether overlining is applied to words only or to portions of text.

The defined values for the style:text-line-through-mode attribute are:

The style:text-overline-mode attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:text-overline-mode attribute are continuous or skip-white-space.

20.371style:text-overline-style

The style:text-overline-style attribute specifies a style for rendering a line over text.

The defined values for the style:text-overline-style attribute are:

Note: The definitions of the values of the style:text-overline-style attribute are based on the text decoration style 'text-overline-style' from [CSS3Text], §9.2.

The style:text-overline-style attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:text-overline-style attribute are none, solid, dotted, dash, long-dash, dot-dash, dot-dot-dash or wave.

20.372style:text-overline-type

The style:text-overline-type attribute specifies the type of overlining applied to a text.

The defined values for the style:text-overline-type attribute are:

Every occurrence of the style:text-overline-type attribute should be accompanied by an occurrence of the style:text-overline-style attribute on the same element. There should not be an occurrence of the style:text-overline-type attribute if the value of the style:text-overline-style attribute is none.

The style:text-overline-type attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:text-overline-type attribute are none, single or double.

20.373style:text-overline-width

The style:text-overline-width attribute specifies the width of an overline. The value bold specifies a line width that is calculated from the font sizes like an auto width, but is wider than an auto width.

The defined values for the style:text-overline-width attribute are:

The overline text styles referenced by the values dash, medium, thick and thin, are implementation-defined. Thin shall be smaller width than medium and medium shall be a smaller width than thick.

The style:text-overline-width attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:text-overline-width attribute are auto, normal, bold, thin, medium, thick, a value of type positiveInteger 18.2, a value of type percent 18.3.23 or a value of type positiveLength 18.3.26.

20.374style:text-position

The style:text-position attribute specifies whether text is positioned above or below the baseline and to specify the relative font height that is used for this text.

This attribute can have one or two values.

The first value shall be present and specifies the vertical text position as a percentage of the current font height or it takes one of the values sub or super. Negative percentages or the sub value place the text below the baseline. Positive percentages or the super value place the text above the baseline. If sub or super is specified, the consumer chooses an appropriate text position.

The second value may be present and specifies the font height as a percentage of the current font-height. If this value is not specified, an appropriate font height is used.

The style:text-position attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:text-position attribute has one or two white space separated values. The first values is of type percent 18.3.23, or is one of: super or sub. The second value is of type percent 18.3.23.

20.375style:text-rotation-angle

The style:text-rotation-angle attribute specifies an angle to which text is rotated. The value of this attribute can be any integer, which specifies the rotation angle in degrees, or an angle as specified in angle. 18.3.1

If more than one character is selected, the entire selection is rotated as a block.

The style:text-rotation-angle attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:text-rotation-angle attribute has the data type angle 18.3.1.

20.376style:text-rotation-scale

The style:text-rotation-scale attribute specifies whether for rotated text the width of the text should be scaled to fit into the current line height or the width of the text should remain fixed, therefore changing the current line height.

The defined values for the style:text-rotation-scale attribute are:

The style:text-rotation-scale attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:text-rotation-scale attribute are fixed or line-height.

20.377style:text-scale

The style:text-scale attribute specifies whether to decrease or increase the width of text by scaling the font width.

The style:text-scale attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:text-scale attribute has the data type percent 18.3.23.

20.378style:text-underline-color

The style:text-underline-color attribute specifies a color that is used to underline text. The value of this attribute is either font-color or a color.

The defined values for the style:text-underline-color attribute are:

The style:text-underline-color attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:text-underline-color attribute are font-color or a value of type color 18.3.9.

20.379style:text-underline-mode

The style:text-underline-mode attribute specifies whether underlining is applied to words only or to portions of text. If underlining is applied to text portions, the spaces between words and the words are underlined.

The defined values for the style:text-underline-mode attribute are:

The style:text-underline-mode attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:text-underline-mode attribute are continuous or skip-white-space.

20.380style:text-underline-style

The style:text-underline-style attribute specifies a style for underlining text.

The defined values for the style:text-underline-style attribute are:

Note: The definitions of the values of the style:text-underline-style attribute are based on the text decoration style 'text-underline-style' from [CSS3Text], §9.2.

The style:text-underline-style attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:text-underline-style attribute are none, solid, dotted, dash, long-dash, dot-dash, dot-dot-dash or wave.

20.381style:text-underline-type

The style:text-underline-type attribute specifies the type of underlining applied to a text.

The defined values for the style:text-underline-type attribute are:

Every occurrence of the style:text-underline-type attribute should be accompanied by an occurrence of the style:text-underline-style attribute on the same element. There should not be an occurrence of the style:text-underline-type attribute if the value of the style:text-underline-style attribute is none.

The style:text-underline-type attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:text-underline-type attribute are none, single or double.

20.382style:text-underline-width

The style:text-underline-width attribute specifies the width of an underline. The value bold specifies a line width that is calculated from the font sizes like an auto width, but is wider than an auto width.

The defined values for the style:text-underline-width attribute are:

The underline text styles referenced by the values dash, medium, thick and thin, are implementation-defined. Thin shall be smaller width than medium and medium shall be a smaller width than thick.

The style:text-underline-width attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the style:text-underline-width attribute are auto, normal, bold, thin, medium, thick, a value of type positiveInteger 18.2, a value of type percent 18.3.23 or a value of type positiveLength 18.3.26.

20.383style:use-optimal-column-width

The style:use-optimal-column-width attribute specifies that a column width should be recalculated automatically if content in the column changes.

The defined values for the style:use-optimal-column-width attribute are:

The style:use-optimal-column-width attribute is usable with the following element: <style:table-column-properties> 17.16.

The style:use-optimal-column-width attribute has the data type boolean 18.3.3.

20.384style:use-optimal-row-height

The style:use-optimal-row-height attribute specifies that a row height should be recalculated automatically if content in the row changes.

The defined values for the style:use-optimal-row-height attribute are:

The style:use-optimal-row-height attribute is usable with the following element: <style:table-row-properties> 17.17.

The style:use-optimal-row-height attribute has the data type boolean 18.3.3.

20.385style:use-window-font-color

The style:use-window-font-color attribute specifies whether the window foreground color should be used as the foreground color for a light background color and white for a dark background color. The determination of light or dark color is implementation-defined.

The defined values for the style:use-window-font-color attribute are:

The style:use-window-font-color attribute is usable with the following element: <style:text-properties> 16.27.28.

The style:use-window-font-color attribute has the data type boolean 18.3.3.

20.386style:vertical-align

20.386.1<style:paragraph-properties>

The style:vertical-align attribute specifies the vertical position of a character. By default characters are aligned according to their baseline.

The defined values for the style:vertical-align attribute are:

The style:vertical-align attribute is usable with the following element: <style:paragraph-properties> 17.6.

The values of the style:vertical-align attribute are top, middle, bottom, auto or baseline.

20.386.2<style:table-cell-properties>

The style:vertical-align attribute specifies the vertical alignment of text in a table cell. The options for the vertical alignment attribute are as follows:

The defined values for the style:vertical-align attribute are:

The style:vertical-align attribute is usable with the following element: <style:table-cell-properties> 17.18.

The values of the style:vertical-align attribute are top, middle, bottom or automatic.

20.387style:vertical-pos

The style:vertical-pos attribute specifies the vertical alignment of a frame relative to a specific area.

The defined values for the style:vertical-pos attribute are:

The style:vertical-pos attribute is usable with the following elements: <style:graphic-properties> 17.21 and <style:list-level-properties> 17.19.

The values of the style:vertical-pos attribute are top, middle, bottom, from-top or below.

20.388style:vertical-rel

The style:vertical-rel attribute specifies the area against which the vertical position of a frame is positioned.

The defined values for the style:vertical-rel attribute are:

baseline: vertical position of frame positioned relative to a baseline.

char: vertical position of frame positioned relative to a character.

frame: vertical position of frame positioned relative to a frame.

frame-content: vertical position of frame positioned relative to frame content.

line: vertical position of frame positioned relative to a line.

page: vertical position of frame positioned relative to a page.

page-content: vertical position of frame positioned relative to page content.

paragraph: vertical position of frame positioned relative to a paragraph.

paragraph-content: vertical position of frame positioned relative to paragraph content.

text: vertical position of frame positioned relative to text.

Table 23 displays the defined values of style:vertical-rel and text:anchor-type attributes. Value combinations that can appear in a document are marked with an X.

Table 23 - Vertical Relation Values

Value of style:vertical-rel

Value of text:anchor-type

page

frame

paragraph

char

as-char

baseline

 

 

 

 

X

char

 

 

 

X

X

frame

 

X

 

 

 

frame-content

 

X

 

 

 

line

 

 

 

 

X

page

X

 

X

X

 

page-content

X

 

X

X

 

paragraph

 

 

X

X

 

paragraph-content

 

 

X

X

 

text

 

 

 

 

X

The style:vertical-rel attribute is usable with the following elements: <style:graphic-properties> 17.21 and <style:list-level-properties> 17.19.

The values of the style:vertical-rel attribute are page, page-content, frame, frame-content, paragraph, paragraph-content, char, line, baseline or text.

20.389style:width

The style:width attribute specifies the fixed width of a table. Every table shall have a fixed width.

The style:width attribute is usable with the following element: <style:table-properties> 17.15.

The style:width attribute has the data type positiveLength 18.3.26.

20.390style:wrap

The style:wrap attribute specifies how text is displayed around a frame or graphic object.

The defined values for the style:wrap attribute are:

The style:wrap attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the style:wrap attribute are none, left, right, parallel, dynamic, run-through or biggest.

20.391style:wrap-contour

The style:wrap-contour attribute specifies whether text wraps around an object or the bounding box of the object.

The defined values for the style:wrap-contour attribute are:

This is called contour wrapping.

The style:wrap-contour attribute is usable with the following element: <style:graphic-properties> 17.21.

The style:wrap-contour attribute has the data type boolean 18.3.3.

20.392style:wrap-contour-mode

The style:wrap-contour-mode attribute specifies the nature of the wrapping of text around the contour of a shape.

This attribute shall be evaluated only by frames/drawing shapes or styles with non-empty style:wrap and style:wrap-contour attributes.

The defined values for the style:wrap-contour-mode attribute are:

The style:wrap-contour-mode attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the style:wrap-contour-mode attribute are full or outside.

20.393style:wrap-dynamic-threshold

The style:wrap-dynamic-threshold attribute specifies the minimum distance between the page or column border and the object for which wrapping will be enabled. It is evaluated only if a style:wrap attribute, with the value dynamic, appears on the same <style:graphic-properties> element.

The style:wrap-dynamic-threshold attribute is usable with the following element: <style:graphic-properties> 17.21.

The style:wrap-dynamic-threshold attribute has the data type nonNegativeLength 18.3.20.

20.394style:writing-mode

20.394.1General

The style:writing-mode attribute specifies a writing mode for an element.

20.394.2<style:graphic-properties>

See §7.27.7 of [XSL] with the additional value of page.

The defined value of style:writing-mode attribute is page: writing mode is inherited from the page that contains the element where this attribute appears.

The style:writing-mode attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the style:writing-mode attribute are lr-tb, rl-tb, tb-rl, tb-lr, lr, rl, tb or page.

20.394.3<style:page-layout-properties>

See §7.27.7 of [XSL].

The defined value for the style:writing-mode attribute is page: writing mode is inherited from the page that contains the element where this attribute appears.

The style:writing-mode attribute is usable with the following element: <style:page-layout-properties> 17.2.

The values of the style:writing-mode attribute are lr-tb, rl-tb, tb-rl, tb-lr, lr, rl, tb or page.

20.394.4<style:paragraph-properties>

See §7.27.7 of [XSL] with the additional value of page.

The defined value for the style:writing-mode attribute is page: writing mode is inherited from the page that contains the element where this attribute appears.

The style:writing-mode attribute is usable with the following element: <style:paragraph-properties> 17.6.

The values of the style:writing-mode attribute are lr-tb, rl-tb, tb-rl, tb-lr, lr, rl, tb or page.

20.394.5<style:section-properties>

See §7.27.7 of [XSL] with the additional value of page.

The defined value for the style:writing-mode attribute is page: writing mode is inherited from the page that contains the element where this attribute appears.

The style:writing-mode attribute is usable with the following element: <style:section-properties> 17.11.

The values of the style:writing-mode attribute are lr-tb, rl-tb, tb-rl, tb-lr, lr, rl, tb or page.

20.394.6<style:table-cell-properties>

See §7.27.7 of [XSL] with the additional value of page.

The defined value for the style:writing-mode attribute is page: writing mode is inherited from the page that contains the element where this attribute appears.

The style:writing-mode attribute is usable with the following element: <style:table-cell-properties> 17.18.

The values of the style:writing-mode attribute are lr-tb, rl-tb, tb-rl, tb-lr, lr, rl, tb or page.

20.394.7<style:table-properties>

See §7.27.7 of [XSL] with the additional value of page.

The defined value for the style:writing-mode attribute is page: writing mode is inherited from the page that contains the element where this attribute appears.

The style:writing-mode attribute is usable with the following element: <style:table-properties> 17.15.

The values of the style:writing-mode attribute are lr-tb, rl-tb, tb-rl, tb-lr, lr, rl, tb or page.

20.395style:writing-mode-automatic

The style:writing-mode-automatic attribute specifies whether a consumer may recalculate the writing mode of a paragraph based on its content whenever the content is edited.

The writing-mode should be specified in a style:writing-mode attribute.

If the fo:text-align with value start, text alignment can be adapted to the writing mode.

The defined values for the style:writing-mode-automatic attribute are:

The style:writing-mode-automatic attribute is usable with the following element: <style:paragraph-properties> 17.6.

The style:writing-mode-automatic attribute has the data type boolean 18.3.3.

20.396svg:fill-rule

See §11.3 of [SVG].

OpenDocument does not support the value inherit.

The svg:fill-rule attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The values of the svg:fill-rule attribute are nonzero or evenodd.

20.397svg:height

20.397.1<style:graphic-properties>

The svg:height attribute specifies a default height for new frames that are created using the graphics style. See 19.539.

The svg:height attribute is usable with the following element: <style:graphic-properties> 17.21.

The svg:height attribute has the data type length 18.3.18.

20.397.2<style:header-footer-properties>

The svg:height attribute specifies the height of a header or footer.

The svg:height attribute is usable with the following element: <style:header-footer-properties> 17.5.

The svg:height attribute has the data type length 18.3.18.

20.398svg:stroke-color

The svg:stroke-color attribute specifies the color of a stroke.

The svg:stroke-color attribute is usable with the following element: <style:graphic-properties> 17.21.

The svg:stroke-color attribute has the data type color 18.3.9.

20.399svg:stroke-opacity

The svg:stroke-opacity attribute specifies the opacity of a stroke. The value of this attribute can be a number between 0 (fully transparent) and 1 (fully opaque) or a percentage value in the range 0% to 100%.

The svg:stroke-opacity attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the svg:stroke-opacity attribute are a value of type double 18.2 in the range [0,1] or a value of type zeroToHundredPercent 18.3.41.

20.400svg:stroke-width

The svg:stroke-width attribute specifies the width of a stroke.

The svg:stroke-width attribute is usable with the following element: <style:graphic-properties> 17.21.

The svg:stroke-width attribute has the data type length 18.3.18.

20.401svg:x

The svg:x attribute specifies a default horizontal position for new frames that are created using the graphics style. See 19.573.

The svg:x attribute is usable with the following element: <style:graphic-properties> 17.21.

The svg:x attribute has the data type coordinate 18.3.10.

20.402svg:y

20.402.1<style:graphic-properties>

The svg:y attribute specifies a default vertical position for new frames that are created using the graphics style. See 19.577.

The svg:y attribute is usable with the following element: <style:graphic-properties> 17.21.

The svg:y attribute has the data type coordinate 18.3.10.

20.402.2<style:list-level-properties>

The svg:y attribute specifies the vertical position of a bullet image.

The svg:y attribute is usable with the following element: <style:list-level-properties> 17.19.

The svg:y attribute has the data type coordinate 18.3.10.

20.403svg:width

The svg:width attribute specifies a default width for new frames that are created using the graphics style. See 19.571.

The svg:width attribute is usable with the following element: <style:graphic-properties> 17.21.

The svg:width attribute has the data type length 18.3.18.

20.404table:align

The table:align attribute specifies the horizontal alignment of a table.

The defined values for the table:align attribute are:

Consumers that do not support the margins value, may treat this value as left.

The table:align attribute is usable with the following element: <style:table-properties> 17.15.

The values of the table:align attribute are left, center, right or margins.

20.405table:border-model

The table:border-model attribute specifies what border model to use when creating a table with a border.

The defined values for the table:border-model attribute are:

In OpenDocument, a row height or column width includes any space required to display borders or padding. This means that, while the width and height of the content area is less than the column width and row height, the sum of the widths of all columns is equal to the total width of the table.

The table:border-model attribute is usable with the following element: <style:table-properties> 17.15.

The values of the table:border-model attribute are collapsing or separating.

20.406table:display

The table:display attribute specifies whether a table is displayed.

The defined values for the table:display attribute are:

The table:display attribute is usable with the following element: <style:table-properties> 17.15.

The table:display attribute has the data type boolean 18.3.3.

20.407text:anchor-page-number

The text:anchor-page-number attribute specifies the physical page number of an anchor if the drawing object is bound to a page within a text document.

The text:anchor-page-number attribute is usable with the following element: <style:graphic-properties> 17.21.

The text:anchor-page-number attribute has the data type positiveInteger 18.2.

20.408text:anchor-type

The text:anchor-type attribute specifies how a frame is bound to a text document. The anchor position is the point at which a frame is bound to a text document.

The defined values for the text:anchor-type attribute are shown in Table 24.

Table 24 - Text anchor positions

If the value of the text:anchor-type attribute is ...

The anchor position is...

The drawing shape element appears ...

Notes

as-char

There is no anchor position. The drawing shape behaves like a character.

At the position where the character appears in the document.

 

char

The character after the drawing shape element.

Just before the character.

 

frame

The parent text box that the current drawing shape element is contained in.

In the element representing the text box to which the drawing object is bound.

If an image is bound to a text box, the image element is located in the text box element.

 

page

The page that has the same physical page number as the value of the text:anchor-page-number attribute that is attached to the drawing shape element. If no text:anchor-page-number attribute is given, the anchor position is the page at which the character behind the drawing object element appears.

Either

  • At the start of the document body, outside any paragraph or frame, provided a text:anchor-page-number attribute is given. 

Or

  • Inside any paragraph element that is not contained in a header, footer, footnote, or text box, if a text:anchor-page-number attribute is not given. 

The physical page number is the number assigned to the page if all pages in the document are counted starting with page 1.

paragraph

The paragraph that the current drawing shape element is contained in.

At the start of the paragraph element.

 

The text:anchor-type attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the text:anchor-type attribute are page, frame, paragraph, char or as-char.

20.409text:animation

The text:animation attribute specifies the type of animation that is used for a text.

The defined values for the text:animation attribute are:

The text:animation attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the text:animation attribute are none, scroll, alternate or slide.

20.410text:animation-delay

The text:animation-delay attribute specifies a delay before an animation is started.

The text:animation-delay attribute is usable with the following element: <style:graphic-properties> 17.21.

The text:animation-delay attribute has the data type duration 18.2.

20.411text:animation-direction

The text:animation-direction attribute specifies the scroll direction of animated text.

The defined values for the text:animation-direction attribute are:

The text:animation-direction attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the text:animation-direction attribute are left, right, up or down.

20.412text:animation-repeat

The text:animation-repeat attribute specifies the number of times an animation is repeated. If the value of the attribute is 0, the animation is repeated indefinitely.

The text:animation-repeat attribute is usable with the following element: <style:graphic-properties> 17.21.

The text:animation-repeat attribute has the data type nonNegativeInteger 18.2.

20.413text:animation-start-inside

The text:animation-start-inside attribute specifies if a text animation starts inside or outside a shape.

The defined values for the text:animation-start-inside attribute are:

The text:animation-start-inside attribute is usable with the following element: <style:graphic-properties> 17.21.

The text:animation-start-inside attribute has the data type boolean 18.3.3.

20.414text:animation-steps

The text:animation-steps attribute specifies the distance by which text is moved within a scrolling step.

The text:animation-steps attribute is usable with the following element: <style:graphic-properties> 17.21.

The text:animation-steps attribute has the data type length 18.3.18.

20.415text:animation-stop-inside

The text:animation-stop-inside attribute specifies if a text animation stops inside or outside a shape.

The defined values for the text:animation-stop-inside attribute are:

The text:animation-stop-inside attribute is usable with the following element: <style:graphic-properties> 17.21.

The text:animation-stop-inside attribute has the data type boolean 18.3.3.

20.416text:condition

The text:condition attribute specifies the display of text.

The defined value of the text:condition attribute is none, which means text is hidden.

The text:condition attribute is usable with the following element: <style:text-properties> 16.27.28.

The only value of the text:condition attribute is none.

20.417text:display

The text:display attribute specifies whether text is hidden.

The defined values for the text:display attribute are:

The text:display attribute is usable with the following element: <style:text-properties> 16.27.28.

The values of the text:display attribute are true, none or condition.

20.418text:dont-balance-text-columns

The text:dont-balance-text-columns attribute specifies whether the text column content should be evenly distributed over all text columns or not.

The defined values for the text:dont-balance-text-columns attribute are:

The text:dont-balance-text-columns attribute is usable with the following element: <style:section-properties> 17.11.

The text:dont-balance-text-columns attribute has the data type boolean 18.3.3.

20.419text:line-break

The text:line-break attribute specifies whether word wrapping is allowed for axis labels.

This attribute is evaluated for a chart style that is applied to a <chart:axis> element.

The defined values for the text:line-break attribute are:

The text:line-break attribute is usable with the following element: <style:chart-properties> 17.22.

The text:line-break attribute has the data type boolean 18.3.3.

20.420text:line-number

The text:line-number attribute specifies a new start value for line numbering, if a text:number-lines attribute, with the value true, appears on the same <style:paragraph-properties> element. Otherwise, this attribute shall be ignored.

The text:line-number attribute is usable with the following element: <style:paragraph-properties> 17.6.

The text:line-number attribute has the data type nonNegativeInteger 18.2.

20.421text:list-level-position-and-space-mode

The text:list-level-position-and-space-mode attribute specifies how the position and spacing of the list labels (numbers or bullets) is defined.

The defined values for the text:list-level-position-and-space-mode attribute are:

The default value of the text:list-level-position-and-space-mode attribute is label-width-and-position.

The text:list-level-position-and-space-mode attribute is usable with the following element: <style:list-level-properties> 17.19.

The values of the text:list-level-position-and-space-mode attribute are label-width-and-position or label-alignment.

20.422text:min-label-distance

The text:min-label-distance attribute specifies the minimum distance between a number and a list item.

The content of a list label is rendered inside a specified minimum width - text:min-label-width. 20.423 The text of a list item is rendered following the label width area. If the distance between a list label and the text of a list item is smaller than the value of the text:min-label-distance attribute, the following actions are performed. First, the content of the list label is moved inside the specified minimum label width up to the value of the text:min-label-distance attribute. If that does not result in a value equal to the text:min-label-distance attribute, the text of the list item is moved until the distance between the list label and text of list item equals the value of the text:min-label-distance attribute.

This attribute can be associated with a formatting properties element that is contained in a <text:list-level-style-*> element.

The attribute will be evaluated only if the text:list-level-position-and-space-mode attribute has the value label-width-and-position or is not present.

The text:min-label-distance attribute is usable with the following element: <style:list-level-properties> 17.19.

The text:min-label-distance attribute has the data type nonNegativeLength 18.3.20.

20.423text:min-label-width

The text:min-label-width attribute specifies the minimum width of a list label.

This attribute can be associated with a formatting properties element that is contained in a <text:list-level-style-*> element.

The list label can be aligned horizontally within the specified minimum width using the fo:text-align attribute. If the actual width of the list label is greater than the specified minimum width no alignment takes place.

The attribute will be evaluated only if the text:list-level-position-and-space-mode attribute has the value label-width-and-position or is not present.

The text:min-label-width attribute is usable with the following element: <style:list-level-properties> 17.19.

The text:min-label-width attribute has the data type nonNegativeLength 18.3.20.

20.424text:number-lines

The text:number-lines attribute specifies whether lines are numbered.

The defined values for the text:number-lines attribute are:

The text:number-lines attribute is usable with the following element: <style:paragraph-properties> 17.6.

The text:number-lines attribute has the data type boolean 18.3.3.

20.425text:space-before

The text:space-before attribute specifies the space to include before a number for all paragraphs at a specified level. If a paragraph has a left margin greater than 0, the position of the list label box is the left margin width plus the start indent value.

This attribute can be associated with a formatting properties element that is contained in a <text:list-level-style-*> element.

This attribute is evaluated only if the text:list-level-position-and-space-mode attribute has the value label-width-and-position or is not present.

The text:space-before attribute is usable with the following element: <style:list-level-properties> 17.19.

The text:space-before attribute has the data type length 18.3.18.

  1. Appendix A. OpenDocument Relax NG Schema 

The OpenDocument Relax-NG (see [RNG]) schema is defined by a separate document, whose location can be found in the Related work section on the introductory pages.

  1. Appendix B. OpenDocument Metadata Manifest Ontology 

The OpenDocument metadata manifest ontology is defined by a separate document, whose location can be found in the Related work section on the introductory pages.

  1. Appendix C. MIME Types and File Name Extensions (Non Normative) 

The following table contains a list of MIME types and file name extensions for OpenDocument documents, that, at the time this specification is published, have been registered according to [RFC4288]. Please see [MIMETYPES] for a current list of registered MIME types.

Registered MIME types are for use with documents contained in OpenDocument packages.

Table 25 - Registered MIME types

MIME type

Ext.

Description

application/vnd.oasis.opendocument.text

odt

Text document

application/
 vnd.oasis.opendocument.text-template

ott

Text document used as template

application/vnd.oasis.opendocument.graphics

odg

Graphics document (Drawing)

application/
 vnd.oasis.opendocument.graphics-template

otg

Drawing document used as template

application/vnd.oasis.opendocument.presentation

odp

Presentation document

application/
 vnd.oasis.opendocument.presentation-template

otp

Presentation document used as template

application/vnd.oasis.opendocument.spreadsheet

ods

Spreadsheet document

application/
 vnd.oasis.opendocument.spreadsheet-template

ots

Spreadsheet document used as template

application/vnd.oasis.opendocument.chart

odc

Chart document

application/
 vnd.oasis.opendocument.chart-template

otc

Chart document used as template

application/vnd.oasis.opendocument.image

odi

Image document

application/
 vnd.oasis.opendocument.image-template

oti

Image document used as template

application/vnd.oasis.opendocument.formula

odf

Formula document

application/
 vnd.oasis.opendocument.formula-template

otf

Formula document used as template

application/vnd.oasis.opendocument.text-master

odm

Global Text document. See section 19.806.

application/vnd.oasis.opendocument.text-web

oth

Text document used as template for HTML documents

The following table contains a list of MIME types and file name extensions for office documents that conform to this specification where a registration according to [RFC4288] is in progress at the time this specification is published.

Please check [MIMETYPES] before using these MIME types. If a MIME type is not listed there, the MIME type that is the result of inserting "x-" behind the "/" (U+002F, SOLIDUS) character (application/x-vnd.oasis.opendocument.text) should be used.

Table 26 - Recommended MIME types

MIME type

Ext.

Description

application/vnd.oasis.opendocument.base

odb

Database front end document

  1. Appendix D. Accessibility Guidelines (Non Normative) 

    1. D.1.Title, Description and Caption of Graphical Elements 

OpenDocument provides conventions to support accessible names, descriptions and captions for graphical elements.

Accessible names, if available, are represented by the <svg:title> element. 10.3.17 If the <svg:title> element is not available, any text referenced by a draw:caption-id attribute is used as the title. 19.115

When transforming from another document format to OpenDocument the short names, like HTML's alt text on the <img> elements shall be mapped to the <svg:title> element.

User agents shall not manufacture names for the <svg:title> element, such as using the drawing object name followed by a cardinal number in a string as it is used for accessibility. Such name assignments provide no semantic meaning to the user.

Accessible descriptions, if available, are represented by the <svg:desc> element. 10.3.18

If a user agent supports relationships between graphic elements and their captions, the value of the draw:caption-id attribute for a graphical element should be used to for that relationship. 19.115

      1. D.1.1.Guidance for authors 

Authors should not assign names to objects having no semantic value. If no name is assigned the caption text will be used in its place. The <svg:title> element shall take precedence over the caption text for accessible name assignment by the user agent.

Assignment of the long description should only be necessary when a drawing object is significantly complex and the user needs more information to describe it. Long descriptions would be more applicable to drawing groupings than basic drawing shapes.

      1. D.1.2.Authoring tool responsibility for presenting and prompting for the <svg:title> and <svg:desc> elements 

Authoring tools should provide an option from an objects context menu to allow the user to enter the text for either of these elements as a minimum. More proactive authoring tools should have a facility for prompting the author for this text. Since the <svg:desc> element is a long description, a text area vs. a text field should be used to prompt the user accordingly in GUI-based authoring tools like office applications.

Navigation tools used to list the objects in the view should provide the type of object followed by the contents of <svg:title> element.

For <draw:g> elements the drawing objects which are members of the group should visible only when the group is expanded.

    1. D.2.Hyperlink Titles 

When transforming from another document format to OpenDocument the alt text of hyperlinks, shall be mapped to the office:title attribute of <text:a> elements (see 6.1.8) or <draw:a> elements. 18.3.41 When exporting OpenDocument documents to HTML, the contents of title text should be mapped to title attribute text on HTML anchor tags. As a minimum, authoring tools should provide a mechanism to provide the hint text.

The title text should be made accessible to the assistive technology and user. The user agent should allow for programmatic access through standard accessibility APIs such as the accessible description. Users should experience visible access to the hint text via the keyboard or mouse.

    1. D.3.Tables in Presentations 

Users importing non-OpenDocument slides that contain tables need access to the table structure via their assistive technology. Therefore tables imported into an OpenDocument application from another file format must have their structure preserved, and when saved as OpenDocument should be saved as as embedded spreadsheets.

    1. D.4.Further Guidelines 

Additional, non-normative Accessibility Guidelines are available at: http://docs.oasis-open.org/office/office-accessibility/guidelines. That more comprehensive document will be the up-to-date set of recommendations for what all OpenDocument applications should do in order to fully support accessibility.

  1. Appendix E. Bidirectional (BiDi) Scripts,Numeric Digits Presentation and Calendars (Non Normative) 

This appendix specifies how bidirectional (BiDi) scripts and related information are represented in OpenDocument.

    1. E.1.Paragraph and Layout Direction 

In OpenDocument, the direction of text runs inside a paragraph is calculated using the Unicode BiDi Algorithm. See [UAX9]. The paragraph direction, as required by the BiDi Algorithm (see BD5 of [UAX9]), and the display direction of layout objects like table or page columns (in the following called layout direction) is controlled by a writing mode attribute (style:writing-mode) that can be used within styles.

The writing mode attribute can be applied individually to paragraph styles, page styles, section styles, table styles, table cell styles, graphic styles and chart styles. If present within a paragraph style, it controls the paragraph direction of those paragraphs, to which the style is applied. If present within a page style, section style, table style, table cell style, graphic style or chart style, it controls the layout direction of those pages, text sections, tables, table cells, text-boxes and chart objects to which the styles is applied.

Section 20.394 specifies the style:writing-mode attribute for page styles. It may, among other values, take the values lr-tb (left-to-right, top-to-bottom) and rl-tb (right-to-left, top-to-bottom). The writing-mode attribute of a page style specifies the layout direction of page columns (left-to-right or right-to-left) for pages that are formatted using the page style.

Section 20.394 specifies the style:writing-mode attribute for paragraph styles. It specifies the paragraph direction as defined in BD5 of [UAX9] for all paragraphs that have the paragraph style assigned. For paragraphs that are contained in lists, it further specifies whether the list numbers and bullets are displayed on the left or on the right of the paragraph.

The writing mode attribute for paragraph styles takes the same values as the writing mode attribute for page styles, but may also take the value page. This value specifies that the paragraph direction is inherited from the layout direction of the closest layout object (section, table or text-box) in which the paragraph is contained, and which has a layout direction other than page. If the paragraph is not contained in any of these layout objects, the paragraph direction is inherited from the page on which the paragraph appears.

The paragraph direction specifies the default bidirectional orientation of the text in that paragraph. The result of the BiDi Algorithm can be manually changed by inserting BiDi embedding control characters (U+202A ... U+202E) and implicit directional marks (U+200E ...U+200F) into the text. See [UTR20].

OpenDocument further has a style:writing-mode-automatic attribute (described in section 20.395) that specifies that a consumer is allowed to recalculate the value of the paragraph's writing-mode attribute based on its content whenever the content changes.

Section 20.394 specifies the style:writing-mode attribute for section styles. It may take the same values as the writing mode attribute for paragraph styles.

The writing-mode attribute of a section style specifies the layout direction of section columns (left-to-right or right-to-left) for text sections that have the section style assigned. If the attribute value is page the layout direction is inherited from the layout direction of the closest layout object (section, table, table-cell or text-box) in which the section is contained, and which has a layout direction other than page.

Section 20.394 specifies the style:writing-mode attribute for table styles. It may take the same values as the writing mode attribute for paragraph styles.

The writing-mode attribute of a table style specifies the layout direction of table cells (left-to-right or right-to-left) for tables that have the table style assigned. If the attribute value is page the layout direction is inherited from the layout direction of the closest layout object (section, table, table-cell or text-box) in which the table is contained, and which has a layout direction other than page.

Section 20.394 specifies the style:writing-mode attribute for table cell styles. It may take the same values as the writing mode attribute for paragraph styles.

The writing-mode attribute of a table cell style specifies the layout direction of table cells (left-to-right or right-to-left) that have the table style assigned. If the attribute value is page the layout direction is inherited from the layout direction of the closest layout object (table, section or text-box) in which the table is contained, and which has a layout direction other than page.

Section 20.394 specifies the style:writing-mode attribute for graphic styles. It may take the same values as the writing mode attribute for paragraph styles.

The writing-mode attribute of a graphic style specifies the layout direction of columns (left-to-right or right-to-left) for text-boxes that have the graphic style assigned. If the attribute value is page the layout direction for text-boxes that are anchored to a page is inherited from the layout direction of the page on which the text-box is displayed. For text-boxes that have a different anchor type, the layout direction is inherited from the paragraph direction of the paragraph that contains the text-box.

The writing mode for chart styles is described by the same attribute as for paragraph styles. See 20.394.

    1. E.2.Numeric Digits Presentation and Calendars 

All digits that have a Unicode code point can be included in an OpenDocument document.

Note 1:  office application have a feature that allows the user to specify whether the ASCII digits U+0030 ... U+0039 should be displayed as Latin-Indic digits or as Arabic-Indic digits (U+0660 ... U+0669). Since this feature effects only what digits are displayed and does not influence the representation of digits in the document itself, OpenDocument only allows storing this setting as an implementation-dependent setting, not as document or style content.

For list numbers, that are calculated automatically, OpenDocument provides a generic mechanism to specify the applicable numbering systems. See 19.500.

Note 2: The specification currently mentions only "1, 2, 3...", "I, II, III...", and "i, ii, iii" explicitly, but the schema also allows a generic string value.

OpenDocument further supports data styles, which describe how different types of data are displayed, for example, a number or a date. Data styles are described in section 16.27. The presentation of numeric digits can be controlled by the transliteration attributes described in sections 19.361-19.364. The presentation of date information can be controlled by the number:calendar attribute specified in section 19.347.

  1. Appendix F. Recommended Usage of SMIL 

The following sections describe the usage of SMIL animation elements that enables an office application to present the animation elements in a simple and easy to use UI to the user. This UI may contain a single main sequence of effects, and in addition to this, multiple sequences of effects that are started as interactions on drawing shapes. An effect is a combination of one or more animation elements that animate a single shape and or a shape's paragraphs.

In user interfaces, effects should be creatable by using presets that have localized and meaningful names. This way, the user will not work on a hierarchy of SMIL animation elements, but on one dimensional lists of effects, which are much easier to handle for the office application users.

    1. F.1.Slide Animation 

Each <draw:page> element may have an <anim:par> element that defines the animation of that page during a running slideshow. This <anim:par> element should contain one <anim:seq> element which is the main sequence for shape effects and zero or more <anim:seq> elements that define interactive sequences for shapes that contain animation interactions. The animation elements are executed after the slide has executed its initial transition.

The <anim:par> element may further contain an <anim:par> element that defines the slide transition. Its smil:begin attribute shall have the value <id>.begin, where <id> is the id of the slide's <draw:page> element itself. This <anim:par> element can contain basic animation elements as defined in chapter 15. These elements shall specify the <draw:page> element itself as target. If such an <anim:par> element for slide transitions is present, it overrides the following presentation page formatting properties:

  • <presentation:sound>. See 10.8.2. 

  • presentation:transition-speed. See 20.231. 

  • presentation:transition-style. See 20.232. 

  • presentation:transition-type. See 20.233. 

For backward compatibility reasons, producers that use an <anim:par> element to define the slide transition should also add the above presentation page formatting properties. This also enables consumers without SMIL support to display the slide transitions.

Example: The following example defines a slide wipe transition.

<draw:page draw:id="id1">

    <anim:par presentation:node-type="timing-root">

        <anim:par smil:begin="id1.begin">

            <anim:transitionFilter smil:dur="2s" smil:targetElement="id1"

                smil:type="slideWipe" smil:subtype="fromBottom"

                smil:direction="reverse"/>

        </anim:par>

    </anim:par>

</draw:page>

    1. F.2.Main Sequence 

The main sequence is a <anim:seq> element which contains the effects that should start after the slide has executed its initial transition. Since this is a sequential container, its child nodes are executed one after each other. If a child node's smil:begin attribute has the value indefinite execution is stalled until the user advances the slideshow by a mouse or key interaction.

The first level of child nodes in the main sequence should be <anim:par> elements that group animation elements that are started with the same user interaction. The second level of child nodes should be <anim:par> elements that group animations elements that start at the same time. The third level of child nodes should be <anim:par> elements that group the animation elements for a single effect.

Example: The following example shows a main sequence with the effects A, B, C and D. Effect A is started on user interaction, effect B is started simultaneously with A. Effect C is started 4 seconds after the effects A and B. Effect D is started on the next user interaction:

<amin:par> <!-- timing root-->

    <anim:seq> <!-- main sequence-->

        <anim:par smil:begin="indefinite">

            <!-- first user interaction -->

            <anim:par smil:begin="0s" smil:dur="4s">

                <!-- first group of effects to execute -->

                <anim:par> <!-- effect a -->

                    <!-- nodes for effect a-->

                </anim:par>

                <anim:par> <!-- effect b -->

                    <!-- nodes for effect b-->

                </anim:par>

            </anim:par>

            <anim:par smil:begin="4s">

                <!-- second group of effects to execute -->

                <anim:par> <!-- effect c -->

                    <!-- nodes for effect c-->   

                </anim:par>

            </anim:par>

        </anim:par>

        <anim:par>   

            <!-- second user interaction-->

            <anim:par smil:begin="indefinite">

                <!-- first group of effects to execute -->

                <anim:par> <!-- effect d -->

                    <!--- nodes for effect d-->

                </anim:par>

            </anim:par>

        </anim:par>

    </anim:seq>

</anim:par>

    1. F.3.Interactive Sequence 

An interactive sequence is a <anim:seq> element that should have the same structure as a main sequence. The only difference is that the <anim:par> element in the first level has a smil:begin attribute with a value like [shape-id].click, where [shape-id] identifies a drawing shapes by its draw:id attribute. These animation elements are triggered when the user interacts with the element defined by [shape-id].

  1. Appendix G. Changes From Previous Specification Versions (Non Normative) 

    1. G.1.Changes from “Open Document Format for Office Applications (OpenDocument) v1.1” 

The OpenDocument specification has been divided into three parts and has been restructured.

This appendix describes changes that are related to part 1 of this specification.

The following is a list of major features that have been added. For minor features please see the lists of new and changed elements and attributes.

The following elements are new:

  • <chart:data-label> 11.14 

  • <chart:equation> 11.18 

  • <chart:label-separator> 17.24 

  • <db:application-connection-settings> 12.15 

  • <db:auto-increment> 12.10 

  • <db:character-set> 12.12 

  • <db:column> 12.35 

  • <db:column-definition> 12.40 

  • <db:column-definitions> 12.39 

  • <db:columns> 12.34 

  • <db:component> 12.25.5 

  • <db:component-collection> 12.25.4 

  • <db:connection-data> 12.3 

  • <db:connection-resource> 12.7 

  • <db:database-description> 12.4 

  • <db:data-source> 12.2 

  • <db:data-source-setting> 12.23 

  • <db:data-source-settings> 12.22 

  • <db:data-source-setting-value> 12.24 

  • <db:delimiter> 12.11 

  • <db:driver-settings> 12.9 

  • <db:file-based-database> 12.5 

  • <db:filter-statement> 12.30 

  • <db:forms> 12.25.2 

  • <db:index> 12.46 

  • <db:index-column> 12.48 

  • <db:index-columns> 12.47 

  • <db:indices> 12.45 

  • <db:key> 12.42 

  • <db:key-column> 12.44 

  • <db:key-columns> 12.43 

  • <db:keys> 12.41 

  • <db:login> 12.8 

  • <db:order-statement> 12.29 

  • <db:queries> 12.26 

  • <db:query> 12.28 

  • <db:query-collection> 12.27 

  • <db:reports> 12.25.3 

  • <db:schema-definition> 12.36 

  • <db:server-database> 12.6 

  • <db:table-definition> 12.38 

  • <db:table-definitions> 12.37 

  • <db:table-exclude-filter> 12.18 

  • <db:table-filter> 12.16 

  • <db:table-filter-pattern> 12.19 

  • <db:table-include-filter> 12.17 

  • <db:table-representation> 12.33 

  • <db:table-representations> 12.32 

  • <db:table-setting> 12.14 

  • <db:table-settings> 12.13 

  • <db:table-type> 12.21 

  • <db:table-type-filter> 12.20 

  • <db:update-table> 12.31 

  • <office:annotation-end> 14.2 

  • <office:database> 12.1 

  • <style:default-page-layout> 16.8 

  • <style:list-level-label-alignment> 17.20 

  • <table:background> 16.20 

  • <table:desc> 9.1.14 

  • <table:filter-set-item> 9.5.6 

  • <table:title> 9.1.13 

  • <text:meta> 6.1.9 

  • <text:meta-field> 7.5.19 

The following attributes are new:

  • chart:angle-offset 20.2 

  • chart:automatic-content 19.14 

  • chart:auto-position 20.3 

  • chart:auto-size 20.4 

  • chart:axis-label-position 20.5 

  • chart:axis-position 20.6 

  • chart:display-equation 19.19 

  • chart:display-r-square 19.20 

  • chart:error-lower-range 20.16 

  • chart:error-upper-range 20.21 

  • chart:group-bars-per-axis 20.23 

  • chart:hole-size 20.24 

  • chart:include-hidden-cells 20.25 

  • chart:label-position 20.31 

  • chart:label-position-negative 20.32 

  • chart:reverse-direction 20.44 

  • chart:right-angled-axes 20.45 

  • chart:sort-by-x-values 20.48 

  • chart:tick-mark-position 20.63 

  • chart:treat-empty-cells 20.64 

  • db:additional-column-statement 19.31 

  • db:append-table-alias-name 19.32 

  • db:apply-command 19.33 

  • db:as-template 19.34 

  • db:base-dn 19.35 

  • db:boolean-comparison-mode 19.36 

  • db:catalog-name 19.37 

  • db:command 19.38 

  • db:database-name 19.43 

  • db:data-source-setting-is-list 19.39 

  • db:data-source-setting-name 19.40 

  • db:data-source-setting-type 19.41 

  • db:data-type 19.42 

  • db:decimal 19.44 

  • db:default-cell-style-name 19.45 

  • db:default-row-style-name 19.46 

  • db:delete-rule 19.47 

  • db:description 19.48 

  • db:enable-sql92-check 19.49 

  • db:encoding 19.50 

  • db:escape-processing 19.51 

  • db:extension 19.52 

  • db:field 19.53 

  • db:hostname 19.54 

  • db:ignore-driver-privileges 19.55 

  • db:is-ascending 19.56 

  • db:is-autoincrement 19.57 

  • db:is-clustered 19.58 

  • db:is-empty-allowed 19.59 

  • db:is-first-row-header-line 19.60 

  • db:is-nullable 19.62 

  • db:is-password-required 19.63 

  • db:is-table-name-length-limited 19.66 

  • db:is-unique 19.64 

  • db:local-socket 19.67 

  • db:login-timeout 19.61 

  • db:max-row-count 19.68 

  • db:media-type 19.69 

  • db:name 19.70 

  • db:parameter-name-substitution 19.71 

  • db:port 19.72 

  • db:precision 19.65 

  • db:referenced-table-name 19.73 

  • db:related-column-name 19.74 

  • db:row-retrieving-statement 19.75 

  • db:scale 19.76 

  • db:schema-name 19.77 

  • db:show-deleted 19.78 

  • db:string 19.79 

  • db:style-name 19.80 

  • db:suppress-version-columns 19.81 

  • db:system-driver-settings 19.82 

  • db:thousand 19.83 

  • db:title 19.84 

  • db:type 19.85 

  • db:type-name 19.86 

  • db:update-rule 19.87 

  • db:use-catalog 19.88 

  • db:user-name 19.90 

  • db:use-system-user 19.89 

  • db:visible 19.91 

  • draw:draw-aspect 20.107 

  • draw:escape-direction 19.147 

  • fo:script 19.24220.215 

  • form:linked-cell 19.283 

  • form:list-linkage-type 19.284 

  • form:repeat 19.302 

  • form:source-cell-range 19.305 

  • form:spin-button 19.306 

  • grddl:transformation 19.320 

  • number:rfc-language-tag 19.356 

  • number:script 19.357 

  • style:join-border 20.292 

  • style:layout-grid-base-width 20.297 

  • style:layout-grid-snap-to 20.305 

  • style:layout-grid-standard-mode 20.306 

  • style:list-level 19.495 

  • style:percentage-data-style-name 19.507 

  • style:rfc-language-tag 19.51220.335 

  • style:rfc-language-tag-asian 20.336 

  • style:rfc-language-tag-complex 20.337 

  • style:script-asian 20.346 

  • style:script-complex 20.347 

  • style:text-overline-color 20.369 

  • style:text-overline-mode 20.370 

  • style:text-overline-style 20.371 

  • style:text-overline-type 20.372 

  • style:text-overline-width 20.373 

  • svg:stroke-linecap 20.164 

  • table:embedded-number-behavior 19.624 

  • table:first-row-end-column 19.640 

  • table:first-row-start-column 19.641 

  • table:last-row-end-column 19.659 

  • table:last-row-start-column 19.661 

  • table:paragraph-style-name 19.688 

  • table:protection-key-digest-algorithm 19.698 

  • table:rfc-language-tag 19.703 

  • table:script 19.706 

  • table:template-name 19.732 

  • table:use-banding-columns-styles 19.736 

  • table:use-banding-rows-styles 19.737 

  • table:use-first-column-styles 19.738 

  • table:use-first-row-styles 19.739 

  • table:use-last-column-styles 19.740 

  • table:use-last-row-styles 19.741 

  • table:use-wildcards 19.744 

  • text:continue-list 19.780 

  • text:label-followed-by 19.827 

  • text:list-id 19.829 

  • text:list-level-position-and-space-mode 20.421 

  • text:list-tab-stop-position 19.830 

  • text:protection-key-digest-algorithm 19.851 

  • text:style-override 19.875 

  • xhtml:about 19.905 

  • xhtml:content 19.906 

  • xhtml:datatype 19.907 

  • xhtml:property 19.908 

  • xml:id 19.914 

The value types of the following attributes changed:

  • smil:endsync 19.444 of <anim:iterate> 15.4.4, <anim:par> 15.4.2 and <anim:seq> 15.4.3 

  • smil:fadeColor 19.445 of <anim:transitionFilter> 15.2.7 

  • draw:notify-on-update-of-ranges 19.200 of <draw:object> 10.4.6.2 

  • draw:dots1-length 19.136 of <draw:stroke-dash> 16.40.9 

  • draw:dots2-length 19.138 of <draw:stroke-dash> 16.40.9 

  • draw:distance 19.134 of <draw:stroke-dash> 16.40.9 

  • office:version 19.386 of <office:document> 3.1.2, <office:document-content> 3.1.3.2, <office:document-meta> 3.1.3.4, <office:document-settings> 3.1.3.5 and <office:document-styles> 3.1.3.3 

  • presentation:action 19.387 of <presentation:event-listener> 10.9.2 

  • chart:data-label-number 20.8 of <style:chart-properties> 17.22 

  • chart:error-category 20.13 of <style:chart-properties> 17.22 

  • draw:stroke-linejoin 20.163 of <style:graphic-properties> 17.21 

  • fo:clip 20.179 of <style:graphic-properties> 17.21 

  • style:glyph-orientation-vertical 20.289 of <style:table-cell-properties> 17.18 

  • style:text-rotation-angle 20.375 of <style:text-properties> 16.27.28 

  • table:value 19.747 of <table:filter-condition> 9.5.5 

  • table:value-type 19.748 of <table:null-date> 9.4.2 

  • text:reference-format 19.854 of <text:bookmark-ref> 7.7.6 

  • text:display 19.796 of <text:index-entry-chapter> 8.13.1 

  • style:type 19.515 of <text:index-entry-tab-stop> 8.13.6 

  • style:type 19.515 of <text:index-entry-tab-stop> 8.13.6 

  • text:reference-format 19.854 of <text:note-ref> 7.7.7 

  • text:reference-format 19.854 of <text:reference-ref> 7.7.5 

  • text:reference-format 19.854 of <text:sequence-ref> 7.7.8 

\ No newline at end of file diff --git a/odfdom/src/main/javadoc/resources/OpenDocument-v1.2-part3.html b/odfdom/src/main/javadoc/resources/OpenDocument-v1.2-part3.html deleted file mode 100644 index a7da94f050..0000000000 --- a/odfdom/src/main/javadoc/resources/OpenDocument-v1.2-part3.html +++ /dev/null @@ -1,178 +0,0 @@ - - -OASIS Open Document Format for Office Applications (OpenDocument) Version 1.2 - Part 3: Packages

Open Document Format for Office Applications (OpenDocument) Version 1.2

Part 3: Packages

OASIS Standard

29 September 2011

Specification URIs:

This version:

http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part3.odt   (Authoritative)
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part3.pdf
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part3.html

Previous version:

http://docs.oasis-open.org/office/v1.2/csd06/OpenDocument-v1.2-csd06-part3.odt   (Authoritative)
http://docs.oasis-open.org/office/v1.2/csd06/OpenDocument-v1.2-csd06-part3.pdf
http://docs.oasis-open.org/office/v1.2/csd06/OpenDocument-v1.2-csd06-part3.html

Latest version:

http://docs.oasis-open.org/office/v1.2/OpenDocument-v1.2-part3.odt (Authoritative)
http://docs.oasis-open.org/office/v1.2/OpenDocument-v1.2-part3.pdf
http://docs.oasis-open.org/office/v1.2/OpenDocument-v1.2-part3.html

Technical Committee:

OASIS Open Document Format for Office Applications (OpenDocument) TC

Chairs:

Rob Weir, IBM
Michael Brauer, Oracle Corporation

Editors:

Patrick Durusau

Dennis Hamilton

Michael Brauer, Oracle Corporation

Related work:

This document is part of the OASIS Open Document Format for Office Applications (OpenDocument) Version 1.2 specification.

The OpenDocument v1.2 specification has these parts:

OpenDocument v1.2 part 1: OpenDocument Schema
OpenDocument v1.2 part 2: Recalculated Formula (OpenFormula) Format
OpenDocument v1.2 part 3: Packages (this part)

OpenDocument v1.2 part 3 defines these schemas and ontologies:

OpenDocument v1.2 Manifest Schema
OpenDocument v1.2 Digital Signature Schema
OpenDocument v1.2 Package Metadata Manifest Ontology

Declared XML namespaces:

urn:oasis:names:tc:opendocument:xmlns:manifest:1.0
urn:oasis:names:tc:opendocument:xmlns:digitalsignature:1.0
http://docs.oasis-open.org/ns/office/1.2/meta/pkg#

Abstract:

This document is part of the Open Document Format for Office Applications (OpenDocument) Version 1.2 specification.

It defines a package format for OpenDocument documents.

Status:

This document was last revised or approved by the OASIS Open Document Format for Office Applications (OpenDocument) TC on the above date. The level of approval is also listed above. Check the "Latest version" location noted above for possible later revisions of this document.

Technical Committee members should send comments on this specification to the Technical Committee’s email list. Others should send comments to the Technical Committee by using the “Send A Comment” button on the Technical Committee’s web page at http://www.oasis-open.org/committees/office/.

For information on whether any patents have been disclosed that may be essential to implementing this specification, and any offers of patent licensing terms, please refer to the Intellectual Property Rights section of the Technical Committee web page (http://www.oasis-open.org/committees/office/ipr.php).

Citation format:

When referencing this specification the following citation format should be used:

OpenDocument-v1.2-part3

Open Document Format for Office Applications (OpenDocument) Version 1.2 Part 3: Packages. 29 September 2011. OASIS Standard.  http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part3.html

Notices

Copyright © OASIS Open 2002–2011. All Rights Reserved.

All capitalized terms in the following text have the meanings assigned to them in the OASIS Intellectual Property Rights Policy (the "OASIS IPR Policy"). The full Policy may be found at the OASIS website.

This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published, and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this section are included on all such copies and derivative works. However, this document itself may not be modified in any way, including by removing the copyright notice or references to OASIS, except as needed for the purpose of developing any document or deliverable produced by an OASIS Technical Committee (in which case the rules applicable to copyrights, as set forth in the OASIS IPR Policy, must be followed) or as required to translate it into languages other than English.

The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.

This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

OASIS requests that any OASIS Party or any other party that believes it has patent claims that would necessarily be infringed by implementations of this OASIS Committee Specification or OASIS Standard, to notify OASIS TC Administrator and provide an indication of its willingness to grant patent licenses to such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that produced this specification.

OASIS invites any party to contact the OASIS TC Administrator if it is aware of a claim of ownership of any patent claims that would necessarily be infringed by implementations of this specification by a patent holder that is not willing to provide a license to such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that produced this specification. OASIS may include such claims on its website, but disclaims any obligation to do so.

OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS' procedures with respect to rights in any document or deliverable produced by an OASIS Technical Committee can be found on the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this OASIS Committee Specification or OASIS Standard, can be obtained from the OASIS TC Administrator. OASIS makes no representation that any information or list of intellectual property rights will at any time be complete, or that any claims in such list are, in fact, Essential Claims.

The names "OASIS", “OpenDocument”, “Open Document Format”, and “ODF” are trademarks of OASIS, the owner and developer of this specification, and should be used only to refer to the organization and its official outputs. OASIS welcomes reference to, and implementation and use of, specifications, while reserving the right to enforce its marks against misleading uses. Please see http://www.oasis-open.org/who/trademark.php for above guidance.

Table of Contents

1 Introduction

1.1 Introduction

1.2 Terminology

1.3 Normative References

1.4 Non Normative References

1.5 Namespaces

2 Packages, Package Consumers and Package Producers

2.1 Introduction

2.2 Packages

2.2.1 OpenDocument Package

2.2.2 OpenDocument Extended Package

2.3 Producers

2.3.1 OpenDocument Package Producer

2.3.2 OpenDocument Package Extended Producer

2.4 OpenDocument Package Consumer

3 Packages

3.1 General

3.2 Manifest

3.3 MIME Media Type

3.4 Encryption

3.4.1 General

3.4.2 Encryption Process

3.5 Digital Signatures

3.6 Metadata

3.7 Usage of IRIs Within Packages

3.8 Preview Image

4 Manifest File

4.1 Introduction

4.2 <manifest:manifest>

4.3 <manifest:file-entry>

4.4 <manifest:encryption-data>

4.5 <manifest:algorithm>

4.6 <manifest:start-key-generation>

4.7 <manifest:key-derivation>

4.8 Manifest Attributes

4.8.1 manifest:algorithm-name

4.8.2 manifest:checksum

4.8.3 manifest:checksum-type

4.8.4 manifest:full-path

4.8.5 manifest:initialisation-vector

4.8.6 manifest:start-key-generation-name

4.8.7 manifest:key-size

4.8.8 manifest:iteration-count

4.8.9 manifest:key-derivation-name

4.8.10 manifest:media-type

4.8.11 manifest:preferred-view-mode

4.8.12 manifest:salt

4.8.13 manifest:size

4.8.14 manifest:version

5 Digital Signatures File

5.1 Introduction

5.2 <dsig:document-signatures>

5.3 <ds:Signature>

5.4 Digital Signatures Attributes

5.4.1 dsig:version

6 Metadata Manifest Files

6.1 General

6.2 pkg:Document

6.3 pkg:File

6.4 pkg:MetadataFile

6.5 pkg:Element

6.6 pkg:hasPart

6.7 pkg:mimeType

7 Datatypes

7.1 Introduction

7.2 W3C Schema Datatypes

7.3 Other Datatypes

7.3.1 namespacedToken

Appendix A. Schemas

A.1. OpenDocument Manifest Schema

A.2. OpenDocument Digital Signature Schema

Appendix B. OpenDocument Metadata Manifest Ontology

Appendix C. Zip File Structure (Non normative)

Appendix D. Changes From “Open Document Format for Office Applications (OpenDocument) v1.1” (Non Normative)

1Introduction

1.1Introduction

This document is part of the Open Document Format for Office Applications (OpenDocument) Version 1.2 specification. It defines a package format for OpenDocument documents.

1.2Terminology

All text is normative unless otherwise labeled.

Text with a gray background color which is contained in boxes is informative. It lists the XML element-element and element-attribute relations for cross reference purposes.

Within the normative text of this specification, the terms “shall”, “shall not”, “should”, “should not”, “may” and “need not” are to be interpreted as described in Annex H of [ISO/IEC Directives].

XML Element, attribute names, attribute value types, and attribute values appear in monospace font.

1.3Normative References

[ISO/IEC Directives]        ISO/IEC Directives, Part 2 (Fifth Edition) Rules for the structure and drafting of International Standards, International Organization for Standardization and International Electrotechnical Commission, 2004

[OWL]        Deborah L. McGuinness, Frank van Harmelen, OWL Web Ontology Language Overview, http://www.w3.org/TR/2004/REC-owl-features-20040210/, W3C, 2004.

[PNG]        David Duce, Portable Network Graphics (PNG) Specification (Second Edition), http://www.w3.org/TR/2003/REC-PNG-20031110, W3C, 2003.

[RDF-CONCEPTS]        Graham Klyne, Jeremy J. Carroll, Brian McBride, Resource Description Framework (RDF): Concepts and Abstract Syntax, http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/, W3C, 2004.

[RDF-XML]        Dave Beckett, Brian McBride,    RDF/XML Syntax Specification (Revised), http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/, W3C, 2004.

[RFC2898]        B. Kaliski, PKCS #5: Password-Based Cryptography Specification Version 2.0, http://www.ietf.org/rfc/rfc2898.txt, IETF, 2000.

[RFC3174]        D. Eastlake, 3rd, P. Jones, US Secure Hash Algorithm 1 (SHA1), http://www.ietf.org/rfc/rfc3174.txt, IETF, 2001.

[RFC3986]        T. Berners-Lee, R. Fielding, L. Masinter, Uniform Resource Identifier (URI): Generic Syntax, http://www.ietf.org/rfc/rfc3986.txt, IETF, 2005.

[RFC3987]        M. Duerst, M. Suignard, Internationalized Resource Identifiers (IRIs), http://www.ietf.org/rfc/rfc3987.txt, IETF, 2005.

[RFC4288]        N. Freed, J. Klensin, Media Type Specifications and Registration Procedures, http://www.ietf.org/rfc/rfc4288.txt, IETF, 2005.

[RNG]        ISO/IEC 19757-2 Document Schema Definition Language (DSDL) -- Part 2: Regular-grammar-based validation -- RELAX NG, International Organization for Standardization and International Electrotechnical Commission, 2003

[Schneier]        Bruce Schneier, Applied Cryptography (Second Edition), John Wiley & Sons, ISBN: 0-471-11709-9, 1996

[XAdES]        XML Advanced Electronic Signatures (XAdES) (ETSI TS 101 903 v1.4.1 June 2009), ETSI, 650 Route des Lucioles, F-06921 Sophia Antipolis Cedex, FRANCE, http://webapp.etsi.org/workprogram/Report_WorkItem.asp?WKI_ID=28064, 2009.

[XML-ID]        Jonathan Marsh, Daniel Veillard, Norman Walsh, xml:id Version 1.0, http://www.w3.org/TR/2005/REC-xml-id-20050909/, W3C, 2005.

[xml-names]        Tim Bray et al., Namespaces in XML 1.0 (Second Edition), http://www.w3.org/TR/2006/REC-xml-names-20060816, W3C, 2006.

[XML1.0]        Tim Bray, Jean Paoli, C. M. Sperberg-McQueen, Eve Maler, François Yergeau , Extensible Markup Language (XML) 1.0 (Fourth Edition), http://www.w3.org/TR/2006/REC-xml-20060816/, W3C, 2004.

[xmldsig-core]        Donald Eastlake, Joseph Reagle, David Solo, Frederick Hirsch, Thomas Roessler,  XML Signature Syntax and Processing (Second Edition), http://www.w3.org/TR/2008/REC-xmldsig-core-20080610/, W3C, 2008.

[xmlenc-core]        Donald Eastlake, Joseph Reagle, XML Encryption Syntax and Processing, http://www.w3.org/TR/2002/REC-xmlenc-core-20021210/, W3C, 2002.

[xmlschema-2]        Paul V. Biron, Ashok Malhotra, XML Schema Part 2: Datatypes Second Edition, http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/, W3C, 2004.

[ZIP]        PKWARE Inc. Zip APPNOTE Version 6.2.0, available at http://www.pkware.com/support/application-note-archives, 2004

1.4Non Normative References

[Schneier-Errata]        Bruce Schneir, Applied Cryptography 2nd. Ed. - Errata, http://www.schneier.com/book-applied-errata.html, 1998.

1.5Namespaces

The namespaces used or defined by OpenDocument part 3 are listed in tables 1 and 2.

The prefix column in tables 1 and 2 lists the namespace prefixes this specification uses when referring to elements and attributes in different namespaces. Conforming OpenDocument documents may substitute other namespace prefixes, bound to the listed namespace URI's, in accordance with the Namespaces in XML specification [xml-names].

Note: XML namespaces are employed in accordance with the Namespaces in XML W3C Recommendation  [xml-names].

Table 1 - XML Namespaces defined by the OpenDocument specification part 3

Prefix

Description

Namespace

manifest

Elements and attribute contained in the package manifest.

urn:oasis:names:tc:opendocument:xmlns:
manifest:1.0

dsig

Elements and attribute contained in digital signature files.

urn:oasis:names:tc:opendocument:xmlns:digitalsignature:1.0

Table 2 - XML Namespaces defined by the OpenDocument metadata manifest ontology

Prefix

Description

Namespace

pkg

OWL classes and properties contained in metadata manifest files.

http://docs.oasis-open.org/ns/office/1.2/meta/pkg#

Table 3 - XML Namespaces used by the OpenDocument digital signature schema

Prefix

Description

Namespace

ds

XML Digital Signature Syntax and Processing namespace (see [xmldsig-core])

http://www.w3.org/2000/09/xmldsig#

2Packages, Package Consumers and Package Producers

2.1Introduction

The OpenDocument specification defines conformance for packages, package consumers, and package producers, with two conformance classes called conforming and extended conforming. This chapter defines the basic requirements for the individual conformance targets.

2.2Packages

2.2.1OpenDocument Package

An OpenDocument Package shall meet the following requirements:

  1. A)It shall be a Zip file, as defined by [ZIP]. All files contained in the Zip file shall be non compressed (STORED) or compressed using the “deflate” (DEFLATED) algorithm. 

  2. B)It shall contain a file “META-INF/manifest.xml”. This file shall meet the following requirements: 

    1. B.1)The file shall be a well formed XML document in accordance with the [XML1.0] specification. 

    2. B.2)The XML root element of the file shall be a <manifest:manifest> element 4.2. 

    3. B.3)The XML file shall be valid with respect to the manifest schema defined in appendix A.1 OpenDocument Manifest Schema. 

  3. C)It should contain a file “mimetype”. 

  4. D)It may contain files whose relative paths begin with “META-INF/” and whose names contain the string “signatures”. These file shall meet the following requirements: 

    1. D.1)The files shall be well-formed XML files in accordance with [XML1.0]. 

    2. D.2)The XML root element of each file shall be a <dsig:document-signatures> element 5.2. 

    3. D.3)The files shall be valid with respect to the digital signature schema defined in appendix A.2 OpenDocument Digital Signature Schema. 

  5. E)It shall not contain other files whose relative path begins with “META-INF/” other than than those listed in B) and D). 

  6. F)The files listed in (B) and (D) meet the following requirements: 

    1. F.1)They shall be namespace-well-formed with regard to the XML Namespaces specification [xml-names]. 

    2. F.2)They shall conform to the xml-id specification [XML-ID]. 

2.2.2OpenDocument Extended Package

  1. G)An OpenDocument Extended Package shall meet all requirements of a conforming package except item E) of 2.2.1. 

2.3Producers

2.3.1OpenDocument Package Producer

An OpenDocument Package Producer is a program that creates conforming OpenDocument packages, and that meets the additional requirements:

  1. A)It may produce conforming OpenDocument extended packages, but it shall have a mode of operation where all OpenDocument packages that are created are conforming OpenDocument packages. 

  2. B)It shall be accompanied by a document that defines all implementation-defined values used by the OpenDocument package producer. 

2.3.2OpenDocument Package Extended Producer

An OpenDocument Package Extended Producer is a program that creates conforming OpenDocument extended packages. It shall be accompanied by a document that defines all implementation-defined values used by the OpenDocument package producer.

2.4OpenDocument Package Consumer

An OpenDocument Package Consumer is a program that can parse and interpret OpenDocument packages, and that meets the following additional requirements:

  1. A)It shall be able to parse and interpret OpenDocument packages and OpenDocument extended packages, but it need not interpret the semantics of all elements, attributes and attribute values. 

  2. B)The XML parser used to parse the files listed in 2.2.1 (B) and 2.2.1 (D) meets the following requirements: 

    1. B.1)It shall be a nonvalidating XML processor with regard to the XML 1.0 specification [XML1.0]. 

    2. B.2)It shall be a conforming processor with regard to the XML Namespaces specification [xml-names]. 

    3. B.3)It shall conform to the xml-id specification [XML-ID]. 

3Packages

3.1General

OpenDocument defines a package file to store the XML content of a document as separate parts together with associated binary data as file entries in a single package file. These file entries may be compressed to further reduce the storage taken by the package. This package is a Zip file [ZIP], whose structure is described in Appendix C. OpenDocument Packages impose additional structure on the Zip file to accomplish the representation of OpenDocument Format documents.

A document within a package may consist of a set of files creating a unit, for instance the set of files specified by OpenDocument part 1. These files may be located in the root of the package, or within a directory. If they are contained in the root of the package, they are called document. If they are located within a directory, the document they constitute is called a sub document. A package may contain multiple sub documents, but only a single document can be contained in the root of the package. Unless otherwise stated, the term document refers to the document contained in the root of the package. This may include sub documents.

3.2Manifest

All OpenDocument packages shall contain a file named “META-INF/manifest.xml”. This file is the OpenDocument package manifest. The manifest provides :

The format of the manifest file is specified in chapter 4.

For all files contained in a package, with exception of the “mimetype” file and files whose relative path starts with “META-INF/”, the “META-INF/manifest.xml” file shall contain exactly one <manifest:file-entry> element whose manifest:full-path attribute's value references the file.

The “META-INF/manifest.xml” file need not contain <manifest:file-entry> elements 4.3 whose manifest:full-path attribute 4.8.4 references files whose relative path start with "META-INF/". The file shall not contain <manifest:file-entry> elements whose manifest:full-path attribute value references the “META-INF/manifest.xml” file itself or the “mimetype” file.

The “META-INF/manifest.xml” file should contain a <manifest:file-entry> element whose manifest:full-path attribute has the value "/". This element specifies information regarding the document stored in the root of the package. This entry shall exist if the package contains a file "mimetype"

3.3MIME Media Type

If a MIME media type for a document exists, then an OpenDocument package should contain a file with name “mimetype”. The content of this file shall be the ASCII encoded MIME media type associated with the document. See [RFC4288].

The “mimetype” file shall be the first file of the zip file. It shall not be compressed, and it shall not use an 'extra field' in its header.

If the file named “META-INF/manifest.xml” contains a <manifest:file-entry> element whose manifest:full-path attribute has the value "/", then a "mimetype" file shall exist, and the content of the “mimetype” file shall be equal to the value of the manifest:media-type attribute 4.8.10 of that element.

Note: The purpose is to allow the type of document represented by the package to be discovered through 'magic number' mechanisms, such as Unix's file/magic utility. If a Zip file contains a file at the beginning of the file that is uncompressed, and has no extra data in the header, then its file name and data can be found at fixed positions from the beginning of the package. More specifically, one will find:

  • the string 'PK' at position 0 of all zip files 

  • the string 'mimetype' beginning at position 30 

  • the media type itself beginning at position 38. 

3.4Encryption

3.4.1General

OpenDocument packages may be encrypted by encrypting some or all files within the package. The encryption process takes place in the following stages:

 The information regarding the algorithms that were used to encrypt a file and required parameters are contained in the manifest. The manifest shall not be encrypted.

Each file entry that is encrypted shall be compressed with the “deflate” algorithm before being encrypted. Encrypted file entries shall be flagged as 'STORED' rather than 'DEFLATED' in the Zip file's central directory. The size of the encrypted file should replace the real size value in the file entry's central directory records, its local file header and the data descriptor, if any. The original uncompressed, unencrypted size shall be contained in the manifest:size 4.8.13 attribute of the <manifest:file-entry> 4.3 element for the file entry.

The encrypted form can be of greater size than the DEFLATED file used as the plaintext.

Note: The encrypted form may be of greater because of padding of plaintext, inclusion of additional information, and other characteristics of the encryption technique).

The encryption method shall be such that the exact size and value of the plaintext DEFLATED file is recovered by the corresponding decryption process.

3.4.2Encryption Process

The three stages of the encryption process proceed as follows, using the legacy algorithms to illustrate each stage:

  1. 1.The start key is generated: The byte sequence representing the password in UTF-8 is used to generate a 20-byte SHA1 digest (see [RFC3174]). 

  2. 2.For each file to be encrypted, a separate derived key is generated from the start key: The PBKDF2 algorithm based on the HMAC-SHA-1 function (see [RFC2898]) is used for the key derivation. For each file, a 16-byte salt is generated by a random generator. The salt is used together with the start key to derive a unique 128-bit key for each file. The default iteration count for the algorithm is 1024. 

  3. 3.The files are encrypted: The random number generator is used to generate the 8-byte initialization vector for the algorithm. The derived key is used together with the initialization vector to encrypt the file using the Blowfish algorithm in 8-bit cipher feedback (8-bit CFB) mode (see [Schneier]). 

3.5Digital Signatures

Files within a package may have a digital signature applied. Digital signatures are stored in one or more files whose relative paths begin with “META-INF/”. The names of these files shall contain the term “signatures”.

The format of digital signature files is specified in chapter 5.

3.6Metadata

Metadata for documents contained in an OpenDocument package may be expressed using the model of the W3C Resource Description Framework [RDF-CONCEPTS].

A document or sub document that is stored in a package may contain any  number of metadata files. The content of a metadata files shall conform to the [RDF-XML] specification. Implementations that are consumers as well as producers should preserve all metadata files.

All metadata files of a document or sub document shall be listed in a separate metadata manifest file, which has the file name “manifest.rdf”. This file enumerates metadata files and their relationships to other files in an OpenDocument package. See chapter 6.

In addition to metadata files, the "manifest.rdf" file may list other files which are contained in the document or sub document that contain RDF metadata, like files that contain RDFa metadata. The "manifest.rdf" file need not exist if a document or sub document does not contain any files that contain RDF metadata.

All references to a resource within the same package that occur within metadata file shall be represented by relative IRIs to the resource. This includes values of rdf:about attributes occurring within metadata files or metadata manifest files.

3.7Usage of IRIs Within Packages

Within the files contained in a package, relative IRIs as defined by [RFC3987] may be used to reference other files within the same package.

OpenDocument Package Consumers shall resolve relative IRIs that occur within a file of a package as follows:

  1. 1.The file entry path is the file name of the file within the Zip file which contains the relative IRI, including its relative path. 

  2. 2.The package base IRI is the base IRI which would be established for the package itself as defined in §5.1 of [RFC3986]. 

  3. 3.If the relative IRI does not match the rule for "relative-ref" defined in §4.2 of [RFC3986] or if the relative IRI does start with a "/" character (U+002F, SOLIDUS) then it is resolved as defined in §5.2 of [RFC3986] with the package base IRI as base URI. 

  4. 4.If the relative IRI references matches the rule for "relative-ref" defined in §4.2 of [RFC3986] and its "relative-part" component matches the "path-empty" rule it shall be resolved as a "Same-Document" references defined in §4.4 of [RFC3986]. 

  5. 5.Otherwise the "relative-part" component of the relative IRI is copied into a relative IRI buffer and an empty file entry path buffer is created 

  6. 6.If the file entry path does contain a "/" character (U+002F, SOLIDUS) then the file path up to and including the last "/" character is copied into the file entry buffer. 

  7. 7.If the relative IRI buffer starts with the character sequence "./" (U+002E, FULL STOP, followed by U+002F, SOLIDUS) then that character sequence it removed from the buffer. Continue with step 7. 

  8. 8.If the content of the relative IRI buffer is the character sequence "." (U+002E, FULL STOP), the content of the relative IRI buffer is removed. Continue with step 11. 

  9. 9.If the content of the relative IRI buffer is the character sequence ".." (U+002E, FULL STOP, followed by U+002E, FULL STOP) and 

    • if the file entry path buffer is empty, then the content of the relative IRI buffer is replaced with "." (U+002E, FULL STOP). The query and fragment components of the relative IRI, if present, are appended to the relative IRI buffer, including the "?" (U+003F, QUESTION MARK) and "#" (U+0023, NUMBER SIGN) delimiter characters. The content of the relative IRI buffer then is resolved as defined in §5.2 of [RFC3986] with the package base IRI as base URI. 

    • if the file entry path buffer contains at least one relative path component, the last relative path component up to and including the last "/" character (U+002F, SOLIDUS) is removed. The ".." character sequence is removed from the IRI buffer. Continue with step 11. 

  10. 10.If a fragment buffer has been created and is not empty, its content may be resolved as fragment identifier, as defined by §3.5 of [RFC3986]. 

    • if the file entry path buffer is empty, then the "../" is replaced with "./" (U+002E, FULL STOP, followed by U+002F, SOLIDUS) in the relative IRI buffer. The query and fragment components of the relative IRI, if present, are appended to the relative IRI buffer, including the "?" (U+003F, QUESTION MARK) and "#" (U+0023, NUMBER SIGN) delimiter characters. The content of the relative IRI buffer then is resolved as defined in §5.2 of [RFC3986] with the package base IRI as base URI. 

    • if the file entry path buffer contains at least one one relative path component, the last relative path component up to and including the last "/" character (U+002F, SOLIDUS) is removed. The "../" character sequence is removed from the IRI buffer. Continue with step 7. 

  11. 11.The content of the file entry buffer is inserted into the relative IRI buffer before any existing content. 

  12. 12.The content of the relative IRI buffer is interpreted as a file or directory name within the package, that is, as the name of a file or directory including its relative path within the Zip file. An empty buffer denotes the package root. Path segments in the relative IRI buffer that originally came from the relative IRI shall be interpreted according to IRI syntax rules, while segments that originally came from the file entry path must be interpreted according to Zip path name syntax rules. 

  13. 13.If the relative IRI contains a fragment component, it is resolved as fragment identifier, as defined by §3.5 of [RFC3986]. 

Note: Files whose relative path starts with “META-INF/” are considered to be part of the OpenDocument package rather than of the content stored within the package. Therefore, different rules regarding the resolution of relative IRIs may apply.

3.8Preview Image

Unless a document is encrypted, package producers should generate a preview image of the document that is contained in the package. It should be a representation of the first page, first sheet, etc. of the document. For maximum re-usability of the preview images they shall be generated without any effects, surrounding frames, or borders.

Note: Such effects might interfere with effects added to the preview images by the different file system explorers or may not be desired at all for certain use cases.

The preview image shall be contained in a file named “Thumbnails/thumbnail.png”.

Preview images shall be saved in [PNG] format.

Note: Current desktops display preview images within squares of up to 256 pixel width and height, and 24 bit per pixel. While this specification does not define upper or lower limits for preview image sizes, producers should only use image sizes that are displayed with a reasonable quality if scaled to fit into 256x256 pixel square.

Encrypted documents are intended to be unreadable for unauthorized users and package producers shall not generate preview images for such documents. They may include a preview image that is independent of the contents of the document. Such preview images should not be encrypted.

4Manifest File

4.1Introduction

The format of the manifest file is defined by the OpenDocument manifest Relax-NG [RNG] schema. See appendix A. This chapter describes the semantics of the elements and attributes defined by this schema.

4.2<manifest:manifest>

The <manifest:manifest> element is the root element of the manifest file. It contains <manifest:file-entry> child elements 4.3, each of which specifies information for a a file or directory in the package.

The <manifest:manifest> element is a root element.

The <manifest:manifest> element has the following attribute: manifest:version 4.8.14.2.

The <manifest:manifest> element has the following child element: <manifest:file-entry> 4.3.

4.3<manifest:file-entry>

The <manifest:file-entry> element specifies the media type of a single file or sub document within the package.  It may also specify the data required to decrypt a file.

For directories, the manifest file should contain a <manifest:file-entry> element only if a directory contains a document or a sub document. See 3.1. A directory for administrative or convenience purposes, such as a directory that contains various unrelated image files, should not have an entry in the manifest file.

Directories have no corresponding file entries within the Zip file.

The <manifest:file-entry> element is usable within the following element: <manifest:manifest> 4.2.

The <manifest:file-entry> element has the following attributes: manifest:full-path 4.8.4, manifest:media-type 4.8.10, manifest:preferred-view-mode 4.8.11, manifest:size 4.8.13 and manifest:version 4.8.14.1.

The <manifest:file-entry> element has the following child element: <manifest:encryption-data> 4.4.

4.4<manifest:encryption-data>

The <manifest:encryption-data> element contains information required to decrypt a file entry.

The <manifest:encryption-data> element is usable within the following element: <manifest:file-entry> 4.3.

The <manifest:encryption-data> element has the following attributes: manifest:checksum 4.8.2 and manifest:checksum-type 4.8.3.

The <manifest:encryption-data> element has the following child elements: <manifest:algorithm> 4.5, <manifest:key-derivation> 4.7 and <manifest:start-key-generation> 4.6.

4.5<manifest:algorithm>

The <manifest:algorithm> element specifies the algorithm used to encrypt data.

Depending on the algorithm specified by the manifest:algorithm-name attribute  4.8.1 , the <manifest:algorithm> element may have further child elements.

When the manifest:algorithm-name attribute value matches one of those defined in section §3.2 of [xmlenc-core], the <manifest:algorithm> element shall not have child elements except those permitted as child elements of the [xmlenc-core] <EncryptionMethod> element whose Algorithm attribute value is the same as the <manifest:algorithm> manifest:algorithm-name attribute value.

When the value of the manifest:algorithm-name attribute identifies the legacy Blowfish algorithm, <manifest:algorithm> shall be an empty element.

The <manifest:algorithm> element is usable within the following element: <manifest:encryption-data> 4.4.

The <manifest:algorithm> element has the following attributes: manifest:algorithm-name 4.8.1 and manifest:initialisation-vector 4.8.5.

4.6<manifest:start-key-generation>

The <manifest:start-key-generation> element specifies how the encryption start key is derived from a user specified password. The password shall be provided as a sequence of bytes in UTF-8 encoding.

When a <manifest:start-key-generation> element is absent as a child of a <manifest:encryption-data> element, interpretation is the same as if the element is present with default attribute values.

The <manifest:start-key-generation> element is usable within the following element: <manifest:encryption-data> 4.4.

The <manifest:start-key-generation> element has the following attributes: manifest:key-size 4.8.7 and manifest:start-key-generation-name 4.8.6.

The <manifest:start-key-generation> element has no child elements.

4.7<manifest:key-derivation>

The <manifest:key-derivation> element specifies how the encryption key was calculated from the encryption start key.

The <manifest:key-derivation> element is usable within the following element: <manifest:encryption-data> 4.4.

The <manifest:key-derivation> element has the following attributes: manifest:iteration-count 4.8.8, manifest:key-derivation-name 4.8.9, manifest:key-size 4.8.7 and manifest:salt 4.8.12.

The <manifest:key-derivation> element has no child elements.

4.8Manifest Attributes

4.8.1manifest:algorithm-name

The manifest:algorithm-name attribute specifies the algorithm and mode used to encrypt a file entry.

The defined values for the manifest:algorithm-name attribute are:

  • An IRI listed in §5.2 of [xmlenc-core]: The algorithm and mode specified in §5.2 of [xmlenc-core] for this IRI. 

  • Blowfish CFB: The Blowfish algorithm in 8-bit CFB mode. See [Schneier]. 

  • urn:oasis:names:tc:opendocument:xmlns:manifest:1.0#blowfish: The same algorithm as identified by Blowfish CFB. 

  • The IRI of an alternative algorithm as specified in §5.1 of [xmlenc-core]. Alternative algorithms may be specified by extended conforming packages only. They shall not be specified by conforming packages. 

  • Package producers that support encryption shall support the value Blowfish CFB. Package consumers that support encryption shall support the values Blowfish CFB and urn:oasis:names:tc:opendocument:xmlns:manifest:1.0#blowfish. 

Note: An errata for [Schneier] is available at [Schneier-Errata].

The manifest:algorithm-name attribute is usable with the following element: <manifest:algorithm> 4.5.

The values of the manifest:algorithm-name attribute are Blowfish CFB or a value of type anyURI 7.2.

4.8.2manifest:checksum

The manifest:checksum attribute specifies a digest in BASE64 encoding that can be used to detect password correctness as specified by a manifest:checksum-type attribute 4.8.3 .

The manifest:checksum attribute is usable with the following element: <manifest:encryption-data> 4.4.

The manifest:checksum attribute has the data type base64Binary 7.2.

4.8.3manifest:checksum-type

The manifest:checksum-type attribute specifies the name of a digest algorithm that can be used to check password correctness. The digest is build from the compressed unencrypted file.

The defined values for the manifest:checksum-type attribute are:

  • SHA1/1K: SHA1 algorithm (see [RFC3174]) applied to first 1024 bytes of the compressed unencrypted file. 

  • SHA1: The same as http://www.w3.org/2000/09/xmldsig#sha1. 

  • urn:oasis:names:tc:opendocument:xmlns:manifest:1.0#sha1-1k: The same as SHA1/1K. 

  • urn:oasis:names:tc:opendocument:xmlns:manifest:1.0#sha256-1k: SHA256 algorithm (see [RFC3174]) applied to first 1024 bytes of the compressed unencrypted file. 

  • An IRI listed in §5.7 of [xmlenc-core]: The algorithm specified in §5.7 of [xmlenc-core] for this IRI. 

  • The IRI of an alternative algorithm as specified in §5.1 of [xmlenc-core]. Alternative algorithms may be specified by extended conforming packages only. They shall not be specified by conforming packages. 

Package producers that support encryption should use the urn:oasis:names:tc:opendocument:xmlns:manifest:1.0#sha256-1k algorithm, Package consumers that support encryption shall support the values SHA1/1K, urn:oasis:names:tc:opendocument:xmlns:manifest:1.0#sha1-1k and urn:oasis:names:tc:opendocument:xmlns:manifest:1.0#sha256-1k.

The manifest:checksum-type attribute is usable with the following element: <manifest:encryption-data> 4.4.

The values of the manifest:checksum-type attribute are SHA1/1K or a value of type anyURI 7.2.

4.8.4manifest:full-path

The manifest:full-path attribute describes the location of a file or directory within the package. It's value is the name of a file or folder within the Zip file for which the manifest entry defines additional information, including its relative path in the package. The notation is the same as for the “filename” fields of the Zip file's central directory.

The attribute value "/" denotes a manifest entry for the package itself.

Note: The Zip file's central directory and the manifest file may have different text encodings.

The manifest:full-path attribute is usable with the following element: <manifest:file-entry> 4.3.

The manifest:full-path attribute has the data type string 7.2.

4.8.5manifest:initialisation-vector

The manifest:initialisation-vector attribute value provides the byte-sequence for the initialization vector used by the encryption algorithm when delivery of a required initialization vector is not specified as part of the encryption algorithm definition. The initialization vector is a BASE64 encoded binary sequence. The format and length of an initialization vector, in bytes, shall be as required by its encryption algorithm specification.

The manifest:initialisation-vector attribute is usable with the following element: <manifest:algorithm> 4.5.

The manifest:initialisation-vector attribute has the data type base64Binary 7.2.

4.8.6manifest:start-key-generation-name

The manifest:start-key-generation-name attribute specifies the algorithm used to generate a start key from the user password.

The defined values for the manifest:start-key-generation-name attribute are:

The default value for this attribute is SHA1.

Package producers that support encryption should use the http://www.w3.org/2000/09/xmldsig#sha256 algorithm. Package consumers that support encryption shall support the values SHA1, and http://www.w3.org/2000/09/xmldsig#sha1 and http://www.w3.org/2000/09/xmldsig#sha256.

The manifest:start-key-generation-name attribute is usable with the following element: <manifest:start-key-generation> 4.6.

The values of the manifest:start-key-generation-name attribute are SHA1 or a value of type anyURI 7.2.

The manifest:start-key-generation-name attribute has the value SHA1 or a value of data type anyURI.

4.8.7manifest:key-size

The manifest:key-size attribute specifies the length in octets of a key delivered by a key-developing algorithm.

For a <manifest:start-key-generation> element, the default value for this attribute is 20.

Note: The value used will need to be compatible with the result obtain from the start-key-generation algorithm and the input requirements of the key derivation algorithm.

For a
<manifest:key-derivation> element, the default value for this attribute is 16.

Note: The value used will need to be one obtainable from the key-derivation algorithm and acceptable for the encryption algorithm being used.

The manifest:key-size attribute is usable with the following elements: <manifest:key-derivation> 4.7 and <manifest:start-key-generation> 4.6.

The manifest:key-size attribute has the data type nonNegativeInteger 7.2.

4.8.8manifest:iteration-count

The manifest:iteration-count attribute specifies the number of iterations used by the key derivation algorithm to derive a key.

The manifest:iteration-count attribute is usable with the following element: <manifest:key-derivation> 4.7.

The manifest:iteration-count attribute has the data type nonNegativeInteger 7.2.

4.8.9manifest:key-derivation-name

The manifest:key-derivation-name attribute specifies the password-based key-derivation algorithm used to derive a cryptographic key for use in encryption and decryption of the file.

The defined values for the manifest:key-derivation-name attribute are:

Package producers that support encryption shall support the value PBKDF2. Package consumers that support encryption shall support the values PBKDF2 and urn:oasis:names:tc:opendocument:xmlns:manifest:1.0#pbkdf2.

If the value of this attribute is PBKDF2 or urn:oasis:names:tc:opendocument:xmlns:manifest:1.0#pbkdf2 the <manifest:encryption-data> 4.4 shall contain a <manifest:start-key-generation> 4.6 child element that specifies the start key for the PBKDF2 algorithm.

The manifest:key-derivation-name attribute is usable with the following element: <manifest:key-derivation> 4.7.

The values of the manifest:key-derivation-name attribute are PBKDF2 or a value of type anyURI 7.2.

4.8.10manifest:media-type

The manifest:media-type attribute specifies the MIME media type of a file or directory. See [RFC4288].

A manifest:media-type attribute should be present for all files and directories where a MIME media type exists for the content of the file, or the document or sub document contained in a directory.

The manifest:media-type attribute is usable with the following element: <manifest:file-entry> 4.3.

The manifest:media-type attribute has the data type string 7.2.

4.8.11manifest:preferred-view-mode

The manifest:preferred-view-mode attribute specifies a preference on how the author of the document would like the document to be presented upon the document being opened. This attribute is only applicable to the root file entry with the manifest:full-path 4.8.4 attribute value of "/".

The defined values for the manifest:preferred-view-mode attribute are:

  • edit: The author's preference is to open the document as an editable document. 

  • presentation-slide-show: The author's preference is to open the document as presentation slide show. 

  • read-only: The author's preference is to open the document as a read-only document. 

  • A namespaced token value: Specifies an implementation defined view. 

Preferred view modes are not necessarily generally applicable to all media types. The default preferred view mode is implementation defined. The behavior for cases where the manifest:preferred-view-mode attribute is absent is implementation defined.

The manifest:preferred-view-mode attribute is usable with the following element: <manifest:file-entry> 4.3.

The values of the manifest:preferred-view-mode attribute are edit, presentation-slide-show, read-only or a value of type namespacedToken 7.3.1.

4.8.12manifest:salt

The manifest:salt attribute carries the value of a cryptographically-random binary value designed to mitigate certain cryptographic attacks on the password. There is no maximum length to the salt. See [RFC2898] for further considerations in the use of salts with key-derivation and other cryptographic functions. The salt is encoded in the attribute value as base64binary.

The manifest:salt attribute is usable with the following element: <manifest:key-derivation> 4.7.

The manifest:salt attribute has the data type base64Binary 7.2.

4.8.13manifest:size

The manifest:size attribute shall be present for encrypted files. See 3.4. Its value shall be size of the uncompressed, unencrypted file in bytes.

The manifest:size attribute is usable with the following element: <manifest:file-entry> 4.3.

The manifest:size attribute has the data type nonNegativeInteger 7.2.

4.8.14manifest:version

4.8.14.1<manifest:file-entry>

The manifest:version attribute specifies the format version of a file entry. For documents that are composed from multiple files, this attribute is specified at the manifest entry that references the folder that contains these files.

The interpretation of the attribute value depends on the MIME media type specified in the manifest:media-type attribute.

The manifest:version attribute is usable with the following element: <manifest:file-entry> 4.3.

The manifest:version attribute has the data type string 7.2.

4.8.14.2<manifest:manifest>

The manifest:version attribute identifies the version of OpenDocument specification that defines the schema and interpretation of the package manifest. The value of the manifest:version attribute shall be "1.2".

The manifest:version attribute is usable with the following element: <manifest:manifest> 4.2.

The only value of the manifest:version attribute is 1.2.

5Digital Signatures File

5.1Introduction

The format of the digital signature files is defined by the OpenDocument digital signature schema Relax-NG [RNG] schema. See appendix A. This chapter describes the semantics of the elements and attributes defined by this schema.

5.2<dsig:document-signatures>

The <dsig:document-signatures> root element serves as a container for any number of <ds:Signature> 5.3 elements. If the <dsig:document-signatures> element contains multiple <ds:Signature> elements, then there should be a relation between the digital signatures they define, for instance, they may all apply to the same set of files.

Consumers may require that a digital signature includes a certain set of files. That is, they may consider a digital signature to be valid if, and only if,

  • the digital signature itself is valid, and 

  • if the <ds:Reference> child elements of the <ds:Signature> element reference a certain set of files. 

In particular, consumers may require that a digital signature references all files contained in a package.

If a digital signature file is not encrypted, consumers shall not decrypt files that are referenced by <ds:Reference> elements and that are encrypted before validating the signature.

If a digital signature file is encrypted, consumers shall decrypt files that are referenced by <ds:Reference> elements and that are encrypted before validating the signature.

The <dsig:document-signatures> element is a root element.

The <dsig:document-signatures> element has the following attribute: dsig:version 5.4.1.

The <dsig:document-signatures> element has the following child element: <ds:Signature> 5.3.

5.3<ds:Signature>

The <ds:Signature> element is defined by the [xmldsig-core] specification. Each <ds:Signature> element shall contain an Id attribute specifying a unique value. A producer may use the XAdES extensions as specified in ETSI TS 101 903 v1.4.1 [XAdES], or later versions of the XAdES specification.

A <ds:KeyInfo> element, as specified in [xmldsig-core], section 4.4 shall be included. The <ds:KeyInfo> element should contain an <ds:X509Data> element containing an <ds:X509IssuerSerial> element specifying the issuer and serial number of the signing certificate, and an <ds:X509Certificate> element specifying the full signing certificate.

Additional <ds:X509Certificate> elements may be placed in the <ds:X509Data>, or may be placed in the <xades:CertificateValues> element of the XAdES <ds:Object>, as defined in [XAdES] section 7.6.1. The additional certificates should represent the entire certificate chain used for verification at signing time.

<ds:Reference> elements contained within a <ds:SignedInfo> element shall be resolved according to the following specification:

  1. 1.A <ds:Reference> element which has a Type attribute value of "http://docs.oasis-open.org/office/v1.2/OS/OpenDocument-v1.2.odt" shall refer to files in the same package in the accordance with the procedure for resolving IRIs 3.7, except that the file entry path shall be the name of the signature file with its relative path omitted.  

    Note: Consequently, an IRI-Reference consisting entirely of "#" followed by an ifragment (§2.2 of [RFC3987]) refers to the ID of an XML element within the same XML document containing this <ds:signature> element. 

  2. 2.A <ds:Reference> element which has a Type attribute with a value of "http://uri.etsi.org/01903/v1.2.2#SignedProperties" refers to an XAdES SignedProperties element.. A <ds:Reference> element which refers to the XAdES SignedProperties element (if present) shall be as specified in [XAdES] section 6.3.1. 

  3. 3.A <ds:Reference> element which does not have a Type attribute shall be processed the same a <ds:Reference> element which has a Type attribute with a value of "http://docs.oasis-open.org/office/v1.2/OS/OpenDocument-v1.2.odt". 

The only permitted <ds:Transform> elements which apply to files contained within the archive shall be canonicalization transforms, as specified in [xmldsig-core], section 6.5.

The signing time should be recorded using one or more of the following approaches:

  1. 1.An <ds:Object > element containing a <ds:SignatureProperty> element with: 

    1. a.An Id attribute with a value containing a unique identifier. 

    2. b.A Target attribute corresponding to the Id attribute of the <ds:Signature> element. 

    3. c.A <date> element from the namespace "http://purl.org/dc/elements/1.1/" containing the UTC time as [xmlschema-2] dateTime value. 

  2. 2.A <xades:SigningTime> element as specified in [XAdES] section 7.2.1. 

If an <ds:Object> containing XAdES elements is present, then a document compliant with this specification uses the following options:

  1. 1.The <xades:SignedSignatureProperties> element shall contain a <xades:SigningCertificate> property as specified in [XAdES] section 7.2.2. 

  2. 2.A <xades:SigningTime> element should be present as specified in [XAdES] section 7.2.1. 

  3. 3.If any timestamp elements of type XAdESTimeStampType are present, such as the <xades:SignatureTimeStamp> or <xades: SigAndRefsTimestamp> elements, the time stamp information shall be specified as an EncapsulatedTimeStamp element containing DER encoded ASN.1. Data. 

  4. 4.If references to validation data are present, the <xades:SigAndRefsTimestamp> element as specified in [XAdES] sections 7.5.1 and 7.5.1.1 shall be used. 

  5. 5.There shall be a <ds:Reference> element specifying the digest of the SignedProperties element, as specified in [XAdES], section 6.2.1. This <ds:Reference> element shall be contained within the <ds:SignedInfo> element of the <ds:Signature> element. 

The <ds:Signature> element is usable with the following element: <dsig:document-signatures> 5.2.

5.4Digital Signatures Attributes

5.4.1dsig:version

The dsig:version attribute identifies the version of OpenDocument specification that defines the schema and interpretation of the digital signature file. The value of the dsig:version attribute shall be "1.2".

The dsig:version attribute is usable with the following element: <dsig:document-signatures> 5.2.

The only value of the dsig:version attribute is 1.2.

6Metadata Manifest Files

6.1General

Metadata manifest files (see 3.6) have the file name “manifest.rdf”. The metadata manifest file for a document (see 3.1) shall be stored in the root of the package. The metadata manifest file for a sub documents shall be stored in the sub document's directory.

Metadata manifest files enumerate metadata files and their relationships to other files in that document or sub document as defined by this specification.

The relationships are expressed in the metadata manifest files using [RDF-XML] and the [OWL] Metadata Manifest Description ontology that is defined in appendix B. The following OWL classes and properties are defined.

6.2pkg:Document

An instance of the pkg:Document class in the metadata manifest file represents the document or sub document itself.

The following property is defined for the pkg:Document class: pkg:hasPart 6.6.

6.3pkg:File

A file in an OpenDocument package is represented by an instance of class pkg:File or by one of its subclasses, for example pkg:MetadataFile.

An instance of the pkg:File class (or one of its subclasses) is identified by an IRI.

The relationship between a file and a package is expressed using the property pkg:hasPart 6.6.

The following property is defined for the pkg:File class: pkg:mimeType 6.7.

6.4pkg:MetadataFile

An instance of the pkg:MetadataFile class represents a metadata file.

The pkg:MetadataFile class is a subclass of pkg:File 6.3.

6.5pkg:Element

The pkg:Element class describes an XML element contained in a file within an OpenDocument package.

6.6pkg:hasPart

The pkg:hasPart property locates a file described by pkg:File or its subclasses within a document or sub document.

This property can be used with the following class: pkg:Document 6.2.

6.7pkg:mimeType

The pkg:mimeType property is used to specify the MIME media type [RFC4288] of file described by an pkg:File class or one of its subclasses.

This property can be used with the following class: pkg:File 6.3.

7Datatypes

7.1Introduction

The values of attributes and elements are often described as having datatypes. These datatypes either are datatypes defined within [xmlschema-2], or are defined by this specification. Datatypes for which no [xmlschema-2] datatype exists are expressed in the schema by [xmlschema-2] datatypes. Some of these datatypes have additional constraints.

7.2W3C Schema Datatypes

The following [xmlschema-2] datatypes are used in this specification:

7.3Other Datatypes

7.3.1namespacedToken

A namespaced token is an [xmlschema-2] QName that matches the definition of PrefixedName in §4 of [xml-names].

  1. Appendix A.Schemas 

    1. A.1.OpenDocument Manifest Schema 

The OpenDocument manifest schema is defined by a separate document, whose location can be found in the Related work section on the introductory pages.

    1. A.2.OpenDocument Digital Signature Schema 

The OpenDocument digital signature schema is defined by a separate document, whose location can be found in the Related work section on the introductory pages.

  1. Appendix B.OpenDocument Metadata Manifest Ontology 

The OpenDocument metadata manifest ontology is defined by a separate document, whose location can be found in the Related work section on the introductory pages.

  1. Appendix C.Zip File Structure (Non normative) 

A Zip file starts with a sequence of files, each of which can be compressed or stored in raw format. Each file has a local header immediately before its data, which contains most of the information about the file, including time-stamps, compression method and file name. The compressed file contents immediately follow, and are terminated by an optional data descriptor. The data descriptor contains the CRC and compressed size of the file, which are frequently not available when writing the local file header. If these details were included, the data descriptor can be skipped.

Each file in the archive is laid down sequentially in this format, followed by a central directory at the end of the Zip archive. The central directory is a contiguous set of directory entries, each of which contains all the information in the local file header, plus extras such as file comments and attributes. Most importantly, the central directory contains pointers to the position of each file in the archive for navigation of the Zip file.

For more details about the Zip file format, see [ZIP].

  1. Appendix D.Changes From “Open Document Format for Office Applications (OpenDocument) v1.1” (Non Normative) 

The OpenDocument specification has been divided into three parts and has been restructured.

This appendix describes changes that are related to part 3 of this specification.

The following is a list of major features that have been added. For minor features please see the lists of new and changed elements and attributes.

The following element is new for manifest files:

  • <manifest:start-key-generation> 4.6 

The following attributes are new for manifest files:

  • manifest:key-size 4.8.7 

  • manifest:preferred-view-mode 4.8.11 

  • manifest:start-key-generation-name 4.8.6 

  • manifest:version 4.8.14 

The value types of the following attributes changed:

  • manifest:algorithm-name 4.8.1 of <manifest:algorithm> 4.5 

  • manifest:checksum-type 4.8.3 of <manifest:encryption-data> 4.4 

  • manifest:key-derivation-name 4.8.9 of <manifest:key-derivation> 4.7 

\ No newline at end of file diff --git a/odfdom/src/main/javadoc/resources/OpenDocument-v1.3-os-part2-packages.html b/odfdom/src/main/javadoc/resources/OpenDocument-v1.3-os-part2-packages.html new file mode 100644 index 0000000000..5d5b9bdb33 --- /dev/null +++ b/odfdom/src/main/javadoc/resources/OpenDocument-v1.3-os-part2-packages.html @@ -0,0 +1,207 @@ + + +Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 2: Packages
 

Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 2: Packages

OASIS Standard

27 April 2021

This stage:

https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part2-packages/OpenDocument-v1.3-os-part2-packages.odt (Authoritative)

https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part2-packages/OpenDocument-v1.3-os-part2-packages.html

https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part2-packages/OpenDocument-v1.3-os-part2-packages.pdf

Previous stage:

https://docs.oasis-open.org/office/OpenDocument/v1.3/cs02/part2-packages/OpenDocument-v1.3-cs02-part2-packages.odt (Authoritative)

https://docs.oasis-open.org/office/OpenDocument/v1.3/cs02/part2-packages/OpenDocument-v1.3-cs02-part2-packages.html

https://docs.oasis-open.org/office/OpenDocument/v1.3/cs02/part2-packages/OpenDocument-v1.3-cs02-part2-packages.pdf

Latest stage:

https://docs.oasis-open.org/office/OpenDocument/v1.3/OpenDocument-v1.3-part2-packages.odt (Authoritative)

https://docs.oasis-open.org/office/OpenDocument/v1.3/OpenDocument-v1.3-part2-packages.html

https://docs.oasis-open.org/office/OpenDocument/v1.3/OpenDocument-v1.3-part2-packages.pdf

Technical Committee:

OASIS Open Document Format for Office Applications (OpenDocument) TC

Chairs:

Patrick Durusau (patrick@durusau.net), Individual

Jos van den Oever (jos.vanden.oever@logius.nl), Logius

Editors:

Francis Cave (francis@franciscave.com), Individual

Patrick Durusau (patrick@durusau.net), Individual

Svante Schubert (svante.schubert@gmail.com), Individual

Michael Stahl (michael.stahl@cib.de), CIB labs GmbH

Additional artifacts:

This prose specification is one component of a Work Product which includes:

Related work:

This specification replaces or supersedes:

Declared XML namespaces:

urn:oasis:names:tc:opendocument:xmlns:manifest:1.0

urn:oasis:names:tc:opendocument:xmlns:digitalsignature:1.0

http://docs.oasis-open.org/ns/office/1.2/meta/pkg#

Abstract:

This document is Part 2 of the Open Document Format for Office Applications (OpenDocument) Version 1.3 specification and defines a package format for OpenDocument documents, the digital signing of such documents, along with metadata that may be supplied with them.

Status:

This document was last revised or approved by the membership of OASIS on the above date. The level of approval is also listed above. Check the “Latest stage” location noted above for possible later revisions of this document. Any other numbered Versions and other technical work produced by the Technical Committee (TC) are listed at https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=office#technical.

TC members should send comments on this specification to the TC’s email list. Others should send comments to the TC’s public comment list, after subscribing to it by following the instructions at the “Send A Comment” button on the TC’s web page at https://www.oasis-open.org/committees/office/.

This specification is provided under the RF on Limited Terms Model of the OASIS IPR Policy, the mode chosen when the Technical Committee was established. For information on whether any patents have been disclosed that may be essential to implementing this specification, and any offers of patent licensing terms, please refer to the Intellectual Property Rights section of the TC’s web page (https://www.oasis-open.org/committees/office/ipr.php).

Note that any machine-readable content (Computer Language Definitions) declared Normative for this Work Product is provided in separate plain text files. In the event of a discrepancy between any such plain text file and display content in the Work Product's prose narrative document(s), the content in the separate plain text file prevails.

Citation format:

When referencing this specification the following citation format should be used:

[OpenDocument-v1.3-part2]

Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 2: Packages. Edited by Francis Cave, Patrick Durusau, Svante Schubert and Michael Stahl. 27 April 2021. OASIS Standard. https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part2-packages/OpenDocument-v1.3-os-part2-packages.html. Latest stage: https://docs.oasis-open.org/office/OpenDocument/v1.3/OpenDocument-v1.3-part2-packages.html.

Notices

Copyright © OASIS Open 2021. All Rights Reserved.

All capitalized terms in the following text have the meanings assigned to them in the OASIS Intellectual Property Rights Policy (the "OASIS IPR Policy"). The full Policy may be found at the OASIS website.

This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published, and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this section are included on all such copies and derivative works. However, this document itself may not be modified in any way, including by removing the copyright notice or references to OASIS, except as needed for the purpose of developing any document or deliverable produced by an OASIS Technical Committee (in which case the rules applicable to copyrights, as set forth in the OASIS IPR Policy, must be followed) or as required to translate it into languages other than English.

The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.

This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

OASIS requests that any OASIS Party or any other party that believes it has patent claims that would necessarily be infringed by implementations of this OASIS Committee Specification or OASIS Standard, to notify OASIS TC Administrator and provide an indication of its willingness to grant patent licenses to such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that produced this specification.

OASIS invites any party to contact the OASIS TC Administrator if it is aware of a claim of ownership of any patent claims that would necessarily be infringed by implementations of this specification by a patent holder that is not willing to provide a license to such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that produced this specification. OASIS may include such claims on its website, but disclaims any obligation to do so.

OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS' procedures with respect to rights in any document or deliverable produced by an OASIS Technical Committee can be found on the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this OASIS Committee Specification or OASIS Standard, can be obtained from the OASIS TC Administrator. OASIS makes no representation that any information or list of intellectual property rights will at any time be complete, or that any claims in such list are, in fact, Essential Claims.

The name "OASIS" is a trademark of OASIS, the owner and developer of this specification, and should be used only to refer to the organization and its official outputs. OASIS welcomes reference to, and implementation and use of, specifications, while reserving the right to enforce its marks against misleading uses. Please see https://www.oasis-open.org/policies-guidelines/trademark for above guidance.

Table of Contents

1 Introduction

1.1 Introduction

1.2 Terminology

1.3 Normative References

1.4 Non Normative References

1.5 Namespaces

2 Packages, Package Consumers and Package Producers

2.1 Introduction

2.2 Package Conformance

2.2.1 OpenDocument Package

2.2.2 OpenDocument Extended Package

2.3 Producers

2.3.1 OpenDocument Package Producer

2.3.2 OpenDocument Package Extended Producer

2.4 OpenDocument Package Consumer

3 Packages

3.1 General

3.2 Manifest

3.3 MIME Media Type

3.4 Encryption

3.4.1 General

3.4.2 Encryption Process

3.5 Digital Signatures

3.6 Metadata

3.7 Usage of IRIs Within Packages

3.8 Preview Image

3.9 Interactions Between Encryption and Digital Signatures

4 Manifest File

4.1 Introduction

4.2 <manifest:manifest>

4.3 <manifest:file-entry>

4.4 <manifest:encryption-data>

4.5 <manifest:algorithm>

4.6 <manifest:start-key-generation>

4.7 <manifest:key-derivation>

4.8 <manifest:encrypted-key>

4.9 <manifest:encryption-method>

4.10 <manifest:keyinfo>

4.11 <manifest:PGPData>

4.12 <manifest:PGPKeyID>

4.13 <manifest:PGPKeyPacket>

4.14 <manifest:CipherData>

4.15 <manifest:CipherValue>

4.16 Manifest Attributes

4.16.1 manifest:algorithm-name

4.16.2 manifest:checksum

4.16.3 manifest:checksum-type

4.16.4 manifest:full-path

4.16.5 manifest:initialisation-vector

4.16.6 manifest:start-key-generation-name

4.16.7 manifest:key-size

4.16.8 manifest:iteration-count

4.16.9 manifest:key-derivation-name

4.16.10 manifest:media-type

4.16.11 manifest:preferred-view-mode

4.16.12 manifest:salt

4.16.13 manifest:size

4.16.14 manifest:version

4.16.14.1 <manifest:file-entry>

4.16.14.2 <manifest:manifest>

4.17 manifest:PGPAlgorithm

5 Digital Signatures File

5.1 Introduction

5.2 <dsig:document-signatures>

5.3 <ds:Signature>

5.4 Digital Signatures Attributes

5.4.1 dsig:version

6 Metadata Manifest Files

6.1 General

6.2 pkg:Document

6.3 pkg:File

6.4 pkg:MetadataFile

6.5 pkg:Element

6.6 pkg:hasPart

6.7 pkg:mimeType

7 Datatypes

7.1 Introduction

7.2 W3C Schema Datatypes

7.3 Other Datatypes

7.3.1 namespacedToken

Appendix A Schemas

Appendix A.1 OpenDocument Manifest Schema

Appendix A.2 OpenDocument Digital Signature Schema

Appendix B OpenDocument Metadata Manifest Ontology

Appendix C Zip File Structure (Non normative)

Appendix D Changes from “Open Document Format for Office Applications (OpenDocument) v1.2”

 

1 Introduction

1.1 Introduction

This document is part of the Open Document Format for Office Applications (OpenDocument) Version 1.3 specification. It defines a package format for OpenDocument documents.

1.2 Terminology

All text is normative unless otherwise labeled.

Text with a gray background color which is contained in boxes is informative. It lists the XML element-element and element-attribute relations for cross reference purposes.

Within the normative text of this specification, the terms “shall”, “shall not”, “should”, “should not”, “may” and “need not” are to be interpreted as described in Annex H of [ISO/IEC Directives].

XML Element, attribute names, attribute value types, and attribute values appear in monospace font.

Implementation-defined is used in this standard for values or processing that may differ between ODF implementations, but is required to be specified by the implementor for each particular ODF implementation.

1.3 Normative References

The following documents are referred to in the text in such a way that some or all of their content constitutes requirements of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies.

 

[ISO/IEC Directives]  ISO/IEC Directives, Part 2 (Fifth Edition) Rules for the structure and drafting of International Standards, International Organization for Standardization and International Electrotechnical Commission, 2004

[OWL]  Deborah L. McGuinness, Frank van Harmelen, OWL Web Ontology Language Overview, http://www.w3.org/TR/2004/REC-owl-features-20040210/, W3C, 2004.

[PNG]  David Duce, Portable Network Graphics (PNG) Specification (Second Edition), http://www.w3.org/TR/2003/REC-PNG-20031110, W3C, 2003.

[RDF-CONCEPTS]  Graham Klyne, Jeremy J. Carroll, Brian McBride, Resource Description Framework (RDF): Concepts and Abstract Syntax, http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/, W3C, 2004.

[RDF-XML] Dave Beckett, Brian McBride,    RDF/XML Syntax Specification (Revised), http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/, W3C, 2004.

[RFC2898] B. Kaliski, PKCS #5: Password-Based Cryptography Specification Version 2.0, http://www.ietf.org/rfc/rfc2898.txt, IETF, 2000.

[RFC3174] D. Eastlake, 3rd, P. Jones, US Secure Hash Algorithm 1 (SHA1), http://www.ietf.org/rfc/rfc3174.txt, IETF, 2001.

[RFC3986] T. Berners-Lee, R. Fielding, L. Masinter, Uniform Resource Identifier (URI): Generic Syntax, http://www.ietf.org/rfc/rfc3986.txt, IETF, 2005.

[RFC3987] M. Duerst, M. Suignard, Internationalized Resource Identifiers (IRIs), http://www.ietf.org/rfc/rfc3987.txt, IETF, 2005.

[RFC4880] Callas, J., Donnerhacke, L., Finney, H., Shaw, D., and R. Thayer, "OpenPGP Message Format", RFC 4880, DOI 10.17487/RFC4880, November 2007, <https://www.rfc-editor.org/info/rfc4880>.

[RFC6838] Freed, N., Klensin, J., and T. Hansen, "Media Type Specifications and Registration Procedures", BCP 13, RFC 6838, DOI 10.17487/RFC6838, January 2013, <https://www.rfc-editor.org/info/rfc6838>.

[RNG] ISO/IEC 19757-2 Document Schema Definition Language (DSDL) -- Part 2: Regular-grammar-based validation -- RELAX NG, International Organization for Standardization and International Electrotechnical Commission, 2003

[XAdES] XML Advanced Electronic Signatures (XAdES) (ETSI TS 101 903 v1.4.2 Dec. 2010), ETSI, 650 Route des Lucioles, F-06921 Sophia Antipolis Cedex, FRANCE, http://webapp.etsi.org/WorkProgram/Report_WorkItem.asp?wki_id=35243, 2010.

[XML1.0] Tim Bray, Jean Paoli, C. M. Sperberg-McQueen, Eve Maler, François Yergeau , Extensible Markup Language (XML) 1.0 (Fourth Edition), http://www.w3.org/TR/2006/REC-xml-20060816/, W3C, 2004.

[XML-ID] Jonathan Marsh, Daniel Veillard, Norman Walsh, xml:id Version 1.0, http://www.w3.org/TR/2005/REC-xml-id-20050909/, W3C, 2005.

[xml-names] Tim Bray et al., Namespaces in XML 1.0 (Second Edition), http://www.w3.org/TR/2006/REC-xml-names-20060816, W3C, 2006.

[xmlenc-core] Donald Eastlake, Joseph Reagle, XML Encryption Syntax and Processing, http://www.w3.org/TR/2002/REC-xmlenc-core-20021210/, W3C, 2002.

[xmlschema-2] Paul V. Biron, Ashok Malhotra, XML Schema Part 2: Datatypes Second Edition, http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/, W3C, 2004.

[xmldsig-core] Donald Eastlake, Joseph Reagle, David Solo, Frederick Hirsch, Thomas Roessler,  XML Signature Syntax and Processing (Second Edition), http://www.w3.org/TR/2008/REC-xmldsig-core-20080610/, W3C, 2008.

[xmldsig-core1] D. Eastlake; J. Reagle; D. Solo; F. Hirsch; T. Roessler; K. Yiu. XML Signature Syntax and Processing Version 1.1. 11 April 2013. W3C Recommendation. http://www.w3.org/TR/2013/REC-xmldsig-core1-20130411/

[ZIP] PKWARE Inc. Zip APPNOTE Version 6.2.0, http://www.pkware.com/support/application-note-archives, 2004

 

1.4 Non Normative References

[Schneier] Bruce Schneier, Applied Cryptography (Second Edition), John Wiley & Sons, ISBN: 0-471-11709-9, 1996

[Schneier-Errata] Bruce Schneir, Applied Cryptography 2nd. Ed. - Errata, http://www.schneier.com/book-applied-errata.html, 1998.

1.5 Namespaces

The namespaces used or defined by OpenDocument part 2 are listed in tables 1 and 2.

The prefix column in tables 1 and 2 lists the namespace prefixes this specification uses when referring to elements and attributes in different namespaces. Consistent usage in this specification and in the schema is for clarity. Instances of XML documents can employ any [xml-names]-admissable declarations of prefixes and default namespaces that accomplish binding of the listed namespaces.

Note: XML namespaces are employed in accordance with the Namespaces in XML W3C Recommendation  [xml-names].

Table 1 - XML Namespaces defined by the OpenDocument specification part 2

Prefix

Description

Namespace

manifest

Elements and attribute contained in the package manifest.

urn:oasis:names:tc:opendocument:xmlns:
manifest:1.0

dsig

Elements and attribute contained in digital signature files.

urn:oasis:names:tc:opendocument:xmlns:digitalsignature:1.0

Table 2 - XML Namespaces defined by the OpenDocument metadata manifest ontology

Prefix

Description

Namespace

pkg

OWL classes and properties contained in metadata manifest files.

http://docs.oasis-open.org/ns/office/1.2/meta/pkg#

Table 3 - XML Namespaces used by the OpenDocument digital signature schema

Prefix

Description

Namespace

ds

XML Digital Signature Syntax and Processing namespace (see [xmldsig-core])

http://www.w3.org/2000/09/xmldsig#

2 Packages, Package Consumers and Package Producers

2.1 Introduction

The OpenDocument specification defines conformance for packages, package consumers, and package producers, with two conformance classes called conforming and extended conforming. This chapter defines the basic requirements for the individual conformance targets.

2.2 Package Conformance

2.2.1 OpenDocument Package

An OpenDocument Package shall meet the following requirements:

  1. A)It shall be a Zip file, as defined by [ZIP]. All files contained in the Zip file shall be non compressed (STORED) or compressed using the “deflate” (DEFLATED) algorithm. 

  2. B)It shall contain a file “META-INF/manifest.xml”. This file shall meet the following requirements: 

    1. B.1)The file shall be a well formed XML document in accordance with the [XML1.0] specification. 

    2. B.2)The XML root element of the file shall be a <manifest:manifest> element 4.2. 

    3. B.3)The XML file shall be valid with respect to the manifest schema defined in appendix A.1 OpenDocument Manifest Schema. 

  3. C)It should contain a file “mimetype”. 

  4. D)It may contain files whose relative paths begin with “META-INF/” and whose names contain the string “signatures”. These file shall meet the following requirements: 

    1. D.1)The files shall be well-formed XML files in accordance with [XML1.0]. 

    2. D.2)The XML root element of each file shall be a <dsig:document-signatures> element 5.2. 

    3. D.3)The files shall be valid with respect to the digital signature schema defined in appendix A.2 OpenDocument Digital Signature Schema. 

  5. E)It shall not contain other files whose relative path begins with “META-INF/” other than those listed in B) and D), nor shall the META-INF/manifest.xml contain any implementation-defined IRIs as alternative identifications.  

  6. F)The files listed in (B) and (D) meet the following requirements: 

    1. F.1)They shall be namespace-well-formed with regard to the XML Namespaces specification [xml-names]. 

    2. F.2)They shall conform to the xml-id specification [XML-ID]. 

2.2.2 OpenDocument Extended Package

  1. G)An OpenDocument Extended Package shall meet all requirements of a conforming package except item E) of 2.2.1. 

2.3 Producers

2.3.1 OpenDocument Package Producer

An OpenDocument Package Producer is a program that creates conforming OpenDocument packages, and that meets the additional requirements:

  1. A)It may produce conforming OpenDocument extended packages, but it shall have a mode of operation where all OpenDocument packages that are created are conforming OpenDocument packages. 

  2. B)It shall be accompanied by a document that defines all implementation-defined values used by the OpenDocument package producer. 

2.3.2 OpenDocument Package Extended Producer

An OpenDocument Package Extended Producer is a program that creates conforming OpenDocument extended packages. It shall be accompanied by a document that defines all implementation-defined values used by the OpenDocument package producer.

2.4 OpenDocument Package Consumer

An OpenDocument Package Consumer is a program that can parse and interpret OpenDocument packages, and that meets the following additional requirements:

  1. A)It shall be able to parse and interpret OpenDocument packages and OpenDocument extended packages, but it need not interpret the semantics of all elements, attributes and attribute values. 

  2. B)The XML parser used to parse the files listed in 2.2.1 (B) and 2.2.1 (D) meets the following requirements: 

    1. B.1)It shall be a nonvalidating XML processor with regard to the XML 1.0 specification [XML1.0]. 

    2. B.2)It shall be a conforming processor with regard to the XML Namespaces specification [xml-names]. 

    3. B.3)It shall conform to the xml-id specification [XML-ID]. 

3 Packages

3.1 General

OpenDocument defines a package file to store the XML content of a document as separate parts together with associated binary data as file entries in a single package file. These file entries may be compressed to further reduce the storage taken by the package. This package is a Zip file [ZIP], whose structure is described in Appendix C. OpenDocument Packages impose additional structure on the Zip file to accomplish the representation of OpenDocument Format documents.

A document within a package may consist of a set of files creating a unit, for instance the set of files specified by OpenDocument Part 3. These files may be located in the root of the package, or within a directory. If they are contained in the root of the package, they are called document. If they are located within a directory, the document they constitute is called a sub document. A package may contain multiple sub documents, but only a single document can be contained in the root of the package. Unless otherwise stated, the term document refers to the document contained in the root of the package. This may include sub documents.

3.2 Manifest

All OpenDocument packages shall contain a file named “META-INF/manifest.xml”. This file is the OpenDocument package manifest. The manifest provides :

The format of the manifest file is specified in chapter 4.

For all files contained in a package, with exception of the “mimetype” file and files whose relative path starts with “META-INF/”, the “META-INF/manifest.xml” file shall contain exactly one <manifest:file-entry> element whose manifest:full-path attribute's value references the file.

The “META-INF/manifest.xml” file need not contain <manifest:file-entry> elements 4.3 whose manifest:full-path attribute 4.16.4 references files whose relative path start with "META-INF/". The file shall not contain <manifest:file-entry> elements whose manifest:full-path attribute value references the “META-INF/manifest.xml” file itself or the “mimetype” file.

The “META-INF/manifest.xml” file should contain a <manifest:file-entry> element whose manifest:full-path attribute has the value "/". This element specifies information regarding the document stored in the root of the package. This entry shall exist if the package contains a file "mimetype"

3.3 MIME Media Type

If a MIME media type for a document exists, then an OpenDocument package should contain a file with name “mimetype”. The content of this file shall be the ASCII encoded MIME media type associated with the document. See [RFC6838].

The “mimetype” file shall be the first file of the zip file. It shall not be compressed, and it shall not use an 'extra field' in its header.

If the file named “META-INF/manifest.xml” contains a <manifest:file-entry> element whose manifest:full-path attribute has the value "/", then a "mimetype" file shall exist, and the content of the “mimetype” file shall be equal to the value of the manifest:media-type attribute 4.16.10 of that element.

Note: The purpose is to allow the type of document represented by the package to be discovered through 'magic number' mechanisms, such as Unix's file/magic utility. If a Zip file contains a file at the beginning of the file that is uncompressed, and has no extra data in the header, then its file name and data can be found at fixed positions from the beginning of the package. More specifically, one will find:

  • the string 'PK' at position 0 of all zip files 

  • the string 'mimetype' beginning at position 30 

  • the media type itself beginning at position 38. 

3.4 Encryption

3.4.1 General

OpenDocument packages may be encrypted by encrypting some or all files within the package. The encryption process takes place in the following stages:

 The information regarding the algorithms that were used to encrypt a file and required parameters are contained in the manifest. The manifest shall not be encrypted.

Each file entry that is encrypted shall be compressed with the “deflate” algorithm before being encrypted. Encrypted file entries shall be flagged as 'STORED' rather than 'DEFLATED' in the Zip file's central directory. The size of the encrypted file should replace the real size value in the file entry's central directory records, its local file header and the data descriptor, if any. The original uncompressed, unencrypted size shall be contained in the manifest:size 4.16.13 attribute of the <manifest:file-entry> 4.3 element for the file entry.

The encrypted form can be of greater size than the DEFLATED file used as the plaintext.

Note: The encrypted form may be of greater size because of padding of plaintext, inclusion of additional information, and other characteristics of the encryption technique).

The encryption method shall be such that the exact size and value of the plaintext DEFLATED file is recovered by the corresponding decryption process.

3.4.2 Encryption Process

The three stages of the encryption process proceed as follows, using the legacy algorithms to illustrate each stage:

  1. 1.The start key is generated: The byte sequence representing the password in UTF-8 is used to generate a 20-byte SHA1 digest (see [RFC3174]). 

  2. 2.For each file to be encrypted, a separate derived key is generated from the start key: The PBKDF2 algorithm based on the HMAC-SHA-1 function (see [RFC2898]) is used for the key derivation. For each file, a 16-byte salt is generated by a random generator. The salt is used together with the start key to derive a unique 128-bit key for each file. The default iteration count for the algorithm is 1024. 

  3. 3.The files are encrypted: The random number generator is used to generate the 8-byte initialization vector for the algorithm. The derived key is used together with the initialization vector to encrypt the file using the Blowfish algorithm in 8-bit cipher feedback (8-bit CFB) mode (see [Schneier]). 

3.5 Digital Signatures

Files within a package may have a digital signature applied. Digital signatures are stored in one or more files whose relative paths begin with “META-INF/”. The names of these files shall contain the term “signatures”.

The format of digital signature files is specified in chapter 5.

3.6 Metadata

Metadata for documents contained in an OpenDocument package may be expressed using the model of the W3C Resource Description Framework [RDF-CONCEPTS].

A document or sub document that is stored in a package may contain any  number of metadata files. The content of a metadata files shall conform to the [RDF-XML] specification. Implementations that are consumers as well as producers should preserve all metadata files.

All metadata files of a document or sub document shall be listed in a separate metadata manifest file, which has the file name “manifest.rdf”. This file enumerates metadata files and their relationships to other files in an OpenDocument package. See chapter 6.

In addition to metadata files, the "manifest.rdf" file may list other files which are contained in the document or sub document that contain RDF metadata, like files that contain RDFa metadata. The "manifest.rdf" file need not exist if a document or sub document does not contain any files that contain RDF metadata.

All references to a resource within the same package that occur within metadata file shall be represented by relative IRIs to the resource. This includes values of rdf:about attributes occurring within metadata files or metadata manifest files.

3.7 Usage of IRIs Within Packages

Within the files contained in a package, relative IRIs as defined by [RFC3987] may be used to reference other files within the same package.

OpenDocument Package Consumers shall resolve relative IRIs that occur within a file of a package as follows:

  1. 1.The file entry path is the file name of the file within the Zip file which contains the relative IRI, including its relative path. 

  2. 2.The package base IRI is the base IRI which would be established for the package itself as defined in §5.1 of [RFC3986]. 

  3. 3.If the relative IRI does not match the rule for "relative-ref" defined in §4.2 of [RFC3986] or if the relative IRI does start with a "/" character (U+002F, SOLIDUS) then it is resolved as defined in §5.2 of [RFC3986] with the package base IRI as base URI. 

  4. 4.If the relative IRI references matches the rule for "relative-ref" defined in §4.2 of [RFC3986] and its "relative-part" component matches the "path-empty" rule it shall be resolved as a "Same-Document" references defined in §4.4 of [RFC3986]. 

  5. 5.Otherwise the "relative-part" component of the relative IRI is copied into a relative IRI buffer and an empty file entry path buffer is created 

  6. 6.If the file entry path does contain a "/" character (U+002F, SOLIDUS) then the file path up to and including the last "/" character is copied into the file entry buffer. 

  7. 7.If the relative IRI buffer starts with the character sequence "./" (U+002E, FULL STOP, followed by U+002F, SOLIDUS) then that character sequence it removed from the buffer. Continue with step 7. 

  8. 8.If the content of the relative IRI buffer is the character sequence "." (U+002E, FULL STOP), the content of the relative IRI buffer is removed. Continue with step 11. 

  9. 9.If the content of the relative IRI buffer is the character sequence ".." (U+002E, FULL STOP, followed by U+002E, FULL STOP) and 

    • if the file entry path buffer is empty, then the content of the relative IRI buffer is replaced with "." (U+002E, FULL STOP). The query and fragment components of the relative IRI, if present, are appended to the relative IRI buffer, including the "?" (U+003F, QUESTION MARK) and "#" (U+0023, NUMBER SIGN) delimiter characters. The content of the relative IRI buffer then is resolved as defined in §5.2 of [RFC3986] with the package base IRI as base URI. 

    • if the file entry path buffer contains at least one relative path component, the last relative path component up to and including the last "/" character (U+002F, SOLIDUS) is removed. The ".." character sequence is removed from the IRI buffer. Continue with step 11. 

  10. 10.If a fragment buffer has been created and is not empty, its content may be resolved as fragment identifier, as defined by §3.5 of [RFC3986]. 

    • if the file entry path buffer is empty, then the "../" is replaced with "./" (U+002E, FULL STOP, followed by U+002F, SOLIDUS) in the relative IRI buffer. The query and fragment components of the relative IRI, if present, are appended to the relative IRI buffer, including the "?" (U+003F, QUESTION MARK) and "#" (U+0023, NUMBER SIGN) delimiter characters. The content of the relative IRI buffer then is resolved as defined in §5.2 of [RFC3986] with the package base IRI as base URI. 

    • if the file entry path buffer contains at least one one relative path component, the last relative path component up to and including the last "/" character (U+002F, SOLIDUS) is removed. The "../" character sequence is removed from the IRI buffer. Continue with step 7. 

  11. 11.The content of the file entry buffer is inserted into the relative IRI buffer before any existing content. 

  12. 12.The content of the relative IRI buffer is interpreted as a file or directory name within the package, that is, as the name of a file or directory including its relative path within the Zip file. An empty buffer denotes the package root. Path segments in the relative IRI buffer that originally came from the relative IRI shall be interpreted according to IRI syntax rules, while segments that originally came from the file entry path must be interpreted according to Zip path name syntax rules. 

  13. 13.If the relative IRI contains a fragment component, it is resolved as fragment identifier, as defined by §3.5 of [RFC3986]. 

Note: Files whose relative path starts with “META-INF/” are considered to be part of the OpenDocument package rather than of the content stored within the package. Therefore, different rules regarding the resolution of relative IRIs may apply.

3.8 Preview Image

Unless a document is encrypted, package producers should generate a preview image of the document that is contained in the package. It should be a representation of the first page, first sheet, etc. of the document. For maximum re-usability of the preview images they shall be generated without any effects, surrounding frames, or borders.

Note: Such effects might interfere with effects added to the preview images by the different file system explorers or may not be desired at all for certain use cases.

The preview image shall be contained in a file named “Thumbnails/thumbnail.png”.

Preview images shall be saved in [PNG] format.

Note: Current desktops display preview images within squares of up to 256 pixel width and height, and 24 bit per pixel. While this specification does not define upper or lower limits for preview image sizes, producers should only use image sizes that are displayed with a reasonable quality if scaled to fit into 256x256 pixel square.

Encrypted documents are intended to be unreadable for unauthorized users and package producers shall not generate preview images for such documents. They may include a preview image that is independent of the contents of the document. Such preview images should not be encrypted.

3.9 Interactions Between Encryption and Digital Signatures

An OpenDocument Package Producer that both encrypts files in the package and applies digital signatures to files in the package should either first encrypt (per section 3.4) and then apply the digital signatures (per section 5) or first apply the digital signatures and then encrypt.

If the encryption of the files is done first, the digital signatures files shall not be encrypted.

If the files in the package are encrypted after applying the digital signatures, the digital signature files shall be encrypted.

See also section 5.2.

Note: It is current practice to first encrypt and then apply the digital signatures.

4 Manifest File

4.1 Introduction

The format of the manifest file is defined by the OpenDocument manifest Relax-NG [RNG] schema. See appendix A. This chapter describes the semantics of the elements and attributes defined by this schema.

4.2 <manifest:manifest>

The <manifest:manifest> element is the root element of the manifest file. It contains <manifest:file-entry> child elements 4.3, each of which specifies information for a a file or directory in the package.

The <manifest:manifest> element is a root element.

The <manifest:manifest> element has the following attribute: manifest:version 4.16.14.

The <manifest:manifest> element has the following child elements: <manifest:encrypted-key> 4.8 and <manifest:file-entry> 4.3.

4.3 <manifest:file-entry>

The <manifest:file-entry> element specifies the media type of a single file or sub document within the package.  It may also specify the data required to decrypt a file.

For directories, the manifest file should contain a <manifest:file-entry> element only if a directory contains a document or a sub document. See 3.1. A directory for administrative or convenience purposes, such as a directory that contains various unrelated image files, should not have an entry in the manifest file.

Directories have no corresponding file entries within the Zip file.

The <manifest:file-entry> element is usable within the following element: <manifest:manifest> 4.2.

The <manifest:file-entry> element has the following attributes: manifest:full-path 4.16.4, manifest:media-type 4.16.10, manifest:preferred-view-mode 4.16.11, manifest:size 4.16.13 and manifest:version 4.16.14.

The <manifest:file-entry> element has the following child element: <manifest:encryption-data> 4.4.

4.4 <manifest:encryption-data>

The <manifest:encryption-data> element contains information required to decrypt a file entry.

The <manifest:encryption-data> element is usable within the following element: <manifest:file-entry> 4.3.

The <manifest:encryption-data> element has the following attributes: manifest:checksum 4.16.2 and manifest:checksum-type 4.16.3.

The <manifest:encryption-data> element has the following child elements: <manifest:algorithm> 4.5, <manifest:key-derivation> 4.7 and <manifest:start-key-generation> 4.6.

4.5 <manifest:algorithm>

The <manifest:algorithm> element specifies the algorithm used to encrypt data.

Depending on the algorithm specified by the manifest:algorithm-name attribute  4.16.1 , the <manifest:algorithm> element may have further child elements.

When the manifest:algorithm-name attribute value matches one of those defined in section §5.2 of [xmlenc-core], the <manifest:algorithm> element shall not have child elements except those permitted as child elements of the §3.2[xmlenc-core] <EncryptionMethod> element whose Algorithm attribute value is the same as the <manifest:algorithm> manifest:algorithm-name attribute value.

When the value of the manifest:algorithm-name attribute identifies the legacy Blowfish algorithm, <manifest:algorithm> shall be an empty element.

The <manifest:algorithm> element is usable within the following element: <manifest:encryption-data> 4.4.

The <manifest:algorithm> element has the following attributes: manifest:algorithm-name 4.16.1 and manifest:initialisation-vector 4.16.5.

4.6 <manifest:start-key-generation>

The <manifest:start-key-generation> element specifies how the encryption start key is derived from a user specified password. The password shall be provided as a sequence of bytes in UTF-8 encoding.

When a <manifest:start-key-generation> element is absent as a child of a <manifest:encryption-data> element, interpretation is the same as if the element is present with default attribute values.

The <manifest:start-key-generation> element is usable within the following element: <manifest:encryption-data> 4.4.

The <manifest:start-key-generation> element has the following attributes: manifest:key-size 4.16.7 and manifest:start-key-generation-name 4.16.6.

The <manifest:start-key-generation> element has no child elements.

4.7 <manifest:key-derivation>

The <manifest:key-derivation> element specifies how the encryption key was calculated from the encryption start key.

The <manifest:key-derivation> element is usable within the following element: <manifest:encryption-data> 4.4.

The <manifest:key-derivation> element has the following attributes: manifest:iteration-count 4.16.8, manifest:key-derivation-name 4.16.9, manifest:key-size 4.16.7 and manifest:salt 4.16.12.

The <manifest:key-derivation> element has no child elements.

4.8 <manifest:encrypted-key>

The <manifest:encrypted-key> element is used to transport encryption keys from the originator to a known recipient(s).

The <manifest:encrypted-key> element is usable within the following element: <manifest:manifest> 4.2.

The <manifest:encrypted-key> element has no attributes.

The <manifest:encrypted-key> element has the following child elements: <manifest:CipherData> 4.14, <manifest:encryption-method> 4.9 and <manifest:keyinfo> 4.10.

4.9 <manifest:encryption-method>

The <manifest:encryption-method> element specifies the encryption algorithm applied to an encrypted-key by its manifest:PGPAlgorithm attribute.

The <manifest:encryption-method> element is usable within the following element: <manifest:encrypted-key> 4.8.

The <manifest:encryption-method> element has the following attribute: manifest:PGPAlgorithm 4.17.

The <manifest:encryption-method> element has no child elements.

4.10  <manifest:keyinfo>

The <manifest:keyinfo> element carries information about the key used to encrypt data.

The <manifest:keyinfo> element is usable within the following element: <manifest:encrypted-key> 4.8.

The <manifest:keyinfo> element has no attributes.

The <manifest:keyinfo> element has the following child element: <manifest:PGPData> 4.11.

4.11 <manifest:PGPData>

The <manifest:PGPData> element conveys information related to PGP public key pairs and signatures on those keys.

The <manifest:PGPData> element is usable within the following element: <manifest:keyinfo> 4.10.

The <manifest:PGPData> element has no attributes.

The <manifest:PGPData> element has the following child elements: <manifest:PGPKeyID> 4.12 and <manifest:PGPKeyPacket> 4.13.

4.12 <manifest:PGPKeyID>

The <manifest:PGPKeyID> element contains a base64Binary sequence representing a standard PGP public key identifier as defined in [RFC4880]

The <manifest:PGPKeyID> element is usable within the following element: <manifest:PGPData> 4.11.

The <manifest:PGPKeyID> element has no attributes.

The <manifest:PGPKeyID> element has no child elements.

The <manifest:PGPKeyID> element has content of data type base64Binary 7.2.

4.13 <manifest:PGPKeyPacket>

The <manifest:PGPKeyPacket> element contains a base64Binary encoded Key Material Packet as defined in [RFC4880].

The <manifest:PGPKeyPacket> element is usable within the following element: <manifest:PGPData> 4.11.

The <manifest:PGPKeyPacket> element has no attributes.

The <manifest:PGPKeyPacket> element has no child elements.

The <manifest:PGPKeyPacket> element has content of data type base64Binary 7.2.

4.14 <manifest:CipherData>

The <manifest:CipherData> element contains the encrypted data.

Note: Unlike the CipherData element in [xmldsig-core1], the <manifest:CipherData> element content model does not permit an identifier to be dereferenced.

The <manifest:CipherData> element is usable within the following element: <manifest:encrypted-key> 4.8.

The <manifest:CipherData> element has no attributes.

The <manifest:CipherData> element has the following child element: <manifest:CipherValue> 4.15.

4.15 <manifest:CipherValue>

The <manifest:CipherValue> element contains raw encrypted data.

The <manifest:CipherValue> element is usable within the following element: <manifest:CipherData> 4.14.

The <manifest:CipherValue> element has no attributes.

The <manifest:CipherValue> element has no child elements.

The <manifest:CipherValue> element has content of data type base64Binary 7.2.

4.16 Manifest Attributes

4.16.1 manifest:algorithm-name

The manifest:algorithm-name attribute specifies the algorithm and mode used to encrypt a file entry.

The defined values for the manifest:algorithm-name attribute are:

  • An IRI listed in §5.2 of [xmlenc-core]: The algorithm and mode specified in §5.2 of [xmlenc-core] for this IRI. 

  • Blowfish CFB: The Blowfish algorithm in 8-bit CFB mode. See [Schneier]. 

  • urn:oasis:names:tc:opendocument:xmlns:manifest:1.0#blowfish: The same algorithm as identified by Blowfish CFB. 

  • The implementation-defined IRI of an alternative algorithm as specified in §5.1 of [xmlenc-core]. Alternative algorithms may be specified by extended conforming packages only. They shall not be specified by conforming packages. 

  • Package producers that support encryption shall support the value Blowfish CFB. Package consumers that support encryption shall support the values Blowfish CFB and urn:oasis:names:tc:opendocument:xmlns:manifest:1.0#blowfish. 

Note: An errata for [Schneier] is available at [Schneier-Errata].

The manifest:algorithm-name attribute is usable with the following element: <manifest:algorithm> 4.5.

The values of the manifest:algorithm-name attribute are Blowfish CFB or a value of type anyURI 7.2.

4.16.2 manifest:checksum

The manifest:checksum attribute specifies a digest in base64Binary encoding that can be used to detect password correctness as specified by a manifest:checksum-type attribute 4.16.3 .

The manifest:checksum attribute is usable with the following element: <manifest:encryption-data> 4.4.

The manifest:checksum attribute has the data type base64Binary 7.2.

4.16.3 manifest:checksum-type

The manifest:checksum-type attribute specifies the name of a digest algorithm that can be used to check password correctness. The digest is build from the compressed unencrypted file.

The defined values for the manifest:checksum-type attribute are:

  • SHA1/1K: SHA1 algorithm (see [RFC3174]) applied to first 1024 bytes of the compressed unencrypted file. 

  • urn:oasis:names:tc:opendocument:xmlns:manifest:1.0#sha1-1k: The same as SHA1/1K. 

  • urn:oasis:names:tc:opendocument:xmlns:manifest:1.0#sha256-1k: SHA256 algorithm (see [RFC3174]) applied to first 1024 bytes of the compressed unencrypted file. 

  • An IRI listed in §5.7 of [xmlenc-core]: The algorithm specified in §5.7 of [xmlenc-core] for this IRI. 

  • The implementation-defined IRI of an alternative algorithm as specified in §5.1 of [xmlenc-core]. Alternative algorithms may be specified by extended conforming packages only. They shall not be specified by conforming packages. 

 

Package producers should use the SHA1/1K value and method when compatibility with older versions of consumers is important. In other cases, producers that support encryption should use the urn:oasis:names:tc:opendocument:xmlns:manifest:1.0#sha256-1k value and method. [Note: manifest:checksum is used to confirm that a decryption is successful. It should not be regarded as a security feature.]

 

Package consumers that support encryption shall support the values SHA1/1K, urn:oasis:names:tc:opendocument:xmlns:manifest:1.0#sha1-1k and urn:oasis:names:tc:opendocument:xmlns:manifest:1.0#sha256-1k.

The manifest:checksum-type attribute is usable with the following element: <manifest:encryption-data> 4.4.

The values of the manifest:checksum-type attribute are SHA1/1K or a value of type anyURI 7.2.

4.16.4 manifest:full-path

The manifest:full-path attribute describes the location of a file or directory within the package. It's value is the name of a file or folder within the Zip file for which the manifest entry defines additional information, including its relative path in the package. The notation is the same as for the “filename” fields of the Zip file's central directory.

The attribute value "/" denotes a manifest entry for the package itself.

Note: The Zip file's central directory and the manifest file may have different text encodings.

The manifest:full-path attribute is usable with the following element: <manifest:file-entry> 4.3.

The manifest:full-path attribute has the data type string 7.2.

4.16.5 manifest:initialisation-vector

The manifest:initialisation-vector attribute value provides the byte-sequence for the initialization vector used by the encryption algorithm when delivery of a required initialization vector is not specified as part of the encryption algorithm definition. The initialization vector is a base64Binary encoded sequence. The format and length of an initialization vector, in bytes, shall be as required by its encryption algorithm specification.

The manifest:initialisation-vector attribute is usable with the following element: <manifest:algorithm> 4.5.

The manifest:initialisation-vector attribute has the data type base64Binary 7.2.

4.16.6 manifest:start-key-generation-name

The manifest:start-key-generation-name attribute specifies the algorithm used to generate a start key from the user password.

The defined values for the manifest:start-key-generation-name attribute are:

The default value for this attribute is SHA1.

Package producers that support encryption should use the http://www.w3.org/2000/09/xmldsig#sha256 algorithm. Package consumers that support encryption shall support the values SHA1, and http://www.w3.org/2000/09/xmldsig#sha1 and http://www.w3.org/2000/09/xmldsig#sha256.

The manifest:start-key-generation-name attribute has the value SHA1 or a value of data type anyURI.

The manifest:start-key-generation-name attribute is usable with the following element: <manifest:start-key-generation> 4.6.

The values of the manifest:start-key-generation-name attribute are SHA1 or a value of type anyURI 7.2.

4.16.7 manifest:key-size

The manifest:key-size attribute specifies the length in octets of a key delivered by a key-developing algorithm.

For a <manifest:start-key-generation> element, the default value for this attribute is 20.

Note: The value used will need to be compatible with the result obtain from the start-key-generation algorithm and the input requirements of the key derivation algorithm.
For a
<manifest:key-derivation> element, the default value for this attribute is 16.

Note: The value used will need to be one obtainable from the key-derivation algorithm and acceptable for the encryption algorithm being used.

The manifest:key-size attribute is usable with the following elements: <manifest:key-derivation> 4.7 and <manifest:start-key-generation> 4.6.

The manifest:key-size attribute has the data type nonNegativeInteger 7.2.

4.16.8 manifest:iteration-count

The manifest:iteration-count attribute specifies the number of iterations used by the key derivation algorithm to derive a key.

The manifest:iteration-count attribute is usable with the following element: <manifest:key-derivation> 4.7.

The manifest:iteration-count attribute has the data type nonNegativeInteger 7.2.

4.16.9 manifest:key-derivation-name

The manifest:key-derivation-name attribute specifies the password-based key-derivation algorithm used to derive a cryptographic key for use in encryption and decryption of the file.

The defined values for the manifest:key-derivation-name attribute are:

Package producers that support encryption shall support the value PBKDF2. Package consumers that support encryption shall support the values PBKDF2 and urn:oasis:names:tc:opendocument:xmlns:manifest:1.0#pbkdf2.

If the value of this attribute is PBKDF2 or urn:oasis:names:tc:opendocument:xmlns:manifest:1.0#pbkdf2 the <manifest:encryption-data> 4.4 shall contain a <manifest:start-key-generation> 4.6 child element that specifies the start key for the PBKDF2 algorithm.

The manifest:key-derivation-name attribute is usable with the following element: <manifest:key-derivation> 4.7.

The values of the manifest:key-derivation-name attribute are PGP, PBKDF2 or a value of type anyURI 7.2.

4.16.10 manifest:media-type

The manifest:media-type attribute specifies the MIME media type of a file or directory. See [RFC6838].

A manifest:media-type attribute should be present for all files and directories where a MIME media type exists for the content of the file, or the document or sub document contained in a directory.

The manifest:media-type attribute is usable with the following element: <manifest:file-entry> 4.3.

The manifest:media-type attribute has the data type string 7.2.

4.16.11 manifest:preferred-view-mode

The manifest:preferred-view-mode attribute specifies a preference on how the author of the document would like the document to be presented upon the document being opened. This attribute is only applicable to the root file entry with the manifest:full-path 4.16.4 attribute value of "/".

The defined values for the manifest:preferred-view-mode attribute are:

  • edit: The author's preference is to open the document as an editable document. 

  • presentation-slide-show: The author's preference is to open the document as presentation slide show. 

  • read-only: The author's preference is to open the document as a read-only document. 

  • A namespaced token value: Specifies an implementation-defined view. 

Preferred view modes are not necessarily generally applicable to all media types. The default preferred view mode is implementation-defined. The behavior for cases where the manifest:preferred-view-mode attribute is absent is implementation-defined.

The manifest:preferred-view-mode attribute is usable with the following element: <manifest:file-entry> 4.3.

The values of the manifest:preferred-view-mode attribute are edit, presentation-slide-show, read-only or a value of type namespacedToken 7.3.1.

4.16.12 manifest:salt

The manifest:salt attribute carries the value of a cryptographically-random binary value designed to mitigate certain cryptographic attacks on the password. There is no maximum length to the salt. See [RFC2898] for further considerations in the use of salts with key-derivation and other cryptographic functions. The salt is encoded in the attribute value as a base64Binary value.

The manifest:salt attribute is usable with the following element: <manifest:key-derivation> 4.7.

The manifest:salt attribute has the data type base64Binary 7.2.

4.16.13 manifest:size

The manifest:size attribute shall be present for encrypted files. See 3.4. Its value shall be size of the uncompressed, unencrypted file in bytes.

The manifest:size attribute is usable with the following element: <manifest:file-entry> 4.3.

The manifest:size attribute has the data type nonNegativeInteger 7.2.

4.16.14 manifest:version

4.16.14.1 <manifest:file-entry>

The manifest:version attribute specifies the format version of a file entry. For documents that are composed from multiple files, this attribute is specified at the manifest entry that references the folder that contains these files.

The interpretation of the attribute value depends on the MIME media type specified in the manifest:media-type attribute.

The manifest:version attribute is usable with the following element: <manifest:file-entry> 4.3.

The manifest:version attribute has the data type string 7.2.

4.16.14.2 <manifest:manifest>

The manifest:version attribute identifies the version of OpenDocument specification that defines the schema and interpretation of the package manifest. The value of the manifest:version attribute shall be "1.3".

The manifest:version attribute is usable with the following element: <manifest:manifest> 4.2.

The only value of the manifest:version attribute is 1.3.

4.17 manifest:PGPAlgorithm

The manifest:PGPAlgorithm contains an identifier for the PGP algorithm used for encryption in the manifest. This identifier is implementation-defined.

The manifest:PGPAlgorithm attribute is usable with the following element: <manifest:encryption-method> 4.9.

The manifest:PGPAlgorithm attribute has the data type anyURI 7.2.

5 Digital Signatures File

5.1 Introduction

The format of the digital signature files is defined by the OpenDocument digital signature schema Relax-NG [RNG] schema. See appendix A. This chapter describes the semantics of the elements and attributes defined by this schema.

5.2 <dsig:document-signatures>

The <dsig:document-signatures> root element serves as a container for any number of <ds:Signature> 5.3 elements. If the <dsig:document-signatures> element contains multiple <ds:Signature> elements, then there should be a relation between the digital signatures they define, for instance, they may all apply to the same set of files.

Consumers may require that a digital signature includes a certain set of files. That is, they may consider a digital signature to be valid if, and only if,

  • the digital signature itself is valid, and 

  • if the <ds:Reference> child elements of the <ds:Signature> element reference a certain set of files. 

In particular, consumers may require that a digital signature references all files contained in a package.

 

If a digital signature file is not encrypted, each encrypted file referenced by <ds:Reference> elements shall be signed in its encrypted form.

If a digital signature file is encrypted, then the files referenced by <ds:Reference> elements shall be signed in their decrypted forms.

The <dsig:document-signatures> element is a root element.

The <dsig:document-signatures> element has the following attribute: dsig:version 5.4.1.

The <dsig:document-signatures> element has the following child element: <ds:Signature> 5.3.

5.3 <ds:Signature>

The <ds:Signature> element is defined by the [xmldsig-core] specification. Each <ds:Signature> element shall contain an Id attribute specifying a unique value. A producer may use the XAdES extensions as specified in ETSI TS 101 903 v1.4.1 [XAdES], or later versions of the XAdES specification.

A <ds:KeyInfo> element, as specified in [xmldsig-core], section 4.4 shall be included. The <ds:KeyInfo> element should contain an <ds:X509Data> element containing an <ds:X509IssuerSerial> element specifying the issuer and serial number of the signing certificate, and an <ds:X509Certificate> element specifying the full signing certificate.

Additional <ds:X509Certificate> elements may be placed in the <ds:X509Data>, or may be placed in the <xades:CertificateValues> element of the XAdES <ds:Object>, as defined in [XAdES] section 7.6.1. The additional certificates should represent the entire certificate chain used for verification at signing time.

<ds:Reference> elements contained within a <ds:SignedInfo> element shall be resolved according to the following specification:

  1. 1.A <ds:Reference> element which has a Type attribute value of "http://docs.oasis-open.org/office/v1.2/OS/OpenDocument-v1.2.odt" shall refer to a file in the same package in the accordance with the procedure for resolving IRIs 3.7, except that the file entry path shall be the name of the signature file with its relative path omitted.  

    Note: Consequently, an IRI-Reference consisting entirely of "#" followed by an ifragment (§2.2 of [RFC3987]) refers to the ID of an XML element within the same XML document containing this <ds:signature> element. 

  2. 2.A <ds:Reference> element which has a Type attribute with a value of "http://uri.etsi.org/01903#SignedProperties" refers to an XAdES SignedProperties element.. A <ds:Reference> element which refers to the XAdES SignedProperties element (if present) shall be as specified in [XAdES] section 6.3.1. 

  3. 3.A <ds:Reference> element which does not have a Type attribute shall be processed the same a <ds:Reference> element which has a Type attribute with a value of "http://docs.oasis-open.org/office/v1.2/OS/OpenDocument-v1.2.odt". 

The only permitted <ds:Transform> elements which apply to files contained within the archive shall be canonicalization transforms, as specified in [xmldsig-core], section 6.5.

The signing time should be recorded using one or more of the following approaches:

  1. 1.An <ds:Object > element containing a <ds:SignatureProperty> element with: 

    1. a.An Id attribute with a value containing a unique identifier. 

    2. b.A Target attribute corresponding to the Id attribute of the <ds:Signature> element. 

    3. c.A <date> element from the namespace "http://purl.org/dc/elements/1.1/" containing the UTC time as [xmlschema-2] dateTime value. 

  2. 2.A <xades:SigningTime> element as specified in [XAdES] section 7.2.1. 

If an <ds:Object> containing XAdES elements is present, then a document compliant with this specification uses the following options:

  1. 1.The <xades:SignedSignatureProperties> element shall contain a <xades:SigningCertificate> property as specified in [XAdES] section 7.2.2. 

  2. 2.A <xades:SigningTime> element should be present as specified in [XAdES] section 7.2.1. 

  3. 3.If any timestamp elements of type XAdESTimeStampType are present, such as the <xades:SignatureTimeStamp> or <xades: SigAndRefsTimestamp> elements, the time stamp information shall be specified as an EncapsulatedTimeStamp element containing DER encoded ASN.1. Data. 

  4. 4.If references to validation data are present, the <xades:SigAndRefsTimestamp> element as specified in [XAdES] sections 7.5.1 and 7.5.1.1 shall be used. 

  5. 5.There shall be a <ds:Reference> element specifying the digest of the SignedProperties element, as specified in [XAdES], section 6.2.1. This <ds:Reference> element shall be contained within the <ds:SignedInfo> element of the <ds:Signature> element. 

The <ds:Signature> element is usable with the following element: <dsig:document-signatures> 5.2.

5.4 Digital Signatures Attributes

5.4.1 dsig:version

The dsig:version attribute identifies the version of OpenDocument specification that defines the schema and interpretation of the digital signature file. The value of the dsig:version attribute shall be "1.2".

The dsig:version attribute is usable with the following element: <dsig:document-signatures> 5.2.

The only value of the dsig:version attribute is 1.2.

6 Metadata Manifest Files

6.1 General

Metadata manifest files (see 3.6) have the file name “manifest.rdf”. The metadata manifest file for a document (see 3.1) shall be stored in the root of the package. The metadata manifest file for a sub documents shall be stored in the sub document's directory.

Metadata manifest files enumerate metadata files and their relationships to other files in that document or sub document as defined by this specification.

The relationships are expressed in the metadata manifest files using [RDF-XML] and the [OWL] Metadata Manifest Description ontology that is defined in appendix B. The following OWL classes and properties are defined.

6.2 pkg:Document

An instance of the pkg:Document class in the metadata manifest file represents the document or sub document itself.

The following property is defined for the pkg:Document class: pkg:hasPart 6.6.

6.3 pkg:File

A file in an OpenDocument package is represented by an instance of class pkg:File or by one of its subclasses, for example pkg:MetadataFile.

An instance of the pkg:File class (or one of its subclasses) is identified by an IRI.

The relationship between a file and a package is expressed using the property pkg:hasPart 6.6.

The following property is defined for the pkg:File class: pkg:mimeType 6.7.

6.4 pkg:MetadataFile

An instance of the pkg:MetadataFile class represents a metadata file.

The pkg:MetadataFile class is a subclass of pkg:File 6.3.

6.5 pkg:Element

The pkg:Element class describes an XML element contained in a file within an OpenDocument package.

6.6 pkg:hasPart

The pkg:hasPart property locates a file described by pkg:File or its subclasses within a document or sub document.

This property can be used with the following class: pkg:Document 6.2.

6.7 pkg:mimeType

The pkg:mimeType property is used to specify the MIME media type [RFC6838] of file described by an pkg:File class or one of its subclasses.

This property can be used with the following class: pkg:File 6.3.

7 Datatypes

7.1 Introduction

The values of attributes and elements are often described as having datatypes. These datatypes either are datatypes defined within [xmlschema-2], or are defined by this specification. Datatypes for which no [xmlschema-2] datatype exists are expressed in the schema by [xmlschema-2] datatypes. Some of these datatypes have additional constraints.

7.2 W3C Schema Datatypes

The following [xmlschema-2] datatypes are used in this specification:

7.3 Other Datatypes

7.3.1 namespacedToken

A namespaced token is an [xmlschema-2] QName that matches the definition of PrefixedName in §4 of [xml-names].

  1. Appendix ASchemas 

    1. Appendix A.1OpenDocument Manifest Schema 

The OpenDocument manifest schema is defined by a separate document, whose location can be found in the “Additional artifacts” section on the introductory pages.

    1. Appendix A.2OpenDocument Digital Signature Schema 

The OpenDocument digital signature schema is defined by a separate document, whose location can be found in the “Additional artifacts” section on the introductory pages.

  1. Appendix BOpenDocument Metadata Manifest Ontology 

The OpenDocument metadata manifest ontology is defined by a separate document, whose location can be found in the “Additional artifacts” section on the introductory pages.

  1. Appendix CZip File Structure (Non normative) 

A Zip file starts with a sequence of files, each of which can be compressed or stored in raw format. Each file has a local header immediately before its data, which contains most of the information about the file, including time-stamps, compression method and file name. The compressed file contents immediately follow, and are terminated by an optional data descriptor. The data descriptor contains the CRC and compressed size of the file, which are frequently not available when writing the local file header. If these details were included, the data descriptor can be skipped.

Each file in the archive is laid down sequentially in this format, followed by a central directory at the end of the Zip archive. The central directory is a contiguous set of directory entries, each of which contains all the information in the local file header, plus extras such as file comments and attributes. Most importantly, the central directory contains pointers to the position of each file in the archive for navigation of the Zip file.

For more details about the Zip file format, see [ZIP].

  1. Appendix DChanges from “Open Document Format for Office Applications (OpenDocument) v1.2” 

  1. The OpenDocument specification has been divided into four parts and has been restructured.

    This appendix describes changes that are related to part 2 of this specification.

     

    The following is a list of major features that have been added. For minor features please see the lists of new and changed elements and attributes.

     

    The following sections have been changed:

    Normative References 1.3 Office-3866

    Normative References 1.3 Office-3867

    Normative References 1.3 Office-3868

    Namespaces 1.5 Office-4002

    OpenDocument Package 2.2.1 Office-3858

     

    The following sections are new:

     

    Interactions Between Encryption and Digital Signatures 3.9 Office-3869

    manifest:checksum-type 4.16.3 Office-3940

     

    The following elements are new:

    <manifest:encrypted-key> 4.8 Office-3940

    <manifest:encryption-method> 4.9 Office-3940

    <manifest:keyinfo> 4.10 Office-3940

    <manifest:PGPData> 4.11 Office-3940

    <manifest:PGPKeyID> 4.12 Office-3940

    <manifest:PGPKeyPacket> 4.13 Office-3940

    <manifest:CipherData> 4.14 Office-3940

    <manifest:CipherValue> 4.15 Office-3940

     

    The following attributes are new:

    manifest:PGPAlgorithm 4.17 Office-3940

     

    The description of the following elements changed:

    <dsig:document-signatures> 5.2 Office-3869

    <ds:signature> 5.3 Office-3870

    <ds:signature> 5.3 Office-3871

    <manifest:algorithm> 4.5 Office-3859

    Encryption-General 3.4.1 Office-3875

\ No newline at end of file diff --git a/odfdom/src/main/javadoc/resources/OpenDocument-v1.3-os-part3-schema.html b/odfdom/src/main/javadoc/resources/OpenDocument-v1.3-os-part3-schema.html new file mode 100644 index 0000000000..63c3279d7b --- /dev/null +++ b/odfdom/src/main/javadoc/resources/OpenDocument-v1.3-os-part3-schema.html @@ -0,0 +1,4977 @@ + + +Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 3: OpenDocument Schema
 

Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 3: OpenDocument Schema

OASIS Standard
27 April 2021

This stage:

https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part3-schema/OpenDocument-v1.3-os-part3-schema.odt (Authoritative)

https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part3-schema/OpenDocument-v1.3-os-part3-schema.html

https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part3-schema/OpenDocument-v1.3-os-part3-schema.pdf

Previous stage:

https://docs.oasis-open.org/office/OpenDocument/v1.3/cs02/part3-schema/OpenDocument-v1.3-cs02-part3-schema.odt (Authoritative)

https://docs.oasis-open.org/office/OpenDocument/v1.3/cs02/part3-schema/OpenDocument-v1.3-cs02-part3-schema.html

https://docs.oasis-open.org/office/OpenDocument/v1.3/cs02/part3-schema/OpenDocument-v1.3-cs02-part3-schema.pdf

Latest stage:

https://docs.oasis-open.org/office/OpenDocument/v1.3/OpenDocument-v1.3-part3-schema.odt (Authoritative)

https://docs.oasis-open.org/office/OpenDocument/v1.3/OpenDocument-v1.3-part3-schema.html

https://docs.oasis-open.org/office/OpenDocument/v1.3/OpenDocument-v1.3-part3-schema.pdf

Technical Committee:

OASIS Open Document Format for Office Applications (OpenDocument) TC

Chairs:

Patrick Durusau (patrick@durusau.net), Individual

Jos van den Oever (jos.vanden.oever@logius.nl), Logius

Editors:

Francis Cave (francis@franciscave.com), Individual

Patrick Durusau (patrick@durusau.net), Individual

Svante Schubert (svante.schubert@gmail.com), Individual

Michael Stahl (michael.stahl@cib.de), CIB labs GmbH

Additional artifacts:

This prose specification is one component of a Work Product which includes:

Related work:

This specification replaces or supersedes:

Declared XML namespaces:

urn:oasis:names:tc:opendocument:xmlns:animation:1.0
urn:oasis:names:tc:opendocument:xmlns:chart:1.0
urn:oasis:names:tc:opendocument:xmlns:config:1.0
urn:oasis:names:tc:opendocument:xmlns:database:1.0
urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0
urn:oasis:names:tc:opendocument:xmlns:drawing:1.0
urn:oasis:names:tc:opendocument:xmlns:form:1.0
urn:oasis:names:tc:opendocument:xmlns:manifest:1.0
urn:oasis:names:tc:opendocument:xmlns:meta:1.0
urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0
urn:oasis:names:tc:opendocument:xmlns:office:1.0
urn:oasis:names:tc:opendocument:xmlns:presentation:1.0
urn:oasis:names:tc:opendocument:xmlns:script:1.0
urn:oasis:names:tc:opendocument:xmlns:table:1.0
urn:oasis:names:tc:opendocument:xmlns:text:1.0
urn:oasis:names:tc:opendocument:xmlns:style:1.0
urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0
urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0
urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0
urn:oasis:names:tc:opendocument:xmlns:of:1.2
http://docs.oasis-open.org/ns/office/1.2/meta/odf#

http://docs.oasis-open.org/ns/office/1.2/meta/pkg#

Abstract:

This document is Part 3 of the Open Document Format for Office Applications (OpenDocument) Version 1.3 specification.

Status:

This document was last revised or approved by the membership of OASIS on the above date. The level of approval is also listed above. Check the “Latest stage” location noted above for possible later revisions of this document. Any other numbered Versions and other technical work produced by the Technical Committee (TC) are listed at https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=office#technical.

TC members should send comments on this specification to the TC’s email list. Others should send comments to the TC’s public comment list, after subscribing to it by following the instructions at the “Send A Comment” button on the TC’s web page at https://www.oasis-open.org/committees/office/.

This specification is provided under the RF on Limited Terms Model of the OASIS IPR Policy, the mode chosen when the Technical Committee was established. For information on whether any patents have been disclosed that may be essential to implementing this specification, and any offers of patent licensing terms, please refer to the Intellectual Property Rights section of the TC’s web page (https://www.oasis-open.org/committees/office/ipr.php).

Note that any machine-readable content (Computer Language Definitions) declared Normative for this Work Product is provided in separate plain text files. In the event of a discrepancy between any such plain text file and display content in the Work Product's prose narrative document(s), the content in the separate plain text file prevails.

Citation format:

When referencing this specification the following citation format should be used:

[OpenDocument-v1.3-part3]

Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 3: OpenDocument Schema. Edited by Francis Cave, Patrick Durusau, Svante Schubert and Michael Stahl. 27 April 2021. OASIS Standard. https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part3-schema/OpenDocument-v1.3-os-part3-schema.html. Latest stage: https://docs.oasis-open.org/office/OpenDocument/v1.3/OpenDocument-v1.3-part3-schema.html.

Notices

Copyright © OASIS Open 2021. All Rights Reserved.

All capitalized terms in the following text have the meanings assigned to them in the OASIS Intellectual Property Rights Policy (the "OASIS IPR Policy"). The full Policy may be found at the OASIS website.

This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published, and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this section are included on all such copies and derivative works. However, this document itself may not be modified in any way, including by removing the copyright notice or references to OASIS, except as needed for the purpose of developing any document or deliverable produced by an OASIS Technical Committee (in which case the rules applicable to copyrights, as set forth in the OASIS IPR Policy, must be followed) or as required to translate it into languages other than English.

The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.

This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

OASIS requests that any OASIS Party or any other party that believes it has patent claims that would necessarily be infringed by implementations of this OASIS Committee Specification or OASIS Standard, to notify OASIS TC Administrator and provide an indication of its willingness to grant patent licenses to such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that produced this specification.

OASIS invites any party to contact the OASIS TC Administrator if it is aware of a claim of ownership of any patent claims that would necessarily be infringed by implementations of this specification by a patent holder that is not willing to provide a license to such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that produced this specification. OASIS may include such claims on its website, but disclaims any obligation to do so.

OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS' procedures with respect to rights in any document or deliverable produced by an OASIS Technical Committee can be found on the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this OASIS Committee Specification or OASIS Standard, can be obtained from the OASIS TC Administrator. OASIS makes no representation that any information or list of intellectual property rights will at any time be complete, or that any claims in such list are, in fact, Essential Claims.

The name "OASIS" is a trademark of OASIS, the owner and developer of this specification, and should be used only to refer to the organization and its official outputs. OASIS welcomes reference to, and implementation and use of, specifications, while reserving the right to enforce its marks against misleading uses. Please see https://www.oasis-open.org/policies-guidelines/trademark for above guidance.

Table of Contents

1 Introduction

1.1 Introduction

1.2 Terminology

1.3 Normative References

1.4 Non Normative References

1.5 Namespaces

2 OpenDocument Documents, Consumers and Producers

2.1 Introduction

2.2 Document Conformance

2.2.1 OpenDocument Document

2.2.2 OpenDocument Extended Document

2.2.3 OpenDocument Text Document

2.2.4 OpenDocument Spreadsheet Document

2.2.5 OpenDocument Drawing Document

2.2.6 OpenDocument Presentation Document

2.2.7 OpenDocument Chart Document

2.2.8 OpenDocument Image Document

2.2.9 OpenDocument Formula Document

2.2.10 OpenDocument Database Front End Document

2.3 Producers

2.3.1 OpenDocument Producer

2.3.2 OpenDocument Extended Producer

2.4 Consumer

3 Document Structure

3.1 Document Representation

3.1.1 General

3.1.2 <office:document>(Single OpenDocument XML Files)

3.1.3 Package OpenDocument Files

3.1.3.1 General

3.1.3.2 <office:document-content>

3.1.3.3 <office:document-styles>

3.1.3.4 <office:document-meta>

3.1.3.5 <office:document-settings>

3.1.4 Summary of Document Representation

3.2 <office:meta>

3.3 <office:body>

3.4 <office:text>

3.5 <office:drawing>

3.6 <office:presentation>

3.7 <office:spreadsheet>

3.8 <office:chart>

3.9 <office:image>

3.10 <office:settings>

3.10.1 General

3.10.2 <config:config-item-set>

3.10.3 <config:config-item>

3.10.4 <config:config-item-map-indexed>

3.10.5 <config:config-item-map-entry>

3.10.6 <config:config-item-map-named>

3.11 Cursor Position Setting

3.12 <office:scripts>

3.13 <office:script>

3.14 <office:font-face-decls>

3.15 Styles

3.15.1 General

3.15.2 <office:styles>

3.15.3 <office:automatic-styles>

3.15.4 <office:master-styles>

3.16 Document Signatures

3.17 Foreign Elements and Attributes

3.18 White Space Processing and EOL Handling

3.19 MIME Types and File Name Extensions

4 Metadata

4.1 General

4.2 RDF Metadata

4.2.1 In-Content Metadata (RDFa)

4.2.2 manifest.rdf

4.2.2.1 General

4.2.2.2 odf:ContentFile

4.2.2.3 odf:StylesFile

4.2.2.4 odf:Element

4.2.2.5 odf:prefix

4.2.2.6 odf:suffix

4.3 Non-RDF Metadata

4.3.1 General

4.3.2 Pre-Defined Metadata Elements

4.3.2.1 <meta:generator>

4.3.2.2 <dc:title>

4.3.2.3 <dc:description>

4.3.2.4 <dc:subject>

4.3.2.5 <meta:keyword>

4.3.2.6 <meta:initial-creator>

4.3.2.7 <dc:creator>

4.3.2.8 <meta:printed-by>

4.3.2.9 <meta:creation-date>

4.3.2.10 <dc:date>

4.3.2.11 <meta:print-date>

4.3.2.12 <meta:template>

4.3.2.13 <meta:auto-reload>

4.3.2.14 <meta:hyperlink-behaviour>

4.3.2.15 <dc:language>

4.3.2.16 <meta:editing-cycles>

4.3.2.17 <meta:editing-duration>

4.3.2.18 <meta:document-statistic>

4.3.3 <meta:user-defined>

5 Text Content

5.1 Headings, Paragraphs and Basic Text Structure

5.1.1 General

5.1.2 <text:h>

5.1.3 <text:p>

5.2 <text:page-sequence>

5.2.1 General

5.2.2 <text:page>

5.3 Lists

5.3.1 <text:list>

5.3.2 Default List Style

5.3.3 <text:list-header>

5.3.4 <text:list-item>

5.3.5 List Item Style Rules

5.3.6 <text:numbered-paragraph> (deprecated)

5.3.7 Numbered Paragraph Style Rules (deprecated)

5.4 <text:section>

5.4.1 General

5.4.2 <text:section-source>

5.5 Change Tracking

5.5.1 General

5.5.2 <text:tracked-changes>

5.5.3 <text:changed-region>

5.5.4 <text:insertion>

5.5.5 <text:deletion>

5.5.6 <text:format-change>

5.5.7 <office:change-info>

5.5.8 Change Marks

5.5.8.1 General

5.5.8.2 <text:change-start>

5.5.8.3 <text:change-end>

5.5.8.4 <text:change>

5.6 <text:soft-page-break>

5.7 Document Declarations

6 Paragraph Elements Content

6.1 Basic Text Content

6.1.1 General

6.1.2 White Space Characters

6.1.3 <text:s>

6.1.4 <text:tab>

6.1.5 <text:line-break>

6.1.6 Soft Hyphens, Hyphens, and Non-breaking Spaces

6.1.7 <text:span>

6.1.8 <text:a>

6.1.9 <text:meta>

6.1.10 <text:number>

6.2 Bookmarks and References

6.2.1 Bookmarks

6.2.1.1 General

6.2.1.2 <text:bookmark>

6.2.1.3 <text:bookmark-start>

6.2.1.4 <text:bookmark-end>

6.2.2 References

6.2.2.1 General

6.2.2.2 <text:reference-mark>

6.2.2.3 <text:reference-mark-start>

6.2.2.4 <text:reference-mark-end>

6.3 Notes

6.3.1 General

6.3.2 <text:note>

6.3.3 <text:note-citation>

6.3.4 <text:note-body>

6.4 <text:ruby>

6.4.1 General

6.4.2 <text:ruby-base>

6.4.3 <text:ruby-text>

7 Text Fields

7.1 General

7.2 Common Characteristics of Field Elements

7.3 Document Fields

7.3.1 GeneralDocument fields display information about the current document or about a specific part of the current document.

7.3.2 <text:date>

7.3.3 <text:time>

7.3.4 <text:page-number>

7.3.5 <text:page-continuation>

7.3.6 Subsequent Author Fields

7.3.6.1 General

7.3.6.2 <text:sender-firstname>

7.3.6.3 <text:sender-lastname>

7.3.6.4 <text:sender-initials>

7.3.6.5 <text:sender-title>

7.3.6.6 <text:sender-position>

7.3.6.7 <text:sender-email>

7.3.6.8 <text:sender-phone-private>

7.3.6.9 <text:sender-fax>

7.3.6.10 <text:sender-company>

7.3.6.11 <text:sender-phone-work>

7.3.6.12 <text:sender-street>

7.3.6.13 <text:sender-city>

7.3.6.14 <text:sender-postal-code>

7.3.6.15 <text:sender-country>

7.3.6.16 <text:sender-state-or-province>

7.3.7 Author Fields

7.3.7.1 <text:author-name>

7.3.7.2 <text:author-initials>

7.3.8 <text:chapter>

7.3.9 <text:file-name>

7.3.10 <text:template-name>

7.3.11 <text:sheet-name>

7.4 Variable Fields

7.4.1 General

7.4.2 <text:variable-decls>

7.4.3 <text:variable-decl>

7.4.4 <text:variable-set>

7.4.5 <text:variable-get>

7.4.6 <text:variable-input>

7.4.7 <text:user-field-decls>

7.4.8 <text:user-field-decl>

7.4.9 <text:user-field-get>

7.4.10 <text:user-field-input>

7.4.11 <text:sequence-decls>

7.4.12 <text:sequence-decl>

7.4.13 <text:sequence>

7.4.14 <text:expression>

7.4.15 <text:text-input>

7.4.16 <text:drop-down>

7.4.17 <text:label>

7.5 Metadata Fields

7.5.1 General

7.5.2 <text:initial-creator>

7.5.3 <text:creation-date>

7.5.4 <text:creation-time>

7.5.5 <text:description>

7.5.6 <text:user-defined>

7.5.7 <text:print-time>

7.5.8 <text:print-date>

7.5.9 <text:printed-by>

7.5.10 <text:title>

7.5.11 <text:subject>

7.5.12 <text:keywords>

7.5.13 <text:editing-cycles>

7.5.14 <text:editing-duration>

7.5.15 <text:modification-time>

7.5.16 <text:modification-date>

7.5.17 <text:creator>

7.5.18 Document Statistics Fields

7.5.18.1 General

7.5.18.2 <text:page-count>

7.5.18.3 <text:paragraph-count>

7.5.18.4 <text:word-count>

7.5.18.5 <text:character-count>

7.5.18.6 <text:table-count>

7.5.18.7 <text:image-count>

7.5.18.8 <text:object-count>

7.5.19 <text:meta-field>

7.6 Database Fields

7.6.1 General

7.6.2 <form:connection-resource>

7.6.3 <text:database-display>

7.6.4 <text:database-next>

7.6.5 <text:database-row-select>

7.6.6 <text:database-row-number>

7.6.7 <text:database-name>

7.7 More Fields

7.7.1 Page Variable Fields

7.7.1.1 General

7.7.1.2 <text:page-variable-set>

7.7.1.3 <text:page-variable-get>

7.7.2 <text:placeholder>

7.7.3 <text:conditional-text>

7.7.4 <text:hidden-text>

7.7.5 <text:reference-ref>

7.7.6 <text:bookmark-ref>

7.7.7 <text:note-ref>

7.7.8 <text:sequence-ref>

7.7.9 <text:script>

7.7.10 <text:execute-macro>

7.7.11 <text:hidden-paragraph>

7.7.12 <text:dde-connection>

7.7.13 <text:measure>

7.7.14 <text:table-formula> (deprecated)

8 Text Indexes

8.1 Index Marks

8.1.1 General

8.1.2 <text:toc-mark-start>

8.1.3 <text:toc-mark-end>

8.1.4 <text:toc-mark>

8.1.5 <text:user-index-mark-start>

8.1.6 <text:user-index-mark-end>

8.1.7 <text:user-index-mark>

8.1.8 <text:alphabetical-index-mark-start>

8.1.9 <text:alphabetical-index-mark-end>

8.1.10 <text:alphabetical-index-mark>

8.1.11 <text:bibliography-mark>

8.2 Index Structure

8.2.1 General

8.2.2 <text:index-body>

8.2.3 <text:index-title>

8.3 <text:table-of-content>

8.3.1 General

8.3.2 <text:table-of-content-source>

8.3.3 <text:table-of-content-entry-template>

8.4 <text:illustration-index>

8.4.1 General

8.4.2 <text:illustration-index-source>

8.4.3 <text:illustration-index-entry-template>

8.5 <text:table-index>

8.5.1 General

8.5.2 <text:table-index-source>

8.5.3 <text:table-index-entry-template>

8.6 <text:object-index>

8.6.1 General

8.6.2 <text:object-index-source>

8.6.3 <text:object-index-entry-template>

8.7 <text:user-index>

8.7.1 General

8.7.2 <text:user-index-source>

8.7.3 <text:user-index-entry-template>

8.8 <text:alphabetical-index>

8.8.1 General

8.8.2 <text:alphabetical-index-source>

8.8.3 <text:alphabetical-index-auto-mark-file>

8.8.4 <text:alphabetical-index-entry-template>

8.9 <text:bibliography>

8.9.1 General

8.9.2 <text:bibliography-source>

8.9.3 <text:bibliography-entry-template>

8.10 <text:index-source-styles>

8.11 <text:index-source-style>

8.12 <text:index-title-template>

8.13 Index Template Entries

8.13.1 <text:index-entry-chapter>

8.13.2 <text:index-entry-text>

8.13.3 <text:index-entry-page-number>

8.13.4 <text:index-entry-span>

8.13.5 <text:index-entry-bibliography>

8.13.6 <text:index-entry-tab-stop>

8.13.7 <text:index-entry-link-start>

8.13.8 <text:index-entry-link-end>

9 Tables

9.1 Basic Tables

9.1.1 General

9.1.2 <table:table>

9.1.3 <table:table-row>

9.1.4 <table:table-cell>

9.1.5 <table:covered-table-cell>

9.1.6 <table:table-column>

9.1.7 <table:table-header-rows>

9.1.8 <table:table-rows>

9.1.9 <table:table-row-group>

9.1.10 <table:table-column-group>

9.1.11 <table:table-header-columns>

9.1.12 <table:table-columns>

9.1.13 <table:title>

9.1.14 <table:desc>

9.2 Advanced Tables

9.2.1 Referencing Table Cells

9.2.2 Absolute and relative cell addressing

9.2.3 Cell Range Address

9.2.4 Column and Row Range Addresses

9.2.5 Cell Range Address List

9.2.6 <table:table-source>

9.2.7 <table:scenario>

9.2.8 <table:shapes>

9.3 Advanced Table Cells

9.3.1 <table:cell-range-source>

9.3.2 <table:detective>

9.3.3 <table:operation>

9.3.4 <table:highlighted-range>

9.4 Spreadsheet Document Content

9.4.1 <table:calculation-settings>

9.4.2 <table:null-date>

9.4.3 <table:iteration>

9.4.4 <table:content-validations>

9.4.5 <table:content-validation>

9.4.6 <table:help-message>

9.4.7 <table:error-message>

9.4.8 <table:error-macro>

9.4.9 <table:label-range>

9.4.10 <table:label-ranges>

9.4.11 <table:named-expressions>

9.4.12 <table:named-range>

9.4.13 <table:named-expression>

9.4.14 <table:database-ranges>

9.4.15 <table:database-range>

9.4.16 <table:database-source-sql>

9.4.17 <table:database-source-table>

9.4.18 <table:database-source-query>

9.4.19 <table:sort>

9.4.20 <table:sort-by>

9.4.21 <table:subtotal-rules>

9.4.22 <table:sort-groups>

9.4.23 <table:subtotal-rule>

9.4.24 <table:subtotal-field>

9.5 Filters

9.5.1 General

9.5.2 <table:filter>

9.5.3 <table:filter-and>

9.5.4 <table:filter-or>

9.5.5 <table:filter-condition>

9.5.6 <table:filter-set-item>

9.6 Data Pilot Tables

9.6.1 General

9.6.2 <table:data-pilot-tables>

9.6.3 <table:data-pilot-table>

9.6.4 Data Pilot Table Source

9.6.5 <table:source-cell-range>

9.6.6 <table:source-service>

9.6.7 <table:data-pilot-field>

9.6.8 <table:data-pilot-level>

9.6.9 <table:data-pilot-subtotals>

9.6.10 <table:data-pilot-subtotal>

9.6.11 <table:data-pilot-members>

9.6.12 <table:data-pilot-member>

9.6.13 <table:data-pilot-display-info>

9.6.14 <table:data-pilot-sort-info>

9.6.15 <table:data-pilot-layout-info>

9.6.16 <table:data-pilot-field-reference>

9.6.17 <table:data-pilot-groups>

9.6.18 <table:data-pilot-group>

9.6.19 <table:data-pilot-group-member>

9.7 <table:consolidation>

9.8 <table:dde-links>

9.9 Change Tracking in Spreadsheets

9.9.1 General

9.9.2 <table:tracked-changes>

9.9.3 <table:insertion>

9.9.4 <table:dependencies>

9.9.5 <table:dependency>

9.9.6 <table:deletions>

9.9.7 <table:cell-content-deletion>

9.9.8 <table:change-deletion>

9.9.9 <table:deletion>

9.9.10 <table:cut-offs>

9.9.11 <table:insertion-cut-off>

9.9.12 <table:movement-cut-off>

9.9.13 <table:movement>

9.9.14 <table:source-range-address>

9.9.15 <table:target-range-address>

9.9.16 <table:change-track-table-cell>

9.9.17 <table:cell-content-change>

9.9.18 <table:cell-address>

9.9.19 <table:previous>

10 Graphic Content

10.1 General

10.2 Enhanced Page Features for Graphical Applications

10.2.1 <style:handout-master>

10.2.2 <draw:layer-set>

10.2.3 <draw:layer>

10.2.4 <draw:page>

10.2.5 <draw:equation>

10.3 Drawing Shapes

10.3.1 General

10.3.2 <draw:rect>

10.3.3 <draw:line>

10.3.4 <draw:polyline>

10.3.5 <draw:polygon>

10.3.6 <draw:regular-polygon>

10.3.7 <draw:path>

10.3.8 <draw:circle>

10.3.9 <draw:ellipse>

10.3.10 <draw:connector>

10.3.11 <draw:caption>

10.3.12 <draw:measure>

10.3.13 <draw:control>

10.3.14 <draw:page-thumbnail>

10.3.15 <draw:g>

10.3.16 <draw:glue-point>

10.3.17 <svg:title>

10.3.18 <svg:desc>

10.3.19 <office:event-listeners>

10.4 Frames

10.4.1 General

10.4.2 <draw:frame>

10.4.3 <draw:text-box>

10.4.4 <draw:image>

10.4.5 <office:binary-data>

10.4.6 Embedded Objects

10.4.6.1 General

10.4.6.2 <draw:object>

10.4.6.3 <draw:object-ole>

10.4.7 <draw:applet> (Deprecated)

10.4.8 <draw:plugin>

10.4.9 <draw:param>

10.4.10 <draw:floating-frame>

10.4.11 Contours

10.4.11.1 General

10.4.11.2 <draw:contour-polygon>

10.4.11.3 <draw:contour-path>

10.4.12 <draw:a>

10.4.13 Client Side Image Maps

10.4.13.1 General

10.4.13.2 <draw:image-map>

10.4.13.3 <draw:area-rectangle>

10.4.13.4 <draw:area-circle>

10.4.13.5 <draw:area-polygon>

10.5 3D Shapes

10.5.1 General

10.5.2 <dr3d:scene>

10.5.3 <dr3d:light>

10.5.4 <dr3d:cube>

10.5.5 <dr3d:sphere>

10.5.6 <dr3d:extrude>

10.5.7 <dr3d:rotate>

10.6 Custom Shape

10.6.1 <draw:custom-shape>

10.6.2 <draw:enhanced-geometry>

10.6.3 <draw:handle>

10.7 Presentation Shapes

10.8 Presentation Animations

10.8.1 <presentation:animations>

10.8.2 <presentation:sound>

10.8.3 <presentation:show-shape>

10.8.4 <presentation:show-text> (deprecated)

10.8.5 <presentation:hide-shape>

10.8.6 <presentation:hide-text>

10.8.7 <presentation:dim>

10.8.8 <presentation:play>

10.8.9 <presentation:animation-group>

10.9 SMIL Presentation Animations

10.9.1 General

10.9.2 <presentation:event-listener>

10.9.3 Presentation Document Content

10.9.3.1 <presentation:header>

10.9.3.2 <presentation:header-decl>

10.9.3.3 <presentation:footer>

10.9.3.4 <presentation:footer-decl>

10.9.3.5 <presentation:date-time>

10.9.3.6 <presentation:date-time-decl>

10.9.3.7 <presentation:settings>

10.9.3.8 <presentation:show>

11 Chart Content

11.1 <chart:chart>

11.2 Title, Subtitle and Footer

11.2.1 <chart:title>

11.2.2 <chart:subtitle>

11.2.3 <chart:footer>

11.3 <chart:coordinate-region>

11.4 <chart:legend>

11.5 <chart:plot-area>

11.6 3D Plot Area

11.7 <chart:wall>

11.8 <chart:floor>

11.9 <chart:axis>

11.10 <chart:categories>

11.11 <chart:grid>

11.12 <chart:series>

11.13 <chart:domain>

11.14 <chart:data-point>

11.15 <chart:data-label>

11.16 <chart:mean-value>

11.17 <chart:error-indicator>

11.18 <chart:regression-curve>

11.19 <chart:equation>

11.20 <chart:stock-gain-marker>

11.21 <chart:stock-loss-marker>

11.22 <chart:stock-range-line>

12 Database Front-end Document Content

12.1 <office:database>

12.2 <db:data-source>

12.3 <db:connection-data>

12.4 <db:database-description>

12.5 <db:file-based-database>

12.6 <db:server-database>

12.7 <db:connection-resource>

12.8 <db:login>

12.9 <db:driver-settings>

12.10 <db:auto-increment>

12.11 <db:delimiter>

12.12 <db:character-set>

12.13 <db:table-settings>

12.14 <db:table-setting>

12.15 <db:application-connection-settings>

12.16 <db:table-filter>

12.17 <db:table-include-filter>

12.18 <db:table-exclude-filter>

12.19 <db:table-filter-pattern>

12.20 <db:table-type-filter>

12.21 <db:table-type>

12.22 <db:data-source-settings>

12.23 <db:data-source-setting>

12.24 <db:data-source-setting-value>

12.25 Forms and Reports

12.25.1 General

12.25.2 <db:forms>

12.25.3 <db:reports>

12.25.4 <db:component-collection>

12.25.5 <db:component>

12.26 <db:queries>

12.27 <db:query-collection>

12.28 <db:query>

12.29 <db:order-statement>

12.30 <db:filter-statement>

12.31 <db:update-table>

12.32 <db:table-representations>

12.33 <db:table-representation>

12.34 <db:columns>

12.35 <db:column>

12.36 <db:schema-definition>

12.37 <db:table-definitions>

12.38 <db:table-definition>

12.39 <db:column-definitions>

12.40 <db:column-definition>

12.41 <db:keys>

12.42 <db:key>

12.43 <db:key-columns>

12.44 <db:key-column>

12.45 <db:indices>

12.46 <db:index>

12.47 <db:index-columns>

12.48 <db:index-column>

13 Form Content

13.1 General

13.2 <office:forms>

13.3 <form:form>

13.4 <xforms:model>

13.5 Controls

13.5.1 General

13.5.2 <form:text>

13.5.3 <form:textarea>

13.5.4 <form:password>

13.5.5 <form:file>

13.5.6 <form:formatted-text>

13.5.7 <form:number>

13.5.8 <form:date>

13.5.9 <form:time>

13.5.10 <form:fixed-text>

13.5.11 <form:combobox>

13.5.12 <form:item>

13.5.13 <form:listbox>

13.5.14 <form:option>

13.5.15 <form:button>

13.5.16 <form:image>

13.5.17 <form:checkbox>

13.5.18 <form:radio>

13.5.19 <form:frame>

13.5.20 <form:image-frame>

13.5.21 <form:hidden>

13.5.22 <form:grid>

13.5.23 <form:column>

13.5.24 <form:value-range>

13.5.25 <form:generic-control>

13.6 Event Listeners

13.7 <form:properties>

13.8 <form:property>

13.9 <form:list-property>

13.10 <form:list-value>

14 Common Content

14.1 <office:annotation>

14.2 <office:annotation-end>

14.3 <meta:date-string>

14.4 <meta:creator-initials>

14.5 Event Listener Tables

14.5.1 General

14.5.2 <script:event-listener>

14.5.3 Event Types

14.5.4 Macro Name and Location

14.6 <math:math>

14.7 DDE Connections

14.7.1 General

14.7.2 <text:dde-connection-decls>

14.7.3 <text:dde-connection-decl>

14.7.4 <table:dde-link>

14.7.5 <office:dde-source>

15 SMIL Animations

15.1 General

15.2 Basic Animation Elements

15.2.1 General

15.2.2 <anim:animate>

15.2.3 <anim:animateTransform>

15.2.4 <anim:set>

15.2.5 <anim:animateMotion>

15.2.6 <anim:animateColor>

15.2.7 <anim:transitionFilter>

15.3 Animation Model Attributes

15.3.1 General

15.3.2 Simple Animation Functions

15.4 Animation Timing

15.4.1 General

15.4.2 <anim:par>

15.4.3 <anim:seq>

15.4.4 <anim:iterate>

15.5 <anim:audio>

15.6 Animation Command Elements

15.6.1 <anim:command>

15.6.2 <anim:param>

16 Styles

16.1 General

16.2 <style:style>

16.3 <style:map>

16.4 <style:default-style>

16.5 <style:page-layout>

16.6 <style:header-style>

16.7 <style:footer-style>

16.8 <style:default-page-layout>

16.9 <style:master-page>

16.10 <style:header>

16.11 <style:header-first>

16.12 <style:footer>

16.13 <style:footer-first>

16.14 <style:header-left>

16.15 <style:footer-left>

16.16 <style:region-left>

16.17 <style:region-center>

16.18 <style:region-right>

16.19 <presentation:notes>

16.20 <table:table-template>

16.21 Cell Styles

16.21.1 General

16.21.2 <table:first-row>

16.21.3 <table:last-row>

16.21.4 <table:first-column>

16.21.5 <table:last-column>

16.21.6 <table:body>

16.21.7 <table:even-rows>

16.21.8 <table:odd-rows>

16.21.9 <table:even-columns>

16.21.10 <table:odd-columns>

16.22 <table:background>

16.23 <style:font-face>

16.24 <svg:font-face-src>

16.25 <svg:font-face-name>

16.26 <svg:font-face-uri>

16.27 <svg:definition-src>

16.28 <svg:font-face-format>

16.29 Data Styles

16.29.1 General

16.29.2 <number:number-style>

16.29.3 <number:number>

16.29.4 <number:embedded-text>

16.29.5 <number:fill-character>

16.29.6 <number:scientific-number>

16.29.7 <number:fraction>

16.29.8 <number:currency-style>

16.29.9 <number:currency-symbol>

16.29.10 <number:percentage-style>

16.29.11 <number:date-style>

16.29.12 <number:day>

16.29.13 <number:month>

16.29.14 <number:year>

16.29.15 <number:era>

16.29.16 <number:day-of-week>

16.29.17 <number:week-of-year>

16.29.18 <number:quarter>

16.29.19 <number:time-style>

16.29.20 <number:hours>

16.29.21 <number:minutes>

16.29.22 <number:seconds>

16.29.23 <number:am-pm>

16.29.24 <number:boolean-style>

16.29.25 <number:boolean>

16.29.26 <number:text-style>

16.29.27 <number:text>

16.29.28 <number:text-content>

16.29.29 <style:text-properties>

16.30 Text Content Style Families

16.30.1 Text Styles

16.30.2 Paragraph Styles

16.30.3 Section Styles

16.30.4 Ruby Styles

16.31 Enhanced Text Styles

16.31.1 <text:linenumbering-configuration>

16.31.2 <text:linenumbering-separator>

16.31.3 <text:notes-configuration>

16.31.4 <text:note-continuation-notice-forward>

16.31.5 <text:note-continuation-notice-backward>

16.31.6 <text:bibliography-configuration>

16.31.7 <text:sort-key>

16.32 <text:list-style>

16.33 <text:list-level-style-bullet>

16.34 <text:list-level-style-number>

16.35 <text:list-level-style-image>

16.36 <text:outline-style>

16.37 <text:outline-level-style>

16.38 Table Styles

16.38.1 Table Styles

16.38.2 Table Column Styles

16.38.3 Table Row Styles

16.38.4 Table Cell Styles

16.39 Graphic Styles

16.40 Presentation Styles

16.41 Drawing Page Style

16.42 Enhanced Graphic Style Elements

16.42.1 <draw:gradient>

16.42.2 <svg:linearGradient>

16.42.3 <svg:radialGradient>

16.42.4 <svg:stop>

16.42.5 <draw:hatch>

16.42.6 <draw:fill-image>

16.42.7 <draw:opacity>

16.42.8 <draw:marker>

16.42.9 <draw:stroke-dash>

16.43 <style:presentation-page-layout>

16.44 <presentation:placeholder>

16.45 Chart Styles

17 Formatting Properties Elements

17.1 General

17.2 <style:page-layout-properties>

17.3 <style:background-image>

17.4 <style:footnote-sep>

17.5 <style:header-footer-properties>

17.6 <style:paragraph-properties>

17.7 <style:tab-stops>

17.8 <style:tab-stop>

17.9 <style:drop-cap>

17.10 <style:ruby-properties>

17.11 <style:section-properties>

17.12 <style:columns>

17.13 <style:column>

17.14 <style:column-sep>

17.15 <style:table-properties>

17.16 <style:table-column-properties>

17.17 <style:table-row-properties>

17.18 <style:table-cell-properties>

17.19 <style:list-level-properties>

17.20 <style:list-level-label-alignment>

17.21 <style:graphic-properties>

17.22 <style:chart-properties>

17.23 <chart:symbol-image>

17.24 <chart:label-separator>

17.25 <style:drawing-page-properties>

18 Datatypes

18.1 Introduction

18.2 W3C Schema Datatypes

18.3 Other Datatypes

18.3.1 angle

18.3.2 anyIRI

18.3.3 boolean

18.3.4 cellAddress

18.3.5 cellRangeAddress

18.3.6 cellRangeAddressList

18.3.7 character

18.3.8 clipShape

18.3.9 color

18.3.10 coordinate

18.3.11 countryCode

18.3.12 CURIE

18.3.13 CURIEs

18.3.14 dateOrDateTime

18.3.15 distance

18.3.16 language

18.3.17 languageCode

18.3.18 length

18.3.19 namespacedToken

18.3.20 nonNegativeLength

18.3.21 nonNegativePixelLength

18.3.22 pathData

18.3.23 percent

18.3.24 point3D

18.3.25 points

18.3.26 positiveLength

18.3.27 relativeLength

18.3.28 safeCURIE

18.3.29 scriptCode

18.3.30 signedZeroToHundredPercent

18.3.31 styleName

18.3.32 styleNameRef

18.3.33 styleNameRefs

18.3.34 targetFrameName

18.3.35 textEncoding

18.3.36 timeOrDateTime

18.3.37 URIorSafeCURIE

18.3.38 valueType

18.3.39 variableName

18.3.40 vector3D

18.3.41 zeroToHundredPercent

19 General Attributes

19.1 General

19.2 anim:color-interpolation

19.3 anim:color-interpolation-direction

19.4 anim:audio-level

19.5 anim:command

19.6 anim:formula

19.7 anim:id (deprecated)

19.8 anim:iterate-interval

19.9 anim:iterate-type

19.10 anim:name

19.11 anim:sub-item

19.12 anim:value

19.13 chart:attached-axis

19.14 chart:automatic-content

19.15 chart:class

19.15.1 <chart:chart>, <chart:series>

19.15.2 <chart:grid>

19.16 chart:column-mapping (deprecated)

19.17 chart:data-source-has-labels (deprecated)

19.18 chart:dimension

19.19 chart:display-equation

19.20 chart:display-r-square

19.21 chart:label-cell-address

19.22 chart:legend-align

19.23 chart:legend-position

19.24 chart:name

19.25 chart:repeated

19.26 chart:row-mapping (deprecated)

19.27 chart:style-name

19.28 chart:values-cell-range-address

19.29 config:name

19.30 config:type

19.31 db:additional-column-statement

19.32 db:append-table-alias-name

19.33 db:apply-command

19.34 db:as-template

19.35 db:base-dn

19.36 db:boolean-comparison-mode

19.37 db:catalog-name

19.38 db:command

19.39 db:data-source-setting-is-list

19.40 db:data-source-setting-name

19.41 db:data-source-setting-type

19.42 db:data-type

19.43 db:database-name

19.44 db:decimal

19.45 db:default-cell-style-name

19.46 db:default-row-style-name

19.47 db:delete-rule

19.48 db:description

19.49 db:enable-sql92-check

19.50 db:encoding

19.51 db:escape-processing

19.52 db:extension

19.53 db:field

19.54 db:hostname

19.55 db:ignore-driver-privileges

19.56 db:is-ascending

19.57 db:is-autoincrement

19.58 db:is-clustered

19.59 db:is-empty-allowed

19.60 db:is-first-row-header-line

19.61 db:login-timeout

19.62 db:is-nullable

19.63 db:is-password-required

19.64 db:is-unique

19.65 db:precision

19.66 db:is-table-name-length-limited

19.67 db:local-socket

19.68 db:max-row-count

19.69 db:media-type

19.70 db:name

19.70.1 General

19.70.2 <db:column>

19.70.3 <db:column-definition>

19.70.4 <db:component>

19.70.5 <db:component-collection>

19.70.6 <db:index>

19.70.7 <db:index-column>

19.70.8 <db:key>

19.70.9 <db:key-column>

19.70.10 <db:query>

19.70.11 <db:query-collection>

19.70.12 <db:table-definition>

19.70.13 <db:table-representation>

19.70.14 <db:update-table>

19.71 db:parameter-name-substitution

19.72 db:port

19.73 db:referenced-table-name

19.74 db:related-column-name

19.75 db:row-retrieving-statement

19.76 db:scale

19.77 db:schema-name

19.78 db:show-deleted

19.79 db:string

19.80 db:style-name

19.80.1 General

19.80.2 <db:column>

19.80.3 <db:query>

19.80.4 <db:table-representation>

19.81 db:suppress-version-columns

19.82 db:system-driver-settings

19.83 db:thousand

19.84 db:title

19.85 db:type

19.85.1 General

19.85.2 <db:key>

19.85.3 <db:server-database>

19.85.4 <db:table-definition>

19.86 db:type-name

19.87 db:update-rule

19.88 db:use-catalog

19.89 db:use-system-user

19.90 db:user-name

19.91 db:visible

19.92 dr3d:ambient-color

19.93 dr3d:center

19.94 dr3d:diffuse-color

19.95 dr3d:direction

19.96 dr3d:distance

19.97 dr3d:enabled

19.98 dr3d:focal-length

19.99 dr3d:lighting-mode

19.99.1 General

19.99.2 <chart:plot-area>

19.99.3 <dr3d:scene>

19.100 dr3d:max-edge

19.101 dr3d:min-edge

19.102 dr3d:projection

19.103 dr3d:shade-mode

19.104 dr3d:shadow-slant

19.105 dr3d:size

19.106 dr3d:specular

19.107 dr3d:transform

19.108 dr3d:vpn

19.109 dr3d:vrp

19.110 dr3d:vup

19.111 draw:align

19.112 draw:angle

19.113 draw:archive

19.114 draw:border

19.115 draw:caption-id

19.116 draw:caption-point-x

19.117 draw:caption-point-y

19.118 draw:chain-next-name

19.119 draw:class-id

19.120 draw:class-names

19.121 draw:code

19.122 draw:color

19.122.1 General

19.122.2 <draw:hatch>

19.122.3 <presentation:dim>

19.123 draw:concave

19.124 draw:concentric-gradient-fill-allowed

19.125 draw:control

19.126 draw:copy-of

19.127 draw:corner-radius

19.128 draw:corners

19.129 draw:cx

19.130 draw:cy

19.131 draw:data

19.132 draw:display

19.133 draw:display-name

19.133.1 General

19.133.2 <draw:fill-image>

19.133.3 <draw:gradient>

19.133.4 <draw:hatch>

19.133.5 <draw:marker>

19.133.6 <draw:opacity>

19.133.7 <draw:stroke-dash>

19.133.8 <svg:linearGradient>

19.133.9 <svg:radialGradient>

19.134 draw:distance

19.134.1 General

19.134.2 <draw:hatch>

19.134.3 <draw:stroke-dash>

19.135 draw:dots1

19.136 draw:dots1-length

19.137 draw:dots2

19.138 draw:dots2-length

19.139 draw:end

19.140 draw:end-angle

19.141 draw:end-color

19.142 draw:end-glue-point

19.143 draw:end-intensity

19.144 draw:end-shape

19.145 draw:enhanced-path

19.146 draw:engine

19.147 draw:escape-direction

19.148 draw:extrusion

19.149 draw:extrusion-allowed

19.150 draw:extrusion-brightness

19.151 draw:extrusion-color

19.152 draw:extrusion-depth

19.153 draw:extrusion-diffusion

19.154 draw:extrusion-first-light-direction

19.155 draw:extrusion-first-light-harsh

19.156 draw:extrusion-first-light-level

19.157 draw:extrusion-light-face

19.158 draw:extrusion-metal

19.159 draw:extrusion-number-of-line-segments

19.160 draw:extrusion-origin

19.161 draw:extrusion-rotation-angle

19.162 draw:extrusion-rotation-center

19.163 draw:extrusion-second-light-direction

19.164 draw:extrusion-second-light-harsh

19.165 draw:extrusion-second-light-level

19.166 draw:extrusion-shininess

19.167 draw:extrusion-skew

19.168 draw:extrusion-specularity

19.169 draw:extrusion-viewpoint

19.170 draw:filter-name

19.171 draw:formula

19.172 draw:frame-name

19.173 draw:glue-point-leaving-directions

19.174 draw:glue-point-type

19.175 draw:glue-points

19.176 draw:handle-mirror-horizontal

19.177 draw:handle-mirror-vertical

19.178 draw:handle-polar

19.179 draw:handle-position

19.180 draw:handle-radius-range-maximum

19.181 draw:handle-radius-range-minimum

19.182 draw:handle-range-x-maximum

19.183 draw:handle-range-x-minimum

19.184 draw:handle-range-y-maximum

19.185 draw:handle-range-y-minimum

19.186 draw:handle-switched

19.187 draw:id

19.187.1 General

19.187.2 <draw:glue-point>

19.187.3 <dr3d:cube>, <dr3d:extrude>, <dr3d:rotate>, <dr3d:scene>, <dr3d:sphere>, <draw:caption>, <draw:circle>, <draw:connector>, <draw:control>, <draw:custom-shape>, <draw:ellipse>, <draw:frame>, <draw:g>, <draw:line>, <draw:measure>, <draw:page>, <draw:page-thumbnail>, <draw:path>, <draw:polygon>, <draw:polyline>, <draw:rect>, <draw:regular-polygon> and <office:annotation> Deprecated

19.188 draw:kind

19.189 draw:layer

19.190 draw:line-skew

19.191 draw:mime-type

19.192 draw:mirror-horizontal

19.193 draw:mirror-vertical

19.194 draw:master-page-name

19.195 draw:may-script

19.196 draw:modifiers

19.197 draw:name

19.197.1 General

19.197.2 <draw:caption>

19.197.3 <draw:circle>

19.197.4 <draw:connector>

19.197.5 <draw:control>

19.197.6 <draw:custom-shape>

19.197.7 <draw:ellipse>

19.197.8 <draw:equation>

19.197.9 <draw:fill-image>

19.197.10 <draw:frame>

19.197.11 <draw:g>

19.197.12 <draw:gradient>

19.197.13 <draw:hatch>

19.197.14 <draw:layer>

19.197.15 <draw:line>

19.197.16 <draw:marker>

19.197.17 <draw:measure>

19.197.18 <draw:opacity>

19.197.19 <draw:page>

19.197.20 <draw:page-thumbnail>

19.197.21 <draw:param>

19.197.22 <draw:path>

19.197.23 <draw:polygon>

19.197.24 <draw:polyline>

19.197.25 <draw:rect>

19.197.26 <draw:regular-polygon>

19.197.27 <draw:stroke-dash>

19.197.28 <office:annotation> (deprecated)

19.197.29 <svg:linearGradient>

19.197.30 <svg:radialGradient>

19.198 draw:nav-order

19.199 draw:nohref

19.200 draw:notify-on-update-of-ranges

19.201 draw:object

19.202 draw:opacity

19.203 draw:page-number

19.204 draw:path-stretchpoint-x

19.205 draw:path-stretchpoint-y

19.206 draw:points

19.207 draw:protected

19.208 draw:recreate-on-edit

19.209 draw:rotation

19.210 draw:shape-id

19.211 draw:sharpness

19.212 draw:start

19.213 draw:start-angle

19.214 draw:start-color

19.215 draw:start-glue-point

19.216 draw:start-intensity

19.217 draw:start-shape

19.218 draw:style

19.218.1 General

19.218.2 <draw:gradient>

19.218.3 <draw:hatch>

19.218.4 <draw:opacity>

19.218.5 <draw:stroke-dash>

19.219 draw:style-name

19.219.1 General

19.219.2 <dr3d:cube>

19.219.3 <dr3d:extrude>

19.219.4 <dr3d:rotate>

19.219.5 <dr3d:scene>

19.219.6 <dr3d:sphere>

19.219.7 <draw:caption>

19.219.8 <draw:circle>

19.219.9 <draw:connector>

19.219.10 <draw:control>

19.219.11 <draw:custom-shape>

19.219.12 <draw:ellipse>

19.219.13 <draw:frame>

19.219.14 <draw:g>

19.219.15 <draw:line>

19.219.16 <draw:measure>

19.219.17 <draw:page>

19.219.18 <draw:page-thumbnail>

19.219.19 <draw:path>

19.219.20 <draw:polygon>

19.219.21 <draw:polyline>

19.219.22 <draw:rect>

19.219.23 <draw:regular-polygon>

19.219.24 <office:annotation>

19.219.25 <presentation:notes>

19.219.26 <style:handout-master>

19.219.27 <style:master-page>

19.220 draw:text-areas

19.221 draw:text-path

19.222 draw:text-path-allowed

19.223 draw:text-path-mode

19.224 draw:text-path-same-letter-heights

19.225 draw:text-path-scale

19.226 draw:text-rotate-angle

19.227 draw:text-style-name

19.228 draw:transform

19.229 draw:type

19.229.1 General

19.229.2 <draw:connector>

19.229.3 <draw:enhanced-geometry>

19.230 draw:value

19.231 draw:z-index

19.232 fo:column-count

19.233 fo:column-gap

19.234 fo:country

19.234.1 <text:alphabetical-index-source>

19.234.2 <text:bibliography-configuration>

19.235 fo:end-indent

19.236 fo:language

19.236.1 General

19.236.2 <text:alphabetical-index-source>

19.236.3 <text:bibliography-configuration>

19.237 fo:margin-left

19.238 fo:max-height

19.239 fo:max-width

19.240 fo:min-height

19.241 fo:min-width

19.242 fo:script

19.242.1 General

19.242.2 <text:alphabetical-index-source>

19.242.3 <text:bibliography-configuration>

19.243 fo:space-after

19.244 fo:space-before

19.245 fo:start-indent

19.246 fo:text-indent

19.247 form:allow-deletes

19.248 form:allow-inserts

19.249 form:allow-updates

19.250 form:apply-design-mode

19.251 form:apply-filter

19.252 form:auto-complete

19.253 form:automatic-focus

19.254 form:bound-column

19.255 form:button-type

19.256 form:command

19.257 form:command-type

19.258 form:control-implementation

19.259 form:convert-empty-to-null

19.260 form:current-selected

19.261 form:current-state

19.262 form:current-value

19.263 form:data-field

19.264 form:datasource

19.265 form:default-button

19.266 form:delay-for-repeat

19.267 form:detail-fields

19.268 form:disabled

19.269 form:dropdown

19.270 form:echo-char

19.271 form:enctype

19.272 form:escape-processing

19.273 form:filter

19.274 form:focus-on-click

19.275 form:for

19.276 form:id (deprecated)

19.277 form:ignore-result

19.278 form:image-align

19.279 form:image-data

19.280 form:image-position

19.281 form:is-tristate

19.282 form:label

19.283 form:linked-cell

19.284 form:list-linkage-type

19.285 form:list-source

19.286 form:list-source-type

19.287 form:master-fields

19.288 form:max-length

19.289 form:max-value

19.289.1 General

19.289.2 <form:date>

19.289.3 <form:formatted-text>

19.289.4 <form:number> and <form:value-range>

19.289.5 <form:time>

19.290 form:min-value

19.290.1 General

19.290.2 <form:date>

19.290.3 <form:formatted-text>

19.290.4 <form:number> and <form:value-range>

19.290.5 <form:time>

19.291 form:method

19.292 form:multi-line

19.293 form:multiple

19.294 form:name

19.295 form:navigation-mode

19.296 form:order

19.297 form:orientation

19.298 form:page-step-size

19.299 form:printable

19.300 form:property-name

19.301 form:readonly

19.302 form:repeat

19.303 form:selected

19.304 form:size

19.305 form:source-cell-range

19.306 form:spin-button

19.307 form:state

19.308 form:step-size

19.309 form:tab-cycle

19.310 form:tab-index

19.311 form:tab-stop

19.312 form:text-style-name

19.313 form:title

19.314 form:toggle

19.315 form:validation

19.316 form:value

19.316.1 General

19.316.2 <form:button>

19.316.3 <form:date>

19.316.4 <form:number> and <form:value-range>

19.316.5 <form:checkbox>, <form:combobox>, <form:file>, <form:formatted-text>, <form:hidden>, <form:image>, <form:option>, <form:password>, <form:radio>, <form:text>, <form:textarea>

19.316.6 <form:time>

19.317 form:visual-effect

19.318 form:xforms-list-source

19.319 form:xforms-submission

19.320 grddl:transformation

19.321 meta:cell-count

19.322 meta:character-count

19.323 meta:date

19.324 meta:delay

19.325 meta:draw-count

19.326 meta:frame-count

19.327 meta:image-count

19.328 meta:name

19.329 meta:non-whitespace-character-count

19.330 meta:object-count

19.331 meta:ole-object-count

19.332 meta:page-count

19.333 meta:paragraph-count

19.334 meta:row-count

19.335 meta:sentence-count

19.336 meta:syllable-count

19.337 meta:table-count

19.338 meta:value-type

19.339 meta:word-count

19.340 number:automatic-order

19.341 number:calendar

19.342 number:country

19.343 number:decimal-places

19.343.1 General

19.343.2 <number:number>

19.343.3 <number:seconds>

19.343.4 <number:scientific-number>

19.344 number:decimal-replacement

19.345 number:denominator-value

19.346 number:display-factor

19.347 number:exponent-interval

19.348 number:format-source

19.349 number:forced-exponent-sign

19.350 number:grouping

19.351 number:language

19.352 number:max-denominator-value

19.353 number:min-denominator-digits

19.354 number:min-exponent-digits

19.355 number:min-integer-digits

19.356 number:min-decimal-places

19.356.1 General

19.356.2 <number:number>

19.356.3 <number:scientific-number>

19.357 number:min-numerator-digits

19.358 number:position

19.359 number:possessive-form

19.360 number:rfc-language-tag

19.361 number:script

19.362 number:style

19.362.1 General

19.362.2 <number:day>

19.362.3 <number:day-of-week>

19.362.4 <number:era>

19.362.5 <number:hours>

19.362.6 <number:minutes>

19.362.7 <number:month>

19.362.8 <number:quarter>

19.362.9 <number:seconds>

19.362.10 <number:year>

19.363 number:textual

19.364 number:title

19.365 number:transliteration-country

19.366 number:transliteration-format

19.367 number:transliteration-language

19.368 number:transliteration-style

19.369 number:truncate-on-overflow

19.370 office:automatic-update

19.371 office:boolean-value

19.372 office:conversion-mode

19.373 office:currency

19.374 office:date-value

19.375 office:dde-application

19.376 office:dde-item

19.377 office:dde-topic

19.378 office:display

19.379 office:mimetype

19.380 office:name

19.380.1 General

19.380.2 <draw:a>

19.380.3 <draw:area-circle>

19.380.4 <draw:area-rectangle>

19.380.5 <draw:area-polygon>

19.380.6 <office:annotation>

19.380.7 <office:annotation-end>

19.380.8 <office:dde-source>

19.380.9 <text:a>

19.380.10 <text:dde-connection-decl>

19.382 office:server-map

19.383 office:string-value

19.384 office:target-frame

19.385 office:target-frame-name

19.386 office:time-value

19.387 office:title

19.388 office:value

19.389 office:value-type

19.390 office:version

19.391 presentation:action

19.392 presentation:animations

19.393 presentation:class

19.394 presentation:class-names

19.395 presentation:delay

19.396 presentation:direction

19.397 presentation:endless

19.398 presentation:effect

19.399 presentation:force-manual

19.400 presentation:full-screen

19.401 presentation:group-id

19.402 presentation:master-element

19.403 presentation:mouse-as-pen

19.404 presentation:mouse-visible

19.405 presentation:name

19.406 presentation:node-type

19.407 presentation:object

19.408 presentation:pages

19.409 presentation:path-id

19.410 presentation:pause

19.411 presentation:placeholder

19.412 presentation:play-full

19.413 presentation:presentation-page-layout-name

19.414 presentation:preset-class

19.415 presentation:preset-id

19.416 presentation:preset-sub-type

19.417 presentation:show

19.418 presentation:show-end-of-presentation-slide

19.419 presentation:show-logo

19.420 presentation:source

19.421 presentation:speed

19.422 presentation:start-scale

19.423 presentation:start-page

19.424 presentation:start-with-navigator

19.425 presentation:stay-on-top

19.426 presentation:style-name

19.427 presentation:transition-on-click

19.428 presentation:use-date-time-name

19.429 presentation:use-footer-name

19.430 presentation:use-header-name

19.431 presentation:user-transformed

19.432 presentation:verb

19.433 script:event-name

19.434 script:language

19.435 script:macro-name

19.436 smil:accelerate

19.437 smil:accumulate

19.438 smil:additive

19.439 smil:attributeName

19.440 smil:autoReverse

19.441 smil:begin

19.442 smil:by

19.443 smil:calcMode

19.444 smil:decelerate

19.445 smil:direction

19.446 smil:dur

19.447 smil:end

19.448 smil:endsync

19.449 smil:fadeColor

19.450 smil:fill

19.451 smil:fillDefault

19.452 smil:from

19.453 smil:keySplines

19.454 smil:keyTimes

19.455 smil:mode

19.456 smil:repeatCount

19.457 smil:repeatDur

19.458 smil:restart

19.459 smil:restartDefault

19.460 smil:subtype

19.461 smil:targetElement

19.462 smil:to

19.463 smil:type

19.464 smil:values

19.465 style:adjustment

19.466 style:apply-style-name

19.467 style:auto-update

19.468 style:base-cell-address

19.469 style:char

19.470 style:class

19.471 style:color

19.472 style:condition

19.473 style:data-style-name

19.473.1 General

19.473.2 <presentation:date-time-decl>

19.473.3 <style:style>

19.473.4 <text:creation-date>

19.473.5 <text:creation-time>

19.473.6 <text:database-display>

19.473.7 <text:date>

19.473.8 <text:editing-duration>

19.473.9 <text:expression>

19.473.10 <text:meta-field>

19.473.11 <text:modification-date>

19.473.12 <text:modification-time>

19.473.13 <text:print-date>

19.473.14 <text:print-time>

19.473.15 <text:table-formula>

19.473.16 <text:time>

19.473.17 <text:user-defined>

19.473.18 <text:user-field-get>

19.473.19 <text:user-field-input>

19.473.20 <text:variable-get>

19.473.21 <text:variable-input>

19.473.22 <text:variable-set>

19.474 style:default-outline-level

19.475 style:display

19.476 style:display-name

19.477 style:distance

19.478 style:distance-before-sep

19.479 style:distance-after-sep

19.480 style:family

19.481 style:filter-name

19.482 style:font-adornments

19.483 style:font-charset

19.484 style:font-family-generic

19.485 style:font-pitch

19.486 style:height

19.487 style:leader-char

19.488 style:leader-color

19.489 style:leader-style

19.490 style:leader-text

19.491 style:leader-text-style

19.492 style:leader-type

19.493 style:leader-width

19.494 style:legend-expansion

19.495 style:legend-expansion-aspect-ratio

19.496 style:length

19.497 style:line-style

19.498 style:lines

19.499 style:list-level

19.500 style:list-style-name

19.501 style:master-page-name

19.502 style:name

19.502.1 General

19.502.2 <number:boolean-style>, <number:currency-style>, <number:date-style>, <number:number-style>, <number:percentage-style>, <number:text-style>, <number:time-style>, <style:master-page>, <style:page-layout>, <style:presentation-page-layout>, <style:style>, <text:list-style>, <text:outline-style>

19.502.3 <style:font-face>

19.503 style:next-style-name

19.503.1 General

19.503.2 <style:master-page>

19.503.3 <style:style>

19.504 style:num-format

19.505 style:num-letter-sync

19.506 style:num-prefix

19.507 style:num-suffix

19.508 style:page-layout-name

19.509 style:page-usage

19.510 style:parent-style-name

19.511 style:percentage-data-style-name

19.512 style:position

19.512.1 General

19.512.2 <style:background-image>

19.512.3 <style:tab-stop>

19.512.4 <text:index-entry-tab-stop>

19.513 style:rel-height

19.514 style:rel-width

19.514.1 General

19.514.2 <draw:frame>

19.514.3 <style:column>

19.514.4 <style:footnote-sep>

19.515 style:repeat

19.516 style:rfc-language-tag

19.517 style:style

19.518 style:style-name

19.519 style:type

19.519.1 General

19.519.2 <text:index-entry-tab-stop>

19.519.3 <style:tab-stop>

19.520 style:vertical-align

19.521 style:volatile

19.522 style:width

19.522.1 General

19.522.2 <style:column-sep>

19.522.3 <style:footnote-sep>

19.523 svg:accent-height

19.524 svg:alphabetic

19.525 svg:ascent

19.526 svg:bbox

19.527 svg:cap-height

19.528 svg:cx

19.528.1 <draw:area-circle>

19.528.2 <draw:circle>

19.528.3 <draw:ellipse>

19.528.4 <svg:radialGradient>

19.529 svg:cy

19.529.1 <draw:area-circle>

19.529.2 <draw:circle>

19.529.3 <draw:ellipse>

19.529.4 <svg:radialGradient>

19.530 svg:d

19.531 svg:descent

19.532 svg:font-family

19.533 svg:font-size

19.534 svg:font-stretch

19.535 svg:font-style

19.536 svg:font-variant

19.537 svg:font-weight

19.538 svg:fx

19.539 svg:fy

19.540 svg:gradientTransform

19.541 svg:gradientUnits

19.542 svg:hanging

19.543 svg:height

19.543.1 <chart:chart>

19.543.2 <chart:legend>

19.543.3 <chart:coordinate-region>

19.543.4 <chart:plot-area>

19.543.5 <dr3d:scene>

19.543.6 <draw:area-polygon>

19.543.7 <draw:area-rectangle>

19.543.8 <draw:contour-polygon>, <draw:contour-path>

19.543.9 <draw:fill-image>

19.543.10 <draw:caption>, <draw:custom-shape>, <draw:circle>, <draw:control>, <draw:ellipse>, <draw:frame>, <draw:rect>, <draw:page-thumbnail>, <draw:path>, <draw:polygon>, <draw:polyline>, <draw:regular-polygon>

19.543.11 <office:annotation>

19.543.12 <presentation:placeholder>

19.544 svg:ideographic

19.545 svg:mathematical

19.546 svg:name

19.547 svg:offset

19.548 svg:origin

19.549 svg:overline-position

19.550 svg:overline-thickness

19.551 svg:panose-1

19.552 svg:path

19.553 svg:r

19.553.1 <draw:area-circle>

19.553.2 <draw:circle>

19.553.3 <svg:radialGradient>

19.554 svg:rx

19.555 svg:ry

19.556 svg:slope

19.557 svg:spreadMethod

19.558 svg:stemh

19.559 svg:stemv

19.560 svg:stop-color

19.561 svg:stop-opacity

19.562 svg:strikethrough-position

19.563 svg:strikethrough-thickness

19.564 svg:string

19.565 svg:type

19.566 svg:underline-position

19.567 svg:underline-thickness

19.568 svg:unicode-range

19.569 svg:units-per-em

19.570 svg:v-alphabetic

19.571 svg:v-hanging

19.572 svg:v-ideographic

19.573 svg:v-mathematical

19.574 svg:viewBox

19.575 svg:width

19.575.1 <chart:chart>

19.575.2 <chart:coordinate-region>

19.575.3 <chart:floor>

19.575.4 <chart:legend>

19.575.5 <chart:plot-area>

19.575.6 <chart:wall>

19.575.7 <dr3d:scene>

19.575.8 <draw:area-polygon>

19.575.9 <draw:area-rectangle>

19.575.10 <draw:contour-polygon>, <draw:contour-path>

19.575.11 <draw:fill-image>

19.575.12 <draw:caption>, <draw:custom-shape>, <draw:circle>, <draw:control>, <draw:ellipse>, <draw:frame>, <draw:rect>, <draw:page-thumbnail>, <draw:path>, <draw:polygon>, <draw:polyline>, <draw:regular-polygon>

19.575.13 <office:annotation>

19.575.14 <presentation:placeholder>

19.576 svg:widths

19.577 svg:x

19.577.1 <chart:coordinate-region>

19.577.2 <chart:data-label>, <chart:equation>, <chart:footer>, <chart:legend>, <chart:plot-area>, <chart:subtitle>, <chart:title>

19.577.3 <draw:area-polygon>

19.577.4 <draw:area-rectangle>

19.577.5 <dr3d:scene>

19.577.6 <draw:caption>, <draw:custom-shape>, <draw:circle>, <draw:control>, <draw:ellipse>, <draw:frame>, <draw:rect>, <draw:page-thumbnail>, <draw:path>, <draw:polygon>, <draw:polyline>, <draw:regular-polygon>

19.577.7 <draw:glue-point>

19.577.8 <office:annotation>

19.577.9 <presentation:placeholder>

19.578 svg:x1

19.578.1 <draw:connector>, <draw:line> and <draw:measure>

19.578.2 <svg:linearGradient>

19.579 svg:x2

19.579.1 <draw:connector>, <draw:line> and <draw:measure>

19.579.2 <svg:linearGradient>

19.580 svg:x-height

19.581 svg:y

19.581.1 <chart:coordinate-region>

19.581.2 <chart:data-label>, <chart:equation>, <chart:footer>, <chart:legend>, <chart:plot-area>, <chart:subtitle>, <chart:title>

19.581.3 <draw:area-polygon>

19.581.4 <draw:area-rectangle>

19.581.5 <dr3d:scene>

19.581.6 <draw:caption>, <draw:custom-shape>, <draw:circle>, <draw:control>, <draw:ellipse>, <draw:frame>, <draw:g>, <draw:rect>, <draw:page-thumbnail>, <draw:path>, <draw:polygon>, <draw:polyline>, <draw:regular-polygon>

19.581.7 <draw:glue-point>

19.581.8 <office:annotation>

19.581.9 <presentation:placeholder>

19.582 svg:y1

19.582.1 <draw:connector>, <draw:line> and <draw:measure>

19.582.2 <svg:linearGradient>

19.583 svg:y2

19.583.1 <draw:connector>, <draw:line> and <draw:measure>

19.583.2 <svg:linearGradient>

19.584 table:acceptance-state

19.585 table:algorithm

19.586 table:add-empty-lines

19.587 table:allow-empty-cell

19.588 table:application-data

19.589 table:automatic-find-labels

19.590 table:base-cell-address

19.591 table:bind-styles-to-content

19.592 table:border-color

19.593 table:buttons

19.594 table:case-sensitive

19.595 table:cell-address

19.596 table:cell-range

19.597 table:cell-range-address

19.597.1 General

19.597.2 <chart:categories>

19.597.3 <chart:domain> - bubble

19.597.4 <chart:domain>- scatter

19.597.5 <chart:domain> - surface

19.597.6 <chart:plot-area> (deprecated)

19.597.7 <table:highlighted-range>

19.597.8 <table:named-range>

19.597.9 <table:source-cell-range>

19.598 table:column

19.599 table:comment

19.600 table:condition

19.601 table:condition-source

19.602 table:condition-source-range-address

19.603 table:contains-error

19.604 table:contains-header

19.605 table:content-validation-name

19.606 table:copy-back

19.607 table:copy-formulas

19.608 table:copy-styles

19.609 table:count

19.610 table:country

19.611 table:data-field

19.612 table:data-cell-range-address

19.613 table:database-name

19.614 table:database-table-name

19.615 table:data-type

19.615.1 General

19.615.2 <table:filter-condition>

19.615.3 <table:sort-by>

19.615.4 <table:sort-groups>

19.616 table:date-end

19.617 table:date-start

19.618 table:date-value

19.619 table:default-cell-style-name

19.620 table:direction

19.621 table:display

19.622 table:display-border

19.623 table:display-duplicates

19.624 table:display-filter-buttons

19.625 table:display-list

19.626 table:display-member-mode

19.627 table:drill-down-on-double-click

19.628 table:embedded-number-behavior

19.629 table:enabled

19.630 table:end

19.631 table:end-cell-address

19.632 table:end-column

19.633 table:end-position

19.634 table:end-row

19.635 table:end-table

19.636 table:end-x

19.637 table:end-y

19.638 table:execute

19.639 table:expression

19.640 table:field-name

19.641 table:field-number

19.642 table:filter-name

19.643 table:filter-options

19.644 table:first-row-end-column (deprecated)

19.645 table:first-row-start-column (deprecated)

19.646 table:formula

19.647 table:function

19.647.1 General

19.647.2 <table:consolidation>

19.647.3 <table:data-pilot-field>

19.647.4 <table:data-pilot-subtotal>

19.647.5 <table:subtotal-field>

19.648 table:grand-total

19.649 table:group-by-field-number

19.650 table:grouped-by

19.651 table:has-persistent-data

19.652 table:id

19.653 table:identify-categories

19.654 table:ignore-empty-rows

19.655 table:index

19.656 table:is-active

19.657 table:is-data-layout-field

19.658 table:is-selection

19.659 table:is-sub-table

19.660 table:label-cell-range-address

19.661 table:language

19.662 table:last-column-spanned

19.663 table:last-row-end-column (deprecated)

19.664 table:last-row-spanned

19.665 table:last-row-start-column (deprecated)

19.666 table:layout-mode

19.667 table:link-to-source-data

19.668 table:marked-invalid

19.669 table:matrix-covered

19.670 table:maximum-difference

19.671 table:member-count

19.672 table:member-name

19.673 table:member-type

19.674 table:message-type

19.675 table:mode

19.676 table:multi-deletion-spanned

19.677 table:name

19.677.1 General

19.677.2 <table:cell-range-source>

19.677.3 <table:content-validation>

19.677.4 <table:data-pilot-group>

19.677.5 <table:data-pilot-group-member>

19.677.6 <table:data-pilot-member>

19.677.7 <table:data-pilot-table>

19.677.8 <table:database-range>

19.677.9 <table:named-expression>

19.677.10 <table:named-range>

19.677.11 <table:operation>

19.677.12 <table:source-cell-range>

19.677.13 <table:source-service>

19.677.14 <table:table>

19.677.15 <table:table-template>

19.678 table:null-year

19.679 table:number-columns-repeated

19.679.1 General

19.679.2 <table:covered-table-cell>

19.679.3 <table:table-cell>

19.679.4 <table:table-column>

19.680 table:number-columns-spanned

19.681 table:number-rows-repeated

19.682 table:number-rows-spanned

19.683 table:number-matrix-columns-spanned

19.684 table:number-matrix-rows-spanned

19.685 table:object-name

19.686 table:on-update-keep-size

19.687 table:on-update-keep-styles

19.688 table:operator

19.689 table:order

19.690 table:orientation

19.690.1 General

19.690.2 <table:data-pilot-field>

19.690.3 <table:database-range>

19.690.4 <table:label-range>

19.691 table:page-breaks-on-group-change

19.692 table:paragraph-style-name

19.693 table:parse-sql-statement

19.694 table:password

19.695 table:position

19.696 table:precision-as-shown

19.697 table:print

19.698 table:print-ranges

19.699 table:protect (deprecated)

19.700 table:protected

19.700.1 General

19.700.2 <table:covered-table-cell>

19.700.3 <table:scenario>

19.700.4 <table:table>

19.700.5 <table:table-cell>

19.701 table:protection-key

19.702 table:protection-key-digest-algorithm

19.703 table:query-name

19.704 table:range-usable-as

19.705 table:refresh-delay

19.706 table:rejecting-change-id

19.707 table:rfc-language-tag

19.708 table:row

19.709 table:scenario-ranges

19.710 table:script

19.711 table:search-criteria-must-apply-to-whole-cell

19.712 table:selected-page

19.713 table:show-details

19.714 table:show-empty

19.715 table:show-filter-button

19.716 table:sort-mode

19.717 table:source-cell-range-addresses

19.718 table:source-field-name

19.719 table:source-name

19.720 table:sql-statement

19.721 table:start

19.722 table:start-column

19.723 table:start-position

19.724 table:start-row

19.725 table:start-table

19.726 table:status

19.727 table:step

19.728 table:steps

19.729 table:structure-protected

19.730 table:style-name

19.730.1 General

19.730.2 <table:background>

19.730.3 <table:body>

19.730.4 <table:covered-table-cell>

19.730.5 <table:even-columns>

19.730.6 <table:even-rows>

19.730.7 <table:first-column>

19.730.8 <table:first-row>

19.730.9 <table:last-column>

19.730.10 <table:last-row>

19.730.11 <table:odd-columns>

19.730.12 <table:odd-rows>

19.730.13 <table:table-cell>

19.730.14 <table:table-column>

19.730.15 <table:table-row>

19.730.16 <table:table>

19.731 table:tab-color

19.732 table:table

19.733 table:table-background

19.734 table:table-name

19.735 table:target-cell-address

19.736 table:target-range-address

19.736.1 General

19.736.2 <table:data-pilot-table>

19.736.3 <table:database-range>

19.736.4 <table:filter>

19.736.5 <table:sort>

19.737 table:template-name

19.738 table:title

19.739 table:track-changes

19.740 table:type

19.740.1 General

19.740.2 <table:data-pilot-field-reference>

19.740.3 <table:deletion>

19.740.4 <table:insertion>

19.741 table:use-banding-columns-styles

19.742 table:use-banding-rows-styles

19.743 table:use-first-column-styles

19.744 table:use-first-row-styles

19.745 table:use-last-column-styles

19.746 table:use-last-row-styles

19.747 table:use-labels

19.748 table:use-regular-expressions

19.749 table:use-wildcards

19.750 table:used-hierarchy

19.751 table:user-name

19.752 table:value

19.752.1 <table:filter-condition>

19.752.2 <table:filter-set-item>

19.753 table:value-type

19.754 table:visibility

19.755 text:active

19.756 text:address

19.757 text:alphabetical-separators

19.758 text:anchor-page-number

19.759 text:anchor-type

19.760 text:annote

19.761 text:author

19.762 text:bibliography-data-field

19.763 text:bibliography-type

19.764 text:booktitle

19.765 text:bullet-char

19.766 text:bullet-relative-size

19.767 text:capitalize-entries

19.768 text:c

19.769 text:caption-sequence-format

19.770 text:caption-sequence-name

19.771 text:change-id

19.772 text:chapter

19.773 text:citation-body-style-name

19.774 text:citation-style-name

19.775 text:class-names

19.775.1 General

19.775.2 <text:h>

19.775.3 <text:p>

19.775.4 <text:span>

19.776 text:column-name

19.777 text:combine-entries

19.778 text:combine-entries-with-dash

19.779 text:combine-entries-with-pp

19.780 text:comma-separated

19.781 text:cond-style-name

19.782 text:condition

19.782.1 General

19.782.2 <text:conditional-text>

19.782.3 <text:database-next>

19.782.4 <text:database-row-select>

19.782.5 <text:hidden-paragraph>

19.782.6 <text:hidden-text>

19.782.7 <text:section>

19.783 text:connection-name

19.784 text:consecutive-numbering

19.785 text:continue-list

19.786 text:continue-numbering

19.787 text:copy-outline-levels

19.788 text:count-empty-lines

19.789 text:count-in-text-boxes

19.790 text:current-selected

19.791 text:current-value

19.792 text:custom1

19.793 text:custom2

19.794 text:custom3

19.795 text:custom4

19.796 text:custom5

19.797 text:database-name

19.798 text:date-adjust

19.799 text:date-value

19.800 text:default-style-name

19.801 text:description

19.802 text:display

19.802.1 General

19.802.2 <text:chapter>

19.802.3 <text:expression>

19.802.4 <text:file-name>

19.802.5 <text:index-entry-chapter>

19.802.6 <text:section>

19.802.7 <text:table-formula>

19.802.8 <text:template-name>

19.802.9 <text:user-field-get>

19.802.10 <text:variable-get>

19.802.11 <text:variable-input>

19.802.12 <text:variable-set>

19.803 text:display-levels

19.804 text:display-outline-level

19.805 text:duration

19.806 text:edition

19.807 text:editor

19.808 text:filter-name

19.809 text:fixed

19.810 text:footnotes-position

19.811 text:formula

19.812 text:global (deprecated)

19.813 text:howpublished

19.814 text:increment

19.815 text:id

19.815.1 General

19.815.2 <draw:text-box> (deprecated)

19.815.3 <text:alphabetical-index-mark-end>

19.815.4 <text:alphabetical-index-mark-start>

19.815.5 <text:changed-region> (deprecated)

19.815.6 <text:h> (deprecated)

19.815.7 <text:note>

19.815.8 <text:p> (deprecated)

19.815.9 <text:toc-mark-end>

19.815.10 <text:toc-mark-start>

19.815.11 <text:user-index-mark-end>

19.815.12 <text:user-index-mark-start>

19.816 text:identifier

19.817 text:index-name

19.818 text:index-scope

19.819 text:ignore-case

19.820 text:institution

19.821 text:is-hidden

19.822 text:is-list-header

19.823 text:isbn

19.824 text:issn

19.825 text:journal

19.826 text:key

19.827 text:key1

19.828 text:key2

19.829 text:key1-phonetic

19.830 text:key2-phonetic

19.831 text:kind

19.832 text:label

19.833 text:label-followed-by

19.834 text:level

19.835 text:list-id (deprecated)

19.836 text:list-tab-stop-position

19.837 text:main-entry

19.838 text:main-entry-style-name

19.839 text:master-page-name

19.840 text:month

19.841 text:name

19.841.1 General

19.841.2 <text:alphabetical-index>

19.841.3 <text:bibliography>

19.841.4 <text:bookmark>

19.841.5 <text:bookmark-end>

19.841.6 <text:bookmark-start>

19.841.7 <text:drop-down>

19.841.8 <text:execute-macro>

19.841.9 <text:illustration-index>

19.841.10 <text:index-title>

19.841.11 <text:object-index>

19.841.12 <text:reference-mark>

19.841.13 <text:reference-mark-end>

19.841.14 <text:reference-mark-start>

19.841.15 <text:section>

19.841.16 <text:sequence>

19.841.17 <text:sequence-decl>

19.841.18 <text:table-of-content>

19.841.19 <text:table-index>

19.841.20 <text:user-defined>

19.841.21 <text:user-field-decl>

19.841.22 <text:user-field-get>

19.841.23 <text:user-field-input>

19.841.24 <text:user-index>

19.841.25 <text:variable-set>

19.841.26 <text:variable-decl>

19.841.27 <text:variable-get>

19.841.28 <text:variable-input>

19.842 text:note

19.843 text:note-class

19.844 text:number

19.845 text:number-lines

19.846 text:number-position

19.847 text:numbered-entries

19.848 text:offset

19.849 text:organizations

19.850 text:outline-level

19.850.1 General

19.850.2 <text:alphabetical-index-entry-template>

19.850.3 <text:chapter>

19.850.4 <text:h>

19.850.5 <text:index-entry-chapter>

19.850.6 <text:index-source-styles>

19.850.7 <text:user-index-mark>

19.850.8 <text:table-of-content-entry-template>

19.850.9 <text:table-of-content-source>

19.850.10 <text:toc-mark>

19.850.11 <text:toc-mark-start>

19.850.12 <text:user-index-entry-template>

19.850.13 <text:user-index-mark-start>

19.851 text:page-adjust

19.851.1 General

19.851.2 <text:page-number>

19.851.3 <text:page-variable-set>

19.852 text:pages

19.853 text:placeholder-type

19.854 text:prefix

19.855 text:protected

19.856 text:protection-key

19.857 text:protection-key-digest-algorithm

19.858 text:publisher

19.859 text:ref-name

19.859.1 General

19.859.2 <text:bookmark-ref>

19.859.3 <text:note-ref>

19.859.4 <text:reference-ref>

19.859.5 <text:sequence>

19.859.6 <text:sequence-ref>

19.860 text:reference-format

19.861 text:relative-tab-stop-position

19.862 text:report-type

19.863 text:restart-numbering

19.864 text:restart-on-page

19.865 text:row-number

19.866 text:school

19.867 text:section-name

19.868 text:series

19.869 text:select-page

19.869.1 General

19.869.2 <text:page-continuation>

19.869.3 <text:page-number>

19.870 text:separation-character

19.871 text:sort-algorithm

19.872 text:sort-ascending

19.873 text:sort-by-position

19.874 text:start-value

19.874.1 General

19.874.2 <text:h>

19.874.3 <text:list-item>

19.874.4 <text:list-level-style-number>

19.874.5 <text:notes-configuration>

19.874.6 <text:numbered-paragraph> (deprecated)

19.874.7 <text:outline-level-style>

19.875 text:start-numbering-at

19.876 text:string-value-phonetic

19.877 text:string-value

19.877.1 General

19.877.2 <text:alphabetical-index-mark>

19.877.3 <text:hidden-text>

19.877.4 <text:page-continuation>

19.877.5 <text:toc-mark>

19.877.6 <text:user-index-mark>

19.878 text:string-value-if-false

19.879 text:string-value-if-true

19.880 text:style-name

19.880.1 General

19.880.2 <text:a>

19.880.3 <text:alphabetical-index>

19.880.4 <text:alphabetical-index-entry-template>

19.880.5 <text:bibliography>

19.880.6 <text:bibliography-entry-template>

19.880.7 <text:h>

19.880.8 <text:illustration-index>

19.880.9 <text:illustration-index-entry-template>

19.880.10 <text:index-entry-bibliography>

19.880.11 <text:index-entry-chapter>

19.880.12 <text:index-entry-link-end>

19.880.13 <text:index-entry-link-start>

19.880.14 <text:index-entry-page-number>

19.880.15 <text:index-entry-span>

19.880.16 <text:index-entry-tab-stop>

19.880.17 <text:index-entry-text>

19.880.18 <text:index-source-style>

19.880.19 <text:index-title>

19.880.20 <text:index-title-template>

19.880.21 <text:linenumbering-configuration>

19.880.22 <text:list>

19.880.23 <text:list-level-style-number>

19.880.24 <text:list-level-style-bullet>

19.880.25 <text:numbered-paragraph> (deprecated)

19.880.26 <text:object-index>

19.880.27 <text:object-index-entry-template>

19.880.28 <text:outline-level-style>

19.880.29 <text:p>

19.880.30 <text:ruby>

19.880.31 <text:ruby-text>

19.880.32 <text:section>

19.880.33 <text:span>

19.880.34 <text:table-index-entry-template>

19.880.35 <text:table-of-content>

19.880.36 <text:table-of-content-entry-template>

19.880.37 <text:table-index>

19.880.38 <text:user-index>

19.880.39 <text:user-index-entry-template>

19.881 text:style-override

19.882 text:suffix

19.883 text:tab-ref

19.884 text:table-name

19.885 text:table-type

19.886 text:time-adjust

19.887 text:time-value

19.888 text:title

19.889 text:track-changes

19.890 text:url

19.891 text:use-caption

19.892 text:use-chart-objects

19.893 text:use-draw-objects

19.894 text:use-floating-frames

19.895 text:use-graphics

19.896 text:use-index-marks

19.897 text:use-index-source-styles

19.898 text:use-keys-as-entries

19.899 text:use-math-objects

19.900 text:use-objects

19.901 text:use-other-objects

19.902 text:use-outline-level

19.903 text:use-soft-page-breaks

19.904 text:use-spreadsheet-objects

19.905 text:use-tables

19.906 text:value

19.906.1 General

19.906.2 <text:label>

19.906.3 <text:database-row-number>

19.907 text:visited-style-name

19.908 text:volume

19.909 text:year

19.910 xforms:bind

19.911 xhtml:about

19.912 xhtml:content

19.913 xhtml:datatype

19.914 xhtml:property

19.915 xlink:actuate

19.916 xlink:href

19.916.1 General

19.916.2 <anim:audio>

19.916.3 <chart:chart>

19.916.4 <chart:symbol-image>

19.916.5 <db:component>

19.916.6 <db:connection-resource>

19.916.7 <db:file-based-database>

19.916.8 <draw:a>

19.916.9 <draw:applet>

19.916.10 <draw:area-circle>

19.916.11 <draw:area-polygon>

19.916.12 <draw:area-rectangle>

19.916.13 <draw:fill-image>

19.916.14 <draw:floating-frame>

19.916.15 <draw:image>

19.916.16 <draw:object>

19.916.17 <draw:object-ole>

19.916.18 <draw:plugin>

19.916.19 <form:button>

19.916.20 <form:connection-resource>

19.916.21 <form:image>

19.916.22 <form:form>

19.916.23 <meta:auto-reload>

19.916.24 <meta:template>

19.916.25 <presentation:event-listener>

19.916.26 <presentation:sound>

19.916.27 <script:event-listener>

19.916.28 <style:background-image>

19.916.29 <svg:definition-src>

19.916.30 <svg:font-face-uri>

19.916.31 <table:cell-range-source>

19.916.32 <table:table-source>

19.916.33 <text:a>

19.916.34 <text:alphabetical-index-auto-mark-file>

19.916.35 <text:list-level-style-image>

19.916.36 <text:script>

19.916.37 <text:section-source>

19.917 xlink:show

19.918 xlink:title

19.919 xlink:type

19.920 xml:id

20 Formatting Attributes

20.1 General

20.2 chart:angle-offset

20.3 chart:auto-position

20.4 chart:auto-size

20.5 chart:axis-label-position

20.6 chart:axis-position

20.7 chart:connect-bars

20.8 chart:data-label-number

20.9 chart:data-label-series

20.10 chart:data-label-symbol

20.11 chart:data-label-text

20.12 chart:deep

20.13 chart:display-label

20.14 chart:error-category

20.15 chart:error-lower-indicator

20.16 chart:error-lower-limit

20.17 chart:error-lower-range

20.18 chart:error-margin

20.19 chart:error-percentage

20.20 chart:error-upper-indicator

20.21 chart:error-upper-limit

20.22 chart:error-upper-range

20.23 chart:gap-width

20.24 chart:group-bars-per-axis

20.25 chart:hole-size

20.26 chart:include-hidden-cells

20.27 chart:interpolation

20.28 chart:interval-major

20.29 chart:interval-minor-divisor

20.30 chart:japanese-candle-stick

20.31 chart:label-arrangement

20.32 chart:label-position

20.33 chart:label-position-negative

20.34 chart:lines (deprecated)

20.35 chart:link-data-style-to-source

20.36 chart:logarithmic

20.37 chart:maximum

20.38 chart:mean-value

20.39 chart:minimum

20.40 chart:origin

20.41 chart:overlap

20.42 chart:pie-offset

20.43 chart:percentage

20.44 chart:regression-force-intercept

20.45 chart:regression-intercept-value

20.46 chart:regression-max-degree

20.47 chart:regression-moving-type

20.48 chart:regression-name

20.49 chart:regression-period

20.50 chart:regression-type

20.51 chart:reverse-direction

20.52 chart:right-angled-axes

20.53 chart:scale-text

20.54 chart:series-source (deprecated)

20.55 chart:sort-by-x-values

20.56 chart:solid-type

20.57 chart:spline-order

20.58 chart:spline-resolution

20.59 chart:stacked

20.60 chart:symbol-height

20.61 chart:symbol-name

20.62 chart:symbol-type

20.63 chart:symbol-width

20.64 chart:text-overlap

20.65 chart:three-dimensional

20.66 chart:tick-marks-major-inner

20.67 chart:tick-marks-major-outer

20.68 chart:tick-marks-minor-inner

20.69 chart:tick-marks-minor-outer

20.70 chart:tick-mark-position

20.71 chart:treat-empty-cells

20.72 chart:vertical

20.73 chart:visible

20.74 dr3d:ambient-color

20.75 dr3d:back-scale

20.76 dr3d:backface-culling

20.77 dr3d:close-back

20.78 dr3d:close-front

20.79 dr3d:depth

20.80 dr3d:diffuse-color

20.81 dr3d:edge-rounding

20.82 dr3d:edge-rounding-mode

20.83 dr3d:emissive-color

20.84 dr3d:end-angle

20.85 dr3d:horizontal-segments

20.86 dr3d:lighting-mode

20.87 dr3d:normals-direction

20.88 dr3d:normals-kind

20.89 dr3d:shadow

20.90 dr3d:shininess

20.91 dr3d:specular-color

20.92 dr3d:texture-filter

20.93 dr3d:texture-kind

20.94 dr3d:texture-mode

20.95 dr3d:texture-generation-mode-x

20.96 dr3d:texture-generation-mode-y

20.97 dr3d:vertical-segments

20.98 draw:auto-grow-height

20.99 draw:auto-grow-width

20.100 draw:background-size

20.101 draw:blue

20.102 draw:caption-angle

20.103 draw:caption-angle-type

20.104 draw:caption-escape

20.105 draw:caption-escape-direction

20.106 draw:caption-fit-line-length

20.107 draw:caption-gap

20.108 draw:caption-line-length

20.109 draw:caption-type

20.110 draw:color-inversion

20.111 draw:color-mode

20.112 draw:contrast

20.113 draw:decimal-places

20.114 draw:draw-aspect

20.115 draw:end-guide

20.116 draw:end-line-spacing-horizontal

20.117 draw:end-line-spacing-vertical

20.118 draw:fill

20.119 draw:fill-color

20.120 draw:fill-gradient-name

20.121 draw:fill-hatch-name

20.122 draw:fill-hatch-solid

20.123 draw:fill-image-height

20.124 draw:fill-image-name

20.125 draw:fill-image-ref-point

20.126 draw:fill-image-ref-point-x

20.127 draw:fill-image-ref-point-y

20.128 draw:fill-image-width

20.129 draw:fit-to-contour

20.130 draw:fit-to-size

20.131 draw:frame-display-border

20.132 draw:frame-margin-horizontal

20.133 draw:frame-display-scrollbar

20.134 draw:frame-margin-vertical

20.135 draw:gamma

20.136 draw:green

20.137 draw:gradient-step-count

20.138 draw:guide-distance

20.139 draw:guide-overhang

20.140 draw:image-opacity

20.141 draw:line-distance

20.142 draw:luminance

20.143 draw:marker-end

20.144 draw:marker-end-center

20.145 draw:marker-end-width

20.146 draw:marker-start

20.147 draw:marker-start-center

20.148 draw:marker-start-width

20.149 draw:measure-align

20.150 draw:measure-vertical-align

20.151 draw:ole-draw-aspect (deprecated)

20.152 draw:opacity

20.153 draw:opacity-name

20.154 draw:parallel

20.155 draw:placing

20.156 draw:red

20.157 draw:secondary-fill-color

20.158 draw:shadow

20.159 draw:shadow-color

20.160 draw:shadow-offset-x

20.161 draw:shadow-offset-y

20.162 draw:shadow-opacity

20.163 draw:show-unit

20.164 draw:start-guide

20.165 draw:start-line-spacing-horizontal

20.166 draw:start-line-spacing-vertical

20.167 draw:stroke

20.168 draw:stroke-dash

20.169 draw:stroke-dash-names

20.170 draw:stroke-linejoin

20.171 svg:stroke-linecap

20.172 draw:symbol-color

20.173 draw:textarea-horizontal-align

20.174 draw:textarea-vertical-align

20.175 draw:tile-repeat-offset

20.176 draw:visible-area-height

20.177 draw:visible-area-left

20.178 draw:visible-area-top

20.179 draw:visible-area-width

20.180 draw:unit

20.181 draw:wrap-influence-on-position

20.182 fo:background-color

20.183 fo Border Properties

20.183.1 General

20.183.2 fo:border

20.183.3 fo:border-bottom

20.183.4 fo:border-left

20.183.5 fo:border-right

20.183.6 fo:border-top

20.184 fo:break-after

20.185 fo:break-before

20.186 fo:clip

20.187 fo:color

20.188 fo:country

20.189 fo:font-family

20.190 fo:font-size

20.191 fo:font-style

20.192 fo:font-variant

20.193 fo:font-weight

20.194 fo:height

20.195 fo:hyphenate

20.196 fo:hyphenation-keep

20.197 fo:hyphenation-ladder-count

20.198 fo:hyphenation-push-char-count

20.199 fo:hyphenation-remain-char-count

20.200 fo:keep-together

20.201 fo:keep-with-next

20.202 fo:language

20.203 fo:letter-spacing

20.204 fo:line-height

20.205 fo:margin

20.206 fo:margin-bottom

20.207 fo:margin-left

20.208 fo:margin-right

20.209 fo:margin-top

20.210 fo:max-height

20.211 fo:max-width

20.212 fo:min-height

20.212.1 <style:graphic-properties>

20.212.2 <style:header-footer-properties>

20.213 fo:min-width

20.214 fo:orphans

20.215 fo:page-height

20.216 fo:page-width

20.217 fo:padding

20.218 fo:padding-bottom

20.219 fo:padding-left

20.220 fo:padding-right

20.221 fo:padding-top

20.222 fo:script

20.223 fo:text-align

20.223.1 <style:paragraph-properties>

20.223.2 <style:list-level-properties>

20.224 fo:text-align-last

20.225 fo:text-indent

20.226 fo:text-shadow

20.227 fo:text-transform

20.228 fo:widows

20.229 fo:width

20.230 fo:wrap-option

20.231 presentation:background-objects-visible

20.232 presentation:background-visible

20.233 presentation:display-date-time

20.234 presentation:display-footer

20.235 presentation:display-header

20.236 presentation:display-page-number

20.237 presentation:duration

20.238 presentation:transition-speed

20.239 presentation:transition-style

20.240 presentation:transition-type

20.241 presentation:visibility

20.242 smil:direction

20.243 smil:fadeColor

20.244 smil:subtype

20.245 smil:type

20.246 style:auto-text-indent

20.247 style:background-transparency

20.248 style:border-line-width

20.249 style:border-line-width-bottom

20.250 style:border-line-width-left

20.251 style:border-line-width-right

20.252 style:border-line-width-top

20.253 style:cell-protect

20.254 style:column-width

20.255 style:contextual-spacing

20.256 style:country-asian

20.257 style:country-complex

20.258 style:decimal-places

20.259 style:diagonal-bl-tr

20.260 style:diagonal-bl-tr-widths

20.261 style:diagonal-tl-br

20.262 style:diagonal-tl-br-widths

20.263 style:direction

20.264 style:dynamic-spacing

20.265 style:editable

20.266 style:first-page-number

20.267 style:flow-with-text

20.268 style:font-charset

20.269 style:font-charset-asian

20.270 style:font-charset-complex

20.271 style:font-family-asian

20.272 style:font-family-complex

20.273 style:font-family-generic

20.274 style:font-family-generic-asian

20.275 style:font-family-generic-complex

20.276 style:font-independent-line-spacing

20.277 style:font-name

20.278 style:font-name-asian

20.279 style:font-name-complex

20.280 style:font-pitch

20.281 style:font-pitch-asian

20.282 style:font-pitch-complex

20.283 style:font-relief

20.284 style:font-size-asian

20.285 style:font-size-complex

20.286 style:font-size-rel

20.287 style:font-size-rel-asian

20.288 style:font-size-rel-complex

20.289 style:font-style-asian

20.290 style:font-style-complex

20.291 style:font-style-name

20.292 style:font-style-name-asian

20.293 style:font-style-name-complex

20.294 style:font-weight-asian

20.295 style:font-weight-complex

20.296 style:footnote-max-height

20.297 style:glyph-orientation-vertical

20.298 style:horizontal-pos

20.299 style:horizontal-rel

20.300 style:join-border

20.301 style:justify-single-word

20.302 style:language-asian

20.303 style:language-complex

20.304 style:layout-grid-base-height

20.305 style:layout-grid-base-width

20.306 style:layout-grid-color

20.307 style:layout-grid-display

20.308 style:layout-grid-lines

20.309 style:layout-grid-mode

20.310 style:layout-grid-print

20.311 style:layout-grid-ruby-below

20.312 style:layout-grid-ruby-height

20.313 style:layout-grid-snap-to

20.314 style:layout-grid-standard-mode

20.315 style:line-break

20.316 style:letter-kerning

20.317 style:line-height-at-least

20.318 style:line-spacing

20.319 style:may-break-between-rows

20.320 style:min-row-height

20.321 style:mirror

20.322 style:num-format

20.323 style:num-letter-sync

20.324 style:num-prefix

20.325 style:num-suffix

20.326 style:number-wrapped-paragraphs

20.327 style:overflow-behavior

20.328 style:page-number

20.329 style:paper-tray-name

20.330 style:print

20.331 style:print-content

20.331.1 General

20.331.2 <style:graphic-properties>

20.331.3 <style:table-cell-properties>

20.332 style:print-page-order

20.333 style:print-orientation

20.334 style:protect

20.334.1 General

20.334.2 <style:graphic-properties>

20.334.3 <style:section-properties>

20.335 style:punctuation-wrap

20.336 style:register-true

20.337 style:register-truth-ref-style-name

20.338 style:rel-column-width

20.339 style:rel-height

20.340 style:rel-width

20.340.1 <style:graphic-properties>

20.340.2 <style:table-properties>

20.341 style:repeat

20.342 style:repeat-content

20.343 style:rfc-language-tag

20.344 style:rfc-language-tag-asian

20.345 style:rfc-language-tag-complex

20.346 style:rotation-align

20.347 style:rotation-angle

20.348 style:row-height

20.349 style:ruby-align

20.350 style:ruby-position

20.351 style:run-through

20.352 style:scale-to

20.353 style:scale-to-pages

20.354 style:scale-to-X

20.355 style:scale-to-Y

20.356 style:script-asian

20.357 style:script-complex

20.358 style:script-type

20.359 style:shadow

20.360 style:shrink-to-fit

20.361 style:snap-to-layout-grid

20.362 style:tab-stop-distance

20.363 style:table-centering

20.364 style:text-align-source

20.365 style:text-autospace

20.366 style:text-blinking

20.367 style:text-combine

20.368 style:text-combine-start-char

20.369 style:text-combine-end-char

20.370 style:text-emphasize

20.371 style:text-line-through-color

20.372 style:text-line-through-mode

20.373 style:text-line-through-style

20.374 style:text-line-through-text

20.375 style:text-line-through-text-style

20.376 style:text-line-through-type

20.377 style:text-line-through-width

20.378 style:text-outline

20.379 style:text-overline-color

20.380 style:text-overline-mode

20.381 style:text-overline-style

20.382 style:text-overline-type

20.383 style:text-overline-width

20.384 style:text-position

20.385 style:text-rotation-angle

20.386 style:text-rotation-scale

20.387 style:text-scale

20.388 style:text-underline-color

20.389 style:text-underline-mode

20.390 style:text-underline-style

20.391 style:text-underline-type

20.392 style:text-underline-width

20.393 style:use-optimal-column-width

20.394 style:use-optimal-row-height

20.395 style:use-window-font-color

20.396 style:vertical-align

20.396.1 <style:paragraph-properties>

20.396.2 <style:table-cell-properties>

20.397 style:vertical-pos

20.398 style:vertical-rel

20.399 style:width

20.400 style:wrap

20.401 style:wrap-contour

20.402 style:wrap-contour-mode

20.403 style:wrap-dynamic-threshold

20.404 style:writing-mode

20.404.1 General

20.404.2 <style:graphic-properties>

20.404.3 <style:page-layout-properties>

20.404.4 <style:paragraph-properties>

20.404.5 <style:section-properties>

20.404.6 <style:table-cell-properties>

20.404.7 <style:table-properties>

20.405 style:writing-mode-automatic

20.406 svg:fill-rule

20.407 svg:height

20.407.1 <style:graphic-properties>

20.407.2 <style:header-footer-properties>

20.408 svg:stroke-color

20.409 svg:stroke-opacity

20.410 svg:stroke-width

20.411 svg:x

20.412 svg:y

20.412.1 <style:graphic-properties>

20.412.2 <style:list-level-properties>

20.413 svg:width

20.414 table:align

20.415 table:border-model

20.416 table:display

20.417 text:anchor-page-number

20.418 text:anchor-type

20.419 text:animation

20.420 text:animation-delay

20.421 text:animation-direction

20.422 text:animation-repeat

20.423 text:animation-start-inside

20.424 text:animation-steps

20.425 text:animation-stop-inside

20.426 text:condition

20.427 text:display

20.428 text:dont-balance-text-columns

20.429 text:line-break

20.430 text:line-number

20.431 text:list-level-position-and-space-mode

20.432 text:min-label-distance

20.433 text:min-label-width

20.434 text:number-lines

20.435 text:space-before

Appendix A OpenDocument Relax NG Schema

Appendix B OpenDocument Metadata Manifest Ontology

Appendix C MIME Types and File Name Extensions (Non Normative)

Appendix D Accessibility Guidelines (Non Normative)

Appendix D.1 Title, Description and Caption of Graphical Elements

Appendix D.1.1 Guidance for authors

Appendix D.1.2 Authoring tool responsibility for presenting and prompting for the <svg:title> and <svg:desc> elements

Appendix D.2 Hyperlink Titles

Appendix D.3 Tables in Presentations

Appendix D.4 Further Guidelines

Appendix E Bidirectional (BiDi) Scripts, Numeric Digits Presentation and Calendars (Non Normative)

Appendix E.1 Paragraph and Layout Direction

Appendix E.2 Numeric Digits Presentation and Calendars

Appendix F Recommended Usage of SMIL

Appendix F.1 Slide Animation

Appendix F.2 Main Sequence

Appendix F.3 Interactive Sequence

Appendix G Changes From ODF 1.2 (Non Normative)

1 Introduction

1.1 Introduction

This document is part of the Open Document Format for Office Applications (OpenDocument) Version 1.3 specification. It defines an XML schema for office documents. Office documents include text documents, spreadsheets, charts and graphical documents like drawings or presentations, and other forms of documents.

1.2 Terminology

All text is normative unless otherwise labeled.

Text with a gray background color which is contained in boxes is informative. -

Within the normative text of this specification, the terms "shall", "shall not", "should", "should not", "may" and “need not” are to be interpreted as described in Annex H of [ISO/IEC Directives].

Attributes and elements may be marked as deprecated.  Deprecated attributes or elements have “Deprecated” inserted into their section title. Attributes and elements marked as deprecated should not be used any longer, and may be removed from future versions of (OpenDocument).

XML Element, attribute names, attribute value types, and attribute values appear in monospace font.

This standard, for illustrative purposes, describes functionality using terminology common in desktop computing environments that contain a display terminal, keyboard, and mouse, attached to a computer hosting an operating system with a graphical user interface which includes user interface controls such as input controls, command buttons, selection boxes, etc.

This standard is not limited to such environments. This format can be used by alternative computing environments, with other form factors, non-GUI consumers and producers, assistive technologies, using analogous user interface operations.

Implementation-defined is used in this standard for values or processing that may differ between ODF implementations but is required to be specified by the implementor for each particular ODF-implementation.

Implementation-dependent is used in this standard for values or processing that may differ between ODF implementations but is not required to be specified by the implementor for each particular ODF-implementation.

1.3 Normative References

The following documents are referred to in the text in such a way that some or all of their content constitutes requirements of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies.

 

[CSS2]  Bert Bos, Håkon Wium Lie, Chris Lilley, Ian Jacobs, Cascading Style Sheets, level 2, http://www.w3.org/TR/1998/REC-CSS2-19980512, W3C, 1998.

[CSS3Text]  Michel Suignard, CSS3 Text Module, http://www.w3.org/TR/2003/CR-css3-text-20030514, W3C, 2003.

[DAISY]  ANSI/NISO Z39.86-2005 (R2012) Specifications for the Digital Talking Book, http://www.niso.org/standards/resources/Z39-86-2005.html, 2005.

[DCMI]  Dublin Core Metadata Element Set, Version 1.1: Reference Description, http://www.dublincore.org/documents/2008/01/14/dces/, Dublin Core Metadata Initiative, 2003.

[DOMEvents2]  Tom Pixley, Document Object Model (DOM) Level 2 Events Specification, http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113, W3C, 2000.

[GRDDL]  Don Conolly, Gleaning Resource Descriptions from Dialects of Languages (GRDDL), http://www.w3.org/TR/2007/REC-grddl-20070911/, W3C, 2007.

[HTML4]  Dave Raggett, Arnaud Le Hors, Ian Jacobs, HTML 4.01 Specification, http://www.w3.org/TR/1999/REC-html401-19991224, W3C, 1999.

[ISO/IEC Directives]  ISO/IEC Directives, Part 2 (Fifth Edition) Rules for the structure and drafting of International Standards, International Organization for Standardization and International Electrotechnical Commission, 2004.

[ISO639-1]  ISO 639-1:2002 Codes for the representation of names of languages -- Part 1: Alpha-2 code, International Organization for Standardization and International Electrotechnical Commission, 2002.

[ISO639-2]  ISO 639-2:1998 Codes for the representation of names of languages -- Part 2: Alpha-3 code, International Organization for Standardization and International Electrotechnical Commission, 1998.

[ISO639-3]  ISO 639-3:2007 Codes for the representation of names of languages -- Part 3: Alpha-3 code for comprehensive coverage of languages, International Organization for Standardization and International Electrotechnical Commission, 2007.

[ISO3166-1]  ISO 3166-1:2006/Cor 1:2007   Codes for the representation of names of countries and their subdivisions -- Part 1: Country codes, International Organization for Standardization and International Electrotechnical Commission, 2007.

[ISO3166-2]  ISO 3166-2:2007 Codes for the representation of names of countries and their subdivisions -- Part 2: Country subdivision code, International Organization for Standardization and International Electrotechnical Commission, 2007.

[ISO3166-3]  ISO 3166-3:1999 Codes for the representation of names of countries and their subdivisions -- Part 3: Code for formerly used names of countries, International Organization for Standardization and International Electrotechnical Commission, 1999.

[ISO8601]  ISO 8601:2004 Data elements and interchange formats -- Information interchange -- Representation of dates and times, International Organization for Standardization and International Electrotechnical Commission, 2004.

[ISO15924]  ISO 15924:2004 Information and documentation -- Codes for the representation of names of scripts, International Organization for Standardization and International Electrotechnical Commission, 2004.

[JIS X 0301]  JIS X 0301:2002 Data elements and interchange formats -- Information interchange -- Representation of dates and times, Japanese Standards Association, 2002.

[MathML]  David Carlisle, Patrick Ion, Robert Miner, Nico Poppelier, Mathematical Markup Language (MathML) Version 2.0 (Second Edition), http://www.w3.org/TR/2003/REC-MathML2-20031021/, W3C, 2003.

[MIMETYPES]  MIME Media Types, http://www.iana.org/assignments/media-types/, IANA.

[ODF10]  OASIS Standard, Open Document Format for Office Applications (OpenDocument) v1.0, May 2005, http://docs.oasis-open.org/office/v1.0/OpenDocument-v1.0-os.pdf

[ODF11]  OASIS Standard, Open Document Format for Office Applications (OpenDocument) v1.1, February 2007, http://docs.oasis-open.org/office/v1.1/OS/OpenDocument-v1.1.pdf

[ODF1.3-Part-2:Packages]  Open Document Format for Office Applications (OpenDocument) v.1.3, Part 2: Packages. Linked in Additional Artifacts  on front page.

[ODF1.3-Part-4:OpenFormula]  Open Document Format for Office Applications (OpenDocument) Version 1.3 Part 4 Recalculated Formula (OpenFormula) Format. Linked in Additional Artifacts  on front page.

[OLE]  Kraig Brockschmidt, Inside OLE, Microsoft Press, 1995, ISBN: 1-55615-843-2

[OWL]  Deborah L. McGuinness, Frank van Harmelen, OWL Web Ontology Language Overview, http://www.w3.org/TR/2004/REC-owl-features-20040210/, W3C, 2004.

[PNG]  David Duce, Portable Network Graphics (PNG) Specification (Second Edition), http://www.w3.org/TR/2003/REC-PNG-20031110, W3C, 2003.

[RDF-CONCEPTS]  Graham Klyne, Jeremy J. Carroll, Brian McBride, Resource Description Framework (RDF): Concepts and Abstract Syntax, http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/, W3C, 2004.

[RDFa]  Ben Adida, Mark Birbeck, Shane McCarron, Steven Pemberton, RDFa in XHTML: Syntax and Processing, http://www.w3.org/TR/2008/REC-rdfa-syntax-20081014, W3C, 2008.

[RFC2045]  N. Freed and N. Borenstein, Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies, http://www.ietf.org/rfc/rfc2045.txt, IETF, 1996.

[RFC2616]  R. Fielding, et al.,  Hypertext Transfer Protocol -- HTTP/1.1, http://www.ietf.org/rfc/rfc2616.txt, IETF, 1999.

[RFC3066]  H. Alvestrand, Tags for the Identification of Languages, http://www.ietf.org/rfc/rfc3066.txt, IETF, 2001.

[RFC3987]  M. Duerst, M. Suignard, Internationalized Resource Identifiers (IRIs), http://www.ietf.org/rfc/rfc3987.txt, IETF, 2005

[RFC4514]  K. Zeilenga, Lightweight Directory Access Protocol (LDAP): String Representation of Distinguished Names, http://tools.ietf.org/html/rfc4514, IETF, 2006.

[RFC5646]  A. Phillips, M. Davis, Tags for Identifying Languages, http://www.ietf.org/rfc/rfc5646.txt, IETF, 2009.

[RFC6838]  N. Freed, J. Klensin, T. Hansen Media Type Specifications and Registration Procedures, http://www.ietf.org/rfc/rfc6838.txt, IETF, 2013.

[RNG]  ISO/IEC 19757-2 Document Schema Definition Language (DSDL) -- Part 2: Regular-grammar-based validation -- RELAX NG, International Organization for Standardization and International Electrotechnical Commission, 2003.

[SMIL20]  Jeff Ayars, etc al., Synchronized Multimedia Integration Language (SMIL 2.0) - [Second Edition], http://www.w3.org/TR/2005/REC-SMIL2-20050107/, W3C, 2001.

[SQL]  ISO/IEC 9075-1:2008 Information Technology -- Database Language -- SQL -- Part 2: Foundation (SQL/Foundation), International Organization for Standardization and International Electrotechnical Commission, 2008.

[SVG]  Jon Ferraiolo, 藤沢 淳 (FUJISAWA Jun), Dean Jackson, Scalable Vector Graphics (SVG) 1.1, http://www.w3.org/TR/2003/REC-SVG11-20030114/, W3C, 2003.

[UAX9]  Mark Davis, The Bidirectional Algorithm, Unicode Standard Annex #9, http://www.unicode.org/reports/tr9/tr9-15.html, 2005.

[UNICODE]  The Unicode Consortium. The Unicode Standard, Version 5.2.0, defined by: The Unicode Standard, Version 5.2 (Boston, MA, Addison-Wesley, 2009. ISBN 978-1-936213-00-9).

[UTR18]  Mark Davis, Andy Heninger, Unicode Regular Expressions, Unicode Technical Report #18, http://www.unicode.org/reports/tr18/tr18-13.html, 2008.

[UTR20]  Martin Dürst and Asmus Freytag, Unicode in XML and other Markup Languages, Unicode Technical Report #20, http://www.unicode.org/reports/tr20/tr20-7.html, 2003.

[XForms]  John M. Boyer, XForms 1.0 (Third Edition), http://www.w3.org/TR/2007/REC-xforms-20071029/, W3C, 2007.

[XLink]  Steve DeRose, Eve Maler, David Orchard, XML Linking Language (XLink) Version 1.0, http://www.w3.org/TR/2001/REC-xlink-20010627/, W3C, 2001.

[XML-ID]  Jonathan Marsh, Daniel Veillard, Norman Walsh, xml:id Version 1.0, http://www.w3.org/TR/2005/REC-xml-id-20050909/, W3C, 2005.

[XML-Names]  Tim Bray rt al., Namespaces in XML 1.0 (Second Edition), http://www.w3.org/TR/2006/REC-xml-names-20060816, W3C, 2006.

[XML1.0]  Tim Bray, Jean Paoli, C. M. Sperberg-McQueen, Eve Maler, François Yergeau , Extensible Markup Language (XML) 1.0 (Fourth Edition), http://www.w3.org/TR/2006/REC-xml-20060816/, W3C, 2006.

[XMLENC-CORE]  Donald Eastlake, Joseph Reagle, XML Encryption Syntax and Processing, http://www.w3.org/TR/2002/REC-xmlenc-core-20021210/, W3C, 2002.

[XPath]  James Clark, Steve DeRose, XML Path Language (XPath) Version 1.0, http://www.w3.org/TR/1999/REC-xpath-19991116, W3C, 1999.

[XMLSchema-2]  Paul V. Biron, Ashok Malhotra, XML Schema Part 2: Datatypes Second Edition, http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/, W3C, 2004.

[XSL]  Sharon Adler, et al., Extensible Stylesheet Language (XSL), http://www.w3.org/TR/2001/REC-xsl-20011015/, W3C, 2001.

[XSLT]  James Clark, XSL Transformations (XSLT) Version 1.0, http://www.w3.org/TR/1999/REC-xslt-19991116, W3C, 1999.

1.4 Non Normative References

[BibTeXing]  Oren Patashnik, BIBTEXing,  http://mirrors.ctan.org/biblio/bibtex/base/btxdoc.pdf

[UAX9]  Mark Davis, The Bidirectional Algorithm, Unicode Standard Annex #9, http://www.unicode.org/reports/tr9/tr9-15.html, 2005.

[UTR20]  Martin Dürst and Asmus Freytag, Unicode in XML and other Markup Languages, Unicode Technical Report #20, http://www.unicode.org/reports/tr20/tr20-7.html, 2003.

1.5 Namespaces

Tables 1-6 list namespaces used or defined by OpenDocument.

Note: The defined XML namespaces conform to the Namespaces in XML specification [XML-Names].

This specification uses the prefixes defined in Tables 1 and 2 when referring to elements and attributes in this specification. However, implementors may use any prefix, provided that there is a namespace declaration that binds the prefix to the IRI of the corresponding namespace.

Table 1 - XML Namespaces defined by the OpenDocument schema

Prefix

Description

Namespace

anim

Elements and attributes that describe animation content.

urn:oasis:names:tc:opendocument:xmlns:
animation:1.0

chart

Elements and attributes that describe chart content.

urn:oasis:names:tc:opendocument:xmlns:
chart:1.0

config

Elements and attributes that describe application specific settings.

urn:oasis:names:tc:opendocument:xmlns:
config:1.0

db

For elements and attributes that describe database specific objects.

urn:oasis:names:tc:opendocument:xmlns:
database:1.0

dr3d

Elements and attributes that describe 3D graphic content.

urn:oasis:names:tc:opendocument:xmlns:
dr3d:1.0

draw

Elements and attributes that describe graphic content.

urn:oasis:names:tc:opendocument:xmlns:
drawing:1.0

form

Elements and attributes that describe forms and controls.

urn:oasis:names:tc:opendocument:xmlns:
form:1.0

manifest

Elements and attribute contained in the package manifest.

urn:oasis:names:tc:opendocument:xmlns:
manifest:1.0

meta

Elements and attributes that describe meta information.

urn:oasis:names:tc:opendocument:xmlns:
meta:1.0

number

Elements and attributes that describe data style information.

urn:oasis:names:tc:opendocument:xmlns:
datastyle:1.0

office

All common pieces of information not contained in another, more specific namespace.

urn:oasis:names:tc:opendocument:xmlns:
office:1.0

presentation

Elements and attributes that describe presentation content.

urn:oasis:names:tc:opendocument:xmlns:
presentation:1.0

script

Elements and attributes that represent scripts or events.

urn:oasis:names:tc:opendocument:xmlns:
script:1.0

table

Elements and attributes that may occur in spreadsheets or in table in a text document.

urn:oasis:names:tc:opendocument:xmlns:
table:1.0

text

Elements and attributes that may occur within text documents and text parts of other document types.

urn:oasis:names:tc:opendocument:xmlns:
text:1.0

style

Elements and attributes that describe the style and inheritance model used by the OpenDocument format.

urn:oasis:names:tc:opendocument:xmlns:
style:1.0

Table 2 - XML Namespaces defined by the OpenDocument metadata manifest ontology

Prefix

Description

Namespace

odf

RDF node property and node elements for OpenDocument package entities

http://docs.oasis-open.org/ns/office/1.2/meta/odf#

Table 3 - XML Namespaces defined by the OpenDocument schema that include elements and attributes that are compatible to elements and attributes of other standards.

Prefix

Description

Namespace

fo

Attributes that are compatible to attributes defined in [XSL].

urn:oasis:names:tc:opendocument:xmlns:
xsl-fo-compatible:1.0

svg

Elements and attributes that are derived from elements or attributes defined in [SVG].

urn:oasis:names:tc:opendocument:xmlns:
svg-compatible:1.0

smil

Attributes that are derived from to attributes defined in [SMIL20].

urn:oasis:names:tc:opendocument:xmlns:
smil-compatible:1.0

Table 4 - XML Namespaces used by the OpenDocument schema

Prefix

Description

Namespace

dc

The Dublin Core Namespace (see [DCMI]).

http://purl.org/dc/elements/1.1/

math

MathML Namespace (see [MathML])

http://www.w3.org/1998/Math/MathML

xforms

The XForms namespace (see [XForms]).

http://www.w3.org/2002/xforms

xlink

The XLink namespace (see [XLink]).

http://www.w3.org/1999/xlink

xhtml

RDFa attributes (see [RDFa]).

http://www.w3.org/1999/xhtml

grddl

GRDDL attributes (see [GRDDL])

http://www.w3.org/2003/g/data-view#

Table 5 - XML Namespaces defined by the OpenDocument metadata manifest ontology

Prefix

Description

Namespace

pkg

OWL classes and properties contained in metadata manifest files.

http://docs.oasis-open.org/ns/office/1.2/meta/pkg#

Table 6 - Other XML Namespaces defined by this specification

Prefix

Description

Namespace

of

Namespace for formulas defined by Part 4 of this specification that occur in attribute values.

urn:oasis:names:tc:opendocument:xmlns:of:1.2

2 OpenDocument Documents, Consumers and Producers

2.1 Introduction

The OpenDocument specification defines conformance for documents, consumers, and producers, with two conformance classes called conforming and extended conforming. It further defines conforming text, spreadsheet, drawing, presentation, chart, image, formula and database front end documents. This chapter defines the basic requirements for the individual conformance targets.

2.2 Document Conformance

2.2.1 OpenDocument Document

An OpenDocument document shall meet the following requirements:

  1. A)If the document is an OpenDocument package, then  

    1. A.1)it shall be a conforming OpenDocument package [ODF1.3-Part-2:Packages], 2.2 Packages, and 

    2. A.2)the package shall contain at least one of the following files: content.xml and styles.xml. It may contain additional files. 

  2. B)If the document is an OpenDocument package, then the following requirements shall be met for its contained files named content.xml, styles.xml, settings.xml, and meta.xml if present: 

    1. B.1)The files shall be well-formed XML documents with respect to the XML 1.0 [XML1.0]specification. 

    2. B.2)The XML root elements of the files shall be  

      1. B.2.1)<office:document-content> 3.1.3.2 or <math:math> 14.6 for files named content.xml, 

      2. B.2.2)<office:document-styles> 3.1.3.3 for files named styles.xml, 

      3. B.2.3)<office:document-meta> 3.1.3.4 for files named meta.xml, 

      4. B.2.4)<office:document-settings> 3.1.3.5 for files named settings.xml. 

    3. B.3)If the XML root element of a file is <office:document-content>, <office:document-styles>, <office:document-meta> or <office:document-settings>, then the XML file shall be valid with respect to the schema defined in appendix A. 

    4. B.4)If the XML root element of a file is <math:math>, then the XML file shall be valid with respect to the MathML 2.0 [MathML] schema. 

       

  3. C)If the document is a single XML file, then  

    1. C.1)the file shall be a well-formed XML document with respect to the XML 1.0 [XML1.0] specification 

    2. C.2)the XML root element of the file shall be <office:document>. 

    3. C.3)the XML file shall validate against the schema defined in appendix A. 

  4. D)The files contained in a package listed in B) or the single file listed in C) meet the following requirements: 

    1. D.1)They shall conform to the XML Namespaces specification [XML-Names]. 

    2. D.2)They shall conform to the xml-id Version 1.0 specification [XML-ID]. 

    3. D.3)If a style:condition, table:condition, table:expression, table:formula or text:formula attribute value begins with a namespace prefix bound to namespace "urn:oasis:names:tc:opendocument:xmlns:of:1.3," the syntax and semantics of the attribute value portions that are expressions determined by the prefix shall conform to Part4 of this specification. If a style:condition, table:condition, table:expression, table:formula or text:formula attribute value has no namespace prefix, the attribute value portions that are expressions determined by a prefix shall conform as if there were a prefix bound to namespace "urn:oasis:names:tc:opendocument:xmlns:of:1.3". 

  5. E)It shall conform to one of: OpenDocument Text Document (2.2.3), OpenDocument Spreadsheet Document (2.2.4), OpenDocument Drawing Document (2.2.5), OpenDocument Presentation Document (2.2.6), OpenDocument Chart Document (2.2.7), OpenDocument Image Document (2.2.8), OpenDocument Formula Document (2.2.9), OpenDocument Database Front End Document (2.2.10).  

2.2.2 OpenDocument Extended Document

An OpenDocument extended document shall meet all requirements of a conforming document listed in 2.2.1 except A.1), B.3), C.3) and E) and shall meet the following requirements:

  1. A)If the document is an OpenDocument package, then it shall be a conforming ODF extended package [ODF1.3-Part-2:Packages], 2.2.2 OpenDocument Extended Package. 

  2. B)If the document is an OpenDocument package, then the following requirement shall be met for its contained files named content.xml, styles.xml, settings.xml, and meta.xml if present: 

    1. B.1)If the XML root element of a file is <office:document-content> 3.1.3.2, <office:document-styles> 3.1.3.3, <office:document-meta> 3.1.3.4 or <office:document-settings> 3.1.3.5, then the XML file shall be valid with respect to the schema defined in appendix A, after the following processing of foreign elements has taken place: 

      1. B.1.1)Foreign elements and attributes, as defined in section 3.17 have been removed. 

      2. B.1.2)The content of foreign elements has been processed as defined in section 3.17. 

  3. C)If the document is a single XML file, then the XML files shall be valid against the schema defined in appendix A, after processing of foreign elements as defined in B.1) has taken place. 

2.2.3 OpenDocument Text Document

An OpenDocument Text document shall meet all requirements of a Conforming OpenDocument Document, as well as the following additional requirements:

  1. A)The <office:document> 3.1.2 element shall have an office:mimetype 3.1.2 attribute with one of these values: "application/vnd.oasis.opendocument.text", "application/vnd.oasis.opendocument.text-template", "application/vnd.oasis.opendocument.text-master" or "application/vnd.oasis.opendocument.text-master-template". 

  2. B)If the document is an OpenDocument package then it shall contain a file named mimetype containing one of these strings: "application/vnd.oasis.opendocument.text", "application/vnd.oasis.opendocument.text-template", "application/vnd.oasis.opendocument.text-master" or "application/vnd.oasis.opendocument.text-master-template". 

  3. C)The <office:body> 3.3 element shall have the child element <office:text> 3.4. 

2.2.4 OpenDocument Spreadsheet Document

An OpenDocument Spreadsheet document shall meet all requirements of a Conforming OpenDocument Document, as well as the following additional requirements:

  1. A)The <office:document> 3.1.2 element shall have an office:mimetype 19.379 attribute with one of these values: "application/vnd.oasis.opendocument.spreadsheet" or "application/vnd.oasis.opendocument.spreadsheet-template". 

  2. B)If the document is an OpenDocument package then it shall contain a file named mimetype containing one of these strings: "application/vnd.oasis.opendocument.spreadsheet" or "application/vnd.oasis.opendocument.spreadsheet-template". 

  3. C)The <office:body> 3.3 element shall have the child element <office:spreadsheet> 3.7. 

  4. D)All namespace prefixes used in the values of table:formula attributes values shall be bound to the "urn:oasis:names:tc:opendocument:xmlns:of:1.2 " namespace. 

  5. E)All table:formula attribute values shall be a conforming OpenDocument Formula expression [ODF1.3-Part-4:OpenFormula] 2.2 OpenDocument Formula Expression. 

2.2.5 OpenDocument Drawing Document

An OpenDocument Drawing document shall meet all requirements of a Conforming OpenDocument Document, as well as the following additional requirements:

  1. A)The <office:document> 3.1.2 element shall have an office:mimetype 19.379 attribute with one of these values: "application/vnd.oasis.opendocument.graphics" or "application/vnd.oasis.opendocument.graphics-template". 

  2. B)If the document is an OpenDocument package then it shall contain a file named mimetype containing one of these strings: "application/vnd.oasis.opendocument.graphics" or "application/vnd.oasis.opendocument.graphics-template". 

  3. C)The <office:body> 3.3 element shall have the child element <office:drawing> 3.5. 

2.2.6 OpenDocument Presentation Document

An OpenDocument Presentation document shall meet all requirements of a Conforming OpenDocument Document, as well as the following additional requirements:

  1. A)The <office:document> 3.1.2 element shall have an office:mimetype 19.379 attribute with one of these values: "application/vnd.oasis.opendocument.presentation" or "application/vnd.oasis.opendocument.presentation-template". 

  2. B)If the document is an OpenDocument package then it shall contain a file named mimetype containing one of these strings: "application/vnd.oasis.opendocument.presentation" or "application/vnd.oasis.opendocument.presentation-template". 

  3. C)The <office:body> 3.3 element shall have the child element 3.6 <office:presentation>. 

2.2.7 OpenDocument Chart Document

An OpenDocument Chart document shall meet all requirements of a Conforming OpenDocument Document, as well as the following additional requirements:

  1. A)The <office:document> 3.1.2 element shall have an office:mimetype 19.379 attribute with one of these values: "application/vnd.oasis.opendocument.chart" or "application/vnd.oasis.opendocument.chart-template". 

  2. B)If the document is an OpenDocument package then it shall contain a file named mimetype containing one of these strings: "application/vnd.oasis.opendocument.chart" or "application/vnd.oasis.opendocument.chart-template". 

  3. C)The <office:body> 3.3 element shall have the child element <office:chart> 19.379. 

2.2.8 OpenDocument Image Document

An OpenDocument Image document shall meet all requirements of a Conforming OpenDocument Document, as well as the following additional requirements:

  1. A)The <office:document> 3.1.2 element shall have an office:mimetype 19.379 attribute with one of these values: "application/vnd.oasis.opendocument.image" or "application/vnd.oasis.opendocument.image-template". 

  2. B)If the document is an OpenDocument package then it shall contain a file named mimetype containing one of these strings: "application/vnd.oasis.opendocument.image" or "application/vnd.oasis.opendocument.image-template". 

  3. C)The <office:body> 3.3 element shall have the child element <office:image> 3.9. 

2.2.9 OpenDocument Formula Document

An OpenDocument Formula document shall meet all requirements of a Conforming OpenDocument Document, as well as the following additional requirements:

  1. A)If the document is an OpenDocument package, the package shall contain a file named mimetype with content being the string "application/vnd.oasis.opendocument.formula".  

  2. B)The package "content.xml" file shall have a <math:math> 14.6 root element.  

2.2.10 OpenDocument Database Front End Document

An OpenDocument Database Front End document shall meet all requirements of a Conforming OpenDocument Document, as well as the following additional requirements:

  1. A)The <office:document> 3.1.2 element shall have an office:mimetype 19.379 attribute with the value "application/vnd.oasis.opendocument.base".  

  2. B)If the document is an OpenDocument package then it shall contain a file named mimetype containing the string " application/vnd.oasis.opendocument.base".  

  3. C)The <office:body> 3.3 element shall have the child element <office:database> 12.1.  

2.3 Producers

2.3.1 OpenDocument Producer

An OpenDocument producer is a program that creates at least one conforming OpenDocument document, and that meets the following additional requirements:

  1. A)It may produce conforming OpenDocument extended documents, but it shall have a mode of operation where it creates conforming OpenDocument documents. 

  2. B)It shall be accompanied by a document that defines all implementation-defined values used by the OpenDocument producer. 

2.3.2 OpenDocument Extended Producer

An OpenDocument extended producer is a program that creates at least one conforming OpenDocument extended document, and that meets the following additional requirements:

  1. A)It shall be accompanied by a document that defines all implementation-defined values used by the OpenDocument extended producer. 

  2. B)It should be accompanied by a document that defines all foreign elements and attributes used by the OpenDocument extended producer. 

2.4 Consumer

An OpenDocument consumer is a program that can parse and interpret OpenDocument documents according to the semantics defined by this specification, and that meets the following additional requirements:

  1. A)It shall be able to parse and interpret OpenDocument documents of one or more of the document types defined by this specification (see 3.3), but it need not interpret the semantics of all elements, attributes and attribute values. 

  2. B)It may be able to parse and interpret OpenDocument documents stored as a single XML document, but it need not interpret the semantics of all elements, attributes and attribute values. 

  3. C)It shall interpret those elements and attributes it does interpret consistent with the semantics defined for the element or attribute by this specification. 

  4. D)It should be able to parse and interpret conforming OpenDocument extended documents, but it need not interpret the semantics of all elements, attributes and attribute values. 

  5. E)The XML parser used to parse the files contained in a package listed in 2.2.1, item B) or the single document listed in 2.2.1, item C) meets the following requirements: 

    1. E.1)It shall be a nonvalidating XML processor with regard to the XML 1.0 specification [XML1.0] 

    2. E.2)It shall be and be a conforming processor with regard to the XML Namespaces specification [XML-Names]. 

    3. E.3)It shall conform to the xml-id specification [XML-ID]. 

3 Document Structure

3.1 Document Representation

3.1.1 General

OpenDocument defines two methods of document representation:

3.1.2 <office:document>(Single OpenDocument XML Files)

The <office:document> element is the root element of a document in OpenDocument format which is represented as a single XML document. It contains the entire document.

The <office:document> element is a root element.

The <office:document> element is usable within the following elements: <db:component> 12.25.5 and <draw:object> 10.4.6.2.

The <office:document> element has the following attributes: grddl:transformation 19.320, office:mimetype 19.379 and office:version 19.390.

The <office:document> element has the following child elements: <office:automatic-styles> 3.15.3, <office:body> 3.3, <office:font-face-decls> 3.14, <office:master-styles> 3.15.4, <office:meta> 3.2, <office:scripts> 3.12, <office:settings> 3.10 and <office:styles> 3.15.2.

3.1.3 Package OpenDocument Files

3.1.3.1 General

 The potential root elements for an OpenDocument document represented as a package are defined in OpenDocument Document, 2.2.1.

A package may also contain image files, embedded objects and implementation-dependent files.

3.1.3.2 <office:document-content>

The <office:document-content> root element contains document content and automatic styles used in a document. The file within a package for the <office:document-content> element is content.xml.

The <office:document-content> element is a root element.

The <office:document-content> element has the following attributes: grddl:transformation 19.320 and office:version 19.390.

The <office:document-content> element has the following child elements: <office:automatic-styles> 3.15.3, <office:body> 3.3, <office:font-face-decls> 3.14 and <office:scripts> 3.12.

3.1.3.3 <office:document-styles>

The <office:document-styles> root element contains styles used in document content and automatic styles used in styles. The file within a package for the <office:document-styles> element is styles.xml.

The <office:document-styles> element is a root element.

The <office:document-styles> element has the following attributes: grddl:transformation 19.320 and office:version 19.390.

The <office:document-styles> element has the following child elements: <office:automatic-styles> 3.15.3, <office:font-face-decls> 3.14, <office:master-styles> 3.15.4 and <office:styles> 3.15.2.

3.1.3.4 <office:document-meta>

The <office:document-meta> root element contains document metadata elements. The file within a package for the <office:document-meta> element is meta.xml.

The <office:document-meta> element is a root element.

The <office:document-meta> element has the following attributes: grddl:transformation 19.320 and office:version 19.390.

The <office:document-meta> element has the following child element: <office:meta> 3.2.

3.1.3.5 <office:document-settings>

The <office:document-settings> root element contains implementation-dependent settings. The file within a package for the <office:document-settings> element is settings.xml.

The <office:document-settings> element is a root element.

The <office:document-settings> element has the following attributes: grddl:transformation 19.320 and office:version 19.390.

The <office:document-settings> element has the following child element: <office:settings> 3.10.

3.1.4 Summary of Document Representation

OpenDocument file models are summarized in Table 7.

Table 7 - Root element content models

Root Element

<office:meta>

<office:settings>

<office:scripts>

<office:font-face-decls>

<office:styles>

<office:automatic-styles>

<office:master-styles>

<office:body>

<office:document>

X

X

X

X

X

X

X

X

<office:document-content>

 

 

X

X

 

X

 

X

<office:document-styles>

 

 

 

X

X

X

X

 

<office:document-meta>

X

 

 

 

 

 

 

 

<office:document-settings>

 

X

 

 

 

 

 

 

3.2 <office:meta>

The <office:meta> element contains metadata elements for a document that are not specified by a manifest.rdf file. 4.2.2

All the child elements of an <office:meta> element contain metadata about a document as a whole.

The <office:meta> element is usable within the following elements: <office:document> 3.1.2 and <office:document-meta> 3.1.3.4.

The <office:meta> element has no attributes.

The <office:meta> element has the following child elements: <dc:creator> 4.3.2.7, <dc:date> 4.3.2.10, <dc:description> 4.3.2.3, <dc:language> 4.3.2.15, <dc:subject> 4.3.2.4, <dc:title> 4.3.2.2, <meta:auto-reload> 4.3.2.13, <meta:creation-date> 4.3.2.9, <meta:document-statistic> 4.3.2.18, <meta:editing-cycles> 4.3.2.16, <meta:editing-duration> 4.3.2.17, <meta:generator> 4.3.2.1, <meta:hyperlink-behaviour> 4.3.2.14, <meta:initial-creator> 4.3.2.6, <meta:keyword> 4.3.2.5, <meta:print-date> 4.3.2.11, <meta:printed-by> 4.3.2.8, <meta:template> 4.3.2.12 and <meta:user-defined> 4.3.3.

3.3 <office:body>

The <office:body> element contains the elements that represent the content of a document.

The <office:body> element is usable within the following elements: <office:document> 3.1.2 and <office:document-content> 3.1.3.2.

The <office:body> element has no attributes.

The <office:body> element has the following child elements: <office:chart> 3.8, <office:database> 12.1, <office:drawing> 3.5, <office:image> 3.9, <office:presentation> 3.6, <office:spreadsheet> 3.7 and <office:text> 3.4.

3.4 <office:text>

The <office:text> element represents the content of a text document.

The <office:text> element is usable within the following element: <office:body> 3.3.

The <office:text> element has the following attributes: text:global 19.812 and text:use-soft-page-breaks 19.903.

The <office:text> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:forms> 13.2, <table:calculation-settings> 9.4.1, <table:consolidation> 9.7, <table:content-validations> 9.4.4, <table:data-pilot-tables> 9.6.2, <table:database-ranges> 9.4.14, <table:dde-links> 9.8, <table:label-ranges> 9.4.10, <table:named-expressions> 9.4.11, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:bibliography> 8.9, <text:change> 5.5.8.4, <text:change-end> 5.5.8.3, <text:change-start> 5.5.8.2, <text:dde-connection-decls> 14.7.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:list> 5.3.1, <text:numbered-paragraph> 5.3.6, <text:object-index> 8.6, <text:p> 5.1.3, <text:page-sequence> 5.2, <text:section> 5.4, <text:sequence-decls> 7.4.11, <text:soft-page-break> 5.6, <text:table-index> 8.5, <text:table-of-content> 8.3, <text:tracked-changes> 5.5.2, <text:user-field-decls> 7.4.7, <text:user-index> 8.7 and <text:variable-decls> 7.4.2.

3.5 <office:drawing>

The <office:drawing> element represents a drawing document.

The <office:drawing> element is usable within the following element: <office:body> 3.3.

The <office:drawing> element has no attributes.

The <office:drawing> element has the following child elements: <draw:page> 10.2.4, <table:calculation-settings> 9.4.1, <table:consolidation> 9.7, <table:content-validations> 9.4.4, <table:data-pilot-tables> 9.6.2, <table:database-ranges> 9.4.14, <table:dde-links> 9.8, <table:label-ranges> 9.4.10, <table:named-expressions> 9.4.11, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:dde-connection-decls> 14.7.2, <text:sequence-decls> 7.4.11, <text:user-field-decls> 7.4.7 and <text:variable-decls> 7.4.2.

3.6 <office:presentation>

The <office:presentation> element represents a presentation document.

The <office:presentation> element is usable within the following element: <office:body> 3.3.

The <office:presentation> element has no attributes.

The <office:presentation> element has the following child elements: <draw:page> 10.2.4, <presentation:date-time-decl> 10.9.3.6, <presentation:footer-decl> 10.9.3.4, <presentation:header-decl> 10.9.3.2, <presentation:settings> 10.9.3.7, <table:calculation-settings> 9.4.1, <table:consolidation> 9.7, <table:content-validations> 9.4.4, <table:data-pilot-tables> 9.6.2, <table:database-ranges> 9.4.14, <table:dde-links> 9.8, <table:label-ranges> 9.4.10, <table:named-expressions> 9.4.11, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:dde-connection-decls> 14.7.2, <text:sequence-decls> 7.4.11, <text:user-field-decls> 7.4.7 and <text:variable-decls> 7.4.2.

3.7 <office:spreadsheet>

The <office:spreadsheet> element represents a spreadsheet document.

The <office:spreadsheet> element is usable within the following element: <office:body> 3.3.

The <office:spreadsheet> element has the following attributes: table:protection-key 19.701, table:protection-key-digest-algorithm 19.702 and table:structure-protected 19.729.

The <office:spreadsheet> element has the following child elements: <table:calculation-settings> 9.4.1, <table:consolidation> 9.7, <table:content-validations> 9.4.4, <table:data-pilot-tables> 9.6.2, <table:database-ranges> 9.4.14, <table:dde-links> 9.8, <table:label-ranges> 9.4.10, <table:named-expressions> 9.4.11, <table:table> 9.1.2, <table:tracked-changes> 9.9.2, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:dde-connection-decls> 14.7.2, <text:sequence-decls> 7.4.11, <text:user-field-decls> 7.4.7 and <text:variable-decls> 7.4.2.

3.8 <office:chart>

The <office:chart> element represents a chart document.

The <office:chart> element is usable within the following element: <office:body> 3.3.

The <office:chart> element has no attributes.

The <office:chart> element has the following child elements: <chart:chart> 11.1, <table:calculation-settings> 9.4.1, <table:consolidation> 9.7, <table:content-validations> 9.4.4, <table:data-pilot-tables> 9.6.2, <table:database-ranges> 9.4.14, <table:dde-links> 9.8, <table:label-ranges> 9.4.10, <table:named-expressions> 9.4.11, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:dde-connection-decls> 14.7.2, <text:sequence-decls> 7.4.11, <text:user-field-decls> 7.4.7 and <text:variable-decls> 7.4.2.

3.9 <office:image>

The <office:image> element represents an image document.

The <office:image> element contains a <draw:frame> 10.4.2 element which shall contain a single <draw:image> 10.4.4 element.

The <office:image> element is usable within the following element: <office:body> 3.3.

The <office:image> element has no attributes.

The <office:image> element has the following child element: <draw:frame> 10.4.2.

3.10 <office:settings>

3.10.1 General

The <office:settings> element contains one or more <config:config-item-set> elements, each of which represents a set of application settings.

The <office:settings> element is usable within the following elements: <office:document> 3.1.2 and <office:document-settings> 3.1.3.5.

The <office:settings> element has no attributes.

The <office:settings> element has the following child element: <config:config-item-set> 3.10.2.

3.10.2 <config:config-item-set>

The <config:config-item-set> element is a container element for application setting elements. Setting child elements may occur in any order.

An OpenDocument Consumer shall use application settings to alter application behavior only within the dimensions of variability permitted by this standard.

The <config:config-item-set> element is usable within the following elements: <config:config-item-map-entry> 3.10.5, <config:config-item-set> 3.10.2 and <office:settings> 3.10.

The <config:config-item-set> element has the following attribute: config:name 19.29.

The <config:config-item-set> element has the following child elements: <config:config-item> 3.10.3, <config:config-item-map-indexed> 3.10.4, <config:config-item-map-named> 3.10.6 and <config:config-item-set> 3.10.2.

3.10.3 <config:config-item>

The <config:config-item> element contains the value of an application setting whose name is specified by its config:name attribute.

The <config:config-item> element is usable within the following elements: <config:config-item-map-entry> 3.10.5 and <config:config-item-set> 3.10.2.

The <config:config-item> element has the following attributes: config:name 19.29 and config:type 19.30.

The <config:config-item> element has no child elements.

The <config:config-item> element has character data content.

3.10.4 <config:config-item-map-indexed>

The <config:config-item-map-indexed> element is a container element for ordered sequences of application settings.

The <config:config-item-map-indexed> element is usable within the following elements: <config:config-item-map-entry> 3.10.5 and <config:config-item-set> 3.10.2.

The <config:config-item-map-indexed> element has the following attribute: config:name 19.29.

The <config:config-item-map-indexed> element has the following child element: <config:config-item-map-entry> 3.10.5.

3.10.5 <config:config-item-map-entry>

The <config:config-item-map-entry> element represents a single setting in a sequence of settings. The setting itself is defined by the child element of <config:config-item-map-entry>, and may be a single value, a set of settings, or a sequence of settings.

The <config:config-item-map-entry> element is usable within the following elements: <config:config-item-map-indexed> 3.10.4 and <config:config-item-map-named> 3.10.6.

The <config:config-item-map-entry> element has the following attribute: config:name 19.29.

The <config:config-item-map-entry> element has the following child elements: <config:config-item> 3.10.3, <config:config-item-map-indexed> 3.10.4, <config:config-item-map-named> 3.10.6 and <config:config-item-set> 3.10.2.

3.10.6 <config:config-item-map-named>

The <config:config-item-map-named> element contains a sequence of application setting elements. Each sequence is identified by the value of its config:name attribute.

The <config:config-item-map-named> element is usable within the following elements: <config:config-item-map-entry> 3.10.5 and <config:config-item-set> 3.10.2.

The <config:config-item-map-named> element has the following attribute: config:name 19.29.

The <config:config-item-map-named> element has the following child element: <config:config-item-map-entry> 3.10.5.

3.11 Cursor Position Setting

 

A processing instruction with PITarget (see §2.6 of [XML1.0]) followed by the string cursor-position represents a text cursor position in a document. The string cursor-position may be followed by an arbitrary implementation-defined string.

Note: Where a text cursor position is not sufficient to recreate a document view, producers may use arbitrary document-specific settings in addition to a cursor position processing instruction.

3.12 <office:scripts>

The <office:scripts> element contains all the <office:script> elements for a document.

Each <office:script> element contains a script. A document may contain scripts in different scripting languages.

Note: Scripts need not use XML document models.

The <office:scripts> element may also contain <office:event-listeners> 10.4.4 elements which contain the events assigned to the document itself.

The <office:scripts> element is usable within the following elements: <office:document> 3.1.2 and <office:document-content> 3.1.3.2.

The <office:scripts> element has no attributes.

The <office:scripts> element has the following child elements: <office:event-listeners> 10.3.19 and <office:script> 3.13.

3.13 <office:script>

The <office:script> element contains a script.

Note: In most situations, the element contains the source code of the script, but it may also contain a compiled version of the script or a link to external script code.

The <office:script> element is usable within the following element: <office:scripts> 3.12.

The <office:script> element has the following attribute: script:language 19.434.

The <office:script> element has mixed content where arbitrary child elements are permitted.

3.14 <office:font-face-decls>

The <office:font-face-decls> element contains all the font face declarations (<style:font-face> 16.23 elements) for a document.

The <office:font-face-decls> element is usable within the following elements: <office:document> 3.1.2, <office:document-content> 3.1.3.2 and <office:document-styles> 3.1.3.3.

The <office:font-face-decls> element has no attributes.

The <office:font-face-decls> element has the following child element: <style:font-face> 16.23.

3.15 Styles

3.15.1 General

There are three types of styles for documents: common, automatic and master.

Page layouts and styles are defined by <style:page-layout> 16.5 and <style:master-page> 16.9 elements, respectively.

3.15.2 <office:styles>

The <office:styles> element contains common styles used in a document. A common style is a style chosen by a user for a document or portion thereof.

The <office:styles> element is usable within the following elements: <office:document> 3.1.2 and <office:document-styles> 3.1.3.3.

The <office:styles> element has no attributes.

The <office:styles> element has the following child elements: <draw:fill-image> 16.42.6, <draw:gradient> 16.42.1, <draw:hatch> 16.42.5, <draw:marker> 16.42.8, <draw:opacity> 16.42.7, <draw:stroke-dash> 16.42.9, <number:boolean-style> 16.29.24, <number:currency-style> 16.29.8, <number:date-style> 16.29.11, <number:number-style> 16.29.2, <number:percentage-style> 16.29.10, <number:text-style> 16.29.26, <number:time-style> 16.29.19, <style:default-page-layout> 16.8, <style:default-style> 16.4, <style:presentation-page-layout> 16.43, <style:style> 16.2, <svg:linearGradient> 16.42.2, <svg:radialGradient> 16.42.3, <table:table-template> 16.20, <text:bibliography-configuration> 16.31.6, <text:linenumbering-configuration> 16.31.1, <text:list-style> 16.32, <text:notes-configuration> 16.31.3 and <text:outline-style> 16.36.

3.15.3 <office:automatic-styles>

The <office:automatic-styles> element contains automatic styles used in a document.

An automatic style is a set of formatting properties treated as properties of the object to which the style is assigned.

Note: Common and automatic styles behave differently in OpenDocument editing consumers. Common styles present to a user as a named set of formatting properties. The formatting properties of an automatic style present to a user as properties of the object to which the style is applied.

The <office:automatic-styles> element is usable within the following elements: <office:document> 3.1.2, <office:document-content> 3.1.3.2 and <office:document-styles> 3.1.3.3.

The <office:automatic-styles> element has no attributes.

The <office:automatic-styles> element has the following child elements: <number:boolean-style> 16.29.24, <number:currency-style> 16.29.8, <number:date-style> 16.29.11, <number:number-style> 16.29.2, <number:percentage-style> 16.29.10, <number:text-style> 16.29.26, <number:time-style> 16.29.19, <style:page-layout> 16.5, <style:style> 16.2 and <text:list-style> 16.32.

3.15.4 <office:master-styles>

The <office:master-styles> element contains master styles that are used in a document. A master style contains formatting and other content that is displayed with document content when the style is used.

The <office:master-styles> element is usable within the following elements: <office:document> 3.1.2 and <office:document-styles> 3.1.3.3.

The <office:master-styles> element has no attributes.

The <office:master-styles> element has the following child elements: <draw:layer-set> 10.2.2, <style:handout-master> 10.2.1 and <style:master-page> 16.9.

3.16 Document Signatures

An OpenDocument document that is stored in a package may have one or more digital signatures applied to the package.

Document signatures are stored in a file called META-INF/documentsignatures.xml in the package as described in section 3.5 of the OpenDocument specification Part2. Document signatures shall contain a <ds:Reference> element for each file within the package, with the exception that <ds:Reference> elements for the META-INF/documentsignatures.xml file containing the signature, and any files contained in the package whose relative path starts with "external-data/" should be omitted.

Signatures other than document signatures are implementation-defined.

 

3.17 Foreign Elements and Attributes

OpenDocument extended documents may contain elements and attributes not defined by the OpenDocument schema. Elements and attributes not defined by the OpenDocument schema are called foreign elements and attributes. Foreign elements and attributes shall not use a namespace listed in tables 1, 2 or 3 of section 1.5.

If a foreign element has a <text:h> 5.1.2 or <text:p> 5.1.3 ancestor element, and is a child element of an element for which the OpenDocument schema permits the inclusion of character data, and if the OpenDocument schema permits the inclusion of character data for all its ancestors up to the <text:p> or <text:h> element ancestor element, or a <text:ruby-base> 6.4.2 ancestor element, then the element's content may be interpreted by conforming OpenDocument consumers, and the document itself shall be valid against the OpenDocument schema as if the foreign element's start- and end-tags or its empty-element-tag are removed.

For a foreign element that occurs at another location, conforming consumers should not interpret but may preserve the element’s content.

 

Conforming extended producers should not use foreign elements and attributes for features defined in the OpenDocument specification.

When a conforming consumer encounters an OpenDocument defined attribute that has a value that is not defined by OpenDocument, it should:

  1. 1)If the attribute has a specified default value, use its default value, or  

  2. 2)If the attribute does not have a specified default value, ignore the attribute.  

3.18 White Space Processing and EOL Handling

ODF processing of white space characters is in conformance with the provisions of [XML1.0].

In addition, OpenDocument Consumers shall ignore all element children ([RNG] section 5, Data Model) of elements defined in this specification that are strings consisting entirely of white space characters and which do not satisfy a pattern of the OpenDocument schema definition for the element.

Additional treatment of occurrences of white space characters depends on the provisions for specific elements, attributes, and their datatypes in this specification.

Note: There are special OpenDocument rules for the reduction of white space sequences 3.18 to single space characters in the text obtained from <text:p> 5.1.3, <text:h> 5.1.2 and their descendant elements.

3.19 MIME Types and File Name Extensions

Office documents contained in a package use the MIME types and file name extensions listed in Appendix C.  See 3.1.3.

Office documents not contained in a package should use the MIME type text/xml.

Only MIME types and extensions that have been registered according to [RFC6838] should be used for office documents that conform to this specification. The MIME types and extensions listed in appendix C should be used where appropriate.

4 Metadata

4.1 General

Metadata is general information about a document or its content.

OpenDocument supports five types of metadata:

  1. 1)RDF metadata describing documents or the content of identifiable OpenDocument elements. 4.2.2 

  2. 2)Text content being used as RDF metadata. 4.2.1  

  3. 3)Pre-defined metadata (meta.xml). 4.3.2 

  4. 4)User-defined metadata (using the <meta:user-defined> element). 4.3.3 

  5. 5)Custom metadata (custom XML elements within meta.xml). 4.3.1 

Pre-defined and user-defined metadata are both stored in the metadata <office:meta> 3.18 element. The elements representing this metadata may be omitted or occur multiple times. The updating of multiple instances of the same metadata elements is implementation-dependent.

4.2 RDF Metadata

4.2.1 In-Content Metadata (RDFa)

Metadata in OpenDocument documents may be expressed using the model of the W3C Resource Description Framework [RDF-CONCEPTS].

RDF metadata is supported as in-content metadata and by manifest.rdf. 4.2.2. RDF metadata can be attached to elements in the "content.xml" and "styles.xml" file. Elements supporting this type of metadata have the following attributes: xhtml:about 19.911, xhtml:property 19.914, xhtml:content 19.912, and xhtml:datatype 19.913. When metadata is added using these attributes, it is referred to as in-content metadata. If "content.xml" and "styles.xml" files contain in-content metadata they shall be listed in the package's "manifest.rdf" file.

4.2.2 manifest.rdf

4.2.2.1 General

The OpenDocument document contains a metadata manifest, as defined in Part 3 of this specification. The [OWL] Metadata Manifest Description ontology defined in Part 3 is extended with additional properties and classes in appendix B. The following OWL classes and properties are defined.

4.2.2.2 odf:ContentFile

An instance of the odf:ContentFile class represents a content.xml file.

The odf:ContentFile class is a subclass of pkg:File.

4.2.2.3 odf:StylesFile

An instance of the odf:StylesFile class represents a styles.xml file.

The odf:StylesFile class is a subclass of pkg:File

4.2.2.4 odf:Element

An instance of the odf:Element class represents an OpenDocument XML element in a content.xml or styles.xml file. It is a subclass of the pkg:Element class, which represents any XML element in the OpenDocument package.

Note: One or more rdf:type properties specify the metadata type of an odf:Element.

Every XML element that is defined by this specification and has an attribute of type ID may be described using an OWL class. The IRI of an OWL class for an element is the concatenation of the element's QName namespace IRI and its local name part. These classes are subclasses of odf:Element.

The following properties are defined for the subclass describing a <text:meta-field> element (urn:oasis:names:tc:opendocument:xmlns:text:1.0meta-field) : odf:prefix 4.2.2.5 and odf:suffix 4.2.2.6.

4.2.2.5 odf:prefix

The odf:prefix property defines the prefix content of a <text:meta-field> element 7.5.19.

This property can be used with the following class: urn:oasis:names:tc:opendocument:xmlns:text:1.0meta-field 4.2.2.4.

4.2.2.6 odf:suffix

The odf:suffix property defines the suffix content of a <text:meta-field> element 7.5.19.

This property can be used with the following class: urn:oasis:names:tc:opendocument:xmlns:text:1.0meta-field 4.2.2.4.

4.3 Non-RDF Metadata

4.3.1 General

Non-RDF metadata in OpenDocument is composed of pre-defined metadata elements, user-defined metadata elements, and custom metadata elements.

The pre-defined metadata elements have defined semantics. They should be processed by consumers and updated by producers. They can be referenced from within the document using text fields.

The pre-defined metadata elements borrow heavily upon the metadata standards developed by the Dublin Core Metadata Initiative (http://www.dublincore.org). Metadata elements drawn directly from the Dublin Core work are in the http://purl.org/dc/elements/1.1 namespace.

User-defined metadata specifies a triplet of name, type, and value. Consumers can present these values to the user.

Custom metadata elements are arbitrary elements inside an <office:meta> element. The semantics of custom metadata elements is implementation-defined.

Custom metadata elements shall only occur in OpenDocument extended documents. The use of custom metadata is deprecated in favor of RDF/XML based metadata.

Note: Consumers need not process custom metadata other than to preserve it when editing a document.

4.3.2 Pre-Defined Metadata Elements

4.3.2.1 <meta:generator>

The <meta:generator> element contains a string that identifies the OpenDocument producer that was used to create or last modify the document. This string should match the definition for user-agents in the HTTP protocol as specified in section 14.43 of [RFC2616]. The generator string should allow OpenDocument consumers to distinguish between all released versions of a producer.

Note: Release versions of a producer could be distinguished based on build identifiers or patch-level information.

If an OpenDocument producer that creates a document cannot provide an identifier string, the producer shall not export this element. If a producer stores a modified document created by another producer cannot provide a unique identifier, it shall not export the original identifier belonging to the producer that created the document.

The <meta:generator> element is usable within the following element: <office:meta> 3.2.

The <meta:generator> element has no attributes.

The <meta:generator> element has no child elements.

The <meta:generator> element has content of data type string 18.2.

4.3.2.2 <dc:title>

The <dc:title> element specifies the title of a document.

The <dc:title> element is usable within the following element: <office:meta> 3.2.

The <dc:title> element has no attributes.

The <dc:title> element has no child elements.

The <dc:title> element has content of data type string 18.2.

4.3.2.3 <dc:description>

The <dc:description> element contains a description of a document.

The <dc:description> element is usable within the following element: <office:meta> 3.2.

The <dc:description> element has no attributes.

The <dc:description> element has no child elements.

The <dc:description> element has content of data type string 18.2.

4.3.2.4 <dc:subject>

The <dc:subject> element specifies the subject of a document.

The <dc:subject> element is usable within the following element: <office:meta> 3.2.

The <dc:subject> element has no attributes.

The <dc:subject> element has no child elements.

The <dc:subject> element has content of data type string 18.2.

4.3.2.5 <meta:keyword>

The <meta:keyword> element contains a keyword pertaining to a document.

The <meta:keyword> element is usable within the following element: <office:meta> 3.2.

The <meta:keyword> element has no attributes.

The <meta:keyword> element has no child elements.

The <meta:keyword> element has content of data type string 18.2.

4.3.2.6 <meta:initial-creator>

The <meta:initial-creator> element specifies the name of the initial creator of a document.

The <meta:initial-creator> element is usable within the following element: <office:meta> 3.2.

The <meta:initial-creator> element has no attributes.

The <meta:initial-creator> element has no child elements.

The <meta:initial-creator> element has content of data type string 18.2.

4.3.2.7 <dc:creator>

The <dc:creator> element specifies the name of the person who last modified a document (<office:meta>), who created an annotation (<office:annotation>), who authored a change (<office:change-info>).

The <dc:creator> element is usable within the following elements: <office:annotation> 14.1, <office:change-info> 5.5.7 and <office:meta> 3.2.

The <dc:creator> element has no attributes.

The <dc:creator> element has no child elements.

The <dc:creator> element has content of data type string 18.2.

4.3.2.8 <meta:printed-by>

The <meta:printed-by> element specifies the name of the last person who printed a document.

The <meta:printed-by> element is usable within the following element: <office:meta> 3.2.

The <meta:printed-by> element has no attributes.

The <meta:printed-by> element has no child elements.

The <meta:printed-by> element has content of data type string 18.2.

4.3.2.9 <meta:creation-date>

The <meta:creation-date> element specifies the date and time when a document was created.

The <meta:creation-date> element is usable within the following element: <office:meta> 3.2.

The <meta:creation-date> element has no attributes.

The <meta:creation-date> element has no child elements.

The <meta:creation-date> element has content of data type dateTime 18.2.

4.3.2.10 <dc:date>

The <dc:date> element specifies the date and time when the document was last modified (<office:meta>), when an annotation was created (<office:annotation>), when a change was made (<office:change-info>).

The <dc:date> element is usable within the following elements: <office:annotation> 14.1, <office:change-info> 5.5.7 and <office:meta> 3.2.

The <dc:date> element has no attributes.

The <dc:date> element has no child elements.

The <dc:date> element has content of data type dateTime 18.2.

4.3.2.11 <meta:print-date>

The <meta:print-date> element specifies the date and time when a document was last printed.

The <meta:print-date> element is usable within the following element: <office:meta> 3.2.

The <meta:print-date> element has no attributes.

The <meta:print-date> element has no child elements.

The <meta:print-date> element has content of data type dateTime 18.2.

4.3.2.12 <meta:template>

The <meta:template> element specifies an IRI for the document template that was used to create a document. The IRI is specified using the xlink:href attribute. See [XLink].

The <meta:template> element is usable within the following element: <office:meta> 3.2.

The <meta:template> element has the following attributes: meta:date 19.323, xlink:actuate 19.915, xlink:href 19.916, xlink:title 19.918 and xlink:type 19.919.

The <meta:template> element has no child elements.

4.3.2.13 <meta:auto-reload>

The <meta:auto-reload> element specifies whether a document is reloaded or replaced by another document after a specified period of time has elapsed.

The <meta:auto-reload> element is usable within the following element: <office:meta> 3.2.

The <meta:auto-reload> element has the following attributes: meta:delay 19.324, xlink:actuate 19.915, xlink:href 19.916, xlink:show 19.917 and xlink:type 19.919.

The <meta:auto-reload> element has no child elements.

4.3.2.14 <meta:hyperlink-behaviour>

The <meta:hyperlink-behaviour> element specifies the default behavior for hyperlinks in a document.

The <meta:hyperlink-behaviour> element is usable within the following element: <office:meta> 3.2.

The <meta:hyperlink-behaviour> element has the following attributes: office:target-frame-name 19.385 and xlink:show 19.917.

The <meta:hyperlink-behaviour> element has no child elements.

4.3.2.15 <dc:language>

The <dc:language> element specifies the default language of a document.

The <dc:language> element is usable within the following element: <office:meta> 3.2.

The <dc:language> element has no attributes.

The <dc:language> element has no child elements.

The <dc:language> element has content of data type language 18.3.16.

4.3.2.16 <meta:editing-cycles>

The <meta:editing-cycles> element specifies the number of times a document has been edited. When a document is created, this value is set to 1. Each time a document is saved, the editing-cycles number is incremented by 1.

The <meta:editing-cycles> element is usable within the following element: <office:meta> 3.2.

The <meta:editing-cycles> element has no attributes.

The <meta:editing-cycles> element has no child elements.

The <meta:editing-cycles> element has content of data type nonNegativeInteger 18.2.

4.3.2.17 <meta:editing-duration>

The <meta:editing-duration> element specifies the total time spent editing a document.

The <meta:editing-duration> element is usable within the following element: <office:meta> 3.2.

The <meta:editing-duration> element has no attributes.

The <meta:editing-duration> element has no child elements.

The <meta:editing-duration> element has content of data type duration 18.2.

4.3.2.18 <meta:document-statistic>

The <meta:document-statistic> element represents statistics about a document.

The <meta:document-statistic> element is usable within the following element: <office:meta> 3.2.

The <meta:document-statistic> element has the following attributes: meta:cell-count 19.321, meta:character-count 19.322, meta:draw-count 19.325, meta:frame-count 19.326, meta:image-count 19.327, meta:non-whitespace-character-count 19.329, meta:object-count 19.330, meta:ole-object-count 19.331, meta:page-count 19.332, meta:paragraph-count 19.333, meta:row-count 19.334, meta:sentence-count 19.335, meta:syllable-count 19.336, meta:table-count 19.337 and meta:word-count 19.339.

The <meta:document-statistic> element has no child elements.

4.3.3 <meta:user-defined>

The <meta:user-defined> element specifies any additional user-defined metadata for a document.

The <meta:user-defined> element is usable within the following element: <office:meta> 3.2.

The <meta:user-defined> element has the following attributes: meta:name 19.328, meta:value-type 19.338.

The <meta:user-defined> element has no child elements.

The <meta:user-defined> element has character data content, or depending on the value of the meta:value-type attribute content of type double 18.2, date 18.2, dateTime 18.2, duration 18.2, boolean 18.3.3 or string 18.2.

5 Text Content

5.1 Headings, Paragraphs and Basic Text Structure

5.1.1 General

The <text:h> and <text:p> elements represent headings and paragraphs, respectively.

Headings and paragraphs are collectively referred to as paragraph elements.

5.1.2 <text:h>

The <text:h> element represents a heading in a document. Headings define the division structure for a document. A chapter or section begins with a heading and extends to the next heading at the same or higher level.

The <text:h> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.12, <style:footer-first> 16.13, <style:footer-left> 16.15, <style:header> 16.10, <style:header-first> 16.11, <style:header-left> 16.14, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.5, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:list-header> 5.3.3, <text:list-item> 5.3.4, <text:note-body> 6.3.4, <text:numbered-paragraph> 5.3.6 and <text:section> 5.4.

The <text:h> element has the following attributes: text:class-names 19.775, text:cond-style-name 19.781, text:id 19.815, text:is-list-header 19.822, text:outline-level 19.850, text:restart-numbering 19.863, text:start-value 19.874, text:style-name 19.880, xhtml:about 19.911, xhtml:content 19.912, xhtml:datatype 19.913, xhtml:property 19.914 and xml:id 19.920.

The <text:h> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:annotation> 14.1, <office:annotation-end> 14.2, <presentation:date-time> 10.9.3.5, <presentation:footer> 10.9.3.3, <presentation:header> 10.9.3.1, <text:a> 6.1.8, <text:alphabetical-index-mark> 8.1.10, <text:alphabetical-index-mark-end> 8.1.9, <text:alphabetical-index-mark-start> 8.1.8, <text:author-initials> 7.3.7.2, <text:author-name> 7.3.7.1, <text:bibliography-mark> 8.1.11, <text:bookmark> 6.2.1.2, <text:bookmark-end> 6.2.1.4, <text:bookmark-ref> 7.7.6, <text:bookmark-start> 6.2.1.3, <text:change> 5.5.8.4, <text:change-end> 5.5.8.3, <text:change-start> 5.5.8.2, <text:chapter> 7.3.8, <text:character-count> 7.5.18.5, <text:conditional-text> 7.7.3, <text:creation-date> 7.5.3, <text:creation-time> 7.5.4, <text:creator> 7.5.17, <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6, <text:database-row-select> 7.6.5, <text:date> 7.3.2, <text:dde-connection> 7.7.12, <text:description> 7.5.5, <text:drop-down> 7.4.16, <text:editing-cycles> 7.5.13, <text:editing-duration> 7.5.14, <text:execute-macro> 7.7.10, <text:expression> 7.4.14, <text:file-name> 7.3.9, <text:hidden-paragraph> 7.7.11, <text:hidden-text> 7.7.4, <text:image-count> 7.5.18.7, <text:initial-creator> 7.5.2, <text:keywords> 7.5.12, <text:line-break> 6.1.5, <text:measure> 7.7.13, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:modification-date> 7.5.16, <text:modification-time> 7.5.15, <text:note> 6.3.2, <text:note-ref> 7.7.7, <text:number> 6.1.10, <text:object-count> 7.5.18.8, <text:page-continuation> 7.3.5, <text:page-count> 7.5.18.2, <text:page-number> 7.3.4, <text:page-variable-get> 7.7.1.3, <text:page-variable-set> 7.7.1.2, <text:paragraph-count> 7.5.18.3, <text:placeholder> 7.7.2, <text:print-date> 7.5.8, <text:print-time> 7.5.7, <text:printed-by> 7.5.9, <text:reference-mark> 6.2.2.2, <text:reference-mark-end> 6.2.2.4, <text:reference-mark-start> 6.2.2.3, <text:reference-ref> 7.7.5, <text:ruby> 6.4, <text:s> 6.1.3, <text:script> 7.7.9, <text:sender-city> 7.3.6.13, <text:sender-company> 7.3.6.10, <text:sender-country> 7.3.6.15, <text:sender-email> 7.3.6.7, <text:sender-fax> 7.3.6.9, <text:sender-firstname> 7.3.6.2, <text:sender-initials> 7.3.6.4, <text:sender-lastname> 7.3.6.3, <text:sender-phone-private> 7.3.6.8, <text:sender-phone-work> 7.3.6.11, <text:sender-position> 7.3.6.6, <text:sender-postal-code> 7.3.6.14, <text:sender-state-or-province> 7.3.6.16, <text:sender-street> 7.3.6.12, <text:sender-title> 7.3.6.5, <text:sequence> 7.4.13, <text:sequence-ref> 7.7.8, <text:sheet-name> 7.3.11, <text:soft-page-break> 5.6, <text:span> 6.1.7, <text:subject> 7.5.11, <text:tab> 6.1.4, <text:table-count> 7.5.18.6, <text:table-formula> 7.7.14, <text:template-name> 7.3.10, <text:text-input> 7.4.15, <text:time> 7.3.3, <text:title> 7.5.10, <text:toc-mark> 8.1.4, <text:toc-mark-end> 8.1.3, <text:toc-mark-start> 8.1.2, <text:user-defined> 7.5.6, <text:user-field-get> 7.4.9, <text:user-field-input> 7.4.10, <text:user-index-mark> 8.1.7, <text:user-index-mark-end> 8.1.6, <text:user-index-mark-start> 8.1.5, <text:variable-get> 7.4.5, <text:variable-input> 7.4.6, <text:variable-set> 7.4.4 and <text:word-count> 7.5.18.4.

5.1.3 <text:p>

The <text:p> element represents a paragraph, which is the basic unit of text in an OpenDocument file.

The <text:p> element is usable within the following elements: <chart:data-label> 11.15, <chart:equation> 11.19, <chart:footer> 11.2.3, <chart:label-separator> 17.24, <chart:legend> 11.4, <chart:subtitle> 11.2.2, <chart:title> 11.2.1, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:image> 10.4.4, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <draw:text-box> 10.4.3, <form:textarea> 13.5.3, <office:annotation> 14.1, <office:change-info> 5.5.7, <office:text> 3.4, <style:footer> 16.12, <style:footer-first> 16.13, <style:footer-left> 16.15, <style:header> 16.10, <style:header-first> 16.11, <style:header-left> 16.14, <style:region-center> 16.17, <style:region-left> 16.16, <style:region-right> 16.18, <table:change-track-table-cell> 9.9.16, <table:covered-table-cell> 9.1.5, <table:error-message> 9.4.7, <table:help-message> 9.4.6, <table:table-cell> 9.1.4, <text:deletion> 5.5.5, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:list-header> 5.3.3, <text:list-item> 5.3.4, <text:note-body> 6.3.4, <text:numbered-paragraph> 5.3.6 and <text:section> 5.4.

The <text:p> element has the following attributes: text:class-names 19.775, text:cond-style-name 19.781, text:id 19.815, text:style-name 19.880, xhtml:about 19.911, xhtml:content 19.912, xhtml:datatype 19.913, xhtml:property 19.914 and xml:id 19.920.

The <text:p> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:annotation> 14.1, <office:annotation-end> 14.2, <presentation:date-time> 10.9.3.5, <presentation:footer> 10.9.3.3, <presentation:header> 10.9.3.1, <text:a> 6.1.8, <text:alphabetical-index-mark> 8.1.10, <text:alphabetical-index-mark-end> 8.1.9, <text:alphabetical-index-mark-start> 8.1.8, <text:author-initials> 7.3.7.2, <text:author-name> 7.3.7.1, <text:bibliography-mark> 8.1.11, <text:bookmark> 6.2.1.2, <text:bookmark-end> 6.2.1.4, <text:bookmark-ref> 7.7.6, <text:bookmark-start> 6.2.1.3, <text:change> 5.5.8.4, <text:change-end> 5.5.8.3, <text:change-start> 5.5.8.2, <text:chapter> 7.3.8, <text:character-count> 7.5.18.5, <text:conditional-text> 7.7.3, <text:creation-date> 7.5.3, <text:creation-time> 7.5.4, <text:creator> 7.5.17, <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6, <text:database-row-select> 7.6.5, <text:date> 7.3.2, <text:dde-connection> 7.7.12, <text:description> 7.5.5, <text:drop-down> 7.4.16, <text:editing-cycles> 7.5.13, <text:editing-duration> 7.5.14, <text:execute-macro> 7.7.10, <text:expression> 7.4.14, <text:file-name> 7.3.9, <text:hidden-paragraph> 7.7.11, <text:hidden-text> 7.7.4, <text:image-count> 7.5.18.7, <text:initial-creator> 7.5.2, <text:keywords> 7.5.12, <text:line-break> 6.1.5, <text:measure> 7.7.13, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:modification-date> 7.5.16, <text:modification-time> 7.5.15, <text:note> 6.3.2, <text:note-ref> 7.7.7, <text:object-count> 7.5.18.8, <text:page-continuation> 7.3.5, <text:page-count> 7.5.18.2, <text:page-number> 7.3.4, <text:page-variable-get> 7.7.1.3, <text:page-variable-set> 7.7.1.2, <text:paragraph-count> 7.5.18.3, <text:placeholder> 7.7.2, <text:print-date> 7.5.8, <text:print-time> 7.5.7, <text:printed-by> 7.5.9, <text:reference-mark> 6.2.2.2, <text:reference-mark-end> 6.2.2.4, <text:reference-mark-start> 6.2.2.3, <text:reference-ref> 7.7.5, <text:ruby> 6.4, <text:s> 6.1.3, <text:script> 7.7.9, <text:sender-city> 7.3.6.13, <text:sender-company> 7.3.6.10, <text:sender-country> 7.3.6.15, <text:sender-email> 7.3.6.7, <text:sender-fax> 7.3.6.9, <text:sender-firstname> 7.3.6.2, <text:sender-initials> 7.3.6.4, <text:sender-lastname> 7.3.6.3, <text:sender-phone-private> 7.3.6.8, <text:sender-phone-work> 7.3.6.11, <text:sender-position> 7.3.6.6, <text:sender-postal-code> 7.3.6.14, <text:sender-state-or-province> 7.3.6.16, <text:sender-street> 7.3.6.12, <text:sender-title> 7.3.6.5, <text:sequence> 7.4.13, <text:sequence-ref> 7.7.8, <text:sheet-name> 7.3.11, <text:soft-page-break> 5.6, <text:span> 6.1.7, <text:subject> 7.5.11, <text:tab> 6.1.4, <text:table-count> 7.5.18.6, <text:table-formula> 7.7.14, <text:template-name> 7.3.10, <text:text-input> 7.4.15, <text:time> 7.3.3, <text:title> 7.5.10, <text:toc-mark> 8.1.4, <text:toc-mark-end> 8.1.3, <text:toc-mark-start> 8.1.2, <text:user-defined> 7.5.6, <text:user-field-get> 7.4.9, <text:user-field-input> 7.4.10, <text:user-index-mark> 8.1.7, <text:user-index-mark-end> 8.1.6, <text:user-index-mark-start> 8.1.5, <text:variable-get> 7.4.5, <text:variable-input> 7.4.6, <text:variable-set> 7.4.4 and <text:word-count> 7.5.18.4.

5.2 <text:page-sequence>

5.2.1 General

The <text:page-sequence> element contains at least one <text:page> element. If there is more than one <text:page> element, the text:master-page-name attribute of the first <text:page> element specifies the default master style for a document.

The <text:page-sequence> element is usable within the following element: <office:text> 3.4.

The <text:page-sequence> element has no attributes.

The <text:page-sequence> element has the following child element: <text:page> 5.2.2.

5.2.2 <text:page>

The <text:page> element represents a page in a <text:page-sequence> element.

The <text:page> element is usable within the following element: <text:page-sequence> 5.2.

The <text:page> element has the following attribute: text:master-page-name 19.839.

The <text:page> element has no child elements.

5.3 Lists

5.3.1 <text:list>

The <text:list> element represents a list. It may contain a <text:list-header> element, followed by any number of <text:list-item> elements.

Lists may be numbered. The numbering may be restarted with a specific numbering at each list item. Lists may also continue numbering from other lists in order to merge lists into a single, discontinuous list. Whether list numbering is displayed or not depends on the list style being used.

Every list has a list level, which is determined by the nesting of the <text:list> element that represents that list. If a list is not contained in another list, its list level is 1. If a list is contained within another list, the list level of the contained list is the list level of the list in which it is contained incremented by one. If a list is contained in a table cell or text box, its list level returns to 1, even if the table or text box is nested in another list.

Every list with a list level of 1 defines a list and the counter domain for its list items and any sub-list of that list. Each sub-list starts a counter for its list items and any sub-list it may contain.

Every list, including sub-lists, may have a list style which is applied to its list items and sub-lists. A list style specified for a sub-list overrides the list style specified for the list in which the sub-list is contained.

The <text:list> element is usable within the following elements: <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:image> 10.4.4, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <draw:text-box> 10.4.3, <office:annotation> 14.1, <office:text> 3.4, <style:footer> 16.12, <style:footer-first> 16.13, <style:footer-left> 16.15, <style:header> 16.10, <style:header-first> 16.11, <style:header-left> 16.14, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.5, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:list-header> 5.3.3, <text:list-item> 5.3.4, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:list> element has the following attributes: text:continue-list 19.785, text:continue-numbering 19.786, text:style-name 19.880 and xml:id 19.920.

The <text:list> element has the following child elements: <text:list-header> 5.3.3 and <text:list-item> 5.3.4.

5.3.2 Default List Style

If a list does not have a style:name attribute and therefore no list style is specified, one of the following actions is taken:

To determine which formatting properties are applied to a list, the list level and its style name are taken into account. 16.32.

5.3.3 <text:list-header>

The <text:list-header> element represents a list header and is a type of list item. It contains one or more paragraphs that are displayed before a list. The paragraphs are formatted as list items but they do not have a preceding number or bullet.

The <text:list-header> element is usable within the following element: <text:list> 5.3.1.

The <text:list-header> element has the following attribute: xml:id 19.920.

The <text:list-header> element has the following child elements: <text:h> 5.1.2, <text:list> 5.3.1, <text:number> 6.1.10, <text:p> 5.1.3 and <text:soft-page-break> 5.6.

5.3.4 <text:list-item>

The <text:list-item> element represents an item in a list.

The <text:list-item> element is usable within the following element: <text:list> 5.3.1.

The <text:list-item> element has the following attributes: text:start-value 19.874, text:style-override 19.881 and xml:id 19.920.

The <text:list-item> element has the following child elements: <text:h> 5.1.2, <text:list> 5.3.1, <text:number> 6.1.10, <text:p> 5.1.3 and <text:soft-page-break> 5.6.

5.3.5 List Item Style Rules

The first line in a list item is may be preceded by a bullet or number, depending on the list style assigned to the list. If a list item starts another list and does not contain any text, no bullet or number is displayed.

The list style which is applied to a list need not contain a list level style for the list level the list item specifies. The following rules are applied to determine the list level style in this case

5.3.6 <text:numbered-paragraph> (deprecated)

The <text:numbered-paragraph> element numbers an individual paragraph, as if it was part of a list at a specified level.

Note: Numbered paragraphs form an equivalent, alternative way of specifying lists. A list in <text:list> representation can be converted into a list in <text:numbered-paragraph> representation and vice versa.

The <text:numbered-paragraph> element is deprecated in favor of the <text:list> 5.3.1 element.

A numbered paragraph can be assigned a list level. A numbered paragraph is equivalent to a list nested to the given level, containing one list item with one paragraph. If no level is given, the numbered paragraph is interpreted as being on level 1.

If a list style is not specified for a numbered paragraph, the list style of the previous numbered paragraph in the same sublist is used. If this paragraph is the first in the sublist, the list style of the previous paragraph in the higher list level is used. If there is no specified list style, the default list style is applied. 5.3.2

If a list level style is missing in the applied list style of a numbered paragraph, the same rules are applied to determine this list level style as for list items.

The text of a formatted number can be included in a <text:number> element.

Note: This text can be used by consumers that do not support numbering.

The <text:numbered-paragraph> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.5, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:numbered-paragraph> element has the following attributes: text:continue-numbering 19.786, text:level 19.834, text:list-id 19.835, text:start-value 19.874, text:style-name 19.880 and xml:id 19.920.

The <text:numbered-paragraph> element has the following child elements: <text:h> 5.1.2, <text:number> 6.1.10 and <text:p> 5.1.3.

5.3.7 Numbered Paragraph Style Rules (deprecated)

If a list style is not specified for a numbered paragraph, the list style of the previous numbered paragraph in the same list is used. If this paragraph is the first in the list, the list style of the previous numbered paragraph in a higher list level is used. If there is no specified style available, the default style is applied. 5.3.2

If a list level style is missing in the applied list style of a numbered paragraph, the rules for styles on list items are applied. 5.3.5

5.4 <text:section>

5.4.1 General

The <text:section> element represents a named portion of content in a document.

Sections specify formatting properties for a region of text or text that is automatically acquired from an external data source or document, or another text section.

Sections support two ways of linking to external content. If a section is linked to another document, the link can be through one of the following:

The <text:section-source> or <office:dde-source> elements are mutually exclusive alternatives. Either element may occur only once as the first child element of a <text:section> element.

A section that links to external content should contain a full representation of the external content that appears in the section.

Linked external content may have an arbitrary file format. Consumers may process links to external content and the external content itself to update the content that appears in a section.

The <text:section> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.12, <style:footer-first> 16.13, <style:footer-left> 16.15, <style:header> 16.10, <style:header-first> 16.11, <style:header-left> 16.14, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.5, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:section> element has the following attributes: text:condition 19.782, text:display 19.802, text:name 19.841, text:protected 19.855, text:protection-key 19.856, text:protection-key-digest-algorithm 19.857, text:style-name 19.880 and xml:id 19.920.

The <text:section> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:dde-source> 14.7.5, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:change> 5.5.8.4, <text:change-end> 5.5.8.3, <text:change-start> 5.5.8.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:list> 5.3.1, <text:numbered-paragraph> 5.3.6, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:section-source> 5.4.2, <text:soft-page-break> 5.6, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

5.4.2 <text:section-source>

The <text:section-source> element indicates that a section is a linked section.

The <text:section-source> element is usable within the following element: <text:section> 5.4.

The <text:section-source> element has the following attributes: text:filter-name 19.808, text:section-name 19.867, xlink:href 19.916, xlink:show 19.917 and xlink:type 19.919.

The <text:section-source> element has no child elements.

5.5 Change Tracking

5.5.1 General

The under-specification of change tracking in ODF 1.2 resulted in varying implementations of this feature. Where interoperability between implementations is required, this feature should be checked for interoperability.

5.5.2 <text:tracked-changes>

The <text:tracked-changes> element acts as a container for <text:changed-region> elements that represent changes in a certain scope of an OpenDocument document. This scope is the element in which the <text:tracked-changes> element occurs. Changes in this scope shall be tracked by <text:changed-region> elements contained in the <text:tracked-changes> element in this scope.

If a <text:tracked-changes> element is absent, there are no tracked changes in the corresponding scope. In this case, all change mark elements (5.5.8) in this scope shall be ignored.

The <text:tracked-changes> element is usable within the following elements: <office:text> 3.4, <style:footer> 16.12, <style:footer-first> 16.13, <style:footer-left> 16.15, <style:header> 16.10, <style:header-first> 16.11 and <style:header-left> 16.14.

The <text:tracked-changes> element has the following attribute: text:track-changes 19.889.

The <text:tracked-changes> element has the following child element: <text:changed-region> 5.5.3.

5.5.3 <text:changed-region>

Each <text:changed-region> element contains a single element, one of <text:insertion>, <text:deletion>, or <text:format-change> that corresponds to a change being tracked within the scope of the <text:tracked-changes> element that contains the <text:changed-region> instance.

The xml:id attribute of the <text:changed-region> is referenced from the <text:change>, <text:change-start> and <text:change-end> elements that identify where the change applies to markup in the scope of the <text:tracked-changes> element.

A <text:changed-region> can be referenced by more than one change, but the corresponding referencing change mark elements shall be of the same change type - insertion, format change or deletion.

The <text:changed-region> element is usable within the following element: <text:tracked-changes> 5.5.2.

The <text:changed-region> element has the following attributes: text:id 19.815 and xml:id 19.920.

The <text:changed-region> element has the following child elements: <text:deletion> 5.5.5, <text:format-change> 5.5.6 and <text:insertion> 5.5.4.

5.5.4 <text:insertion>

The <text:insertion> element contains the information that identifies the person responsible for a change and the date of that change. This information may also contain one or more <text:p> elements which contains a comment on the insertion.

The <text:insertion> element's parent <text:changed-region> element has an xml:id or text:id attribute, the value of which binds that parent element to the text:change-id attribute on the <text:change-start> and <text:change-end> elements.

The <text:insertion> element is usable within the following element: <text:changed-region> 5.5.3.

The <text:insertion> element has no attributes.

The <text:insertion> element has the following child element: <office:change-info> 5.5.7.

5.5.5 <text:deletion>

The <text:deletion> element contains information that identifies the person responsible for a deletion and the date of that deletion. This information may also contain one or more <text:p> elements which contains a comment on the deletion. The <text:deletion> element may also contain content that was deleted while change tracking was enabled. The position where the text was deleted is marked by a <text:change> element.

Deleted text is contained in a paragraph element. To reconstruct the original text, the paragraph containing the deleted text is merged with its surrounding paragraph or heading element.

To reconstruct the text before a deletion took place:

The <text:deletion> element is usable within the following element: <text:changed-region> 5.5.3.

The <text:deletion> element has no attributes.

The <text:deletion> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:change-info> 5.5.7, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:change> 5.5.8.4, <text:change-end> 5.5.8.3, <text:change-start> 5.5.8.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:list> 5.3.1, <text:numbered-paragraph> 5.3.6, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:soft-page-break> 5.6, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

5.5.6 <text:format-change>

The <text:format-change> element represents any change in formatting attributes. The region where the change took place is marked by <text:change-start>, <text:change-end> or <text:change> elements.

Note: This element does not contain formatting changes that have taken place.

The <text:format-change> element is usable within the following element: <text:changed-region> 5.5.3.

The <text:format-change> element has no attributes.

The <text:format-change> element has the following child element: <office:change-info> 5.5.7.

5.5.7 <office:change-info>

The <office:change-info> element represents who made a change and when. It may also contain a comment (one or more <text:p> elements) on the change.

The <office:change-info> element is usable within the following elements: <table:cell-content-change> 9.9.17, <table:deletion> 9.9.9, <table:insertion> 9.9.3, <table:movement> 9.9.13, <text:deletion> 5.5.5, <text:format-change> 5.5.6 and <text:insertion> 5.5.4.

The <office:change-info> element has no attributes.

The <office:change-info> element has the following child elements: <dc:creator> 4.3.2.7, <dc:date> 4.3.2.10 and <text:p> 5.1.3.

5.5.8 Change Marks

5.5.8.1 General

The change mark elements mark start, end and positions in a text where a change has occurred.

These elements use the text:change-id attribute to link to <text:changed-region> elements that contain the change information.

5.5.8.2 <text:change-start>

 The <text:change-start> element marks the start of a region with content where text has been inserted or the format has been changed.

The <text:change-start> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.12, <style:footer-first> 16.13, <style:footer-left> 16.15, <style:header> 16.10, <style:header-first> 16.11, <style:header-left> 16.14, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.5, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <text:change-start> element has the following attribute: text:change-id 19.771.

The <text:change-start> element has no child elements.

5.5.8.3 <text:change-end>

The <text:change-end> element marks the end of a region with content where text has been inserted or the format has been changed.

The <text:change-end> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.12, <style:footer-first> 16.13, <style:footer-left> 16.15, <style:header> 16.10, <style:header-first> 16.11, <style:header-left> 16.14, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.5, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <text:change-end> element has the following attribute: text:change-id 19.771.

The <text:change-end> element has no child elements.

5.5.8.4 <text:change>

The <text:change> element marks a position in an empty region where text has been deleted.

The <text:change> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.12, <style:footer-first> 16.13, <style:footer-left> 16.15, <style:header> 16.10, <style:header-first> 16.11, <style:header-left> 16.14, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.5, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <text:change> element has the following attribute: text:change-id 19.771.

The <text:change> element has no child elements.

5.6 <text:soft-page-break>

The <text:soft-page-break> element represents a soft page break within or between paragraph elements.

As a child element of a <table:table> element it represents a soft page break between two table rows. It may appear in front of a <table:table-row> element.

The <text:soft-page-break> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <table:covered-table-cell> 9.1.5, <table:table> 9.1.2, <table:table-cell> 9.1.4, <table:table-header-rows> 9.1.7, <table:table-row-group> 9.1.9, <table:table-rows> 9.1.8, <text:a> 6.1.8, <text:deletion> 5.5.5, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:list-header> 5.3.3, <text:list-item> 5.3.4, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <text:soft-page-break> element has no attributes.

The <text:soft-page-break> element has no child elements.

5.7 Document Declarations

The following declaration elements appear before the main content element of a document:

  • <text:variable-decl> 7.4.3 – declarations for variable fields.  

  • <text:user-field-decl> 7.4.8 – declarations for user-defined fields.  

  • <text:sequence-decl> 7.4.12 – declarations for sequence fields. 

  • <text:dde-connection> 7.7.12 – declarations for DDE fields and DDE sections. 

  • <text:alphabetical-index-auto-mark-file> 8.8.3 – declaration for generation of alphabetical indexes.  

6 Paragraph Elements Content

6.1 Basic Text Content

6.1.1 General

The paragraph elements <text:p> and <text:h> and their descendant elements contain the text content of any document. The character content of a paragraph consists of the character data of the paragraph element and the character data of its descendant elements concatenated in document order, with the following exceptions:

Character data contained in the following elements or their descendant elements are not included in the character content of a paragraph:

Note: This should significantly ease transformations into other formats, since transformations need not interpret most of the descendant elements of a paragraph element to obtain the character content of a paragraph.

The phrase "document order" when used with reference to an OpenDocument document instance is defined by §5.0 Data Model [XPath].

6.1.2 White Space Characters

Consumers shall collapse white space characters that occur in

Collapsing white space characters is defined by the following algorithm:

  1. 1)Descendant <text:ruby> elements are replaced with their <text:ruby-base> child elements. 

  2. 2)Descendant elements of the paragraph element which are not <text:s>, <text:tab> or <text:line-break> elements and for which the OpenDocument schema does not permit <text:s>, <text:tab> and <text:line-break> as child elements are removed from the paragraph element. 

  3. 3)Descendant elements of the paragraph element for which the OpenDocument schema permits <text:s>, <text:tab> and <text:line-break> as child elements are replaced by their character data and <text:s>, <text:tab> and <text:line-break> element children. 

  4. 4)The following [UNICODE] characters are replaced by a “ “ (U+0020, SPACE) character: 

    • HORIZONTAL TABULATION (U+0009) 

    • CARRIAGE RETURN (U+000D) 

    • LINE FEED (U+000A) 

  5. 5)Leading “ “ (U+0020, SPACE) characters at the start of the resulting text and trailing SPACE characters at the end of the resulting text are removed. 

  6. 6)Sequences of “ “ (U+0020, SPACE) characters are replaced by a single “ “ (U+0020, SPACE) character.  

  7. 7)The remaining <text:s>, <text:tab> and <text:line-break> elements are interpreted as the [UNICODE] white space characters they represent. 

OpenDocument producers shall produce paragraph elements that, when consumed according to this algorithm, result in the expected amount of white space.

OpenDocument consumers shall either process white space such that the result is equivalent to the result of the given algorithm, or implement a variation that increases interoperability with popular OpenDocument 1.2 producers. The variation replaces step 2 of the algorithm with steps 2a and 2b:

2a) Descendant elements of the paragraph element that are mark elements (<text:change> 5.5.8.4,<text:change-end> 5.5.8.3,<text:change-start> 5.5.8.2
<text:bookmark>
6.2.1.2,<text:bookmark-end> 6.2.1.4,<text:bookmark-start> 6.2.1.3,<text:reference-mark> 6.2.2.2
<text:reference-mark-end>
6.2.2.4,<text:reference-mark-start> 6.2.2.3,<text:toc-mark> 8.1.4,<text:toc-mark-end> 8.1.3,<text:toc-mark-start> 8.1.2,<text:user-index-mark> 8.1.7,<text:user-index-mark-end> 8.1.6,<text:user-index-mark-start> 8.1.5,<text:alphabetical-index-mark> 8.1.10,<text:alphabetical-index-mark-end> 8.1.9,<text:alphabetical-index-mark-start> 8.1.8) are removed from the paragraph element.

2b) Descendant elements of the paragraph element which are not <text:s>, <text:tab> or <text:line-break> elements and for which the OpenDocument schema does not permit <text:s>, <text:tab> and <text:line-break> as child elements are replaced with a hypothetical <text:s text:c="0"/> element.

Note: XML formatting software that does not implement the ODF white space rules may introduce or remove spaces.

6.1.3 <text:s>

The <text:s> element is used to represent the [UNICODE] character “ “ (U+0020, SPACE).

This element shall be used to represent the second and all following “ “ (U+0020, SPACE) characters in a sequence of “ “ (U+0020, SPACE) characters.

Note: It is not an error if the character preceding the element is not a white space character, but it is good practice to use this element only for the second and all following “ “ (U+0020, SPACE) characters in a sequence.

The <text:s> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:s> element has the following attribute: text:c 19.768.

The <text:s> element has no child elements.

6.1.4 <text:tab>

The <text:tab> element represents the [UNICODE] tab character (HORIZONTAL TABULATION, U+0009). A <text:tab> element specifies that content immediately following it should align at the next tab stop.

The <text:tab> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:tab> element has the following attribute: text:tab-ref 19.883.

The <text:tab> element has no child elements.

6.1.5 <text:line-break>

The <text:line-break> element represents a line break.

The <text:line-break> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:line-break> element has no attributes.

The <text:line-break> element has no child elements.

6.1.6 Soft Hyphens, Hyphens, and Non-breaking Spaces

Soft hyphens, hyphens, and non-breaking blanks are represented by [UNICODE] characters.

Table 8 - Unicode characters

The [UNICODE] character...

Represents...

U-00AD SOFT HYPHEN

soft hyphen

U+2011 NON-BREAKING HYPHEN

non-breaking hyphen

U+OOA0 NO BREAK SPACE

non-breaking space

6.1.7 <text:span>

The <text:span> element represents the application of a style to the character data of a portion of text. The content of this element is the text which uses that text style.

The <text:span> element can be nested.

White space characters contained in this element are collapsed.

The <text:span> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:span> element has the following attributes: text:class-names 19.775 and text:style-name 19.880.

The <text:span> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:annotation> 14.1, <office:annotation-end> 14.2, <presentation:date-time> 10.9.3.5, <presentation:footer> 10.9.3.3, <presentation:header> 10.9.3.1, <text:a> 6.1.8, <text:alphabetical-index-mark> 8.1.10, <text:alphabetical-index-mark-end> 8.1.9, <text:alphabetical-index-mark-start> 8.1.8, <text:author-initials> 7.3.7.2, <text:author-name> 7.3.7.1, <text:bibliography-mark> 8.1.11, <text:bookmark> 6.2.1.2, <text:bookmark-end> 6.2.1.4, <text:bookmark-ref> 7.7.6, <text:bookmark-start> 6.2.1.3, <text:change> 5.5.8.4, <text:change-end> 5.5.8.3, <text:change-start> 5.5.8.2, <text:chapter> 7.3.8, <text:character-count> 7.5.18.5, <text:conditional-text> 7.7.3, <text:creation-date> 7.5.3, <text:creation-time> 7.5.4, <text:creator> 7.5.17, <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6, <text:database-row-select> 7.6.5, <text:date> 7.3.2, <text:dde-connection> 7.7.12, <text:description> 7.5.5, <text:drop-down> 7.4.16, <text:editing-cycles> 7.5.13, <text:editing-duration> 7.5.14, <text:execute-macro> 7.7.10, <text:expression> 7.4.14, <text:file-name> 7.3.9, <text:hidden-paragraph> 7.7.11, <text:hidden-text> 7.7.4, <text:image-count> 7.5.18.7, <text:initial-creator> 7.5.2, <text:keywords> 7.5.12, <text:line-break> 6.1.5, <text:measure> 7.7.13, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:modification-date> 7.5.16, <text:modification-time> 7.5.15, <text:note> 6.3.2, <text:note-ref> 7.7.7, <text:object-count> 7.5.18.8, <text:page-continuation> 7.3.5, <text:page-count> 7.5.18.2, <text:page-number> 7.3.4, <text:page-variable-get> 7.7.1.3, <text:page-variable-set> 7.7.1.2, <text:paragraph-count> 7.5.18.3, <text:placeholder> 7.7.2, <text:print-date> 7.5.8, <text:print-time> 7.5.7, <text:printed-by> 7.5.9, <text:reference-mark> 6.2.2.2, <text:reference-mark-end> 6.2.2.4, <text:reference-mark-start> 6.2.2.3, <text:reference-ref> 7.7.5, <text:ruby> 6.4, <text:s> 6.1.3, <text:script> 7.7.9, <text:sender-city> 7.3.6.13, <text:sender-company> 7.3.6.10, <text:sender-country> 7.3.6.15, <text:sender-email> 7.3.6.7, <text:sender-fax> 7.3.6.9, <text:sender-firstname> 7.3.6.2, <text:sender-initials> 7.3.6.4, <text:sender-lastname> 7.3.6.3, <text:sender-phone-private> 7.3.6.8, <text:sender-phone-work> 7.3.6.11, <text:sender-position> 7.3.6.6, <text:sender-postal-code> 7.3.6.14, <text:sender-state-or-province> 7.3.6.16, <text:sender-street> 7.3.6.12, <text:sender-title> 7.3.6.5, <text:sequence> 7.4.13, <text:sequence-ref> 7.7.8, <text:sheet-name> 7.3.11, <text:soft-page-break> 5.6, <text:span> 6.1.7, <text:subject> 7.5.11, <text:tab> 6.1.4, <text:table-count> 7.5.18.6, <text:table-formula> 7.7.14, <text:template-name> 7.3.10, <text:text-input> 7.4.15, <text:time> 7.3.3, <text:title> 7.5.10, <text:toc-mark> 8.1.4, <text:toc-mark-end> 8.1.3, <text:toc-mark-start> 8.1.2, <text:user-defined> 7.5.6, <text:user-field-get> 7.4.9, <text:user-field-input> 7.4.10, <text:user-index-mark> 8.1.7, <text:user-index-mark-end> 8.1.6, <text:user-index-mark-start> 8.1.5, <text:variable-get> 7.4.5, <text:variable-input> 7.4.6, <text:variable-set> 7.4.4 and <text:word-count> 7.5.18.4.

6.1.8 <text:a>

The <text:a> element represents a hyperlink.

The anchor of a hyperlink is composed of the character data contained in the <text:a> element and any of its descendant elements which constitute the character data of the paragraph element which contains the <text:a> element. 6.1.1

The <text:a> element is usable within the following elements: <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:a> element has the following attributes: office:name 19.380, office:target-frame-name 19.385, office:title 19.387, text:style-name 19.880, text:visited-style-name 19.907, xlink:actuate 19.915, xlink:href 19.916, xlink:show 19.917 and xlink:type 19.919.

The <text:a> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:annotation> 14.1, <office:annotation-end> 14.2, <office:event-listeners> 10.3.19, <presentation:date-time> 10.9.3.5, <presentation:footer> 10.9.3.3, <presentation:header> 10.9.3.1, <text:alphabetical-index-mark> 8.1.10, <text:alphabetical-index-mark-end> 8.1.9, <text:alphabetical-index-mark-start> 8.1.8, <text:author-initials> 7.3.7.2, <text:author-name> 7.3.7.1, <text:bibliography-mark> 8.1.11, <text:bookmark> 6.2.1.2, <text:bookmark-end> 6.2.1.4, <text:bookmark-ref> 7.7.6, <text:bookmark-start> 6.2.1.3, <text:change> 5.5.8.4, <text:change-end> 5.5.8.3, <text:change-start> 5.5.8.2, <text:chapter> 7.3.8, <text:character-count> 7.5.18.5, <text:conditional-text> 7.7.3, <text:creation-date> 7.5.3, <text:creation-time> 7.5.4, <text:creator> 7.5.17, <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6, <text:database-row-select> 7.6.5, <text:date> 7.3.2, <text:dde-connection> 7.7.12, <text:description> 7.5.5, <text:drop-down> 7.4.16, <text:editing-cycles> 7.5.13, <text:editing-duration> 7.5.14, <text:execute-macro> 7.7.10, <text:expression> 7.4.14, <text:file-name> 7.3.9, <text:hidden-paragraph> 7.7.11, <text:hidden-text> 7.7.4, <text:image-count> 7.5.18.7, <text:initial-creator> 7.5.2, <text:keywords> 7.5.12, <text:line-break> 6.1.5, <text:measure> 7.7.13, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:modification-date> 7.5.16, <text:modification-time> 7.5.15, <text:note> 6.3.2, <text:note-ref> 7.7.7, <text:object-count> 7.5.18.8, <text:page-continuation> 7.3.5, <text:page-count> 7.5.18.2, <text:page-number> 7.3.4, <text:page-variable-get> 7.7.1.3, <text:page-variable-set> 7.7.1.2, <text:paragraph-count> 7.5.18.3, <text:placeholder> 7.7.2, <text:print-date> 7.5.8, <text:print-time> 7.5.7, <text:printed-by> 7.5.9, <text:reference-mark> 6.2.2.2, <text:reference-mark-end> 6.2.2.4, <text:reference-mark-start> 6.2.2.3, <text:reference-ref> 7.7.5, <text:ruby> 6.4, <text:s> 6.1.3, <text:script> 7.7.9, <text:sender-city> 7.3.6.13, <text:sender-company> 7.3.6.10, <text:sender-country> 7.3.6.15, <text:sender-email> 7.3.6.7, <text:sender-fax> 7.3.6.9, <text:sender-firstname> 7.3.6.2, <text:sender-initials> 7.3.6.4, <text:sender-lastname> 7.3.6.3, <text:sender-phone-private> 7.3.6.8, <text:sender-phone-work> 7.3.6.11, <text:sender-position> 7.3.6.6, <text:sender-postal-code> 7.3.6.14, <text:sender-state-or-province> 7.3.6.16, <text:sender-street> 7.3.6.12, <text:sender-title> 7.3.6.5, <text:sequence> 7.4.13, <text:sequence-ref> 7.7.8, <text:sheet-name> 7.3.11, <text:soft-page-break> 5.6, <text:span> 6.1.7, <text:subject> 7.5.11, <text:tab> 6.1.4, <text:table-count> 7.5.18.6, <text:table-formula> 7.7.14, <text:template-name> 7.3.10, <text:text-input> 7.4.15, <text:time> 7.3.3, <text:title> 7.5.10, <text:toc-mark> 8.1.4, <text:toc-mark-end> 8.1.3, <text:toc-mark-start> 8.1.2, <text:user-defined> 7.5.6, <text:user-field-get> 7.4.9, <text:user-field-input> 7.4.10, <text:user-index-mark> 8.1.7, <text:user-index-mark-end> 8.1.6, <text:user-index-mark-start> 8.1.5, <text:variable-get> 7.4.5, <text:variable-input> 7.4.6, <text:variable-set> 7.4.4 and <text:word-count> 7.5.18.4.

6.1.9 <text:meta>

The <text:meta> element represents portions of text that have in-content metadata attached. See 19.911.

The <text:meta> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:meta> element has the following attributes: xhtml:about 19.911, xhtml:content 19.912, xhtml:datatype 19.913, xhtml:property 19.914 and xml:id 19.920.

The <text:meta> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:annotation> 14.1, <office:annotation-end> 14.2, <presentation:date-time> 10.9.3.5, <presentation:footer> 10.9.3.3, <presentation:header> 10.9.3.1, <text:a> 6.1.8, <text:alphabetical-index-mark> 8.1.10, <text:alphabetical-index-mark-end> 8.1.9, <text:alphabetical-index-mark-start> 8.1.8, <text:author-initials> 7.3.7.2, <text:author-name> 7.3.7.1, <text:bibliography-mark> 8.1.11, <text:bookmark> 6.2.1.2, <text:bookmark-end> 6.2.1.4, <text:bookmark-ref> 7.7.6, <text:bookmark-start> 6.2.1.3, <text:change> 5.5.8.4, <text:change-end> 5.5.8.3, <text:change-start> 5.5.8.2, <text:chapter> 7.3.8, <text:character-count> 7.5.18.5, <text:conditional-text> 7.7.3, <text:creation-date> 7.5.3, <text:creation-time> 7.5.4, <text:creator> 7.5.17, <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6, <text:database-row-select> 7.6.5, <text:date> 7.3.2, <text:dde-connection> 7.7.12, <text:description> 7.5.5, <text:drop-down> 7.4.16, <text:editing-cycles> 7.5.13, <text:editing-duration> 7.5.14, <text:execute-macro> 7.7.10, <text:expression> 7.4.14, <text:file-name> 7.3.9, <text:hidden-paragraph> 7.7.11, <text:hidden-text> 7.7.4, <text:image-count> 7.5.18.7, <text:initial-creator> 7.5.2, <text:keywords> 7.5.12, <text:line-break> 6.1.5, <text:measure> 7.7.13, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:modification-date> 7.5.16, <text:modification-time> 7.5.15, <text:note> 6.3.2, <text:note-ref> 7.7.7, <text:object-count> 7.5.18.8, <text:page-continuation> 7.3.5, <text:page-count> 7.5.18.2, <text:page-number> 7.3.4, <text:page-variable-get> 7.7.1.3, <text:page-variable-set> 7.7.1.2, <text:paragraph-count> 7.5.18.3, <text:placeholder> 7.7.2, <text:print-date> 7.5.8, <text:print-time> 7.5.7, <text:printed-by> 7.5.9, <text:reference-mark> 6.2.2.2, <text:reference-mark-end> 6.2.2.4, <text:reference-mark-start> 6.2.2.3, <text:reference-ref> 7.7.5, <text:ruby> 6.4, <text:s> 6.1.3, <text:script> 7.7.9, <text:sender-city> 7.3.6.13, <text:sender-company> 7.3.6.10, <text:sender-country> 7.3.6.15, <text:sender-email> 7.3.6.7, <text:sender-fax> 7.3.6.9, <text:sender-firstname> 7.3.6.2, <text:sender-initials> 7.3.6.4, <text:sender-lastname> 7.3.6.3, <text:sender-phone-private> 7.3.6.8, <text:sender-phone-work> 7.3.6.11, <text:sender-position> 7.3.6.6, <text:sender-postal-code> 7.3.6.14, <text:sender-state-or-province> 7.3.6.16, <text:sender-street> 7.3.6.12, <text:sender-title> 7.3.6.5, <text:sequence> 7.4.13, <text:sequence-ref> 7.7.8, <text:sheet-name> 7.3.11, <text:soft-page-break> 5.6, <text:span> 6.1.7, <text:subject> 7.5.11, <text:tab> 6.1.4, <text:table-count> 7.5.18.6, <text:table-formula> 7.7.14, <text:template-name> 7.3.10, <text:text-input> 7.4.15, <text:time> 7.3.3, <text:title> 7.5.10, <text:toc-mark> 8.1.4, <text:toc-mark-end> 8.1.3, <text:toc-mark-start> 8.1.2, <text:user-defined> 7.5.6, <text:user-field-get> 7.4.9, <text:user-field-input> 7.4.10, <text:user-index-mark> 8.1.7, <text:user-index-mark-end> 8.1.6, <text:user-index-mark-start> 8.1.5, <text:variable-get> 7.4.5, <text:variable-input> 7.4.6, <text:variable-set> 7.4.4 and <text:word-count> 7.5.18.4.

6.1.10 <text:number>

The <text:number> element contains the text of a formatted number which is present when a list style is applied to an element whose corresponding list level style specifies that the list label is a number. This text may be used by consumers that do not support the automatic generation of numbering but should be ignored by consumers that do support it.

This element has no attributes.

The <text:number> element is usable within the following elements: <text:h> 5.1.2, <text:list-header> 5.3.3, <text:list-item> 5.3.4 and <text:numbered-paragraph> 5.3.6.

The <text:number> element has no attributes.

The <text:number> element has no child elements.

The <text:number> element has content of data type string 18.2.

6.2 Bookmarks and References

6.2.1 Bookmarks

6.2.1.1 General

 

There are two types of bookmarks:

Every reference is identified by the value of its text:name attribute, which shall be unique. In a bookmark reference, the start and end elements shall use the same attribute value.

Bookmark references support overlapping references.

6.2.1.2 <text:bookmark>

The <text:bookmark> element marks a text position.

The <text:bookmark> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:bookmark> element has the following attributes: text:name 19.841 and xml:id 19.920.

The <text:bookmark> element has no child elements.

6.2.1.3 <text:bookmark-start>

The <text:bookmark-start> element marks the start position of a bookmark in a text range.

 

The <text:bookmark-start> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:bookmark-start> element has the following attributes: text:name 19.841, xhtml:about 19.911, xhtml:content 19.912, xhtml:datatype 19.913, xhtml:property 19.914 and xml:id 19.920.

The <text:bookmark-start> element has no child elements.

6.2.1.4 <text:bookmark-end>

The <text:bookmark-end> element marks the end position of a bookmark in a text range.

 

The <text:bookmark-end> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:bookmark-end> element has the following attribute: text:name 19.841.

The <text:bookmark-end> element has no child elements.

6.2.2 References

6.2.2.1 General

There are two types of reference marks:

Every reference is identified by the value of its text:name attribute, which shall be unique. In a range reference, the start and end elements shall use the same attribute value.

Range references support overlapping references.

6.2.2.2 <text:reference-mark>

The <text:reference-mark> element represents a point reference.

The <text:reference-mark> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:reference-mark> element has the following attribute: text:name 19.841.

The <text:reference-mark> element has no child elements.

6.2.2.3 <text:reference-mark-start>

The <text:reference-mark-start> element represent the start of a range reference.

The <text:reference-mark-start> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:reference-mark-start> element has the following attribute: text:name 19.841.

The <text:reference-mark-start> element has no child elements.

6.2.2.4 <text:reference-mark-end>

The <text:reference-mark-end> element represent the end of a range reference.

The <text:reference-mark-end> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:reference-mark-end> element has the following attribute: text:name 19.841.

The <text:reference-mark-end> element has no child elements.

6.3 Notes

6.3.1 General

Notes consist of a <text:note> element which occurs in the text stream at the position to which the note is anchored. The numbering and rendering of notes is specified by a <text:notes-configuration> element, which occurs inside an <office:styles> element.

6.3.2 <text:note>

The <text:note> element represents text notes which are attached to a text position.

The <text:note> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:note> element has the following attributes: text:id 19.815 and text:note-class 19.843.

The <text:note> element has the following child elements: <text:note-body> 6.3.4 and <text:note-citation> 6.3.3.

6.3.3 <text:note-citation>

The <text:note-citation> element contains a citation, either as a formatted number or a string.

The <text:note-citation> element is usable within the following element: <text:note> 6.3.2.

The <text:note-citation> element has the following attribute: text:label 19.832.

The <text:note-citation> element has no child elements.

The <text:note-citation> element has character data content.

6.3.4 <text:note-body>

The <text:note-body> element contains the content of a note. It does not have any attributes.

Note: The schema allows for the inclusion of <text:note> elements as a descendant of a child of the <text:note-body> element. While this may be reasonable for note types, it is not reasonable for footnotes and endnotes. Conforming consumers need not support notes inside notes.

The <text:note-body> element is usable within the following element: <text:note> 6.3.2.

The <text:note-body> element has no attributes.

The <text:note-body> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:change> 5.5.8.4, <text:change-end> 5.5.8.3, <text:change-start> 5.5.8.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:list> 5.3.1, <text:numbered-paragraph> 5.3.6, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:soft-page-break> 5.6, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

6.4 <text:ruby>

6.4.1 General

A ruby is additional text that is displayed above or below a base text. The purpose of a ruby is to annotate a base text or to provide information about its pronunciation.

The <text:ruby> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:ruby> element has the following attribute: text:style-name 19.880.

The <text:ruby> element has the following child elements: <text:ruby-base> 6.4.2 and <text:ruby-text> 6.4.3.

6.4.2 <text:ruby-base>

The <text:ruby-base> element contains the text that is to be annotated. It contains any paragraph element content, such as text spans. The element's text:style-name attribute references a ruby style that specifies formatting attributes of the ruby.

The <text:ruby-base> element is usable within the following element: <text:ruby> 6.4.

The <text:ruby-base> element has no attributes.

The <text:ruby-base> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:annotation> 14.1, <office:annotation-end> 14.2, <presentation:date-time> 10.9.3.5, <presentation:footer> 10.9.3.3, <presentation:header> 10.9.3.1, <text:a> 6.1.8, <text:alphabetical-index-mark> 8.1.10, <text:alphabetical-index-mark-end> 8.1.9, <text:alphabetical-index-mark-start> 8.1.8, <text:author-initials> 7.3.7.2, <text:author-name> 7.3.7.1, <text:bibliography-mark> 8.1.11, <text:bookmark> 6.2.1.2, <text:bookmark-end> 6.2.1.4, <text:bookmark-ref> 7.7.6, <text:bookmark-start> 6.2.1.3, <text:change> 5.5.8.4, <text:change-end> 5.5.8.3, <text:change-start> 5.5.8.2, <text:chapter> 7.3.8, <text:character-count> 7.5.18.5, <text:conditional-text> 7.7.3, <text:creation-date> 7.5.3, <text:creation-time> 7.5.4, <text:creator> 7.5.17, <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6, <text:database-row-select> 7.6.5, <text:date> 7.3.2, <text:dde-connection> 7.7.12, <text:description> 7.5.5, <text:drop-down> 7.4.16, <text:editing-cycles> 7.5.13, <text:editing-duration> 7.5.14, <text:execute-macro> 7.7.10, <text:expression> 7.4.14, <text:file-name> 7.3.9, <text:hidden-paragraph> 7.7.11, <text:hidden-text> 7.7.4, <text:image-count> 7.5.18.7, <text:initial-creator> 7.5.2, <text:keywords> 7.5.12, <text:line-break> 6.1.5, <text:measure> 7.7.13, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:modification-date> 7.5.16, <text:modification-time> 7.5.15, <text:note> 6.3.2, <text:note-ref> 7.7.7, <text:object-count> 7.5.18.8, <text:page-continuation> 7.3.5, <text:page-count> 7.5.18.2, <text:page-number> 7.3.4, <text:page-variable-get> 7.7.1.3, <text:page-variable-set> 7.7.1.2, <text:paragraph-count> 7.5.18.3, <text:placeholder> 7.7.2, <text:print-date> 7.5.8, <text:print-time> 7.5.7, <text:printed-by> 7.5.9, <text:reference-mark> 6.2.2.2, <text:reference-mark-end> 6.2.2.4, <text:reference-mark-start> 6.2.2.3, <text:reference-ref> 7.7.5, <text:ruby> 6.4, <text:s> 6.1.3, <text:script> 7.7.9, <text:sender-city> 7.3.6.13, <text:sender-company> 7.3.6.10, <text:sender-country> 7.3.6.15, <text:sender-email> 7.3.6.7, <text:sender-fax> 7.3.6.9, <text:sender-firstname> 7.3.6.2, <text:sender-initials> 7.3.6.4, <text:sender-lastname> 7.3.6.3, <text:sender-phone-private> 7.3.6.8, <text:sender-phone-work> 7.3.6.11, <text:sender-position> 7.3.6.6, <text:sender-postal-code> 7.3.6.14, <text:sender-state-or-province> 7.3.6.16, <text:sender-street> 7.3.6.12, <text:sender-title> 7.3.6.5, <text:sequence> 7.4.13, <text:sequence-ref> 7.7.8, <text:sheet-name> 7.3.11, <text:soft-page-break> 5.6, <text:span> 6.1.7, <text:subject> 7.5.11, <text:tab> 6.1.4, <text:table-count> 7.5.18.6, <text:table-formula> 7.7.14, <text:template-name> 7.3.10, <text:text-input> 7.4.15, <text:time> 7.3.3, <text:title> 7.5.10, <text:toc-mark> 8.1.4, <text:toc-mark-end> 8.1.3, <text:toc-mark-start> 8.1.2, <text:user-defined> 7.5.6, <text:user-field-get> 7.4.9, <text:user-field-input> 7.4.10, <text:user-index-mark> 8.1.7, <text:user-index-mark-end> 8.1.6, <text:user-index-mark-start> 8.1.5, <text:variable-get> 7.4.5, <text:variable-input> 7.4.6, <text:variable-set> 7.4.4 and <text:word-count> 7.5.18.4.

6.4.3 <text:ruby-text>

The <text:ruby-text> element contains an annotation text. It contains only plain text. The element's text:style-name attribute references a text style that specifies further formatting attributes used for the annotation text.

The <text:ruby-text> element is usable within the following element: <text:ruby> 6.4.

The <text:ruby-text> element has the following attribute: text:style-name 19.880.

The <text:ruby-text> element has no child elements.

The <text:ruby-text> element has character data content.

7 Text Fields

7.1 General

OpenDocument text documents or OpenDocument text content embedded in other types of documents may contain variable text elements called fields. Fields are commonly used for:

7.2 Common Characteristics of Field Elements

Each field type is represented by a corresponding element type. The content of an element is a textual representation of the current field value as it would be displayed or printed by an implementation that supports that field.

The value of a field is stored in an attribute. Storage of the value enables recalculation of the presentation of a field.

Note: For string values, if a value is identical to a presentation, the value attribute can be omitted to avoid duplicate storage of information.

The presentation of information in a field is determined by the style applied to the field.

7.3 Document Fields

7.3.1 GeneralDocument fields display information about the current document or about a specific part of the current document.

7.3.2 <text:date>

The <text:date> element displays a date, By default this is the current date. The date can be adjusted to display a date other than the current date.

The <text:date> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:date> element has the following attributes: style:data-style-name 19.473, text:date-adjust 19.798, text:date-value 19.799 and text:fixed 19.809.

The <text:date> element has no child elements.

The <text:date> element has character data content.

7.3.3 <text:time>

The <text:time> element displays a time. By default this is the current time.

The <text:time> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:time> element has the following attributes: style:data-style-name 19.473, text:fixed 19.809, text:time-adjust 19.886 and text:time-value 19.887.

The <text:time> element has no child elements.

The <text:time> element has character data content.

7.3.4 <text:page-number>

The <text:page-number> element displays the current page number.

If a number style is not specified for page numbers, the default is the default number style of the current page style.

Note: The <text:page-count> element displays the total number of pages in a document. 7.5.18.2

The <text:page-number> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:page-number> element has the following attributes: style:num-format 19.504, style:num-letter-sync 19.505, text:fixed 19.809, text:page-adjust 19.851 and text:select-page 19.869.

The <text:page-number> element has no child elements.

The <text:page-number> element has character data content.

7.3.5 <text:page-continuation>

The <text:page-continuation> element contains a text notice that is displayed or printed at the bottom of a page to indicate that the preceding text continues on the next page.

The <text:page-continuation> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:page-continuation> element has the following attributes: text:select-page 19.869 and text:string-value 19.877.

The <text:page-continuation> element has no child elements.

The <text:page-continuation> element has character data content.

7.3.6 Subsequent Author Fields

7.3.6.1 General

Subsequent author fields capture information about second and following authors for a document.

Note: In OpenDocument 1.0/1.1, these fields were referenced as “sender” fields and that terminology still appears in the names of these elements.

If a subsequent author field is marked fixed using the text:fixed 19.809 attribute, the original information in that field is preserved. Otherwise, the information is updated each time the file is edited.

7.3.6.2 <text:sender-firstname>

The <text:sender-firstname> element represents the first name of a subsequent author.

The <text:sender-firstname> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-firstname> element has the following attribute: text:fixed 19.809.

The <text:sender-firstname> element has no child elements.

The <text:sender-firstname> element has character data content.

7.3.6.3 <text:sender-lastname>

The <text:sender-lastname> element represents the last name of a subsequent author.

The <text:sender-lastname> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-lastname> element has the following attribute: text:fixed 19.809.

The <text:sender-lastname> element has no child elements.

The <text:sender-lastname> element has character data content.

7.3.6.4 <text:sender-initials>

The <text:sender-initials> element represents the initials of a subsequent author.

The <text:sender-initials> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-initials> element has the following attribute: text:fixed 19.809.

The <text:sender-initials> element has no child elements.

The <text:sender-initials> element has character data content.

7.3.6.5 <text:sender-title>

The <text:sender-title> element represents the title of a subsequent author.

The <text:sender-title> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-title> element has the following attribute: text:fixed 19.809.

The <text:sender-title> element has no child elements.

The <text:sender-title> element has character data content.

7.3.6.6 <text:sender-position>

The <text:sender-position> element represents the position of a subsequent author.

The <text:sender-position> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-position> element has the following attribute: text:fixed 19.809.

The <text:sender-position> element has no child elements.

The <text:sender-position> element has character data content.

7.3.6.7 <text:sender-email>

The <text:sender-email> element represents the email address of a subsequent author.

The <text:sender-email> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-email> element has the following attribute: text:fixed 19.809.

The <text:sender-email> element has no child elements.

The <text:sender-email> element has character data content.

7.3.6.8 <text:sender-phone-private>

The <text:sender-phone-private> element represents the private telephone number of a subsequent author.

The <text:sender-phone-private> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-phone-private> element has the following attribute: text:fixed 19.809.

The <text:sender-phone-private> element has no child elements.

The <text:sender-phone-private> element has character data content.

7.3.6.9 <text:sender-fax>

The <text:sender-fax> element represents the facsimile number of a subsequent author.

The <text:sender-fax> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-fax> element has the following attribute: text:fixed 19.809.

The <text:sender-fax> element has no child elements.

The <text:sender-fax> element has character data content.

7.3.6.10 <text:sender-company>

The <text:sender-company> element represents the name of the company that employs a subsequent author.

The <text:sender-company> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-company> element has the following attribute: text:fixed 19.809.

The <text:sender-company> element has no child elements.

The <text:sender-company> element has character data content.

7.3.6.11 <text:sender-phone-work>

The <text:sender-phone-work> element represents the office telephone number of a subsequent author.

The <text:sender-phone-work> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-phone-work> element has the following attribute: text:fixed 19.809.

The <text:sender-phone-work> element has no child elements.

The <text:sender-phone-work> element has character data content.

7.3.6.12 <text:sender-street>

The <text:sender-street> element represents the street address of a subsequent author.

The <text:sender-street> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-street> element has the following attribute: text:fixed 19.809.

The <text:sender-street> element has no child elements.

The <text:sender-street> element has character data content.

7.3.6.13 <text:sender-city>

The <text:sender-city> element represents the city name of the address of a subsequent author.

The <text:sender-city> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-city> element has the following attribute: text:fixed 19.809.

The <text:sender-city> element has no child elements.

The <text:sender-city> element has character data content.

7.3.6.14 <text:sender-postal-code>

The <text:sender-postal-code> element represents the postal code of the address of a subsequent author.

The <text:sender-postal-code> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-postal-code> element has the following attribute: text:fixed 19.809.

The <text:sender-postal-code> element has no child elements.

The <text:sender-postal-code> element has character data content.

7.3.6.15 <text:sender-country>

The <text:sender-country> element represents the country name of the address of a subsequent author.

The <text:sender-country> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-country> element has the following attribute: text:fixed 19.809.

The <text:sender-country> element has no child elements.

The <text:sender-country> element has character data content.

7.3.6.16 <text:sender-state-or-province>

The <text:sender-state-or-province> element represents the state or province name of the address of a subsequent author, if applicable.

The <text:sender-state-or-province> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-state-or-province> element has the following attribute: text:fixed 19.809.

The <text:sender-state-or-province> element has no child elements.

The <text:sender-state-or-province> element has character data content.

7.3.7 Author Fields

7.3.7.1 <text:author-name>

The <text:author-name> element represents the full name of the author of a document.

The <text:author-name> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:author-name> element has the following attribute: text:fixed 19.809.

The <text:author-name> element has no child elements.

The <text:author-name> element has character data content.

7.3.7.2 <text:author-initials>

The <text:author-initials> element represents the initials of the author of a document.

The <text:author-initials> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:author-initials> element has the following attribute: text:fixed 19.809.

The <text:author-initials> element has no child elements.

The <text:author-initials> element has character data content.

7.3.8 <text:chapter>

The <text:chapter> element represents a field that displays one of the following:

If this element is placed inside a header or footer, it displays the current chapter name or number on every page.

The <text:chapter> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:chapter> element has the following attributes: text:display 19.802 and text:outline-level 19.850.

The <text:chapter> element has no child elements.

The <text:chapter> element has character data content.

7.3.9 <text:file-name>

The <text:file-name> element represents a field that displays the name of a file that is being edited.

The <text:file-name> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:file-name> element has the following attributes: text:display 19.802 and text:fixed 19.809.

The <text:file-name> element has no child elements.

The <text:file-name> element has character data content.

7.3.10 <text:template-name>

The <text:template-name> element represents a field that displays information about the document template in use.

The <text:template-name> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:template-name> element has the following attribute: text:display 19.802.

The <text:template-name> element has no child elements.

The <text:template-name> element has character data content.

7.3.11 <text:sheet-name>

The <text:sheet-name> element represents the name of the current sheet..

The <text:sheet-name> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sheet-name> element has no attributes.

The <text:sheet-name> element has no child elements.

The <text:sheet-name> element has character data content.

7.4 Variable Fields

7.4.1 General

OpenDocument documents can contain variables, which are processed or displayed using variable fields. In an OpenDocument file, variable declarations shall precede in document order any use of those variable declarations.

There are three types of variables:

The value of a sequence variable is initialized to 0 (zero) by its declaration.

Variables shall be declared before they can be used. The OpenDocument elements for declaring variables are described in sections 7.4.3, 7.4.8 and 7.4.12.

The display of variables is determined by styles which are specified by the element that defines the variable.

7.4.2 <text:variable-decls>

The <text:variable-decls> element is a container for <text:variable-decl> elements.

The <text:variable-decls> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7, <office:text> 3.4, <style:footer> 16.12, <style:footer-first> 16.13, <style:footer-left> 16.15, <style:header> 16.10, <style:header-first> 16.11 and <style:header-left> 16.14.

The <text:variable-decls> element has no attributes.

The <text:variable-decls> element has the following child element: <text:variable-decl> 7.4.3.

7.4.3 <text:variable-decl>

The <text:variable-decl> element is used to declare simple variables. This element specifies the name and the value type of a variable.

The <text:variable-decl> element is usable within the following element: <text:variable-decls> 7.4.2.

The <text:variable-decl> element has the following attributes: office:value-type 19.389 and text:name 19.841.

The <text:variable-decl> element has no child elements.

7.4.4 <text:variable-set>

The <text:variable-set> element represents a simple variable.

The <text:variable-set> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:variable-set> element has the following attributes: office:boolean-value 19.371, office:currency 19.373, office:date-value 19.374, office:string-value 19.383, office:time-value 19.386, office:value 19.388, office:value-type 19.389, style:data-style-name 19.473, text:display 19.802, text:formula 19.811 and text:name 19.841.

The <text:variable-set> element has no child elements.

The <text:variable-set> element has character data content.

7.4.5 <text:variable-get>

The <text:variable-get> element sets the display of the value of a simple variable. The value of this element is the value of the last preceding <text:variable-set> element with an identical value for its text:name attribute.

If there is no preceding <text:variable-set> element with an identical value for its text:name attribute the value of a <text:variable-get> field is undefined.

The <text:variable-get> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:variable-get> element has the following attributes: style:data-style-name 19.473, text:display 19.802 and text:name 19.841.

The <text:variable-get> element has no child elements.

The <text:variable-get> element has character data content.

7.4.6 <text:variable-input>

The <text:variable-input> element represents user supplied variable values. This element can be empty if its text:display attribute is set to none.

The <text:variable-input> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:variable-input> element has the following attributes: office:value-type 19.389, style:data-style-name 19.473, text:description 19.801, text:display 19.802 and text:name 19.841.

The <text:variable-input> element has no child elements.

The <text:variable-input> element has character data content.

7.4.7 <text:user-field-decls>

The <text:user-field-decls> element is a container for <text:user-field-decl> elements.

The <text:user-field-decls> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7, <office:text> 3.4, <style:footer> 16.12, <style:footer-first> 16.13, <style:footer-left> 16.15, <style:header> 16.10, <style:header-first> 16.11 and <style:header-left> 16.14.

The <text:user-field-decls> element has no attributes.

The <text:user-field-decls> element has the following child element: <text:user-field-decl> 7.4.8.

7.4.8 <text:user-field-decl>

The <text:user-field-decl> element is used to specify user variable values that are displayed using the <text:user-field-get> element.

The <text:user-field-decl> element is usable within the following element: <text:user-field-decls> 7.4.7.

The <text:user-field-decl> element has the following attributes: office:boolean-value 19.371, office:currency 19.373, office:date-value 19.374, office:string-value 19.383, office:time-value 19.386, office:value 19.388, office:value-type 19.389, text:formula 19.811 and text:name 19.841.

The <text:user-field-decl> element has no child elements.

7.4.9 <text:user-field-get>

The <text:user-field-get> element displays the content of a user variable. The value of this element is the value of a <text:user-field-decl> element with a text:name attribute value that matches the text:name attribute of this element.

The <text:user-field-get> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:user-field-get> element has the following attributes: style:data-style-name 19.473, text:display 19.802 and text:name 19.841.

The <text:user-field-get> element has no child elements.

The <text:user-field-get> element has character data content.

7.4.10 <text:user-field-input>

The <text:user-field-input> element is an alternative method of displaying user variables. The value of this element is the value of a <text:user-field-decl> element with a text:name attribute value that matches the text:name attribute of this element.

This element can be empty if the text:display attribute is set to none.

The <text:user-field-input> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:user-field-input> element has the following attributes: style:data-style-name 19.473, text:description 19.801 and text:name 19.841.

The <text:user-field-input> element has no child elements.

The <text:user-field-input> element has character data content.

7.4.11 <text:sequence-decls>

The <text:sequence-decls> element is a container for <text:sequence-decl> elements.

The <text:sequence-decls> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7, <office:text> 3.4, <style:footer> 16.12, <style:footer-first> 16.13, <style:footer-left> 16.15, <style:header> 16.10, <style:header-first> 16.11 and <style:header-left> 16.14.

The <text:sequence-decls> element has no attributes.

The <text:sequence-decls> element has the following child element: <text:sequence-decl> 7.4.12.

7.4.12 <text:sequence-decl>

The <text:sequence-decl> element is used to declare sequence variables used to number items within an OpenDocument text document.

Note: Sequence variables are commonly used for sequential numbering. However, expression formulas can be included in sequence fields to support more advanced sequences.

The <text:sequence-decl> element is usable within the following element: <text:sequence-decls> 7.4.11.

The <text:sequence-decl> element has the following attributes: text:display-outline-level 19.804, text:name 19.841 and text:separation-character 19.870.

The <text:sequence-decl> element has no child elements.

7.4.13 <text:sequence>

A <text:sequence> element specifies a sequence field.

A sequence field changes the value of a sequence variable by a specified formula and displays the changed value of the sequence variable in a specified format.

Note: Sequence variables and fields are used to number repeating document elements such as pages, tables or images. In such cases, the formula could be: "sequenceVariableName + 1." A sequence variable can be set to a specific value or not changed at all.

The <text:sequence> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sequence> element has the following attributes: style:num-format 19.504, style:num-letter-sync 19.505, text:formula 19.811, text:name 19.841 and text:ref-name 19.859.

The <text:sequence> element has no child elements.

The <text:sequence> element has character data content.

7.4.14 <text:expression>

The <text:expression> element represents expressions that are evaluated and the resulting value displayed.

The <text:expression> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:expression> element has the following attributes: office:boolean-value 19.371, office:currency 19.373, office:date-value 19.374, office:string-value 19.383, office:time-value 19.386, office:value 19.388, office:value-type 19.389, style:data-style-name 19.473, text:display 19.802 and text:formula 19.811.

The <text:expression> element has no child elements.

The <text:expression> element has character data content.

7.4.15 <text:text-input>

The <text:text-input> element is a text input field. A text input field is used in a user interface to prompt a user to input text. This text is stored and displayed as the content of this element until it is replaced by a user.

The <text:text-input> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:text-input> element has the following attribute: text:description 19.801.

The <text:text-input> element has no child elements.

The <text:text-input> element has character data content.

7.4.16 <text:drop-down>

The <text:drop-down> element is a drop-down list input field. A drop-down list input field is used in a user interface to prompt a user to select a value from a list of options. The selected value is stored and displayed as the content of this element until it is changed by a user.

The <text:drop-down> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:drop-down> element has the following attribute: text:name 19.841.

The <text:drop-down> element has the following child element: <text:label> 7.4.17.

The <text:drop-down> element has character data content.

7.4.17 <text:label>

The <text:label> element defines an entry in a drop-down list.

The <text:label> element is usable within the following element: <text:drop-down> 7.4.16.

The <text:label> element has the following attributes: text:current-selected 19.790 and text:value 19.906.

The <text:label> element has no child elements.

7.5 Metadata Fields

7.5.1 General

Metadata field elements display meta information about a document.

All metadata field elements can be marked as fixed using the text:fixed attribute. 19.809

7.5.2 <text:initial-creator>

The <text:initial-creator> element displays the value contained in the <meta:initial-creator> element of a document. 4.3.2.6

The <text:initial-creator> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:initial-creator> element has the following attribute: text:fixed 19.809.

The <text:initial-creator> element has no child elements.

The <text:initial-creator> element has character data content.

7.5.3 <text:creation-date>

The <text:creation-date> element displays the value contained in the <meta:creation-date> element of a document. 4.3.2.9

The <text:creation-date> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:creation-date> element has the following attributes: style:data-style-name 19.473, text:date-value 19.799 and text:fixed 19.809.

The <text:creation-date> element has no child elements.

The <text:creation-date> element has character data content.

7.5.4 <text:creation-time>

The <text:creation-time> element represents the time at which a document was created.

The <text:creation-time> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:creation-time> element has the following attributes: style:data-style-name 19.473, text:fixed 19.809 and text:time-value 19.887.

The <text:creation-time> element has no child elements.

The <text:creation-time> element has character data content.

7.5.5 <text:description>

The <text:description> element displays the content contained in the <dc:description> element of a document. 4.3.2.3

The <text:description> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:description> element has the following attribute: text:fixed 19.809.

The <text:description> element has no child elements.

The <text:description> element has character data content.

7.5.6 <text:user-defined>

The <text:user-defined> element displays the value contained in a <meta:user-defined> element of a document. 4.3.3

Note: The link between a <text:user-defined> element and a <meta:user-defined> element is established by the text:name and meta:name attributes, respectively, containing the same value.

The <text:user-defined> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:user-defined> element has the following attributes: office:boolean-value 19.371, office:date-value 19.374, office:string-value 19.383, office:time-value 19.386, office:value 19.388, style:data-style-name 19.473, text:fixed 19.809 and text:name 19.841.

The <text:user-defined> element has no child elements.

The <text:user-defined> element has character data content.

7.5.7 <text:print-time>

The <text:print-time> element represents the time at which a document was last printed.

The <text:print-time> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:print-time> element has the following attributes: style:data-style-name 19.473, text:fixed 19.809 and text:time-value 19.887.

The <text:print-time> element has no child elements.

The <text:print-time> element has character data content.

7.5.8 <text:print-date>

The <text:print-date> element displays the value contained in the <meta:print-date> element of a document. 4.3.2.11

The <text:print-date> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:print-date> element has the following attributes: style:data-style-name 19.473, text:date-value 19.799 and text:fixed 19.809.

The <text:print-date> element has no child elements.

The <text:print-date> element has character data content.

7.5.9 <text:printed-by>

The <text:printed-by> element displays the value contained in the <meta:printed-by> element of a document. 4.3.2.8

The <text:printed-by> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:printed-by> element has the following attribute: text:fixed 19.809.

The <text:printed-by> element has no child elements.

The <text:printed-by> element has character data content.

7.5.10 <text:title>

The <text:title> element displays the value contained in the <dc:title> element of a document. 4.3.2.2

The <text:title> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:title> element has the following attribute: text:fixed 19.809.

The <text:title> element has no child elements.

The <text:title> element has character data content.

7.5.11 <text:subject>

The <text:subject> element displays the values contained in the <dc:subject> element of a document. 4.3.2.4

The <text:subject> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:subject> element has the following attribute: text:fixed 19.809.

The <text:subject> element has no child elements.

The <text:subject> element has character data content.

7.5.12 <text:keywords>

The <text:keywords> element displays a list of keywords contained in the <meta:keyword> elements of a document.

The format of a list of keywords is implementation-dependent.

The <text:keywords> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:keywords> element has the following attribute: text:fixed 19.809.

The <text:keywords> element has no child elements.

The <text:keywords> element has character data content.

7.5.13 <text:editing-cycles>

The <text:editing-cycles> element displays the value contained in the <meta:editing-cycles> element of a document. 4.3.2.16

The <text:editing-cycles> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:editing-cycles> element has the following attribute: text:fixed 19.809.

The <text:editing-cycles> element has no child elements.

The <text:editing-cycles> element has character data content.

7.5.14 <text:editing-duration>

The <text:editing-duration> element displays the value contained in the <meta:editing-duration> element of a document.

The <text:editing-duration> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:editing-duration> element has the following attributes: style:data-style-name 19.473, text:duration 19.805 and text:fixed 19.809.

The <text:editing-duration> element has no child elements.

The <text:editing-duration> element has character data content.

7.5.15 <text:modification-time>

The <text:modification-time> element represents the time at which a document was last modified.

This element displays the time information portion of the value of the <dc:date> element.

The <text:modification-time> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:modification-time> element has the following attributes: style:data-style-name 19.473, text:fixed 19.809 and text:time-value 19.887.

The <text:modification-time> element has no child elements.

The <text:modification-time> element has character data content.

7.5.16 <text:modification-date>

The <text:modification-date> element displays the value contained in the <dc:date> element of a document. 4.3.2.10

The <text:modification-date> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:modification-date> element has the following attributes: style:data-style-name 19.473, text:date-value 19.799 and text:fixed 19.809.

The <text:modification-date> element has no child elements.

The <text:modification-date> element has character data content.

7.5.17 <text:creator>

The <text:creator> element displays the value contained in the <dc:creator> element of a document. 4.3.2.7

The <text:creator> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:creator> element has the following attribute: text:fixed 19.809.

The <text:creator> element has no child elements.

The <text:creator> element has character data content.

7.5.18 Document Statistics Fields

7.5.18.1 General

The contents of <text:word-count> and <text:character-count> elements are locale-specific and are not defined by OpenDocument.

7.5.18.2 <text:page-count>

The <text:page-count> element displays the value of the meta:page-count attribute of the <meta:document-statistic> element of a document. 19.332

The <text:page-count> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:page-count> element has the following attributes: style:num-format 19.504 and style:num-letter-sync 19.505.

The <text:page-count> element has no child elements.

The <text:page-count> element has character data content.

7.5.18.3 <text:paragraph-count>

The <text:paragraph-count> element displays the value of the meta:paragraph-count attribute of the <meta:document-statistic> element of a document. 19.333

The <text:paragraph-count> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:paragraph-count> element has the following attributes: style:num-format 19.504 and style:num-letter-sync 19.505.

The <text:paragraph-count> element has no child elements.

The <text:paragraph-count> element has character data content.

7.5.18.4 <text:word-count>

The <text:word-count> element displays the value of the meta:word-count attribute of the <meta:document-statistic> element of a document. 19.339

The <text:word-count> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:word-count> element has the following attributes: style:num-format 19.504 and style:num-letter-sync 19.505.

The <text:word-count> element has no child elements.

The <text:word-count> element has character data content.

7.5.18.5 <text:character-count>

The <text:character-count> element displays the value of the meta:character-count attribute of the <meta:document-statistic> element of a document. 19.322

The <text:character-count> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:character-count> element has the following attributes: style:num-format 19.504 and style:num-letter-sync 19.505.

The <text:character-count> element has no child elements.

The <text:character-count> element has character data content.

7.5.18.6 <text:table-count>

The <text:table-count> element displays the value of the meta:table-count attribute of the <meta:document-statistic> element of a document. 19.337

The <text:table-count> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:table-count> element has the following attributes: style:num-format 19.504 and style:num-letter-sync 19.505.

The <text:table-count> element has no child elements.

The <text:table-count> element has character data content.

7.5.18.7 <text:image-count>

The <text:image-count> element displays the value of the meta:image-count attribute of the <meta:document-statistic> element of a document. 19.327

The <text:image-count> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:image-count> element has the following attributes: style:num-format 19.504 and style:num-letter-sync 19.505.

The <text:image-count> element has no child elements.

The <text:image-count> element has character data content.

7.5.18.8 <text:object-count>

The <text:object-count> element displays the value of the meta:object-count attribute of the <meta:document-statistic> element of a document. 19.330

The <text:object-count> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:object-count> element has the following attributes: style:num-format 19.504 and style:num-letter-sync 19.505.

The <text:object-count> element has no child elements.

The <text:object-count> element has character data content.

7.5.19 <text:meta-field>

 

The <text:meta-field> element represents content from a metadata source. The mixed content of this element should be generated from the metadata source. The source of the metadata and the means of generation of the mixed content is implementation-dependent. The <text:meta-field> element may contain any paragraph content.

Note: Alterations of the element's mixed content may be lost if the mixed content is subsequently refreshed from a metadata source.

The <text:meta-field> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:meta-field> element has the following attributes: style:data-style-name 19.473 and xml:id 19.920.

The <text:meta-field> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:annotation> 14.1, <office:annotation-end> 14.2, <presentation:date-time> 10.9.3.5, <presentation:footer> 10.9.3.3, <presentation:header> 10.9.3.1, <text:a> 6.1.8, <text:alphabetical-index-mark> 8.1.10, <text:alphabetical-index-mark-end> 8.1.9, <text:alphabetical-index-mark-start> 8.1.8, <text:author-initials> 7.3.7.2, <text:author-name> 7.3.7.1, <text:bibliography-mark> 8.1.11, <text:bookmark> 6.2.1.2, <text:bookmark-end> 6.2.1.4, <text:bookmark-ref> 7.7.6, <text:bookmark-start> 6.2.1.3, <text:change> 5.5.8.4, <text:change-end> 5.5.8.3, <text:change-start> 5.5.8.2, <text:chapter> 7.3.8, <text:character-count> 7.5.18.5, <text:conditional-text> 7.7.3, <text:creation-date> 7.5.3, <text:creation-time> 7.5.4, <text:creator> 7.5.17, <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6, <text:database-row-select> 7.6.5, <text:date> 7.3.2, <text:dde-connection> 7.7.12, <text:description> 7.5.5, <text:drop-down> 7.4.16, <text:editing-cycles> 7.5.13, <text:editing-duration> 7.5.14, <text:execute-macro> 7.7.10, <text:expression> 7.4.14, <text:file-name> 7.3.9, <text:hidden-paragraph> 7.7.11, <text:hidden-text> 7.7.4, <text:image-count> 7.5.18.7, <text:initial-creator> 7.5.2, <text:keywords> 7.5.12, <text:line-break> 6.1.5, <text:measure> 7.7.13, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:modification-date> 7.5.16, <text:modification-time> 7.5.15, <text:note> 6.3.2, <text:note-ref> 7.7.7, <text:object-count> 7.5.18.8, <text:page-continuation> 7.3.5, <text:page-count> 7.5.18.2, <text:page-number> 7.3.4, <text:page-variable-get> 7.7.1.3, <text:page-variable-set> 7.7.1.2, <text:paragraph-count> 7.5.18.3, <text:placeholder> 7.7.2, <text:print-date> 7.5.8, <text:print-time> 7.5.7, <text:printed-by> 7.5.9, <text:reference-mark> 6.2.2.2, <text:reference-mark-end> 6.2.2.4, <text:reference-mark-start> 6.2.2.3, <text:reference-ref> 7.7.5, <text:ruby> 6.4, <text:s> 6.1.3, <text:script> 7.7.9, <text:sender-city> 7.3.6.13, <text:sender-company> 7.3.6.10, <text:sender-country> 7.3.6.15, <text:sender-email> 7.3.6.7, <text:sender-fax> 7.3.6.9, <text:sender-firstname> 7.3.6.2, <text:sender-initials> 7.3.6.4, <text:sender-lastname> 7.3.6.3, <text:sender-phone-private> 7.3.6.8, <text:sender-phone-work> 7.3.6.11, <text:sender-position> 7.3.6.6, <text:sender-postal-code> 7.3.6.14, <text:sender-state-or-province> 7.3.6.16, <text:sender-street> 7.3.6.12, <text:sender-title> 7.3.6.5, <text:sequence> 7.4.13, <text:sequence-ref> 7.7.8, <text:sheet-name> 7.3.11, <text:soft-page-break> 5.6, <text:span> 6.1.7, <text:subject> 7.5.11, <text:tab> 6.1.4, <text:table-count> 7.5.18.6, <text:table-formula> 7.7.14, <text:template-name> 7.3.10, <text:text-input> 7.4.15, <text:time> 7.3.3, <text:title> 7.5.10, <text:toc-mark> 8.1.4, <text:toc-mark-end> 8.1.3, <text:toc-mark-start> 8.1.2, <text:user-defined> 7.5.6, <text:user-field-get> 7.4.9, <text:user-field-input> 7.4.10, <text:user-index-mark> 8.1.7, <text:user-index-mark-end> 8.1.6, <text:user-index-mark-start> 8.1.5, <text:variable-get> 7.4.5, <text:variable-input> 7.4.6, <text:variable-set> 7.4.4 and <text:word-count> 7.5.18.4.

7.6 Database Fields

7.6.1 General

Documents can reference databases and display database information as text content. To display database information, the OpenDocument schema uses a group of text fields, collectively called database fields. Consumers may use database tables from SQL servers, therefore database fields can be used to access any SQL database, provided that the appropriate drivers are available. [SQL]

A database may contain the following components:

  • Tables, which store data. 

  • Queries, which extract a subset of data from one or more tables. 

  • Forms, which present data. 12.25.2 

  • Reports, which summarize database content. 12.25.3 

Database fields operate on a set of database rows, the so called current selection, which is either a database table, or the result of a database query. The current selection is determined by the data source information that is contained in database fields. The current selection is retrieved once per document and data source, regardless of the number of database fields that are associated with a data source.

Database fields display data contained in a particular database row within the current selection. The row within the current selection is controlled by database fields and is known as the current row.

7.6.2 <form:connection-resource>

The <form:connection-resource> element specifies a source database.

The <form:connection-resource> element is usable within the following elements: <form:form> 13.3, <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6 and <text:database-row-select> 7.6.5.

The <form:connection-resource> element has the following attribute: xlink:href 19.916.

The <form:connection-resource> element has no child elements.

7.6.3 <text:database-display>

The <text:database-display> element represents data from the current database row.

The <text:database-display> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:database-display> element has the following attributes: style:data-style-name 19.473, text:column-name 19.776, text:database-name 19.797, text:table-name 19.884 and text:table-type 19.885.

The <text:database-display> element has the following child element: <form:connection-resource> 7.6.2.

The <text:database-display> element has character data content.

7.6.4 <text:database-next>

The <text:database-next> element selects the database row following the one currently displayed in a <text:database-display> field.

The <text:database-next> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:database-next> element has the following attributes: text:condition 19.782, text:database-name 19.797, text:table-name 19.884 and text:table-type 19.885.

The <text:database-next> element has the following child element: <form:connection-resource> 7.6.2.

7.6.5 <text:database-row-select>

The <text:database-row-select> element selects a specific row from a current selection.

The <text:database-row-select> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:database-row-select> element has the following attributes: text:condition 19.782, text:database-name 19.797, text:row-number 19.865, text:table-name 19.884 and text:table-type 19.885.

The <text:database-row-select> element has the following child element: <form:connection-resource> 7.6.2.

7.6.6 <text:database-row-number>

The <text:database-row-number> element displays the current row number for a given table. The element displays the row number from a database and not the row number of a current selection that is used as an attribute value in the <text:database-row-select> element.

The <text:database-row-number> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:database-row-number> element has the following attributes: style:num-format 19.504, style:num-letter-sync 19.505, text:database-name 19.797, text:table-name 19.884, text:table-type 19.885 and text:value 19.906.

The <text:database-row-number> element has the following child element: <form:connection-resource> 7.6.2.

The <text:database-row-number> element has character data content.

7.6.7 <text:database-name>

The <text:database-name> element displays the database and table name of the last used table.

The <text:database-name> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:database-name> element has the following attributes: text:database-name 19.797, text:table-name 19.884 and text:table-type 19.885.

The <text:database-name> element has the following child element: <form:connection-resource> 7.6.2.

The <text:database-name> element has character data content.

7.7 More Fields

7.7.1 Page Variable Fields

7.7.1.1 General

Page variables enable an alternative page numbering to be defined for documents. Each page has only one active set page variable field.  The calculation of a page variable is controlled by the text:active attribute

7.7.1.2 <text:page-variable-set>

The <text:page-variable-set> element is used to set a page variable.

The <text:page-variable-set> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:page-variable-set> element has the following attributes: text:active 19.755 and text:page-adjust 19.851.

The <text:page-variable-set> element has no child elements.

The <text:page-variable-set> element has character data content.

7.7.1.3 <text:page-variable-get>

The <text:page-variable-get> element displays the value of a page variable.

If the text:active attribute 19.755, has the value of false, the <text:page-variable-get> element will have no display for that page.

The <text:page-variable-get> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:page-variable-get> element has the following attributes: style:num-format 19.504 and style:num-letter-sync 19.505.

The <text:page-variable-get> element has no child elements.

The <text:page-variable-get> element has character data content.

7.7.2 <text:placeholder>

The <text:placeholder> element is a placeholder for replacement by content of a particular type as specified in the mandatory text:placeholder-type attribute.

OpenDocument consumers that support the <text:placeholder> element shall use the text:description attribute value as the placeholder text, and shall ensure that this text clearly indicates that it is a placeholder for content of the specified type.

The <text:placeholder> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:placeholder> element has the following attributes: text:description 19.801 and text:placeholder-type 19.853.

The <text:placeholder> element has no child elements.

The <text:placeholder> element has character data content.

7.7.3 <text:conditional-text>

The <text:conditional-text> element specifies a condition for display of one text string or another. If the condition is true, the text:string-value-if-true 19.879 attribute value is displayed. If the condition is false, the text:string-value-if-false 19.878 attribute value is displayed.

The <text:conditional-text> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:conditional-text> element has the following attributes: text:condition 19.782, text:current-value 19.791, text:string-value-if-false 19.878 and text:string-value-if-true 19.879.

The <text:conditional-text> element has no child elements.

The <text:conditional-text> element has character data content.

7.7.4 <text:hidden-text>

The <text:hidden-text> element hides the text it contains when its text:condition attribute evaluates to true.

(more edits pending here)

If its text:condition attribute is missing or evaluates to false, the text content is displayed.

The <text:hidden-text> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:hidden-text> element has the following attributes: text:condition 19.782, text:is-hidden 19.821 and text:string-value 19.877.

The <text:hidden-text> element has no child elements.

The <text:hidden-text> element has character data content.

7.7.5 <text:reference-ref>

The <text:reference-ref> element represents a field that references a <text:reference-mark-start> 6.2.2.3 or <text:reference-mark> 6.2.2.2 element. Its text:reference-format 19.860 attribute specifies what is displayed according to the context of he referenced element.

The <text:reference-ref> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:reference-ref> element has the following attributes: text:ref-name 19.859 and text:reference-format 19.860.

The <text:reference-ref> element has no child elements.

7.7.6 <text:bookmark-ref>

The <text:bookmark-ref> element represents a field that references a <text:bookmark-start> 6.2.1.3 or <text:bookmark> 6.2.1.2 element. Its text:reference-format 19.860 attribute specifies what is displayed according to the context of the referenced element.

The <text:bookmark-ref> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:bookmark-ref> element has the following attributes: text:ref-name 19.859 and text:reference-format 19.860.

The <text:bookmark-ref> element has no child elements.

7.7.7 <text:note-ref>

The <text:note-ref> element represents a field that references a <text:note> 6.3.2 element. Its text:reference-format 19.860 attribute specifies what is displayed from the referenced element.

The <text:note-ref> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:note-ref> element has the following attributes: text:note-class 19.843, text:ref-name 19.859 and text:reference-format 19.860.

The <text:note-ref> element has no child elements.

7.7.8 <text:sequence-ref>

The <text:sequence-ref> element represents a field that references a <text:sequence> 7.4.13 element. Its text:reference-format 19.860 attribute specifies what is displayed according to the context of the referenced element.

The <text:sequence-ref> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sequence-ref> element has the following attributes: text:ref-name 19.859 and text:reference-format 19.860.

The <text:sequence-ref> element has no child elements.

7.7.9 <text:script>

The <text:script> element represents a field that stores scripts or sections of scripts.

Note: The primary purpose of this field is to provide an equivalent to the <script> element in [HTML4], so that the content of a <script> element in HTML can be imported, edited, and exported using office application software.

The source code for the script can be stored in one of the following ways:

  • The <text:script> element contains the source code. 

  • The source code is stored in an external file. The xlink:href attribute specifies the location of the source file. 

The element shall have either an xlink:href attribute or content, but not both.

The <text:script> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:script> element has the following attributes: script:language 19.434, xlink:href 19.916 and xlink:type 19.919.

The <text:script> element has no child elements.

The <text:script> element has character data content. Character data content is only permitted if a xlink:href attribute is not present.

7.7.10 <text:execute-macro>

The <text:execute-macro> element represents a field that contains the name of a macro that is executed when the field is activated. The element may contain a text description of the macro. The name of the macro to be executed is specified by the text:name attribute.

The <text:execute-macro> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:execute-macro> element has the following attribute: text:name 19.841.

The <text:execute-macro> element has the following child element: <office:event-listeners> 10.3.19.

The <text:execute-macro> element has character data content.

7.7.11 <text:hidden-paragraph>

The <text:hidden-paragraph> element is a field that represents a condition. If the condition evaluates to false, the paragraph where this element appears is displayed unless the paragraph is enclosed in any other hiding element. If the condition evaluates to true, the paragraph is hidden unless the paragraph contains another <text:hidden-paragraph> element whose condition evaluates to false.

The <text:hidden-paragraph> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:hidden-paragraph> element has the following attributes: text:condition 19.782 and text:is-hidden 19.821.

The <text:hidden-paragraph> element has no child elements.

The <text:hidden-paragraph> element has character data content.

7.7.12 <text:dde-connection>

The <text:dde-connection> element represents a field that is information from a DDE connection. The content of this field is the last data that was received from a DDE connection. This is used as the content of this field if the DDE connection cannot be accessed.

See 14.7 for the use of DDE connections.

The <text:dde-connection> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:dde-connection> element has the following attribute: text:connection-name 19.783.

The <text:dde-connection> element has no child elements.

The <text:dde-connection> element has character data content.

7.7.13 <text:measure>

The <text:measure> element represents a field that displays measure text. It can only be used within text that is contained in measure drawing objects.

The <text:measure> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:measure> element has the following attribute: text:kind 19.831.

The <text:measure> element has no child elements.

The <text:measure> element has character data content.

7.7.14 <text:table-formula> (deprecated)

The <text:table-formula> element field is deprecated. It stores a formula to be used in tables.

The <text:table-formula> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:table-formula> element has the following attributes: style:data-style-name 19.473, text:display 19.802 and text:formula 19.811.

The <text:table-formula> element has no child elements.

The <text:table-formula> element has character data content.

8 Text Indexes

8.1 Index Marks

8.1.1 General

OpenDocument text documents may contain automatically generated indexes. An index contains a sorted list of items of a specified type, where the sorting and the type of items are determined by the type of index.

There are three types of index marks that correspond to the three types of index that make use of index marks. The three types of index marks are:

The rules for index marks are:

8.1.2 <text:toc-mark-start>

The <text:toc-mark-start> element marks the start of a table of contents index entry.

The <text:toc-mark-start> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:toc-mark-start> element has the following attributes: text:id 19.815 and text:outline-level 19.850.

The <text:toc-mark-start> element has no child elements.

8.1.3 <text:toc-mark-end>

The <text:toc-mark-end> element marks the end of a table of contents index entry.

The <text:toc-mark-end> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:toc-mark-end> element has the following attribute: text:id 19.815.

The <text:toc-mark-end> element has no child elements.

8.1.4 <text:toc-mark>

The <text:toc-mark> element represents a table of content index mark that does not enclose content.

The <text:toc-mark> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:toc-mark> element has the following attributes: text:outline-level 19.850 and text:string-value 19.877.

The <text:toc-mark> element has no child elements.

8.1.5 <text:user-index-mark-start>

The <text:user-index-mark-start> element marks the start of a user-defined index entry.

The <text:user-index-mark-start> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:user-index-mark-start> element has the following attributes: text:id 19.815, text:index-name 19.817 and text:outline-level 19.850.

The <text:user-index-mark-start> element has no child elements.

8.1.6 <text:user-index-mark-end>

The <text:user-index-mark-end> element marks the end of the user-defined index entry.

The <text:user-index-mark-end> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:user-index-mark-end> element has the following attribute: text:id 19.815.

The <text:user-index-mark-end> element has no child elements.

8.1.7 <text:user-index-mark>

The <text:user-index-mark> element represents a user-defined index mark that does not enclose content.

The <text:user-index-mark> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:user-index-mark> element has the following attributes: text:index-name 19.817, text:outline-level 19.850 and text:string-value 19.877.

The <text:user-index-mark> element has no child elements.

8.1.8 <text:alphabetical-index-mark-start>

The <text:alphabetical-index-mark-start> element marks the start of an alphabetical index entry.

The <text:alphabetical-index-mark-start> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:alphabetical-index-mark-start> element has the following attributes: text:id 19.815, text:key1 19.827, text:key1-phonetic 19.829, text:key2 19.828, text:key2-phonetic 19.830, text:main-entry 19.837 and text:string-value-phonetic 19.876.

The <text:alphabetical-index-mark-start> element has no child elements.

8.1.9 <text:alphabetical-index-mark-end>

The <text:alphabetical-index-mark-end> element marks the end of an alphabetical index entry.

The <text:alphabetical-index-mark-end> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:alphabetical-index-mark-end> element has the following attribute: text:id 19.815.

The <text:alphabetical-index-mark-end> element has no child elements.

8.1.10 <text:alphabetical-index-mark>

The <text:user-index-mark> element represents a user-defined index mark that does not enclose content.

The <text:alphabetical-index-mark> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:alphabetical-index-mark> element has the following attributes: text:key1 19.827, text:key1-phonetic 19.829, text:key2 19.828, text:key2-phonetic 19.830, text:main-entry 19.837, text:string-value 19.877 and text:string-value-phonetic 19.876.

The <text:alphabetical-index-mark> element has no child elements.

8.1.11 <text:bibliography-mark>

The <text:bibliography-mark> element contains the text and information for a bibliography index entry.

The <text:bibliography-mark> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:bibliography-mark> element has the following attributes: text:address 19.756, text:annote 19.760, text:author 19.761, text:bibliography-type 19.763, text:booktitle 19.764, text:chapter 19.772, text:custom1 19.792, text:custom2 19.793, text:custom3 19.794, text:custom4 19.795, text:custom5 19.796, text:edition 19.806, text:editor 19.807, text:howpublished 19.813, text:identifier 19.816, text:institution 19.820, text:isbn 19.823, text:issn 19.824, text:journal 19.825, text:month 19.840, text:note 19.842, text:number 19.844, text:organizations 19.849, text:pages 19.852, text:publisher 19.858, text:report-type 19.862, text:school 19.866, text:series 19.868, text:title 19.888, text:url 19.890, text:volume 19.908 and text:year 19.909.

The <text:bibliography-mark> element has no child elements.

The <text:bibliography-mark> element has character data content.

8.2 Index Structure

8.2.1 General

An index consists of two parts: the index source, and the index body.

The index source is specific to the type of index it is being used for. It contains the information necessary to generate the index content.

8.2.2 <text:index-body>

The <text:index-body> element contains an index.

The <text:index-body> element is used for all types of indexes. It contains the index content generated to form the index.

The <text:index-body> element is usable within the following elements: <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:illustration-index> 8.4, <text:object-index> 8.6, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

The <text:index-body> element has no attributes.

The <text:index-body> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:change> 5.5.8.4, <text:change-end> 5.5.8.3, <text:change-start> 5.5.8.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:index-title> 8.2.3, <text:list> 5.3.1, <text:numbered-paragraph> 5.3.6, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:soft-page-break> 5.6, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

8.2.3 <text:index-title>

The <text:index-title> element contains the title of an index.

The <text:index-title> element is usable within the following elements: <style:footer> 16.12, <style:footer-first> 16.13, <style:footer-left> 16.15, <style:header> 16.10, <style:header-first> 16.11, <style:header-left> 16.14, <text:index-body> 8.2.2 and <text:index-title> 8.2.3.

The <text:index-title> element has the following attributes: text:name 19.841, text:protected 19.855, text:protection-key 19.856, text:protection-key-digest-algorithm 19.857, text:style-name 19.880 and xml:id 19.920.

The <text:index-title> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:change> 5.5.8.4, <text:change-end> 5.5.8.3, <text:change-start> 5.5.8.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:index-title> 8.2.3, <text:list> 5.3.1, <text:numbered-paragraph> 5.3.6, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:soft-page-break> 5.6, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

8.3 <text:table-of-content>

8.3.1 General

The <text:table-of-content> element represents a table of contents for a document.

The items that can be listed in a table of contents are:

Note: Paragraphs may be selected for inclusion in a table of contents based on their styles. Selection is based on a paragraph's style matching a style specified by the <text:index-source-styles> child element of a <text:table-of-content-source> child element of a <text:table-of-content> element, when the text:use-index-source-styles attribute of the child <text:index-source-styles> element has the value true.

The <text:table-of-content> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.12, <style:footer-first> 16.13, <style:footer-left> 16.15, <style:header> 16.10, <style:header-first> 16.11, <style:header-left> 16.14, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.5, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:table-of-content> element has the following attributes: text:name 19.841, text:protected 19.855, text:protection-key 19.856, text:protection-key-digest-algorithm 19.857, text:style-name 19.880 and xml:id 19.920.

The <text:table-of-content> element has the following child elements: <text:index-body> 8.2.2 and <text:table-of-content-source> 8.3.2.

8.3.2 <text:table-of-content-source>

The <text:table-of-content-source> element specifies how a table of contents is generated. It also specifies the styles to be applied to index entries.

The <text:table-of-content-source> element is usable within the following element: <text:table-of-content> 8.3.

The <text:table-of-content-source> element has the following attributes: text:index-scope 19.818, text:outline-level 19.850, text:relative-tab-stop-position 19.861, text:use-index-marks 19.896, text:use-index-source-styles 19.897 and text:use-outline-level 19.902.

The <text:table-of-content-source> element has the following child elements: <text:index-source-styles> 8.10, <text:index-title-template> 8.12 and <text:table-of-content-entry-template> 8.3.3.

8.3.3 <text:table-of-content-entry-template>

The <text:table-of-content-entry-template> element specifies the format of an index entry for a specified outline level.

For each <text:table-of-content-source> element, there shall not be more than one <text:table-of-content-entry-template> for a specified outline level.

The <text:table-of-content-entry-template> element is usable within the following element: <text:table-of-content-source> 8.3.2.

The <text:table-of-content-entry-template> element has the following attributes: text:outline-level 19.850 and text:style-name 19.880.

The <text:table-of-content-entry-template> element has the following child elements: <text:index-entry-chapter> 8.13.1, <text:index-entry-link-end> 8.13.8, <text:index-entry-link-start> 8.13.7, <text:index-entry-page-number> 8.13.3, <text:index-entry-span> 8.13.4, <text:index-entry-tab-stop> 8.13.6 and <text:index-entry-text> 8.13.2.

8.4 <text:illustration-index>

8.4.1 General

The <text:illustration-index> element represents an index of the images and graphics in a current document or chapter.

The <text:illustration-index> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.12, <style:footer-first> 16.13, <style:footer-left> 16.15, <style:header> 16.10, <style:header-first> 16.11, <style:header-left> 16.14, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.5, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:illustration-index> element has the following attributes: text:name 19.841, text:protected 19.855, text:protection-key 19.856, text:protection-key-digest-algorithm 19.857, text:style-name 19.880 and xml:id 19.920.

The <text:illustration-index> element has the following child elements: <text:illustration-index-source> 8.4.2 and <text:index-body> 8.2.2.

8.4.2 <text:illustration-index-source>

The <text:illustration-index-source> element specifies how an index of illustrations is generated.

The <text:illustration-index-source> element is usable within the following element: <text:illustration-index> 8.4.

The <text:illustration-index-source> element has the following attributes: text:caption-sequence-format 19.769, text:caption-sequence-name 19.770, text:index-scope 19.818, text:relative-tab-stop-position 19.861 and text:use-caption 19.891.

The <text:illustration-index-source> element has the following child elements: <text:illustration-index-entry-template> 8.4.3 and <text:index-title-template> 8.12.

8.4.3 <text:illustration-index-entry-template>

The <text:illustration-index-entry-template> element specifies the format of an index entry.

The <text:illustration-index-entry-template> element is usable within the following element: <text:illustration-index-source> 8.4.2.

The <text:illustration-index-entry-template> element has the following attribute: text:style-name 19.880.

The <text:illustration-index-entry-template> element has the following child elements: <text:index-entry-chapter> 8.13.1, <text:index-entry-link-end> 8.13.8, <text:index-entry-link-start> 8.13.7, <text:index-entry-page-number> 8.13.3, <text:index-entry-span> 8.13.4, <text:index-entry-tab-stop> 8.13.6 and <text:index-entry-text> 8.13.2.

8.5 <text:table-index>

8.5.1 General

The <text:table-index> element represents an index of the tables in a document or chapter.

The <text:table-index> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.12, <style:footer-first> 16.13, <style:footer-left> 16.15, <style:header> 16.10, <style:header-first> 16.11, <style:header-left> 16.14, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.5, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:table-index> element has the following attributes: text:name 19.841, text:protected 19.855, text:protection-key 19.856, text:protection-key-digest-algorithm 19.857, text:style-name 19.880 and xml:id 19.920.

The <text:table-index> element has the following child elements: <text:index-body> 8.2.2 and <text:table-index-source> 8.5.2.

8.5.2 <text:table-index-source>

The <text:table-index-source> element specifies how an index of tables is generated.

The <text:table-index-source> element is usable within the following element: <text:table-index> 8.5.

The <text:table-index-source> element has the following attributes: text:caption-sequence-format 19.769, text:caption-sequence-name 19.770, text:index-scope 19.818, text:relative-tab-stop-position 19.861 and text:use-caption 19.891.

The <text:table-index-source> element has the following child elements: <text:index-title-template> 8.12 and <text:table-index-entry-template> 8.5.3.

8.5.3 <text:table-index-entry-template>

The <text:table-index-entry-template> element specifies the format of an index entry.

The <text:table-index-entry-template> element is usable within the following element: <text:table-index-source> 8.5.2.

The <text:table-index-entry-template> element has the following attribute: text:style-name 19.880.

The <text:table-index-entry-template> element has the following child elements: <text:index-entry-chapter> 8.13.1, <text:index-entry-link-end> 8.13.8, <text:index-entry-link-start> 8.13.7, <text:index-entry-page-number> 8.13.3, <text:index-entry-span> 8.13.4, <text:index-entry-tab-stop> 8.13.6 and <text:index-entry-text> 8.13.2.

8.6 <text:object-index>

8.6.1 General

The <text:object-index> element represents an index of the objects in a document or chapter. The types of objects that should be included in the index are defined by the <text:object-index-source> element. 8.6.2

The <text:object-index> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.12, <style:footer-first> 16.13, <style:footer-left> 16.15, <style:header> 16.10, <style:header-first> 16.11, <style:header-left> 16.14, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.5, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:object-index> element has the following attributes: text:name 19.841, text:protected 19.855, text:protection-key 19.856, text:protection-key-digest-algorithm 19.857, text:style-name 19.880 and xml:id 19.920.

The <text:object-index> element has the following child elements: <text:index-body> 8.2.2 and <text:object-index-source> 8.6.2.

8.6.2 <text:object-index-source>

The <text:object-index-source> element specifies which object types to include in the index of objects.

The <text:object-index-source> element is usable within the following element: <text:object-index> 8.6.

The <text:object-index-source> element has the following attributes: text:index-scope 19.818, text:relative-tab-stop-position 19.861, text:use-chart-objects 19.892, text:use-draw-objects 19.893, text:use-math-objects 19.899, text:use-other-objects 19.901 and text:use-spreadsheet-objects 19.904.

The <text:object-index-source> element has the following child elements: <text:index-title-template> 8.12 and <text:object-index-entry-template> 8.6.3.

8.6.3 <text:object-index-entry-template>

The <text:object-index-entry-template> element specifies the format of an index entry.

The <text:object-index-entry-template> element is usable within the following element: <text:object-index-source> 8.6.2.

The <text:object-index-entry-template> element has the following attribute: text:style-name 19.880.

The <text:object-index-entry-template> element has the following child elements: <text:index-entry-chapter> 8.13.1, <text:index-entry-link-end> 8.13.8, <text:index-entry-link-start> 8.13.7, <text:index-entry-page-number> 8.13.3, <text:index-entry-span> 8.13.4, <text:index-entry-tab-stop> 8.13.6 and <text:index-entry-text> 8.13.2.

8.7 <text:user-index>

8.7.1 General

The <text:user-index> element represents a user-defined index. A user-defined index may include entries from the following sources:

The <text:user-index> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.12, <style:footer-first> 16.13, <style:footer-left> 16.15, <style:header> 16.10, <style:header-first> 16.11, <style:header-left> 16.14, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.5, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:user-index> element has the following attributes: text:name 19.841, text:protected 19.855, text:protection-key 19.856, text:protection-key-digest-algorithm 19.857, text:style-name 19.880 and xml:id 19.920.

The <text:user-index> element has the following child elements: <text:index-body> 8.2.2 and <text:user-index-source> 8.7.2.

8.7.2 <text:user-index-source>

The <text:user-index-source> element defines the generation of user-defined indexes.

The <text:user-index-source> element is usable within the following element: <text:user-index> 8.7.

The <text:user-index-source> element has the following attributes: text:copy-outline-levels 19.787, text:index-name 19.817, text:index-scope 19.818, text:relative-tab-stop-position 19.861, text:use-floating-frames 19.894, text:use-graphics 19.895, text:use-index-marks 19.896, text:use-index-source-styles 19.897, text:use-objects 19.900 and text:use-tables 19.905.

The <text:user-index-source> element has the following child elements: <text:index-source-styles> 8.10, <text:index-title-template> 8.12 and <text:user-index-entry-template> 8.7.3.

8.7.3 <text:user-index-entry-template>

The <text:user-index-entry-template> element contains entry elements for chapter number, page number, entry text, text spans, and tab stops.

The <text:user-index-entry-template> element is usable within the following element: <text:user-index-source> 8.7.2.

The <text:user-index-entry-template> element has the following attributes: text:outline-level 19.850 and text:style-name 19.880.

The <text:user-index-entry-template> element has the following child elements: <text:index-entry-chapter> 8.13.1, <text:index-entry-link-end> 8.13.8, <text:index-entry-link-start> 8.13.7, <text:index-entry-page-number> 8.13.3, <text:index-entry-span> 8.13.4, <text:index-entry-tab-stop> 8.13.6 and <text:index-entry-text> 8.13.2.

8.8 <text:alphabetical-index>

8.8.1 General

The <text:alphabetical-index> element represents an index which is based on alphabetical index marks. The entries in an alphabetical index are sorted.

Note: Sort orders are locale-specific.

The <text:alphabetical-index> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.12, <style:footer-first> 16.13, <style:footer-left> 16.15, <style:header> 16.10, <style:header-first> 16.11, <style:header-left> 16.14, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.5, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:alphabetical-index> element has the following attributes: text:name 19.841, text:protected 19.855, text:protection-key 19.856, text:protection-key-digest-algorithm 19.857, text:style-name 19.880 and xml:id 19.920.

The <text:alphabetical-index> element has the following child elements: <text:alphabetical-index-source> 8.8.2 and <text:index-body> 8.2.2.

8.8.2 <text:alphabetical-index-source>

The <text:alphabetical-index-source> element specifies how an alphabetical index is generated.

The <text:alphabetical-index-source> element is usable within the following element: <text:alphabetical-index> 8.8.

The <text:alphabetical-index-source> element has the following attributes: fo:country 19.234, fo:language 19.236, fo:script 19.242, style:rfc-language-tag 19.516, text:alphabetical-separators 19.757, text:capitalize-entries 19.767, text:combine-entries 19.777, text:combine-entries-with-dash 19.778, text:combine-entries-with-pp 19.779, text:comma-separated 19.780, text:ignore-case 19.819, text:index-scope 19.818, text:main-entry-style-name 19.838, text:relative-tab-stop-position 19.861, text:sort-algorithm 19.871 and text:use-keys-as-entries 19.898.

The <text:alphabetical-index-source> element has the following child elements: <text:alphabetical-index-entry-template> 8.8.4 and <text:index-title-template> 8.12.

8.8.3 <text:alphabetical-index-auto-mark-file>

The <text:alphabetical-index-auto-mark-file> element specifies an auto mark file. An auto mark file is a file that defines a list of terms that may be used by consumers to automatically insert alphabetical index marks (see 8.1.8, 8.1.10).

The format of an index mark file is implementation-defined.

The <text:alphabetical-index-auto-mark-file> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7, <office:text> 3.4, <style:footer> 16.12, <style:footer-first> 16.13, <style:footer-left> 16.15, <style:header> 16.10, <style:header-first> 16.11 and <style:header-left> 16.14.

The <text:alphabetical-index-auto-mark-file> element has the following attributes: xlink:href 19.916 and xlink:type 19.919.

The <text:alphabetical-index-auto-mark-file> element has no child elements.

8.8.4 <text:alphabetical-index-entry-template>

The <text:alphabetical-index-entry-template> element specifies the format of an alphabetical index entry.

The <text:alphabetical-index-entry-template> element is usable within the following element: <text:alphabetical-index-source> 8.8.2.

The <text:alphabetical-index-entry-template> element has the following attributes: text:outline-level 19.850 and text:style-name 19.880.

The <text:alphabetical-index-entry-template> element has the following child elements: <text:index-entry-chapter> 8.13.1, <text:index-entry-page-number> 8.13.3, <text:index-entry-span> 8.13.4, <text:index-entry-tab-stop> 8.13.6 and <text:index-entry-text> 8.13.2.

8.9 <text:bibliography>

8.9.1 General

The <text:bibliography> element represents a bibliography constructed from bibliography index marks.

The <text:bibliography> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.12, <style:footer-first> 16.13, <style:footer-left> 16.15, <style:header> 16.10, <style:header-first> 16.11, <style:header-left> 16.14, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.5, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:bibliography> element has the following attributes: text:name 19.841, text:protected 19.855, text:protection-key 19.856, text:protection-key-digest-algorithm 19.857, text:style-name 19.880 and xml:id 19.920.

The <text:bibliography> element has the following child elements: <text:bibliography-source> 8.9.2 and <text:index-body> 8.2.2.

8.9.2 <text:bibliography-source>

The <text:bibliography-source> element specifies how a bibliography is generated.

The <text:bibliography-source> element is usable within the following element: <text:bibliography> 8.9.

The <text:bibliography-source> element has no attributes.

The <text:bibliography-source> element has the following child elements: <text:bibliography-entry-template> 8.9.3 and <text:index-title-template> 8.12.

8.9.3 <text:bibliography-entry-template>

The <text:bibliography-entry-template> element specifies the formatting for a bibliographic entry.

There shall be no more than one <text:bibliography-entry-template> element for each type of entry within any <text:bibliography-source> element. 8.9.2

The <text:bibliography-entry-template> element is usable within the following element: <text:bibliography-source> 8.9.2.

The <text:bibliography-entry-template> element has the following attributes: text:bibliography-type 19.763 and text:style-name 19.880.

The <text:bibliography-entry-template> element has the following child elements: <text:index-entry-bibliography> 8.13.5, <text:index-entry-span> 8.13.4 and <text:index-entry-tab-stop> 8.13.6.

8.10 <text:index-source-styles>

The <text:index-source-styles> element contains all of the <text:index-source-style> elements for a specified outline level. There can only be one <text:index-source-styles> element for each outline level.

The <text:index-source-styles> element is usable within the following elements: <text:table-of-content-source> 8.3.2 and <text:user-index-source> 8.7.2.

The <text:index-source-styles> element has the following attribute: text:outline-level 19.850.

The <text:index-source-styles> element has the following child element: <text:index-source-style> 8.11.

8.11 <text:index-source-style>

The <text:index-source-style> element specifies the name of a style or a class. Paragraphs formatted using that style or class are included in the index.

The <text:index-source-style> element is usable within the following element: <text:index-source-styles> 8.10.

The <text:index-source-style> element has the following attribute: text:style-name 19.880.

The <text:index-source-style> element has no child elements.

8.12 <text:index-title-template>

The <text:index-title-template> element specifies the style and content of the index title. There can only be one <text:index-title-template> element contained in a <text:table-of-content-source> element.

The <text:index-title-template> element is usable within the following elements: <text:alphabetical-index-source> 8.8.2, <text:bibliography-source> 8.9.2, <text:illustration-index-source> 8.4.2, <text:object-index-source> 8.6.2, <text:table-index-source> 8.5.2, <text:table-of-content-source> 8.3.2 and <text:user-index-source> 8.7.2.

The <text:index-title-template> element has the following attribute: text:style-name 19.880.

The <text:index-title-template> element has no child elements.

The <text:index-title-template> element has character data content.

8.13 Index Template Entries

8.13.1 <text:index-entry-chapter>

The <text:index-entry-chapter> element represents the chapter number where an index entry is located.

The <text:index-entry-chapter> element is usable within the following elements: <text:alphabetical-index-entry-template> 8.8.4, <text:illustration-index-entry-template> 8.4.3, <text:object-index-entry-template> 8.6.3, <text:table-index-entry-template> 8.5.3, <text:table-of-content-entry-template> 8.3.3 and <text:user-index-entry-template> 8.7.3.

The <text:index-entry-chapter> element has the following attributes: text:display 19.802, text:outline-level 19.850 and text:style-name 19.880.

The <text:index-entry-chapter> element has no child elements.

8.13.2 <text:index-entry-text>

The <text:index-entry-text> element contains the text of an index entry.

The <text:index-entry-text> element is usable within the following elements: <text:alphabetical-index-entry-template> 8.8.4, <text:illustration-index-entry-template> 8.4.3, <text:object-index-entry-template> 8.6.3, <text:table-index-entry-template> 8.5.3, <text:table-of-content-entry-template> 8.3.3 and <text:user-index-entry-template> 8.7.3.

The <text:index-entry-text> element has the following attribute: text:style-name 19.880.

The <text:index-entry-text> element has no child elements.

8.13.3 <text:index-entry-page-number>

The <text:index-entry-page-number> element represents the number of the chapter where an index entry is located.

The <text:index-entry-page-number> element is usable within the following elements: <text:alphabetical-index-entry-template> 8.8.4, <text:illustration-index-entry-template> 8.4.3, <text:object-index-entry-template> 8.6.3, <text:table-index-entry-template> 8.5.3, <text:table-of-content-entry-template> 8.3.3 and <text:user-index-entry-template> 8.7.3.

The <text:index-entry-page-number> element has the following attribute: text:style-name 19.880.

The <text:index-entry-page-number> element has no child elements.

8.13.4 <text:index-entry-span>

The <text:index-entry-span> element represents a fixed string within an index entry.

The <text:index-entry-span> element is usable within the following elements: <text:alphabetical-index-entry-template> 8.8.4, <text:bibliography-entry-template> 8.9.3, <text:illustration-index-entry-template> 8.4.3, <text:object-index-entry-template> 8.6.3, <text:table-index-entry-template> 8.5.3, <text:table-of-content-entry-template> 8.3.3 and <text:user-index-entry-template> 8.7.3.

The <text:index-entry-span> element has the following attribute: text:style-name 19.880.

The <text:index-entry-span> element has no child elements.

The <text:index-entry-span> element has character data content.

8.13.5 <text:index-entry-bibliography>

The <text:index-entry-bibliography> element specifies the field of a bibliographic entry that will be displayed in an index.

The <text:index-entry-bibliography> element is usable within the following element: <text:bibliography-entry-template> 8.9.3.

The <text:index-entry-bibliography> element has the following attributes: text:bibliography-data-field 19.762 and text:style-name 19.880.

The <text:index-entry-bibliography> element has no child elements.

8.13.6 <text:index-entry-tab-stop>

The <text:index-entry-tab-stop> element represents a tab stop within an index entry.

The <text:index-entry-tab-stop> element is usable within the following elements: <text:alphabetical-index-entry-template> 8.8.4, <text:bibliography-entry-template> 8.9.3, <text:illustration-index-entry-template> 8.4.3, <text:object-index-entry-template> 8.6.3, <text:table-index-entry-template> 8.5.3, <text:table-of-content-entry-template> 8.3.3 and <text:user-index-entry-template> 8.7.3.

The <text:index-entry-tab-stop> element has the following attributes: style:leader-char 19.487, style:position 19.512, style:type 19.519 and text:style-name 19.880.

The <text:index-entry-tab-stop> element has no child elements.

8.13.7 <text:index-entry-link-start>

The <text:index-entry-link-start> element represents the start of a hyperlink index entry.

The <text:index-entry-link-start> element is usable within the following elements: <text:illustration-index-entry-template> 8.4.3, <text:object-index-entry-template> 8.6.3, <text:table-index-entry-template> 8.5.3, <text:table-of-content-entry-template> 8.3.3 and <text:user-index-entry-template> 8.7.3.

The <text:index-entry-link-start> element has the following attribute: text:style-name 19.880.

The <text:index-entry-link-start> element has no child elements.

8.13.8 <text:index-entry-link-end>

The <text:index-entry-link-end> element represents the end of a hyperlink index entry.

The <text:index-entry-link-end> element is usable within the following elements: <text:illustration-index-entry-template> 8.4.3, <text:object-index-entry-template> 8.6.3, <text:table-index-entry-template> 8.5.3, <text:table-of-content-entry-template> 8.3.3 and <text:user-index-entry-template> 8.7.3.

The <text:index-entry-link-end> element has the following attribute: text:style-name 19.880.

The <text:index-entry-link-end> element has no child elements.

9 Tables

9.1 Basic Tables

9.1.1 General

The representation of tables is based on the concept of grids of rows and columns. In markup, rows are partitioned into table cells. Columns are implied by taking together all cells with the same position within the rows.

Rows and columns appear in row groups and column groups. These groups specify whether to repeat a row or column on the next page.

Note: There is only one model for tables, although tables, such as for spreadsheets, may have additional capabilities when compared to tables in text documents.

Tables may be nested; that is, tables may occur within tables.

9.1.2 <table:table>

The <table:table> element is the root element for a table.

The <table:table> element is usable within the following elements: <chart:chart> 11.1, <draw:frame> 10.4.2, <draw:text-box> 10.4.3, <office:spreadsheet> 3.7, <office:text> 3.4, <style:footer> 16.12, <style:footer-first> 16.13, <style:footer-left> 16.15, <style:header> 16.10, <style:header-first> 16.11, <style:header-left> 16.14, <table:covered-table-cell> 9.1.5, <table:dde-link> 14.7.4, <table:table-cell> 9.1.4, <text:deletion> 5.5.5, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <table:table> element has the following attributes: table:is-sub-table 19.659, table:name 19.677, table:print 19.697, table:print-ranges 19.698, table:protected 19.700, table:protection-key 19.701, table:protection-key-digest-algorithm 19.702, table:style-name 19.730, table:template-name 19.737, table:use-banding-columns-styles 19.741, table:use-banding-rows-styles 19.742, table:use-first-column-styles 19.743, table:use-first-row-styles 19.744, table:use-last-column-styles 19.745, table:use-last-row-styles 19.746 and xml:id 19.920.

The <table:table> element has the following child elements: <office:dde-source> 14.7.5, <office:forms> 13.2, <table:desc> 9.1.14, <table:named-expressions> 9.4.11, <table:scenario> 9.2.7, <table:shapes> 9.2.8, <table:table-column> 9.1.6, <table:table-column-group> 9.1.10, <table:table-columns> 9.1.12, <table:table-header-columns> 9.1.11, <table:table-header-rows> 9.1.7, <table:table-row> 9.1.3, <table:table-row-group> 9.1.9, <table:table-rows> 9.1.8, <table:table-source> 9.2.6, <table:title> 9.1.13, <text:soft-page-break> 5.6.

9.1.3 <table:table-row>

The <table:table-row> element represents a row in a table. It contains elements that specify the cells of the table row.

The <table:table-row> element is usable within the following elements: <table:table> 9.1.2, <table:table-header-rows> 9.1.7, <table:table-row-group> 9.1.9 and <table:table-rows> 9.1.8.

The <table:table-row> element has the following attributes: table:default-cell-style-name 19.619, table:number-rows-repeated 19.681, table:style-name 19.730, table:visibility 19.754 and xml:id 19.920.

The <table:table-row> element has the following child elements: <table:covered-table-cell> 9.1.5 and <table:table-cell> 9.1.4.

9.1.4 <table:table-cell>

The <table:table-cell> element represents a table cell. It is contained in a table row element. A table cell can contain paragraphs and other text content as well as nested tables. Table cells may span multiple columns and rows. Table cells may be empty.

The <table:table-cell> element is usable within the following element: <table:table-row> 9.1.3.

The <table:table-cell> element has the following attributes: office:boolean-value 19.371, office:currency 19.373, office:date-value 19.374, office:string-value 19.383, office:time-value 19.386, office:value 19.388, office:value-type 19.389, table:content-validation-name 19.605, table:formula 19.646, table:number-columns-repeated 19.679, table:number-columns-spanned 19.680, table:number-matrix-columns-spanned 19.683, table:number-matrix-rows-spanned 19.684, table:number-rows-spanned 19.682, table:protect 19.699, table:protected 19.700, table:style-name 19.730, xhtml:about 19.911, xhtml:content 19.912, xhtml:datatype 19.913, xhtml:property 19.914 and xml:id 19.920.

The <table:table-cell> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:annotation> 14.1, <table:cell-range-source> 9.3.1, <table:detective> 9.3.2, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:change> 5.5.8.4, <text:change-end> 5.5.8.3, <text:change-start> 5.5.8.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:list> 5.3.1, <text:numbered-paragraph> 5.3.6, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:soft-page-break> 5.6, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

9.1.5 <table:covered-table-cell>

The <table:covered-table-cell> element represents cells that are covered by a <table:table-cell> 9.1.4 element that spans multiple columns or rows. The <table:covered-table-cell> elements occupy the same position in document order as the cells spanned. There is one <table:covered-table-cell> element for each cell that is spanned.

The <table:covered-table-cell> is often used by spreadsheet applications, where covered cells contain content.

The <table:covered-table-cell> element is usable within the following element: <table:table-row> 9.1.3.

The <table:covered-table-cell> element has the following attributes: office:boolean-value 19.371, office:currency 19.373, office:date-value 19.374, office:string-value 19.383, office:time-value 19.386, office:value 19.388, office:value-type 19.389, table:content-validation-name 19.605, table:formula 19.646, table:number-columns-repeated 19.679, table:protect 19.699, table:protected 19.700, table:style-name 19.730, xhtml:about 19.911, xhtml:content 19.912, xhtml:datatype 19.913, xhtml:property 19.914 and xml:id 19.920.

The <table:covered-table-cell> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:annotation> 14.1, <table:cell-range-source> 9.3.1, <table:detective> 9.3.2, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:change> 5.5.8.4, <text:change-end> 5.5.8.3, <text:change-start> 5.5.8.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:list> 5.3.1, <text:numbered-paragraph> 5.3.6, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:soft-page-break> 5.6, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

9.1.6 <table:table-column>

The <table:table-column> element specifies properties for one or more adjacent columns in a table.

The <table:table-column> element is usable within the following elements: <table:table> 9.1.2, <table:table-column-group> 9.1.10, <table:table-columns> 9.1.12 and <table:table-header-columns> 9.1.11.

The <table:table-column> element has the following attributes: table:default-cell-style-name 19.619, table:number-columns-repeated 19.679, table:style-name 19.730, table:visibility 19.754 and xml:id 19.920.

The <table:table-column> element has no child elements.

9.1.7 <table:table-header-rows>

The <table:table-header-rows> element represents header rows in a table. It is composed of adjacent <table:table-row> 9.1.3 elements.

Note: Use of the <table:table-header-rows> element increases accessibility. The use of styles to designate row headers diminishes accessibility.

If a table does not fit on a single page, table rows that are included in a <table:table-header-rows> element are automatically repeated on every page.

A table shall not contain more than one <table:table-header-rows> element, except that the table contains grouped rows defined by one or more <table:table-row-group> 9.1.9 elements. In this case, the table and each distinct group may contain one <table:table-header-rows> element, if and only if the table rows contained in the <table:table-header-rows> elements are adjacent.

Consumers that do not support header rows shall process header rows as non-header rows.

The <table:table-header-rows> element is usable within the following elements: <table:table> 9.1.2 and <table:table-row-group> 9.1.9.

The <table:table-header-rows> element has no attributes.

The <table:table-header-rows> element has the following child elements: <table:table-row> 9.1.3 and <text:soft-page-break> 5.6.

9.1.8 <table:table-rows>

The <table:table-rows> element specifies a sequence of one or more <table:table-row> 9.1.3 elements with optional <text:soft-page-break> 9.1.3 elements. The interpretation of the sequence is the same as if the <table:table-rows> start and end tags were not present.

The <table:table-rows> element is usable within the following elements: <table:table> 9.1.2 and <table:table-row-group> 9.1.9.

The <table:table-rows> element has no attributes.

The <table:table-rows> element has the following child elements: <table:table-row> 9.1.3 and <text:soft-page-break> 5.6.

9.1.9 <table:table-row-group>

The <table:table-row-group> element groups adjacent table rows. Every row group can contain header rows, and nested row groups. A row group can be visible or hidden.

The <table:table-row-group> element is usable within the following elements: <table:table> 9.1.2 and <table:table-row-group> 9.1.9.

The <table:table-row-group> element has the following attribute: table:display 19.621.

The <table:table-row-group> element has the following child elements: <table:table-header-rows> 9.1.7, <table:table-row> 9.1.3, <table:table-row-group> 9.1.9, <table:table-rows> 9.1.8, <text:soft-page-break> 5.6.

9.1.10 <table:table-column-group>

The <table:table-column-group> element groups adjacent table columns. Every column group can contain columns, header columns and nested column groups. A column group can be visible or hidden.

If a set of header columns and a column group overlap, the header column group breaks the column header set. That is, the <table:table-column-group> may contain <table:table-header-columns> elements, but not vice versa.

The <table:table-column-group> element is usable within the following elements: <table:table> 9.1.2 and <table:table-column-group> 9.1.10.

The <table:table-column-group> element has the following attribute: table:display 19.621.

The <table:table-column-group> element has the following child elements: <table:table-column> 9.1.6, <table:table-column-group> 9.1.10, <table:table-columns> 9.1.12, <table:table-header-columns> 9.1.11.

9.1.11 <table:table-header-columns>

The <table:table-header-columns> element represents column headers in a table. It is composed of adjacent <table:table-column> 9.1.6 elements.

Note: Use of the <table:table-header-columns> element increases accessibility The use of styles to designate header columns diminishes accessibility.

If a table does not fit on a single page, table columns that are included in a <table:table-header-columns> element are automatically repeated on every page.

A table shall not contain more than one <table:table-header-columns> element, except that the table contains grouped rows defined by one or more <table:table-column-group> 9.1.10 elements. In this case, the table and each distinct group may contain one <table:table-header-columns> element, if and only if the table columns contained in the <table:table-header-columns> elements are adjacent.

Consumers that do not support header columns shall process header column as non-header columns.

The <table:table-header-columns> element is usable within the following elements: <table:table> 9.1.2 and <table:table-column-group> 9.1.10.

The <table:table-header-columns> element has no attributes.

The <table:table-header-columns> element has the following child element: <table:table-column> 9.1.6.

9.1.12 <table:table-columns>

The <table:table-columns> element specifies a sequence of one or more <table:table-column> 9.1.6 elements. The interpretation of the sequence is the same as if the <table:table-columns> start and end tags were not present.

The <table:table-columns> element is usable within the following elements: <table:table> 9.1.2 and <table:table-column-group> 9.1.10.

The <table:table-columns> element has no attributes.

The <table:table-columns> element has the following child element: <table:table-column> 9.1.6.

9.1.13 <table:title>

The <table:title> element specifies a title for a table. The element shall not be used if the parent <table:table> 9.1.2 element is contained within a <draw:frame> 10.4.2 element. In that case, the table's title is specified the by <svg:title> 10.3.17 child element of <draw:frame>.

The <table:title> element is usable within the following element: <table:table> 9.1.2.

The <table:title> element has no attributes.

The <table:title> element has no child elements.

The <table:title> element has character data content.

9.1.14 <table:desc>

The <table:desc> element specifies a prose description of a table that may be used to support accessibility. See appendix  The element shall not be used if the parent <table:table> element is contained within a <draw:frame> 10.4.2 element. In that case, the table's description is specified the by <svg:desc> 10.3.18 child element of <draw:frame>.

The <table:desc> element is usable within the following element: <table:table> 9.1.2.

The <table:desc> element has no attributes.

The <table:desc> element has no child elements.

The <table:desc> element has character data content.

9.2 Advanced Tables

9.2.1 Referencing Table Cells

To reference cells in a table, cell addresses are used. Cell addresses are constructed as follows:

  1. 1)The name of the table. 

  2. 2)A dot “.” (U+002E, FULL STOP). 

  3. 3)An alphabetic value representing the column. The letter A represents column 1, B represents column 2, and so on. AA represents column 27, AB represents column 28, and so on. 

  4. 4)A numeric value representing the row. The number 1 represents the first row, the number 2 represents the second row, and so on. 

This means that A1 represents the cell in column 1 and row 1. B1 represents the cell in column 2 and row 1. A2 represents the cell in column 1 and row 2.

The structure of the address of a cell in a subtable is as follows:

  1. 1)The address of the cell that contains the subtable. 

  2. 2)A dot “.” (U+002E, FULL STOP). 

  3. 3)The address of the cell in the subtable. 

If the name of the table contains blanks, dots “.” (U+002E, FULL STOP) or apostrophes “'” (U+0027, APOSTROPHE), the name shall be quoted with apostrophes “'” (U+0027, APOSTROPHE). Any apostrophes in the name shall be escaped by doubling the”'”( U+0027, APOSTROPHE) character.

The behavior of a consumer when a cell is referenced but not declared is implementation-dependent.

9.2.2 Absolute and relative cell addressing

Cells can be referenced by using either absolute addresses or relative addresses. When an operation is performed on a table cell, absolute cell references do not change. Relative cell references are adapted to the address of the target cell of a copy operation.

To create an absolute address, a dollar sign “$” (U+0024, DOLLAR SIGN) shall be placed before each table name, column reference, and row reference. Absolute and relative references may be mixed within a single cell address. Absolute addresses shall contain a table name.

When differentiation between absolute and relative addresses is not necessary, the dollar signs in absolute addresses may be omitted.

9.2.3 Cell Range Address

A cell range is a number of adjacent cells forming a rectangular shape. The rectangle stretches from the cell on the logical top left to the cell on the logical bottom right.

A cell range address references a cell range. A cell range address consists of:

  1. 1)The address of the cell at the top left of the range. 

  2. 2)A colon “:” (U+003A, COLON). 

  3. 3)The address of the cell at the bottom right of the range. 

The smallest range is a single cell. The range address of a single cell is the same as the cell address.

9.2.4 Column and Row Range Addresses

Column and row addresses are cell range addresses that reference entire rows or columns.

The syntax of a row address is the same as a cell address, except the alphabetic values that indicate the column are omitted.

The syntax of a column address is the same as a cell address, except the numeric values that indicate the row are omitted.

9.2.5 Cell Range Address List

A cell range address list is a list of cell range addresses and cell addresses. Each item in the list is separated by white space. If any table name used in the list contains a “ “ (U+0020, SPACE) character, the table name is quoted within apostrophes “'” ( U+0027, APOSTROPHE).

9.2.6 <table:table-source>

The <table:table-source> element represents a link to a table that provides a source for a table.

The <table:table-source> element is usable within the following element: <table:table> 9.1.2.

The <table:table-source> element has the following attributes: table:filter-name 19.642, table:filter-options 19.643, table:mode 19.675, table:refresh-delay 19.705, table:table-name 19.734, xlink:actuate 19.915, xlink:href 19.916 and xlink:type 19.919.

The <table:table-source> element has no child elements.

9.2.7 <table:scenario>

The <table:scenario> element defines a scenario for display on a table. A table represented by a <table:table> 9.1.2 element which contains a <table:scenario> child element is called a scenario table.

A scenario is one or more cell ranges of a table whose contents replaces the contents of the cell ranges in the nearest non-scenario table preceding the scenario table in document order. If multiple scenarios are defined for a cell range, a user may choose between the scenarios. The names of the scenarios are the same as the names of tables which contain the <table:scenario> elements.

Display of the border of a scenario table is controlled by its table:display-border attribute. 19.622 

Note: Display of the border of a scenario is the only visible indication that the displayed data is the result of the application of a scenario to the data in the table.

Only one scenario table can be applied to a range at one time.

Note: A table can have multiple scenarios applied to it so long as the ranges of application do not overlap.

The <table:scenario> element is usable within the following element: <table:table> 9.1.2.

The <table:scenario> element has the following attributes: table:border-color 19.592, table:comment 19.599, table:copy-back 19.606, table:copy-formulas 19.607, table:copy-styles 19.608, table:display-border 19.622, table:is-active 19.656, table:protected 19.700 and table:scenario-ranges 19.709.

The <table:scenario> element has no child elements.

9.2.8 <table:shapes>

The <table:shapes> element contains all the elements that represent graphic shapes that are anchored on a table where this element occurs.

The <table:shapes> element is usable within the following element: <table:table> 9.1.2.

The <table:shapes> element has no attributes.

The <table:shapes> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2 and <draw:regular-polygon> 10.3.6.

9.3 Advanced Table Cells

9.3.1 <table:cell-range-source>

The <table:cell-range-source> element represents a database range or named range of another file in a cell range. The first cell in the cell range contains this element. A cell range can be linked to a database range or named range of another file.

The <table:cell-range-source> element is usable within the following elements: <table:covered-table-cell> 9.1.5 and <table:table-cell> 9.1.4.

The <table:cell-range-source> element has the following attributes: table:filter-name 19.642, table:filter-options 19.643, table:last-column-spanned 19.662, table:last-row-spanned 19.664, table:name 19.677, table:refresh-delay 19.705, xlink:actuate 19.915, xlink:href 19.916 and xlink:type 19.919.

The <table:cell-range-source> element has no child elements.

9.3.2 <table:detective>

The <table:detective> element is a container for <table:operation> 9.3.3 and <table:highlighted-range> 9.3.4 elements, providing information about what relationships between the current cell and other cells are revealed in the presentation of the table.  

The <table:detective> element is usable within the following elements: <table:covered-table-cell> 9.1.5 and <table:table-cell> 9.1.4.

The <table:detective> element has no attributes.

The <table:detective> element has the following child elements: <table:highlighted-range> 9.3.4 and <table:operation> 9.3.3.

9.3.3 <table:operation>

The <table:operation> element specifies the name of a detective operation that leads to the discovery of relationships between cells (table:name, 19.677) and the order in which those operations are applied (table:index, 19.655). Once relationships between cells have been discovered, those cells are highlighted to show those relationships.

Note: A single cell may be the subject of one or more detective operations.

The <table:operation> element is usable within the following element: <table:detective> 9.3.2.

The <table:operation> element has the following attributes: table:index 19.655 and table:name 19.677.

The <table:operation> element has no child elements.

9.3.4 <table:highlighted-range>

The <table:highlighted-range> element specifies a cell range that is highlighted in the UI either because of detective operations defined by a <table:operation> 9.3.3 element or because it contains an error or invalid data.

The nature of the highlighting is implementation-dependent.

This element represents the state of the document at the time the detective operations or error conditions were calculated. It need not accurately represent the current state of the document.

The <table:highlighted-range> element is usable within the following element: <table:detective> 9.3.2.

The <table:highlighted-range> element has the following attributes: table:cell-range-address 19.597, table:contains-error 19.603, table:direction 19.620 and table:marked-invalid 19.668.

The <table:highlighted-range> element has no child elements.

9.4 Spreadsheet Document Content

9.4.1 <table:calculation-settings>

The <table:calculation-settings> element is a container for settings that affect the calculation of formulae.

The <table:calculation-settings> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7 and <office:text> 3.4.

The <table:calculation-settings> element has the following attributes: table:automatic-find-labels 19.589, table:case-sensitive 19.594, table:null-year 19.678, table:precision-as-shown 19.696, table:search-criteria-must-apply-to-whole-cell 19.711, table:use-regular-expressions 19.748 and table:use-wildcards 19.749.

The <table:calculation-settings> element has the following child elements: <table:iteration> 9.4.3 and <table:null-date> 9.4.2.

9.4.2 <table:null-date>

The <table:null-date> element specifies the null date for a spreadsheet document. The null date is the date that results in the value “0” if a date value is converted into a numeric value. The null date is specified in the element's table:date-value attribute.

Note: Commonly used values are 1899-12-30, 1900-01-01, and 1904-01-01.

The <table:null-date> element is usable within the following element: <table:calculation-settings> 9.4.1.

The <table:null-date> element has the following attributes: table:date-value 19.618 and table:value-type 19.753.

The <table:null-date> element has no child elements.

9.4.3 <table:iteration>

The <table:iteration> element enables formulas with iterative (or cyclic) references to be calculated after a specific number of iterations. If iterative calculations are not enabled, a formula expression containing a cyclic cell reference returns an error.

If the table:status attribute has the value enable and iterating through the cyclic dependencies does not deliver a result that satisfies the condition specified by the table:maximum-difference attribute within a number of iterations specified by the table:steps attribute for all cells in the cyclic dependencies, an error is returned.

 

The <table:iteration> element is usable within the following element: <table:calculation-settings> 9.4.1.

The <table:iteration> element has the following attributes: table:maximum-difference 19.670, table:status 19.726 and table:steps 19.728.

The <table:iteration> element has no child elements.

9.4.4 <table:content-validations>

The <table:content-validations> element contains all the validation rules for the content of table cells.

The <table:content-validations> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7 and <office:text> 3.4.

The <table:content-validations> element has no attributes.

The <table:content-validations> element has the following child element: <table:content-validation> 9.4.5.

9.4.5 <table:content-validation>

The <table:content-validation> element specifies a validation rule for table cell content.

The name of a validation rule is stored in the table:name attribute of a <table:content-validation> element.

The <table:content-validation> element is usable within the following element: <table:content-validations> 9.4.4.

The <table:content-validation> element has the following attributes: table:allow-empty-cell 19.587, table:base-cell-address 19.590, table:condition 19.600, table:display-list 19.625 and table:name 19.677.

The <table:content-validation> element has the following child elements: <office:event-listeners> 10.3.19, <table:error-macro> 9.4.8, <table:error-message> 9.4.7 and <table:help-message> 9.4.6.

9.4.6 <table:help-message>

The <table:help-message> element specifies a message to display if a user selects a cell.

The <table:help-message> element is usable within the following element: <table:content-validation> 9.4.5.

The <table:help-message> element has the following attributes: table:display 19.621 and table:title 19.738.

The <table:help-message> element has the following child element: <text:p> 5.1.3.

9.4.7 <table:error-message>

The <table:error-message> element specifies a message to display when the table:condition 19.600 attribute value on the parent <table:content-validation> element evaluates to false."

The <table:error-message> element is usable within the following element: <table:content-validation> 9.4.5.

The <table:error-message> element has the following attributes: table:display 19.621, table:message-type 19.674 and table:title 19.738.

The <table:error-message> element has the following child element: <text:p> 5.1.3.

9.4.8 <table:error-macro>

The <table:error-macro> element specifies if a macro should be executed upon an attempt to enter invalid content.

A macro is specified by an <office:event-listeners> element. 10.3.19 The event name shall be one that specifies an event that is called on invalid user input.

The <table:error-macro> element is usable within the following element: <table:content-validation> 9.4.5.

The <table:error-macro> element has the following attribute: table:execute 19.638.

The <table:error-macro> element has no child elements.

9.4.9 <table:label-range>

The <table:label-range> element specifies a label cell range which contains labels, and a data cell range which specifies the rows or columns whose content is referenced by the labels.

There are two types of label ranges:

Data and label ranges should match in both height and vertical position for row orientation, or in both width and horizontal position for column orientation.

The <table:label-range> element is usable within the following element: <table:label-ranges> 9.4.10.

The <table:label-range> element has the following attributes: table:data-cell-range-address 19.612, table:label-cell-range-address 19.660 and table:orientation 19.690.

The <table:label-range> element has no child elements.

9.4.10 <table:label-ranges>

The <table:label-ranges> element contains all the <table:label-range> elements in a document.

The <table:label-ranges> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7 and <office:text> 3.4.

The <table:label-ranges> element has no attributes.

The <table:label-ranges> element has the following child element: <table:label-range> 9.4.9.

9.4.11 <table:named-expressions>

The <table:named-expressions> element contains assignments of names to expressions.

The following expressions may have names:

If the <table:named-expressions> element is used with a <table:table> element, the scope of the named expressions are local to that table element.  

The <table:named-expressions> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7, <office:text> 3.4 and <table:table> 9.1.2.

The <table:named-expressions> element has no attributes.

The <table:named-expressions> element has the following child elements: <table:named-expression> 9.4.13 and <table:named-range> 9.4.12.

9.4.12 <table:named-range>

The <table:named-range> element specifies a cell range that has a name assigned.

The <table:named-range> element is usable within the following element: <table:named-expressions> 9.4.11.

The <table:named-range> element has the following attributes: table:base-cell-address 19.590, table:cell-range-address 19.597, table:name 19.677 and table:range-usable-as 19.704.

The <table:named-range> element has no child elements.

9.4.13 <table:named-expression>

The <table:named-expression> element represents an expression with a name.

The <table:named-expression> element is usable within the following element: <table:named-expressions> 9.4.11.

The <table:named-expression> element has the following attributes: table:base-cell-address 19.590, table:expression 19.639 and table:name 19.677.

The <table:named-expression> element has no child elements.

9.4.14 <table:database-ranges>

The <table:database-ranges> element contains all the <table:database-range> elements in a document.

The <table:database-ranges> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7 and <office:text> 3.4.

The <table:database-ranges> element has no attributes.

The <table:database-ranges> element has the following child element: <table:database-range> 9.4.15.

9.4.15 <table:database-range>

The <table:database-range> element defines a single database range. A database range is a named area in a table upon which database operations are performed.

The <table:database-range> element is usable within the following element: <table:database-ranges> 9.4.14.

The <table:database-range> element has the following attributes: table:contains-header 19.604, table:display-filter-buttons 19.624, table:has-persistent-data 19.651, table:is-selection 19.658, table:name 19.677, table:on-update-keep-size 19.686, table:on-update-keep-styles 19.687, table:orientation 19.690, table:refresh-delay 19.705 and table:target-range-address 19.736.

The <table:database-range> element has the following child elements: <table:database-source-query> 9.4.18, <table:database-source-sql> 9.4.16, <table:database-source-table> 9.4.17, <table:filter> 9.5.2, <table:sort> 9.4.19 and <table:subtotal-rules> 9.4.21.

9.4.16 <table:database-source-sql>

The <table:database-source-sql> element specifies an [SQL] database that contains the source data for a database range.

The <table:database-source-sql> element is usable within the following elements: <table:data-pilot-table> 9.6.3 and <table:database-range> 9.4.15.

The <table:database-source-sql> element has the following attributes: table:database-name 19.613, table:parse-sql-statement 19.693 and table:sql-statement 19.720.

The <table:database-source-sql> element has no child elements.

9.4.17 <table:database-source-table>

The <table:database-source-table> element specifies the database and table that acts as the source data for a database range.

The <table:database-source-table> element is usable within the following elements: <table:data-pilot-table> 9.6.3 and <table:database-range> 9.4.15.

The <table:database-source-table> element has the following attributes: table:database-name 19.613 and table:database-table-name 19.614.

The <table:database-source-table> element has no child elements.

9.4.18 <table:database-source-query>

The <table:database-source-query> element specifies the query that produces the source data for a database range.

The <table:database-source-query> element is usable within the following elements: <table:data-pilot-table> 9.6.3 and <table:database-range> 9.4.15.

The <table:database-source-query> element has the following attributes: table:database-name 19.613 and table:query-name 19.703.

The <table:database-source-query> element has no child elements.

9.4.19 <table:sort>

The <table:sort> element <table:sort> specifies the sort keys to be applied to a database range.

The <table:sort> element is usable within the following element: <table:database-range> 9.4.15.

The <table:sort> element has the following attributes: table:algorithm 19.585, table:bind-styles-to-content 19.591, table:case-sensitive 19.594, table:country 19.610, table:embedded-number-behavior 19.628, table:language 19.661, table:rfc-language-tag 19.707, table:script 19.710 and table:target-range-address 19.736.

The <table:sort> element has the following child element: <table:sort-by> 9.4.20.

9.4.20 <table:sort-by>

The <table:sort-by> element specifies a key or field to sort, the data type of this field, and how to sort it for a database range.

The <table:sort-by> element is usable within the following element: <table:sort> 9.4.19.

The <table:sort-by> element has the following attributes: table:data-type 19.615, table:field-number 19.641 and table:order 19.689.

The <table:sort-by> element has no child elements.

9.4.21 <table:subtotal-rules>

The <table:subtotal-rules> element is a container for <table:subtotal-rule> elements which specify the calculation of provisional results (called subtotals) for a database range. Cells of the same field form a group. A provisional result is calculated and display at the end of each group.

The <table:subtotal-rules> element is usable within the following element: <table:database-range> 9.4.15.

The <table:subtotal-rules> element has the following attributes: table:bind-styles-to-content 19.591, table:case-sensitive 19.594 and table:page-breaks-on-group-change 19.691.

The <table:subtotal-rules> element has the following child elements: <table:sort-groups> 9.4.22 and <table:subtotal-rule> 9.4.23.

9.4.22 <table:sort-groups>

The <table:sort-groups> element specifies a sort order for columns or rows of a table.

The <table:sort-groups> element is usable within the following element: <table:subtotal-rules> 9.4.21.

The <table:sort-groups> element has the following attributes: table:data-type 19.615 and table:order 19.689.

The <table:sort-groups> element has no child elements.

9.4.23 <table:subtotal-rule>

The <table:subtotal-rule> element specifies the calculation of subtotals for columns or rows of a table. As the container element for <table:subtotal-field>, the calculation specified by this element may use provisional results in its calculation.

The <table:subtotal-rule> element is usable within the following element: <table:subtotal-rules> 9.4.21.

The <table:subtotal-rule> element has the following attribute: table:group-by-field-number 19.649.

The <table:subtotal-rule> element has the following child element: <table:subtotal-field> 9.4.24.

9.4.24 <table:subtotal-field>

The <table:subtotal-field> element specifies the field number and the function that is applied to the content of that field to calculate a provisional result.

The <table:subtotal-field> element is usable within the following element: <table:subtotal-rule> 9.4.23.

The <table:subtotal-field> element has the following attributes: table:field-number 19.641 and table:function 19.647.

The <table:subtotal-field> element has no child elements.

9.5 Filters

9.5.1 General

Filter elements specify conditions that, if not met, render portions of a table invisible.

9.5.2 <table:filter>

The <table:filter> element is a container for elements that specify filters for data contained in database ranges or data pilot tables. The filters are applied to all rows in the database range or the data pilot table. Rows where one or more filter conditions do not evaluate to true are made invisible.

The <table:filter> element is usable within the following elements: <table:database-range> 9.4.15 and <table:source-cell-range> 9.6.5.

The <table:filter> element has the following attributes: table:condition-source 19.601, table:condition-source-range-address 19.602, table:display-duplicates 19.623 and table:target-range-address 19.736.

The <table:filter> element has the following child elements: <table:filter-and> 9.5.3, <table:filter-condition> 9.5.5 and <table:filter-or> 9.5.4.

9.5.3 <table:filter-and>

The <table:filter-and> element specifies that the logical operator AND is applied to conditions specified by the child elements of this element.

The <table:filter-and> element is usable within the following elements: <table:filter> 9.5.2 and <table:filter-or> 9.5.4.

The <table:filter-and> element has no attributes.

The <table:filter-and> element has the following child elements: <table:filter-condition> 9.5.5 and <table:filter-or> 9.5.4.

9.5.4 <table:filter-or>

The <table:filter-or> element specifies that the logical operator OR is applied to conditions specified by the child elements of this element.

The <table:filter-or> element is usable within the following elements: <table:filter> 9.5.2 and <table:filter-and> 9.5.3.

The <table:filter-or> element has no attributes.

The <table:filter-or> element has the following child elements: <table:filter-and> 9.5.3 and <table:filter-condition> 9.5.5.

9.5.5 <table:filter-condition>

The <table:filter-condition> element specifies a single condition to apply in a filter operation.

The filter condition is either specified

If one or more of <table:filter-set-item> elements are present as children of the <table:filter-condition> element, the table:operator, table:value and table:data-type attributes are ignored.

Note: To improve backward compatibility with OpenDocument 1.1 documents, if <table:filter-set-item> elements are included, set:

  • table:operator: "=";  

  • table:value: value of the first <table:filter-set-item> child element;  

  • table:data-type: "text". 

The <table:filter-condition> element is usable within the following elements: <table:filter> 9.5.2, <table:filter-and> 9.5.3 and <table:filter-or> 9.5.4.

The <table:filter-condition> element has the following attributes: table:case-sensitive 19.594, table:data-type 19.615, table:field-number 19.641, table:operator 19.688 and table:value 19.752.

The <table:filter-condition> element has the following child element: <table:filter-set-item> 9.5.6.

9.5.6 <table:filter-set-item>

The <table:filter-set-item> element specifies a single value used in a filter condition where the table:operator attribute is set to "=", and the table:data-type attribute to text. The filter sub-condition in which the element is included evaluates to true for a specified cell, if, and only if, the value of the cell is equal to one of the values in the set specified by be <table:filter> element.

The <table:filter-set-item> element is usable within the following element: <table:filter-condition> 9.5.5.

The <table:filter-set-item> element has the following attribute: table:value 19.752.

The <table:filter-set-item> element has no child elements.

9.6 Data Pilot Tables

9.6.1 General

Data pilot tables enable users to rearrange data from data sources so as to create new relationships between data elements or to view data from a variety of perspectives. This is in contrast to scenario tables 9.2.7, where the data elements remain fixed but the values and operations on them are varied to illustrate different outcomes.

The behavior of a data pilot table is specified by fields, where each field has a name and an orientation. The category columns are specified by fields with the orientation “row” or “column” and data columns are specified by fields that have the orientation “data”.

A third type of fields are data layout fields. Data layout fields are not connected to a column in the source table, but are used to change the layout of the data pilot table.

The order in which fields are specified determines the order in which the data of category columns are grouped and results are displayed.

9.6.2 <table:data-pilot-tables>

The <table:data-pilot-tables> element contains all the data pilot tables within a document.

The <table:data-pilot-tables> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7 and <office:text> 3.4.

The <table:data-pilot-tables> element has no attributes.

The <table:data-pilot-tables> element has the following child element: <table:data-pilot-table> 9.6.3.

9.6.3 <table:data-pilot-table>

The <table:data-pilot-table> element contains the elements that define the sources of a data pilot table.

The <table:data-pilot-table> element is usable within the following element: <table:data-pilot-tables> 9.6.2.

The <table:data-pilot-table> element has the following attributes: table:application-data 19.588, table:buttons 19.593, table:drill-down-on-double-click 19.627, table:grand-total 19.648, table:identify-categories 19.653, table:ignore-empty-rows 19.654, table:name 19.677, table:show-filter-button 19.715 and table:target-range-address 19.736.

The <table:data-pilot-table> element has the following child elements: <table:data-pilot-field> 9.6.7, <table:database-source-query> 9.4.18, <table:database-source-sql> 9.4.16, <table:database-source-table> 9.4.17, <table:source-cell-range> 9.6.5 and <table:source-service> 9.6.6.

9.6.4 Data Pilot Table Source

The source of a data pilot table is specified by one of the following elements:

9.6.5 <table:source-cell-range>

The <table:source-cell-range> element specifies a cell range as a source of data for a data pilot table. A filter may be specified by a <table:filter> child element that is applied prior to return of data to a data pilot table.

The <table:source-cell-range> element is usable within the following element: <table:data-pilot-table> 9.6.3.

The <table:source-cell-range> element has the following attributes: table:cell-range-address 19.597 and table:name 19.677.

The <table:source-cell-range> element has the following child element: <table:filter> 9.5.2.

9.6.6 <table:source-service>

The <table:source-service> element specifies a service that returns data to a data pilot table.

The <table:source-service> element is usable within the following element: <table:data-pilot-table> 9.6.3.

The <table:source-service> element has the following attributes: table:name 19.677, table:object-name 19.685, table:password 19.694, table:source-name 19.719 and table:user-name 19.751.

The <table:source-service> element has no child elements.

9.6.7 <table:data-pilot-field>

The <table:data-pilot-field> element specifies a field for a data pilot table.

The <table:data-pilot-field> element is usable within the following element: <table:data-pilot-table> 9.6.3.

The <table:data-pilot-field> element has the following attributes: table:function 19.647, table:is-data-layout-field 19.657, table:orientation 19.690, table:selected-page 19.712, table:source-field-name 19.718 and table:used-hierarchy 19.750.

The <table:data-pilot-field> element has the following child elements: <table:data-pilot-field-reference> 9.6.16, <table:data-pilot-groups> 9.6.17 and <table:data-pilot-level> 9.6.8.

9.6.8 <table:data-pilot-level>

The <table:data-pilot-level> element acts as a container for elements that specify addition information about a data pilot field.

The <table:data-pilot-level> element is usable within the following element: <table:data-pilot-field> 9.6.7.

The <table:data-pilot-level> element has the following attribute: table:show-empty 19.714.

The <table:data-pilot-level> element has the following child elements: <table:data-pilot-display-info> 9.6.13, <table:data-pilot-layout-info> 9.6.15, <table:data-pilot-members> 9.6.11, <table:data-pilot-sort-info> 9.6.14 and <table:data-pilot-subtotals> 9.6.9.

9.6.9 <table:data-pilot-subtotals>

The <table:data-pilot-subtotals> element contains the <table:data-pilot-subtotal> elements for a data pilot table.

The <table:data-pilot-subtotals> element is usable within the following element: <table:data-pilot-level> 9.6.8.

The <table:data-pilot-subtotals> element has no attributes.

The <table:data-pilot-subtotals> element has the following child element: <table:data-pilot-subtotal> 9.6.10.

9.6.10 <table:data-pilot-subtotal>

The <table:data-pilot-subtotal> element contains the results of a single subtotal calculation.

The <table:data-pilot-subtotal> element is usable within the following element: <table:data-pilot-subtotals> 9.6.9.

The <table:data-pilot-subtotal> element has the following attribute: table:function 19.647.

The <table:data-pilot-subtotal> element has no child elements.

9.6.11 <table:data-pilot-members>

The <table:data-pilot-members> element specifies whether or not to display category columns in data pilot tables or information for category columns.

The <table:data-pilot-members> element is usable within the following element: <table:data-pilot-level> 9.6.8.

The <table:data-pilot-members> element has no attributes.

The <table:data-pilot-members> element has the following child element: <table:data-pilot-member> 9.6.12.

9.6.12 <table:data-pilot-member>

The <table:data-pilot-member> element specifies what information is displayed for a member.

The <table:data-pilot-member> element is usable within the following element: <table:data-pilot-members> 9.6.11.

The <table:data-pilot-member> element has the following attributes: table:display 19.621, table:name 19.677 and table:show-details 19.713.

The <table:data-pilot-member> element has no child elements.

9.6.13 <table:data-pilot-display-info>

The <table:data-pilot-display-info> element restricts the number rows that are displayed for a category column to a specific number of values of a data field.

The <table:data-pilot-display-info> element is usable within the following element: <table:data-pilot-level> 9.6.8.

The <table:data-pilot-display-info> element has the following attributes: table:data-field 19.611, table:display-member-mode 19.626, table:enabled 19.629 and table:member-count 19.671.

The <table:data-pilot-display-info> element has no child elements.

9.6.14 <table:data-pilot-sort-info>

The <table:data-pilot-sort-info> element specifies how the members of a category column are sorted.

The <table:data-pilot-sort-info> element is usable within the following element: <table:data-pilot-level> 9.6.8.

The <table:data-pilot-sort-info> element has the following attributes: table:data-field 19.611, table:order 19.689, table:sort-mode 19.716.

The <table:data-pilot-sort-info> element has no child elements.

9.6.15 <table:data-pilot-layout-info>

The <table:data-pilot-layout-info> element specifies how to layout a field.

The <table:data-pilot-layout-info> element is usable within the following element: <table:data-pilot-level> 9.6.8.

The <table:data-pilot-layout-info> element has the following attributes: table:add-empty-lines 19.586 and table:layout-mode 19.666.

The <table:data-pilot-layout-info> element has no child elements.

9.6.16 <table:data-pilot-field-reference>

The <table:data-pilot-field-reference> element specifies data which can be used to modify the displayed values of data fields.

The <table:data-pilot-field-reference> element is usable within the following element: <table:data-pilot-field> 9.6.7.

The <table:data-pilot-field-reference> element has the following attributes: table:field-name 19.640, table:member-name 19.672, table:member-type 19.673 and table:type 19.740.

The <table:data-pilot-field-reference> element has no child elements.

9.6.17 <table:data-pilot-groups>

The <table:data-pilot-groups> element specifies that a data pilot field is a group field. A group field allows grouping of other fields.

Grouping may also take place for numeric or date values.

The <table:data-pilot-groups> element is usable within the following element: <table:data-pilot-field> 9.6.7.

The <table:data-pilot-groups> element has the following attributes: table:date-end 19.616, table:date-start 19.617, table:end 19.630, table:grouped-by 19.650, table:source-field-name 19.718, table:start 19.721 and table:step 19.727.

The <table:data-pilot-groups> element has the following child element: <table:data-pilot-group> 9.6.18.

9.6.18 <table:data-pilot-group>

The <table:data-pilot-group> element specifies names of groups if grouping takes place by specifying the member names.

The <table:data-pilot-group> element is usable within the following element: <table:data-pilot-groups> 9.6.17.

The <table:data-pilot-group> element has the following attribute: table:name 19.677.

The <table:data-pilot-group> element has the following child element: <table:data-pilot-group-member> 9.6.19.

9.6.19 <table:data-pilot-group-member>

The <table:data-pilot-group-member> element specifies the name of a single group member.

The <table:data-pilot-group-member> element is usable within the following element: <table:data-pilot-group> 9.6.18.

The <table:data-pilot-group-member> element has the following attribute: table:name 19.677.

The <table:data-pilot-group-member> element has no child elements.

9.7 <table:consolidation>

The <table:consolidation> element defines the consolidation of data from multiple table ranges. Consolidation means that a new table range is filled with values calculated by applying a mathematical function to all cells in the source table ranges that have the same relative address within these ranges.

The <table:consolidation> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7 and <office:text> 3.4.

The <table:consolidation> element has the following attributes: table:function 19.647, table:link-to-source-data 19.667, table:source-cell-range-addresses 19.717, table:target-cell-address 19.735 and table:use-labels 19.747.

The <table:consolidation> element has no child elements.

9.8 <table:dde-links>

The <table:dde-links> container element stores all DDE links for use in spreadsheet formulas. Every link contains the DDE Source and the data of the last connection.

See 14.7 for the use of DDE connections.

The <table:dde-links> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7 and <office:text> 3.4.

The <table:dde-links> element has no attributes.

The <table:dde-links> element has the following child element: <table:dde-link> 14.7.4.

9.9 Change Tracking in Spreadsheets

9.9.1 General

All changes that have been applied to a spreadsheet document are stored in a list. The list contains an element for each change made to the table.

Note: See 5.5.1 for general remarks about implementing change tracking.

9.9.2 <table:tracked-changes>

The <table:tracked-changes> element is a container for tracked changes of a spreadsheet. Its presence further enables change tracking for a spreadsheet.

The <table:tracked-changes> element is usable within the following element: <office:spreadsheet> 3.7.

The <table:tracked-changes> element has the following attribute: table:track-changes 19.739.

The <table:tracked-changes> element has the following child elements: <table:cell-content-change> 9.9.17, <table:deletion> 9.9.9, <table:insertion> 9.9.3 and <table:movement> 9.9.13.

9.9.3 <table:insertion>

The <table:insertion> element contains the information that identifies any insertion of content. This content can be one or more rows, one or more columns, or a table.

The <table:insertion> element is usable within the following element: <table:tracked-changes> 9.9.2.

The <table:insertion> element has the following attributes: table:acceptance-state 19.584, table:count 19.609, table:id 19.652, table:position 19.695, table:rejecting-change-id 19.706, table:table 19.732 and table:type 19.740.

The <table:insertion> element has the following child elements: <office:change-info> 5.5.7, <table:deletions> 9.9.6 and <table:dependencies> 9.9.4.

9.9.4 <table:dependencies>

The <table:dependencies> element contains the information on which other tracked changes the current change depends.

The <table:dependencies> element is usable within the following elements: <table:cell-content-change> 9.9.17, <table:deletion> 9.9.9, <table:insertion> 9.9.3 and <table:movement> 9.9.13.

The <table:dependencies> element has no attributes.

The <table:dependencies> element has the following child element: <table:dependency> 9.9.5.

9.9.5 <table:dependency>

The <table:dependency> element contains the information about one change action on which on which the current tracked change depends. The change action on which the current change depends is referenced by its table:id attribute

The <table:dependency> element is usable within the following element: <table:dependencies> 9.9.4.

The <table:dependency> element has the following attribute: table:id 19.652.

The <table:dependency> element has no child elements.

9.9.6 <table:deletions>

The <table:deletions> element contains all deletions which are performed while tracking a single change to a table.

The <table:deletions> element is usable within the following elements: <table:cell-content-change> 9.9.17, <table:deletion> 9.9.9, <table:insertion> 9.9.3 and <table:movement> 9.9.13.

The <table:deletions> element has no attributes.

The <table:deletions> element has the following child elements: <table:cell-content-deletion> 9.9.7 and <table:change-deletion> 9.9.8.

9.9.7 <table:cell-content-deletion>

The <table:cell-content-deletion> element specifies that a cell content has been deleted. It contains the address of the effected cell and its former content. If a table:id attribute is present, it specifies the id of a previously tracked change for the cell that gets deleted by the current change.

The <table:cell-content-deletion> element is usable within the following element: <table:deletions> 9.9.6.

The <table:cell-content-deletion> element has the following attribute: table:id 19.652.

The <table:cell-content-deletion> element has the following child elements: <table:cell-address> 9.9.18 and <table:change-track-table-cell> 9.9.16.

9.9.8 <table:change-deletion>

The <table:change-deletion> element specifies the value of the table:id of a previously tracked change that is deleted by the current change.

The <table:change-deletion> element is usable within the following element: <table:deletions> 9.9.6.

The <table:change-deletion> element has the following attribute: table:id 19.652.

The <table:change-deletion> element has no child elements.

9.9.9 <table:deletion>

A <table:deletion> element contains content that was deleted while change tracking was enabled. The content of a cell that was deleted is contained in either a <table:dependencies>, or a <table:deletions> element.

The <table:deletion> element is usable within the following element: <table:tracked-changes> 9.9.2.

The <table:deletion> element has the following attributes: table:acceptance-state 19.584, table:id 19.652, table:multi-deletion-spanned 19.676, table:position 19.695, table:rejecting-change-id 19.706, table:table 19.732 and table:type 19.740.

The <table:deletion> element has the following child elements: <office:change-info> 5.5.7, <table:cut-offs> 9.9.10, <table:deletions> 9.9.6 and <table:dependencies> 9.9.4.

9.9.10 <table:cut-offs>

A <table:cut-offs> element contains elements that specify the location of tracked but deleted insertions or movements.

The <table:cut-offs> element is usable within the following element: <table:deletion> 9.9.9.

The <table:cut-offs> element has no attributes.

The <table:cut-offs> element has the following child elements: <table:insertion-cut-off> 9.9.11, <table:movement-cut-off> 9.9.12.

9.9.11 <table:insertion-cut-off>

The <table:insertion-cut-off> element specifies where an insertion was deleted.

The <table:insertion-cut-off> element is usable within the following element: <table:cut-offs> 9.9.10.

The <table:insertion-cut-off> element has the following attributes: table:id 19.652 and table:position 19.695.

The <table:insertion-cut-off> element has no child elements.

9.9.12 <table:movement-cut-off>

The <table:movement-cut-off> element specifies the deletion of a movement.

The <table:movement-cut-off> element is usable within the following element: <table:cut-offs> 9.9.10.

The <table:movement-cut-off> element has the following attributes: table:end-position 19.633, table:position 19.695 and table:start-position 19.723.

The <table:movement-cut-off> element has no child elements.

9.9.13 <table:movement>

A <table:movement> element specifies the information that identifies movement of content. This content can be a cell content or a cell range content.

The <table:movement> element is usable within the following element: <table:tracked-changes> 9.9.2.

The <table:movement> element has the following attributes: table:acceptance-state 19.584, table:id 19.652 and table:rejecting-change-id 19.706.

The <table:movement> element has the following child elements: <office:change-info> 5.5.7, <table:deletions> 9.9.6, <table:dependencies> 9.9.4, <table:source-range-address> 9.9.14 and <table:target-range-address> 9.9.15.

9.9.14 <table:source-range-address>

The <table:source-range-address> element specifies the source or cell range address of a movement.

The <table:source-range-address> element is usable within the following element: <table:movement> 9.9.13.

The <table:source-range-address> element has the following attributes: table:column 19.598, table:end-column 19.632, table:end-row 19.634, table:end-table 19.635, table:row 19.708, table:start-column 19.722, table:start-row 19.724, table:start-table 19.725 and table:table 19.732.

The <table:source-range-address> element has no child elements.

9.9.15 <table:target-range-address>

The <table:target-range-address> element specifies the target cell address or cell range address of a movement.

The <table:target-range-address> element is usable within the following element: <table:movement> 9.9.13.

The <table:target-range-address> element has the following attributes: table:column 19.598, table:end-column 19.632, table:end-row 19.634, table:end-table 19.635, table:row 19.708, table:start-column 19.722, table:start-row 19.724, table:start-table 19.725 and table:table 19.732.

The <table:target-range-address> element has no child elements.

9.9.16 <table:change-track-table-cell>

The <table:change-track-table-cell> element specifies the information that tracks changes to a table cell.

The <table:change-track-table-cell> element is usable within the following elements: <table:cell-content-deletion> 9.9.7 and <table:previous> 9.9.19.

The <table:change-track-table-cell> element has the following attributes: office:boolean-value 19.371, office:currency 19.373, office:date-value 19.374, office:string-value 19.383, office:time-value 19.386, office:value 19.388, office:value-type 19.389, table:cell-address 19.595, table:formula 19.646, table:matrix-covered 19.669, table:number-matrix-columns-spanned 19.683 and table:number-matrix-rows-spanned 19.684.

The <table:change-track-table-cell> element has the following child element: <text:p> 5.1.3.

9.9.17 <table:cell-content-change>

A <table:cell-content-change> element specifies the information that identifies changes of the cell content.

The <table:cell-content-change> element is usable within the following element: <table:tracked-changes> 9.9.2.

The <table:cell-content-change> element has the following attributes: table:acceptance-state 19.584, table:id 19.652 and table:rejecting-change-id 19.706.

The <table:cell-content-change> element has the following child elements: <office:change-info> 5.5.7, <table:cell-address> 9.9.18, <table:deletions> 9.9.6, <table:dependencies> 9.9.4 and <table:previous> 9.9.19.

9.9.18 <table:cell-address>

The <table:cell-address> element contains the address of a cell that has changed. Unlike other cell addresses, the cell address consists of the row, column and table number of the cell. This allows the specification of addresses that are outside a valid cell address range.

The <table:cell-address> element is usable within the following elements: <table:cell-content-change> 9.9.17 and <table:cell-content-deletion> 9.9.7.

The <table:cell-address> element has the following attributes: table:column 19.598, table:row 19.708 and table:table 19.732.

The <table:cell-address> element has no child elements.

9.9.19 <table:previous>

The <table:previous> element contains the previous cell content which is overwritten by the current change. If a table:id attribute is present, it specifies the id of a previously tracked change for the cell that is changed again by the current change.

The <table:previous> element is usable within the following element: <table:cell-content-change> 9.9.17.

The <table:previous> element has the following attribute: table:id 19.652.

The <table:previous> element has the following child element: <table:change-track-table-cell> 9.9.16.

10 Graphic Content

10.1 General

This chapter specifies the elements that represent graphic objects and elements used in the representation of graphical objects.

10.2 Enhanced Page Features for Graphical Applications

10.2.1 <style:handout-master>

The <style:handout-master> element represents a template for the generation of handout pages.

The <style:handout-master> element is usable within the following element: <office:master-styles> 3.15.4.

The <style:handout-master> element has the following attributes: draw:style-name 19.219, presentation:presentation-page-layout-name 19.413, presentation:use-date-time-name 19.428, presentation:use-footer-name 19.429, presentation:use-header-name 19.430 and style:page-layout-name 19.508.

The <style:handout-master> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2 and <draw:regular-polygon> 10.3.6.

10.2.2 <draw:layer-set>

The <draw:layer-set> element defines a set of layers. If placed inside a <style:master-page> or <draw:page> element it defines a set of layers for that page. If placed inside the <office:master-styles> element it defines a set of layers for all pages that do not have their own set of layers.

Layers group drawing objects. Assigning a shape to a layer does not change its rendering order as defined by its draw:z-index attribute. 19.231

The <draw:layer-set> element is usable within the following elements: <draw:page> 10.2.4, <office:master-styles> 3.15.4 and <style:master-page> 16.9.

The <draw:layer-set> element has no attributes.

The <draw:layer-set> element has the following child element: <draw:layer> 10.2.3.

10.2.3 <draw:layer>

The <draw:layer> element defines a single layer. Layers group drawing objects.

Each drawing object inside a drawing or presentation document can be assigned to a layer. Each object that is assigned to a layer inherits the settings of that layer. Drawing objects may be assigned to these layers by the value of their draw:layer 19.189 attribute.

The <draw:layer> element is usable within the following element: <draw:layer-set> 10.2.2.

The <draw:layer> element has the following attributes: draw:display 19.132, draw:name 19.197 and draw:protected 19.207.

The <draw:layer> element has the following child elements: <svg:desc> 10.3.18 and <svg:title> 10.3.17.

10.2.4 <draw:page>

The <draw:page> element is a container for content in a drawing or presentation document. This element is used for the following:

The <draw:page> element is usable within the following elements: <office:drawing> 3.5 and <office:presentation> 3.6.

The <draw:page> element has the following attributes: draw:id 19.187, draw:master-page-name 19.194, draw:name 19.197, draw:nav-order 19.198, draw:style-name 19.219, presentation:presentation-page-layout-name 19.413, presentation:use-date-time-name 19.428, presentation:use-footer-name 19.429, presentation:use-header-name 19.430 and xml:id 19.920.

The <draw:page> element has the following child elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4, <anim:transitionFilter> 15.2.7, <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:layer-set> 10.2.2, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:forms> 13.2, <presentation:animations> 10.8.1, <presentation:notes> 16.19, <svg:desc> 10.3.18 and <svg:title> 10.3.17.

10.2.5 <draw:equation>

The <draw:equation> element specifies a formula for the calculation of a value and the name by which that formula can be referenced.

The <draw:equation> element is usable within the following element: <draw:enhanced-geometry> 10.6.2.

The <draw:equation> element has the following attributes: draw:formula 19.171 and draw:name 19.197.

The <draw:equation> element has no child elements.

10.3 Drawing Shapes

10.3.1 General

This section defines graphical objects that may occur within all types of documents.

10.3.2 <draw:rect>

The <draw:rect> element represents a rectangular drawing shape.

The <draw:rect> element is usable within the following elements: <chart:chart> 11.1, <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.19, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.5, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:rect> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:corner-radius 19.127, draw:id 19.187, draw:layer 19.189, draw:name 19.197, draw:style-name 19.219, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.394, presentation:style-name 19.426, svg:height 19.543, svg:rx 19.554, svg:ry 19.555, svg:width 19.575, svg:x 19.577, svg:y 19.581, table:end-cell-address 19.631, table:end-x 19.636, table:end-y 19.637, table:table-background 19.733, text:anchor-page-number 19.758, text:anchor-type 19.759 and xml:id 19.920.

The <draw:rect> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.3 <draw:line>

The <draw:line> element represents a line.

The <draw:line> element is usable within the following elements: <chart:chart> 11.1, <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.19, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.5, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:line> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:id 19.187, draw:layer 19.189, draw:name 19.197, draw:style-name 19.219, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.394, presentation:style-name 19.426, svg:x1 19.578, svg:x2 19.579, svg:y1 19.582, svg:y2 19.583, table:end-cell-address 19.631, table:end-x 19.636, table:end-y 19.637, table:table-background 19.733, text:anchor-page-number 19.758, text:anchor-type 19.759 and xml:id 19.920.

The <draw:line> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.4 <draw:polyline>

The <draw:polyline> element represents a polyline drawing shape.

Consumers may ignore svg:height and svg:width attributes, and determine the size of a shape from the polygon vertices.

The <draw:polyline> element is usable within the following elements: <chart:chart> 11.1, <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.19, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.5, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:polyline> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:id 19.187, draw:layer 19.189, draw:name 19.197, draw:points 19.206, draw:style-name 19.219, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.394, presentation:style-name 19.426, svg:height 19.543, svg:viewBox 19.574, svg:width 19.575, svg:x 19.577, svg:y 19.581, table:end-cell-address 19.631, table:end-x 19.636, table:end-y 19.637, table:table-background 19.733, text:anchor-page-number 19.758, text:anchor-type 19.759 and xml:id 19.920.

The <draw:polyline> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.5 <draw:polygon>

The <draw:polygon> element represents a polygon. A polygon is a closed set of straight lines.

Consumers may ignore svg:height and svg:width attributes, and determine the size of a shape from the polygon vertices.

The <draw:polygon> element is usable within the following elements: <chart:chart> 11.1, <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.19, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.5, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:polygon> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:id 19.187, draw:layer 19.189, draw:name 19.197, draw:points 19.206, draw:style-name 19.219, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.394, presentation:style-name 19.426, svg:height 19.543, svg:viewBox 19.574, svg:width 19.575, svg:x 19.577, svg:y 19.581, table:end-cell-address 19.631, table:end-x 19.636, table:end-y 19.637, table:table-background 19.733, text:anchor-page-number 19.758, text:anchor-type 19.759 and xml:id 19.920.

The <draw:polygon> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.6 <draw:regular-polygon>

The <draw:regular-polygon> element represents a regular polygon. A regular polygon is a polygon that is specified by its number of edges (that is equal to the number of its corners), rather than by arbitrary points.

The <draw:regular-polygon> element is usable within the following elements: <chart:chart> 11.1, <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.19, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.5, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:regular-polygon> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:concave 19.123, draw:corners 19.128, draw:id 19.187, draw:layer 19.189, draw:name 19.197, draw:sharpness 19.211, draw:style-name 19.219, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.394, presentation:style-name 19.426, svg:height 19.543, svg:width 19.575, svg:x 19.577, svg:y 19.581, table:end-cell-address 19.631, table:end-x 19.636, table:end-y 19.637, table:table-background 19.733, text:anchor-page-number 19.758, text:anchor-type 19.759 and xml:id 19.920.

The <draw:regular-polygon> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.7 <draw:path>

The <draw:path> element represents a path. A path is a shape with a user-defined outline. The outline is defined by the svg:d attribute. 19.530

The <draw:path> element is usable within the following elements: <chart:chart> 11.1, <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.19, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.5, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:path> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:id 19.187, draw:layer 19.189, draw:name 19.197, draw:style-name 19.219, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.394, presentation:style-name 19.426, svg:d 19.530, svg:height 19.543, svg:viewBox 19.574, svg:width 19.575, svg:x 19.577, svg:y 19.581, table:end-cell-address 19.631, table:end-x 19.636, table:end-y 19.637, table:table-background 19.733, text:anchor-page-number 19.758, text:anchor-type 19.759 and xml:id 19.920.

The <draw:path> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.8 <draw:circle>

The <draw:circle> element represents a circular drawing shape.

The <draw:circle> element is usable within the following elements: <chart:chart> 11.1, <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.19, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.5, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:circle> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:end-angle 19.140, draw:id 19.187, draw:kind 19.188, draw:layer 19.189, draw:name 19.197, draw:start-angle 19.213, draw:style-name 19.219, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.394, presentation:style-name 19.426, svg:cx 19.528, svg:cy 19.529, svg:height 19.543, svg:r 19.553, svg:width 19.575, svg:x 19.577, svg:y 19.581, table:end-cell-address 19.631, table:end-x 19.636, table:end-y 19.637, table:table-background 19.733, text:anchor-page-number 19.758, text:anchor-type 19.759 and xml:id 19.920.

The <draw:circle> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.9 <draw:ellipse>

The <draw:ellipse> element represents an ellipse.

The <draw:ellipse> element is usable within the following elements: <chart:chart> 11.1, <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.19, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.5, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:ellipse> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:end-angle 19.140, draw:id 19.187, draw:kind 19.188, draw:layer 19.189, draw:name 19.197, draw:start-angle 19.213, draw:style-name 19.219, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.394, presentation:style-name 19.426, svg:cx 19.528, svg:cy 19.529, svg:height 19.543, svg:rx 19.554, svg:ry 19.555, svg:width 19.575, svg:x 19.577, svg:y 19.581, table:end-cell-address 19.631, table:end-x 19.636, table:end-y 19.637, table:table-background 19.733, text:anchor-page-number 19.758, text:anchor-type 19.759 and xml:id 19.920.

The <draw:ellipse> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.10 <draw:connector>

The <draw:connector> element represents a connected set of one or more lines that visually connects a start and an end point.

Start and/or end points can be defined by references to glue points 10.3.16 or as absolute positions.  The connector's geometric path is defined by the svg:d 19.530 attribute. Consumers may also compute the connector's geometric path considering the draw:type 19.229.2 and draw:line-skew 19.190 attributes, and the formatting properties defined for connectors.

If the svg:d attribute is not present, the connector's geometric path is implementation-dependent. Producers should export the connector's geometric path using the svg:d attribute.

Note: This assists consumers that are not capable of computing a connector path.

The <draw:connector> element is usable within the following elements: <chart:chart> 11.1, <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.19, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.5, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:connector> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:end-glue-point 19.142, draw:end-shape 19.144, draw:id 19.187, draw:layer 19.189, draw:line-skew 19.190, draw:name 19.197, draw:start-glue-point 19.215, draw:start-shape 19.217, draw:style-name 19.219, draw:text-style-name 19.227, draw:transform 19.228, draw:type 19.229, draw:z-index 19.231, presentation:class-names 19.394, presentation:style-name 19.426, svg:d 19.530, svg:viewBox 19.574, svg:x1 19.578, svg:x2 19.579, svg:y1 19.582, svg:y2 19.583, table:end-cell-address 19.631, table:end-x 19.636, table:end-y 19.637, table:table-background 19.733, text:anchor-page-number 19.758, text:anchor-type 19.759 and xml:id 19.920.

The <draw:connector> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.11 <draw:caption>

The <draw:caption> element represents a description attached to a fixed point. It consists of rectangular drawing shape with an additional set of connected lines that connect the rectangle with the fixed point.

The <draw:caption> element is usable within the following elements: <chart:chart> 11.1, <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.19, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.5, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:caption> element has the following attributes: draw:caption-id 19.115, draw:caption-point-x 19.116, draw:caption-point-y 19.117, draw:class-names 19.120, draw:corner-radius 19.127, draw:id 19.187, draw:layer 19.189, draw:name 19.197, draw:style-name 19.219, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.394, presentation:style-name 19.426, svg:height 19.543, svg:width 19.575, svg:x 19.577, svg:y 19.581, table:end-cell-address 19.631, table:end-x 19.636, table:end-y 19.637, table:table-background 19.733, text:anchor-page-number 19.758, text:anchor-type 19.759 and xml:id 19.920.

The <draw:caption> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.12 <draw:measure>

The <draw:measure> element represents a shape that is used to measure distances in drawings.

A measure shape consists of two parallel lines, called extension lines, and a line perpendicular to the extension lines, called a dimension line. The dimension line has arrows at its endpoints. It is displayed between the extension lines and terminated by them.

The positions of extension lines and the dimension line are determined by two reference points, called start and end reference points.

The draw:line-distance attribute defines the distance between the (virtual) line between the reference points, called reference line, and the dimension line. The draw:placing attribute defines if the measure shape is placed above or below the reference line.

The start reference point is defined by the attributes svg:x1 and svg:y1

The first extension line is drawn on a line as defined by the vector from the start reference point to the start point of the dimension line. The extension line will start along this vector at a distance from the start reference point that is defined by the draw:guide-distance attribute minus the value of the draw:start-guide attribute.

The end reference point is defined by the attributes svg:x2, and svg:y2.

The second extension line is drawn on a line as defined by the vector from the end reference point to the end point of the dimension line. The extension line will start along this vector at the distance from the end reference point that is defined by the draw:guide-distance attribute minus the value of draw:end-guide attribute.

The end points of the extension lines are at the distance defined by the draw:guide-overhang attribute after the intersection with the dimension line.

The <draw:measure> element is usable within the following elements: <chart:chart> 11.1, <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.19, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.5, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:measure> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:id 19.187, draw:layer 19.189, draw:name 19.197, draw:style-name 19.219, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.394, presentation:style-name 19.426, svg:x1 19.578, svg:x2 19.579, svg:y1 19.582, svg:y2 19.583, table:end-cell-address 19.631, table:end-x 19.636, table:end-y 19.637, table:table-background 19.733, text:anchor-page-number 19.758, text:anchor-type 19.759 and xml:id 19.920.

The <draw:measure> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.13 <draw:control>

The <draw:control> element represents a shape that is linked to a control inside an <office:forms> element.

The <draw:control> element is usable within the following elements: <chart:chart> 11.1, <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.19, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.5, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:control> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:control 19.125, draw:id 19.187, draw:layer 19.189, draw:name 19.197, draw:style-name 19.219, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.394, presentation:style-name 19.426, svg:height 19.543, svg:width 19.575, svg:x 19.577, svg:y 19.581, table:end-cell-address 19.631, table:end-x 19.636, table:end-y 19.637, table:table-background 19.733, text:anchor-page-number 19.758, text:anchor-type 19.759 and xml:id 19.920.

The <draw:control> element has the following child elements: <draw:glue-point> 10.3.16, <svg:desc> 10.3.18 and <svg:title> 10.3.17.

10.3.14 <draw:page-thumbnail>

The <draw:page-thumbnail> element represents a rectangular area that displays the thumbnail of a drawing page.

The <draw:page-thumbnail> element is usable within the following elements: <chart:chart> 11.1, <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.19, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.5, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:page-thumbnail> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:id 19.187, draw:layer 19.189, draw:name 19.197, draw:page-number 19.203, draw:style-name 19.219, draw:transform 19.228, draw:z-index 19.231, presentation:class 19.393, presentation:class-names 19.394, presentation:placeholder 19.411, presentation:style-name 19.426, presentation:user-transformed 19.431, svg:height 19.543, svg:width 19.575, svg:x 19.577, svg:y 19.581, table:end-cell-address 19.631, table:end-x 19.636, table:end-y 19.637, table:table-background 19.733, text:anchor-page-number 19.758, text:anchor-type 19.759 and xml:id 19.920.

The <draw:page-thumbnail> element has the following child elements: <svg:desc> 10.3.18 and <svg:title> 10.3.17.

10.3.15 <draw:g>

The <draw:g> element represents a group of drawing shapes.

Drawing shapes contained in a <draw:g> element, that is itself contained in a <draw:a> element act as hyperlinks using the xlink:href 19.916 attribute of the containing <draw:a> element. If the included drawing shapes are themselves contained within <draw:a> elements, then the xlink:href attributes of those <draw:a> elements act as the hyperlink information for the shapes they contain.

The <draw:g> element is usable within the following elements: <chart:chart> 11.1, <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.19, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.5, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:g> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:id 19.187, draw:name 19.197, draw:style-name 19.219, draw:z-index 19.231, presentation:class-names 19.394, presentation:style-name 19.426, svg:y 19.581, table:end-cell-address 19.631, table:end-x 19.636, table:end-y 19.637, table:table-background 19.733, text:anchor-page-number 19.758, text:anchor-type 19.759 and xml:id 19.920.

The <draw:g> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:glue-point> 10.3.16, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18 and <svg:title> 10.3.17.

10.3.16 <draw:glue-point>

The <draw:glue-point> element specifies a point in the area of a drawing object to which a connector shape can connect. All drawing objects have four standard glue points located at the center of the four edges of the object's bounding box. Additional glue points may be added to a drawing object by inserting one or more <draw:glue-point> elements into a drawing object element.

The <draw:glue-point> element is usable within the following elements: <dr3d:scene> 10.5.2, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2 and <draw:regular-polygon> 10.3.6.

The <draw:glue-point> element has the following attributes: draw:align 19.111, draw:escape-direction 19.147, draw:id 19.187, svg:x 19.577 and svg:y 19.581.

The <draw:glue-point> element has no child elements.

10.3.17 <svg:title>

The <svg:title> element specifies a name for a graphic object.

The <svg:title> element is usable within the following elements: <dr3d:scene> 10.5.2, <draw:area-circle> 10.4.13.4, <draw:area-polygon> 10.4.13.5, <draw:area-rectangle> 10.4.13.3, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:layer> 10.2.3, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page> 10.2.4, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2 and <draw:regular-polygon> 10.3.6.

The <svg:title> element has no attributes.

The <svg:title> element has no child elements.

The <svg:title> element has character data content.

10.3.18 <svg:desc>

The <svg:desc> element specifies a prose description of a graphic object that may be used to support accessibility. See appendix D.

The <svg:desc> element is usable within the following elements: <dr3d:scene> 10.5.2, <draw:area-circle> 10.4.13.4, <draw:area-polygon> 10.4.13.5, <draw:area-rectangle> 10.4.13.3, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:layer> 10.2.3, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page> 10.2.4, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2 and <draw:regular-polygon> 10.3.6.

The <svg:desc> element has no attributes.

The <svg:desc> element has no child elements.

The <svg:desc> element has character data content.

10.3.19 <office:event-listeners>

The <office:event-listeners> element represents the attachment of an event listener to a drawing shape, form control or other event-driven object. See 14.5.

The <office:event-listeners> element is usable within the following elements: <draw:area-circle> 10.4.13.4, <draw:area-polygon> 10.4.13.5, <draw:area-rectangle> 10.4.13.3, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:fixed-text> 13.5.10, <form:form> 13.3, <form:formatted-text> 13.5.6, <form:frame> 13.5.19, <form:generic-control> 13.5.25, <form:grid> 13.5.22, <form:hidden> 13.5.21, <form:image> 13.5.16, <form:image-frame> 13.5.20, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9, <form:value-range> 13.5.24, <office:scripts> 3.12, <table:content-validation> 9.4.5, <text:a> 6.1.8 and <text:execute-macro> 7.7.10.

The <office:event-listeners> element has no attributes.

The <office:event-listeners> element has the following child elements: <presentation:event-listener> 10.9.2 and <script:event-listener> 14.5.2.

10.4 Frames

10.4.1 General

A frame is a container for enhanced content like text boxes, images or objects. A frame may contain multiple renditions of content. A consumer may choose the representation that it supports best.

Multiple representations may share <svg:desc> and <svg:title> elements.

Each child element of a frame is a different representation of the same content. The order of content elements reflects the document author's preference for rendering, with the first child element being preferred. That means that consumers should render the first child element that they support. A frame may contain multiple content elements, but shall contain at least one content element.

Within text documents, frames are also used to position content outside the default text flow of a document.

10.4.2 <draw:frame>

The <draw:frame> element represents a frame and serves as the container for elements that may occur in a frame.

Frame formatting properties are stored in styles belonging to the graphic family.

The <draw:frame> element is usable within the following elements: <chart:chart> 11.1, <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:image> 3.9, <office:text> 3.4, <presentation:notes> 16.19, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.5, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:frame> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:copy-of 19.126, draw:id 19.187, draw:layer 19.189, draw:name 19.197, draw:style-name 19.219, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class 19.393, presentation:class-names 19.394, presentation:placeholder 19.411, presentation:style-name 19.426, presentation:user-transformed 19.431, style:rel-height 19.513, style:rel-width 19.514, svg:height 19.543, svg:width 19.575, svg:x 19.577, svg:y 19.581, table:end-cell-address 19.631, table:end-x 19.636, table:end-y 19.637, table:table-background 19.733, text:anchor-page-number 19.758, text:anchor-type 19.759 and xml:id 19.920.

The <draw:frame> element has the following child elements: <draw:applet> 10.4.7, <draw:contour-path> 10.4.11.3, <draw:contour-polygon> 10.4.11.2, <draw:floating-frame> 10.4.10, <draw:glue-point> 10.3.16, <draw:image> 10.4.4, <draw:image-map> 10.4.13.2, <draw:object> 10.4.6.2, <draw:object-ole> 10.4.6.3, <draw:plugin> 10.4.8, <draw:text-box> 10.4.3, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17 and <table:table> 9.1.2.

10.4.3 <draw:text-box>

The <draw:text-box> element represents a text box. This element may be used to place text in a container that is outside of the flow of the document.

The <draw:text-box> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:text-box> element has the following attributes: draw:chain-next-name 19.118, draw:corner-radius 19.127, fo:max-height 19.238, fo:max-width 19.239, fo:min-height 19.240, fo:min-width 19.241, text:id 19.815 and xml:id 19.920.

The <draw:text-box> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:change> 5.5.8.4, <text:change-end> 5.5.8.3, <text:change-start> 5.5.8.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:list> 5.3.1, <text:numbered-paragraph> 5.3.6, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:soft-page-break> 5.6, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

10.4.4 <draw:image>

The <draw:image> element represents an image. An image can be either:

or

The <draw:image> element may have text content. Text content is displayed in addition to the image data.

Note: While the image data may have an arbitrary format, vector graphics should be stored in the [SVG] format and bitmap graphics in the [PNG] format.

The <draw:image> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:image> element has the following attributes: draw:filter-name 19.170, draw:mime-type 19.191, xlink:actuate 19.915, xlink:href 19.916, xlink:show 19.917, xlink:type 19.919 and xml:id 19.920.

The <draw:image> element has the following child elements: <office:binary-data> 10.4.5, <text:list> 5.3.1 and <text:p> 5.1.3.

10.4.5 <office:binary-data>

The <office:binary-data> element contains image data in BASE64 encoding (as defined in [RFC2045]). If this element is present, an xlink:href 19.916 attribute in its parent element shall be ignored.

Note: The image data may be in an arbitrary data format. Consumers have to analyze the image data to determine the data format that is used.

The <office:binary-data> element is usable within the following elements: <draw:fill-image> 16.42.6, <draw:image> 10.4.4, <draw:object-ole> 10.4.6.3, <style:background-image> 17.3 and <text:list-level-style-image> 16.35.

The <office:binary-data> element has no attributes.

The <office:binary-data> element has no child elements.

The <office:binary-data> element has content of data type base64Binary 18.2.

10.4.6 Embedded Objects

10.4.6.1 General

A document in OpenDocument format can contain two types of embedded objects, as follows:

Note: OLE objects are an example of objects without an OpenDocument representation. See [OLE].

10.4.6.2 <draw:object>

The <draw:object> element represents objects that have a OpenDocument representation.

Objects with an OpenDocument representation can either be:

Note: An image representation of an object should be included in a frame in addition to the object itself.

The <draw:object> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:object> element has the following attributes: draw:notify-on-update-of-ranges 19.200, xlink:actuate 19.915, xlink:href 19.916, xlink:show 19.917, xlink:type 19.919 and xml:id 19.920.

The <draw:object> element has the following child elements: <math:math> 14.6 and <office:document> 3.1.2.

10.4.6.3 <draw:object-ole>

The <draw:object-ole> element represents objects that do not have an OpenDocument representation.

Objects without an OpenDocument representation can either be:

The <draw:object-ole> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:object-ole> element has the following attributes: draw:class-id 19.119, xlink:actuate 19.915, xlink:href 19.916, xlink:show 19.917, xlink:type 19.919 and xml:id 19.920.

The <draw:object-ole> element has the following child element: <office:binary-data> 10.4.5.

10.4.7 <draw:applet> (Deprecated)

The <draw:applet> element represents an applet that is embedded in a document. Its semantics are the same as the <applet> element in HTML. §13.4 of [HTML4]. This element shall have either a draw:code or draw:object attribute.

The applet name, width, height, margins, title and description are specified by the <draw:applet> element's <draw:frame> parent element. The <draw:applet> element does not support character data content.

The <draw:applet> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:applet> element has the following attributes: draw:archive 19.113, draw:code 19.121, draw:may-script 19.195, draw:object 19.201, xlink:actuate 19.915, xlink:href 19.916, xlink:show 19.917, xlink:type 19.919 and xml:id 19.920.

The <draw:applet> element has the following child element: <draw:param> 10.4.9.

10.4.8 <draw:plugin>

The <draw:plugin> element represents an external application that processes data with a specified media type.

How OpenDocument consumers interact with external applications is not defined by this specification.

Note: Consumers are responsible for any and all security issues that may arise from interaction with an external application referenced by a <draw:plugin> element.

The <draw:plugin> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:plugin> element has the following attributes: draw:mime-type 19.191, xlink:actuate 19.915, xlink:href 19.916, xlink:show 19.917, xlink:type 19.919 and xml:id 19.920.

The <draw:plugin> element has the following child element: <draw:param> 10.4.9.

10.4.9 <draw:param>

The <draw:param> element contains parameters that are passed to an applet or plugin when they are initialized.

The <draw:param> element is usable within the following elements: <draw:applet> 10.4.7 and <draw:plugin> 10.4.8.

The <draw:param> element has the following attributes: draw:name 19.197 and draw:value 19.230.

The <draw:param> element has no child elements.

10.4.10 <draw:floating-frame>

The <draw:floating-frame> element represents a frame that is embedded in a document.

Floating frames cannot be transformed as described in section 19.228.

The <draw:floating-frame> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:floating-frame> element has the following attributes: draw:frame-name 19.172, xlink:actuate 19.915, xlink:href 19.916, xlink:show 19.917, xlink:type 19.919 and xml:id 19.920.

The <draw:floating-frame> element has no child elements.

10.4.11 Contours

10.4.11.1 General

The <draw:contour-polygon> and <draw:contour-path> elements are used to specify contours to be applied to object or images.

Consumers should support pixel lengths for the svg:width and svg:height attributes of the <draw:contour-polygon> and <draw:contour-path> elements.

Note: A contour of an object or image establishes an outer boundary around an object or image. One use would be the wrapping of text around a contour specified for an image, if style:wrap-contour=”true” and a contour is specified.

10.4.11.2 <draw:contour-polygon>

The <draw:contour-polygon> element specifies a contour using a polygon.

The <draw:contour-polygon> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:contour-polygon> element has the following attributes: draw:points 19.206, draw:recreate-on-edit 19.208, svg:height 19.543, svg:viewBox 19.574 and svg:width 19.575.

The <draw:contour-polygon> element has no child elements.

10.4.11.3 <draw:contour-path>

The <draw:contour-path> element specifies a contour using a path.

The <draw:contour-path> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:contour-path> element has the following attributes: draw:recreate-on-edit 19.208, svg:d 19.530, svg:height 19.543, svg:viewBox 19.574 and svg:width 19.575.

The <draw:contour-path> element has no child elements.

10.4.12 <draw:a>

The <draw:a> element enables both frames and drawing shapes to act as hyperlinks.

The <draw:a> element contains a drawing shape that should behave as a hyperlink.

The <draw:a> element is usable within the following elements: <chart:chart> 11.1, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.19, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.5, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:a> element has the following attributes: office:name 19.380, office:server-map 19.382, office:target-frame-name 19.385, office:title 19.387, xlink:actuate 19.915, xlink:href 19.916, xlink:show 19.917, xlink:type 19.919 and xml:id 19.920.

The <draw:a> element has the following child elements: <dr3d:scene> 10.5.2, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2 and <draw:regular-polygon> 10.3.6.

10.4.13 Client Side Image Maps

10.4.13.1 General

An client side image map is a collection of hyperlinks that are associated with graphic elements. The image map is a sequence of image map elements. Each image map element associates a hyperlink with an area. The area can be a rectangle, circle or polygon.

10.4.13.2 <draw:image-map>

The <draw:image-map> element represents an image map.

Image map elements are specified at absolute positions relative to the original size of its associated graphical element. OpenDocument consumer shall scale the image map to match the current size of the image.

The <draw:image-map> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:image-map> element has no attributes.

The <draw:image-map> element has the following child elements: <draw:area-circle> 10.4.13.4, <draw:area-polygon> 10.4.13.5 and <draw:area-rectangle> 10.4.13.3.

10.4.13.3 <draw:area-rectangle>

The <draw:area-rectangle> element specifies a rectangular image map area.

The <draw:area-rectangle> element is usable within the following element: <draw:image-map> 10.4.13.2.

The <draw:area-rectangle> element has the following attributes: draw:nohref 19.199, office:name 19.380, office:target-frame-name 19.385, svg:height 19.543, svg:width 19.575, svg:x 19.577, svg:y 19.581, xlink:href 19.916, xlink:show 19.917 and xlink:type 19.919.

The <draw:area-rectangle> element has the following child elements: <office:event-listeners> 10.3.19, <svg:desc> 10.3.18 and <svg:title> 10.3.17.

10.4.13.4 <draw:area-circle>

The <draw:area-circle> element represents a circular image map area.

The <draw:area-circle> element is usable within the following element: <draw:image-map> 10.4.13.2.

The <draw:area-circle> element has the following attributes: draw:nohref 19.199, office:name 19.380, office:target-frame-name 19.385, svg:cx 19.528, svg:cy 19.529, svg:r 19.553, xlink:href 19.916, xlink:show 19.917 and xlink:type 19.919.

The <draw:area-circle> element has the following child elements: <office:event-listeners> 10.3.19, <svg:desc> 10.3.18 and <svg:title> 10.3.17.

10.4.13.5 <draw:area-polygon>

The <draw:area-polygon> element specifies a polygonal image map area. A polygonal image map area has the following components:

Note: For more information about how to represent polygons, see <draw:polygon> 10.3.5.

The <draw:area-polygon> element is usable within the following element: <draw:image-map> 10.4.13.2.

The <draw:area-polygon> element has the following attributes: draw:nohref 19.199, draw:points 19.206, office:name 19.380, office:target-frame-name 19.385, svg:height 19.543, svg:viewBox 19.574, svg:width 19.575, svg:x 19.577, svg:y 19.581, xlink:href 19.916, xlink:show 19.917 and xlink:type 19.919.

The <draw:area-polygon> element has the following child elements: <office:event-listeners> 10.3.19, <svg:desc> 10.3.18 and <svg:title> 10.3.17.

10.5 3D Shapes

10.5.1 General

3D shapes are used to define three-dimensional coordinate systems and geometrical figures within them. All OpenDocument 3D coordinate systems are right-handed. Geometry is represented by a tree of scenes. Each scene may contain zero or more 3D shapes, with a scene being a special case of shape. The root scene defines the world coordinate system. Each 3D shape may define a local coordinate system relative to its parent 3D scene.

10.5.2 <dr3d:scene>

The <dr3d:scene> element is the only element that can contain three-dimensional shapes. Like the <draw:g> element it groups shapes, but it also defines the projection, lighting, and other rendering details for the shapes inside the scene.

The attributes svg:x, svg:y, svg:width and svg:height are only evaluated for the outermost <dr3d:scene> element. The attributes svg:x, svg:y, svg:width and svg:height specify together a rectangular viewport into which the projection of the scene is drawn. The projection is scaled non-uniformly such that the bounding box of the projected elements matches the viewport rectangle.

The attributes svg:x and svg:y refer to the coordinate system of the parent element. They specify the top-left point of the viewport rectangle.

Note: To display a uniformly scaled projection, the producer has to generate suitable values for svg:width and svg:height.

The <dr3d:scene> element is usable within the following elements: <chart:chart> 11.1, <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.19, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.5, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <dr3d:scene> element has the following attributes: dr3d:ambient-color 19.92, dr3d:distance 19.96, dr3d:focal-length 19.98, dr3d:lighting-mode 19.99, dr3d:projection 19.102, dr3d:shade-mode 19.103, dr3d:shadow-slant 19.104, dr3d:transform 19.107, dr3d:vpn 19.108, dr3d:vrp 19.109, dr3d:vup 19.110, draw:caption-id 19.115, draw:class-names 19.120, draw:id 19.187, draw:layer 19.189, draw:style-name 19.219, draw:z-index 19.231, presentation:class-names 19.394, presentation:style-name 19.426, svg:height 19.543, svg:width 19.575, svg:x 19.577, svg:y 19.581, table:end-cell-address 19.631, table:end-x 19.636, table:end-y 19.637, table:table-background 19.733, text:anchor-page-number 19.758, text:anchor-type 19.759 and xml:id 19.920.

The <dr3d:scene> element has the following child elements: <dr3d:cube> 10.5.4, <dr3d:extrude> 10.5.6, <dr3d:light> 10.5.3, <dr3d:rotate> 10.5.7, <dr3d:scene> 10.5.2, <dr3d:sphere> 10.5.5, <draw:glue-point> 10.3.16, <svg:desc> 10.3.18 and <svg:title> 10.3.17.

10.5.3 <dr3d:light>

The <dr3d:light> element represents a light inside a scene.

Note: There may be several lights, but consumers may limit the number of lights per scene to 8.

The <dr3d:light> element is usable within the following elements: <chart:plot-area> 11.5 and <dr3d:scene> 10.5.2.

The <dr3d:light> element has the following attributes: dr3d:diffuse-color 19.94, dr3d:direction 19.95, dr3d:enabled 19.97 and dr3d:specular 19.106.

The <dr3d:light> element has no child elements.

10.5.4 <dr3d:cube>

The <dr3d:cube> element represents a three-dimensional cube shape.

The <dr3d:cube> element is usable within the following element: <dr3d:scene> 10.5.2.

The <dr3d:cube> element has the following attributes: dr3d:max-edge 19.100, dr3d:min-edge 19.101, dr3d:transform 19.107, draw:class-names 19.120, draw:id 19.187, draw:layer 19.189, draw:style-name 19.219, draw:z-index 19.231, presentation:class-names 19.394, presentation:style-name 19.426 and xml:id 19.920.

The <dr3d:cube> element has no child elements.

10.5.5 <dr3d:sphere>

The <dr3d:sphere> element represents a three-dimensional sphere shape.

The <dr3d:sphere> element is usable within the following element: <dr3d:scene> 10.5.2.

The <dr3d:sphere> element has the following attributes: dr3d:center 19.93, dr3d:size 19.105, dr3d:transform 19.107, draw:class-names 19.120, draw:id 19.187, draw:layer 19.189, draw:style-name 19.219, draw:z-index 19.231, presentation:class-names 19.394, presentation:style-name 19.426 and xml:id 19.920.

The <dr3d:sphere> element has no child elements.

10.5.6 <dr3d:extrude>

The <dr3d:extrude> element represents a three-dimensional extruded object based on the given polygon. The 3D geometry is formed by extruding a polygon perpendicular to the plane of the given polygon by a depth (see dr3d:depth, 20.79), creating a front face, a back face and side faces. The side faces are formed by connecting all corresponding single edges of the front and back faces. When no depth is given, the polygon forms a shape without depth. The closing of the front face depends on the value of the dr3d:close-front attribute 20.78. The closing of the back face depends on the value of the dr3d:close-back attribute 20.77. The size of the back face can be relative to the size of the front face when the dr3d:back-scale attribute is used. The side faces defined by the extrusion of the shape are always closed.

The <dr3d:extrude> element is usable within the following element: <dr3d:scene> 10.5.2.

The <dr3d:extrude> element has the following attributes: dr3d:transform 19.107, draw:class-names 19.120, draw:id 19.187, draw:layer 19.189, draw:style-name 19.219, draw:z-index 19.231, presentation:class-names 19.394, presentation:style-name 19.426, svg:d 19.530, svg:viewBox 19.574 and xml:id 19.920.

The <dr3d:extrude> element has no child elements.

10.5.7 <dr3d:rotate>

The <dr3d:rotate> element represents a three-dimensional rotation shape based on the given polygon. The 3D geometry is defined by rotating the XY-plane with the polygon around the Y-axis of the local coordinate system.  This rotation is linearly interpolated in the given number of steps (dr3d:horizontal-segments 20.85) around the given angle (dr3d:end-angle 20.84). The side faces are formed by connecting all corresponding single edges of a neighboring pairs of rotated polygons. By default, the rotation uses a full rotation (360 degrees, dr3d:end-angle attribute 20.84). In that case the 3D geometry is implicitly closed and no front face or back face is created (unless they are of different sizes). If the rotation is different, a front face is created using the first, unrotated polygon and a back face is created using the last rotated polygon. The closing of a front face also depends on the value of the dr3d:close-front attribute 20.78 and the closing of a back face on the value of the dr3d:close-back 20.77 attribute. The size of the back face can be different than the size of the front face when the dr3d:back-scale attribute 20.75 is used.

The <dr3d:rotate> element is usable within the following element: <dr3d:scene> 10.5.2.

The <dr3d:rotate> element has the following attributes: dr3d:transform 19.107, draw:class-names 19.120, draw:id 19.187, draw:layer 19.189, draw:style-name 19.219, draw:z-index 19.231, presentation:class-names 19.394, presentation:style-name 19.426, svg:d 19.530, svg:viewBox 19.574 and xml:id 19.920.

The <dr3d:rotate> element has no child elements.

10.6 Custom Shape

10.6.1 <draw:custom-shape>

The <draw:custom-shape> element represents a complex figure. It supports font geometry effects and extrusion. A custom shape may have a geometry that influences its shape.

The <draw:custom-shape> element is usable within the following elements: <chart:chart> 11.1, <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.19, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.5, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:custom-shape> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:data 19.131, draw:engine 19.146, draw:id 19.187, draw:layer 19.189, draw:name 19.197, draw:style-name 19.219, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.394, presentation:style-name 19.426, svg:height 19.543, svg:width 19.575, svg:x 19.577, svg:y 19.581, table:end-cell-address 19.631, table:end-x 19.636, table:end-y 19.637, table:table-background 19.733, text:anchor-page-number 19.758, text:anchor-type 19.759 and xml:id 19.920.

The <draw:custom-shape> element has the following child elements: <draw:enhanced-geometry> 10.6.2, <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.6.2 <draw:enhanced-geometry>

The <draw:enhanced-geometry> element contains the geometry for a <draw:custom-shape> element if its draw:engine attribute has been omitted.

The <draw:enhanced-geometry> element is usable within the following element: <draw:custom-shape> 10.6.1.

The <draw:enhanced-geometry> element has the following attributes: dr3d:projection 19.102, dr3d:shade-mode 19.103, draw:concentric-gradient-fill-allowed 19.124, draw:enhanced-path 19.145, draw:extrusion 19.148, draw:extrusion-allowed 19.149, draw:extrusion-brightness 19.150, draw:extrusion-color 19.151, draw:extrusion-depth 19.152, draw:extrusion-diffusion 19.153, draw:extrusion-first-light-direction 19.154, draw:extrusion-first-light-harsh 19.155, draw:extrusion-first-light-level 19.156, draw:extrusion-light-face 19.157, draw:extrusion-metal 19.158, draw:extrusion-number-of-line-segments 19.159, draw:extrusion-origin 19.160, draw:extrusion-rotation-angle 19.161, draw:extrusion-rotation-center 19.162, draw:extrusion-second-light-direction 19.163, draw:extrusion-second-light-harsh 19.164, draw:extrusion-second-light-level 19.165, draw:extrusion-shininess 19.166, draw:extrusion-skew 19.167, draw:extrusion-specularity 19.168, draw:extrusion-viewpoint 19.169, draw:glue-point-leaving-directions 19.173, draw:glue-point-type 19.174, draw:glue-points 19.175, draw:mirror-horizontal 19.192, draw:mirror-vertical 19.193, draw:modifiers 19.196, draw:path-stretchpoint-x 19.204, draw:path-stretchpoint-y 19.205, draw:text-areas 19.220, draw:text-path 19.221, draw:text-path-allowed 19.222, draw:text-path-mode 19.223, draw:text-path-same-letter-heights 19.224, draw:text-path-scale 19.225, draw:text-rotate-angle 19.226, draw:type 19.229 and svg:viewBox 19.574.

The <draw:enhanced-geometry> element has the following child elements: <draw:equation> 10.2.5 and <draw:handle> 10.6.3.

10.6.3 <draw:handle>

The <draw:handle> element represents a single interaction handle for a drawing shape.

The <draw:handle> element is usable within the following element: <draw:enhanced-geometry> 10.6.2.

The <draw:handle> element has the following attributes: draw:handle-mirror-horizontal 19.176, draw:handle-mirror-vertical 19.177, draw:handle-polar 19.178, draw:handle-position 19.179, draw:handle-radius-range-maximum 19.180, draw:handle-radius-range-minimum 19.181, draw:handle-range-x-maximum 19.182, draw:handle-range-x-minimum 19.183, draw:handle-range-y-maximum 19.184, draw:handle-range-y-minimum 19.185 and draw:handle-switched 19.186.

The <draw:handle> element has no child elements.

10.7 Presentation Shapes

Presentation shapes are shapes on a draw page that are part of a presentation page layout 16.43 element. They use styles with a style family value of presentation 19.394, unlike drawing shapes which use styles with a style family value of graphic 19.120. Presentation shapes can be empty, acting only as placeholders. If a draw page's presentation layout is changed, all presentation shapes contained in that draw page are adapted automatically.

Standard drawing shapes can also be used in presentations. The presentation:class 19.393 attribute distinguishes presentation shapes from drawing shapes. Unlike presentation shapes, standard drawing shapes are not adapted if the presentation page layout is changed.

10.8 Presentation Animations

10.8.1 <presentation:animations>

The <presentation:animations> element is a container for animation effects. Animation effects are executed when a page represented by a <draw:page> 10.2.4 element containing this element is displayed.

A single shape may be the subject of multiple effects.

The <presentation:animations> element is usable within the following element: <draw:page> 10.2.4.

The <presentation:animations> element has no attributes.

The <presentation:animations> element has the following child elements: <presentation:animation-group> 10.8.9, <presentation:dim> 10.8.7, <presentation:hide-shape> 10.8.5, <presentation:hide-text> 10.8.6, <presentation:play> 10.8.8, <presentation:show-shape> 10.8.3 and <presentation:show-text> 10.8.4.

10.8.2 <presentation:sound>

The <presentation:sound> element represents a sound.

The <presentation:sound> element is usable within the following elements: <presentation:dim> 10.8.7, <presentation:event-listener> 10.9.2, <presentation:hide-shape> 10.8.5, <presentation:hide-text> 10.8.6, <presentation:show-shape> 10.8.3, <presentation:show-text> 10.8.4 and <style:drawing-page-properties> 17.25.

The <presentation:sound> element has the following attributes: presentation:play-full 19.412, xlink:actuate 19.915, xlink:href 19.916, xlink:show 19.917, xlink:type 19.919 and xml:id 19.920.

The <presentation:sound> element has no child elements.

10.8.3 <presentation:show-shape>

The <presentation:show-shape> element specifies when and how a shape becomes visible. Prior to execution of the effect defined by this element the shape is invisible.

The <presentation:show-shape> element is usable within the following elements: <presentation:animation-group> 10.8.9 and <presentation:animations> 10.8.1.

The <presentation:show-shape> element has the following attributes: draw:shape-id 19.210, presentation:delay 19.395, presentation:direction 19.396, presentation:effect 19.398, presentation:path-id 19.409, presentation:speed 19.421 and presentation:start-scale 19.422.

The <presentation:show-shape> element has the following child element: <presentation:sound> 10.8.2.

10.8.4 <presentation:show-text> (deprecated)

The <presentation:show-text> element specifies when and how the text within a shape becomes visible. Prior to execution of the effect defined by this element the shape and the text it contains are invisible.

The <presentation:show-text> element is usable within the following elements: <presentation:animation-group> 10.8.9 and <presentation:animations> 10.8.1.

The <presentation:show-text> element has the following attributes: draw:shape-id 19.210, presentation:delay 19.395, presentation:direction 19.396, presentation:effect 19.398, presentation:path-id 19.409, presentation:speed 19.421 and presentation:start-scale 19.422.

The <presentation:show-text> element has the following child element: <presentation:sound> 10.8.2.

10.8.5 <presentation:hide-shape>

The <presentation:hide-shape> element specifies when and how a shape becomes invisible. Prior to execution of the effect defined by this element the shape is visible.

The <presentation:hide-shape> element is usable within the following elements: <presentation:animation-group> 10.8.9 and <presentation:animations> 10.8.1.

The <presentation:hide-shape> element has the following attributes: draw:shape-id 19.210, presentation:delay 19.395, presentation:direction 19.396, presentation:effect 19.398, presentation:path-id 19.409, presentation:speed 19.421 and presentation:start-scale 19.422.

The <presentation:hide-shape> element has the following child element: <presentation:sound> 10.8.2.

10.8.6 <presentation:hide-text>

The <presentation:hide-text> element specifies when and how the text within a shape becomes invisible. Prior to execution of the effect specified by this element the shape and the text it contains are visible.  

The <presentation:hide-text> element is usable within the following elements: <presentation:animation-group> 10.8.9 and <presentation:animations> 10.8.1.

The <presentation:hide-text> element has the following attributes: draw:shape-id 19.210, presentation:delay 19.395, presentation:direction 19.396, presentation:effect 19.398, presentation:path-id 19.409, presentation:speed 19.421 and presentation:start-scale 19.422.

The <presentation:hide-text> element has the following child element: <presentation:sound> 10.8.2.

10.8.7 <presentation:dim>

The <presentation:dim> element specifies a fill color for a shape.

The <presentation:dim> element is usable within the following elements: <presentation:animation-group> 10.8.9 and <presentation:animations> 10.8.1.

The <presentation:dim> element has the following attributes: draw:color 19.122 and draw:shape-id 19.210.

The <presentation:dim> element has the following child element: <presentation:sound> 10.8.2.

10.8.8 <presentation:play>

The <presentation:play> element specifies the presentation speed of animation of a shape.

The <presentation:play> element is usable within the following elements: <presentation:animation-group> 10.8.9 and <presentation:animations> 10.8.1.

The <presentation:play> element has the following attributes: draw:shape-id 19.210 and presentation:speed 19.421.

The <presentation:play> element has no child elements.

10.8.9 <presentation:animation-group>

The <presentation:animation-group> element contains elements that specify multiple animation effects. Containment results in all effects occurring at the same time.

The <presentation:animation-group> element is usable within the following element: <presentation:animations> 10.8.1.

The <presentation:animation-group> element has no attributes.

The <presentation:animation-group> element has the following child elements: <presentation:dim> 10.8.7, <presentation:hide-shape> 10.8.5, <presentation:hide-text> 10.8.6, <presentation:play> 10.8.8, <presentation:show-shape> 10.8.3 and <presentation:show-text> 10.8.4.

10.9 SMIL Presentation Animations

10.9.1 General

SMIL based shape animations are specified for presentation documents. This type of animation can be used instead of that specified by <presentation:animations> elements if elements for one of the following items is required:

An effect is a combination of one or more animation elements that animate a single shape and or a shape's paragraphs.

10.9.2 <presentation:event-listener>

The <presentation:event-listener> element defines the trigger for a presentation event.

The <presentation:event-listener> element is usable within the following element: <office:event-listeners> 10.3.19.

The <presentation:event-listener> element has the following attributes: presentation:action 19.391, presentation:direction 19.396, presentation:effect 19.398, presentation:speed 19.421, presentation:start-scale 19.422, presentation:verb 19.432, script:event-name 19.433, xlink:actuate 19.915, xlink:href 19.916, xlink:show 19.917 and xlink:type 19.919.

The <presentation:event-listener> element has the following child element: <presentation:sound> 10.8.2.

10.9.3 Presentation Document Content

10.9.3.1 <presentation:header>

The <presentation:header> element defines a field that contains a header for a presentation. Which header field declaration is used is specified by the presentation:use-header-name 19.430 attribute of the <draw:page> 10.2.4 where the field occurs. In a presentation shape inside a master page 19.393, the presentation:use-header-name attribute of the <draw:page> element for which the drawing shape is displayed is used.

Note: This field is mainly used inside master pages. Since its value may differ for the individual drawing pages that make use of a master page, the current field value is not available.

The <presentation:header> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <presentation:header> element has no attributes.

The <presentation:header> element has no child elements.

10.9.3.2 <presentation:header-decl>

The <presentation:header-decl> element specifies the text of a header field.

The <presentation:header-decl> element is usable within the following element: <office:presentation> 3.6.

The <presentation:header-decl> element has the following attribute: presentation:name 19.405.

The <presentation:header-decl> element has no child elements.

The <presentation:header-decl> element has character data content.

10.9.3.3 <presentation:footer>

The <presentation:footer> element defines a field that contains a footer for a presentation. Footer fields display a footer text specified in a footer field declaration. See 10.9.3.4. Which footer field declaration is used is specified by the presentation:use-footer-name attribute of the draw page where the field occurs. In a presentation drawing shape inside a master page 19.393, the presentation:use-footer-name attribute of the <draw:page> for which the drawing shape is displayed is used.

Note: This field is mainly used inside master pages. Since its value may differ for the individual drawing pages that make use of a master page, the current field value is not available.

The <presentation:footer> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <presentation:footer> element has no attributes.

The <presentation:footer> element has no child elements.

10.9.3.4 <presentation:footer-decl>

The <presentation:footer-decl> element specifies the text of a footer field.

The <presentation:footer-decl> element is usable within the following element: <office:presentation> 3.6.

The <presentation:footer-decl> element has the following attribute: presentation:name 19.405.

The <presentation:footer-decl> element has no child elements.

The <presentation:footer-decl> element has character data content.

10.9.3.5 <presentation:date-time>

The <presentation:date-time> element defines a field that contains a date/time text for a presentation. Date/time fields display a date/time text as specified in the date/time field declaration. See 10.9.3.6. Which date/time field declaration is used is specified by the presentation:use-date-time-name attribute of the draw page where the field occurs. In a presentation drawing shape inside a master page 19.393, the presentation:use-date-time-name attribute of the drawing page for which the drawing shape is displayed is used.

Note: This field is mainly used inside master pages. Since its value may differ for the individual drawing pages that make use of a master page, the current field value is not available.

The <presentation:date-time> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <presentation:date-time> element has no attributes.

The <presentation:date-time> element has no child elements.

10.9.3.6 <presentation:date-time-decl>

The <presentation:date-time-decl> element specifies the text of a date/time field.

The <presentation:date-time-decl> element is usable within the following element: <office:presentation> 3.6.

The <presentation:date-time-decl> element has the following attributes: presentation:name 19.405, presentation:source 19.420 and style:data-style-name 19.473.

The <presentation:date-time-decl> element has no child elements.

The <presentation:date-time-decl> element has character data content.

10.9.3.7 <presentation:settings>

The <presentation:settings> element is a container for the settings for a presentation in a document.

The <presentation:settings> element is usable within the following element: <office:presentation> 3.6.

The <presentation:settings> element has the following attributes: presentation:animations 19.392, presentation:endless 19.397, presentation:force-manual 19.399, presentation:full-screen 19.400, presentation:mouse-as-pen 19.403, presentation:mouse-visible 19.404, presentation:pause 19.410, presentation:show 19.417, presentation:show-end-of-presentation-slide 19.418, presentation:show-logo 19.419, presentation:start-page 19.423, presentation:start-with-navigator 19.424, presentation:stay-on-top 19.425 and presentation:transition-on-click 19.427.

The <presentation:settings> element has the following child element: <presentation:show> 10.9.3.8.

10.9.3.8 <presentation:show>

The <presentation:show> element specifies the order in which pages are displayed during a presentation.

Note: The order of pages can be used to omit or repeat pages in a presentation.

The <presentation:show> element is usable within the following element: <presentation:settings> 10.9.3.7.

The <presentation:show> element has the following attributes: presentation:name 19.405 and presentation:pages 19.408.

The <presentation:show> element has no child elements.

11 Chart Content

11.1 <chart:chart>

The <chart:chart> element represents a chart.

The <chart:chart> element is usable within the following element: <office:chart> 3.8.

The <chart:chart> element has the following attributes: chart:class 19.15, chart:column-mapping 19.16, chart:row-mapping 19.26, chart:style-name 19.27, svg:height 19.543, svg:width 19.575, xlink:href 19.916, xlink:type 19.919 and xml:id 19.920.

The <chart:chart> element has the following child elements: <chart:footer> 11.2.3, <chart:legend> 11.4, <chart:plot-area> 11.5, <chart:subtitle> 11.2.2, <chart:title> 11.2.1, <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <table:table> 9.1.2.

11.2 Title, Subtitle and Footer

11.2.1 <chart:title>

The <chart:title> element represents a title in a chart document.

The text of a title is specified by a child <text:p> element or a table:cell-range attribute. If a child <text:p> element and a table:cell-range attribute are both present, the text specified by the table:cell-range attribute is used as the title. By default, the content of a child <text:p> element is displayed as the title.

This element can also be a sub-element of <chart:axis>. 11.9 In that case the title is displayed beside the axis specified by the <chart:axis> element.

The <chart:title> element is usable within the following elements: <chart:axis> 11.9 and <chart:chart> 11.1.

The <chart:title> element has the following attributes: chart:style-name 19.27, svg:x 19.577, svg:y 19.581 and table:cell-range 19.596.

The <chart:title> element has the following child element: <text:p> 5.1.3.

11.2.2 <chart:subtitle>

The <chart:subtitle> element represents a subtitle for a chart.

The text of a subtitle is specified by a child <text:p> element or a table:cell-range attribute. If a child <text:p> element and a table:cell-range attribute are both present, the text specified by the table:cell-range attribute is used as the subtitle. By default, the content of a child <text:p> element is displayed as the title.

The <chart:subtitle> element is usable within the following element: <chart:chart> 11.1.

The <chart:subtitle> element has the following attributes: chart:style-name 19.27, svg:x 19.577, svg:y 19.581 and table:cell-range 19.596.

The <chart:subtitle> element has the following child element: <text:p> 5.1.3.

11.2.3 <chart:footer>

The <chart:footer> element represents a footer below a chart's plot area.

The text of a footer is specified by a child <text:p> element or a table:cell-range attribute. If a child <text:p> element and a table:cell-range attribute are both present, the text specified by the table:cell-range attribute is used as the footer. By default, the content of a child <text:p> element is displayed as the footer.

The <chart:footer> element is usable within the following element: <chart:chart> 11.1.

The <chart:footer> element has the following attributes: chart:style-name 19.27, svg:x 19.577, svg:y 19.581 and table:cell-range 19.596.

The <chart:footer> element has the following child element: <text:p> 5.1.3.

11.3 <chart:coordinate-region>

The <chart:coordinate-region> element specifies a positioning rectangle.

For charts with a two-dimensional Cartesian coordinate system, the used intervals on the axes span a rectangular coordinate-region. Axis labels, tick marks, axis titles and data labels are not considered in determining the coordinate-region. The coordinate system is scaled so that the coordinate-region matches width and height of the positioning rectangle. The entire chart is located so that the coordinate-region matches the positioning rectangle.

Charts of the predefined classes chart:radar, chart:filled-radar, chart:circle and chart:ring do not have a Cartesian coordinate system. For such charts the smallest bounding circle is considered ignoring all axis labels, tick marks, axis titles and data labels. The rectangular bounding box of this circle is the coordinate-region. Where single data points have a chart:pie-offset greater than zero that offset shall not contribute to an expansion of the coordinate-region; thus a pulled out pie segment is allowed to protrude from the coordinate-region. A chart:pie-offset at the series element in contrast shall contribute to the coordinate region.

Circle or ring or the polar coordinate system of radar-charts respectively is uniformly scaled so that the coordinate-region has maximal size, but does not exceed the size of the positioning rectangle. The entire chart is located so that the coordinate-region is centered in the positioning rectangle. Producers should specify a square positioning rectangle for charts of these classes.

The behavior for the three-dimensional charts is described in section 11.5.

The behavior is implementation-defined for charts of non-predefined chart classes, which have no Cartesian coordinate system.

The <chart:coordinate-region> element is usable within the following element: <chart:plot-area> 11.5.

The <chart:coordinate-region> element has the following attributes: svg:height 19.543, svg:width 19.575, svg:x 19.577 and svg:y 19.581.

The <chart:coordinate-region> element has no child elements.

11.4 <chart:legend>

The <chart:legend> element represents a legend for a chart. If there is no <chart:legend> element for a chart, no legend is displayed.

A legend contains a list of legend entries. Each entry consists of a graphical entry key and an entry text.

For circle and ring charts each legend entry represents an individual data point of the first series. The graphical entry key represents the visual appearance of a data point while the entry text is the category of the point.

The categories to use are given as a list of labels defined by the <chart:categories> 11.10 element at the x-axis. They are paired with matching data points in the order in which they appear.

For surface charts each graphic entry key represents the graphical appearance of the surface within a major interval of the altitude axis and the entry text represents the value range of that interval.

For all other chart types the legend entries represent the series of the chart. The graphical entry keys represent the visual appearance of each series while the entry texts contain the names of the series.

The legend may include additional entries for regression-curves and mean-value lines.

The <chart:legend> element may contain a <text:p> element. If present, it defines a title for the legend.

The <chart:legend> element is usable within the following element: <chart:chart> 11.1.

The <chart:legend> element has the following attributes: chart:legend-align 19.22, chart:legend-position 19.23, chart:style-name 19.27, style:legend-expansion 19.494, style:legend-expansion-aspect-ratio 19.495, svg:height 19.543, svg:width 19.575, svg:x 19.577 and svg:y 19.581.

The <chart:legend> element has the following child element: <text:p> 5.1.3.

11.5 <chart:plot-area>

The <chart:plot-area> element represents a coordinate system in which data is plotted including defined axes.

The plot area may be displayed as a 3D scene as specified in section 10.5.2. All 3D attributes that can be applied to the <dr3d:scene> element can be applied to the <chart:plot-area> element. This includes the dr3d:transform attribute that specifies the rotation of the three-dimensional plot area. 10.5.2 The <chart:plot-area> element may contain a <dr3d:light> element as specified in section 10.5.3.

The svg:x, svg:y, svg:width and svg:height attributes specify together a positioning rectangle that serves as the viewport for the projection of the scene. Consumers shall use uniform scaling, so that the projection has maximal size but does not exceed the size of the positioning rectangle. The projection of the scene is centered inside the positioning rectangle.

If a <chart:plot-area> element contains a <chart:coordinate-region> element, the position and size values of the <chart:coordinate-region> element are used instead of those from the <chart:plot-area> to determine the positioning rectangle.

If the attributes chart:auto-position and chart:auto-size within a chart style applied to the chart:plot-area have the value true, all positioning attributes including those within child element <chart:coordinate-region> shall be ignored.

For three-dimensional charts of classes chart:circle and chart:ring the content is extruded. The bounding box as described in 11.3 is extruded the same way and used instead of the entire scene to position and scale the projection.

For charts with a three-dimensional Cartesian coordinate system, the used intervals on the axes generate a cuboid. This is used instead of the entire scene to position and scale the projection.

For other three-dimensional charts the behavior is implementation-defined.

The <chart:plot-area> element is usable within the following element: <chart:chart> 11.1.

The <chart:plot-area> element has the following attributes: chart:data-source-has-labels 19.17, chart:style-name 19.27, dr3d:ambient-color 19.92, dr3d:distance 19.96, dr3d:focal-length 19.98, dr3d:lighting-mode 19.99, dr3d:projection 19.102, dr3d:shade-mode 19.103, dr3d:shadow-slant 19.104, dr3d:transform 19.107, dr3d:vpn 19.108, dr3d:vrp 19.109, dr3d:vup 19.110, svg:height 19.543, svg:width 19.575, svg:x 19.577, svg:y 19.581, table:cell-range-address 19.597 and xml:id 19.920.

The <chart:plot-area> element has the following child elements: <chart:axis> 11.9, <chart:coordinate-region> 11.3, <chart:floor> 11.8, <chart:series> 11.12, <chart:stock-gain-marker> 11.20, <chart:stock-loss-marker> 11.21, <chart:stock-range-line> 11.22, <chart:wall> 11.7 and <dr3d:light> 10.5.3.

11.6 3D Plot Area

The plot area may be displayed as an 3D scene as specified in section 10.5.2. All 3D attributes that can be applied to the <dr3d:scene> element can be applied to the <chart:plot-area> element. This includes the dr3d:transform attribute that specifies the rotation of the three-dimensional plot area. 10.5.2 The <chart:plot-area> element may contain a <dr3d:light> element as specified in section 10.5.3.

11.7 <chart:wall>

The <chart:wall> element specifies the wall of a chart. For two-dimensional charts, the wall spans the entire plot area. For three-dimensional charts, the wall consists of two perpendicular rectangles.

The svg:width attribute specifies the thickness of a wall for three-dimensional charts.

The <chart:wall> element is usable within the following element: <chart:plot-area> 11.5.

The <chart:wall> element has the following attributes: chart:style-name 19.27 and svg:width 19.575.

The <chart:wall> element has no child elements.

11.8 <chart:floor>

The <chart:floor> element specifies the floor of a chart. For three-dimensional charts, the <chart:floor> element shall be present in addition to the <chart:wall> element.

The svg:width attribute specifies the thickness of the floor.

The <chart:floor> element is usable within the following element: <chart:plot-area> 11.5.

The <chart:floor> element has the following attributes: chart:style-name 19.27 and svg:width 19.575.

The <chart:floor> element has no child elements.

11.9 <chart:axis>

The <chart:axis> element specifies an axis for a chart.

The <chart:axis> element is usable within the following element: <chart:plot-area> 11.5.

The <chart:axis> element has the following attributes: chart:dimension 19.18, chart:name 19.24 and chart:style-name 19.27.

The <chart:axis> element has the following child elements: <chart:categories> 11.10, <chart:grid> 11.11 and <chart:title> 11.2.1.

11.10 <chart:categories>

The <chart:categories> element represents labels that are displayed on a category-axis.

This element may have a table:cell-range-address attribute that specifies a range from which category labels are taken. If this attribute or the <chart:categories> element itself is omitted, the chart:data-source-has-labels attribute of the <chart:plot-area> element should be evaluated for labels to display on a category-axis.

The <chart:categories> element is usable within the following element: <chart:axis> 11.9.

The <chart:categories> element has the following attribute: table:cell-range-address 19.597.

The <chart:categories> element has no child elements.

11.11 <chart:grid>

The <chart:grid> element specifies a grid for an axis.

The <chart:grid> element is usable within the following element: <chart:axis> 11.9.

The <chart:grid> element has the following attributes: chart:class 19.15 and chart:style-name 19.27.

The <chart:grid> element has no child elements.

11.12 <chart:series>

The <chart:series> element represents a data series in a chart. If the chart requires more input data, it is the case for scatter and bubble charts, <chart:domain> sub-elements shall be defined that contain the cell range addresses of the corresponding data.

The <chart:series> element is usable within the following element: <chart:plot-area> 11.5.

The <chart:series> element has the following attributes: chart:attached-axis 19.13, chart:class 19.15, chart:label-cell-address 19.21, chart:style-name 19.27, chart:values-cell-range-address 19.28 and xml:id 19.920.

The <chart:series> element has the following child elements: <chart:data-label> 11.15, <chart:data-point> 11.14, <chart:domain> 11.13, <chart:error-indicator> 11.17, <chart:mean-value> 11.16 and <chart:regression-curve> 11.18.

11.13 <chart:domain>

The <chart:domain> element specifies coordinate values required by particular chart types.

For scatter charts, one <chart:domain> element shall exist. Its table:cell-range-address attribute references the x-coordinate values for the scatter chart.

For bubble charts, two <chart:domain> elements shall exist. The values for the y-coordinates are given by the first <chart:domain> element. The values for the x-coordinates are given by the second <chart:domain> element.

For surface charts, up to two <chart:domain> elements are allowed to exist. The values for the y-coordinates are given by the first <chart:domain> element. The values for the x-coordinates are given by the second <chart:domain> element.

At least one <chart:series> element of a given chart:class shall have the necessary number of <chart:domain> sub-elements. All other <chart:series> elements with the same chart:class may omit the <chart:domain> sub-elements and use the previously-defined values for the same chart:class value.

The <chart:domain> element is usable within the following element: <chart:series> 11.12.

The <chart:domain> element has the following attribute: table:cell-range-address 19.597.

The <chart:domain> element has no child elements.

11.14 <chart:data-point>

The <chart:data-point> element specifies a style for a single data point in a data series.

Note: This element would typically be used if a single data point has a special or distinct appearance.

The <chart:data-point> element is usable within the following element: <chart:series> 11.12.

The <chart:data-point> element has the following attributes: chart:repeated 19.25, chart:style-name 19.27 and xml:id 19.920.

The <chart:data-point> element has the following child element: <chart:data-label> 11.15.

11.15 <chart:data-label>

The <chart:data-label> element represents the data label of a data point.

The <chart:data-label> element can also be a sub-element of a data series. In that case, the data label serves as default for all the data points of this series.

The <chart:data-label> element is usable within the following elements: <chart:data-point> 11.14 and <chart:series> 11.12.

The <chart:data-label> element has the following attributes: chart:style-name 19.27, svg:x 19.577 and svg:y 19.581.

The <chart:data-label> element has the following child element: <text:p> 5.1.3.

11.16 <chart:mean-value>

The <chart:mean-value> element specifies a style for a mean-value line.

The <chart:mean-value> element is usable within the following element: <chart:series> 11.12.

The <chart:mean-value> element has the following attribute: chart:style-name 19.27.

The <chart:mean-value> element has no child elements.

11.17 <chart:error-indicator>

The <chart:error-indicator> element specifies a style for error indicators.

The <chart:error-indicator> element is usable within the following element: <chart:series> 11.12.

The <chart:error-indicator> element has the following attributes: chart:dimension 19.18 and chart:style-name 19.27.

The <chart:error-indicator> element has no child elements.

11.18 <chart:regression-curve>

The <chart:regression-curve> element specifies the properties of regression curves.

The <chart:regression-curve> element is usable within the following element: <chart:series> 11.12.

The <chart:regression-curve> element has the following attribute: chart:style-name 19.27.

The <chart:regression-curve> element has the following child element: <chart:equation> 11.19.

11.19 <chart:equation>

The <chart:equation> element represents the equation for a containing regression curve.

The <chart:equation> element is usable within the following element: <chart:regression-curve> 11.18.

The <chart:equation> element has the following attributes: chart:automatic-content 19.14, chart:display-equation 19.19, chart:display-r-square 19.20, chart:style-name 19.27, svg:x 19.577 and svg:y 19.581.

The <chart:equation> element has the following child element: <text:p> 5.1.3.

11.20 <chart:stock-gain-marker>

The <chart:stock-gain-marker> element specifies a style for candlestick-bars in a stock chart that have a higher closing value than opening value.

The <chart:stock-gain-marker> element is usable within the following element: <chart:plot-area> 11.5.

The <chart:stock-gain-marker> element has the following attribute: chart:style-name 19.27.

The <chart:stock-gain-marker> element has no child elements.

11.21 <chart:stock-loss-marker>

The <chart:stock-loss-marker> element specifies the style for candlestick-bars 19.15.1 in a stock chart that have a lower closing value than opening value.

The <chart:stock-loss-marker> element is usable within the following element: <chart:plot-area> 11.5.

The <chart:stock-loss-marker> element has the following attribute: chart:style-name 19.27.

The <chart:stock-loss-marker> element has no child elements.

11.22 <chart:stock-range-line>

The <chart:stock-range-line> element specifies a style for the range-lines 19.15.1 in a stock chart. A range-line is a line connecting the minimum value with the maximum value.

The <chart:stock-range-line> element is usable within the following element: <chart:plot-area> 11.5.

The <chart:stock-range-line> element has the following attribute: chart:style-name 19.27.

The <chart:stock-range-line> element has no child elements.

12 Database Front-end Document Content

12.1 <office:database>

A <office:database> element is a container of database elements.

The <office:database> element is usable within the following element: <office:body> 3.3.

The <office:database> element has no attributes.

The <office:database> element has the following child elements: <db:data-source> 12.2, <db:forms> 12.25.2, <db:queries> 12.26, <db:reports> 12.25.3, <db:schema-definition> 12.36 and <db:table-representations> 12.32.

12.2 <db:data-source>

A <db:data-source> element is a container for data source specific elements that are needed to create a connection to a database.

The <db:data-source> element is usable within the following element: <office:database> 12.1.

The <db:data-source> element has no attributes.

The <db:data-source> element has the following child elements: <db:application-connection-settings> 12.15, <db:connection-data> 12.3 and <db:driver-settings> 12.9.

12.3 <db:connection-data>

The <db:connection-data> element specifies the information necessary to connect to a database.

The <db:connection-data> element is usable within the following element: <db:data-source> 12.2.

The <db:connection-data> element has no attributes.

The <db:connection-data> element has the following child elements: <db:connection-resource> 12.7, <db:database-description> 12.4 and <db:login> 12.8.

12.4 <db:database-description>

The <db:database-description> element specifies a database resource by its type and access parameters.

The <db:database-description> element is usable within the following element: <db:connection-data> 12.3.

The <db:database-description> element has no attributes.

The <db:database-description> element has the following child elements: <db:file-based-database> 12.5 and <db:server-database> 12.6.

12.5 <db:file-based-database>

The <db:file-based-database> element specifies a database which is composed of one or more files in an arbitrary file system.

The <db:file-based-database> element is usable within the following element: <db:database-description> 12.4.

The <db:file-based-database> element has the following attributes: db:extension 19.52, db:media-type 19.69, xlink:href 19.916 and xlink:type 19.919.

The <db:file-based-database> element has no child elements.

12.6 <db:server-database>

The <db:server-database> element specifies connection information for a server-based database.

The <db:server-database> element is usable within the following element: <db:database-description> 12.4.

The <db:server-database> element has the following attributes: db:database-name 19.43, db:hostname 19.54, db:local-socket 19.67, db:port 19.72 and db:type 19.85.

The <db:server-database> element has no child elements.

12.7 <db:connection-resource>

The <db:connection-resource> element specifies a database connection by an IRI.

The <db:connection-resource> element is usable within the following element: <db:connection-data> 12.3.

The <db:connection-resource> element has the following attributes: xlink:actuate 19.915, xlink:href 19.916, xlink:show 19.917 and xlink:type 19.919.

The <db:connection-resource> element has no child elements.

12.8 <db:login>

The <db:login> element specifies the information needed to establish a connection to a database.

Note: For security reasons, the <db:login> element does not have an attribute to store a password that may be required to establish a connection.

The <db:login> element is usable within the following element: <db:connection-data> 12.3.

The <db:login> element has the following attributes: db:is-password-required 19.63, db:login-timeout 19.61, db:use-system-user 19.89 and db:user-name 19.90.

The <db:login> element has no child elements.

12.9 <db:driver-settings>

The <db:driver-settings> element specifies settings for a driver establishing the database connection.

The <db:driver-settings> element is usable within the following element: <db:data-source> 12.2.

The <db:driver-settings> element has the following attributes: db:base-dn 19.35, db:is-first-row-header-line 19.60, db:parameter-name-substitution 19.71, db:show-deleted 19.78 and db:system-driver-settings 19.82.

The <db:driver-settings> element has the following child elements: <db:auto-increment> 12.10, <db:character-set> 12.12, <db:delimiter> 12.11 and <db:table-settings> 12.13.

12.10 <db:auto-increment>

The <db:auto-increment> element specifies SQL statements to retrieve auto-generated row values and to set AUTO_INCREMENT values for columns.

The <db:auto-increment> element is usable within the following element: <db:driver-settings> 12.9.

The <db:auto-increment> element has the following attributes: db:additional-column-statement 19.31 and db:row-retrieving-statement 19.75.

The <db:auto-increment> element has no child elements.

12.11 <db:delimiter>

The <db:delimiter> element defines a delimiter for parsing data.

The <db:delimiter> element is usable within the following elements: <db:driver-settings> 12.9 and <db:table-setting> 12.14.

The <db:delimiter> element has the following attributes: db:decimal 19.44, db:field 19.53, db:string 19.79 and db:thousand 19.83.

The <db:delimiter> element has no child elements.

12.12 <db:character-set>

The <db:character-set> element defines the text encoding that is used to transform string data obtained from a database.

The <db:character-set> element is usable within the following elements: <db:driver-settings> 12.9 and <db:table-setting> 12.14.

The <db:character-set> element has the following attribute: db:encoding 19.50.

The <db:character-set> element has no child elements.

12.13 <db:table-settings>

The <db:table-settings> element is a container for <db:table-setting> elements.

The <db:table-settings> element is usable within the following element: <db:driver-settings> 12.9.

The <db:table-settings> element has no attributes.

The <db:table-settings> element has the following child element: <db:table-setting> 12.14.

12.14 <db:table-setting>

The <db:table-setting> element specifies driver-level settings which are used by a database driver for defining a single database table.

The <db:table-setting> element is usable within the following element: <db:table-settings> 12.13.

The <db:table-setting> element has the following attributes: db:is-first-row-header-line 19.60 and db:show-deleted 19.78.

The <db:table-setting> element has the following child elements: <db:character-set> 12.12 and <db:delimiter> 12.11.

12.15 <db:application-connection-settings>

The <db:application-connection-settings> element specifies settings which define how a consumer uses a database connection.

The <db:application-connection-settings> element is usable within the following element: <db:data-source> 12.2.

The <db:application-connection-settings> element has the following attributes: db:append-table-alias-name 19.32, db:boolean-comparison-mode 19.36, db:enable-sql92-check 19.49, db:ignore-driver-privileges 19.55, db:is-table-name-length-limited 19.66, db:max-row-count 19.68, db:suppress-version-columns 19.81 and db:use-catalog 19.88.

The <db:application-connection-settings> element has the following child elements: <db:data-source-settings> 12.22, <db:table-filter> 12.16 and <db:table-type-filter> 12.20.

12.16 <db:table-filter>

A <db:table-filter> element defines a list of filter patterns which are applied on the table names returned by a database. Only tables which match at least one include filter, and do not match any exclude filter, will be displayed.

The <db:table-filter> element is usable within the following element: <db:application-connection-settings> 12.15.

The <db:table-filter> element has no attributes.

The <db:table-filter> element has the following child elements: <db:table-exclude-filter> 12.18 and <db:table-include-filter> 12.17.

12.17 <db:table-include-filter>

The <db:table-include-filter> element specifies a list of filter patterns which determine inclusion of tables in a consumer's table display.

The <db:table-include-filter> element is usable within the following element: <db:table-filter> 12.16.

The <db:table-include-filter> element has no attributes.

The <db:table-include-filter> element has the following child element: <db:table-filter-pattern> 12.19.

12.18 <db:table-exclude-filter>

The <db:table-exclude-filter> element specifies a list of filter patterns which determine exclusion of tables in a consumer's table display.

The <db:table-exclude-filter> element is usable within the following element: <db:table-filter> 12.16.

The <db:table-exclude-filter> element has no attributes.

The <db:table-exclude-filter> element has the following child element: <db:table-filter-pattern> 12.19.

12.19 <db:table-filter-pattern>

The <db:table-filter-pattern> element specifies a filter pattern.

The “%” (U+0025. PERCENT SIGN) character is used as wildcard.

The <db:table-filter-pattern> element is usable within the following elements: <db:table-exclude-filter> 12.18 and <db:table-include-filter> 12.17.

The <db:table-filter-pattern> element has no attributes.

The <db:table-filter-pattern> element has no child elements.

The <db:table-filter-pattern> element has content of data type string 18.2.

12.20 <db:table-type-filter>

A <db:table-type-filter> element defines a list of table types which a database uses to filter tables.

The <db:table-type-filter> element is usable within the following element: <db:application-connection-settings> 12.15.

The <db:table-type-filter> element has no attributes.

The <db:table-type-filter> element has the following child element: <db:table-type> 12.21.

12.21 <db:table-type>

The <db:table-type> element specifies a table type.

Note: Table types are database-specific.

The <db:table-type> element is usable within the following element: <db:table-type-filter> 12.20.

The <db:table-type> element has no attributes.

The <db:table-type> element has no child elements.

The <db:table-type> element has content of data type string 18.2.

12.22 <db:data-source-settings>

The <db:data-source-settings> element is a container element for <db:data-source-setting> elements.

The <db:data-source-settings> element is usable within the following element: <db:application-connection-settings> 12.15.

The <db:data-source-settings> element has no attributes.

The <db:data-source-settings> element has the following child element: <db:data-source-setting> 12.23.

12.23 <db:data-source-setting>

The <db:data-source-setting> element specifies the name of a data-source-setting, a data-source-setting type, and whether a data-source-setting contains a list of data or single data.

The <db:data-source-setting> element is usable within the following element: <db:data-source-settings> 12.22.

The <db:data-source-setting> element has the following attributes: db:data-source-setting-is-list 19.39, db:data-source-setting-name 19.40 and db:data-source-setting-type 19.41.

The <db:data-source-setting> element has the following child element: <db:data-source-setting-value> 12.24.

12.24 <db:data-source-setting-value>

The <db:data-source-setting-value> element specifies the content of a data-source-setting.

The <db:data-source-setting-value> element is usable within the following element: <db:data-source-setting> 12.23.

The <db:data-source-setting-value> element has no attributes.

The <db:data-source-setting-value> element has no child elements.

The <db:data-source-setting-value> element has content of data type string 18.2.

12.25 Forms and Reports

12.25.1 General

Database documents can contain forms and reports as sub-documents. They're included in database front-end documents by XLinks. Alternatively, the content of sub-documents may be included in the <db:component> elements as child elements.

12.25.2 <db:forms>

The <db:forms> element may contain <db:component> or <db:component-collection> elements or both. It specifies a list of form documents and sub-collections.

The <db:forms> element is usable within the following element: <office:database> 12.1.

The <db:forms> element has no attributes.

The <db:forms> element has the following child elements: <db:component> 12.25.5 and <db:component-collection> 12.25.4.

12.25.3 <db:reports>

The <db:reports> element may contain <db:component> or <db:component-collection> elements or both.  It specifies a list of report documents and sub-collections.

The <db:reports> element is usable within the following element: <office:database> 12.1.

The <db:reports> element has no attributes.

The <db:reports> element has the following child elements: <db:component> 12.25.5 and <db:component-collection> 12.25.4.

12.25.4 <db:component-collection>

The <db:component-collection> element specifies a collection of <db:component> elements and <db:component-collection> elements.

The <db:component-collection> element is usable within the following elements: <db:component-collection> 12.25.4, <db:forms> 12.25.2 and <db:reports> 12.25.3.

The <db:component-collection> element has the following attributes: db:description 19.48, db:name 19.70 and db:title 19.84.

The <db:component-collection> element has the following child elements: <db:component> 12.25.5 and <db:component-collection> 12.25.4.

12.25.5 <db:component>

The <db:component> element specifies a database component which can be either a form or a report.

A database component is referenced using the xlink:href attribute or it is contained in a child element of either a <office:document> or <math:math> element.

The <db:component> element is usable within the following elements: <db:component-collection> 12.25.4, <db:forms> 12.25.2 and <db:reports> 12.25.3.

The <db:component> element has the following attributes: db:as-template 19.34, db:description 19.48, db:name 19.70, db:title 19.84, xlink:actuate 19.915, xlink:href 19.916, xlink:show 19.917 and xlink:type 19.919.

The <db:component> element has the following child elements: <math:math> 14.6 and <office:document> 3.1.2.

12.26 <db:queries>

The <db:queries> element may contain <db:query> or <db:query-collection> elements or both.

The <db:queries> element is usable within the following element: <office:database> 12.1.

The <db:queries> element has no attributes.

The <db:queries> element has the following child elements: <db:query> 12.28 and <db:query-collection> 12.27.

12.27 <db:query-collection>

The <db:query-collection> element may contain <db:query> or <db:query-collection> elements or both.

The <db:query-collection> element is usable within the following elements: <db:queries> 12.26 and <db:query-collection> 12.27.

The <db:query-collection> element has the following attributes: db:description 19.48, db:name 19.70 and db:title 19.84.

The <db:query-collection> element has the following child elements: <db:query> 12.28 and <db:query-collection> 12.27.

12.28 <db:query>

The <db:query> element specifies a database query.

The <db:query> element is usable within the following elements: <db:queries> 12.26 and <db:query-collection> 12.27.

The <db:query> element has the following attributes: db:command 19.38, db:default-row-style-name 19.46, db:description 19.48, db:escape-processing 19.51, db:name 19.70, db:style-name 19.80 and db:title 19.84.

The <db:query> element has the following child elements: <db:columns> 12.34, <db:filter-statement> 12.30, <db:order-statement> 12.29 and <db:update-table> 12.31.

12.29 <db:order-statement>

The <db:order-statement> element specifies a sort ("ORDER BY") [SQL] clause which is to be applied on top of another [SQL] statement producing a result set.

The <db:order-statement> element is usable within the following elements: <db:query> 12.28 and <db:table-representation> 12.33.

The <db:order-statement> element has the following attributes: db:apply-command 19.33 and db:command 19.38.

The <db:order-statement> element has no child elements.

12.30 <db:filter-statement>

The <db:filter-statement> element specifies a filter ("WHERE") [SQL] clause which is to be applied on top of another [SQL]-statement producing a result set.

The <db:filter-statement> element is usable within the following elements: <db:query> 12.28 and <db:table-representation> 12.33.

The <db:filter-statement> element has the following attributes: db:apply-command 19.33 and db:command 19.38.

The <db:filter-statement> element has no child elements.

12.31 <db:update-table>

The <db:update-table> element specifies the name of the table which will be updated when an UPDATE, INSERT or DELETE [SQL] statement is executed. It defines the table which should be updated when a SELECT [SQL] statement contains more than one table.

The <db:update-table> element is usable within the following element: <db:query> 12.28.

The <db:update-table> element has the following attributes: db:catalog-name 19.37, db:name 19.70 and db:schema-name 19.77.

The <db:update-table> element has no child elements.

12.32 <db:table-representations>

The <db:table-representations> element specifies a collection of tables.

The <db:table-representations> element is usable within the following element: <office:database> 12.1.

The <db:table-representations> element has no attributes.

The <db:table-representations> element has the following child element: <db:table-representation> 12.33.

12.33 <db:table-representation>

A <db:table-representation> element specifies how a consumer displays a table to the user.

The <db:table-representation> element is usable within the following element: <db:table-representations> 12.32.

The <db:table-representation> element has the following attributes: db:catalog-name 19.37, db:default-row-style-name 19.46, db:description 19.48, db:name 19.70, db:schema-name 19.77, db:style-name 19.80 and db:title 19.84.

The <db:table-representation> element has the following child elements: <db:columns> 12.34, <db:filter-statement> 12.30 and <db:order-statement> 12.29.

12.34 <db:columns>

The <db:columns> element is a collection of <db:column> elements.

The <db:columns> element is usable within the following elements: <db:query> 12.28 and <db:table-representation> 12.33.

The <db:columns> element has no attributes.

The <db:columns> element has the following child element: <db:column> 12.35.

12.35 <db:column>

The <db:column> element specifies settings for a column.

The <db:column> element is usable within the following element: <db:columns> 12.34.

The <db:column> element has the following attributes: db:default-cell-style-name 19.45, db:description 19.48, db:name 19.70, db:style-name 19.80, db:title 19.84, db:visible 19.91, office:boolean-value 19.371, office:currency 19.373, office:date-value 19.374, office:string-value 19.383, office:time-value 19.386, office:value 19.388, office:value-type 19.389.

The <db:column> element has no child elements.

12.36 <db:schema-definition>

The <db:schema-definition> element specifies a database schema.

The <db:schema-definition> element is usable within the following element: <office:database> 12.1.

The <db:schema-definition> element has no attributes.

The <db:schema-definition> element has the following child element: <db:table-definitions> 12.37.

12.37 <db:table-definitions>

The <db:table-definitions> element is a container for multiple <db:table-definition> elements.

The <db:table-definitions> element is usable within the following element: <db:schema-definition> 12.36.

The <db:table-definitions> element has no attributes.

The <db:table-definitions> element has the following child element: <db:table-definition> 12.38.

12.38 <db:table-definition>

The <db:table-definition> element specifies the schema of a single table.

The <db:table-definition> element is usable within the following element: <db:table-definitions> 12.37.

The <db:table-definition> element has the following attributes: db:catalog-name 19.37, db:name 19.70, db:schema-name 19.77 and db:type 19.85.

The <db:table-definition> element has the following child elements: <db:column-definitions> 12.39, <db:indices> 12.45 and <db:keys> 12.41.

12.39 <db:column-definitions>

The <db:column-definitions> element is a container for <db:column-definition> elements.

The <db:column-definitions> element is usable within the following element: <db:table-definition> 12.38.

The <db:column-definitions> element has no attributes.

The <db:column-definitions> element has the following child element: <db:column-definition> 12.40.

12.40 <db:column-definition>

The <db:column-definition> element defines a table column.

The <db:column-definition> element is usable within the following element: <db:column-definitions> 12.39.

The <db:column-definition> element has the following attributes: db:data-type 19.42, db:is-autoincrement 19.57, db:is-empty-allowed 19.59, db:is-nullable 19.62, db:name 19.70, db:precision 19.65, db:scale 19.76, db:type-name 19.86, office:boolean-value 19.371, office:currency 19.373, office:date-value 19.374, office:string-value 19.383, office:time-value 19.386, office:value 19.388, office:value-type 19.389.

The <db:column-definition> element has no child elements.

12.41 <db:keys>

The <db:keys> element is a container for one or more <db:key> elements.

The <db:keys> element is usable within the following element: <db:table-definition> 12.38.

The <db:keys> element has no attributes.

The <db:keys> element has the following child element: <db:key> 12.42.

12.42 <db:key>

The <db:key> element specifies a key for a table.

The <db:key> element is usable within the following element: <db:keys> 12.41.

The <db:key> element has the following attributes: db:delete-rule 19.47, db:name 19.70, db:referenced-table-name 19.73, db:type 19.85 and db:update-rule 19.87.

The <db:key> element has the following child element: <db:key-columns> 12.43.

12.43 <db:key-columns>

The <db:key-columns> element specifies the columns of a key.

The <db:key-columns> element is usable within the following element: <db:key> 12.42.

The <db:key-columns> element has no attributes.

The <db:key-columns> element has the following child element: <db:key-column> 12.44.

12.44 <db:key-column>

The <db:key-column> element specifies a description of a column of a table key.

The <db:key-column> element is usable within the following element: <db:key-columns> 12.43.

The <db:key-column> element has the following attributes: db:name 19.70 and db:related-column-name 19.74.

The <db:key-column> element has no child elements.

12.45 <db:indices>

The <db:indices> element defines the indexes of a table.

The <db:indices> element is usable within the following element: <db:table-definition> 12.38.

The <db:indices> element has no attributes.

The <db:indices> element has the following child element: <db:index> 12.46.

12.46 <db:index>

The <db:index> element defines the characteristics of a table index.

The <db:index> element is usable within the following element: <db:indices> 12.45.

The <db:index> element has the following attributes: db:catalog-name 19.37, db:is-clustered 19.58, db:is-unique 19.64 and db:name 19.70.

The <db:index> element has the following child element: <db:index-columns> 12.47.

12.47 <db:index-columns>

The <db:index-columns> element specifies the columns of a table index.

The <db:index-columns> element is usable within the following element: <db:index> 12.46.

The <db:index-columns> element has no attributes.

The <db:index-columns> element has the following child element: <db:index-column> 12.48.

12.48 <db:index-column>

The <db:index-column> element specifies the description of a column of a table index.

The <db:index-column> element is usable within the following element: <db:index-columns> 12.47.

The <db:index-column> element has the following attributes: db:is-ascending 19.56 and db:name 19.70.

The <db:index-column> element has no child elements.

13 Form Content

13.1 General

A form is a container for user-interface controls.

Note: Buttons, text boxes, check boxes, and drop-down lists are user interface controls that can be contained in a form.

In the OpenDocument format, the following rules apply to user interface controls and forms:

  • All controls shall be located in a form. 13.5 

  • All controls that are not hidden are assigned an absolute or relative position. These visual aspects of a control are represented by drawing shapes that contain a reference to the control. 

  • Forms may be nested. The containing form provides a context for the contained form. 

  • Forms are not connected with the text flow and layout of a document. 

  • Forms can be data-aware. A form is data-aware if the values subject to its controls are populated from and updated to a database. 

Form behavior is defined for submission and connection to a data source only for forms defined by a <form:form> element.

The result set of values subject to the controls of the form is defined by the form:datasource, form:command, and form:command-type attributes. At any point in time, only one row of the result set is subject to the forms controls.

Form behavior is not defined for forms defined by a <xforms:model> element.

13.2 <office:forms>

The <office:forms> element is a container for <form:form> or <xforms:model> elements.

The <office:forms> element is usable within the following elements: <draw:page> 10.2.4, <office:text> 3.4, <presentation:notes> 16.19, <style:master-page> 16.9 and <table:table> 9.1.2.

The <office:forms> element has the following attributes: form:apply-design-mode 19.250 and form:automatic-focus 19.253.

The <office:forms> element has the following child elements: <form:form> 13.3 and <xforms:model> 13.4.

13.3 <form:form>

The <form:form> element specifies a user-interface form and defines the contents and properties of the form.

The <form:form> element is usable within the following elements: <form:form> 13.3 and <office:forms> 13.2.

The <form:form> element has the following attributes: form:allow-deletes 19.247, form:allow-inserts 19.248, form:allow-updates 19.249, form:apply-filter 19.251, form:command 19.256, form:command-type 19.257, form:control-implementation 19.258, form:datasource 19.264, form:detail-fields 19.267, form:enctype 19.271, form:escape-processing 19.272, form:filter 19.273, form:ignore-result 19.277, form:master-fields 19.287, form:method 19.291, form:name 19.294, form:navigation-mode 19.295, form:order 19.296, form:tab-cycle 19.309, office:target-frame 19.384, xlink:actuate 19.915, xlink:href 19.916 and xlink:type 19.919.

The <form:form> element has the following child elements: <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:connection-resource> 7.6.2, <form:date> 13.5.8, <form:file> 13.5.5, <form:fixed-text> 13.5.10, <form:form> 13.3, <form:formatted-text> 13.5.6, <form:frame> 13.5.19, <form:generic-control> 13.5.25, <form:grid> 13.5.22, <form:hidden> 13.5.21, <form:image> 13.5.16, <form:image-frame> 13.5.20, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:properties> 13.7, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9, <form:value-range> 13.5.24 and <office:event-listeners> 10.3.19.

13.4 <xforms:model>

The <xforms:model> element implements [XForms] and is embedded in the <office:forms> element. XForms consists of two major parts, the XForms model which contains the form logic plus form data, and XForms controls, which can be bound to a data model.

Controls defined by OpenDocument (see 13.5) may be bound to an XForms model by an xforms:bind attribute.

The <xforms:model> element has the attributes and content defined in §3.3.1 of [XForms].

The <xforms:model> element is usable within the following element: <office:forms> 13.2.

13.5 Controls

13.5.1 General

Controls are used to interact with forms. Each control in a form is identified by a name. The name of a control need not be unique in a form.

Controls are connected to the surrounding document (and its text flow, if applicable) by binding them to a shape that acts as a placeholder for the control. 10.3.13

In addition to the attributes defined in this standard, controls may have implementation-dependent attributes. Those attributes are stored in a <form:properties> element in each control. Control events are specified in a <office:event-listeners> element.

13.5.2 <form:text>

The <form:text> element defines a control for displaying and inputting text on a single line.

The <form:text> element is usable within the following elements: <form:column> 13.5.23 and <form:form> 13.3.

The <form:text> element has the following attributes: form:control-implementation 19.258, form:convert-empty-to-null 19.259, form:current-value 19.262, form:data-field 19.263, form:disabled 19.268, form:id 19.276, form:linked-cell 19.283, form:max-length 19.288, form:name 19.294, form:printable 19.299, form:readonly 19.301, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316, xforms:bind 19.910 and xml:id 19.920.

The <form:text> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.3 <form:textarea>

The <form:textarea> element defines a control for displaying and inputting text on multiple lines.

The <form:textarea> element may be used with plain-text values (specified by the form:current-value attribute) as well as with formatted text (specified as paragraph content). If both a form:current-value attribute and one or more <text:p> elements are present, it is implementation-dependent which text is used.

The <form:textarea> element is usable within the following elements: <form:column> 13.5.23 and <form:form> 13.3.

The <form:textarea> element has the following attributes: form:control-implementation 19.258, form:convert-empty-to-null 19.259, form:current-value 19.262, form:data-field 19.263, form:disabled 19.268, form:id 19.276, form:linked-cell 19.283, form:max-length 19.288, form:name 19.294, form:printable 19.299, form:readonly 19.301, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316, xforms:bind 19.910 and xml:id 19.920.

The <form:textarea> element has the following child elements: <form:properties> 13.7, <office:event-listeners> 10.3.19 and <text:p> 5.1.3.

13.5.4 <form:password>

The <form:password> element defines a control that uses an echo character to hide password input by a user.

The <form:password> element is usable within the following element: <form:form> 13.3.

The <form:password> element has the following attributes: form:control-implementation 19.258, form:convert-empty-to-null 19.259, form:disabled 19.268, form:echo-char 19.270, form:id 19.276, form:linked-cell 19.283, form:max-length 19.288, form:name 19.294, form:printable 19.299, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316, xforms:bind 19.910 and xml:id 19.920.

The <form:password> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.5 <form:file>

The <form:file> element defines a control for selecting a file.

The <form:file> element is usable within the following element: <form:form> 13.3.

The <form:file> element has the following attributes: form:control-implementation 19.258, form:current-value 19.262, form:disabled 19.268, form:id 19.276, form:linked-cell 19.283, form:max-length 19.288, form:name 19.294, form:printable 19.299, form:readonly 19.301, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316, xforms:bind 19.910 and xml:id 19.920.

The <form:file> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.6 <form:formatted-text>

The <form:formatted-text> element defines a control for inputting text, which follows the format defined by a data style that is assigned to the control's graphical shape.

The <form:formatted-text> element is usable within the following elements: <form:column> 13.5.23 and <form:form> 13.3.

The <form:formatted-text> element has the following attributes: form:control-implementation 19.258, form:convert-empty-to-null 19.259, form:current-value 19.262, form:data-field 19.263, form:delay-for-repeat 19.266, form:disabled 19.268, form:id 19.276, form:linked-cell 19.283, form:max-length 19.288, form:max-value 19.289, form:min-value 19.290, form:name 19.294, form:printable 19.299, form:readonly 19.301, form:repeat 19.302, form:spin-button 19.306, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:validation 19.315, form:value 19.316, xforms:bind 19.910 and xml:id 19.920.

The <form:formatted-text> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.7 <form:number>

The <form:number> element defines a control which allows the user to enter a floating-point number.

The <form:number> element is usable within the following elements: <form:column> 13.5.23 and <form:form> 13.3.

The <form:number> element has the following attributes: form:control-implementation 19.258, form:convert-empty-to-null 19.259, form:current-value 19.262, form:data-field 19.263, form:delay-for-repeat 19.266, form:disabled 19.268, form:id 19.276, form:linked-cell 19.283, form:max-length 19.288, form:max-value 19.289, form:min-value 19.290, form:name 19.294, form:printable 19.299, form:readonly 19.301, form:repeat 19.302, form:spin-button 19.306, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316, xforms:bind 19.910 and xml:id 19.920.

The <form:number> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.8 <form:date>

The <form:date> element defines a control for inputting date data.

The <form:date> element is usable within the following elements: <form:column> 13.5.23 and <form:form> 13.3.

The <form:date> element has the following attributes: form:control-implementation 19.258, form:convert-empty-to-null 19.259, form:current-value 19.262, form:data-field 19.263, form:delay-for-repeat 19.266, form:disabled 19.268, form:id 19.276, form:linked-cell 19.283, form:max-length 19.288, form:max-value 19.289, form:min-value 19.290, form:name 19.294, form:printable 19.299, form:readonly 19.301, form:repeat 19.302, form:spin-button 19.306, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316, xforms:bind 19.910 and xml:id 19.920.

The <form:date> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.9 <form:time>

The <form:time> element defines a control for inputting time data.

The <form:time> element is usable within the following elements: <form:column> 13.5.23 and <form:form> 13.3.

The <form:time> element has the following attributes: form:control-implementation 19.258, form:convert-empty-to-null 19.259, form:current-value 19.262, form:data-field 19.263, form:delay-for-repeat 19.266, form:disabled 19.268, form:id 19.276, form:linked-cell 19.283, form:max-length 19.288, form:max-value 19.289, form:min-value 19.290, form:name 19.294, form:printable 19.299, form:readonly 19.301, form:repeat 19.302, form:spin-button 19.306, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316, xforms:bind 19.910 and xml:id 19.920.

The <form:time> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.10 <form:fixed-text>

The <form:fixed-text> element defines a control which attaches additional information to controls, or displays information. Only one label may be associated with a control.

The <form:fixed-text> element is usable within the following element: <form:form> 13.3.

The <form:fixed-text> element has the following attributes: form:control-implementation 19.258, form:disabled 19.268, form:for 19.275, form:id 19.276, form:label 19.282, form:multi-line 19.292, form:name 19.294, form:printable 19.299, form:title 19.313, xforms:bind 19.910 and xml:id 19.920.

The <form:fixed-text> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.11 <form:combobox>

The <form:combobox> element defines a control which allows displaying and editing of text, and contains a list of possible values for that text.

The <form:combobox> element is usable within the following elements: <form:column> 13.5.23 and <form:form> 13.3.

The <form:combobox> element has the following attributes: form:auto-complete 19.252, form:control-implementation 19.258, form:convert-empty-to-null 19.259, form:current-value 19.262, form:data-field 19.263, form:disabled 19.268, form:dropdown 19.269, form:id 19.276, form:linked-cell 19.283, form:list-source 19.285, form:list-source-type 19.286, form:max-length 19.288, form:name 19.294, form:printable 19.299, form:readonly 19.301, form:size 19.304, form:source-cell-range 19.305, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316, xforms:bind 19.910 and xml:id 19.920.

The <form:combobox> element has the following child elements: <form:item> 13.5.12, <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.12 <form:item>

The <form:item> element defines a list item for a <form:combobox> control.

The <form:item> element is usable within the following element: <form:combobox> 13.5.11.

The <form:item> element has the following attribute: form:label 19.282.

The <form:item> element has no child elements.

The <form:item> element has character data content.

13.5.13 <form:listbox>

The <form:listbox> element defines an input control that allows a user to select one or more items from a list. It is an alternative representation for a group of radio buttons.

The <form:listbox> element is usable within the following elements: <form:column> 13.5.23 and <form:form> 13.3.

The <form:listbox> element has the following attributes: form:bound-column 19.254, form:control-implementation 19.258, form:data-field 19.263, form:disabled 19.268, form:dropdown 19.269, form:id 19.276, form:linked-cell 19.283, form:list-linkage-type 19.284, form:list-source 19.285, form:list-source-type 19.286, form:multiple 19.293, form:name 19.294, form:printable 19.299, form:size 19.304, form:source-cell-range 19.305, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:xforms-list-source 19.318, xforms:bind 19.910 and xml:id 19.920.

The <form:listbox> element has the following child elements: <form:option> 13.5.14, <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.14 <form:option>

The <form:option> element defines a list item for a <form:listbox> control.

The <form:option> element is usable within the following element: <form:listbox> 13.5.13.

The <form:option> element has the following attributes: form:current-selected 19.260, form:label 19.282, form:selected 19.303 and form:value 19.316.

The <form:option> element has no child elements.

The <form:option> element has character data content.

13.5.15 <form:button>

The <form:button> element defines a button control.

The <form:button> element is usable within the following element: <form:form> 13.3.

The <form:button> element has the following attributes: form:button-type 19.255, form:control-implementation 19.258, form:default-button 19.265, form:delay-for-repeat 19.266, form:disabled 19.268, form:focus-on-click 19.274, form:id 19.276, form:image-align 19.278, form:image-data 19.279, form:image-position 19.280, form:label 19.282, form:name 19.294, form:printable 19.299, form:repeat 19.302, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:toggle 19.314, form:value 19.316, form:xforms-submission 19.319, office:target-frame 19.384, xforms:bind 19.910, xlink:href 19.916 and xml:id 19.920.

The <form:button> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.16 <form:image>

The <form:image> element defines a graphical button control.

Note: HTML 4.01 only allows the button type to be “submit” for an image button. In OpenDocument, an image button can be of any type.

The <form:image> element is usable within the following element: <form:form> 13.3.

The <form:image> element has the following attributes: form:button-type 19.255, form:control-implementation 19.258, form:disabled 19.268, form:id 19.276, form:image-data 19.279, form:name 19.294, form:printable 19.299, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316, office:target-frame 19.384, xforms:bind 19.910, xlink:href 19.916 and xml:id 19.920.

The <form:image> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.17 <form:checkbox>

The <form:checkbox> element defines an on/off control. The control is on when the value of the form:current-state attribute associated with the control element is checked.

The <form:checkbox> element is usable within the following elements: <form:column> 13.5.23 and <form:form> 13.3.

The <form:checkbox> element has the following attributes: form:control-implementation 19.258, form:current-state 19.261, form:data-field 19.263, form:disabled 19.268, form:id 19.276, form:image-align 19.278, form:image-position 19.280, form:is-tristate 19.281, form:label 19.282, form:linked-cell 19.283, form:name 19.294, form:printable 19.299, form:state 19.307, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316, form:visual-effect 19.317, xforms:bind 19.910 and xml:id 19.920.

The <form:checkbox> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.18 <form:radio>

The <form:radio> element defines a control which acts like a check box except that when multiple radio buttons belong to the same group they are mutually exclusive. When one button is on, all of the other buttons with the same name are off.

Radio buttons are defined to belong to the same group if they have the same control name, as specified by their form:name attribute.

If a group of radio buttons is bound to one database field, and a user selects any given button, the reference value of the selected radio button is written into its database field.

The <form:radio> element is usable within the following element: <form:form> 13.3.

The <form:radio> element has the following attributes: form:control-implementation 19.258, form:current-selected 19.260, form:data-field 19.263, form:disabled 19.268, form:id 19.276, form:image-align 19.278, form:image-position 19.280, form:label 19.282, form:linked-cell 19.283, form:name 19.294, form:printable 19.299, form:selected 19.303, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316, form:visual-effect 19.317, xforms:bind 19.910 and xml:id 19.920.

The <form:radio> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.19 <form:frame>

The <form:frame> element defines a frame in which controls may be visually arranged.

The <form:frame> element is usable within the following element: <form:form> 13.3.

The <form:frame> element has the following attributes: form:control-implementation 19.258, form:disabled 19.268, form:for 19.275, form:id 19.276, form:label 19.282, form:name 19.294, form:printable 19.299, form:title 19.313, xforms:bind 19.910 and xml:id 19.920.

The <form:frame> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.20 <form:image-frame>

The <form:image-frame> element defines a graphical control. The control displays an image, whose location is described in the control.

The <form:image-frame> element is usable within the following element: <form:form> 13.3.

The <form:image-frame> element has the following attributes: form:control-implementation 19.258, form:data-field 19.263, form:disabled 19.268, form:id 19.276, form:image-data 19.279, form:name 19.294, form:printable 19.299, form:readonly 19.301, form:title 19.313, xforms:bind 19.910 and xml:id 19.920.

The <form:image-frame> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.21 <form:hidden>

The <form:hidden> element defines a control that does not have a visual representation.

Note: A control without visual representation can be used for information not displayed to the user but is submitted as part of a form.

The <form:hidden> element is usable within the following element: <form:form> 13.3.

The <form:hidden> element has the following attributes: form:control-implementation 19.258, form:id 19.276, form:name 19.294, form:value 19.316, xforms:bind 19.910 and xml:id 19.920.

The <form:hidden> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.22 <form:grid>

The <form:grid> element defines a control that displays table data.

Each column in the grid is specified by a <form:column> element.

The <form:grid> element is usable within the following element: <form:form> 13.3.

The <form:grid> element has the following attributes: form:control-implementation 19.258, form:disabled 19.268, form:id 19.276, form:name 19.294, form:printable 19.299, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, xforms:bind 19.910 and xml:id 19.920.

The <form:grid> element has the following child elements: <form:column> 13.5.23, <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.23 <form:column>

The <form:column> element defines a column in a grid control.

The <form:column> element is usable within the following element: <form:grid> 13.5.22.

The <form:column> element has the following attributes: form:control-implementation 19.258, form:label 19.282, form:name 19.294 and form:text-style-name 19.312.

The <form:column> element has the following child elements: <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:formatted-text> 13.5.6, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:text> 13.5.2, <form:textarea> 13.5.3 and <form:time> 13.5.9.

13.5.24 <form:value-range>

The <form:value-range> element defines a control which allows the user to select a value from a number range.

The <form:value-range> element is usable within the following element: <form:form> 13.3.

The <form:value-range> element has the following attributes: form:control-implementation 19.258, form:delay-for-repeat 19.266, form:disabled 19.268, form:id 19.276, form:linked-cell 19.283, form:max-value 19.289, form:min-value 19.290, form:name 19.294, form:orientation 19.297, form:page-step-size 19.298, form:printable 19.299, form:repeat 19.302, form:step-size 19.308, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316, xforms:bind 19.910 and xml:id 19.920.

The <form:value-range> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.25 <form:generic-control>

The <form:generic-control> element defines an implementation-defined placeholder for a generic control. The generic control can contain any properties and any events.

The <form:generic-control> element is usable within the following element: <form:form> 13.3.

The <form:generic-control> element has the following attributes: form:control-implementation 19.258, form:id 19.276, form:name 19.294, xforms:bind 19.910 and xml:id 19.920.

The <form:generic-control> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.6 Event Listeners

Forms and form controls may have event listeners attached. The event listeners that are attached to a control are represented by an event listener element as described in section 14.5. This element is contained within form or form control elements.

Section 19.433 contains guidelines for event names that may be used within forms and form controls. In addition to those, the events listed in Table 9 may be used in forms and form controls.

Table 9 - Form control event names

Value of script:event-name Attribute

Applies To

Description of Event

form:approveaction

Button or image.

Occurs before an “on perform action” event takes place. Allows a user to veto an action.

form:performaction

Button or image.

Occurs when the control action is to be performed. The common interpretation of this event is “pressing the button”.

form:textchange

All controls that allow text input.

Occurs when a user changes the text in a control.

form:itemstatechange

Check box or radio button.

Occurs when the state of a check box or radio button changes.

form:mousedrag

All controls.

Occurs when a user presses and holds one of the mouse buttons and moves the mouse pointer onto a control.

form:approvereset

same objects as for form:on-reset

Occurs before an “on-reset” event takes place. Allows a user to veto a reset event.

form:approveupdate

All controls that can be bound to a database field, that is controls that contain the data-field attribute.

Occurs before an “on update” event takes place. Allows a user to veto an update.

form:update

All controls that can be bound to a database field, that is controls that contain the data-field attribute.

Occurs when the content of a control that is bound to a database field is committed.

form:load

Forms.

Occurs when a form establishes a connection to the data source.

form:startreload

Forms.

Occurs when a form is about to refresh a data source connection.

form:reload

Forms.

Occurs when a form has refreshed a data source connection.

form:startunload

Forms.

Occurs when a form is about to drop a data source connection.

form:unload

Forms.

Occurs when a form has dropped a data source connection.

form:confirmdelete

Forms.

Occurs when a user is about to delete a record.

form:approverowchange

Forms.

Occurs before an “on row change” event takes place. Allows a user to veto a change.

form:rowchange

Forms.

Occurs after changes to a row are complete.

form:approvecursormove

Forms.

Occurs before a form is moved to another row. Allows a user to veto a move.

form:cursormove

Forms.

Occurs after a form is moved to another row.

form:supplyparameter

Forms.

Occurs when a form asks for parameters to connect to a data source.

form:error

Forms, combo boxes and list boxes.

Occurs when a database-related error occurs.

form:adjust

Value Range

Occurs when the value of a Value Range element has been adjusted.

13.7 <form:properties>

The <form:properties> element is a container for <form:property> and <form:list-property> elements.

The <form:properties> element is usable within the following elements: <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:fixed-text> 13.5.10, <form:form> 13.3, <form:formatted-text> 13.5.6, <form:frame> 13.5.19, <form:generic-control> 13.5.25, <form:grid> 13.5.22, <form:hidden> 13.5.21, <form:image> 13.5.16, <form:image-frame> 13.5.20, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9 and <form:value-range> 13.5.24.

The <form:properties> element has no attributes.

The <form:properties> element has the following child elements: <form:list-property> 13.9 and <form:property> 13.8.

13.8 <form:property>

The <form:property> element defines the name, type and value of a property.

The <form:property> element is usable within the following element: <form:properties> 13.7.

The <form:property> element has the following attributes: form:property-name 19.300, office:boolean-value 19.371, office:currency 19.373, office:date-value 19.374, office:string-value 19.383, office:time-value 19.386, office:value 19.388, office:value-type 19.389.

The <form:property> element has no child elements.

13.9 <form:list-property>

The <form:list-property> element container for <form:list-value> elements.

The <form:list-property> element has an office:value-type attribute (19.389) that acts as a constraint on the attributes that may appear on its child <form:list-value> element.

The <form:list-property> element is usable within the following element: <form:properties> 13.7.

The <form:list-property> element has the following attributes: form:property-name 19.300, office:value-type 19.389.

The <form:list-property> element has the following child elements: <form:list-value> 13.10.

13.10 <form:list-value>

The list value element contains value attributes for the value type given in the containing <form:list-property> element.

The <form:list-value> element is usable within the following element: <form:list-property> 13.9.

The <form:list-value> element has the following attributes: office:boolean-value 19.371, office:currency 19.373, office:date-value 19.374, office:string-value 19.383, office:time-value 19.386, office:value 19.388.

The <form:list-value> element has no child elements.

14 Common Content

14.1 <office:annotation>

The <office:annotation> element specifies an OpenDocument annotation. The annotation's text is contained in <text:p> and <text:list> elements.

The <office:annotation> element is usable within the following elements: <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <office:annotation> element has the following attributes: draw:caption-point-x 19.116, draw:caption-point-y 19.117, draw:class-names 19.120, draw:corner-radius 19.127, draw:id 19.187, draw:layer 19.189, draw:name 19.197, draw:style-name 19.219, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, office:display 19.378, office:name 19.380, presentation:class-names 19.394, presentation:style-name 19.426, svg:height 19.543, svg:width 19.575, svg:x 19.577, svg:y 19.581, table:end-cell-address 19.631, table:end-x 19.636, table:end-y 19.637, table:table-background 19.733, text:anchor-page-number 19.758, text:anchor-type 19.759 and xml:id 19.920.

The <office:annotation> element has the following child elements: <dc:creator> 4.3.2.7, <dc:date> 4.3.2.10, <meta:creator-initials> 14.4, <meta:date-string> 14.3, <text:list> 5.3.1 and <text:p> 5.1.3.

14.2 <office:annotation-end>

The <office:annotation-end> element may be used to define the end of a text range of document content that spans element boundaries. In that case, an <office:annotation> element shall precede the <office:annotation-end> element. Both elements shall have the same value for their office:name attribute.

The <office:annotation-end> element shall be preceded by an <office:annotation> element that has the same value for its office:name attribute as the <office:annotation-end> element.

An <office:annotation-end> element without a preceding <office:annotation> element that has the same name assigned is ignored.

The <office:annotation-end> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <office:annotation-end> element has the following attribute: office:name 19.380.

The <office:annotation-end> element has no child elements.

14.3 <meta:date-string>

The <meta:date-string> element contains a date that is of type string and not a date type. This value is used only for display as entered.

The <meta:date-string> element is usable within the following element: <office:annotation> 14.1.

The <meta:date-string> element has no attributes.

The <meta:date-string> element has no child elements.

The <meta:date-string> element has content of data type string 18.2.

14.4 <meta:creator-initials>

The <meta:creator-initials> element represents the initials of the author of the annotation represented by the parent <office:annotation> element.

The <meta:creator-initials> element is usable within the following element: <office:annotation> 14.1.

The <meta:creator-initials> element has no attributes.

The <meta:creator-initials> element has no child elements.

The <meta:creator-initials> element has character data content.

14.5 Event Listener Tables

14.5.1 General

Controls, images, text boxes, or an entire document can support events. An event binds the occurrence of a condition to an action that is executed if the condition arises.

Events are represented as follows:

14.5.2 <script:event-listener>

The <script:event-listener> element binds an event to a macro.

The <script:event-listener> element is usable within the following element: <office:event-listeners> 10.3.19.

The <script:event-listener> element has the following attributes: script:event-name 19.433, script:language 19.434, script:macro-name 19.435, xlink:actuate 19.915, xlink:href 19.916 and xlink:type 19.919.

The <script:event-listener> element has no child elements.

14.5.3 Event Types

Event types are implementation-defined. See 19.433.

14.5.4 Macro Name and Location

Macro code for an event may be specified by either an xlink:href 19.916 attribute as an IRI, or a script:macro-name 19.435 attribute by name. Macro names and applicable IRI schemes are script-language-dependent.

14.6 <math:math>

The <math:math> element serves as a container for content defined by the MathML 2.0 standard. See [MathML].

The <math:math> element is usable within the following elements: <db:component> 12.25.5 and <draw:object> 10.4.6.2.

14.7 DDE Connections

14.7.1 General

A Dynamic Data Exchange (DDE) connection consists of parameters for a DDE target application, a file name, and a command string. A DDE connection also takes a parameter that specifies whether it will be updated automatically or only on the user's request. Every DDE connection shall be named.

All elements making use of DDE connections shall contain their content (or its presentation), so that documents using DDE can still be properly displayed on machines which do not support the DDE mechanism, or where the DDE target is not available. Consumers should preserve the DDE connection information even if they cannot make use of it.

Note: DDE only is available on some operating systems. In order to create portable documents, authors are advised to use this feature in their documents with great care.

14.7.2 <text:dde-connection-decls>

The <text:dde-connection-decls> element is a container element for <text:dde-connection-decl> elements in text documents.

The <text:dde-connection-decls> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7, <office:text> 3.4, <style:footer> 16.12, <style:footer-first> 16.13, <style:footer-left> 16.15, <style:header> 16.10, <style:header-first> 16.11 and <style:header-left> 16.14.

The <text:dde-connection-decls> element has no attributes.

The <text:dde-connection-decls> element has the following child element: <text:dde-connection-decl> 14.7.3.

14.7.3 <text:dde-connection-decl>

The <text:dde-connection-decl> element defines a DDE connection for use in DDE text fields. Multiple DDE fields can refer to one DDE connection by using the same name.

The <text:dde-connection-decl> element is usable within the following element: <text:dde-connection-decls> 14.7.2.

The <text:dde-connection-decl> element has the following attributes: office:automatic-update 19.370, office:dde-application 19.375, office:dde-item 19.376, office:dde-topic 19.377 and office:name 19.380.

The <text:dde-connection-decl> element has no child elements.

14.7.4 <table:dde-link>

The <table:dde-link> element contains DDE source data for use in spreadsheet formulas. It contains a <office:dde-source> element and a simple table element that may be used to cache the data of a DDE source. The table does not need a name and does not contain style information. Only the data contained in the cell attributes is used. The cells themselves remain empty.

The <table:dde-link> element is usable within the following element: <table:dde-links> 9.8.

The <table:dde-link> element has no attributes.

The <table:dde-link> element has the following child elements: <office:dde-source> 14.7.5 and <table:table> 9.1.2.

14.7.5 <office:dde-source>

The <office:dde-source> element defines a DDE connection.

If the element is a child element of a <table:table> element, the <office:dde-source> element specifies that the table is linked through DDE along the connection data.

If the element is a child element of a <text:section> element, the <office:dde-source> element specifies that the text section is linked through DDE along the connection data.

If the element is a child element of a <table:dde-link> element, the <office:dde-source> element specifies the connection data for a DDE link that can be used in spreadsheet formulas.

The <office:dde-source> element is usable within the following elements: <table:dde-link> 14.7.4, <table:table> 9.1.2 and <text:section> 5.4.

The <office:dde-source> element has the following attributes: office:automatic-update 19.370, office:conversion-mode 19.372, office:dde-application 19.375, office:dde-item 19.376, office:dde-topic 19.377 and office:name 19.380.

The <office:dde-source> element has no child elements.

15 SMIL Animations

15.1 General

This section specifies [SMIL20] based elements and attributes that can be used within the OpenDocument format for animation effects.

15.2 Basic Animation Elements

15.2.1 General

The animation elements are based upon §3.5 and §12.5 of [SMIL20], and section §19.2 of [SVG].

15.2.2 <anim:animate>

 See §3.5.1 of [SMIL20].

The <anim:animate> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:animate> element has the following attributes: anim:formula 19.6, anim:sub-item 19.11, smil:accelerate 19.436, smil:accumulate 19.437, smil:additive 19.438, smil:attributeName 19.439, smil:autoReverse 19.440, smil:begin 19.441, smil:by 19.442, smil:calcMode 19.443, smil:decelerate 19.444, smil:dur 19.446, smil:end 19.447, smil:fill 19.450, smil:fillDefault 19.451, smil:from 19.452, smil:keySplines 19.453, smil:keyTimes 19.454, smil:repeatCount 19.456, smil:repeatDur 19.457, smil:restart 19.458, smil:restartDefault 19.459, smil:targetElement 19.461, smil:to 19.462 and smil:values 19.464.

The <anim:animate> element has no child elements.

15.2.3 <anim:animateTransform>

The <anim:animateTransform> element defines the transformation of an animation. It is based on the [SVG] <svg:animateTransform> element. See §19.2.14 of [SVG].

The <anim:animateTransform> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:animateTransform> element has the following attributes: anim:formula 19.6, anim:sub-item 19.11, smil:accelerate 19.436, smil:accumulate 19.437, smil:additive 19.438, smil:attributeName 19.439, smil:autoReverse 19.440, smil:begin 19.441, smil:by 19.442, smil:decelerate 19.444, smil:dur 19.446, smil:end 19.447, smil:fill 19.450, smil:fillDefault 19.451, smil:from 19.452, smil:repeatCount 19.456, smil:repeatDur 19.457, smil:restart 19.458, smil:restartDefault 19.459, smil:targetElement 19.461, smil:to 19.462, smil:values 19.464 and svg:type 19.565.

The <anim:animateTransform> element has no child elements.

15.2.4 <anim:set>

See §3.5.2 of [SMIL20].

The <anim:set> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:set> element has the following attributes: anim:sub-item 19.11, smil:accelerate 19.436, smil:accumulate 19.437, smil:additive 19.438, smil:attributeName 19.439, smil:autoReverse 19.440, smil:begin 19.441, smil:decelerate 19.444, smil:dur 19.446, smil:end 19.447, smil:fill 19.450, smil:fillDefault 19.451, smil:repeatCount 19.456, smil:repeatDur 19.457, smil:restart 19.458, smil:restartDefault 19.459, smil:targetElement 19.461 and smil:to 19.462.

The <anim:set> element has no child elements.

15.2.5 <anim:animateMotion>

 See §19.2.12 of [SVG] and §3.5.3 of [SMIL20].

The <anim:animateMotion> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:animateMotion> element has the following attributes: anim:formula 19.6, anim:sub-item 19.11, smil:accelerate 19.436, smil:accumulate 19.437, smil:additive 19.438, smil:attributeName 19.439, smil:autoReverse 19.440, smil:begin 19.441, smil:by 19.442, smil:calcMode 19.443, smil:decelerate 19.444, smil:dur 19.446, smil:end 19.447, smil:fill 19.450, smil:fillDefault 19.451, smil:from 19.452, smil:keySplines 19.453, smil:keyTimes 19.454, smil:repeatCount 19.456, smil:repeatDur 19.457, smil:restart 19.458, smil:restartDefault 19.459, smil:targetElement 19.461, smil:to 19.462, smil:values 19.464, svg:origin 19.548 and svg:path 19.552.

The <anim:animateMotion> element has no child elements.

15.2.6 <anim:animateColor>

See §3.5.4 of [SMIL20].

The <anim:animateColor> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:animateColor> element has the following attributes: anim:color-interpolation 19.2, anim:color-interpolation-direction 19.3, anim:formula 19.6, anim:sub-item 19.11, smil:accelerate 19.436, smil:accumulate 19.437, smil:additive 19.438, smil:attributeName 19.439, smil:autoReverse 19.440, smil:begin 19.441, smil:by 19.442, smil:calcMode 19.443, smil:decelerate 19.444, smil:dur 19.446, smil:end 19.447, smil:fill 19.450, smil:fillDefault 19.451, smil:from 19.452, smil:keySplines 19.453, smil:keyTimes 19.454, smil:repeatCount 19.456, smil:repeatDur 19.457, smil:restart 19.458, smil:restartDefault 19.459, smil:targetElement 19.461, smil:to 19.462 and smil:values 19.464.

The <anim:animateColor> element has no child elements.

15.2.7 <anim:transitionFilter>

The <anim:transitionFilter> element is based on the [SMIL20] <smil:transitionFilter> element. See §12.5.1 of [SMIL20].

The <anim:transitionFilter> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:transitionFilter> element has the following attributes: anim:formula 19.6, anim:sub-item 19.11, smil:accelerate 19.436, smil:accumulate 19.437, smil:additive 19.438, smil:autoReverse 19.440, smil:begin 19.441, smil:by 19.442, smil:calcMode 19.443, smil:decelerate 19.444, smil:direction 19.445, smil:dur 19.446, smil:end 19.447, smil:fadeColor 19.449, smil:fill 19.450, smil:fillDefault 19.451, smil:from 19.452, smil:mode 19.455, smil:repeatCount 19.456, smil:repeatDur 19.457, smil:restart 19.458, smil:restartDefault 19.459, smil:subtype 19.460, smil:targetElement 19.461, smil:to 19.462, smil:type 19.463 and smil:values 19.464.

The <anim:transitionFilter> element has no child elements.

15.3 Animation Model Attributes

15.3.1 General

The animation model uses the same concepts and syntax as specified in §3 of [SMIL20].

15.3.2 Simple Animation Functions

Simplified animations can be specified using the [SMIL20] smil:from, smil:to and smil:by attributes. See §3.4.4 of [SMIL20].

15.4 Animation Timing

15.4.1 General

Animation timing uses the same concepts and syntax as specified in §10 and §11 of [SMIL20].

15.4.2 <anim:par>

The <anim:par> element is a container of child animation nodes that have a common starting point.

The <anim:par> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:par> element has the following attributes: anim:id 19.7, presentation:group-id 19.401, presentation:master-element 19.402, presentation:node-type 19.406, presentation:preset-class 19.414, presentation:preset-id 19.415, presentation:preset-sub-type 19.416, smil:accelerate 19.436, smil:autoReverse 19.440, smil:begin 19.441, smil:decelerate 19.444, smil:dur 19.446, smil:end 19.447, smil:endsync 19.448, smil:fill 19.450, smil:fillDefault 19.451, smil:repeatCount 19.456, smil:repeatDur 19.457, smil:restart 19.458, smil:restartDefault 19.459 and xml:id 19.920.

The <anim:par> element has the following child elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

15.4.3 <anim:seq>

The <anim:seq> element is a container for child animation nodes that start in a sequential fashion.

The <anim:seq> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:seq> element has the following attributes: anim:id 19.7, presentation:group-id 19.401, presentation:master-element 19.402, presentation:node-type 19.406, presentation:preset-class 19.414, presentation:preset-id 19.415, presentation:preset-sub-type 19.416, smil:accelerate 19.436, smil:autoReverse 19.440, smil:begin 19.441, smil:decelerate 19.444, smil:dur 19.446, smil:end 19.447, smil:endsync 19.448, smil:fill 19.450, smil:fillDefault 19.451, smil:repeatCount 19.456, smil:repeatDur 19.457, smil:restart 19.458, smil:restartDefault 19.459 and xml:id 19.920.

The <anim:seq> element has the following child elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

15.4.4 <anim:iterate>

The <anim:iterate> element defines a parallel time container. The animation effects are applied to the child objects of the target element. The effects for each child object are started one after another, where the delay between the start of the effects of two subsequent children is specified by the anim:iterate-interval attribute. 19.8

The <anim:iterate> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:iterate> element has the following attributes: anim:id 19.7, anim:iterate-interval 19.8, anim:iterate-type 19.9, anim:sub-item 19.11, presentation:group-id 19.401, presentation:master-element 19.402, presentation:node-type 19.406, presentation:preset-class 19.414, presentation:preset-id 19.415, presentation:preset-sub-type 19.416, smil:accelerate 19.436, smil:autoReverse 19.440, smil:begin 19.441, smil:decelerate 19.444, smil:dur 19.446, smil:end 19.447, smil:endsync 19.448, smil:fill 19.450, smil:fillDefault 19.451, smil:repeatCount 19.456, smil:repeatDur 19.457, smil:restart 19.458, smil:restartDefault 19.459, smil:targetElement 19.461 and xml:id 19.920.

The <anim:iterate> element has the following child elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

15.5 <anim:audio>

The <anim:audio> element is based on the [SMIL20] <smil:audio> element. It specifies the playback of audio streams during an animation. See §7.3.1 of [SMIL20].

The <anim:audio> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:audio> element has the following attributes: anim:audio-level 19.4, anim:id 19.7, presentation:group-id 19.401, presentation:master-element 19.402, presentation:node-type 19.406, presentation:preset-class 19.414, presentation:preset-id 19.415, presentation:preset-sub-type 19.416, smil:begin 19.441, smil:dur 19.446, smil:end 19.447, smil:fill 19.450, smil:fillDefault 19.451, smil:repeatCount 19.456, smil:repeatDur 19.457, smil:restart 19.458, smil:restartDefault 19.459, xlink:href 19.916 and xml:id 19.920.

The <anim:audio> element has no child elements.

15.6 Animation Command Elements

15.6.1 <anim:command>

The <anim:command> element specifies an animation command.

Note: See 19.5 for details about the element's usage in presentation documents.

The <anim:command> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:command> element has the following attributes: anim:command 19.5, anim:id 19.7, anim:sub-item 19.11, presentation:group-id 19.401, presentation:master-element 19.402, presentation:node-type 19.406, presentation:preset-class 19.414, presentation:preset-id 19.415, presentation:preset-sub-type 19.416, smil:begin 19.441, smil:end 19.447, smil:targetElement 19.461 and xml:id 19.920.

The <anim:command> element has the following child element: <anim:param> 15.6.2.

15.6.2 <anim:param>

The <anim:param> element specifies a parameter for an <anim:command> element.

The <anim:param> element is usable within the following element: <anim:command> 15.6.1.

The <anim:param> element has the following attributes: anim:name 19.10 and anim:value 19.12.

The <anim:param> element has no child elements.

16 Styles

16.1 General

Objects in an office document may have formatting properties. A formatting property influences the visual representation of an object.

In the OpenDocument format, formatting properties are stored in styles.

There are two reasons for using styles to store formatting properties:

  1. 1)Format information is separated from document content. 

  2. 2)Styles enable consistent formatting and changing of formatting for objects subject to styles.  

Styles and font face declarations are referenced by their style:name attribute. A referenced style or font face declaration should be defined in the same file as the reference, or in styles.xml.

16.2 <style:style>

The <style:style> element represents styles.

Styles defined by the <style:style> element use a hierarchical style model. The <style:style> element supports inheritance of formatting properties by a style from its parent style. A parent style is specified by the style:parent-style-name attribute on a <style:style> element.

The determination of the value of a formatting property begins with any style that is specified by an element. If the formatting property is present in that style, its value is used.

If that style does not specify a value for that formatting property and it has a parent style, the value of the formatting element is taken from the parent style, if present.

If the parent style does not have a value for the formatting property, the search for the formatting property value continues up parent styles until either the formatting property has been found or a style is found with no parent style.

If a search of the parent styles of a style does not result in a value for a formatting property, the determination of its value depends on the style family and the element to which a style is applied.

For styles with family text which are applied to elements which are contained in another element that specifies a style with family text, the search continues within the text style that is applied to the nearest ancestor element that specifies a style with family text, and continues in its parent styles.

For styles with family text which are applied to elements which are contained in a paragraph element 6.1.1, the search continues within the paragraph style that is applied to the paragraph element, and continues in its parent styles.

For styles with family paragraph which are applied to paragraph elements which are contained in a drawing shape or a chart element, the search continues within the graphic, presentation or chart style that is applied to the drawing object or chart element, and continues in its parent styles.

For styles with family paragraph which are applied to paragraph elements which are contained in a table cell, the search continues within the table-cell style that is applied to the table-cell, and continues in its parent styles. If a value for the formatting property has not been found, the search continues as defined for styles with family table-cell.

For styles with family table-cell which are applied to a table cell, the search continues with the style specified by the table:default-cell-style-name attribute 19.619 of the table cell's <table:table-row> parent element, if present, and then with the style specified by the table:default-cell-style-name attribute of the <table:table-column> element associated with the table cell.

In all other cases, or if a value for the formatting property has not been found by any of the family specific rules, a default style 16.4 that has the same family as the style initially declared sets the value. If a value has not been found by these steps, but this specification defines a default value, then this default value is used. In all remaining cases an implementation-dependent value is used.

The <style:style> element is usable within the following elements: <office:automatic-styles> 3.15.3 and <office:styles> 3.15.2.

The <style:style> element has the following attributes: style:auto-update 19.467, style:class 19.470, style:data-style-name 19.473, style:default-outline-level 19.474, style:display-name 19.476, style:family 19.480, style:list-level 19.499, style:list-style-name 19.500, style:master-page-name 19.501, style:name 19.502, style:next-style-name 19.503, style:parent-style-name 19.510 and style:percentage-data-style-name 19.511.

The <style:style> element has the following child elements: <style:chart-properties> 17.22, <style:drawing-page-properties> 17.25, <style:graphic-properties> 17.21, <style:map> 16.3, <style:paragraph-properties> 17.6, <style:ruby-properties> 17.10, <style:section-properties> 17.11, <style:table-cell-properties> 17.18, <style:table-column-properties> 17.16, <style:table-properties> 17.15, <style:table-row-properties> 17.17, <style:text-properties> 16.29.29.

16.3 <style:map>

The <style:map> element represents a condition, which if met, results in the mapping of a style. A style that contains one or more mappings is called a conditional style. Each condition is represented by a unique <style:map> element.

Conditional styles are supported by:

The <style:map> element is usable within the following elements: <number:boolean-style> 16.29.24, <number:currency-style> 16.29.8, <number:date-style> 16.29.11, <number:number-style> 16.29.2, <number:percentage-style> 16.29.10, <number:text-style> 16.29.26, <number:time-style> 16.29.19 and <style:style> 16.2.

The <style:map> element has the following attributes: style:apply-style-name 19.466, style:base-cell-address 19.468 and style:condition 19.472.

The <style:map> element has no child elements.

16.4 <style:default-style>

The <style:default-style> element represents default styles. A default style specifies default formatting properties for a style family. These defaults are used if a formatting property is neither specified by an automatic nor a common style. Default styles exist for all style families that are represented by the <style:style> element specified by the style:family attribute 19.480.

An OpenDocument document should contain the default styles of the style families for which are used in common or automatic styles in the document.

The <style:default-style> element is usable within the following element: <office:styles> 3.15.2.

The <style:default-style> element has the following attributes: style:family 19.480.

The <style:default-style> element has the following child elements: <style:chart-properties> 17.22, <style:drawing-page-properties> 17.25, <style:graphic-properties> 17.21, <style:paragraph-properties> 17.6, <style:ruby-properties> 17.10, <style:section-properties> 17.11, <style:table-cell-properties> 17.18, <style:table-column-properties> 17.16, <style:table-properties> 17.15, <style:table-row-properties> 17.17, <style:text-properties> 16.29.29.

16.5 <style:page-layout>

The <style:page-layout> element represents the styles that specify the formatting properties of a page.

The <style:page-layout> element is usable within the following element: <office:automatic-styles> 3.15.3.

The <style:page-layout> element has the following attributes: style:name 19.502 and style:page-usage 19.509.

The <style:page-layout> element has the following child elements: <style:footer-style> 16.7, <style:header-style> 16.6 and <style:page-layout-properties> 17.2.

16.6 <style:header-style>

The <style:header-style> element specifies the formatting properties for a header element.

The <style:header-style> element is usable within the following elements: <style:default-page-layout> 16.8 and <style:page-layout> 16.5.

The <style:header-style> element has no attributes.

The <style:header-style> element has the following child element: <style:header-footer-properties> 17.5.

16.7 <style:footer-style>

The <style:footer-style> element specifies the formatting properties for a footer element.

The <style:footer-style> element is usable within the following elements: <style:default-page-layout> 16.8 and <style:page-layout> 16.5.

The <style:footer-style> element has no attributes.

The <style:footer-style> element has the following child element: <style:header-footer-properties> 17.5.

16.8 <style:default-page-layout>

The <style:default-page-layout> element specifies default formatting properties for page layouts. These defaults are used if a formatting property is not specified in a <style:page-layout> 16.5 element. The <style:default-page-layout> element is usable within the following element: <office:styles> 3.15.2.

The <style:default-page-layout> element is usable within the following element: <office:styles> 3.15.2.

The <style:default-page-layout> element has no attributes.

The <style:default-page-layout> element has the following child elements: <style:footer-style> 16.7, <style:header-style> 16.6 and <style:page-layout-properties> 17.2.

16.9 <style:master-page>

In text and spreadsheet documents, the <style:master-page> element contains the content of headers and footers. For these types of documents, consumers may generate a sequence of pages by making use of a single master page or a set of master pages.

In drawing and presentation documents, the <style:master-page> element is used to define master pages as common backgrounds for drawing pages. Each drawing page is directly linked to one master page, which is specified by the draw:master-page-name attribute of the <draw:page> element..

Master pages are contained in the <office:master-styles> element.

All documents shall contain at least one master page element.

If a text or spreadsheet document is displayed in a paged layout, master pages are used to generate a sequence of pages containing the document content. When a page is created, an empty page is generated with the properties of the master page and the static content of the master page. The body of the page is then filled with content. A single master page can be used to created multiple pages within a document.

In text and spreadsheet documents, a master page can be assigned to paragraph and table styles using a style:master-page-name attribute. Each time the paragraph or table style is applied to text, a page break is inserted before the paragraph or table. A page that starts at the page break position uses the specified master page.

Note: The OpenDocument paging methodology differs significantly from the methodology used in [XSL]. In XSL, headers and footers are contained within page sequences that also contain the document content. In the OpenDocument format, headers and footers are contained in page styles. With either approach, the content of headers and footers can be changed or omitted without affecting the document content.

The <style:master-page> element is usable within the following element: <office:master-styles> 3.15.4.

The <style:master-page> element has the following attributes: draw:style-name 19.219, style:display-name 19.476, style:name 19.502, style:next-style-name 19.503 and style:page-layout-name 19.508.

The <style:master-page> element has the following child elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4, <anim:transitionFilter> 15.2.7, <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:layer-set> 10.2.2, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:forms> 13.2, <presentation:notes> 16.19, <style:footer> 16.12, <style:footer-first> 16.13, <style:footer-left> 16.15, <style:header> 16.10, <style:header-first> 16.11 and <style:header-left> 16.14.

16.10 <style:header>

The <style:header> element represents the content of a header in a <style:master-page> element.

The <style:header> element is usable within the following element: <style:master-page> 16.9.

The <style:header> element has the following attribute: style:display 19.475.

The <style:header> element has the following child elements: <style:region-center> 16.17, <style:region-left> 16.16, <style:region-right> 16.18, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:bibliography> 8.9, <text:change> 5.5.8.4, <text:change-end> 5.5.8.3, <text:change-start> 5.5.8.2, <text:dde-connection-decls> 14.7.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:index-title> 8.2.3, <text:list> 5.3.1, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:sequence-decls> 7.4.11, <text:table-index> 8.5, <text:table-of-content> 8.3, <text:tracked-changes> 5.5.2, <text:user-field-decls> 7.4.7, <text:user-index> 8.7 and <text:variable-decls> 7.4.2.

16.11 <style:header-first>

The <style:header-first> element represents the content of a header for a first page, if different from the left/right page in a <style:master-page> element.

The term "first page" means the first page to which the page style is applied, regardless of any numbering. If a different page style is applied in between two applications of a page style that has the <style:header-first> element, each of the applications of the page style has its own first page.

The <style:header-first> element is usable within the following element: <style:master-page> 16.9.

The <style:header-first> element has the following attribute: style:display 19.475.

The <style:header-first> element has the following child elements: <style:region-center> 16.17, <style:region-left> 16.16, <style:region-right> 16.18, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:bibliography> 8.9, <text:change> 5.5.8.4, <text:change-end> 5.5.8.3, <text:change-start> 5.5.8.2, <text:dde-connection-decls> 14.7.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:index-title> 8.2.3, <text:list> 5.3.1, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:sequence-decls> 7.4.11, <text:table-index> 8.5, <text:table-of-content> 8.3, <text:tracked-changes> 5.5.2, <text:user-field-decls> 7.4.7, <text:user-index> 8.7 and <text:variable-decls> 7.4.2.

16.12 <style:footer>

The <style:footer> element represents the content of a footer in a <style:master-page> element.

The <style:footer> element is usable within the following element: <style:master-page> 16.9.

The <style:footer> element has the following attribute: style:display 19.475.

The <style:footer> element has the following child elements: <style:region-center> 16.17, <style:region-left> 16.16, <style:region-right> 16.18, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:bibliography> 8.9, <text:change> 5.5.8.4, <text:change-end> 5.5.8.3, <text:change-start> 5.5.8.2, <text:dde-connection-decls> 14.7.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:index-title> 8.2.3, <text:list> 5.3.1, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:sequence-decls> 7.4.11, <text:table-index> 8.5, <text:table-of-content> 8.3, <text:tracked-changes> 5.5.2, <text:user-field-decls> 7.4.7, <text:user-index> 8.7 and <text:variable-decls> 7.4.2.

16.13 <style:footer-first>

The <style:footer-first> element represents the content of a footer for a first page, if different from the left/right page in a <style:master-page> element.

The term "first page" means the first page to which the page style is applied, regardless of any numbering. If a different page style is applied in between two applications of the page style, that has the <style:footer-first> element, each of the applications of the page style has its own first page.

The <style:footer-first> element is usable within the following element: <style:master-page> 16.9.

The <style:footer-first> element has the following attribute: style:display 19.475.

The <style:footer-first> element has the following child elements: <style:region-center> 16.17, <style:region-left> 16.16, <style:region-right> 16.18, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:bibliography> 8.9, <text:change> 5.5.8.4, <text:change-end> 5.5.8.3, <text:change-start> 5.5.8.2, <text:dde-connection-decls> 14.7.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:index-title> 8.2.3, <text:list> 5.3.1, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:sequence-decls> 7.4.11, <text:table-index> 8.5, <text:table-of-content> 8.3, <text:tracked-changes> 5.5.2, <text:user-field-decls> 7.4.7, <text:user-index> 8.7 and <text:variable-decls> 7.4.2.

16.14 <style:header-left>

The <style:header-left> element represents the content of a header for a left page, if different from the right page in a <style:master-page> element.

The <style:header-left> element is usable within the following element: <style:master-page> 16.9.

The <style:header-left> element has the following attribute: style:display 19.475.

The <style:header-left> element has the following child elements: <style:region-center> 16.17, <style:region-left> 16.16, <style:region-right> 16.18, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:bibliography> 8.9, <text:change> 5.5.8.4, <text:change-end> 5.5.8.3, <text:change-start> 5.5.8.2, <text:dde-connection-decls> 14.7.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:index-title> 8.2.3, <text:list> 5.3.1, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:sequence-decls> 7.4.11, <text:table-index> 8.5, <text:table-of-content> 8.3, <text:tracked-changes> 5.5.2, <text:user-field-decls> 7.4.7, <text:user-index> 8.7 and <text:variable-decls> 7.4.2.

16.15 <style:footer-left>

The <style:footer-left> element represents the content of a footer for a left page, if different from the right page for a <style:master-page> element.

The <style:footer-left> element is usable within the following element: <style:master-page> 16.9.

The <style:footer-left> element has the following attribute: style:display 19.475.

The <style:footer-left> element has the following child elements: <style:region-center> 16.17, <style:region-left> 16.16, <style:region-right> 16.18, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:bibliography> 8.9, <text:change> 5.5.8.4, <text:change-end> 5.5.8.3, <text:change-start> 5.5.8.2, <text:dde-connection-decls> 14.7.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:index-title> 8.2.3, <text:list> 5.3.1, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:sequence-decls> 7.4.11, <text:table-index> 8.5, <text:table-of-content> 8.3, <text:tracked-changes> 5.5.2, <text:user-field-decls> 7.4.7, <text:user-index> 8.7 and <text:variable-decls> 7.4.2.

16.16 <style:region-left>

The <style:region-left> element specifies a left-aligned portion of a header or footer. That region may contain a sequence of <text:p> elements.

The <style:region-left> element is usable within the following elements: <style:footer> 16.12, <style:footer-first> 16.13, <style:footer-left> 16.15, <style:header> 16.10, <style:header-first> 16.11 and <style:header-left> 16.14.

The <style:region-left> element has no attributes.

The <style:region-left> element has the following child element: <text:p> 5.1.3.

16.17 <style:region-center>

The <style:region-center> element specifies a center-aligned portion of a header or footer. That region may contain a sequence of <text:p> elements.

The <style:region-center> element is usable within the following elements: <style:footer> 16.12, <style:footer-first> 16.13, <style:footer-left> 16.15, <style:header> 16.10, <style:header-first> 16.11 and <style:header-left> 16.14.

The <style:region-center> element has no attributes.

The <style:region-center> element has the following child element: <text:p> 5.1.3.

16.18 <style:region-right>

The <style:region-right> element specifies a right-aligned portion of a header or footer. That region may contain a sequence of <text:p> elements.

The <style:region-right> element is usable within the following elements: <style:footer> 16.12, <style:footer-first> 16.13, <style:footer-left> 16.15, <style:header> 16.10, <style:header-first> 16.11 and <style:header-left> 16.14.

The <style:region-right> element has no attributes.

The <style:region-right> element has the following child element: <text:p> 5.1.3.

16.19 <presentation:notes>

The <presentation:notes> element defines a notes page. A notes page contains a preview of a drawing page and additional graphic shapes.

The <presentation:notes> element is usable within the following elements: <draw:page> 10.2.4 and <style:master-page> 16.9.

The <presentation:notes> element has the following attributes: draw:style-name 19.219, presentation:use-date-time-name 19.428, presentation:use-footer-name 19.429, presentation:use-header-name 19.430 and style:page-layout-name 19.508.

The <presentation:notes> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:forms> 13.2.

16.20 <table:table-template>

A <table:table-template> element represents a set of references to table cell styles that specify the formatting to be used when creating a table.

If more than one table cell style reference is applicable to a cell, the first style that is applicable is chosen in the following order:

 

The <table:table-template> element is usable within the following element: <office:styles> 3.15.2.

The <table:table-template> element has the following attributes: table:first-row-end-column 19.644, table:first-row-start-column 19.645, table:last-row-end-column 19.663, table:last-row-start-column 19.665 and table:name 19.677.

The <table:table-template> element has the following child elements: <table:background> 16.22, <table:body> 16.21.6, <table:even-columns> 16.21.9, <table:even-rows> 16.21.7, <table:first-column> 16.21.4, <table:first-row> 16.21.2, <table:last-column> 16.21.5, <table:last-row> 16.21.3, <table:odd-columns> 16.21.10 and <table:odd-rows> 16.21.8.

16.21 Cell Styles

16.21.1 General

The cell styles applied in a table are based on the position of cells in a table.

16.21.2 <table:first-row>

The <table:first-row> element specifies a cell style that shall be applied to the first row of a table.

The <table:first-row> element is usable within the following element: <table:table-template> 16.20.

The <table:first-row> element has the following attributes: table:paragraph-style-name 19.692 and table:style-name 19.730.

The <table:first-row> element has no child elements.

16.21.3 <table:last-row>

The <table:last-row> element specifies a cell style that shall be applied to the last row of a table.

The <table:last-row> element is usable within the following element: <table:table-template> 16.20.

The <table:last-row> element has the following attributes: table:paragraph-style-name 19.692 and table:style-name 19.730.

The <table:last-row> element has no child elements.

16.21.4 <table:first-column>

The <table:first-column> element specifies a cell style that shall be applied to the first column in a table.

The <table:first-column> element is usable within the following element: <table:table-template> 16.20.

The <table:first-column> element has the following attributes: table:paragraph-style-name 19.692 and table:style-name 19.730.

The <table:first-column> element has no child elements.

16.21.5 <table:last-column>

The <table:last-column> element specifies a cell style that shall be applied to the last column in a table.

The <table:last-column> element is usable within the following element: <table:table-template> 16.20.

The <table:last-column> element has the following attributes: table:paragraph-style-name 19.692 and table:style-name 19.730.

The <table:last-column> element has no child elements.

16.21.6 <table:body>

The <table:body> element specifies styles for cells that are not governed by other specified styles.

The <table:body> element is usable within the following element: <table:table-template> 16.20.

The <table:body> element has the following attributes: table:paragraph-style-name 19.692 and table:style-name 19.730.

The <table:body> element has no child elements.

16.21.7 <table:even-rows>

The <table:even-rows> element specifies styles to be applied to even rows in a table.

The <table:even-rows> element is usable within the following element: <table:table-template> 16.20.

The <table:even-rows> element has the following attributes: table:paragraph-style-name 19.692 and table:style-name 19.730.

The <table:even-rows> element has no child elements.

16.21.8 <table:odd-rows>

The <table:odd-rows> element specifies styles to be applied to odd rows in a table.

The <table:odd-rows> element is usable within the following element: <table:table-template> 16.20.

The <table:odd-rows> element has the following attributes: table:paragraph-style-name 19.692 and table:style-name 19.730.

The <table:odd-rows> element has no child elements.

16.21.9 <table:even-columns>

The <table:even-columns> element specifies styles to be applied to even columns in a table.

The <table:even-columns> element is usable within the following element: <table:table-template> 16.20.

The <table:even-columns> element has the following attributes: table:paragraph-style-name 19.692 and table:style-name 19.730.

The <table:even-columns> element has no child elements.

16.21.10 <table:odd-columns>

The <table:odd-columns> element specifies styles to be applied to odd columns in a table.

The <table:odd-columns> element is usable within the following element: <table:table-template> 16.20.

The <table:odd-columns> element has the following attributes: table:paragraph-style-name 19.692 and table:style-name 19.730.

The <table:odd-columns> element has no child elements.

16.22 <table:background>

The <table:background> element specifies a table style that provides a background to a table that is visible if all or part of the table is transparent.

The <table:background> element is usable within the following element: <table:table-template> 16.20.

The <table:background> element has the following attribute: table:style-name 19.730.

The <table:background> element has no child elements.

16.23 <style:font-face>

The <style:font-face> element represents a font face declaration which documents the properties of a font used in a document.

OpenDocument font face declarations directly correspond to the @font-face font description of [CSS2] (see §15.3.1) and the <font-face> element of [SVG] (see §20.8.3).

OpenDocument font face declarations may have an unique name. This name can be used inside styles (as an attribute of <style:text-properties> element) as value of the style:font-name attribute to select a font face declaration. If a font face declaration is referenced by name, the font-matching algorithms for selecting a font declaration based on the font-family, font-style, font-variant, font-weight and font-size descriptors are not used but the referenced font face declaration is used directly. (See §15.5 [CSS2])

Consumers should implement the CSS2 font-matching algorithm with the OpenDocument font face extensions. They may implement variations of the CSS2 font-matching algorithm. They may implement a font-matching based only on the font face declarations, that is, a font-matching that is not applied to every character independently but only once for each font face declaration. (See §15.5 [CSS2])

Font face declarations support the font descriptor attributes and elements described in §20.8.3 of [SVG].

The <style:font-face> element is usable within the following element: <office:font-face-decls> 3.14.

The <style:font-face> element has the following attributes: style:font-adornments 19.482, style:font-charset 19.483, style:font-family-generic 19.484, style:font-pitch 19.485, style:name 19.502, svg:accent-height 19.523, svg:alphabetic 19.524, svg:ascent 19.525, svg:bbox 19.526, svg:cap-height 19.527, svg:descent 19.531, svg:font-family 19.532, svg:font-size 19.533, svg:font-stretch 19.534, svg:font-style 19.535, svg:font-variant 19.536, svg:font-weight 19.537, svg:hanging 19.542, svg:ideographic 19.544, svg:mathematical 19.545, svg:overline-position 19.549, svg:overline-thickness 19.550, svg:panose-1 19.551, svg:slope 19.556, svg:stemh 19.558, svg:stemv 19.559, svg:strikethrough-position 19.562, svg:strikethrough-thickness 19.563, svg:underline-position 19.566, svg:underline-thickness 19.567, svg:unicode-range 19.568, svg:units-per-em 19.569, svg:v-alphabetic 19.570, svg:v-hanging 19.571, svg:v-ideographic 19.572, svg:v-mathematical 19.573, svg:widths 19.576 and svg:x-height 19.580.

The <style:font-face> element has the following child elements: <svg:definition-src> 16.27 and <svg:font-face-src> 16.24.

16.24 <svg:font-face-src>

See §20.8.3 of [SVG].

The <svg:font-face-src> element is usable within the following element: <style:font-face> 16.23.

The <svg:font-face-src> element has no attributes.

The <svg:font-face-src> element has the following child elements: <svg:font-face-name> 16.25 and <svg:font-face-uri> 16.26.

16.25 <svg:font-face-name>

See §20.8.3 of [SVG].

The <svg:font-face-name> element is usable within the following element: <svg:font-face-src> 16.24.

The <svg:font-face-name> element has the following attribute: svg:name 19.546.

The <svg:font-face-name> element has no child elements.

16.26 <svg:font-face-uri>

See § 20.8.3 of [SVG].

The <svg:font-face-uri> element is usable within the following element: <svg:font-face-src> 16.24.

The <svg:font-face-uri> element has the following attributes: xlink:actuate 19.915, xlink:href 19.916 and xlink:type 19.919.

The <svg:font-face-uri> element has the following child element: <svg:font-face-format> 16.28.

16.27 <svg:definition-src>

See § 20.8.3 of [SVG].

The <svg:definition-src> element is usable within the following element: <style:font-face> 16.23.

The <svg:definition-src> element has the following attributes: xlink:actuate 19.915, xlink:href 19.916 and xlink:type 19.919.

The <svg:definition-src> element has no child elements.

16.28 <svg:font-face-format>

See §20.8.3 of [SVG].

The <svg:font-face-format> element is usable within the following element: <svg:font-face-uri> 16.26.

The <svg:font-face-format> element has the following attribute: svg:string 19.564.

The <svg:font-face-format> element has no child elements.

16.29 Data Styles

16.29.1 General

Data styles specify the styles to be applied to defined data types for display.

Data styles shall not specify two <number:text> elements in sequence as part of a data style.

Data styles shall specify at most one <number:fill-character> element.

16.29.2 <number:number-style>

The <number:number-style> element is a container for elements that define a style for decimal numbers.

Note: Tab alignment should be supported in spreadsheets for interoperability (display) purposes.

The <number:number-style> element is usable within the following elements: <office:automatic-styles> 3.15.3 and <office:styles> 3.15.2.

The <number:number-style> element has the following attributes: number:country 19.342, number:language 19.351, number:rfc-language-tag 19.360, number:script 19.361, number:title 19.364, number:transliteration-country 19.365, number:transliteration-format 19.366, number:transliteration-language 19.367, number:transliteration-style 19.368, style:display-name 19.476, style:name 19.502 and style:volatile 19.521.

The <number:number-style> element has the following child elements: <number:fill-character> 16.29.5, <number:fraction> 16.29.7, <number:number> 16.29.3, <number:scientific-number> 16.29.6, <number:text> 16.29.27, <style:map> 16.3 and <style:text-properties> 16.29.29.

16.29.3 <number:number>

The <number:number> element specifies the display formatting properties for a decimal number.

The <number:number> element is usable within the following elements: <number:currency-style> 16.29.8, <number:number-style> 16.29.2 and <number:percentage-style> 16.29.10.

The <number:number> element has the following attributes: number:decimal-places 19.343, number:decimal-replacement 19.344, number:display-factor 19.346, number:grouping 19.350, number:min-decimal-places 19.356 and number:min-integer-digits 19.355.

The <number:number> element has the following child element: <number:embedded-text> 16.29.4.

16.29.4 <number:embedded-text>

The <number:embedded-text> element specifies text that is displayed at one specific position within a number.

The <number:embedded-text> element is usable within the following element: <number:number> 16.29.3.

The <number:embedded-text> element has the following attribute: number:position 19.358.

The <number:embedded-text> element has no child elements.

The <number:embedded-text> element has character data content.

16.29.5 <number:fill-character>

The <number:fill-character> element specifies a Unicode character that is displayed repeatedly at the position where the element occurs. The character specified is repeated as many times as possible, but the total resulting string shall not exceed the given cell content area.

Fill characters may not fill all the available space in a cell. The distribution of the remaining space is implementation-dependent.

The <number:fill-character> element is usable within the following elements: <number:currency-style> 16.29.8, <number:date-style> 16.29.11, <number:number-style> 16.29.2, <number:percentage-style> 16.29.10, <number:text-style> 16.29.26 and <number:time-style> 16.29.19.

The <number:fill-character> element has no attributes.

The <number:fill-character> element has no child elements.

The <number:fill-character> element has character data content.

16.29.6 <number:scientific-number>

The <number:scientific-number> element specifies the display formatting properties for a number style that should be displayed in scientific format.

The <number:scientific-number> element is usable within the following element: <number:number-style> 16.29.2.

The <number:scientific-number> element has the following attributes: number:decimal-places 19.343, number:exponent-interval 19.347, number:forced-exponent-sign 19.349, number:grouping 19.350, number:min-decimal-places 19.356, number:min-exponent-digits 19.354 and number:min-integer-digits 19.355.

The <number:scientific-number> element has no child elements.

16.29.7 <number:fraction>

The <number:fraction> element specifies the display formatting properties for a number style that should be displayed as a fraction.

The <number:fraction> element is usable within the following element: <number:number-style> 16.29.2.

The <number:fraction> element has the following attributes: number:denominator-value 19.345, number:grouping 19.350, number:max-denominator-value 19.352, number:min-denominator-digits 19.353, number:min-integer-digits 19.355 and number:min-numerator-digits 19.357.

The <number:fraction> element has no child elements.

16.29.8 <number:currency-style>

The <number:currency-style> element specifies the style for currency values.

The <number:currency-style> element is usable within the following elements: <office:automatic-styles> 3.15.3 and <office:styles> 3.15.2.

The <number:currency-style> element has the following attributes: number:automatic-order 19.340, number:country 19.342, number:language 19.351, number:rfc-language-tag 19.360, number:script 19.361, number:title 19.364, number:transliteration-country 19.365, number:transliteration-format 19.366, number:transliteration-language 19.367, number:transliteration-style 19.368, style:display-name 19.476, style:name 19.502 and style:volatile 19.521.

The <number:currency-style> element has the following child elements: <number:currency-symbol> 16.29.9, <number:fill-character> 16.29.5, <number:number> 16.29.3, <number:text> 16.29.27, <style:map> 16.3 and <style:text-properties> 16.29.29.

16.29.9 <number:currency-symbol>

The <number:currency-symbol> element specifies whether a currency symbol is displayed in a currency style.

The content of this element is the text that is displayed as the currency symbol. If the element is empty or contains white space characters only, the default currency symbol for the currency style or the language and country of the currency style is displayed.

The <number:currency-symbol> element is usable within the following element: <number:currency-style> 16.29.8.

The <number:currency-symbol> element has the following attributes: number:country 19.342, number:language 19.351, number:rfc-language-tag 19.360 and number:script 19.361.

The <number:currency-symbol> element has no child elements.

The <number:currency-symbol> element has character data content.

16.29.10 <number:percentage-style>

The <number:percentage-style> element specifies the style for percentage values.

A <number:percentage-style> element should have <number:text> child element whose character data contains a “%” (U+0025, PERCENT SIGN) character.

The <number:percentage-style> element is usable within the following elements: <office:automatic-styles> 3.15.3 and <office:styles> 3.15.2.

The <number:percentage-style> element has the following attributes: number:country 19.342, number:language 19.351, number:rfc-language-tag 19.360, number:script 19.361, number:title 19.364, number:transliteration-country 19.365, number:transliteration-format 19.366, number:transliteration-language 19.367, number:transliteration-style 19.368, style:display-name 19.476, style:name 19.502 and style:volatile 19.521.

The <number:percentage-style> element has the following child elements: <number:fill-character> 16.29.5, <number:number> 16.29.3, <number:text> 16.29.27, <style:map> 16.3 and <style:text-properties> 16.29.29.

16.29.11 <number:date-style>

The <number:date-style> element specifies a style for date values.

 

The <number:date-style> element is usable within the following elements: <office:automatic-styles> 3.15.3 and <office:styles> 3.15.2.

The <number:date-style> element has the following attributes: number:automatic-order 19.340, number:country 19.342, number:format-source 19.348, number:language 19.351, number:rfc-language-tag 19.360, number:script 19.361, number:title 19.364, number:transliteration-country 19.365, number:transliteration-format 19.366, number:transliteration-language 19.367, number:transliteration-style 19.368, style:display-name 19.476, style:name 19.502 and style:volatile 19.521.

The <number:date-style> element has the following child elements: <number:am-pm> 16.29.23, <number:day> 16.29.12, <number:day-of-week> 16.29.16, <number:era> 16.29.15, <number:fill-character> 16.29.5, <number:hours> 16.29.20, <number:minutes> 16.29.21, <number:month> 16.29.13, <number:quarter> 16.29.18, <number:seconds> 16.29.22, <number:text> 16.29.27, <number:week-of-year> 16.29.17, <number:year> 16.29.14, <style:map> 16.3 and <style:text-properties> 16.29.29.

16.29.12 <number:day>

The <number:day> element specifies a day of a month in a date.

The <number:day> element is usable within the following element: <number:date-style> 16.29.11.

The <number:day> element has the following attributes: number:calendar 19.341 and number:style 19.362.

The <number:day> element has no child elements.

16.29.13 <number:month>

The <number:month> element specifies a month in a date.

The <number:month> element is usable within the following element: <number:date-style> 16.29.11.

The <number:month> element has the following attributes: number:calendar 19.341, number:possessive-form 19.359, number:style 19.362 and number:textual 19.363.

The <number:month> element has no child elements.

16.29.14 <number:year>

The <number:year> element specifies a year in a date.

The <number:year> element is usable within the following element: <number:date-style> 16.29.11.

The <number:year> element has the following attributes: number:calendar 19.341 and number:style 19.362.

The <number:year> element has no child elements.

16.29.15 <number:era>

The <number:era> element specifies an era in which a year is counted.

The <number:era> element is usable within the following element: <number:date-style> 16.29.11.

The <number:era> element has the following attributes: number:calendar 19.341 and number:style 19.362.

The <number:era> element has no child elements.

16.29.16 <number:day-of-week>

The <number:day-of-week> element specifies a day of a week in a date.

The <number:day-of-week> element is usable within the following element: <number:date-style> 16.29.11.

The <number:day-of-week> element has the following attributes: number:calendar 19.341 and number:style 19.362.

The <number:day-of-week> element has no child elements.

16.29.17 <number:week-of-year>

The <number:week-of-year> element specifies a week of a year in a date.

The <number:week-of-year> element is usable within the following element: <number:date-style> 16.29.11.

The <number:week-of-year> element has the following attribute: number:calendar 19.341.

The <number:week-of-year> element has no child elements.

16.29.18 <number:quarter>

The <number:quarter> element specifies a quarter of a year in a date.

The <number:quarter> element is usable within the following element: <number:date-style> 16.29.11.

The <number:quarter> element has the following attributes: number:calendar 19.341 and number:style 19.362.

The <number:quarter> element has no child elements.

16.29.19 <number:time-style>

The <number:time-style> element specifies a style for time values.

This element can contain one instance of any of the following elements: <number:hours>, <number:minutes>, <number:seconds> and <number:am-pm>.

The <number:time-style> element can also contain <number:text> elements, which display additional text.

The <number:time-style> element is usable within the following elements: <office:automatic-styles> 3.15.3 and <office:styles> 3.15.2.

The <number:time-style> element has the following attributes: number:country 19.342, number:format-source 19.348, number:language 19.351, number:rfc-language-tag 19.360, number:script 19.361, number:title 19.364, number:transliteration-country 19.365, number:transliteration-format 19.366, number:transliteration-language 19.367, number:transliteration-style 19.368, number:truncate-on-overflow 19.369, style:display-name 19.476, style:name 19.502 and style:volatile 19.521.

The <number:time-style> element has the following child elements: <number:am-pm> 16.29.23, <number:fill-character> 16.29.5, <number:hours> 16.29.20, <number:minutes> 16.29.21, <number:seconds> 16.29.22, <number:text> 16.29.27, <style:map> 16.3 and <style:text-properties> 16.29.29.

16.29.20 <number:hours>

The <number:hours> element specifies whether hours are displayed as part of a date or time.

The <number:hours> element is usable within the following elements: <number:date-style> 16.29.11 and <number:time-style> 16.29.19.

The <number:hours> element has the following attribute: number:style 19.362.

The <number:hours> element has no child elements.

16.29.21 <number:minutes>

The <number:minutes> element specifies whether minutes are displayed as part of a date or time.

The <number:minutes> element is usable within the following elements: <number:date-style> 16.29.11 and <number:time-style> 16.29.19.

The <number:minutes> element has the following attribute: number:style 19.362.

The <number:minutes> element has no child elements.

16.29.22 <number:seconds>

The <number:seconds> element specifies whether seconds are displayed as part of a date or time.

The <number:seconds> element is usable within the following elements: <number:date-style> 16.29.11 and <number:time-style> 16.29.19.

The <number:seconds> element has the following attributes: number:decimal-places 19.343 and number:style 19.362.

The <number:seconds> element has no child elements.

16.29.23 <number:am-pm>

The <number:am-pm> element specifies whether AM/PM is included as part of a date or time.

If a <number:am-pm> element is contained in a date or time style, hours are displayed using values from 1 to 12 only.

The <number:am-pm> element is usable within the following elements: <number:date-style> 16.29.11 and <number:time-style> 16.29.19.

The <number:am-pm> element has no attributes.

The <number:am-pm> element has no child elements.

16.29.24 <number:boolean-style>

The <number:boolean-style> element defines a style for Boolean values.

The <number:boolean-style> element is usable within the following elements: <office:automatic-styles> 3.15.3 and <office:styles> 3.15.2.

The <number:boolean-style> element has the following attributes: number:country 19.342, number:language 19.351, number:rfc-language-tag 19.360, number:script 19.361, number:title 19.364, number:transliteration-country 19.365, number:transliteration-format 19.366, number:transliteration-language 19.367, number:transliteration-style 19.368, style:display-name 19.476, style:name 19.502 and style:volatile 19.521.

The <number:boolean-style> element has the following child elements: <number:boolean> 16.29.25, <number:text> 16.29.27, <style:map> 16.3 and <style:text-properties> 16.29.29.

16.29.25 <number:boolean>

The <number:boolean> element marks the position of the Boolean value of a Boolean style.

The <number:boolean> element is usable within the following element: <number:boolean-style> 16.29.24.

The <number:boolean> element has no attributes.

The <number:boolean> element has no child elements.

16.29.26 <number:text-style>

The <number:text-style> element defines a style for displaying text.

It can also contain <number:text> elements, which display additional text.

The <number:text-style> element is usable within the following elements: <office:automatic-styles> 3.15.3 and <office:styles> 3.15.2.

The <number:text-style> element has the following attributes: number:country 19.342, number:language 19.351, number:rfc-language-tag 19.360, number:script 19.361, number:title 19.364, number:transliteration-country 19.365, number:transliteration-format 19.366, number:transliteration-language 19.367, number:transliteration-style 19.368, style:display-name 19.476, style:name 19.502 and style:volatile 19.521.

The <number:text-style> element has the following child elements: <number:fill-character> 16.29.5, <number:text> 16.29.27, <number:text-content> 16.29.28, <style:map> 16.3 and <style:text-properties> 16.29.29.

16.29.27 <number:text>

The <number:text> element contains any fixed text for a data style.

The <number:text> element is usable within the following elements: <number:boolean-style> 16.29.24, <number:currency-style> 16.29.8, <number:date-style> 16.29.11, <number:number-style> 16.29.2, <number:percentage-style> 16.29.10, <number:text-style> 16.29.26 and <number:time-style> 16.29.19.

The <number:text> element has no attributes.

The <number:text> element has no child elements.

The <number:text> element has character data content.

16.29.28 <number:text-content>

The <number:text-content> element marks the position of variable text content of a text style.

The <number:text-content> element is usable within the following element: <number:text-style> 16.29.26.

The <number:text-content> element has no attributes.

The <number:text-content> element has no child elements.

16.29.29 <style:text-properties>

The <style:text-properties> element specifies formatting properties for text.

 

The <style:text-properties> element is usable within the following elements: <number:boolean-style> 16.29.24, <number:currency-style> 16.29.8, <number:date-style> 16.29.11, <number:number-style> 16.29.2, <number:percentage-style> 16.29.10, <number:text-style> 16.29.26, <number:time-style> 16.29.19, <style:default-style> 16.4, <style:style> 16.2, <text:list-level-style-bullet> 16.33, <text:list-level-style-number> 16.34 and <text:outline-level-style> 16.37.

The <style:text-properties> element has the following attributes: fo:background-color 20.182, fo:color 20.187, fo:country 20.188, fo:font-family 20.189, fo:font-size 20.190, fo:font-style 20.191, fo:font-variant 20.192, fo:font-weight 20.193, fo:hyphenate 20.195, fo:hyphenation-push-char-count 20.198, fo:hyphenation-remain-char-count 20.199, fo:language 20.202, fo:letter-spacing 20.203, fo:script 20.222, fo:text-shadow 20.226, fo:text-transform 20.227, style:country-asian 20.256, style:country-complex 20.257, style:font-charset 20.268, style:font-charset-asian 20.269, style:font-charset-complex 20.270, style:font-family-asian 20.271, style:font-family-complex 20.272, style:font-family-generic 20.273, style:font-family-generic-asian 20.274, style:font-family-generic-complex 20.275, style:font-name 20.277, style:font-name-asian 20.278, style:font-name-complex 20.279, style:font-pitch 20.280, style:font-pitch-asian 20.281, style:font-pitch-complex 20.282, style:font-relief 20.283, style:font-size-asian 20.284, style:font-size-complex 20.285, style:font-size-rel 20.286, style:font-size-rel-asian 20.287, style:font-size-rel-complex 20.288, style:font-style-asian 20.289, style:font-style-complex 20.290, style:font-style-name 20.291, style:font-style-name-asian 20.292, style:font-style-name-complex 20.293, style:font-weight-asian 20.294, style:font-weight-complex 20.295, style:language-asian 20.302, style:language-complex 20.303, style:letter-kerning 20.316, style:rfc-language-tag 20.343, style:rfc-language-tag-asian 20.344, style:rfc-language-tag-complex 20.345, style:script-asian 20.356, style:script-complex 20.357, style:script-type 20.358, style:text-blinking 20.366, style:text-combine 20.367, style:text-combine-end-char 20.369, style:text-combine-start-char 20.368, style:text-emphasize 20.370, style:text-line-through-color 20.371, style:text-line-through-mode 20.372, style:text-line-through-style 20.373, style:text-line-through-text 20.374, style:text-line-through-text-style 20.375, style:text-line-through-type 20.376, style:text-line-through-width 20.377, style:text-outline 20.378, style:text-overline-color 20.379, style:text-overline-mode 20.380, style:text-overline-style 20.381, style:text-overline-type 20.382, style:text-overline-width 20.383, style:text-position 20.384, style:text-rotation-angle 20.385, style:text-rotation-scale 20.386, style:text-scale 20.387, style:text-underline-color 20.388, style:text-underline-mode 20.389, style:text-underline-style 20.390, style:text-underline-type 20.391, style:text-underline-width 20.392, style:use-window-font-color 20.395, text:condition 20.426, text:display 20.427.

The <style:text-properties> element has no child elements.

16.30 Text Content Style Families

16.30.1 Text Styles

Text styles are represented by <style:style> elements whose style:family attribute has the value text.

16.30.2 Paragraph Styles

Paragraph styles are represented by <style:style> elements whose style:family attribute has the value paragraph.

In addition to paragraph properties, paragraph styles may define text properties. These are applied to the character content of the paragraph unless they are overwritten by a text style that is specified by any of the descendant elements of the paragraph element.

16.30.3 Section Styles

Section styles are represented by <style:style> elements whose style:family attribute has the value section.

16.30.4 Ruby Styles

Ruby styles are represented by <style:style> elements whose style:family attribute has the value ruby.

16.31 Enhanced Text Styles

16.31.1 <text:linenumbering-configuration>

The <text:linenumbering-configuration> element specifies line numbering within the <office:styles> element.

The <text:linenumbering-configuration> element is usable within the following element: <office:styles> 3.15.2.

The <text:linenumbering-configuration> element has the following attributes: style:num-format 19.504, style:num-letter-sync 19.505, text:count-empty-lines 19.788, text:count-in-text-boxes 19.789, text:increment 19.814, text:number-lines 19.845, text:number-position 19.846, text:offset 19.848, text:restart-on-page 19.864 and text:style-name 19.880.

The <text:linenumbering-configuration> element has the following child element: <text:linenumbering-separator> 16.31.2.

16.31.2 <text:linenumbering-separator>

The <text:linenumbering-separator> element contains the text that is displayed as a separator. A separator is text that is displayed instead of a line number for lines where no number is displayed.

The <text:linenumbering-separator> element is usable within the following element: <text:linenumbering-configuration> 16.31.1.

The <text:linenumbering-separator> element has the following attribute: text:increment 19.814.

The <text:linenumbering-separator> element has no child elements.

The <text:linenumbering-separator> element has character data content.

16.31.3 <text:notes-configuration>

A <text:notes-configuration> element specifies values for each note class used in a document. If there is no note configuration element, an implementation-defined default note configuration is used.

The <text:notes-configuration> element is usable within the following elements: <office:styles> 3.15.2 and <style:section-properties> 17.11.

The <text:notes-configuration> element has the following attributes: style:num-format 19.504, style:num-letter-sync 19.505, style:num-prefix 19.506, style:num-suffix 19.507, text:citation-body-style-name 19.773, text:citation-style-name 19.774, text:default-style-name 19.800, text:footnotes-position 19.810, text:master-page-name 19.839, text:note-class 19.843, text:start-numbering-at 19.875 and text:start-value 19.874.

The <text:notes-configuration> element has the following child elements: <text:note-continuation-notice-backward> 16.31.5 and <text:note-continuation-notice-forward> 16.31.4.

16.31.4 <text:note-continuation-notice-forward>

The <text:note-continuation-notice-forward> elements specifies the text that is displayed at the end of a footnote that is continued on the next page

The <text:note-continuation-notice-forward> element is usable within the following element: <text:notes-configuration> 16.31.3.

The <text:note-continuation-notice-forward> element has no attributes.

The <text:note-continuation-notice-forward> element has no child elements.

The <text:note-continuation-notice-forward> element has character data content.

16.31.5 <text:note-continuation-notice-backward>

The <text:note-continuation-notice-backward> elements specifies the text that is displayed before continued text.

The <text:note-continuation-notice-backward> element is usable within the following element: <text:notes-configuration> 16.31.3.

The <text:note-continuation-notice-backward> element has no attributes.

The <text:note-continuation-notice-backward> element has no child elements.

The <text:note-continuation-notice-backward> element has character data content.

16.31.6 <text:bibliography-configuration>

The <text:bibliography-configuration> element specifies how bibliography entries are displayed in-line, and how they are displayed in a bibliography index.

The <text:bibliography-configuration> element is usable within the following element: <office:styles> 3.15.2.

The <text:bibliography-configuration> element has the following attributes: fo:country 19.234, fo:language 19.236, fo:script 19.242, style:rfc-language-tag 19.516, text:numbered-entries 19.847, text:prefix 19.854, text:sort-algorithm 19.871, text:sort-by-position 19.873 and text:suffix 19.882.

The <text:bibliography-configuration> element has the following child element: <text:sort-key> 16.31.7.

16.31.7 <text:sort-key>

The <text:sort-key> element specifies a single sort key if bibliography entries are not displayed in document order.

The <text:sort-key> element is usable within the following element: <text:bibliography-configuration> 16.31.6.

The <text:sort-key> element has the following attributes: text:key 19.826 and text:sort-ascending 19.872.

The <text:sort-key> element has no child elements.

16.32 <text:list-style>

The <text:list-style> element contains a set of style elements for each list level, which are called list level styles. There are three different list level style elements, depending on whether a list level is to have a list label containing the list numbering, a bullet, or an image.

If a list style is applied to a list but does not contain a list level specification for a specific level, the list level style of the next lower level is used. If no specific list level style has been defined, an implementation-dependent default style is used.

 

Including a list style element in a graphic style has the same semantics as adding a style:list-style-name attribute ( 19.500) to the style that references a list style that is declared outside a graphic style.

Note: The inclusion of a list style element is needed in cases where a common graphic style should be associated with an automatic list style.

List styles contained in graphic styles can be referenced by other graphic styles using the style:list-style-name attribute. Their names are not displayed in the user interface, even if the graphic style that contains it is a common style.

The <text:list-style> element is usable within the following elements: <office:automatic-styles> 3.15.3, <office:styles> 3.15.2 and <style:graphic-properties> 17.21.

The <text:list-style> element has the following attributes: style:display-name 19.476, style:name 19.502 and text:consecutive-numbering 19.784.

The <text:list-style> element has the following child elements: <text:list-level-style-bullet> 16.33, <text:list-level-style-image> 16.35 and <text:list-level-style-number> 16.34.

16.33 <text:list-level-style-bullet>

A <text:list-level-style-bullet> element specifies a list style where list items are preceded by bullets.

The <text:list-level-style-bullet> element is usable within the following element: <text:list-style> 16.32.

The <text:list-level-style-bullet> element has the following attributes: style:num-prefix 19.506, style:num-suffix 19.507, text:bullet-char 19.765, text:bullet-relative-size 19.766, text:level 19.834 and text:style-name 19.880.

The <text:list-level-style-bullet> element has the following child elements: <style:list-level-properties> 17.19 and <style:text-properties> 16.29.29.

16.34 <text:list-level-style-number>

A <text:list-level-style-number> specifies a list style where list items are preceded by numbers.

The <text:list-level-style-number> element is usable within the following element: <text:list-style> 16.32.

The <text:list-level-style-number> element has the following attributes: style:num-format 19.504, style:num-letter-sync 19.505, style:num-prefix 19.506, style:num-suffix 19.507, text:display-levels 19.803, text:level 19.834, text:start-value 19.874 and text:style-name 19.880.

The <text:list-level-style-number> element has the following child elements: <style:list-level-properties> 17.19 and <style:text-properties> 16.29.29.

16.35 <text:list-level-style-image>

A <text:list-level-style-image> specifies a list style where list items are preceded by images. This element can be the target of a link [XLink] and can only be contained in list style elements.

The <text:list-level-style-image> element is usable within the following element: <text:list-style> 16.32.

The <text:list-level-style-image> element has the following attributes: text:level 19.834, xlink:actuate 19.915, xlink:href 19.916, xlink:show 19.917 and xlink:type 19.919.

The <text:list-level-style-image> element has the following child elements: <office:binary-data> 10.4.5 and <style:list-level-properties> 17.19.

16.36 <text:outline-style>

The <text:outline-style> element contains the elements that specify a style for each outline level.

An outline style is a list style that is applied to all headings within a text document where the heading's paragraph style does not define a list style to use itself.

The <text:outline-style> element is usable within the following element: <office:styles> 3.15.2.

The <text:outline-style> element has the following attribute: style:name 19.502.

The <text:outline-style> element has the following child element: <text:outline-level-style> 16.37.

16.37 <text:outline-level-style>

The <text:outline-level-style> element specifies a style for the specified level.

The <text:outline-level-style> element is usable within the following element: <text:outline-style> 16.36.

The <text:outline-level-style> element has the following attributes: style:num-format 19.504, style:num-letter-sync 19.505, style:num-prefix 19.506, style:num-suffix 19.507, text:display-levels 19.803, text:level 19.834, text:start-value 19.874 and text:style-name 19.880.

The <text:outline-level-style> element has the following child elements: <style:list-level-properties> 17.19 and <style:text-properties> 16.29.29.

16.38 Table Styles

16.38.1 Table Styles

Table styles are <style:style> elements that have the family table.

16.38.2 Table Column Styles

Table column styles are <style:style> elements that have the family table-column.

16.38.3 Table Row Styles

Table row styles are <style:style> elements that have the family table-row.

16.38.4 Table Cell Styles

Table cell styles are <style:style> elements that have the family table-cell.

In addition to table cell properties, table cell styles may define paragraph and text properties. These are applied to paragraphs contained in a table cell unless they are overwritten by paragraph styles that are specified by the paragraph elements themselves.

16.39 Graphic Styles

Graphic styles are <style:style> elements that have the family graphic.

In addition to graphic properties, graphic styles may define paragraph and text properties. These are applied to paragraphs contained in drawing objects unless they are overwritten by paragraph styles that are specified by the paragraph elements themselves.

16.40 Presentation Styles

Presentation styles are <style:style> elements that have the family presentation.

In addition to graphic properties, presentation styles may define paragraph and text properties. These are applied to paragraphs contained in drawing objects unless they are overwritten by paragraph styles that are specified by the paragraph elements themselves.

16.41 Drawing Page Style

A drawing page style is a <style:style> element with family drawing-page.

Drawing page styles can be used to change the background of a page. If a background is set with the help of a drawing page style, it overrides the background of the master page that is assigned to the page, but not the shapes that are on the master page.

Within presentation documents, the drawing page style may contain presentation formatting properties.

16.42 Enhanced Graphic Style Elements

16.42.1 <draw:gradient>

The <draw:gradient> element defines a gradient for filling a drawing object.

The <draw:gradient> element is usable within the following element: <office:styles> 3.15.2.

The <draw:gradient> element has the following attributes: draw:angle 19.112, draw:border 19.114, draw:cx 19.129, draw:cy 19.130, draw:display-name 19.133, draw:end-color 19.141, draw:end-intensity 19.143, draw:name 19.197, draw:start-color 19.214, draw:start-intensity 19.216 and draw:style 19.218.

The <draw:gradient> element has no child elements.

16.42.2 <svg:linearGradient>

The <svg:linearGradient> element as specified in §13.2 of [SVG] can be used in documents in OpenDocument format subject to the following rules:

  • The gradient shall have a name. It is specified by the draw:name attribute. 

  • Only the svg:gradientTransform, svg:x1, svg:y1, svg:x2, svg:y2 and svg:spreadMethod attributes are evaluated. 

  • The gradient shall be calculated as having a svg:gradientUnits attribute value of objectBoundingBox.  

  • The only child element that is evaluated is <svg:stop>. 

  • For <svg:stop>, only the svg:offset, svg:stop-color and svg:stop-opacity attributes are evaluated. 

The <svg:linearGradient> element is usable within the following element: <office:styles> 3.15.2.

The <svg:linearGradient> element has the following attributes: draw:display-name 19.133, draw:name 19.197, svg:gradientTransform 19.540, svg:gradientUnits 19.541, svg:spreadMethod 19.557, svg:x1 19.578, svg:x2 19.579, svg:y1 19.582 and svg:y2 19.583.

The <svg:linearGradient> element has the following child element: <svg:stop> 16.42.4.

16.42.3 <svg:radialGradient>

The <svg:radialGradient> element as specified in §13.2 of [SVG] can be used in documents in OpenDocument format subject to the following rules:

  • The gradient shall have a name. It is specified by the draw:name attribute. 

  • For <svg:radialGradient>, only the svg:gradientTransform, svg:cx, svg:cy, svg:r, svg:fx, svg:fy and svg:spreadMethod attributes are evaluated. 

  • The gradient shall be calculated as having a svg:gradientUnits attribute value of objectBoundingBox.  

  • The only child element that is evaluated is <svg:stop>. 

  • For <svg:stop>, only the svg:offset, svg:stop-color and svg:stop-opacity attributes are evaluated. 

The <svg:radialGradient> element is usable within the following element: <office:styles> 3.15.2.

The <svg:radialGradient> element has the following attributes: draw:display-name 19.133, draw:name 19.197, svg:cx 19.528, svg:cy 19.529, svg:fx 19.538, svg:fy 19.539, svg:gradientTransform 19.540, svg:gradientUnits 19.541, svg:r 19.553 and svg:spreadMethod 19.557.

The <svg:radialGradient> element has the following child element: <svg:stop> 16.42.4.

16.42.4 <svg:stop>

See §13.2.4 of [SVG].

The <svg:stop> element is usable within the following elements: <svg:linearGradient> 16.42.2 and <svg:radialGradient> 16.42.3.

The <svg:stop> element has the following attributes: svg:offset 19.547, svg:stop-color 19.560 and svg:stop-opacity 19.561.

The <svg:stop> element has no child elements.

16.42.5 <draw:hatch>

The <draw:hatch> element defines a hatch for filling graphic objects. A hatch is a simple pattern of straight lines that is repeated in the fill area.

The <draw:hatch> element is usable within the following element: <office:styles> 3.15.2.

The <draw:hatch> element has the following attributes: draw:color 19.122, draw:display-name 19.133, draw:distance 19.134, draw:name 19.197, draw:rotation 19.209 and draw:style 19.218.

The <draw:hatch> element has no child elements.

16.42.6 <draw:fill-image>

The <draw:fill-image> element either specifies a link to a bitmap resource or contains an image in the <office:binary-data> child element. Producers shall not write the <office:binary-data> child element if the document is represented as a package.

Fill images are not available as automatic styles.

The <draw:fill-image> element is usable within the following element: <office:styles> 3.15.2.

The <draw:fill-image> element has the following attributes: draw:display-name 19.133, draw:name 19.197, svg:height 19.543, svg:width 19.575, xlink:actuate 19.915, xlink:href 19.916, xlink:show 19.917 and xlink:type 19.919.

The <draw:fill-image> element has the following child element: <office:binary-data> 10.4.5.

16.42.7 <draw:opacity>

The <draw:opacity> element specifies an opacity gradient for a graphic object. An opacity gradient interpolates opacity. Opacity gradients are not available as automatic styles.

The <draw:opacity> element is usable within the following element: <office:styles> 3.15.2.

The <draw:opacity> element has the following attributes: draw:angle 19.112, draw:border 19.114, draw:cx 19.129, draw:cy 19.130, draw:display-name 19.133, draw:end 19.139, draw:name 19.197, draw:start 19.212 and draw:style 19.218.

The <draw:opacity> element has no child elements.

16.42.8 <draw:marker>

The <draw:marker> element represents a marker, which is used to draw polygons at the start or end point of a stroke depending on whether it is referenced by a draw:marker-start 20.146 or draw:marker-end 20.143 attribute.

Marker geometry is defined by a svg:d attribute.

Note: The marker geometry can be imagined as an arrow whose vertex points upwards.

When the marker is painted, its geometry is first mapped to the stroke start or end point as follows:

If a marker is referenced by a draw:marker-start attribute, the marker geometry is scaled so that its width equals the width specified by draw:marker-start-width 20.148 attribute. If the marker is referenced by a draw:marker-end attribute, the marker geometry is scaled so that its width equals the width specified by draw:marker-end-width 20.145 attribute. The aspect ratio of the geometry is in both cases kept unchanged.

The geometry is horizontally centered. It is vertically positioned relative to an offset value which is specified by a draw:marker-start-center 20.147 attribute for markers referenced by a draw:marker-start attribute, and by the draw:marker-end-center 20.144 attribute for markers referenced by a draw:marker-end attribute. The attribute value true defines an offset of 0.5 and the attribute value false defines an offset of 0.3, which is also the default value. The offset specifies the marker's vertical position in a range from 0.0 to 1.0, where the value 0.0 means the geometry's bottom bound is aligned to the x=axis of the local coordinate system of the marker geometry, and where the value 1.0 means the top bound to be aligned to the X axis of the local coordinate system of the marker geometry.

If a marker is referenced by a draw:marker-start attribute, the marker geometry is then rotated so that the y-axis is aligned with the direction of the stroke in the start/end point direction. It is painted to the stroke so that the origin of the coordinate system of the mapped marker geometry is positioned at the start point's position.

If the marker is referenced by a draw:marker-end attribute, the marker geometry is then rotated so that the x-axis is aligned with the direction of the stroke in the end/start point direction. It is painted to the stroke so that the origin of the coordinate system of the mapped marker geometry is positioned at the end point's position.

Markers are not available as automatic styles.

The <draw:marker> element is usable within the following element: <office:styles> 3.15.2.

The <draw:marker> element has the following attributes: draw:display-name 19.133, draw:name 19.197, svg:d 19.530 and svg:viewBox 19.574.

The <draw:marker> element has no child elements.

16.42.9 <draw:stroke-dash>

The <draw:stroke-dash> element represents a dash style that can be used to render strokes of shapes. Dash styles are not available as automatic styles.

The <draw:stroke-dash> element is usable within the following element: <office:styles> 3.15.2.

The <draw:stroke-dash> element has the following attributes: draw:display-name 19.133, draw:distance 19.134, draw:dots1 19.135, draw:dots1-length 19.136, draw:dots2 19.137, draw:dots2-length 19.138, draw:name 19.197 and draw:style 19.218.

The <draw:stroke-dash> element has no child elements.

16.43 <style:presentation-page-layout>

The <style:presentation-page-layout> element is a container for <presentation:placeholder> elements. These placeholders are used as templates for creating new presentation objects and to mark the size and position of an object if the presentation page layout of a drawing page is changed.

The <style:presentation-page-layout> element is usable within the following element: <office:styles> 3.15.2.

The <style:presentation-page-layout> element has the following attributes: style:display-name 19.476 and style:name 19.502.

The <style:presentation-page-layout> element has the following child element: <presentation:placeholder> 16.44.

16.44 <presentation:placeholder>

The <presentation:placeholder> element specifies a placeholder for presentation objects.

The <presentation:placeholder> element is usable within the following element: <style:presentation-page-layout> 16.43.

The <presentation:placeholder> element has the following attributes: presentation:object 19.407, svg:height 19.543, svg:width 19.575, svg:x 19.577 and svg:y 19.581.

The <presentation:placeholder> element has no child elements.

16.45 Chart Styles

Chart styles are <style:style> elements that have the family chart.

There are two style inheritance models at work with chart styles. The first model, is standard style inheritance as described in <style:style>. 16.2 The second model is inheritance between elements representing parts of a chart.

If an attribute is not specified with a chart style on a <chart:data-point> element, the specification of that attribute on its parent <chart:series> element is used. If the attribute is not specified on the parent <chart:series> element, then the specification of that attribute on its ancestor <chart:plot-area> element is used.

Chart styles may define paragraph and text properties. These are applied to paragraphs contained in chart elements unless they are over-ridden by paragraph styles that are specified by the paragraph elements themselves.

17 Formatting Properties Elements

17.1 General

The elements described in this chapter, which are child elements of style elements defined in chapter 16, together with their attributes, define formatting properties.

17.2 <style:page-layout-properties>

The <style:page-layout-properties> element acts as a container for attributes and elements that define a page layout.

The <style:page-layout-properties> element is usable within the following elements: <style:default-page-layout> 16.8 and <style:page-layout> 16.5.

The <style:page-layout-properties> element has the following attributes: fo:background-color 20.182, fo:border 20.183.2, fo:border-bottom 20.183.3, fo:border-left 20.183.4, fo:border-right 20.183.5, fo:border-top 20.183.6, fo:margin 20.205, fo:margin-bottom 20.206, fo:margin-left 20.207, fo:margin-right 20.208, fo:margin-top 20.209, fo:padding 20.217, fo:padding-bottom 20.218, fo:padding-left 20.219, fo:padding-right 20.220, fo:padding-top 20.221, fo:page-height 20.215, fo:page-width 20.216, style:border-line-width 20.248, style:border-line-width-bottom 20.249, style:border-line-width-left 20.250, style:border-line-width-right 20.251, style:border-line-width-top 20.252, style:first-page-number 20.266, style:footnote-max-height 20.296, style:layout-grid-base-height 20.304, style:layout-grid-base-width 20.305, style:layout-grid-color 20.306, style:layout-grid-display 20.307, style:layout-grid-lines 20.308, style:layout-grid-mode 20.309, style:layout-grid-print 20.310, style:layout-grid-ruby-below 20.311, style:layout-grid-ruby-height 20.312, style:layout-grid-snap-to 20.313, style:layout-grid-standard-mode 20.314, style:num-format 20.322, style:num-letter-sync 20.323, style:num-prefix 20.324, style:num-suffix 20.325, style:paper-tray-name 20.329, style:print 20.330, style:print-orientation 20.333, style:print-page-order 20.332, style:register-truth-ref-style-name 20.337, style:scale-to 20.352, style:scale-to-X 20.354, style:scale-to-Y 20.355, style:scale-to-pages 20.353, style:shadow 20.359, style:table-centering 20.363 and style:writing-mode 20.404.

The <style:page-layout-properties> element has the following child elements: <style:background-image> 17.3, <style:columns> 17.12 and <style:footnote-sep> 17.4.

17.3 <style:background-image>

The <style:background-image> element specifies an image as a background.

If the <style:background-image> element is empty and if there is no color specified by an fo:background-color element in the same formatting properties element, the background color is set to transparent.

Note: The fo:background-color property also sets a background attribute.

The <style:background-image> element is usable within the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6, <style:section-properties> 17.11, <style:table-cell-properties> 17.18, <style:table-properties> 17.15 and <style:table-row-properties> 17.17.

The <style:background-image> element has the following attributes: draw:opacity 19.202, style:filter-name 19.481, style:position 19.512, style:repeat 19.515, xlink:actuate 19.915, xlink:href 19.916, xlink:show 19.917 and xlink:type 19.919.

The <style:background-image> element has the following child element: <office:binary-data> 10.4.5.

17.4 <style:footnote-sep>

The <style:footnote-sep> element specifies the line that separates a footnote area from a body-text area on a page.

The <style:footnote-sep> element is usable within the following element: <style:page-layout-properties> 17.2.

The <style:footnote-sep> element has the following attributes: style:adjustment 19.465, style:color 19.471, style:distance-after-sep 19.479, style:distance-before-sep 19.478, style:line-style 19.497, style:rel-width 19.514 and style:width 19.522.

The <style:footnote-sep> element has no child elements.

17.5 <style:header-footer-properties>

The <style:header-footer-properties> element specifies formatting properties for both headers and footers.

The <style:header-footer-properties> element is usable within the following elements: <style:footer-style> 16.7 and <style:header-style> 16.6.

The <style:header-footer-properties> element has the following attributes: fo:background-color 20.182, fo:border 20.183.2, fo:border-bottom 20.183.3, fo:border-left 20.183.4, fo:border-right 20.183.5, fo:border-top 20.183.6, fo:margin 20.205, fo:margin-bottom 20.206, fo:margin-left 20.207, fo:margin-right 20.208, fo:margin-top 20.209, fo:min-height 20.212, fo:padding 20.217, fo:padding-bottom 20.218, fo:padding-left 20.219, fo:padding-right 20.220, fo:padding-top 20.221, style:border-line-width 20.248, style:border-line-width-bottom 20.249, style:border-line-width-left 20.250, style:border-line-width-right 20.251, style:border-line-width-top 20.252, style:dynamic-spacing 20.264, style:shadow 20.359 and svg:height 20.407.

The <style:header-footer-properties> element has the following child element: <style:background-image> 17.3.

17.6 <style:paragraph-properties>

The <style:paragraph-properties> element specifies formatting properties for paragraphs.

The <style:paragraph-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:paragraph-properties> element has the following attributes: fo:background-color 20.182, fo:border 20.183.2, fo:border-bottom 20.183.3, fo:border-left 20.183.4, fo:border-right 20.183.5, fo:border-top 20.183.6, fo:break-after 20.184, fo:break-before 20.185, fo:hyphenation-keep 20.196, fo:hyphenation-ladder-count 20.197, fo:keep-together 20.200, fo:keep-with-next 20.201, fo:line-height 20.204, fo:margin 20.205, fo:margin-bottom 20.206, fo:margin-left 20.207, fo:margin-right 20.208, fo:margin-top 20.209, fo:orphans 20.214, fo:padding 20.217, fo:padding-bottom 20.218, fo:padding-left 20.219, fo:padding-right 20.220, fo:padding-top 20.221, fo:text-align 20.223, fo:text-align-last 20.224, fo:text-indent 20.225, fo:widows 20.228, style:auto-text-indent 20.246, style:background-transparency 20.247, style:border-line-width 20.248, style:border-line-width-bottom 20.249, style:border-line-width-left 20.250, style:border-line-width-right 20.251, style:border-line-width-top 20.252, style:contextual-spacing 20.255, style:font-independent-line-spacing 20.276, style:join-border 20.300, style:justify-single-word 20.301, style:line-break 20.315, style:line-height-at-least 20.317, style:line-spacing 20.318, style:page-number 20.328, style:punctuation-wrap 20.335, style:register-true 20.336, style:shadow 20.359, style:snap-to-layout-grid 20.361, style:tab-stop-distance 20.362, style:text-autospace 20.365, style:vertical-align 20.396, style:writing-mode 20.404, style:writing-mode-automatic 20.405, text:line-number 20.430 and text:number-lines 20.434.

The <style:paragraph-properties> element has the following child elements: <style:background-image> 17.3, <style:drop-cap> 17.9 and <style:tab-stops> 17.7.

17.7 <style:tab-stops>

The <style:tab-stops> element is a container for <style:tab-stop> elements.

If a style contains a <style:tab-stops> element, it overrides the entire <style:tab-stops> element of the parent style such that no <style:tab-stop> children are inherited; otherwise, the style inherits the entire <style:tab-stops> element as specified in section 16.2 <style:style>.

The <style:tab-stops> element is usable within the following element: <style:paragraph-properties> 17.6.

The <style:tab-stops> element has no attributes.

The <style:tab-stops> element has the following child element: <style:tab-stop> 17.8.

17.8 <style:tab-stop>

The <style:tab-stop> element defines a tab stop.

The <style:tab-stop> element is usable within the following element: <style:tab-stops> 17.7.

The <style:tab-stop> element has the following attributes: style:char 19.469, style:leader-color 19.488, style:leader-style 19.489, style:leader-text 19.490, style:leader-text-style 19.491, style:leader-type 19.492, style:leader-width 19.493, style:position 19.512, style:type 19.519.

The <style:tab-stop> element has no child elements.

17.9 <style:drop-cap>

The <style:drop-cap> element specifies if the one or more characters at the start of a paragraph are to be displayed in a larger font and span multiple lines of text.

The <style:drop-cap> element is usable within the following element: <style:paragraph-properties> 17.6.

The <style:drop-cap> element has the following attributes: style:distance 19.477, style:length 19.496, style:lines 19.498 and style:style-name 19.518.

The <style:drop-cap> element has no child elements.

17.10 <style:ruby-properties>

The <style:ruby-properties> element specifies formatting properties for ruby elements.

The <style:ruby-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:ruby-properties> element has the following attributes: style:ruby-align 20.349 and style:ruby-position 20.350.

The <style:ruby-properties> element has no child elements.

17.11 <style:section-properties>

The <style:section-properties> element specifies the formatting properties used by section styles.

The <style:section-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:section-properties> element has the following attributes: fo:background-color 20.182, fo:margin-left 20.207, fo:margin-right 20.208, style:editable 20.265, style:protect 20.334, style:writing-mode 20.404 and text:dont-balance-text-columns 20.428.

The <style:section-properties> element has the following child elements: <style:background-image> 17.3, <style:columns> 17.12 and <text:notes-configuration> 16.31.3.

17.12 <style:columns>

The <style:columns> element specifies the number and formatting of columns on a page or in a section or graphic. If it does not contain any child formatting properties elements, all columns are assigned the same width.

The <style:columns> element is usable within the following elements: <style:graphic-properties> 17.21, <style:page-layout-properties> 17.2 and <style:section-properties> 17.11.

The <style:columns> element has the following attributes: fo:column-count 19.232 and fo:column-gap 19.233.

The <style:columns> element has the following child elements: <style:column> 17.13 and <style:column-sep> 17.14.

17.13 <style:column>

The <style:column> element specifies formatting properties for a column.

The <style:column> element is usable within the following element: <style:columns> 17.12.

The <style:column> element has the following attributes: fo:end-indent 19.235, fo:space-after 19.243, fo:space-before 19.244, fo:start-indent 19.245 and style:rel-width 19.514.

The <style:column> element has no child elements.

17.14 <style:column-sep>

The <style:column-sep> element specifies a separator line between columns.

The <style:column-sep> element is usable within the following element: <style:columns> 17.12.

The <style:column-sep> element has the following attributes: style:color 19.471, style:height 19.486, style:style 19.517, style:vertical-align 19.520 and style:width 19.522.

The <style:column-sep> element has no child elements.

17.15 <style:table-properties>

The <style:table-properties> element specifies formatting properties for tables.

The <style:table-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:table-properties> element has the following attributes: fo:background-color 20.182, fo:break-after 20.184, fo:break-before 20.185, fo:keep-with-next 20.201, fo:margin 20.205, fo:margin-bottom 20.206, fo:margin-left 20.207, fo:margin-right 20.208, fo:margin-top 20.209, style:may-break-between-rows 20.319, style:page-number 20.328, style:rel-width 20.340, style:shadow 20.359, style:width 20.399, style:writing-mode 20.404, table:align 20.414, table:border-model 20.415, table:display 20.416 and table:tab-color 19.731.

The <style:table-properties> element has the following child element: <style:background-image> 17.3.

17.16 <style:table-column-properties>

The <style:table-column-properties> element specifies formatting properties for table columns.

The <style:table-column-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:table-column-properties> element has the following attributes: fo:break-after 20.184, fo:break-before 20.185, style:column-width 20.254, style:rel-column-width 20.338 and style:use-optimal-column-width 20.393.

The <style:table-column-properties> element has no child elements.

17.17 <style:table-row-properties>

The <style:table-row-properties> element specifies formatting properties for table rows.

The <style:table-row-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:table-row-properties> element has the following attributes: fo:background-color 20.182, fo:break-after 20.184, fo:break-before 20.185, fo:keep-together 20.200, style:min-row-height 20.320, style:row-height 20.348 and style:use-optimal-row-height 20.394.

The <style:table-row-properties> element has the following child element: <style:background-image> 17.3.

17.18 <style:table-cell-properties>

The <style:table-cell-properties> element specifies formatting properties for cells.

The <style:table-cell-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:table-cell-properties> element has the following attributes: fo:background-color 20.182, fo:border 20.183.2, fo:border-bottom 20.183.3, fo:border-left 20.183.4, fo:border-right 20.183.5, fo:border-top 20.183.6, fo:padding 20.217, fo:padding-bottom 20.218, fo:padding-left 20.219, fo:padding-right 20.220, fo:padding-top 20.221, fo:wrap-option 20.230, style:border-line-width 20.248, style:border-line-width-bottom 20.249, style:border-line-width-left 20.250, style:border-line-width-right 20.251, style:border-line-width-top 20.252, style:cell-protect 20.253, style:decimal-places 20.258, style:diagonal-bl-tr 20.259, style:diagonal-bl-tr-widths 20.260, style:diagonal-tl-br 20.261, style:diagonal-tl-br-widths 20.262, style:direction 20.263, style:glyph-orientation-vertical 20.297, style:print-content 20.331, style:repeat-content 20.342, style:rotation-align 20.346, style:rotation-angle 20.347, style:shadow 20.359, style:shrink-to-fit 20.360, style:text-align-source 20.364, style:vertical-align 20.396 and style:writing-mode 20.404.

The <style:table-cell-properties> element has the following child element: <style:background-image> 17.3.

17.19 <style:list-level-properties>

The <style:list-level-properties> element specifies formatting properties for a list level.

The <style:list-level-properties> element is usable within the following elements: <text:list-level-style-bullet> 16.33, <text:list-level-style-image> 16.35, <text:list-level-style-number> 16.34 and <text:outline-level-style> 16.37.

The <style:list-level-properties> element has the following attributes: fo:height 20.194, fo:text-align 20.223, fo:width 20.229, style:font-name 20.277, style:vertical-pos 20.397, style:vertical-rel 20.398, svg:y 20.412, text:list-level-position-and-space-mode 20.431, text:min-label-distance 20.432, text:min-label-width 20.433 and text:space-before 20.435.

The <style:list-level-properties> element has the following child element: <style:list-level-label-alignment> 17.20.

17.20 <style:list-level-label-alignment>

The <style:list-level-label-alignment> element specifies the position and spacing of a list label and its list item.

The element will be evaluated only if the text:list-level-position-and-space-mode attribute has the value label-alignment.

The fo:text-indent and fo:margin-left attributes specify the indent and margin for the text lines of a list item. The text lines of a list item contain the list level properties specific content and the text of the paragraph inside the list item. The value fo:text-indent + fo:margin-left specifies the indent of the first text line of the list item. This position is also the alignment position for the list label, because the value of text:min-label-width is treated as 0. 19.246, 20.431

The fo:text-indent and fo:margin-left attributes are evaluated only for paragraphs inside list items whose paragraph styles do not specify them. If one of the two properties, or both, are specified by the paragraph style, the text indent and/or left margin are taken from the paragraph style. In this case the paragraph style's properties are used to determine the indent and margin for the text lines and thus also the alignment position.

The <style:list-level-label-alignment> element is usable within the following element: <style:list-level-properties> 17.19.

The <style:list-level-label-alignment> element has the following attributes: fo:margin-left 19.237, fo:text-indent 19.246, text:label-followed-by 19.833 and text:list-tab-stop-position 19.836.

The <style:list-level-label-alignment> element has no child elements.

17.21 <style:graphic-properties>

The <style:graphic-properties> element specifies formatting properties for chart, draw, graphic, and frame elements.

The <style:graphic-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:graphic-properties> element has the following attributes: dr3d:ambient-color 20.74, dr3d:back-scale 20.75, dr3d:backface-culling 20.76, dr3d:close-back 20.77, dr3d:close-front 20.78, dr3d:depth 20.79, dr3d:diffuse-color 20.80, dr3d:edge-rounding 20.81, dr3d:edge-rounding-mode 20.82, dr3d:emissive-color 20.83, dr3d:end-angle 20.84, dr3d:horizontal-segments 20.85, dr3d:lighting-mode 20.86, dr3d:normals-direction 20.87, dr3d:normals-kind 20.88, dr3d:shadow 20.89, dr3d:shininess 20.90, dr3d:specular-color 20.91, dr3d:texture-filter 20.92, dr3d:texture-generation-mode-x 20.95, dr3d:texture-generation-mode-y 20.96, dr3d:texture-kind 20.93, dr3d:texture-mode 20.94, dr3d:vertical-segments 20.97, draw:auto-grow-height 20.98, draw:auto-grow-width 20.99, draw:blue 20.101, draw:caption-angle 20.102, draw:caption-angle-type 20.103, draw:caption-escape 20.104, draw:caption-escape-direction 20.105, draw:caption-fit-line-length 20.106, draw:caption-gap 20.107, draw:caption-line-length 20.108, draw:caption-type 20.109, draw:color-inversion 20.110, draw:color-mode 20.111, draw:contrast 20.112, draw:decimal-places 20.113, draw:draw-aspect 20.114, draw:end-guide 20.115, draw:end-line-spacing-horizontal 20.116, draw:end-line-spacing-vertical 20.117, draw:fill 20.118, draw:fill-color 20.119, draw:fill-gradient-name 20.120, draw:fill-hatch-name 20.121, draw:fill-hatch-solid 20.122, draw:fill-image-height 20.123, draw:fill-image-name 20.124, draw:fill-image-ref-point 20.125, draw:fill-image-ref-point-x 20.126, draw:fill-image-ref-point-y 20.127, draw:fill-image-width 20.128, draw:fit-to-contour 20.129, draw:fit-to-size 20.130, draw:frame-display-border 20.131, draw:frame-display-scrollbar 20.133, draw:frame-margin-horizontal 20.132, draw:frame-margin-vertical 20.134, draw:gamma 20.135, draw:gradient-step-count 20.137, draw:green 20.136, draw:guide-distance 20.138, draw:guide-overhang 20.139, draw:image-opacity 20.140, draw:line-distance 20.141, draw:luminance 20.142, draw:marker-end 20.143, draw:marker-end-center 20.144, draw:marker-end-width 20.145, draw:marker-start 20.146, draw:marker-start-center 20.147, draw:marker-start-width 20.148, draw:measure-align 20.149, draw:measure-vertical-align 20.150, draw:ole-draw-aspect 20.151, draw:opacity 20.152, draw:opacity-name 20.153, draw:parallel 20.154, draw:placing 20.155, draw:red 20.156, draw:secondary-fill-color 20.157, draw:shadow 20.158, draw:shadow-color 20.159, draw:shadow-offset-x 20.160, draw:shadow-offset-y 20.161, draw:shadow-opacity 20.162, draw:show-unit 20.163, draw:start-guide 20.164, draw:start-line-spacing-horizontal 20.165, draw:start-line-spacing-vertical 20.166, draw:stroke 20.167, draw:stroke-dash 20.168, draw:stroke-dash-names 20.169, draw:stroke-linejoin 20.170, draw:symbol-color 20.172, draw:textarea-horizontal-align 20.173, draw:textarea-vertical-align 20.174, draw:tile-repeat-offset 20.175, draw:unit 20.180, draw:visible-area-height 20.176, draw:visible-area-left 20.177, draw:visible-area-top 20.178, draw:visible-area-width 20.179, draw:wrap-influence-on-position 20.181, fo:background-color 20.182, fo:border 20.183.2, fo:border-bottom 20.183.3, fo:border-left 20.183.4, fo:border-right 20.183.5, fo:border-top 20.183.6, fo:clip 20.186, fo:margin 20.205, fo:margin-bottom 20.206, fo:margin-left 20.207, fo:margin-right 20.208, fo:margin-top 20.209, fo:max-height 20.210, fo:max-width 20.211, fo:min-height 20.212, fo:min-width 20.213, fo:padding 20.217, fo:padding-bottom 20.218, fo:padding-left 20.219, fo:padding-right 20.220, fo:padding-top 20.221, fo:wrap-option 20.230, style:background-transparency 20.247, style:border-line-width 20.248, style:border-line-width-bottom 20.249, style:border-line-width-left 20.250, style:border-line-width-right 20.251, style:border-line-width-top 20.252, style:editable 20.265, style:flow-with-text 20.267, style:horizontal-pos 20.298, style:horizontal-rel 20.299, style:mirror 20.321, style:number-wrapped-paragraphs 20.326, style:overflow-behavior 20.327, style:print-content 20.331, style:protect 20.334, style:rel-height 20.339, style:rel-width 20.340, style:repeat 20.341, style:run-through 20.351, style:shadow 20.359, style:shrink-to-fit 20.360, style:vertical-pos 20.397, style:vertical-rel 20.398, style:wrap 20.400, style:wrap-contour 20.401, style:wrap-contour-mode 20.402, style:wrap-dynamic-threshold 20.403, style:writing-mode 20.404, svg:fill-rule 20.406, svg:height 20.407, svg:stroke-color 20.408, svg:stroke-linecap 20.171, svg:stroke-opacity 20.409, svg:stroke-width 20.410, svg:width 20.413, svg:x 20.411, svg:y 20.412, text:anchor-page-number 20.417, text:anchor-type 20.418, text:animation 20.419, text:animation-delay 20.420, text:animation-direction 20.421, text:animation-repeat 20.422, text:animation-start-inside 20.423, text:animation-steps 20.424 and text:animation-stop-inside 20.425.

The <style:graphic-properties> element has the following child elements: <style:background-image> 17.3, <style:columns> 17.12 and <text:list-style> 16.32.

17.22 <style:chart-properties>

The <style:chart-properties> element specifies formatting properties for charts.

The <style:chart-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:chart-properties> element has the following attributes: chart:angle-offset 20.2, chart:auto-position 20.3, chart:auto-size 20.4, chart:axis-label-position 20.5, chart:axis-position 20.6, chart:connect-bars 20.7, chart:data-label-number 20.8, chart:data-label-series 20.9, chart:data-label-symbol 20.10, chart:data-label-text 20.11, chart:deep 20.12, chart:display-label 20.13, chart:error-category 20.14, chart:error-lower-indicator 20.15, chart:error-lower-limit 20.16, chart:error-lower-range 20.17, chart:error-margin 20.18, chart:error-percentage 20.19, chart:error-upper-indicator 20.20, chart:error-upper-limit 20.21, chart:error-upper-range 20.22, chart:gap-width 20.23, chart:group-bars-per-axis 20.24, chart:hole-size 20.25, chart:include-hidden-cells 20.26, chart:interpolation 20.27, chart:interval-major 20.28, chart:interval-minor-divisor 20.29, chart:japanese-candle-stick 20.30, chart:label-arrangement 20.31, chart:label-position 20.32, chart:label-position-negative 20.33, chart:lines 20.34, chart:link-data-style-to-source 20.35, chart:logarithmic 20.36, chart:maximum 20.37, chart:mean-value 20.38, chart:minimum 20.39, chart:origin 20.40, chart:overlap 20.41, chart:percentage 20.43, chart:pie-offset 20.42, chart:regression-force-intercept 20.44, chart:regression-intercept-value 20.45, chart:regression-max-degree 20.46, chart:regression-moving-type 20.47, chart:regression-name 20.48, chart:regression-period 20.49, chart:regression-type 20.50, chart:reverse-direction 20.51, chart:right-angled-axes 20.52, chart:scale-text 20.53, chart:series-source 20.54, chart:solid-type 20.56, chart:sort-by-x-values 20.55, chart:spline-order 20.57, chart:spline-resolution 20.58, chart:stacked 20.59, chart:symbol-height 20.60, chart:symbol-name 20.61, chart:symbol-type 20.62, chart:symbol-width 20.63, chart:text-overlap 20.64, chart:three-dimensional 20.65, chart:tick-mark-position 20.70, chart:tick-marks-major-inner 20.66, chart:tick-marks-major-outer 20.67, chart:tick-marks-minor-inner 20.68, chart:tick-marks-minor-outer 20.69, chart:treat-empty-cells 20.71, chart:vertical 20.72, chart:visible 20.73, style:direction 20.263, style:rotation-angle 20.347 and text:line-break 20.429.

The <style:chart-properties> element has the following child elements: <chart:label-separator> 17.24 and <chart:symbol-image> 17.23.

17.23 <chart:symbol-image>

The <chart:symbol-image> element specifies an image to be used for a data point in a chart.

This element should be used only together with a chart:symbol-type attribute and only when that attribute has the value image.

The <chart:symbol-image> element is usable within the following element: <style:chart-properties> 17.22.

The <chart:symbol-image> element has the following attribute: xlink:href 19.916.

The <chart:symbol-image> element has no child elements.

17.24 <chart:label-separator>

The <chart:label-separator> element specifies text that is used for separating different parts of a textual data label. These parts can be the value as number, the value as a percentage (20.8), and the label text (20.11).

If the <chart:label-separator> element is omitted, the default value is a space character “ “ (U+0020, SPACE).

This element should be used within chart styles that are applied to <chart:data-label>, <chart:data-point>, <chart:series> or <chart:plot-area> elements.

If a separator is not specified by this element in a chart style applied to a <chart:data-label> element, the separator specified with a chart style applied to a parent element is used.

The <chart:label-separator> element is usable within the following element: <style:chart-properties> 17.22.

The <chart:label-separator> element has no attributes.

The <chart:label-separator> element has the following child element: <text:p> 5.1.3.

17.25 <style:drawing-page-properties>

The <style:drawing-page-properties> element specifies formatting that can be applied to a <draw:page> element, a <presentation:notes> element, a <style:handout-master> element, or a <style:master-page> element.

The <style:drawing-page-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:drawing-page-properties> element has the following attributes: draw:background-size 20.100, draw:fill 20.118, draw:fill-color 20.119, draw:fill-gradient-name 20.120, draw:fill-hatch-name 20.121, draw:fill-hatch-solid 20.122, draw:fill-image-height 20.123, draw:fill-image-name 20.124, draw:fill-image-ref-point 20.125, draw:fill-image-ref-point-x 20.126, draw:fill-image-ref-point-y 20.127, draw:fill-image-width 20.128, draw:gradient-step-count 20.137, draw:opacity 20.152, draw:opacity-name 20.153, draw:secondary-fill-color 20.157, draw:tile-repeat-offset 20.175, presentation:background-objects-visible 20.231, presentation:background-visible 20.232, presentation:display-date-time 20.233, presentation:display-footer 20.234, presentation:display-header 20.235, presentation:display-page-number 20.236, presentation:duration 20.237, presentation:transition-speed 20.238, presentation:transition-style 20.239, presentation:transition-type 20.240, presentation:visibility 20.241, smil:direction 20.242, smil:fadeColor 20.243, smil:subtype 20.244, smil:type 20.245, style:repeat 20.341 and svg:fill-rule 20.406.

The <style:drawing-page-properties> element has the following child element: <presentation:sound> 10.8.2.

18 Datatypes

18.1 Introduction

The values of attributes and elements have datatypes. This specification defines datatypes for values of elements and attributes of OpenDocument documents.

Note: This specification and the schema make reference to other specifications for some datatype definitions. Some datatypes introduced here may be specializations of other datatypes defined here or in other specifications.

18.2 W3C Schema Datatypes

The following [XMLSchema-2] datatypes are used in this specification:

18.3 Other Datatypes

18.3.1 angle

An angle, as defined in §4.1 of [SVG], is a double value that may be followed immediately by one of the following angle unit identifiers: deg (degrees), grad (gradiants) or rad (radians). If no unit identifier is specified, the value is assumed to be in degrees.

Note: OpenDocument v1.1 did not support angle specifications that contain an angle unit identifier.  Angle unit identifiers should be omitted for compatibility with OpenDocument v1.1.

18.3.2 anyIRI

An IRI-reference as defined in [RFC3987], expressed in an [XMLSchema-2] anyURI.

Note: The procedure for resolution of anyIRI values that are not IRI values is undefined.

18.3.3 boolean

A Boolean value may have either of the values true or false.

18.3.4 cellAddress

A cell address as specified in 9.2.1.

18.3.5 cellRangeAddress

A cell range address as specified in 9.2.3.

18.3.6 cellRangeAddressList

A cell range address list as specified in 9.2.5.

18.3.7 character

A character value is a string with only one character.

18.3.8 clipShape

A clip shape as defined in §7.20.1 of [XSL]. Offsets shall not be specified using the units em and px.

18.3.9 color

A RGB color in conformance with §5.9.11 of [XSL], that is a RGB color in notation “#rrggbb”, where rr, gg and bb are pairs of hexadecimal digits.

18.3.10 coordinate

A coordinate represents a length in a coordinate system. It specifies the distance from the origin of the coordinate system along the relevant axis.

18.3.11 countryCode

A country code is a value that conforms to ISO 3166 ([ISO3166-1], [ISO3166-2], [ISO3166-3], or their successors, and further parts).

See §2.2.4 Region Subtag of [RFC5646], or its successors.

18.3.12 CURIE

A CURIE, as described in §7 of [RDFa].

18.3.13 CURIEs

A list of CURIEs, as described in §7 of [RDFa], separated by white spaces.

18.3.14 dateOrDateTime

A dateOrDateTime value is either an [XMLSchema-2] date value or an [XMLSchema-2] dateTime value.

18.3.15 distance

The length between two points.

18.3.16 language

A language is a natural language identifier as defined by [RFC5646], or its successor. The lexical space is the same as the [XMLSchema-2] language data type.

Note 1: The language datatype is the same as the [XMLSchema-2] language datatype, except that its value range is not restricted to values of [RFC3066], but follows the syntax of the xml:lang attribute. See §2.12 of [XML1.0].

18.3.17 languageCode

A language code is a value that conforms to ISO 639 ([ISO639-1], [ISO639-2], [ISO639-3] or their successors, and further parts).

See §2.2.1 Primary Language Subtag of [RFC5646], or its successors.

18.3.18 length

A (positive or negative) length, consisting of magnitude and unit, in conformance with the Units of Measure defined in §5.9.13 of [XSL].

18.3.19 namespacedToken

A namespaced token is an [XMLSchema-2] QName that matches the definition of PrefixedName in §4 of [XML-Names].

18.3.20 nonNegativeLength

A measurement with a value that shall be zero or positive.

18.3.21 nonNegativePixelLength

A non-negative measurement that shall have the unit px (pixels).

18.3.22 pathData

Path data as described in §8.3 of [SVG]. Attribute values of this data type shall match the BNF grammar for SVG path data in §8.3.9 of [SVG].

18.3.23 percent

(Positive or negative) percentage values in conformance with §5.9.11 of [XSL].

18.3.24 point3D

A 3D point. The syntax of a 3D point is the same as that for vector3D (18.3.40), except that each coordinate is shall be followed by a unit.

18.3.25 points

A sequence of points. Each point consists of two integer coordinates separated by a comma “,” (U+002C, COMMA). The points are separated by white space.

18.3.26 positiveLength

A measurement with a value that shall be positive.

18.3.27 relativeLength

A relative length is a positive integer, followed by a ”*” (U+002A, ASTERISK) character.

18.3.28 safeCURIE

A safe CURIE, as described in §7 of [RDFa].

18.3.29 scriptCode

A script code conforming to [ISO15924], or its successors. See §2.2.3 Script Subtag of [RFC5646], or its successors.

18.3.30 signedZeroToHundredPercent

Percentage values in the range [-100%,100%] in conformance with §5.9.11 of [XSL].

18.3.31 styleName

A NCName as specified in [XMLSchema-2][XMLSchema-2] that is the name of a style.

18.3.32 styleNameRef

A NCName as specified in [XMLSchema-2] that is the name of a referenced style, or an empty value.

18.3.33 styleNameRefs

A white-space-separated list of NCNames as specified in [XMLSchema-2] that are the names of a style.

18.3.34 targetFrameName

The name of a target frame in conformance with §6.16 of [HTML4].

18.3.35 textEncoding

A character encoding in the notation described in the §4.3.3 of [XML1.0], or the value x-symbol. The value is x-symbol means that the character encoding is not enumerated by §4.3.3 of [XML1.0].

18.3.36 timeOrDateTime

A timeOrDateTime value is either an [XMLSchema-2] time or an [XMLSchema-2] dateTime value.

18.3.37 URIorSafeCURIE

An IRI or a safe CURIE, as described in §7 of [RDFa].

18.3.38 valueType

A list of value types.

18.3.39 variableName

A string specifying the name of a variable.

18.3.40 vector3D

A 3-element vector that is represented by floating-point x, y, z coordinates. The format of a vector3D value is white space separated tokens in the order x, y, and z, and that expression starts with "(" (LEFT PARENTHESIS U+0028) and ends with ")" (RIGHT PARENTHESIS U+0029). If this value represents a normal, then it should be normalized.

18.3.41 zeroToHundredPercent

Percentage values in the range [0%,100%] in conformance with §5.9.11 of [XSL].

19 General Attributes

19.1 General

Attributes for elements defined by OpenDocument are divided between those used by structural elements (19) versus those used by <style:*-properties> elements (20).

Attributes have default values defined by this standard. When any element appears in a document instance without such an attribute, consumers should behave as if the attribute is present with the defined default value.

19.2 anim:color-interpolation

The anim:color-interpolation attribute specifies the color space that is used for color interpolation.

The defined values for the anim:color-interpolation attribute are:

The default value for this attribute is rgb.

The anim:color-interpolation attribute is usable with the following element: <anim:animateColor> 15.2.6.

The values of the anim:color-interpolation attribute are rgb or hsl.

19.3 anim:color-interpolation-direction

The anim:color-interpolation-direction attribute specifies the direction that is used for color interpolation. This is only valid for the HSL color space.

The defined values for the anim:color-interpolation-direction attribute are:

The default value for this attribute is clockwise.

The anim:color-interpolation-direction attribute is usable with the following element: <anim:animateColor> 15.2.6.

The values of the anim:color-interpolation-direction attribute are clockwise or counter-clockwise.

19.4 anim:audio-level

The anim:audio-level attribute specifies the audio volume during a playback.

The defined value range for the anim:audio-level attribute is a rational number between 0 (inaudible) and 1 (system volume), inclusive.

The anim:audio-level attribute is usable with the following element: <anim:audio> 15.5.

The anim:audio-level attribute has the data type double 18.2.

19.5 anim:command

The anim:command attribute specifies an animation command.

The defined values for the anim:command attribute are:

  • custom: the command is user-defined. 

  • verb: the command targets an embedded [OLE] object. 10.4.6.3. The parameter verb is the verb number executed on the embedded object. 

  • play: the command targets a media shape and starts its playback. The parameter media-time defines the playback start time in seconds. If this parameter is not set, playback starts at the last position. 

  • toggle-pause: the command targets a media shape and toggles its playback state from play to paused or from paused to play. 

  • stop: the command targets a media shape and stops its playback. 

  • stop-audio: the command has no target and stops all running audio playback. 

If the value of the anim:command attribute is custom, then there shall be a <anim:param> 15.6.2 child element whose anim:name 19.10 attribute and anim:value 19.12 attribute values are user-defined.

If the value of the anim:command attribute is verb, there shall be a <anim:param> child element whose anim:name attribute value is verb and whose anim:value attribute value contains the verb number.

If the value of the anim:command attribute is play, then there shall be a <anim:param> child element whose anim:name attribute value is play and whose anim:value attribute value contains a value expressed in seconds.

The anim:command attribute is usable with the following element: <anim:command> 15.6.1.

The anim:command attribute has the data type string 18.2.

19.6 anim:formula

The anim:formula attribute specifies a formula used in an animation function.

The following is the minimum supported grammar:

formula::= additive_expression

identifier::= '$' | 'pi' | 'e' | 'x' | 'y' | 'width' | 'height'

function::= 'abs'|'sqrt'|'sin'|'cos'|'tan'|'atan'|'acos'|'asin'|'exp'|'log'

binary_function::= 'min'|'max'

basic_expression::= number

 | identifier

 | unary_function S* '(' S* additive_expression S* ')'

 | binary_function S* '(' S* additive_expression S* ','  S*additive_expression S* ')'

 | '(' S* additive_expression S* ')'

unary_expression::= '-' S* basic_expression | basic_expression

multiplicative_expression::= unary_expression ( ( S* '*' S* unary_expression )

 | ( S* '/' S* unary_expression ) )*

additive_expression::= multiplicative_expression ( ( S* '+' S* multiplicative_expression )

 | ( S* '-' S* multiplicative_expression ) )*

number::= sign? integer | sign? Floating-point-constant

floating-point-constant::= fractional-constant exponent? | integer exponent

fractional-constant::= integer? '.' integer | integer '.'

exponent::= ( 'e' | 'E' ) sign? Integer

sign::= '+' | '-'

integer::= [0-9]+

S::= (#x20 | #x9)

The defined identifiers for the anim:formula attribute are:

When the anim:formula attribute appears on a descendant element of <office:presentation>, it may use the following additional identifiers:

If an anim:formula attribute is given, it overrides the smil:values, smil:to, smil:from and smil:by attributes as specified in 15.3.2.

The anim:formula attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3 and <anim:transitionFilter> 15.2.7.

The anim:formula attribute has the data type string 18.2.

19.7 anim:id (deprecated)

The anim:id attribute specifies an identifier to an animation element.

OpenDocument consumers shall ignore an anim:id attribute if it occurs on an element with an xml:id attribute value.

OpenDocument producers may write anim:id attributes for elements in addition to an xml:id attribute.

 The value of an anim:id attribute shall equal the value of an xml:id attribute on the same element.

The anim:id attribute is deprecated in favor of xml:id. 19.920

The anim:id attribute is usable with the following elements: <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2 and <anim:seq> 15.4.3.

The anim:id attribute has the data type NCName 18.2.

19.8 anim:iterate-interval

The anim:iterate-interval attribute specifies the time interval between effects that are children of <anim:iterate> elements.

The anim:iterate-interval attribute is usable with the following element: <anim:iterate> 15.4.4.

The anim:iterate-interval attribute has the data type duration 18.2.

19.9 anim:iterate-type

The anim:iterate-type attribute of a <anim:iterate> element specifies the iteration of child elements.

The defined values for the anim:iterate-type attribute are:

The anim:iterate-type attribute is usable with the following element: <anim:iterate> 15.4.4.

The anim:iterate-type attribute has the data type string 18.2.

19.10 anim:name

The anim:name attribute specifies the name of a parameter for an <anim:command> 15.6.1 element.

The anim:name attribute is usable with the following element: <anim:param> 15.6.2.

The anim:name attribute has the data type string 18.2.

19.11 anim:sub-item

The anim:sub-item attribute specifies components of a target element for application of animation effects.

The defined values for the anim:sub-item attribute are:

The anim:sub-item attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The anim:sub-item attribute has the data type string 18.2.

19.12 anim:value

The anim:value attribute specifies the value of a parameter for an <anim:command> element.

The anim:value attribute is usable with the following element: <anim:param> 15.6.2.

The anim:value attribute has the data type string 18.2.

19.13 chart:attached-axis

The chart:attached-axis attribute specifies an axis to be used with a series. The value shall be the name of an axis as defined with the chart:name attribute on a <chart:axis> element.

The chart:attached-axis attribute is usable with the following element: <chart:series> 11.12.

The chart:attached-axis attribute has the data type string 18.2.

19.14 chart:automatic-content

The chart:automatic-content attribute specifies if an equation to be displayed should be calculated automatically or if text given within a <text:p> element should be used instead.

If no <text:p> element is provided, the chart:automatic-content attribute is assumed to be true.

The defined values for the chart:automatic-content attribute are:

The default value for this attribute is true.

The chart:automatic-content attribute is usable with the following element: <chart:equation> 11.19.

The chart:automatic-content attribute has the data type boolean 18.3.3.

19.15 chart:class

19.15.1 <chart:chart>, <chart:series>

The chart:class attribute specifies a chart type. The value is a namespaced token. The values for the predefined chart types are defined within the chart namespace ( urn:oasis:names:tc:opendocument:xmlns:chart:1.0).

The term line attributes is used in defining chart:class values to refer to the attributes of the <style:graphic-properties> 17.21 element within a chart style: draw:stroke 19.218, draw:stroke-dash 20.168 and draw:stroke-linejoin 20.170,svg:stroke-color 20.408, svg:stroke-width20.410, and svg:stroke-opacity20.409.

The term fill attributes is used in defining chart:class values to refer to the attributes of the <style:graphic-properties> 17.21 element within a chart style: draw:fill 20.118, draw:fill-color 20.119, draw:fill-gradient-name 20.120, draw:gradient-step-count 20.137, draw:fill-hatch-name 20.121, draw:fill-hatch-solid 20.122, draw:fill-image-height 19.486, draw:fill-image-name 20.124, draw:fill-image-width 20.128, draw:fill-image-ref-point 20.125, draw:fill-image-ref-point-x 20.126, draw:fill-image-ref-point-y20.127, draw:opacity 20.152, draw:opacity-name 20.153, draw:tile-repeat-offset 20.175 and style:repeat 19.515.

The defined values for the chart:class attribute are:

  • chart:area –The values given by a chart:values-cell-range-address 19.28 attribute on a <chart:series> element are interpreted as y-coordinates within a Cartesian coordinate system with horizontal x-axis and vertical y-axis. The accessory x-coordinates are generated from the positions in the y-value sequence starting with 1.0. The first y-value gets an x-value 1.0. The second y-value is associated with an x-value of 2.0 and so forth. The <chart:categories> 11.10 element can be used to define labels for the x-axis.  

    Where chart:three-dimensional="true" 20.65 a left-handed three-dimensional Cartesian coordinate system is used with horizontal x-axis and vertical y-axis (prior to any 3D scene transformations).  

    Where chart:deep="true" 20.12 the z-coordinates are generated from the order of the series elements starting with 1.0. The first series has an associated z-coordinate of 1.0. The second series has a z-coordinate 2.0 and so forth. The series names are used as labels at the z-axis. 

    The area in the xy-pane between the data points and the x-axis is filled (chart:origin 20.40).  

    Where chart:stacked="true" 20.59 the area between a series and the previous series is filled. The filling is done as indicated by the fill attributes of the series. A border is drawn as specified by the line attributes of the series.  

  • chart:bar – The values given by a chart:values-cell-range-address 19.28 attribute on a <chart:series> element are interpreted as y-coordinates within a Cartesian coordinate system with horizontal x-axis and vertical y-axis. The accessory x-coordinates are generated from the positions in the y-value sequence starting with 1.0. The first y-value gets an x-value 1.0. The second y-value is associated with an x-value of 2.0 and so forth. The <chart:categories> 11.10 element can be used to define labels for the x-axis. Where chart:three-dimensional="true" 20.65 a left-handed three-dimensional Cartesian coordinate system is used with horizontal x-axis and vertical y-axis (prior to any 3D scene transformations). 

    Where chart:deep="true" 20.12 the z-coordinates are generated from the order of the series elements starting with 1.0. The first series has an associated z-coordinate of 1.0. The second series has a z-coordinate 2.0 and so forth. The series names are used as labels at the z-axis.  

    Bars are displayed for each data point starting at the x-axis and ending at the indicated y-coordinate (see chart:origin 20.40 for more details). In case of chart:stacked="true" 20.59 the bar starts at the previous series instead of the x-axis. The width and exact position of the bars along the x-axis is influenced by the attributes chart:gap-width 20.23, chart:group-bars-per-axis 20.24, chart:overlap 20.41, chart:percentage 20.43 and chart:stacked 20.59. In case of chart:three-dimensional="false" 20.65 the bars are simple rectangles.  

    Where chart:three-dimensional="true" 20.65 the shape of the bars are defined by a chart:solid-type 20.56 attribute. A chart:vertical 20.72 attribute indicates whether the positions of x- and y-axis should be swapped, resulting in a horizontal y-axis and vertical x-axis. The bars are filled as indicated by the fill attributes of the series and points. A border is drawn as specified by the line attributes.  

  • chart:bubble – Circles(bubbles) with different sizes are displayed in a Cartesian coordinate system with horizontal x-axis and vertical y-axis. The values given by a chart:values-cell-range-address 19.28 attribute on a <chart:series> element are interpreted as relative bubble area. The values for the y-coordinates are given by the first <chart:domain> 11.13 element. The values for the x-coordinates are given by the second <chart:domain> element. The bubbles are filled as indicated by the fill attributes of the series and points. A border is drawn as specified by the line attributes.  

  • chart:circle – The values given by a chart:values-cell-range-address 19.28 attribute on a <chart:series> element are displayed as pie chart. For a value sequence a circle is divided into sectors, the angle of a sector represents the relative weight of a value. Only one series can be displayed with this chart type. By default, the segments are arranged counter-clockwise starting at 12 o'clock. To arrange the segments in clockwise order the attribute chart:reverse-direction 20.51 at the y-axis is set to true. The chart:angle-offset 20.2 attribute is used to rotate the pie. The <chart:categories> 11.10 element at the x-axis can be used to define categories for the data points. The segments are filled as indicated by the fill attributes of the series and points. A border is drawn as specified by the line attributes.  

  • chart:filled-radar – The values given by a chart:values-cell-range-address 19.28 attribute on a <chart:series> element are interpreted as radius-coordinates within a counter-clockwise polar coordinate system. The angle axis starts at 12 o'clock. The axis element with chart:dimension="y" 19.18 is interpreted as radius axis. The axis element with chart:dimension="x" is interpreted as angle axis. The <chart:categories> 11.10 element can be used to define labels for the x-axis. The x-coordinates are generated from the positions in the value sequence starting with 1.0. First value gets an x-value 1.0. The second value is associated with an x-value of 2.0 and so forth.  

    The area surrounded by the data points is filled as indicated by the fill attributes of the series. In case of chart:stacked="true" 20.59 the area between a series and the previous series is filled instead. A border is drawn as specified by the line attributes.  

  • chart:gantt – The values given by a chart:values-cell-range-address 19.28 attribute of two <chart:series> (marked as being of type chart:gantt) are interpreted
    together to form the start and end values (in this order) in a Gantt chart. Start and end values are displayed at the y-axis in a Cartesian coordinate system with horizontal x-axis and vertical y-axis. The accessory x-coordinates are generated from the positions in the y-value sequence starting with 1.0. The first y-value gets an x-value 1.0. The second y-value is associated with an x-value of 2.0 and so forth. The <chart:categories> 11.10 element can be used to define labels for the x-axis.  

    For each x-coordinate, a bar is displayed, starting at the start value and ending at the end value. The fill and line attributes of the series and points specify how the bars are to be displayed. If the end value is greater than or equal to the start value the style of the first series, shall be used. If the end value is smaller than the start value, the styles of the second series shall be used.  

  • chart:line – The values given by a chart:values-cell-range-address 19.28 attribute on a <chart:series> element are interpreted as y-coordinates within a Cartesian coordinate system with horizontal x-axis and vertical y-axis.  

    The accessory x-coordinates are generated from the positions in the y-value sequence starting with 1.0. The first y-value gets an x-value 1.0. The second y-value is associated with an x-value of 2.0 and so forth. The <chart:categories> 11.10 element can be used to define labels for the x-axis.  

    Where chart:three-dimensional="true" 20.65 a left-handed three-dimensional Cartesian coordinate system is used with horizontal x-axis and vertical y-axis (prior to any 3D scene transformations).  

    Where chart:deep="true" 20.12 the z-coordinates are generated from the order of the series elements starting with 1.0. The first series has an associated z-coordinate of 1.0. The second series has a z-coordinate 2.0 and so forth. The series names are used as labels at the z-axis.  

    Where chart:three-dimensional="false" 20.65 the data points are connected with a line as specified by the line attributes of the series. By default a solid line is drawn. If symbols should be used for the data points this shall be specified with the chart:symbol-type 20.62 attribute. The fill attributes of the series and data points specify how the symbols are filled. By default. the symbols are filled solid with the same color as the connecting line. In case no line color is given but a fill color, the line uses the fill color.  

    Where chart:three-dimensional="true" 20.65 no symbols are shown. The data points are connected with a line that is extruded in z-direction. The extruded line is filled as specified by the fill attributes of the series. A border is drawn as specified by the line attributes.  

    The attribute chart:interpolation 20.27 within the chart style at the plot-area specifies which type of interpolation is used while connecting the points with lines.  

  • chart:radar – The values given by a chart:values-cell-range-address 19.28 attribute on a <chart:series> element are interpreted as radius-coordinates within a counter-clockwise polar coordinate system. The angle axis starts at 12 o'clock. The axis element with chart:dimension="y" 19.18 is interpreted as radius axis. The axis element with chart:dimension="x" is interpreted as angle axis. The <chart:categories> 11.10 element can be used to define labels for the x-axis. The x-coordinates are generated from the positions in the value sequence starting with 1.0. First value gets an x-value 1.0. The second value is associated with an x-value of 2.0 and so forth.  

    The data points are connected with a line as specified by the line attributes of the series. By default a solid line is drawn. If symbols should be used for the data points this shall be specified with the chart:symbol-type 20.62 attribute. The fill attributes of the series and data points specify how the symbols are filled. By default, the symbols are filled solid with the same color as the connecting line. In case no line color is given but a fill color, the line uses the fill color.  

  • chart:ring – The values given by a chart:values-cell-range-address 19.28 attribute on a <chart:series> element are displayed as one ring in a doughnut chart. For a given value sequence, the ring is divided into sectors, the angle of a sector represents the relative weight of a value.  

    By default, segments are arranged counter-clockwise starting at 12 o'clock. To arrange the segments in clockwise order the attribute chart:reverse-direction 20.51 at the y-axis is set to "true". The chart:angle-offset 20.2 attribute is used to rotate the doughnut.  

    By default, the first series of class ring forms the inner ring and the last series forms the outermost ring. To arrange the rings in opposite order the attribute chart:reverse-direction 20.51 is set to "true" at the x-axis. The attribute chart:hole-size 20.25 is used to influence the inner hole size.  

    The <chart:categories> 11.10 element at the x-axis can be used to define categories for the data points. The segments are filled as specified by the fill attributes of the series and points. A border is drawn around a segment as specified by the line attributes.  

  • chart:scatter – The values given by a chart:values-cell-range-address 19.28 attribute on a <chart:series> element are interpreted as y-coordinates within a Cartesian coordinate system with horizontal x-axis and vertical y-axis. The values for the x-coordinates are given by the first <chart:domain> 11.13 element.  

    Where chart:three-dimensional="true" 20.65 a left-handed three-dimensional Cartesian coordinate system is used with horizontal x-axis and vertical y-axis (prior to any 3D scene transformations).  

    Where chart:deep="true" 20.12 the z-coordinates are generated from the order of the series elements starting with 1.0. The first series has an associated z-coordinate of 1.0. The second series has a z-coordinate 2.0 and so forth. The series names are used as labels at the z-axis.  

    Where chart:three-dimensional="false" the data points are connected with a line as specified by the line attributes of the series. By default a solid line is drawn. If symbols should be used for the data points this shall be specified with the chart:symbol-type 20.62 attribute.  

    The fill attributes of the series and data points specify how the symbols are filled. By default the symbols are filled solid with the same color as the connecting line. In case no line color is given but a fill color, the line uses the fill color.  

    Where chart:three-dimensional="true" 20.65 no symbols are shown. The data points are connected with a line that is extruded in z-direction. The extruded line is filled as specified by the fill attributes of the series. A border is drawn as specified by the line attributes.  

    The attribute chart:interpolation 20.27 within the chart style at the plot-area specifies which type of interpolation is used while connecting the points with lines.  

  • chart:stock – The values given by a chart:values-cell-range-address 19.28 attribute on up to four <chart:series> (marked as being of type chart:stock) are interpreted together to form the opening, minimum, maximum and closing (in this order) values of a stock symbol displayed at the y scale in a Cartesian coordinate system with horizontal x-axis and vertical y-axis. If only three series are given, the values are interpreted as minimum, maximum and closing values (in this order). The accessory x-coordinates are generated from the positions in the y-value sequence starting with 1.0. The first y-value gets an x-value 1.0. The second y-value is associated with an x-value of 2.0 and so forth. The <chart:categories> 11.10 element can be used to define labels for the x-axis.  

    For each x-coordinate, the minimum and maximum y-values are connected with a line. The line style is specified with element <chart:stock-range-line> 11.22. The chart:japanese-candle-stick 20.30 attribute specifies the display of opening and closing values in a stock chart. In case of chart:japanese-candle-stick="false" opening and closing values are displayed as left and right tick-lines in the same style as the line connecting minimum and maximum value. This is the default. Only in case of chart:japanese-candle-stick="true" a bar is drawn from opening to closing value. The styles to use for those bars are defined with elements <chart:stock-gain-marker> 11.20 and <chart:stock-loss-marker> 11.21.  

  • chart:surface – Depending on the size of the range specified by chart:values-cell-range-address 19.28 attribute of the first <chart:series> element one of two types of surfaces is rendered: 

    • If the chart:values-cell-range-address 19.28 attribute of the first <chart:series> element specifies a range with more than one row and more than one column, the first version of a surface chart is rendered: 

      The value in the ith column and jth row of the cell range given by the chart:values-cell-range-address 19.28 attribute of the <chart:series> element (marked as being of type chart:surface) is the altitude corresponding to the x-value i and the y-value j unless <chart:domain> 11.13 elements are contained in the <chart:series> element.  

      If chart:three-dimensional="true" 20.65 a surface chart is displayed in a right-handed three-dimensional Cartesian coordinate system with horizontal x-axis (from left to right), a perspective y-axis running from the front to the right rear and a vertical z-axis (prior to any 3D scene transformation). The altitude values are displayed on the z-axis in this case. The surface is displayed as specified by the line and fill attributes of the first series. Furthermore the <chart:data-point> 11.14 elements of the series can be used to specify differing fill and line styles for the different altitude intervals. The surface within the first major interval (starting at lower values) is displayed with the line and fill attributes of the first data-point, within the second major interval the surface is displayed with the line and fill attributes of the second data-point and so on. 

      Where chart:three-dimensional="false" 20.65 a contour plot is displayed in a two-dimensional Cartesian coordinate system with horizontal x-axis and vertical y-axis. An axis element with chart:dimension="z" 19.18 is used to define the range and segmentation of the displayed altitude values. Contour lines are drawn along lines of equal altitude specified by the major interval of the z-axis. The area between the contour lines can be filled. The line and fill style is specified by the line and fill attributes of the series. Furthermore the <chart:data-point> 11.14 elements of the series can be used to specify differing line and fill attributes for the different altitude intervals. The contour line and area belonging to the first major interval is displayed with the line and fill attributes of the first data-point, the contour line and area belonging to the second interval is displayed as specified by the line and fill attributes of the second data-point and so on. 

      In both cases two <chart:domain> 11.13 elements may be used to specify the y-values and x-values to be used (19.597.5). In this case the jth value of the table:cell-range-address 19.597 attribute of the first <chart:domain> element specifies the y-values used for the values in the jth row of the cell range given by the chart:values-cell-range-address 19.28 attribute of the <chart:series> element and the ith value of the table:cell-range-address attribute of the second <chart:domain> element specifies the x-values used for the values in the ith column. 

      The attribute chart:deep 20.12 shall be false. Multiple <chart:series> elements of type chart:surface will result in multiple surfaces being rendered.  

    • If the chart:values-cell-range-address 19.28 attribute of the first <chart:series> element specifies a range with a single row or with a single column the second version of a surface chart is rendered: 

      The values given by a chart:values-cell-range-address 19.28 attribute on multiple <chart:series> elements (marked as being of type chart:surface) are interpreted as altitudes at specific grid locations. 

      Where chart:three-dimensional="true" 20.65 a surface chart is displayed in a left-handed three-dimensional Cartesian coordinate system with horizontal x-axis and vertical y-axis (prior to any 3D scene transformation). The altitude values are displayed on the y-axis in this case. The attribute chart:deep 20.12 shall be true. The accessory x-coordinates are generated from the positions in the altitude -value sequence starting with 1.0. The first altitude value in each series gets an x-value 1.0. The second altitude value is associated with an x-value of 2.0 and so forth. The <chart:categories> 11.10 element can be used to define labels for the x-axis. The z-coordinates are generated from the order of the series elements starting with 1.0. The first series marked as being of type surface gets an associated z-coordinate of 1.0. The second series marked as being of type surface gets a z-coordinate 2.0 and so forth. The series names are used as labels at the z-axis. The surface is displayed as specified by the line and fill attributes of the first series. Furthermore the <chart:data-point> 11.14 elements of the first series can be used to specify differing fill and line styles for the different altitude intervals. The surface within the first major interval (starting at lower values) is displayed with the line and fill attributes of the first data-point, within the second major interval the surface is displayed with the line and fill attributes of the second data-point and so on. 

      Where chart:three-dimensional="false" 20.65 a contour plot is displayed in a 2 dimensional Cartesian coordinate system with horizontal x-axis and vertical y-axis. The x-coordinates are generated from the positions in the altitude -value sequence starting with 1.0. The <chart:categories> 11.10 element can be used to define labels for the x-axis. The y-coordinates are generated from the order of the series elements starting with 1.0. The series names are used as labels at the y-axis. A third axis element with chart:dimension="z" 19.18 is used to define the range and segmentation of the displayed altitude values. Contour lines are drawn along lines of equal altitude specified by the major interval of the z-axis. The area between the contour lines can be filled. The line and fill style is specified by the line and fill attributes of the first series. Furthermore the <chart:data-point> 11.14 elements of the first series can be used to specify differing line and fill attributes for the different altitude intervals. The contour line and area belonging to the first major interval is displayed with the line and fill attributes of the first data-point, the contour line and area belonging to the second interval is displayed as specified by the line and fill attributes of the second data-point and so on.  

Additional chart types may be supported by using a different namespace.

A chart:class 19.15 attribute for a <chart:series> element overrides the chart:class attribute for the entire chart.

Note: The following table shows examples for the pre-defined chart types. Those charts that use one or two data series use two data series with the values 1;2;3;4 and 1;4;9;16 and the labels a;b;c;d. Those chart types that use more than two data series (stock and bubble) use the data series 1;2;3;4 and multiples thereof. The radar chart uses two data series with five data points.

chart:line
 
chart:area
 
chart:circle
 
chart:ring
 
chart:scatter
 
chart:radar
 
chart:bar
 
chart:stock
 
chart:bubble
 
chart:surface
 
chart:gantt
 

The chart:class attribute is usable with the following elements: <chart:chart> 11.1 and <chart:series> 11.12.

The chart:class attribute has the data type namespacedToken 18.3.19.

19.15.2 <chart:grid>

The chart:class attribute of a <chart:grid> element specifies whether major or minor tick marks are used on a grid.

The defined values for the chart:class attribute are:

For a <chart:grid> 11.11 element the default value for this attribute is major.

The chart:class attribute is usable with the following element: <chart:grid> 11.11.

The values of the chart:class attribute are major or minor.

19.16 chart:column-mapping (deprecated)

The chart:column-mapping attribute is deprecated. It specifies a list of indexes of series. The numbers define a reordering of data that comes from a container document that provides the data for the chart. The numbering begins with 1. A list of ascending numbers beginning with 1 has no effect. To exchange two series, their numbers shall be exchanged in the list.

The chart:column-mapping 19.16 and chart:row-mapping 19.26 attributes shall not be used simultaneously.

Note: Instead of using the deprecated chart:column-mapping attribute, <chart:series> elements may be reordered and specific cell ranges may be assigned to them using the chart:values-cell-range-address 19.28 attribute.

The chart:column-mapping attribute is usable with the following element: <chart:chart> 11.1.

The chart:column-mapping attribute has the data type string 18.2.

19.17 chart:data-source-has-labels (deprecated)

The chart:data-source-has-labels attribute specifies whether a chart's source range (as given within table:cell-range-address 19.28 attribute on a <chart:plot-area> 11.5 element) contain labels.

The defined values for the chart:data-source-has-labels attribute are:

  • both: first row and column of a chart's source range both contain labels. 

  • column: first column of a chart's source range contains labels. 

  • none: neither the first row nor the first column of a chart's source range contains labels. 

  • row: first row of a chart's source range contains labels. 

The default value for this attribute is none.

The chart:data-source-has-labels attribute is usable with the following element: <chart:plot-area> 11.5.

The values of the chart:data-source-has-labels attribute are none, row, column or both.

19.18 chart:dimension

The chart:dimension attribute specifies a dimension in a coordinate system.

For charts with less than three axes the chart:dimension attribute may appear with values for the x-axis and y-axis only.

The defined values for the chart:dimension attribute are:

The chart:dimension attribute is usable with the following elements: <chart:axis> 11.9 and <chart:error-indicator> 11.17.

The values of the chart:dimension attribute are x, y or z.

19.19 chart:display-equation

The chart:display-equation attribute specifies whether the equation itself should be displayed or not. It is only evaluated if the value of the chart:automatic-content 19.14 attribute is true.

The defined values for the chart:display-equation attribute are:

  • false: the equation is not displayed. 

  • true: the equation is displayed. 

The default value for this attribute is true.

The chart:display-equation attribute is usable with the following element: <chart:equation> 11.19.

The chart:display-equation attribute has the data type boolean 18.3.3.

19.20 chart:display-r-square

The chart:display-r-square attribute specifies whether an R-square value should be displayed or not. It is only evaluated if the value of the chart:automatic-content 19.14 attribute is true.

The defined values for the chart:display-r-square attribute are:

  • false: R-square value is not displayed. 

  • true: R-square value is displayed. 

The default value for this attribute is false.

The chart:display-r-square attribute is usable with the following element: <chart:equation> 11.19.

The chart:display-r-square attribute has the data type boolean 18.3.3.

19.21 chart:label-cell-address

The chart:label-cell-address attribute specifies a cell range list that contains the name for a series.

The chart:label-cell-address attribute is usable with the following element: <chart:series> 11.12.

The chart:label-cell-address attribute has the data type cellRangeAddressList 18.3.6.

19.22 chart:legend-align

The chart:legend-align attribute specifies the alignment of a legend with the plot area.

The defined values for the chart:legend-align attribute are:

Note: This attribute can be used when the chart:legend-position attribute has one of the following values: start, end, top, bottom.

The chart:legend-align attribute is usable with the following element: <chart:legend> 11.4.

The values of the chart:legend-align attribute are start, center or end.

19.23 chart:legend-position

The chart:legend-position attribute specifies the placement of a legend.

The defined values for the chart:legend-position attribute, to specify the location of a legend in one of the corners of a chart outside the plot area, are:

The defined values for the chart:legend-position attribute, to specify the location of a legend next to the plot area, are:

The legend position can also be given in absolute coordinates with svg:x and svg:y attributes, as with any drawing object. If both absolute coordinates and the legend-position attribute are given, the chart:legend-position attribute shall be used.

The chart:legend-position attribute is usable with the following element: <chart:legend> 11.4.

19.24 chart:name

The chart:name attribute specifies a name for an axis.

Note: The value of a chart:name attribute can be used to reference an axis.

The chart:name attribute is usable with the following element: <chart:axis> 11.9.

The chart:name attribute has the data type string 18.2.

19.25 chart:repeated

The chart:repeated attribute specifies how many consecutive data points have the same style.

The chart:repeated attribute is usable with the following element: <chart:data-point> 11.14.

The chart:repeated attribute has the data type positiveInteger 18.2.

19.26 chart:row-mapping (deprecated)

The chart:row-mapping attribute specifies a list of indexes of series. The numbers define a reordering of data that comes from a container document that provides the data for the chart. The numbering begins with 1. A list of ascending numbers beginning with 1 has no effect. To exchange two series, their numbers shall be exchanged in the list.

The chart:row-mapping and chart:column-mapping 19.16 attributes shall not be used simultaneously.

Note: Instead of using the deprecated chart:row-mapping attribute, <chart:series> 11.12 elements may be reordered and specific cell ranges may be assigned to them using the chart:values-cell-range-address 19.28 attribute.

The chart:row-mapping attribute is usable with the following element: <chart:chart> 11.1.

The chart:row-mapping attribute has the data type string 18.2.

19.27 chart:style-name

The chart:style-name attribute references a chart style by its name. 19.502 

The chart:style-name attribute is usable with the following elements: <chart:axis> 11.9, <chart:chart> 11.1, <chart:data-label> 11.15, <chart:data-point> 11.14, <chart:equation> 11.19, <chart:error-indicator> 11.17, <chart:floor> 11.8, <chart:footer> 11.2.3, <chart:grid> 11.11, <chart:legend> 11.4, <chart:mean-value> 11.16, <chart:plot-area> 11.5, <chart:regression-curve> 11.18, <chart:series> 11.12, <chart:stock-gain-marker> 11.20, <chart:stock-loss-marker> 11.21, <chart:stock-range-line> 11.22, <chart:subtitle> 11.2.2, <chart:title> 11.2.1 and <chart:wall> 11.7.

The chart:style-name attribute has the data type styleNameRef 18.3.32.

19.28 chart:values-cell-range-address

 The chart:values-cell-range-address attribute specifies a cell range that contains the values for a data series.

The chart:values-cell-range-address attribute is usable with the following element: <chart:series> 11.12.

The chart:values-cell-range-address attribute has the data type cellRangeAddressList 18.3.6.

19.29 config:name

The config:name attribute specifies a name of an application setting, an application setting sequence, or an application setting container.

For <config:config-item-set> 3.10.2 elements that are children of <office:settings> 3.10 elements, the name shall begin with a namespace prefix followed by a “:” (U+003A, COLON). The XML namespace bound to the prefix identifies the implementation that defines the name of a setting.

The config:name attribute is usable with the following elements: <config:config-item> 3.10.3, <config:config-item-map-entry> 3.10.5, <config:config-item-map-indexed> 3.10.4, <config:config-item-map-named> 3.10.6 and <config:config-item-set> 3.10.2.

The config:name attribute has the data type string 18.2.

19.30 config:type

The config:type attribute specifies a data type for a setting.

The defined values for the config:type attribute are:

The config:type attribute is usable with the following element: <config:config-item> 3.10.3.

The values of the config:type attribute are boolean, short, int, long, double, string, datetime or base64Binary.

19.31 db:additional-column-statement

The db:additional-column-statement attribute specifies the auto-increment keyword of an SQL create statement and any start value.

Note: The auto-increment keyword, optional start value and the format of the string specifying them are database specific.

The db:additional-column-statement attribute is usable with the following element: <db:auto-increment> 12.10.

The db:additional-column-statement attribute has the data type string 18.2.

19.32 db:append-table-alias-name

The db:append-table-alias-name attribute specifies that a table alias name should be appended when creating an SQL query.

The defined values for the db:append-table-alias-name attribute are:

The default value for this attribute is true.

The db:append-table-alias-name attribute is usable with the following element: <db:application-connection-settings> 12.15.

The db:append-table-alias-name attribute has the data type boolean 18.3.3.

19.33 db:apply-command

The db:apply-command attribute specifies whether an SQL clause specified by a db:command attribute should be appended to an underlying statement.

The defined values for the db:apply-command attribute are:

The default value for this attribute is false.

The db:apply-command attribute is usable with the following elements: <db:filter-statement> 12.30 and <db:order-statement> 12.29.

The db:apply-command attribute has the data type boolean 18.3.3.

19.34 db:as-template

The db:as-template attribute specifies that a document is used as a template for a table structure to be created inside a database.

The defined values for the db:as-template attribute are:

The db:as-template attribute is usable with the following element: <db:component> 12.25.5.

The db:as-template attribute has the data type boolean 18.3.3.

19.35 db:base-dn

The db:base-dn attribute specifies a base DN for data that is retrieved using LDAP. [RFC4514]

The db:base-dn attribute is usable with the following element: <db:driver-settings> 12.9.

The db:base-dn attribute has the data type string 18.2.

19.36 db:boolean-comparison-mode

The db:boolean-comparison-mode attribute specifies a comparison mode used for Boolean values in SQL SELECT statements.

The defined values for the db:boolean-comparison-mode attribute are:

The default value for this attribute is equal-integer.

The db:boolean-comparison-mode attribute is usable with the following element: <db:application-connection-settings> 12.15.

The values of the db:boolean-comparison-mode attribute are equal-integer, is-boolean, equal-boolean or equal-use-only-zero.

19.37 db:catalog-name

The db:catalog-name attribute specifies the catalog part of a fully-qualified SQL table name or index name.

The db:catalog-name attribute is usable with the following elements: <db:index> 12.46, <db:table-definition> 12.38, <db:table-representation> 12.33 and <db:update-table> 12.31.

The db:catalog-name attribute has the data type string 18.2.

19.38 db:command

The db:command attribute specifies an SQL select, order or filter clause that is used as part of a SELECT statement.

The db:command attribute is usable with the following elements: <db:filter-statement> 12.30, <db:order-statement> 12.29 and <db:query> 12.28.

The db:command attribute has the data type string 18.2.

19.39 db:data-source-setting-is-list

The db:data-source-setting-is-list attribute specifies whether a <db:data-source-setting> element contains a list of <db:data-source-setting-value> elements.

The defined values for the db:data-source-setting-is-list attribute are:

  • false: <db:data-source-settings> 12.22 element should not contain a list of <db:data-source-setting-value> 12.24 elements. 

  • true: <db:data-source-settings> element should contain a list of <db:data-source-setting-value> elements. 

The db:data-source-setting-is-list attribute is usable with the following element: <db:data-source-setting> 12.23.

The db:data-source-setting-is-list attribute has the data type boolean 18.3.3.

19.40 db:data-source-setting-name

The db:data-source-setting-name attribute specifies a name for a <db:data-source-setting> element.

The db:data-source-setting-name attribute is usable with the following element: <db:data-source-setting> 12.23.

The db:data-source-setting-name attribute has the data type string 18.2.

19.41 db:data-source-setting-type

The db:data-source-setting-type attribute specifies a data type for content of a <db:data-source-setting-value> 12.24 element.

The defined values for the db:data-source-setting-type attribute are:

The db:data-source-setting-type attribute is usable with the following element: <db:data-source-setting> 12.23.

The values of the db:data-source-setting-type attribute are boolean, short, int, long, double or string.

19.42 db:data-type

The db:data-type attribute specifies an SQL data type for a column.

The values accepted by db:data-type are defined by [SQL].

The db:data-type attribute is usable with the following element: <db:column-definition> 12.40.

The values of the db:data-type attribute are bit, boolean, tinyint, smallint, integer, bigint, float, real, double, numeric, decimal, char, varchar, longvarchar, date, time, timestmp, binary, varbinary, longvarbinary, sqlnull, other, object, distinct, struct, array, blob, clob or ref.

19.43 db:database-name

The db:database-name attribute specifies the database for a connection, if the database type supports multiple logical databases per server.

The db:database-name attribute is usable with the following element: <db:server-database> 12.6.

The db:database-name attribute has the data type string 18.2.

19.44 db:decimal

The db:decimal attribute specifies a decimal separator for numeric fields.

The default value for this attribute is “.” (U+002E, FULL STOP).

The db:decimal attribute is usable with the following element: <db:delimiter> 12.11.

The db:decimal attribute has the data type string 18.2.

19.45 db:default-cell-style-name

The db:default-cell-style-name attribute specifies a default cell style. This style is applied to all cells in a column.

The db:default-cell-style-name attribute is usable with the following element: <db:column> 12.35.

The db:default-cell-style-name attribute has the data type styleNameRef 18.3.32.

19.46 db:default-row-style-name

The db:default-row-style-name attribute specifies a default row style. This style is applied to all rows in a table.

The db:default-row-style-name attribute is usable with the following elements: <db:query> 12.28 and <db:table-representation> 12.33.

The db:default-row-style-name attribute has the data type styleNameRef 18.3.32.

19.47 db:delete-rule

The db:delete-rule attribute specifies a rule that is applied for deleting records from a table. It is used only with foreign keys.

The defined values for the db:delete-rule attribute are:

The default value for this attribute is no-action.

The db:delete-rule attribute is usable with the following element: <db:key> 12.42.

The values of the db:delete-rule attribute are cascade, restrict, set-null, no-action or set-default.

19.48 db:description

The db:description attribute specifies a description of a database object.

The db:description attribute is usable with the following elements: <db:column> 12.35, <db:component> 12.25.5, <db:component-collection> 12.25.4, <db:query> 12.28, <db:query-collection> 12.27 and <db:table-representation> 12.33.

The db:description attribute has the data type string 18.2.

19.49 db:enable-sql92-check

The db:enable-sql92-check attribute specifies whether the names of tables, views, columns, and queries may contain characters defined by the [SQL] feature F392.

The defined values for the db:enable-sql92-check attribute are:

  • false: consumers should permit characters defined by the [SQL] feature F392 for new or changed names of tables, views, columns, and queries.  

  • true: consumers should not permit characters defined by the [SQL] feature F392 for new or changed names of tables, views, columns, and queries.  

The default value for this attribute is false.

The db:enable-sql92-check attribute is usable with the following element: <db:application-connection-settings> 12.15.

The db:enable-sql92-check attribute has the data type boolean 18.3.3.

19.50 db:encoding

The db:encoding attribute specifies a text encoding for string data.

The default value for this attribute is utf-8.

The db:encoding attribute is usable with the following element: <db:character-set> 12.12.

The db:encoding attribute has the data type textEncoding 18.3.35.

19.51 db:escape-processing

The db:escape-processing attribute specifies whether escape processing for a query is used or not.

The defined values for the db:escape-processing attribute are:

The default value for this attribute is true.

The db:escape-processing attribute is usable with the following element: <db:query> 12.28.

The db:escape-processing attribute has the data type boolean 18.3.3.

19.52 db:extension

The db:extension attribute specifies a file name extension for files which are used as tables.

The db:extension attribute is usable with the following element: <db:file-based-database> 12.5.

The db:extension attribute has the data type string 18.2.

19.53 db:field

The db:field attribute specifies a separator for database fields.

The default value for this attribute is “;” (U+003B, SEMICOLON).

The db:field attribute is usable with the following element: <db:delimiter> 12.11.

The db:field attribute has the data type string 18.2.

19.54 db:hostname

The db:hostname attribute specifies the name of a server for a server-based database.

The db:hostname attribute is usable with the following element: <db:server-database> 12.6.

The db:hostname attribute has the data type string 18.2.

19.55 db:ignore-driver-privileges

The db:ignore-driver-privileges attribute specifies whether privileges returned by a database driver should be ignored.

The defined values for the db:ignore-driver-privileges attribute are:

The default value for this attribute is true.

The db:ignore-driver-privileges attribute is usable with the following element: <db:application-connection-settings> 12.15.

The db:ignore-driver-privileges attribute has the data type boolean 18.3.3.

19.56 db:is-ascending

The db:is-ascending attribute specifies that a column is to be sorted in ascending order.

The defined values for the db:is-ascending attribute are:

The db:is-ascending attribute is usable with the following element: <db:index-column> 12.48.

The db:is-ascending attribute has the data type boolean 18.3.3.

19.57 db:is-autoincrement

The db:is-autoincrement attribute specifies whether a column is automatically numbered.

The defined values for the db:is-autoincrement attribute are:

The db:is-autoincrement attribute is usable with the following element: <db:column-definition> 12.40.

The db:is-autoincrement attribute has the data type boolean 18.3.3.

19.58 db:is-clustered

The db:is-clustered attribute specifies that an index is clustered.

The defined values for the db:is-clustered attribute are:

The db:is-clustered attribute is usable with the following element: <db:index> 12.46.

The db:is-clustered attribute has the data type boolean 18.3.3.

19.59 db:is-empty-allowed

The db:is-empty-allowed attribute specifies whether a column may contain empty values.

The defined values for the db:is-empty-allowed attribute are:

The db:is-empty-allowed attribute is usable with the following element: <db:column-definition> 12.40.

The db:is-empty-allowed attribute has the data type boolean 18.3.3.

19.60 db:is-first-row-header-line

The db:is-first-row-header-line attribute specifies whether the first row in a text file, which is interpreted as a table of a file-based database, is used to define the columns of a table.

The defined values for the db:is-first-row-header-line attribute are:

The default value for this attribute is true.

The db:is-first-row-header-line attribute is usable with the following elements: <db:driver-settings> 12.9 and <db:table-setting> 12.14.

The db:is-first-row-header-line attribute has the data type boolean 18.3.3.

19.61 db:login-timeout

The db:login-timeout attribute indicates a default time-out to be used when establishing a connection for this data source. If the attribute is not present, then a default time-out is specified by the database server.

The db:login-timeout attribute is usable with the following element: <db:login> 12.8.

The db:login-timeout attribute has the data type positiveInteger 18.2.

19.62 db:is-nullable

The db:is-nullable attribute specifies the nullability of values in a column.

The defined values for the db:is-nullable attribute are:

The db:is-nullable attribute is usable with the following element: <db:column-definition> 12.40.

The values of the db:is-nullable attribute are no-nulls or nullable.

19.63 db:is-password-required

The db:is-password-required attribute specifies if a password is always necessary when establishing a connection for a data source.

The defined values for the db:is-password-required attribute are:

The default value for this attribute is false.

The db:is-password-required attribute is usable with the following element: <db:login> 12.8.

The db:is-password-required attribute has the data type boolean 18.3.3.

19.64 db:is-unique

The db:is-unique attribute specifies whether an index shall have unique values.

The defined values for the db:is-unique attribute are:

The db:is-unique attribute is usable with the following element: <db:index> 12.46.

The db:is-unique attribute has the data type boolean 18.3.3.

19.65 db:precision

The db:precision attribute specifies a column's number of decimal digits.

The db:precision attribute is usable with the following element: <db:column-definition> 12.40.

The db:precision attribute has the data type positiveInteger 18.2.

19.66 db:is-table-name-length-limited

The db:is-table-name-length-limited attribute specifies whether table names are limited to eight characters or fewer characters.

The defined values for the db:is-table-name-length-limited attribute are:

The default value for this attribute is true.

The db:is-table-name-length-limited attribute is usable with the following element: <db:application-connection-settings> 12.15.

The db:is-table-name-length-limited attribute has the data type boolean 18.3.3.

19.67 db:local-socket

The db:local-socket attribute specifies the local socket on which a server database is running and accepting connections. The server's local socket filename is used for connecting to a server database when it is running locally.

If db:local-socket is present but empty, consumers should use the default local socket for the database type in question.

The db:local-socket attribute is usable with the following element: <db:server-database> 12.6.

The db:local-socket attribute has the data type string 18.2.

19.68 db:max-row-count

The db:max-row-count attribute specifies the maximum number of rows that should be returned in a result set.

The db:max-row-count attribute is usable with the following element: <db:application-connection-settings> 12.15.

The db:max-row-count attribute has the data type integer 18.2.

19.69 db:media-type

The db:media-type attribute of a <db:file-based-database> element specifies the type of the file(s) that comprise a database. If the database consists of multiple files of different types which all are required for it to be operational, this attribute specifies the type of the file linked to by the xlink:href 19.916 attribute on the <db:file-based-database> element.

The db:media-type attribute is usable with the following element: <db:file-based-database> 12.5.

The db:media-type attribute has the data type string 18.2.

19.70 db:name

19.70.1 General

The db:name attribute specifies a name of a database or component of a database.

19.70.2 <db:column>

The db:name attribute specifies the name of a column.

The db:name attribute is usable with the following element: <db:column> 12.35.

The db:name attribute has the data type string 18.2.

19.70.3 <db:column-definition>

The db:name attribute specifies the name of a column.

The db:name attribute is usable with the following element: <db:column-definition> 12.40.

The db:name attribute has the data type string 18.2.

19.70.4 <db:component>

The db:name attribute specifies the name of a database component.

The db:name attribute is usable with the following element: <db:component> 12.25.5.

The db:name attribute has the data type string 18.2.

19.70.5 <db:component-collection>

The db:name attribute specifies the name of a collection of <db:component> 12.25.5 and <db:component-collection> elements.

The db:name attribute is usable with the following element: <db:component-collection> 12.25.4.

The db:name attribute has the data type string 18.2.

19.70.6 <db:index>

The db:name attribute specifies the name of an index.

The db:name attribute is usable with the following element: <db:index> 12.46.

The db:name attribute has the data type string 18.2.

19.70.7 <db:index-column>

The db:name attribute specifies the name of an index column.

The db:name attribute is usable with the following element: <db:index-column> 12.48.

The db:name attribute has the data type string 18.2.

19.70.8 <db:key>

The db:name attribute specifies the name of a key. If the key is not a primary key, the db:name attribute with a value shall appear on the <db:key> element.

The db:name attribute is usable with the following element: <db:key> 12.42.

The db:name attribute has the data type string 18.2.

19.70.9 <db:key-column>

The db:name attribute specifies the name of a <db:key-column> element.

The db:name attribute is usable with the following element: <db:key-column> 12.44.

The db:name attribute has the data type string 18.2.

19.70.10 <db:query>

The db:name attribute specifies the name of a <db:query> element.

The db:name attribute is usable with the following element: <db:query> 12.28.

The db:name attribute has the data type string 18.2.

19.70.11 <db:query-collection>

The db:name attribute specifies the name of a collection of <db:query> 12.28 and <db:query-collection> elements.

The db:name attribute is usable with the following element: <db:query-collection> 12.27.

The db:name attribute has the data type string 18.2.

19.70.12 <db:table-definition>

The db:name attribute specifies the name of a schema for a table.

The db:name attribute is usable with the following element: <db:table-definition> 12.38.

The db:name attribute has the data type string 18.2.

19.70.13 <db:table-representation>

The db:name attribute specifies the name of a table. Fully identifying a table in a database may require values from the db:catalog-name and db:schema-name attributes.

The db:name attribute is usable with the following element: <db:table-representation> 12.33.

The db:name attribute has the data type string 18.2.

19.70.14 <db:update-table>

The db:name attribute specifies the name of a <db:update-table> element.

The db:name attribute is usable with the following element: <db:update-table> 12.31.

The db:name attribute has the data type string 18.2.

19.71 db:parameter-name-substitution

The db:parameter-name-substitution attribute specifies that parameter names shall be replaced with a ”?” (U+003F, QUESTION MARK).

The defined values for the db:parameter-name-substitution attribute are:

The default value for this attribute is true.

The db:parameter-name-substitution attribute is usable with the following element: <db:driver-settings> 12.9.

The db:parameter-name-substitution attribute has the data type boolean 18.3.3.

19.72 db:port

The db:port attribute specifies the port on which a server database is accepting connections. If no port is present, consumers should use the default port for the database type in question.

The db:port attribute is usable with the following element: <db:server-database> 12.6.

The db:port attribute has the data type positiveInteger 18.2.

19.73 db:referenced-table-name

The db:referenced-table-name attribute specifies the name of a referenced table. It is only used with foreign keys.

The db:referenced-table-name attribute is usable with the following element: <db:key> 12.42.

The db:referenced-table-name attribute has the data type string 18.2.

19.74 db:related-column-name

The db:related-column-name attribute specifies the name of a reference column out of the referenced table. It is used only with foreign keys.

The db:related-column-name attribute is usable with the following element: <db:key-column> 12.44.

The db:related-column-name attribute has the data type string 18.2.

19.75 db:row-retrieving-statement

The db:row-retrieving-statement attribute specifies an SQL statement, which is executed to retrieve auto generated values after inserting a new row.

The db:row-retrieving-statement attribute is usable with the following element: <db:auto-increment> 12.10.

The db:row-retrieving-statement attribute has the data type string 18.2.

19.76 db:scale

The db:scale attribute specifies a column's number of digits to the right of the decimal point.

The db:scale attribute is usable with the following element: <db:column-definition> 12.40.

The db:scale attribute has the data type positiveInteger 18.2.

19.77 db:schema-name

The db:schema-name attribute specifies the name of a schema.

The db:schema-name attribute is usable with the following elements: <db:table-definition> 12.38, <db:table-representation> 12.33 and <db:update-table> 12.31.

The db:schema-name attribute has the data type string 18.2.

19.78 db:show-deleted

The db:show-deleted attribute specifies that deleted records should be included in result sets.

The defined values for the db:show-deleted attribute are:

The default value for this attribute is false.

The db:show-deleted attribute is usable with the following elements: <db:driver-settings> 12.9 and <db:table-setting> 12.14.

The db:show-deleted attribute has the data type boolean 18.3.3.

19.79 db:string

The db:string attribute specifies a separator for strings.

The default value for this attribute is “.” (U+002E, FULL STOP).

The db:string attribute is usable with the following element: <db:delimiter> 12.11.

The db:string attribute has the data type string 18.2.

19.80 db:style-name

19.80.1 General

The db:style-name attribute specifies a style name of a style family for the element upon which it appears.

19.80.2 <db:column>

The db:style-name attribute specifies the name of a style of the family table-column.

The db:style-name attribute is usable with the following element: <db:column> 12.35.

The db:style-name attribute has the data type styleNameRef 18.3.32.

19.80.3 <db:query>

The db:style-name attribute specifies the name of a style of the family table.

The db:style-name attribute is usable with the following element: <db:query> 12.28.

The db:style-name attribute has the data type styleNameRef 18.3.32.

19.80.4 <db:table-representation>

The db:style-name attribute specifies the name of a style of the family table.

The db:style-name attribute is usable with the following element: <db:table-representation> 12.33.

The db:style-name attribute has the data type styleNameRef 18.3.32.

19.81 db:suppress-version-columns

The db:suppress-version-columns attribute specifies that version columns, columns that are used for versioning row content, should be suppressed.

The defined values for the db:suppress-version-columns attribute are:

The default value for this attribute is true.

The db:suppress-version-columns attribute is usable with the following element: <db:application-connection-settings> 12.15.

The db:suppress-version-columns attribute has the data type boolean 18.3.3.

19.82 db:system-driver-settings

The db:system-driver-settings attribute specifies system-specific options for a connection.

The db:system-driver-settings attribute is usable with the following element: <db:driver-settings> 12.9.

The db:system-driver-settings attribute has the data type string 18.2.

19.83 db:thousand

The db:thousand attribute specifies a thousand separator for numeric fields.

The default value for this attribute is “,” (U+002C, COMMA).

The db:thousand attribute is usable with the following element: <db:delimiter> 12.11.

The db:thousand attribute has the data type string 18.2.

19.84 db:title

The db:title attribute specifies a human-readable title of an object.

The db:title attribute is usable with the following elements: <db:column> 12.35, <db:component> 12.25.5, <db:component-collection> 12.25.4, <db:query> 12.28, <db:query-collection> 12.27 and <db:table-representation> 12.33.

The db:title attribute has the data type string 18.2.

19.85 db:type

19.85.1 General

The db:type attribute specifies a type for keys, databases, or tables, depending upon the element where it appears.

19.85.2 <db:key>

The db:type attribute specifies the type of a key.

The defined values for the db:type attribute are:

The db:type attribute is usable with the following element: <db:key> 12.42.

The values of the db:type attribute are primary, unique or foreign.

19.85.3 <db:server-database>

The db:type attribute specifies the type of a database.

The db:type attribute is usable with the following element: <db:server-database> 12.6.

The db:type attribute has the data type namespacedToken 18.3.19.

19.85.4 <db:table-definition>

The db:type attribute specifies the type of a table.

The defined values for the db:type attribute are:

The db:type attribute is usable with the following element: <db:table-definition> 12.38.

The db:type attribute has the data type string 18.2.

19.86 db:type-name

The db:type-name attribute specifies a database-dependent type name of a database column.

The db:type-name attribute is usable with the following element: <db:column-definition> 12.40.

The db:type-name attribute has the data type string 18.2.

19.87 db:update-rule

The db:update-rule attribute specifies a rule that is applied for updating records in a table. It is only used for foreign keys.

The defined values for the db:update-rule attribute are:

The default value for this attribute is no-action.

The db:update-rule attribute is usable with the following element: <db:key> 12.42.

The values of the db:update-rule attribute are cascade, restrict, set-null, no-action or set-default.

19.88 db:use-catalog

The db:use-catalog attribute specifies that a catalog name should be used to reference a table in SQL statements.

The defined values for the db:use-catalog attribute are:

The default value for this attribute is false.

The db:use-catalog attribute is usable with the following element: <db:application-connection-settings> 12.15.

The db:use-catalog attribute has the data type boolean 18.3.3.

19.89 db:use-system-user

The db:use-system-user attribute specifies whether the name of a user as logged in to the client operating system is used.

If db:use-system-user and db:user-name 19.90 attributes are omitted and the server requires a user name, the user is prompted to enter a name.

The defined values for the db:use-system-user attribute are:

  • false: name of user logged into client operating system is not used for login. 

  • true: name of user logged into client operating system is used for login. 

The db:use-system-user attribute is usable with the following element: <db:login> 12.8.

The db:use-system-user attribute has the data type boolean 18.3.3.

19.90 db:user-name

The db:user-name attribute specifies a user name for authentication upon creating a connection to a database.

If db:user-name and db:use-system-user 19.89 attributes are omitted and the server requires a user name, the user is prompted to enter a name.

The db:user-name attribute is usable with the following element: <db:login> 12.8.

The db:user-name attribute has the data type string 18.2.

19.91 db:visible

The db:visible attribute specifies whether a column appears in a table grid view.

The defined values for the db:visible attribute are:

The default value for this attribute is true.

The db:visible attribute is usable with the following element: <db:column> 12.35.

The db:visible attribute has the data type boolean 18.3.3.

19.92 dr3d:ambient-color

The dr3d:ambient-color attribute specifies a color for ambient light.

Note: Ambient light is light that seems to come from all directions.

The dr3d:ambient-color attribute, along with dr3d:diffuse-color, dr3d:emissive-color, and dr3d:specular-color specifies the four colors that define the color of a material.

The dr3d:ambient-color attribute is usable with the following elements: <chart:plot-area> 11.5 and <dr3d:scene> 10.5.2.

The dr3d:ambient-color attribute has the data type color 18.3.9.

19.93 dr3d:center

The dr3d:center attribute specifies the center of a sphere in a three-dimensional space.

The dr3d:center attribute is usable with the following element: <dr3d:sphere> 10.5.5.

The dr3d:center attribute has the data type vector3D 18.3.40.

19.94 dr3d:diffuse-color

The dr3d:diffuse-color attribute specifies the base color that a light is emitting.

The dr3d:diffuse-color attribute is usable with the following element: <dr3d:light> 10.5.3.

The dr3d:diffuse-color attribute has the data type color 18.3.9.

19.95 dr3d:direction

The dr3d:direction attribute specifies the direction in which light is emitted.

The dr3d:direction attribute is usable with the following element: <dr3d:light> 10.5.3.

The dr3d:direction attribute has the data type vector3D 18.3.40.

19.96 dr3d:distance

The dr3d:distance attribute specifies the distance between a camera and an object.

The dr3d:distance attribute is usable with the following elements: <chart:plot-area> 11.5 and <dr3d:scene> 10.5.2.

The dr3d:distance attribute has the data type length 18.3.18.

19.97 dr3d:enabled

The dr3d:enabled attribute specifies if a light is enabled. If a light is not enabled, it does not emit any light.

The defined values for the dr3d:enabled attribute are:

The dr3d:enabled attribute is usable with the following element: <dr3d:light> 10.5.3.

The dr3d:enabled attribute has the data type boolean 18.3.3.

19.98 dr3d:focal-length

The dr3d:focal-length attribute specifies the focal length of a virtual camera in a scene.

The dr3d:focal-length attribute is usable with the following elements: <chart:plot-area> 11.5 and <dr3d:scene> 10.5.2.

The dr3d:focal-length attribute has the data type length 18.3.18.

19.99 dr3d:lighting-mode

19.99.1 General

The dr3d:lighting-mode attribute specifies the use of lighting in three-dimensional scenes.

Note: The dr3d:lighting-mode attribute is also defined for 3D objects. 20.86

19.99.2 <chart:plot-area>

The dr3d:lighting-mode attribute specifies whether lighting is used in a three-dimensional chart.

The defined values for the dr3d:lighting-mode attribute are:

The dr3d:lighting-mode attribute is usable with the following element: <chart:plot-area> 11.5.

The dr3d:lighting-mode attribute has the data type boolean 18.3.3.

19.99.3 <dr3d:scene>

The dr3d:lighting-mode attribute specifies whether lighting is used in a three-dimensional scene.

The defined values for the dr3d:lighting-mode attribute are:

The dr3d:lighting-mode attribute is usable with the following element: <dr3d:scene> 10.5.2.

The dr3d:lighting-mode attribute has the data type boolean 18.3.3.

19.100 dr3d:max-edge

The dr3d:max-edge attribute specifies the maximum x, y and z coordinate values for a cube.

The dr3d:max-edge attribute is usable with the following element: <dr3d:cube> 10.5.4.

The dr3d:max-edge attribute has the data type vector3D 18.3.40.

19.101 dr3d:min-edge

The dr3d:min-edge attribute specifies the minimum x, y and z coordinate values for a cube.

The dr3d:min-edge attribute is usable with the following element: <dr3d:cube> 10.5.4.

The dr3d:min-edge attribute has the data type vector3D 18.3.40.

19.102 dr3d:projection

The dr3d:projection attribute specifies a projection mode.

The defined values for the dr3d:projection attribute are:

For a <draw:enhanced-geometry> 10.6.2 element the default value for this attribute is parallel.

The dr3d:projection attribute is usable with the following elements: <chart:plot-area> 11.5, <dr3d:scene> 10.5.2 and <draw:enhanced-geometry> 10.6.2.

The values of the dr3d:projection attribute are parallel or perspective.

19.103 dr3d:shade-mode

The dr3d:shade-mode attribute specifies how lighting is calculated for rendered surfaces.

The defined values for the dr3d:shade-mode attribute are:

For a <draw:enhanced-geometry> 10.6.2 element the default value for this attribute is flat.

The dr3d:shade-mode attribute is usable with the following elements: <chart:plot-area> 11.5, <dr3d:scene> 10.5.2 and <draw:enhanced-geometry> 10.6.2.

The values of the dr3d:shade-mode attribute are flat, phong, gouraud or draft.

19.104 dr3d:shadow-slant

The dr3d:shadow-slant attribute specifies an angle from a three-dimensional scene to a virtual paper on which a shadow is cast.

The dr3d:shadow-slant attribute is usable with the following elements: <chart:plot-area> 11.5 and <dr3d:scene> 10.5.2.

The dr3d:shadow-slant attribute has the data type angle 18.3.1.

19.105 dr3d:size

The dr3d:size attribute specifies the size of a sphere in a three-dimensional space.

The dr3d:size attribute is usable with the following element: <dr3d:sphere> 10.5.5.

The dr3d:size attribute has the data type vector3D 18.3.40.

19.106 dr3d:specular

The dr3d:specular attribute specifies whether a light causes a specular reflection on objects. consumers may evaluate this attribute only for the first light in a scene.

The defined values for the dr3d:specular attribute are:

The dr3d:specular attribute is usable with the following element: <dr3d:light> 10.5.3.

The dr3d:specular attribute has the data type boolean 18.3.3.

19.107 dr3d:transform

The dr3d:transform attribute specifies a list of transform definitions, which are applied in the order provided. The individual transform definitions are separated by white space.

The defined transforms are:

The dr3d:transform attribute is usable with the following elements: <chart:plot-area> 11.5, <dr3d:cube> 10.5.4, <dr3d:extrude> 10.5.6, <dr3d:rotate> 10.5.7, <dr3d:scene> 10.5.2 and <dr3d:sphere> 10.5.5.

The dr3d:transform attribute has the data type string 18.2.

19.108 dr3d:vpn

The dr3d:vpn attribute specifies a pointer towards projected objects.

With the dr3d:vrp 19.109 and dr3d:vup 19.110 attributes, the dr3d:vpn attribute specifies a viewing volume.

The dr3d:vpn attribute is usable with the following elements: <chart:plot-area> 11.5 and <dr3d:scene> 10.5.2.

The dr3d:vpn attribute has the data type vector3D 18.3.40.

19.109 dr3d:vrp

The dr3d:vrp attribute specifies an origin.

With the dr3d:vpn 19.108 and dr3d:19.110 vup attributes, the dr3d:vrp attribute specifies a viewing volume.

The dr3d:vrp attribute is usable with the following elements: <chart:plot-area> 11.5 and <dr3d:scene> 10.5.2.

The dr3d:vrp attribute has the data type vector3D 18.3.40.

19.110 dr3d:vup

The dr3d:vup attribute specifies an up vector.

With the dr3d:vpn 19.108 and dr3d:vrp 19.109 attributes, the dr3d:vup attribute specifies a viewing volume.

The dr3d:vup attribute is usable with the following elements: <chart:plot-area> 11.5 and <dr3d:scene> 10.5.2.

The dr3d:vup attribute has the data type vector3D 18.3.40.

19.111 draw:align

The draw:align attribute specifies the shape edge where a glue point is positioned.

The defined values for the draw:align attribute are:

The draw:align attribute is usable with the following element: <draw:glue-point> 10.3.16.

The values of the draw:align attribute are top-left, top, top-right, left, center, right, bottom-left or bottom-right.

19.112 draw:angle

The draw:angle attribute specifies an angle that rotates the axis at which the gradient values are interpolated. This attribute is ignored for radial style gradients.

The draw:angle attribute is usable with the following elements: <draw:gradient> 16.42.1 and <draw:opacity> 16.42.7.

The draw:angle attribute has the data type angle 18.3.1.

19.113 draw:archive

The draw:archive attribute is equivalent to the archive attribute of an <applet> element in HTML. See. §13.4 of [HTML4].

The draw:archive attribute is usable with the following element: <draw:applet> 10.4.7.

The draw:archive attribute has the data type string 18.2.

19.114 draw:border

The draw:border attribute specifies a percentage value that is used to scale a border area which is filled by a solid color.

For linear, square, rectangle, radial and elliptical gradients the start color is used. For axial gradients, the end color is used.

The draw:border attribute is usable with the following elements: <draw:gradient> 16.42.1 and <draw:opacity> 16.42.7.

The draw:border attribute has the data type percent 18.3.23.

19.115 draw:caption-id

The draw:caption-id attribute establishes a relationship between a drawing shape and its caption. It takes a value of type IDREF. The value for the draw:caption-id attribute is the target ID assigned to the <draw:text-box> 10.4.3 element that contains the caption.

Note: When a caption is assigned to a drawing shape, an id shall be assigned to the element containing the text used to caption a drawing shape. Removing the caption should result in removing the draw:caption-id attribute of the drawing shape that was being captioned.

The draw:caption-id attribute is usable with the following elements: <dr3d:scene> 10.5.2, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2 and <draw:regular-polygon> 10.3.6.

The draw:caption-id attribute has the data type IDREF 18.2.

19.116 draw:caption-point-x

The draw:caption-point-x attribute, along with draw:caption-point-y specifies the position of a point that is captioned. A set of lines is rendered to that point from the caption area.

The draw:caption-point-x attribute is usable with the following elements: <draw:caption> 10.3.11 and <office:annotation> 14.1.

The draw:caption-point-x attribute has the data type coordinate 18.3.10.

19.117 draw:caption-point-y

The draw:caption-point-y attribute, along with draw:caption-point-x specifies the position of a point that is captioned. A set of lines is rendered to that point from the caption area.

The draw:caption-point-y attribute is usable with the following elements: <draw:caption> 10.3.11 and <office:annotation> 14.1.

The draw:caption-point-y attribute has the data type coordinate 18.3.10.

19.118 draw:chain-next-name

The draw:chain-next-name attribute specifies a name that is used to chain text boxes together for cases where the content of a text box exceeds its capacity. The content flows into the next text box in the chain. The value of this attribute is the name of the next text box in the chain.

The draw:chain-next-name attribute is usable with the following element: <draw:text-box> 10.4.3.

The draw:chain-next-name attribute has the data type string 18.2.

19.119 draw:class-id

The draw:class-id attribute specifies the OLE class id of an object.

The draw:class-id attribute is usable with the following element: <draw:object-ole> 10.4.6.3.

The draw:class-id attribute has the data type string 18.2.

19.120 draw:class-names

The draw:class-names attribute specifies a white-space-separated list of styles with the family value of graphic. The referenced styles are applied in the order they are contained in the list.

If both draw:style-name and draw:class-names are present, the style referenced by the draw:style-name attribute is applied before the styles referenced by the draw:class-names attribute.

The draw:class-names attribute is usable with the following elements: <dr3d:cube> 10.5.4, <dr3d:extrude> 10.5.6, <dr3d:rotate> 10.5.7, <dr3d:scene> 10.5.2, <dr3d:sphere> 10.5.5, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:annotation> 14.1.

The draw:class-names attribute has the data type styleNameRefs 18.3.33.

19.121 draw:code

The draw:code attribute is equivalent to the code attribute of an <applet> element in HTML. See. §13.4 of [HTML4].

The draw:code attribute is usable with the following element: <draw:applet> 10.4.7.

The draw:code attribute has the data type string 18.2.

19.122 draw:color

19.122.1 General

The draw:color attribute specifies different colors depending upon the element where it appears.

19.122.2 <draw:hatch>

The draw:color attribute specifies the color of hatch lines.

The draw:color attribute is usable with the following element: <draw:hatch> 16.42.5.

The draw:color attribute has the data type color 18.3.9.

19.122.3 <presentation:dim>

The draw:color attribute specifies the color of that is used to fill a shape when the shape is dimmed.

The draw:color attribute is usable with the following element: <presentation:dim> 10.8.7.

The draw:color attribute has the data type color 18.3.9.

19.123 draw:concave

 

The draw:concave attribute specifies whether the basic model of the polygon is a regular, convex polygon or a star-shaped polygon.

The defined values for the draw:concave attribute are:

The draw:concave attribute is usable with the following element: <draw:regular-polygon> 10.3.6.

19.124 draw:concentric-gradient-fill-allowed

The draw:concentric-gradient-fill-allowed attribute specifies the rendering of a shape with a concentric gradient that uses a custom shape path.

The defined values for the draw:concentric-gradient-fill-allowed attribute are:

The default value for this attribute is false.

The draw:concentric-gradient-fill-allowed attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:concentric-gradient-fill-allowed attribute has the data type boolean 18.3.3.

19.125 draw:control

The draw:control attribute specifies a control within a form that is linked to the control shape by its ID.

The draw:control attribute is usable with the following element: <draw:control> 10.3.13.

The draw:control attribute has the data type IDREF 18.2.

19.126 draw:copy-of

The draw:copy-of attribute specifies that a frame displays the contents of another frame. This does not effect style and position information. The style and position information of the frame with the draw:copy-of attribute is used to render the copied contents.

Note: Multiple frames can be set to display the exact same underlying data: for instance for a company logo, that that is to appear somewhere on every page, without being part of a header or footer.

The draw:copy-of attribute is usable with the following element: <draw:frame> 10.4.2.

The draw:copy-of attribute has the data type string 18.2.

19.127 draw:corner-radius

The draw:corner-radius attribute specifies the radius of the circle used to round off the corners of a caption <draw:caption>, rectangle <draw:rect>, or a text-box <draw:text-box>.

The svg:rx 19.554 and svg:ry 19.555 attributes can also be used to round off the corners of a rectangle <draw:rect>.

If svg:rx and/or svg:ry and draw:corner-radius attributes are present on an element, the svg:rx and svg:ry attributes control the rounding applied to the shape defined by the element. If one or both of svg:rx and svg:ry attributes are present, any draw:corner-radius attribute is ignored.

The draw:corner-radius attribute is usable with the following elements: <draw:caption> 10.3.11, <draw:rect> 10.3.2, <draw:text-box> 10.4.3 and <office:annotation> 14.1.

The draw:corner-radius attribute has the data type nonNegativeLength 18.3.20.

19.128 draw:corners

 

The draw:corners attribute specifies the number of corners for a regular-polygon shape. If the draw:concave 19.123 attribute of the <draw:regular-polygon> 10.3.6 element has the value false, the value of the draw:corners attribute specifies the number of corners of the polygon. If the draw:concave attribute has the value true, the polygon has twice as many corners as the value of the draw:corners attribute.

Note: The drawing of polygons is further described at the draw:sharpness 19.211 attribute.

The draw:corners attribute is usable with the following element: <draw:regular-polygon> 10.3.6.

The draw:corners attribute has the data type positiveInteger 18.2.

19.129 draw:cx

The draw:cx attribute, along with the draw:cy 19.130 attribute, specifies the center of the geometry that is used for a gradient 19.218.2, if the gradient style is ellipsoid, radial, rectangular, or square.

The draw:cx attribute is usable with the following elements: <draw:gradient> 16.42.1 and <draw:opacity> 16.42.7.

The draw:cx attribute has the data type percent 18.3.23.

19.130 draw:cy

The draw:cy attribute, along with the draw:cx 19.129 attribute, specifies the center of the geometry that is used for a gradient, if the gradient 19.218.2 style is ellipsoid, radial, rectangular, or square.

The draw:cy attribute is usable with the following elements: <draw:gradient> 16.42.1 and <draw:opacity> 16.42.7.

The draw:cy attribute has the data type percent 18.3.23.

19.131 draw:data

The draw:data attribute specifies rendering-engine-specific data for a custom shape. This attribute is only evaluated if a rendering engine is specified by the draw:engine attribute.

The draw:data attribute is usable with the following element: <draw:custom-shape> 10.6.1.

The draw:data attribute has the data type string 18.2.

19.132 draw:display

The draw:display attribute specifies the visibility of drawing objects contained in a layer for display or printing.

The defined values for the draw:display attribute are:

The default value for this attribute is always.

The draw:display attribute is usable with the following element: <draw:layer> 10.2.3.

The values of the draw:display attribute are always, screen, printer or none.

19.133 draw:display-name

19.133.1 General

The draw:display-name attribute specifies a name as it should appear in the user interface.  If this attribute is not present, the display name is the same as the internal name.

19.133.2 <draw:fill-image>

The draw:display-name attribute specifies the name of a fill image.

The draw:display-name attribute is usable with the following element: <draw:fill-image> 16.42.6.

The draw:display-name attribute has the data type string 18.2.

19.133.3 <draw:gradient>

The draw:display-name attribute specifies the name of a gradient.

The draw:display-name attribute is usable with the following element: <draw:gradient> 16.42.1.

The draw:display-name attribute has the data type string 18.2.

19.133.4 <draw:hatch>

The draw:display-name attribute specifies the name of a hatch style.

The draw:display-name attribute is usable with the following element: <draw:hatch> 16.42.5.

The draw:display-name attribute has the data type string 18.2.

19.133.5 <draw:marker>

The draw:display-name attribute specifies the name of a marker.

The draw:display-name attribute is usable with the following element: <draw:marker> 16.42.8.

The draw:display-name attribute has the data type string 18.2.

19.133.6 <draw:opacity>

The draw:display-name attribute specifies the name of an opacity gradient.

The draw:display-name attribute is usable with the following element: <draw:opacity> 16.42.7.

The draw:display-name attribute has the data type string 18.2.

19.133.7 <draw:stroke-dash>

The draw:display-name attribute specifies the name of a dash style.

The draw:display-name attribute is usable with the following element: <draw:stroke-dash> 16.42.9.

The draw:display-name attribute has the data type string 18.2.

19.133.8 <svg:linearGradient>

The draw:display-name attribute specifies the name of a gradient.

The draw:display-name attribute is usable with the following element: <svg:linearGradient> 16.42.2.

The draw:display-name attribute has the data type string 18.2.

19.133.9 <svg:radialGradient>

The draw:display-name attribute specifies the name of a gradient.

The draw:display-name attribute is usable with the following element: <svg:radialGradient> 16.42.3.

The draw:display-name attribute has the data type string 18.2.

19.134 draw:distance

19.134.1 General

The draw:distance attribute specifies distances.

19.134.2 <draw:hatch>

The draw:distance attribute specifies the distance between two hatch lines.

The draw:distance attribute is usable with the following element: <draw:hatch> 16.42.5.

The draw:distance attribute has the data type length 18.3.18.

19.134.3 <draw:stroke-dash>

The draw:distance attribute specifies the distance between the dashes of a stroke.

The value of the attribute may be an absolute length or a percentage value. Percentage values are relative to the width of the stroke as defined by the svg:stroke-width attribute. 20.410

The draw:distance attribute is usable with the following element: <draw:stroke-dash> 16.42.9.

The values of the draw:distance attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

19.135 draw:dots1

The draw:dots1 attribute specifies the number of dashes for the first sequence in an alternating sequence of dots.

The draw:dots1 attribute is usable with the following element: <draw:stroke-dash> 16.42.9.

The draw:dots1 attribute has the data type integer 18.2.

19.136 draw:dots1-length

The draw:dots1-length attributes specifies the length of the dashes in the sequence specified by draw:dots1.

The value of the attribute may be an absolute length or a percentage value. Percentage values are relative to the width of the stroke as defined by the svg:stroke-width attribute. 20.410

The draw:dots1-length attribute is usable with the following element: <draw:stroke-dash> 16.42.9.

The values of the draw:dots1-length attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

19.137 draw:dots2

The draw:dots2 attribute specifies the number of dashes for the second sequence in an alternating sequence of dots.

The draw:dots2 attribute is usable with the following element: <draw:stroke-dash> 16.42.9.

The draw:dots2 attribute has the data type integer 18.2.

19.138 draw:dots2-length

The draw:dots2-length attributes specifies the length of the dashes in the sequence specified by draw:dots2.

The value of the attribute may be an absolute length or a percentage value. Percentage values relative to the width of the stroke as defined by the svg:stroke-width attribute. 20.410

The draw:dots2-length attribute is usable with the following element: <draw:stroke-dash> 16.42.9.

The values of the draw:dots2-length attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

19.139 draw:end

The draw:end attributes specifies the end value for the <draw:opacity> 16.42.7 element, which interpolates between the value of this attribute and draw:start. The defined value range for the draw:end attribute is 0% to 100%, where 0% is transparent and 100% is opaque.

The draw:end attribute is usable with the following element: <draw:opacity> 16.42.7.

The draw:end attribute has the data type zeroToHundredPercent 18.3.41.

19.140 draw:end-angle

The draw:end-angle attribute specifies the end angle of an arc, cut, or section for circles where the draw:kind 19.188 attribute value is arc, cut, or section.

The draw:end-angle attribute is usable with the following elements: <draw:circle> 10.3.8 and <draw:ellipse> 10.3.9.

The draw:end-angle attribute has the data type angle 18.3.1.

19.141 draw:end-color

The draw:end-color attribute specifies the end value for the <draw:gradient> element, which interpolates between the value of this attribute and draw:start-color 19.214.

The draw:end-color attribute is usable with the following element: <draw:gradient> 16.42.1.

The draw:end-color attribute has the data type color 18.3.9.

19.142 draw:end-glue-point

The draw:end-glue-point attribute identifies the glue point in a shape where a connector ends by its number. See 10.3.16. Glue point numbers are defined by the draw:id attributes of the glue point elements <draw:glue-point>. 19.187.2

If the connector is not connected to a shape, this attribute is ignored.

The draw:end-glue-point attribute is usable with the following element: <draw:connector> 10.3.10.

The draw:end-glue-point attribute has the data type nonNegativeInteger 18.2.

19.143 draw:end-intensity

The draw:end-intensity attribute specifies the intensity of the gradient's end color as a percentage value. If it is not specified, the color is used at 100% intensity. The defined value range for the draw:end-intensity attribute is 0% to 100%,

The draw:end-intensity attribute is usable with the following element: <draw:gradient> 16.42.1.

The draw:end-intensity attribute has the data type zeroToHundredPercent 18.3.41.

19.144 draw:end-shape

The draw:end-shape attribute specifies a drawing shape to which the end of a connector is connected.

The draw:end-shape attribute is usable with the following element: <draw:connector> 10.3.10.

The draw:end-shape attribute has the data type IDREF 18.2.

19.145 draw:enhanced-path

The draw:enhanced-path attribute specifies a path that is the outline of a shape.

The syntax of a value for a draw:enhanced-path attribute is defined as:

A parameter in the value of a draw:enhanced-path attribute may be:

The syntax used in Table 10 for parameters is:

  • (): grouping of parameters. 

  • +: 1 or more of the given parameter(s) shall be present. 

The following commands are defined:

Table 10 - Enhanced path commands

Command

Name

Parameters

Description

A

arcto

(x1 y1 x2 y2 x3 y3 x4 y4) +

(x1, y1) and (x2, y2) define the bounding box of an ellipse. A line is then drawn from the current point to the start angle of the arc that is specified by the radial vector of point (x3, y3) and then counter-clockwise to the end-angle that is specified by point (x4, y4).

B

arc

(x1 y1 x2 y2 x3 y3 x4 y4) +

The same as the “A” command, except that an implied moveto to the starting point is done.

C

curveto

(x1 y1 x2 y2 x y) +

Draws a cubic Bézier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve.

F

nofill

(none)

Specifies that the current set of sub-paths will not be filled.

L

lineto

(x y) +

Draws a line from the current point to (x, y). If followed by multiple coordinate pairs, they are all interpreted as lineto.

M

moveto

(x y) +

Start a new sub-path at the given (x,y) coordinate. If a moveto is followed by multiple pairs of coordinates, they are treated as lineto.

N

endpath

(none)

Ends the current set of sub-paths. The sub-paths will be filled by using the “even-odd” filling rule. Other following subpaths will be filled independently.

Q

quadratic­curveto

(x1 y1 x y)+

Draws a quadratic Bézier curve from the current point to (x, y) using (x1, y1) as the control point. (x, y) becomes the new current point at the end of the command.

S

nostroke

(none)

Specifies that the current set of sub-paths will not be stroked.

T

angle­ellipseto

(x y wR hR t0 t1) +

Draws a segment of an ellipse.  The ellipse is specified by the center(x, y), the width 2*wR, the height 2*hR, and the start-angle t0 in degrees and end-angle t1 in degrees. The segment is drawn clockwise.

U

angle­ellipse

(x y wR hR t0 t1) +

The same as the “T” command, except that an implied moveto to the starting point is done.

V

clockwise­arc

(x1 y1 x2 y2 x3 y3 x y)+

The same as the “A” command, except that an implied moveto to the starting point is done and the arc is drawn clockwise.

W

clockwise­arcto

(x1 y1 x2 y2 x3 y3 x y) +

The same as the “A” command except, that the arc is drawn clockwise.

X

elliptical­quatrantx

(x y) +

Draws a quarter ellipse, whose initial segment is tangential to the x-axis from the current point to (x, y). For each additional quarter ellipse command, the axis to which the segment is tangential to switches from x to y and from y to x.

Y

elliptical­quadranty

(x y) +

Draws a quarter ellipse, whose initial segment is tangential to the y-axis from the current point to (x, y). For each additional quarter ellipse command, the axis to which the segment is tangential to switches from y to x and from x to y

Z

closepath

(none)

Close the current sub-path by drawing a straight line from the current point to current sub-path's initial point.

Note: The value of the draw:enhanced-path attribute is based upon [SVG] §8.3.

The draw:enhanced-path attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:enhanced-path attribute has the data type string 18.2.

19.146 draw:engine

The draw:engine attribute specifies the name of a specific rendering engine that can be used to render a custom shape.

The value of the draw:engine attribute shall not influence the geometry of a shape.

The draw:engine attribute is usable with the following element: <draw:custom-shape> 10.6.1.

The draw:engine attribute has the data type namespacedToken 18.3.19.

19.147 draw:escape-direction

The draw:escape-direction attribute specifies the direction in which a connection line leaves a drawing object if a connector connects to a glue point.

The defined values for the draw:escape-direction attribute are:

The draw:escape-direction attribute is usable with the following element: <draw:glue-point> 10.3.16.

The values of the draw:escape-direction attribute are auto, left, right, up, down, horizontal or vertical.

19.148 draw:extrusion

The draw:extrusion attribute specifies if an extrusion is displayed.

The defined values for the draw:extrusion attribute are:

The default value for this attribute is false.

The draw:extrusion attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion attribute has the data type boolean 18.3.3.

19.149 draw:extrusion-allowed

The draw:extrusion-allowed attribute specifies whether a shape can be rendered as an extrusion object.

The defined values for the draw:extrusion-allowed attribute are:

The default value for this attribute is false.

The draw:extrusion-allowed attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-allowed attribute has the data type boolean 18.3.3.

19.150 draw:extrusion-brightness

The draw:extrusion-brightness attribute specifies the brightness of a scene.

The default value for this attribute is 33%.

The draw:extrusion-brightness attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-brightness attribute has the data type zeroToHundredPercent 18.3.41.

19.151 draw:extrusion-color

The draw:extrusion-color attribute specifies if an extrusion color is used. The extrusion color is defined by the draw:secondary-fill-color 20.157 attribute specified in a custom shape's graphic style.

The defined values for the draw:extrusion-color attribute are:

  • false: extrusion color is not used. 

  • true: extrusion color is used. 

The default value for this attribute is false.

The draw:extrusion-color attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-color attribute has the data type boolean 18.3.3.

19.152 draw:extrusion-depth

The draw:extrusion-depth attribute specifies the depth of an extrusion. It takes two white space separated values. The first value specifies the depth of the extrusion in units, the second value specifies the fraction of the extrusion that lies before a shape. The second value shall be in the range [0,1]. A value of 0 is the default.

The default value for this attribute is 36pt 0.

The draw:extrusion-depth attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-depth attribute has two white space separated values. The first value is of type length 18.3.18. The second value is of type double 18.2.

19.153 draw:extrusion-diffusion

The draw:extrusion-diffusion attribute specifies the amount of diffusion reflected by a shape.

The default value for this attribute is 0%.

The draw:extrusion-diffusion attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-diffusion attribute has the data type percent 18.3.23.

19.154 draw:extrusion-first-light-direction

The draw:extrusion-first-light-direction attribute specifies the direction of the first light.

The default value for this attribute is (5 0 1).

The draw:extrusion-first-light-direction attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-first-light-direction attribute has the data type vector3D 18.3.40.

19.155 draw:extrusion-first-light-harsh

The draw:extrusion-first-light-harsh attribute specifies if the first light is harsh.

The defined values for the draw:extrusion-first-light-harsh attribute are:

The default value for this attribute is true.

The draw:extrusion-first-light-harsh attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-first-light-harsh attribute has the data type boolean 18.3.3.

19.156 draw:extrusion-first-light-level

The draw:extrusion-first-light-level attribute specifies the intensity of the first light.

The default value for this attribute is 66%.

The draw:extrusion-first-light-level attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-first-light-level attribute has the data type zeroToHundredPercent 18.3.41.

19.157 draw:extrusion-light-face

The draw:extrusion-light-face attribute specifies if the front face of an extrusion responds to lighting changes.

The defined values for the draw:extrusion-light-face attribute are:

The default value for this attribute is true.

The draw:extrusion-light-face attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-light-face attribute has the data type boolean 18.3.3.

19.158 draw:extrusion-metal

The draw:extrusion-metal attribute specifies the shading of an extruded shape.

The defined values for the draw:extrusion-metal attribute are:

The default value for this attribute is false.

The draw:extrusion-metal attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-metal attribute has the data type boolean 18.3.3.

19.159 draw:extrusion-number-of-line-segments

The draw:extrusion-number-of-line-segments attribute specifies the number of line segments that should be used to display curved surfaces.

The default value for this attribute is 30.

The draw:extrusion-number-of-line-segments attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-number-of-line-segments attribute has the data type integer 18.2.

19.160 draw:extrusion-origin

The draw:extrusion-origin attribute specifies the point of origin of a shape within its bounding box in shape-size fractions. The value of the draw:extrusion-origin attribute consists of two parameters separated by white space.

The first parameter represents the horizontal origin of a shape.

The defined values for the first parameter of the draw:extrusion-origin attribute are:

The second parameter represents the vertical origin of a shape.

The defined values for the second parameter of the draw:extrusion-origin attribute are:

The default value for this attribute is 0.5 -0.5.

The draw:extrusion-origin attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-origin attribute has two white space separated values. The first value is a value of type double 18.2 in the range [-0.5,0.5]. The second value is a value of type double 18.2 in the range [-0.5,0.5].

19.161 draw:extrusion-rotation-angle

The draw:extrusion-rotation-angle attribute specifies rotation about an x-axis and y-axis. The values are separated by a white space. The first angle specifies rotation on the x-axis and the second angle specifies rotation on the y-axis. z-axis is specified by the draw:transform 19.228 attribute on the <draw:custom-shape> 10.6.1 element.

The order of the rotation is: z-axis, y-axis and then x-axis.

The default value for this attribute is 0 0.

The draw:extrusion-rotation-angle attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-rotation-angle attribute has two white space separated values. The first value is of type angle 18.3.1. The second value is of type angle 18.3.1.

19.162 draw:extrusion-rotation-center

The draw:extrusion-rotation-center attribute specifies the position of a rotation center in shape-size fractions. If the draw:extrusion-rotation-center attribute is omitted, the geometric center of the shape is used as the rotation center.

The draw:extrusion-rotation-center attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-rotation-center attribute has the data type vector3D 18.3.40.

19.163 draw:extrusion-second-light-direction

The draw:extrusion-second-light-direction attribute specifies the direction of the second light.

The default value for this attribute is (-5 0 1).

The draw:extrusion-second-light-direction attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-second-light-direction attribute has the data type vector3D 18.3.40.

19.164 draw:extrusion-second-light-harsh

The draw:extrusion-second-light-harsh attribute specifies if the second light is harsh.

The defined values for the draw:extrusion-second-light-harsh attribute are:

The default value for this attribute is true.

The draw:extrusion-second-light-harsh attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-second-light-harsh attribute has the data type boolean 18.3.3.

19.165 draw:extrusion-second-light-level

The draw:extrusion-second-light-level attribute specifies the intensity of the second light.

The default value for this attribute is 66%.

The draw:extrusion-second-light-level attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-second-light-level attribute has the data type zeroToHundredPercent 18.3.41.

19.166 draw:extrusion-shininess

The draw:extrusion-shininess attribute specifies the reflectivity of a mirror.

The default value for this attribute is 50%.

The draw:extrusion-shininess attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-shininess attribute has the data type zeroToHundredPercent 18.3.41.

19.167 draw:extrusion-skew

The draw:extrusion-skew attribute specifies the skew amount and skew angle of an extrusion. Skew settings are only applied if the dr3d:projection 19.102 attribute on the same element has the value parallel.

The attribute value is a white space separated number and angle. The first value defines the skew amount in percent, the second value defines the skew angle.

The default value for this attribute is 50 45.

The draw:extrusion-skew attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-skew attribute has two white space separated values. The first value is of type double 18.2. The second value is of type angle 18.3.1.

19.168 draw:extrusion-specularity

The draw:extrusion-specularity attribute specifies the specularity of an extrusion object.

The default value for this attribute is 0%.

The draw:extrusion-specularity attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-specularity attribute has the data type zeroToHundredPercent 18.3.41.

19.169 draw:extrusion-viewpoint

The draw:extrusion-viewpoint attribute specifies the viewpoint of an observer as a 3D point.

The default value for this attribute is (3.5cm -3.5cm 25cm).

The draw:extrusion-viewpoint attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:extrusion-viewpoint attribute has the data type point3D 18.3.24.

19.170 draw:filter-name

The draw:filter-name attribute specifies the implementation-dependent filter name that has been used to load an image into the document.

The draw:filter-name attribute is usable with the following element: <draw:image> 10.4.4.

The draw:filter-name attribute has the data type string 18.2.

19.171 draw:formula

The draw:formula attribute specifies an equation that should be used to evaluate a value.

The value of a draw:formula attribute can have one of the following parameters:

formula::=additive_expression

identifier::= 'pi' | 'left' | 'top' | 'right' | 'bottom' | 'xstretch'

 | 'ystretch' | 'hasstroke' | 'hasfill' | 'width' | 'height' | 'logwidth'

 | 'logheight'

unary_function::= 'abs' | 'sqrt' | 'sin' | 'cos' | 'tan' | 'atan'

binary_function::= 'min' | 'max' | 'atan2'

ternary_function::= 'if'

basic_expression::= number

 | identifier

 | function_reference

 | modifier_reference

 | unary_function S* '(' S* additive_expression S* ')'

 | binary_function S* '(' S* additive_expression S* ',' S*

  additive_expression S* ')'

 | ternary_function S* '(' S* additive_expression S* ',' S*

  additive_expression S* ',' S* additive_expression S* ')'

 | '(' S* additive_expression S* ')'

unary_expression::= '-' S* basic_expression | basic_expression

multiplicative_expression::= unary_expression  ( ( S* '*' S* unary_expression )

 | ( S* '/' S* unary_expression ) )*

additive_expression::= multiplicative_expression

 ( ( S* '+' S* multiplicative_expression )

 | ( S* '-' S* multiplicative_expression ) )*

number::= sign? Integer | sign? Floating-point-constant

function_reference::= "?" name

modifier_reference::= "$" integer

floating-point-constant::= fractional-constant exponent? | integer exponent

fractional-constant::= integer? '.' integer | integer '.'

exponent::= ( 'e' | 'E' ) sign? Integer

sign::= '+' | '-'

name::= [^#x20#x9]+

integer::= [0-9]+

S::= (#x20 | #x9)

Table 11 - Enhanced geometry equation identifiers

Identifier

Description

bottom

The bottom position of the svg:viewBox 19.574 attribute is used.

hasfill

If the shape has a fill style, a value of 1 is used. If the shape has no fill style, a value of 0 is used.

hasstroke

If the shape has a line style, a value of 1 is used. If the shape has no line style, a value of 0 is used.

height

The height of the svg:viewBox 19.574 attribute is used.

left

The left position of the svg:viewBox 19.574 attribute is used.

logheight

The height in 1/100th mm as specified by the svg:height 19.543 attribute is used.

logwidth

The width in 1/100th mm as specified by the svg:width 19.575 attribute is used.

right

The right position of the svg:viewBox 19.574 attribute is used.

top

The top position of the svg:viewBox 19.574 attribute is used.

width

The width of the svg:viewBox 19.574 attribute is used.

xstretch

The value of the draw:path-stretchpoint-x 19.204 attribute is used.

ystretch

The value of the draw:path-stretchpoint-y 19.205 attribute is used.

Table 12 - Functions Used in draw:formula

Function

Description

abs(n)

returns the absolute value of n

sqrt(n)

returns the positive square root of n

sin(n)

returns the trigonometric sine of n, where n is an angle specified in radians

cos(n)

returns the trigonometric cosine of n, where n is an angle specified in radians

tan(n)

returns the trigonometric tangent of n, where n is an angle specified in radians

atan(n)

returns the arc tangent of n in radians

min(x,y)

returns the smaller of two values

max(x,y)

returns the greater of two values

atan2(y,x)

returns the angle in radians of the vector (x,y) with the x-axis

if(c,x,y)

conditional testing: if c is greater than zero then the result of evaluating x is returned, otherwise the result of evaluating y is returned.

The draw:formula attribute is usable with the following element: <draw:equation> 10.2.5.

The draw:formula attribute has the data type string 18.2.

19.172 draw:frame-name

The draw:frame-name attribute specifies the name of a frame. The name of a frame can be used as a target by hyperlinks.

The draw:frame-name attribute is usable with the following element: <draw:floating-frame> 10.4.10.

The draw:frame-name attribute has the data type string 18.2.

19.173 draw:glue-point-leaving-directions

The draw:glue-point-leaving-directions attribute specifies a comma “,” (U+002C, COMMA) separated list of angles. The angles are listed in the same order as the glue points specified in the draw:glue-points attribute. 19.175

The draw:glue-point-leaving-directions attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:glue-point-leaving-directions attribute has the data type string 18.2.

19.174 draw:glue-point-type

The draw:glue-point-type attribute specifies a glue point type. If the draw:glue-points 19.175 attribute has a value, this attribute is ignored.

The defined values for the draw:glue-point-type attribute are:

  • none: there are no glue points, including default glue points. 

  • rectangle: the middle of each side of the shape bound rectangle specifies an object specific glue point 

  • segments: a connector will connect with each point of the draw:enhanced-path 19.145 attribute. 

The default value for this attribute is none.

The draw:glue-point-type attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The values of the draw:glue-point-type attribute are none, segments or rectangle.

19.175 draw:glue-points

The draw:glue-points attribute specifies a list of object-defined glue points. Unlike the user-defined glue points which are defined by the <draw:glue-point> sub-element, the position of an object-defined glue point can be defined using equations and modifiers.

The first parameter specifies the horizontal position of the glue point.

The second parameter specifies the vertical position of the glue point.

Each parameter can be a floating-point number, or it can also have one of the following enhancements:

The value of a draw:glue-points attribute is formally defined as:

gluepoints::= gluepointsequence?
gluepointsequence::= gluepoint ( ' '+ gluepointsequence )*
glue-point::= position ' '+ position
position::= formula | modifier | number
formula::= '?' name
modifier::= '$' integer
number::= sign? float | sign? integer
float::= fractional exponent? | integer exponent
fractional::= integer? '.' integer | integer '.'
exponent::= ( 'e' | 'E' ) sign? integer
sign::= '+'| '-'
integer::= [0-9]+
name ::= [^ ]+

The draw:glue-points attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:glue-points attribute has the data type string 18.2.

19.176 draw:handle-mirror-horizontal

The draw:handle-mirror-horizontal attribute specifies if the y position of a handle is mirrored.

The defined values for the draw:handle-mirror-horizontal attribute are:

The default value for this attribute is false.

The draw:handle-mirror-horizontal attribute is usable with the following element: <draw:handle> 10.6.3.

The draw:handle-mirror-horizontal attribute has the data type boolean 18.3.3.

19.177 draw:handle-mirror-vertical

The draw:handle-mirror-vertical attribute specifies if the x position of a handle is mirrored.

The defined values for the draw:handle-mirror-vertical attribute are:

The default value for this attribute is false.

The draw:handle-mirror-vertical attribute is usable with the following element: <draw:handle> 10.6.3.

The draw:handle-mirror-vertical attribute has the data type boolean 18.3.3.

19.178 draw:handle-polar

The draw:handle-polar attribute specifies that a handle is a polar handle. The syntax for this attribute is the same as for the draw:handle-position 19.179 attribute. The first parameter specifies the horizontal center position, the vertical center position is specified by the second parameter. If this attribute is set, the draw:handle-range-x-minimum 19.183, draw:handle-range-x-maximum 19.182, draw:handle-range-y-minimum 19.185 and draw:handle-range-y-maximum 19.184 attributes are ignored, and the draw:handle-radius-range-minimum 19.181 and draw:handle-radius-range-maximum 19.180 attributes are used.

The draw:handle-polar attribute is usable with the following element: <draw:handle> 10.6.3.

The draw:handle-polar attribute has the data type string 18.2.

19.179 draw:handle-position

The draw:handle-position attribute specifies the position of a handle and consists of two values.

Each value can be a floating-point number or it can have one of the following enhancements:

Table 13 - Handle position constants

Constant

Description

bottom

The bottom coordinate of the view box as specified by the svg:viewBox 19.574 attribute is used.

hasfill

If the shape has a fill style, a value of 1 is used.

hasstroke

If the shape has a line style, a value of 1 is used.

height

The view box height as specified by the svg:viewBox 19.574 attribute is used.

logheight

The height in 1/100th mm as specified by the svg:height 19.543 attribute is used.

logwidth

The width in 1/100th mm as specified by the svg:width 19.575 attribute is used.

left

The left coordinate of the view box as specified by the svg:viewBox 19.574 attribute is used.

right

The right coordinate of the view box as specified by the svg:viewBox 19.574 attribute is used.

top

The top coordinate of the view box as specified by the svg:viewBox 19.574 attribute is used.

width

The view box width as specified by the svg:viewBox 19.574 attribute is used.

xstretch

The value of the draw:path-stretchpoint-x 19.204 attribute is used.

ystretch

The value of the draw:path-stretchpoint-y 19.205 attribute is used.

If the draw:handle-polar 19.178 attribute is not set, the first parameter of the draw:handle-position attribute specifies the horizontal handle position, the vertical handle position is described by the second parameter. If the draw:handle-polar attribute is set, then a handle is a polar handle and the first parameter of the draw:handle-position attribute specifies the angle (as defined in 18.3.1), the handle radius is specified by the second parameter.

The value of a draw:handle-position attribute is formally defined as:

handleposition ::= position ' '+ position
position::= formula | modifier | constant | number
formula::= '?' name
modifier::= '$' integer
constant::= 'left' | 'top' | 'right' | 'bottom' |
'xstretch' | 'ystretch' | 'hasstroke' | 'hasfill ' |
'width' | 'height' | 'logwidth' | 'logheight'
number::=sign? float | sign? integer
float::= fractional exponent? | integer exponent
fractional::= integer? '.' integer | integer '.'
exponent::= ( 'e' | 'E' ) sign? integer
sign::= '+'| '-'
integer::= [0-9]+
name ::= [^ ]+

The draw:handle-position attribute is usable with the following element: <draw:handle> 10.6.3.

The draw:handle-position attribute has the data type string 18.2.

19.180 draw:handle-radius-range-maximum

The draw:handle-radius-range-maximum attribute specifies the maximum radius range for a polar handle. The syntax for the value of the draw:handle-radius-range-maximum attribute is the same as the draw:handle-position attribute, except that only the first parameter is used. 19.179

The draw:handle-radius-range-maximum attribute is usable with the following element: <draw:handle> 10.6.3.

The draw:handle-radius-range-maximum attribute has the data type string 18.2.

19.181 draw:handle-radius-range-minimum

The draw:handle-radius-range-minimum attribute specifies the minimum radius range for a polar handle. The syntax for the value of the draw:handle-radius-range-minimum attribute is the same as the draw:handle-position attribute, except that only the first parameter is used. 19.179

The draw:handle-radius-range-minimum attribute is usable with the following element: <draw:handle> 10.6.3.

The draw:handle-radius-range-minimum attribute has the data type string 18.2.

19.182 draw:handle-range-x-maximum

The draw:handle-range-x-maximum attribute specifies the horizontal maximum value of the range for movement of a handle. The syntax for the value of the draw:handle-range-x-maximum attribute is the same as the draw:handle-position attribute, except that only the first parameter is used. 19.179

The draw:handle-range-x-maximum attribute is usable with the following element: <draw:handle> 10.6.3.

The draw:handle-range-x-maximum attribute has the data type string 18.2.

19.183 draw:handle-range-x-minimum

The draw:handle-range-x-minimum attribute specifies the horizontal minimum value of the range of movement of a handle. The syntax for the value of the draw:handle-range-x-minimum attribute is the same as the draw:handle-position attribute, except that only the first parameter is used. 19.179

The draw:handle-range-x-minimum attribute is usable with the following element: <draw:handle> 10.6.3.

The draw:handle-range-x-minimum attribute has the data type string 18.2.

19.184 draw:handle-range-y-maximum

The draw:handle-range-y-maximum attribute specifies the vertical maximum value of the range for movement of a handle. The syntax for the value of the draw:handle-range-y-maximum attribute is the same as the draw:handle-position attribute, except that only the first parameter is used. 19.179

The draw:handle-range-y-maximum attribute is usable with the following element: <draw:handle> 10.6.3.

The draw:handle-range-y-maximum attribute has the data type string 18.2.

19.185 draw:handle-range-y-minimum

The draw:handle-range-y-minimum attribute specifies the vertical minimum value of the range of movement of a handle. The syntax for the value of the draw:handle-range-y-minimum attribute is the same as the draw:handle-position attribute, except that only the first parameter is used. 19.179

The draw:handle-range-y-minimum attribute is usable with the following element: <draw:handle> 10.6.3.

The draw:handle-range-y-minimum attribute has the data type string 18.2.

19.186 draw:handle-switched

The draw:handle-switched attribute specifies if handle directions are swapped if shape height exceeds shape width.

The defined values for the draw:handle-switched attribute are:

The default value for this attribute is false.

The draw:handle-switched attribute is usable with the following element: <draw:handle> 10.6.3.

The draw:handle-switched attribute has the data type boolean 18.3.3.

19.187 draw:id

19.187.1 General

The draw:id attribute specifies an identifier for an element.

19.187.2 <draw:glue-point>

The draw:id attribute specifies an identifier for a glue point. See 10.3.16. The identifiers 0 to 3 are reserved for the four standard glue points of drawing objects. The glue points are numbered clockwise, starting at the top left corner edge of the shape.

The draw:id attribute is usable with the following element: <draw:glue-point> 10.3.16.

The draw:id attribute has the data type nonNegativeInteger 18.2.

19.187.3 <dr3d:cube>, <dr3d:extrude>, <dr3d:rotate>, <dr3d:scene>, <dr3d:sphere>, <draw:caption>, <draw:circle>, <draw:connector>, <draw:control>, <draw:custom-shape>, <draw:ellipse>, <draw:frame>, <draw:g>, <draw:line>, <draw:measure>, <draw:page>, <draw:page-thumbnail>, <draw:path>, <draw:polygon>, <draw:polyline>, <draw:rect>, <draw:regular-polygon> and <office:annotation> Deprecated

The draw:id attribute specifies identifiers for draw elements.

OpenDocument consumers shall ignore a draw:id attribute if it occurs on a draw element with an xml:id attribute value.  

OpenDocument producers may write draw:id attributes for any draw element in addition to an xml:id attribute.

The value of a draw:id attribute shall equal the value of an xml:id attribute on the same element.

The draw:id attribute is deprecated in favor of xml:id. 19.920

The draw:id attribute is usable with the following elements: <dr3d:cube> 10.5.4, <dr3d:extrude> 10.5.6, <dr3d:rotate> 10.5.7, <dr3d:scene> 10.5.2, <dr3d:sphere> 10.5.5, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page> 10.2.4, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:annotation> 14.1.

The draw:id attribute has the data type NCName 18.2.

19.188 draw:kind

The draw:kind attribute specifies the appearance of a circle.

The defined values for the draw:kind attribute are:

The default value for this attribute is full.

The draw:kind attribute is usable with the following elements: <draw:circle> 10.3.8 and <draw:ellipse> 10.3.9.

The values of the draw:kind attribute are full, section, cut or arc.

19.189 draw:layer

The draw:layer attribute specifies the name of a layer in the layer-set of a document.

Note: The effect of this attribute is to assign a shape to a particular layer.

The draw:layer attribute is usable with the following elements: <dr3d:cube> 10.5.4, <dr3d:extrude> 10.5.6, <dr3d:rotate> 10.5.7, <dr3d:scene> 10.5.2, <dr3d:sphere> 10.5.5, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:annotation> 14.1.

The draw:layer attribute has the data type string 18.2.

19.190 draw:line-skew

The draw:line-skew attribute specifies a list of offsets for the placements of connector lines if the connector is of type standard. The offsets are relative to the default position of the connector, that is, the position of the lines if the draw:line-skew attribute is not present. The offsets are applied in the order from the connector's start to its end shape. The first offset is applied to the line that follows the line that is connected to the start shape. The last line to which an offset is applied is the line that precedes the line that is connected to the end shape.

For the application of the offsets the connector lines are interpreted as vectors from their start to their end point. Positive values move a line to the right, while negative values move it to the left.

The draw:line-skew attribute is usable with the following element: <draw:connector> 10.3.10.

The values of the draw:line-skew attribute are one, two or three white space separated values of type length 18.3.18.

19.191 draw:mime-type

The draw:mime-type attribute specifies the MIME type of the media type that a plugin processes, or the MIME type of the image given by a <draw:image> element. Valid values for this attribute are those defined in accordance with §3.7 of [RFC2616], or registered in accordance with [RFC6838].

Note: Additional information on MIME media types can be found at [MIMETYPES].

The draw:mime-type attribute is usable with the following elements: <draw:image> 10.4.4 and <draw:plugin> 10.4.8.

The draw:mime-type attribute has the data type string 18.2.

19.192 draw:mirror-horizontal

The draw:mirror-horizontal attribute specifies if the horizontal geometry of a shape is to be mirrored.

The defined values for the draw:mirror-horizontal attribute are:

The default value for this attribute is false.

The draw:mirror-horizontal attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:mirror-horizontal attribute has the data type boolean 18.3.3.

19.193 draw:mirror-vertical

The draw:mirror-vertical attribute specifies if the vertical geometry of a shape is to be mirrored.

The defined values for the draw:mirror-vertical attribute are:

The default value for this attribute is false.

The draw:mirror-vertical attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:mirror-vertical attribute has the data type boolean 18.3.3.

19.194 draw:master-page-name

The draw:master-page-name attribute specifies the name of a master page assigned to a drawing page.

The draw:master-page-name attribute is usable with the following element: <draw:page> 10.2.4.

The draw:master-page-name attribute has the data type styleNameRef 18.3.32.

19.195 draw:may-script

The draw:may-script attribute specifies whether an applet can be modified by scripts.

The defined values for the draw:may-script attribute are:

The default value for this attribute is false.

The draw:may-script attribute is usable with the following element: <draw:applet> 10.4.7.

The draw:may-script attribute has the data type boolean 18.3.3.

19.196 draw:modifiers

The draw:modifiers attribute contains list of modifier values.

The value of a draw:modifiers attribute is formally defined as:

modifiers::= numbersequence?
numbersequence::= number ( ' '+ numbersequence )*
number::= sign? float | sign? integer
float::= fractional exponent? | integer exponent
fractional::= integer? '.' integer | integer '.'
exponent::= ( 'e' | 'E' ) sign? integer
sign::= '+'| '-'
integer::= [0-9]+

The draw:modifiers attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:modifiers attribute has the data type string 18.2.

19.197 draw:name

19.197.1 General

The draw:name attribute specifies names that are used for referencing graphical elements.

19.197.2 <draw:caption>

The draw:name attribute specifies a name by which a <draw:caption> element can be referenced.

The draw:name attribute is usable with the following element: <draw:caption> 10.3.11.

The draw:name attribute has the data type string 18.2.

19.197.3 <draw:circle>

The draw:name attribute specifies a name by which a <draw:circle> element can be referenced.

The draw:name attribute is usable with the following element: <draw:circle> 10.3.8.

The draw:name attribute has the data type string 18.2.

19.197.4 <draw:connector>

The draw:name attribute specifies a name by which a <draw:connector> element can be referenced.

The draw:name attribute is usable with the following element: <draw:connector> 10.3.10.

The draw:name attribute has the data type string 18.2.

19.197.5 <draw:control>

The draw:name attribute specifies a name by which a <draw:control> element can be referenced.

The draw:name attribute is usable with the following element: <draw:control> 10.3.13.

The draw:name attribute has the data type string 18.2.

19.197.6 <draw:custom-shape>

The draw:name attribute specifies a name by which a <draw:custom-shape> element can be referenced.

The draw:name attribute is usable with the following element: <draw:custom-shape> 10.6.1.

The draw:name attribute has the data type string 18.2.

19.197.7 <draw:ellipse>

The draw:name attribute specifies a name by which a <draw:ellipse> element can be referenced.

The draw:name attribute is usable with the following element: <draw:ellipse> 10.3.9.

The draw:name attribute has the data type string 18.2.

19.197.8 <draw:equation>

The draw:name attribute specifies a name by which a <draw:equation> element can be referenced.

The draw:name attribute is usable with the following element: <draw:equation> 10.2.5.

The draw:name attribute has the data type string 18.2.

19.197.9 <draw:fill-image>

The draw:name attribute specifies a name by which a <draw:fill-image> element can be referenced.

The draw:name attribute is usable with the following element: <draw:fill-image> 16.42.6.

The draw:name attribute has the data type styleName 18.3.31.

19.197.10 <draw:frame>

The draw:name attribute specifies a name by which a <draw:frame> element can be referenced.

The draw:name attribute is usable with the following element: <draw:frame> 10.4.2.

The draw:name attribute has the data type string 18.2.

19.197.11 <draw:g>

The draw:name attribute specifies a name by which a <draw:g> element can be referenced.

The draw:name attribute is usable with the following element: <draw:g> 10.3.15.

The draw:name attribute has the data type string 18.2.

19.197.12 <draw:gradient>

The draw:name attribute specifies a name by which a <draw:gradient> element can be referenced.

The draw:name attribute is usable with the following element: <draw:gradient> 16.42.1.

The draw:name attribute has the data type styleName 18.3.31.

19.197.13 <draw:hatch>

The draw:name attribute specifies a name by which a <draw:hatch> element can be referenced.

The draw:name attribute is usable with the following element: <draw:hatch> 16.42.5.

The draw:name attribute has the data type styleName 18.3.31.

19.197.14 <draw:layer>

The draw:name attribute specifies a name by which a <draw:layer> element can be referenced.

The draw:name attribute is usable with the following element: <draw:layer> 10.2.3.

The draw:name attribute has the data type string 18.2.

19.197.15 <draw:line>

The draw:name attribute specifies a name by which a <draw:line> element can be referenced.

The draw:name attribute is usable with the following element: <draw:line> 10.3.3.

The draw:name attribute has the data type string 18.2.

19.197.16 <draw:marker>

The draw:name attribute specifies a name by which a <draw:marker> element can be referenced.

The draw:name attribute is usable with the following element: <draw:marker> 16.42.8.

The draw:name attribute has the data type styleName 18.3.31.

19.197.17 <draw:measure>

The draw:name attribute specifies a name by which a <draw:measure> element can be referenced.

The draw:name attribute is usable with the following element: <draw:measure> 10.3.12.

The draw:name attribute has the data type string 18.2.

19.197.18 <draw:opacity>

The draw:name attribute specifies a name by which a <draw:opacity> element can be referenced.

The draw:name attribute is usable with the following element: <draw:opacity> 16.42.7.

The draw:name attribute has the data type styleName 18.3.31.

19.197.19 <draw:page>

The draw:name attribute specifies a name by which a <draw:page> element can be referenced. The name shall be unique within the document instance. If the attribute is not present, a consumer may generate a unique name.

The draw:name attribute is usable with the following element: <draw:page> 10.2.4.

The draw:name attribute has the data type string 18.2.

19.197.20 <draw:page-thumbnail>

The draw:name attribute specifies a name by which a <draw:page-thumbnail> element can be referenced.

The draw:name attribute is usable with the following element: <draw:page-thumbnail> 10.3.14.

The draw:name attribute has the data type string 18.2.

19.197.21 <draw:param>

The draw:name attribute specifies the name of a run-time parameter.

The draw:name attribute is usable with the following element: <draw:param> 10.4.9.

The draw:name attribute has the data type string 18.2.

19.197.22 <draw:path>

The draw:name attribute specifies a name by which a <draw:path> element can be referenced.

The draw:name attribute is usable with the following element: <draw:path> 10.3.7.

The draw:name attribute has the data type string 18.2.

19.197.23 <draw:polygon>

The draw:name attribute specifies a name by which a <draw:polygon> element can be referenced.

The draw:name attribute is usable with the following element: <draw:polygon> 10.3.5.

The draw:name attribute has the data type string 18.2.

19.197.24 <draw:polyline>

The draw:name attribute specifies a name by which a <draw:polyline> element can be referenced.

The draw:name attribute is usable with the following element: <draw:polyline> 10.3.4.

The draw:name attribute has the data type string 18.2.

19.197.25 <draw:rect>

The draw:name attribute specifies a name by which a <draw:rect> element can be referenced.

The draw:name attribute is usable with the following element: <draw:rect> 10.3.2.

The draw:name attribute has the data type string 18.2.

19.197.26 <draw:regular-polygon>

The draw:name attribute specifies a name by which a <draw:regular-polygon> element can be referenced.

The draw:name attribute is usable with the following element: <draw:regular-polygon> 10.3.6.

The draw:name attribute has the data type string 18.2.

19.197.27 <draw:stroke-dash>

The draw:name attribute specifies a name by which a <draw:stroke-dash> element can be referenced.

The draw:name attribute is usable with the following element: <draw:stroke-dash> 16.42.9.

The draw:name attribute has the data type styleName 18.3.31.

19.197.28 <office:annotation> (deprecated)

The draw:name attribute specifies a name for an <office:annotation> element.

The draw:name attribute has been deprecated in favor of the office:name attribute.

The draw:name attribute is usable with the following element: <office:annotation> 14.1.

The draw:name attribute has the data type string 18.2.

19.197.29 <svg:linearGradient>

The draw:name attribute specifies a name by which a <svg:linearGradient> element can be referenced.

SVG gradients are referenced by the name assigned to them by use of the draw:fill-gradient-name 20.120 attribute within a graphic style. SVG gradients cannot be referenced by a draw:opacity-name 20.153 attribute. The result of referencing a SVG gradient with a draw:fill-gradient-name attribute and an opacity gradient with a draw:opacity-name attribute at the same time is unspecified.

The draw:name attribute is usable with the following element: <svg:linearGradient> 16.42.2.

The draw:name attribute has the data type styleName 18.3.31.

19.197.30 <svg:radialGradient>

The draw:name attribute specifies a name by which a <svg:radialGradient> element can be referenced.

SVG gradients are referenced by the name assigned to them by use of the draw:fill-gradient-name 20.120 attribute within a graphic style. SVG gradients cannot be referenced by a draw:opacity-name 20.153 attribute. The result of referencing a SVG gradient with a draw:fill-gradient-name attribute and an opacity gradient with a draw:opacity-name attribute at the same time is unspecified.

The draw:name attribute is usable with the following element: <svg:radialGradient> 16.42.3.

The draw:name attribute has the data type styleName 18.3.31.

19.198 draw:nav-order

The draw:nav-order attribute defines a navigation sequence for the graphical elements included in a <draw:page> element. Its value is a sequence of IDREFs. It shall include all graphic elements in the page that are not contained within a <draw:g> element. Any <draw:g> elements are included in that list as a single graphical element.

The value of this attribute is the ordering of graphics as set by the document author.

Note: The ordering within any <draw:g> 10.3.15 element is set by the value of its draw:z-index 19.231 attribute.

The draw:nav-order attribute is usable with the following element: <draw:page> 10.2.4.

The draw:nav-order attribute has the data type IDREFS 18.2.

19.199 draw:nohref

The draw:nohref attribute specifies that an image map element and its associated area are inactive.

The draw:nohref attribute is usable with the following elements: <draw:area-circle> 10.4.13.4, <draw:area-polygon> 10.4.13.5 and <draw:area-rectangle> 10.4.13.3.

The only value of the draw:nohref attribute is nohref.

19.200 draw:notify-on-update-of-ranges

The draw:notify-on-update-of-ranges attribute specifies that a <draw:object> will be notified if content within a given ranges changes.

The defined values for the draw:notify-on-update-of-ranges attribute are:

If a table name is specified, the <draw:object> element is notified if any of the table's cells change.

The draw:notify-on-update-of-ranges attribute is usable with the following element: <draw:object> 10.4.6.2.

The values of the draw:notify-on-update-of-ranges attribute are a value of type cellRangeAddressList 18.3.6 or a value of type string 18.2.

19.201 draw:object

The draw:object attribute is equivalent to the object attribute of an <applet> element in HTML. See. §13.4 of [HTML4].

The draw:object attribute is usable with the following element: <draw:applet> 10.4.7.

The draw:object attribute has the data type string 18.2.

19.202 draw:opacity

The draw:opacity attribute specifies the opacity for an image or graphic object. The defined value range for the draw:opacity attribute is 0% to 100%, where 0% is fully transparent and 100% is fully opaque.

Use of the draw:opacity attribute disables any transparency effect and set the opacity for the fill area of a graphic object.

The draw:opacity attribute is usable with the following element: <style:background-image> 17.3.

The draw:opacity attribute has the data type zeroToHundredPercent 18.3.41.

19.203 draw:page-number

The draw:page-number attribute specifies the number of a page that is displayed as a thumbnail. For thumbnails on notes pages, the value of this attribute is fixed to the drawing page of a notes page. For thumbnails on handout master pages, the value of this attribute is the order in which the pages are previewed on the handout.

The draw:page-number attribute is usable with the following element: <draw:page-thumbnail> 10.3.14.

The draw:page-number attribute has the data type positiveInteger 18.2.

19.204 draw:path-stretchpoint-x

The draw:path-stretchpoint-x attribute specifies that a drawing shape is stretched horizontally.

If specified, and if the x/y aspect ratio of the svg:viewBox 19.574 is lower than the x/y aspect ratio of the shape size then the whole path is stretched horizontally at draw:path-stretchpoint-x.

Stretching is done by:

  1. 1)intersecting the path vertically at draw:path-stretchpoint-x. 

  2. 2)moving the right path fragments to the right border of the drawing shape, using its original aspect ratio. The left path fragment remains unmodified at the left border of drawing the shape  

The draw:path-stretchpoint-x attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:path-stretchpoint-x attribute has the data type double 18.2.

19.205 draw:path-stretchpoint-y

The draw:path-stretchpoint-y attribute specifies that a drawing shape is stretched vertically. If the x/y aspect ratio of the svg:viewBox 19.574 is greater than the x/y aspect ratio of the shape size then the whole path is stretched vertically at draw:path-stretchpoint-y.

Stretching is done by:

  1. 1)intersecting the path horizontally at draw:path-stretchpoint-y.  

  2. 2)moving the bottom path fragments to the bottom border of the drawing shape, using its original aspect ratio.  

The top path fragment remains unmodified at the top border of drawing the shape

The draw:path-stretchpoint-y attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:path-stretchpoint-y attribute has the data type double 18.2.

19.206 draw:points

The draw:points attribute stores a sequence of points, which are connected by straight lines. Each point consists of two coordinates. The coordinates are separated by a comma “,” (U+002C, COMMA) and the points are separated by white spaces. The coordinates are relative to the coordinate system established by the svg:viewBox 19.574 attribute.

The draw:points attribute is usable with the following elements: <draw:area-polygon> 10.4.13.5, <draw:contour-polygon> 10.4.11.2, <draw:polygon> 10.3.5 and <draw:polyline> 10.3.4.

The draw:points attribute has the data type points 18.3.25.

19.207 draw:protected

The draw:protected attribute specifies if drawing objects in a layer are protected from modification.

The defined values for the draw:protected attribute are:

The default value for this attribute is false.

The draw:protected attribute is usable with the following element: <draw:layer> 10.2.3.

The draw:protected attribute has the data type boolean 18.3.3.

19.208 draw:recreate-on-edit

The draw:recreate-on-edit attribute specifies if the contour of an image or object should be recreated automatically when the image or object is edited.

The defined values for the draw:recreate-on-edit attribute are:

The draw:recreate-on-edit attribute is usable with the following elements: <draw:contour-path> 10.4.11.3 and <draw:contour-polygon> 10.4.11.2.

The draw:recreate-on-edit attribute has the data type boolean 18.3.3.

19.209 draw:rotation

The draw:rotation attribute specifies the rotation angle of a hatch axis. The direction is clockwise, 0 degrees is the vertical axis.

The draw:rotation attribute is usable with the following element: <draw:hatch> 16.42.5.

The draw:rotation attribute has the data type angle 18.3.1.

19.210 draw:shape-id

The draw:shape-id attribute identifies the shape to which an effect defined by a presentation shape effect element is applied.

The draw:shape-id attribute is usable with the following elements: <presentation:dim> 10.8.7, <presentation:hide-shape> 10.8.5, <presentation:hide-text> 10.8.6, <presentation:play> 10.8.8, <presentation:show-shape> 10.8.3 and <presentation:show-text> 10.8.4.

The draw:shape-id attribute has the data type IDREF 18.2.

19.211 draw:sharpness

 

The
draw:sharpness
attribute is only evaluated for a
<draw:regular-polygon>
10.3.6 
element that has the attribute
draw:concave="true".
In this case, the outline of the drawing object is based on a basic model of a star-shaped polygon, where the corner points are alternately located on two concentric circles, a primary and a secondary circle. The number of points in the number as specified with the
draw:corners
19.128 
attribute are evenly distributed on the primary circle. Let
M
be the center of the circle, and let
P
and
Q
be two adjacent points on the primary circle, and
R
the center of the shorter of the two arcs
PQ
. Now find the point
T
with
+ + + MT + + + = + + + MR + + + + + ( + + + + 1 + + s + + % + + + ) + + + +  
on the connecting line of points M and R, where
+ + s + % + +  
is the value of the
draw:sharpness
attribute. The radius of the secondary circle is such that T lies on this secondary circle. The points
P
and
T
and the points
T
and
Q
are then connected by straight sections. With
an odd value of
draw:corners
the first corner point is located at top of the primary circle, with an even value at top of the secondary circle.
 

Note: The drawing object has twice as many corners points in all as specified in the attribute draw:corners.

The value + + s + % + +  of the draw:sharpness attribute is a percent value. The special case 0% means that primary and secondary circle are identical. The special case 100% means that the secondary circle degenerates to a point, the center point of the polygon. The value of the draw:sharpness attribute may be negative and may be greater than 100%. Note that for small absolute value of the draw:sharpness attribute, the described polygon is in fact convex.

The basic model is scaledthereby the circle might become an ellipse, so that the bounding box of the polygon has the width and height as specified in the svg:width 19.575 and svg:height 19.543 attributes of the <draw:regular-polygon> element.

Note: Because of intercept theorems the equation
+ + + MT + + + = + + + MR + + + + + ( + + + + 1 + + s + + % + + + ) + + + +  
is valid for the scaled outline too.
 

The draw:sharpness attribute is usable with the following element: <draw:regular-polygon> 10.3.6.

The draw:sharpness attribute has the data type percent 18.3.23.

19.212 draw:start

The draw:start attribute specifies the start value for the <draw:opacity> element, which interpolates between the value of this attribute and draw:end 19.139. The defined value range for the draw:start attribute is 0% to 100%, where 0% is transparent and 100% is opaque.

The draw:start attribute is usable with the following element: <draw:opacity> 16.42.7.

The draw:start attribute has the data type zeroToHundredPercent 18.3.41.

19.213 draw:start-angle

The draw:start-angle attribute specifies the start angle of a section, cut, or arc for circles where the draw:kind 19.188 attribute value is section, cut or arc.

The draw:start-angle attribute is usable with the following elements: <draw:circle> 10.3.8 and <draw:ellipse> 10.3.9.

The draw:start-angle attribute has the data type angle 18.3.1.

19.214 draw:start-color

The draw:start-color attributes specifies the start value for the <draw:gradient> element, which interpolates between the value of this attribute and draw:end-color 19.141.

The draw:start-color attribute is usable with the following element: <draw:gradient> 16.42.1.

The draw:start-color attribute has the data type color 18.3.9.

19.215 draw:start-glue-point

The draw:start-glue-point attribute identifies the glue point in a shape where a connector starts by its number. See 10.3.16. Glue point numbers are defined by the draw:id attributes of the glue point elements <draw:glue-point>. See 19.187.

If the connector is not connected to a shape, this attribute is ignored.

The draw:start-glue-point attribute is usable with the following element: <draw:connector> 10.3.10.

The draw:start-glue-point attribute has the data type nonNegativeInteger 18.2.

19.216 draw:start-intensity

The draw:start-intensity attribute specifies the intensity of the gradient's start color as a percentage value. If it is not specified, the color is used at 100% intensity. The defined value range for the draw:start-intensity attribute is 0% to 100%.

The draw:start-intensity attribute is usable with the following element: <draw:gradient> 16.42.1.

The draw:start-intensity attribute has the data type zeroToHundredPercent 18.3.41.

19.217 draw:start-shape

The draw:start-shape attribute specifies a drawing shape to which the start of a connector is connected by its ID.

The draw:start-shape attribute is usable with the following element: <draw:connector> 10.3.10.

The draw:start-shape attribute has the data type IDREF 18.2.

19.218 draw:style

19.218.1 General

The draw:style attribute specifies the rendering of graphic objects.

19.218.2 <draw:gradient>

The draw:style attribute specifies a rendering for a gradient.

The defined values for the draw:style attribute are:

  • axial: defines a bi-linear gradient that is also known as a reflected gradient or mirrored linear gradient. It is created as a linear gradient that is mirrored (or reflected) along its axis. 

  • ellipsoid: defines a gradient where the colors are blend along the radius from the center of an ellipsoid as defined by the draw:cx 19.129 and draw:cy 19.130 attributes. The length of the semi major-axis is the width of the filled area and the length of the semi-minor axis is the height of the filled area. The area outside the ellipse is filled with the end color.  

  • linear: defines a gradient where the colors blend along the linear axis of the gradient. The axis of the gradient is specified with the draw:angle 19.112 attribute clockwise to the vertical axis. 

  • radial: defines a gradient where the colors are blend along the radius from the center of a circle as defined with the draw:cx and draw:cy attributes. The outside of the circle is filled with the end color. 

  • rectangle: defines a gradient that produces a rectangular blend from the center of the rectangle to the shortest of the 4 borders. The center of the rectangle is defined with the attributes draw:cx and draw:cy. The width of the rectangle is the width of the filled area, the height of the rectangle is the height of the filled area. The outside of the square is filled with the end color.  

  • square: defines a gradient that produces a square blend, imitating the visual perspective in a corridor or the aerial view of a pyramid. Also known as "box gradient" and "pyramidal gradient". The center of the square is defined with the draw:cx and draw:cy attributes. The width and height of the square is the minimum value of either the width or the height of the filled area. The outside of the square is filled with the end color.  

The draw:style attribute is usable with the following element: <draw:gradient> 16.42.1.

The values of the draw:style attribute are linear, axial, radial, ellipsoid, square or rectangular.

19.218.3 <draw:hatch>

The draw:style attribute specifies a rendering for a hatch.

The defined values for the draw:style attribute are:

The draw:style attribute is usable with the following element: <draw:hatch> 16.42.5.

The values of the draw:style attribute are single, double or triple.

19.218.4 <draw:opacity>

The draw:style attribute specifies the transparency of a graphic object.

The defined values for the draw:style attribute are:

The transparency of an object is blended in contrast to the blending of colors described for draw:style on <draw:gradient>.

The draw:style attribute is usable with the following element: <draw:opacity> 16.42.7.

The values of the draw:style attribute are linear, axial, radial, ellipsoid, square or rectangular.

19.218.5 <draw:stroke-dash>

The draw:style attribute specifies a rendering for a stroke-dash.

This attribute is evaluated for a shape if its style does not contain an svg:stroke-linecap 20.171 attribute.

The defined values for the draw:style attribute are:

  • rect: dash has a rectangular shape.  

  • round: dash has a round shape. 

The draw:style attribute is usable with the following element: <draw:stroke-dash> 16.42.9.

The values of the draw:style attribute are rect or round.

19.219 draw:style-name

19.219.1 General

The draw:style-name attribute specifies the name of a <style:style> 16.2 element whose whose style:family 19.480 attribute value varies depending upon the element where it appears.

19.219.2 <dr3d:cube>

The draw:style-name attribute specifies the name of a <style:style> element with a style:family attribute value value of graphic.

The draw:style-name attribute is usable with the following element: <dr3d:cube> 10.5.4.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.3 <dr3d:extrude>

The draw:style-name attribute specifies the name of a <style:style> element with a style:family attribute value value of graphic.

The draw:style-name attribute is usable with the following element: <dr3d:extrude> 10.5.6.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.4 <dr3d:rotate>

The draw:style-name attribute specifies the name of a <style:style> element with a style:family attribute value value of graphic.

The draw:style-name attribute is usable with the following element: <dr3d:rotate> 10.5.7.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.5 <dr3d:scene>

The draw:style-name attribute specifies the name of a <style:style> element with a style:family attribute value value of graphic.

The draw:style-name attribute is usable with the following element: <dr3d:scene> 10.5.2.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.6 <dr3d:sphere>

The draw:style-name attribute specifies the name of a <style:style> element with a style:family attribute value value of graphic.

The draw:style-name attribute is usable with the following element: <dr3d:sphere> 10.5.5.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.7 <draw:caption>

The draw:style-name attribute specifies the name of a <style:style> element with a style:family attribute value value of graphic.

The draw:style-name attribute is usable with the following element: <draw:caption> 10.3.11.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.8 <draw:circle>

The draw:style-name attribute specifies the name of a <style:style> element with a style:family attribute value value of graphic.

The draw:style-name attribute is usable with the following element: <draw:circle> 10.3.8.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.9 <draw:connector>

The draw:style-name attribute specifies the name of a <style:style> element with a style:family attribute value value of graphic.

The draw:style-name attribute is usable with the following element: <draw:connector> 10.3.10.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.10 <draw:control>

The draw:style-name attribute specifies the name of a <style:style> element with a style:family attribute value value of graphic.

The draw:style-name attribute is usable with the following element: <draw:control> 10.3.13.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.11 <draw:custom-shape>

The draw:style-name attribute specifies the name of a <style:style> element with a style:family attribute value value of graphic.

The draw:style-name attribute is usable with the following element: <draw:custom-shape> 10.6.1.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.12 <draw:ellipse>

The draw:style-name attribute specifies the name of a <style:style> element with a style:family attribute value value of graphic.

The draw:style-name attribute is usable with the following element: <draw:ellipse> 10.3.9.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.13 <draw:frame>

The draw:style-name attribute specifies the name of a <style:style> element with a style:family attribute value value of graphic.

The draw:style-name attribute is usable with the following element: <draw:frame> 10.4.2.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.14 <draw:g>

The draw:style-name attribute specifies the name of a <style:style> element with a style:family attribute value value of graphic.

The draw:style-name attribute is usable with the following element: <draw:g> 10.3.15.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.15 <draw:line>

The draw:style-name attribute specifies the name of a <style:style> element with a style:family attribute value value of graphic.

The draw:style-name attribute is usable with the following element: <draw:line> 10.3.3.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.16 <draw:measure>

The draw:style-name attribute specifies the name of a <style:style> element with a style:family attribute value value of graphic.

The draw:style-name attribute is usable with the following element: <draw:measure> 10.3.12.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.17 <draw:page>

The draw:style-name attribute specifies the name of a <style:style> element with a style:family attribute value value of drawing-page.

The draw:style-name attribute is usable with the following element: <draw:page> 10.2.4.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.18 <draw:page-thumbnail>

The draw:style-name attribute specifies the name of a <style:style> element with a style:family attribute value value of graphic.

The draw:style-name attribute is usable with the following element: <draw:page-thumbnail> 10.3.14.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.19 <draw:path>

The draw:style-name attribute specifies the name of a <style:style> element with a style:family attribute value value of graphic.

The draw:style-name attribute is usable with the following element: <draw:path> 10.3.7.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.20 <draw:polygon>

The draw:style-name attribute specifies the name of a <style:style> element with a style:family attribute value value of graphic.

The draw:style-name attribute is usable with the following element: <draw:polygon> 10.3.5.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.21 <draw:polyline>

The draw:style-name attribute specifies the name of a <style:style> element with a style:family attribute value value of graphic.

The draw:style-name attribute is usable with the following element: <draw:polyline> 10.3.4.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.22 <draw:rect>

The draw:style-name attribute specifies the name of a <style:style> element with a style:family attribute value value of graphic.

The draw:style-name attribute is usable with the following element: <draw:rect> 10.3.2.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.23 <draw:regular-polygon>

The draw:style-name attribute specifies the name of a <style:style> element with a style:family attribute value value of graphic.

The draw:style-name attribute is usable with the following element: <draw:regular-polygon> 10.3.6.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.24 <office:annotation>

The draw:style-name attribute specifies the name of a <style:style> element with a style:family attribute value value of graphic.

The draw:style-name attribute is usable with the following element: <office:annotation> 14.1.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.25 <presentation:notes>

The draw:style-name attribute specifies the name of a <style:style> element with a style:family attribute value value of drawing-page.

The draw:style-name attribute is usable with the following element: <presentation:notes> 16.19.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.26 <style:handout-master>

The draw:style-name attribute specifies the name of a <style:style> element with a style:family attribute value value of drawing-page.

The draw:style-name attribute is usable with the following element: <style:handout-master> 10.2.1.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.219.27 <style:master-page>

The draw:style-name attribute specifies the name of a <style:style> element with a style:family attribute value value of drawing-page.

 

The draw:style-name attribute is usable with the following element: <style:master-page> 16.9.

The draw:style-name attribute has the data type styleNameRef 18.3.32.

19.220 draw:text-areas

The draw:text-areas attribute specifies up to two text areas. If the attribute specifies one text area, this text area is used to position and align the text. If the attribute specifies two text areas, the second text area is used if a style that is assigned to the text has a style:writing-mode 20.404 attribute with value tb-rl or tb. Otherwise, the first text area is used. If the draw:text-areas attribute is omitted, the entire area of the shape is used to position and align the text.

An area consists of four parameters:

The first parameter specifies the left side of a text area.

The second parameter specifies the top side of a text area.

The third parameter specifies the right side of a text area.

The fourth parameter specifies the bottom side of a text area.

A parameter can also have one of the following enhancements:

  • A “?” (U+003F, QUESTION MARK) is used to mark the beginning of a formula name. The result of the <draw:equation> 10.2.5 element's draw:formula 19.171 attribute whose draw:name 19.197 attribute is the formula name that is used as the value.  

  • If “$” (U+0024, DOLLAR SIGN) precedes an integer value, the value is an index to a draw:modifiers 19.196 attribute. The corresponding modifier value is used as the parameter value. 

The value of a draw:text-areas attribute is formally defined as:

textareas::= textareasequence
textareasequence ::= textarea ( ' '+ textarea )?
textarea::= position ' '+ position ' '+ position ' '+ position
position::= formula | modifier | number
formula::= '?' name
modifier::= '$' integer
number::= sign? float | sign? integer
float::= fractional exponent? | integer exponent
fractional::= integer? '.' integer | integer '.'
exponent::= ( 'e' | 'E' ) sign? integer
sign::= '+'| '-'
integer::= [0-9]+
name ::= [^ ]+

The draw:text-areas attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:text-areas attribute has the data type string 18.2.

19.221 draw:text-path

The draw:text-path attribute specifies if text is displayed on a text path.

The defined values for the draw:text-path attribute are:

The default value for this attribute is false.

The draw:text-path attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:text-path attribute has the data type boolean 18.3.3.

19.222 draw:text-path-allowed

The draw:text-path-allowed attribute specifies whether the user interface of a consumer that supports the draw:text-path 19.221 attribute should allow modification of the value of the draw:text-path attribute.

The defined values for the draw:text-path-allowed attribute are:

  • false: the value of the draw:text-path attribute should not be modifiable by the user interface. 

  • true: the value of the draw:text-path attribute should be modifiable by the user interface. 

The default value for this attribute is false.

The draw:text-path-allowed attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:text-path-allowed attribute has the data type boolean 18.3.3.

19.223 draw:text-path-mode

The draw:text-path-mode attribute specifies how text is drawn on a path.

The defined values for the draw:text-path-mode attribute are:

The default value for this attribute is normal.

The draw:text-path-mode attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The values of the draw:text-path-mode attribute are normal, path or shape.

19.224 draw:text-path-same-letter-heights

The draw:text-path-same-letter-heights attribute specifies if all letters in a custom shape have the same height.

The defined values for the draw:text-path-same-letter-heights attribute are:

The default value for this attribute is false.

The draw:text-path-same-letter-heights attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:text-path-same-letter-heights attribute has the data type boolean 18.3.3.

19.225 draw:text-path-scale

The draw:text-path-scale attribute specifies the scaling of a text path.

The defined values for the draw:text-path-scale attribute are:

The default value for this attribute is path.

The draw:text-path-scale attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The values of the draw:text-path-scale attribute are path or shape.

19.226 draw:text-rotate-angle

The draw:text-rotate-angle attribute specifies the angle by which text within a custom shape is rotated in addition to the rotation included in the shape's draw:transform 19.228 attribute.

The default value for this attribute is 0.

The draw:text-rotate-angle attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The draw:text-rotate-angle attribute has the data type angle 18.3.1.

19.227 draw:text-style-name

The draw:text-style-name attribute specifies a style for formatting of text in a shape.

The value of this attribute is the name of a <style:style> 16.2 element with a style:family 19.480 attribute value of paragraph.

The draw:text-style-name attribute is usable with the following elements: <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:annotation> 14.1.

The draw:text-style-name attribute has the data type styleNameRef 18.3.32.

19.228 draw:transform

The draw:transform attribute specifies a list of transformations that can be applied to a drawing shape.

The value of this attribute is a list of transform definitions, which are applied to the drawing shape in the order in which they are listed. The transform definitions in the list shall be separated by a white space and/or a comma “,” (U+002C, COMMA). Unless otherwise stated, the parameters of the transform definitions are double values (18.2)

The defined transforms are:

  • matrix(<a> <b> <c> <d> <e> <f>), specifies a transformation in the form of a transformation matrix of six values. "The values describe a standard 3x2 homogeneous transformation matrix in column-major order, where the right column (<e>, <f>) describes the translation.  

  • rotate(<rotate-angle>), specifies a rotation by <rotate-angle> degrees about the origin of the shape’s coordinate system. 

  • scale(<sx> [<sy>]), specifies a scale operation by <sx> and <sy>. If <sy> is not provided, it is assumed to be equal to <sx>. 

  • skewX(<skew-angle>), specifies a skew transformation by <skew-angle> degrees along the x-axis. 

  • skewY(<skew-angle>), specifies a skew transformation by <skew-angle> degrees along the y-axis. 

  • translate(<tx> [<ty>]), specifies a translation by <tx> and <ty>, where <tx> and <ty> are lengths (18.3.18). If <ty> is not provided, it is assumed to be zero. 

The draw:transform attribute is usable with the following elements: <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:annotation> 14.1.

The draw:transform attribute has the data type string 18.2.

19.229 draw:type

19.229.1 General

The draw:type attribute specifies a drawing type.

19.229.2 <draw:connector>

The draw:type attribute specifies the line or series of lines that connect two glue points.

The defined values for the draw:type attribute are:

For a <draw:connector> element the default value for this attribute is standard.

The draw:type attribute is usable with the following element: <draw:connector> 10.3.10.

The values of the draw:type attribute are standard, lines, line or curve.

19.229.3 <draw:enhanced-geometry>

The draw:type attribute specifies the name of a shape type that is rendering engine dependent.

The defined values for the draw:type attribute are:

The value of this attribute shall not influence the geometry of the shape.

Note: The shape type can be used to offer specialized user interfaces for classes of shapes, for example for arrows, smileys, etc.

For a <draw:enhanced-geometry> element the default value for this attribute is non-primitive.

The draw:type attribute is usable with the following element: <draw:enhanced-geometry> 10.6.2.

The values of the draw:type attribute are non-primitive or a value of type string 18.2.

19.230 draw:value

The draw:value attribute specifies the value of a run-time parameter specified by a draw:name 19.197 attribute.

The draw:value attribute is usable with the following element: <draw:param> 10.4.9.

The draw:value attribute has the data type string 18.2.

19.231 draw:z-index

The draw:z-index attribute defines a rendering order for shapes in a document instance. In the absence of this attribute, shapes are rendered in the order in which they appear in the document.

The draw:z-index values increase from back to front.

For a shape on which the style:run-through 20.351 attribute with value foreground is in effect, producers should not generate a draw:z-index value that is smaller than the value of any draw:z-index on a shape on which the style:run-through attribute with value background is in effect.

Producers shall not generate a draw:z-index for shapes that are children of a <draw:g> element 10.3.15 or a <dr3d:scene> element 10.5.2.

 

The draw:z-index attribute is usable with the following elements: <dr3d:cube> 10.5.4, <dr3d:extrude> 10.5.6, <dr3d:rotate> 10.5.7, <dr3d:scene> 10.5.2, <dr3d:sphere> 10.5.5, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:annotation> 14.1.

The draw:z-index attribute has the data type nonNegativeInteger 18.2.

19.232 fo:column-count

The fo:column-count attribute specifies the number of columns in a section.

The fo:column-count attribute is usable with the following element: <style:columns> 17.12.

The fo:column-count attribute has the data type positiveInteger 18.2.

19.233 fo:column-gap

The fo:column-gap attribute specifies the gap between columns for <style:columns> elements that do not contain individual <style:column> elements.

Note: This attribute has the same name as an [XSL] property but it is attached to a different element.

In the OpenDocument XSL-compatible namespace, the fo:column-gap attribute does not support inherit and percentage values.

The fo:column-gap attribute is usable with the following element: <style:columns> 17.12.

The fo:column-gap attribute has the data type length 18.3.18.

19.234 fo:country

19.234.1 <text:alphabetical-index-source>

The fo:country attribute specifies the country code used for sorting an alphabetical index.

The fo:country attribute is usable with the following element: <text:alphabetical-index-source> 8.8.2.

The fo:country attribute has the data type countryCode 18.3.11.

19.234.2 <text:bibliography-configuration>

The fo:country attribute specifies the country code used for sorting a bibliographic index.

The fo:country attribute is usable with the following element: <text:bibliography-configuration> 16.31.6.

The fo:country attribute has the data type countryCode 18.3.11.

19.235 fo:end-indent

The fo:end-indent attribute specifies the right space of a column. Together with the fo:start-indent attribute of an immediately adjacent and following column, it establishes the gap between the columns. 19.245

See §7.10.8 of [XSL].

In the OpenDocument XSL-compatible namespace, the fo:end-indent attribute does not support inherit and percentage values.

The default value for this attribute is 0cm.

The fo:end-indent attribute is usable with the following element: <style:column> 17.13.

The fo:end-indent attribute has the data type length 18.3.18.

19.236 fo:language

19.236.1 General

See §7.9.2 of [XSL]. Compared to the XSL language attribute, the value range of this attribute is extended to additional parts of ISO 639.

This attribute may be ignored if it is not specified together with a fo:country 20.188 attribute.

In the OpenDocument XSL-compatible namespace, the fo:language attribute does not support inherit and none values.

19.236.2 <text:alphabetical-index-source>

The fo:language attribute specifies the language code used for sorting an alphabetical index.

The fo:language attribute is usable with the following element: <text:alphabetical-index-source> 8.8.2.

The fo:language attribute has the data type languageCode 18.3.17.

19.236.3 <text:bibliography-configuration>

The fo:language attribute specifies the language code used for sorting a bibliographic index.

The fo:language attribute is usable with the following element: <text:bibliography-configuration> 16.31.6.

The fo:language attribute has the data type languageCode 18.3.17.

19.237 fo:margin-left

See §7.10.3 of [XSL].

The fo:margin-left attribute specifies the left margins for the text lines of a list item. The attribute has the same meaning as the formatting property attribute fo:margin-left. 20.207 Its value is only considered for paragraphs inside a list item whose paragraph styles do not specify a fo:text-indent attribute or a fo:margin-left attribute.

The fo:margin-left attribute is usable with the following element: <style:list-level-label-alignment> 17.20.

The fo:margin-left attribute has the data type length 18.3.18.

19.238 fo:max-height

See §7.14.6 of [XSL].

The fo:max-height attribute specifies the maximum height of a text box when the minimum height has been set using the fo:min-height 20.212 attribute. When this maximum value is reached, the text box stops increasing in height. The units of measure for this attribute shall match those used for the corresponding fo:min-height attribute.

If the anchor for the text box is in a table cell, a percentage value is relative to the size of the surrounding table cell. If the anchor for the text box is in a text box, a percentage value is relative to the size of the surrounding text box. In other cases, percentage values are relative to the width or height of the page or window.

In the OpenDocument XSL-compatible namespace, the fo:max-height attribute does not support the none value.

The fo:max-height attribute is usable with the following element: <draw:text-box> 10.4.3.

The values of the fo:max-height attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

19.239 fo:max-width

See §7.14.7 of [XSL].

The fo:max-width attribute specifies the maximum width of a text box when the minimum width have been set using the fo:min-width 20.213 attribute. When this maximum value is reached, the text box stops increasing in width. The units of measure for this attribute shall match those used for the corresponding fo:min-width attribute.

If the anchor for the text box is in a table cell, a percentage value is relative to the size of the surrounding table cell. If the anchor for the text box is in a text box, a percentage value is relative to the size of the surrounding text box. In other cases, percentage values are relative to the width or height of the page or window.

The fo:max-width attribute is usable with the following element: <draw:text-box> 10.4.3.

The values of the fo:max-width attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

19.240 fo:min-height

See §7.14.8 of [XSL].

If set, it overrides the height of a text box specified by the svg:height 19.543 attribute of the surrounding <draw:frame> 10.4.2 element.

If the anchor for a text box is in a table cell, a percentage value is relative to the surrounding table box. If the anchor for the text box is in a text box, a percentage value is relative to the surrounding text box. In other cases, percentage values are relative to the height of the page or window.

The fo:min-height attribute is usable with the following element: <draw:text-box> 10.4.3.

The values of the fo:min-height attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

19.241 fo:min-width

See §7.14.9 of [XSL].

If set, it overrides the width of a text box specified by the svg:width 20.413 attribute of the surrounding <draw:frame> 10.4.2 element.

If the anchor for a text box is in a table cell, a percentage value is relative to the surrounding table box. If the anchor for a text box is in a text box, a percentage value is relative to the surrounding text box. In other cases, percentage values are relative to the height of the page or window.

The fo:min-width attribute is usable with the following element: <draw:text-box> 10.4.3.

The values of the fo:min-width attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

19.242 fo:script

19.242.1 General

See §7.9.3 of [XSL]. The attribute should be used only if necessary according to the rules of §2.2.3 of [RFC5646], or its successors. The attribute may be ignored if it is not specified together with a fo:language attribute.

In the OpenDocument XSL-compatible namespace, the fo:script attribute does not support inherit and none values.

19.242.2 <text:alphabetical-index-source>

The fo:script attribute specifies the script code used for sorting an alphabetical index. The attribute should be used only if necessary according to the rules of §2.2.3 of [RFC5646], or its successors.

The fo:script attribute is usable with the following element: <text:alphabetical-index-source> 8.8.2.

The fo:script attribute has the data type scriptCode 18.3.29.

19.242.3 <text:bibliography-configuration>

The fo:script attribute specifies the script code used for sorting a bibliographic index. The attribute should be used only if necessary according to the rules of §2.2.3 of [RFC5646], or its successors.

The fo:script attribute is usable with the following element: <text:bibliography-configuration> 16.31.6.

The fo:script attribute has the data type scriptCode 18.3.29.

19.243 fo:space-after

See §7.10.6 of [XSL].

The default value for this attribute is 0cm.

The fo:space-after attribute is usable with the following element: <style:column> 17.13.

The fo:space-after attribute has the data type length 18.3.18.

19.244 fo:space-before

See §7.10.5 of [XSL].

The default value for this attribute is 0cm.

The fo:space-before attribute is usable with the following element: <style:column> 17.13.

The fo:space-before attribute has the data type length 18.3.18.

19.245 fo:start-indent

See §7.10.7 of [XSL].

The default value for this attribute is 0cm.

The fo:start-indent attribute is usable with the following element: <style:column> 17.13.

The fo:start-indent attribute has the data type length 18.3.18.

19.246 fo:text-indent

The fo:text-indent attribute specifies the indent for the text lines of a list item. The attribute has the same meaning as the formatting property attribute fo:text-indent. See 20.225 It is used for paragraphs inside list items whose paragraph styles do not specify an fo:text-indent or fo:margin-left attribute.

The value fo:text-indent + fo:margin-left specifies the indent of the first text line of the list item. This position is also the alignment position for the list label, because the value of text:min-label-width is treated as 0.

The fo:text-indent attribute is usable with the following element: <style:list-level-label-alignment> 17.20.

The fo:text-indent attribute has the data type length 18.3.18.

19.247 form:allow-deletes

The form:allow-deletes attribute specifies whether data records can be deleted by a form. It applies only if a form is data-aware.

The defined values for the form:allow-deletes attribute are:

The default value for this attribute is true.

The form:allow-deletes attribute is usable with the following element: <form:form> 13.3.

The form:allow-deletes attribute has the data type boolean 18.3.3.

19.248 form:allow-inserts

The form:allow-inserts attribute specifies whether new data records can be inserted by a form. It applies only if the form is data-aware.

The defined values for the form:allow-inserts attribute are:

The default value for this attribute is true.

The form:allow-inserts attribute is usable with the following element: <form:form> 13.3.

The form:allow-inserts attribute has the data type boolean 18.3.3.

19.249 form:allow-updates

The form:allow-updates attribute specifies whether data records in the form can be updated. It applies only if the form is data-aware.

The defined values for the form:allow-updates attribute are:

The default value for this attribute is true.

The form:allow-updates attribute is usable with the following element: <form:form> 13.3.

The form:allow-updates attribute has the data type boolean 18.3.3.

19.250 form:apply-design-mode

The form:apply-design-mode attribute specifies whether forms are presented in editable or non-editable state.

The default value for this attribute is true.

The form:apply-design-mode attribute is usable with the following element: <office:forms> 13.2.

The form:apply-design-mode attribute has the data type boolean 18.3.3.

19.251 form:apply-filter

The form:apply-filter attribute specifies whether the filter clause specified by the form:filter 19.273 attribute is applied to the SQL command constituting the form's result set.

The defined values for the form:apply-filter attribute are:

  • false: the filter clause specified by the form:filter attribute is not applied to the SQL command constituting the form's result set. 

  • true: the filter clause specified by the form:filter attribute is applied to the SQL command constituting the form's result set. 

The default value for this attribute is false.

The form:apply-filter attribute is usable with the following element: <form:form> 13.3.

The form:apply-filter attribute has the data type boolean 18.3.3.

19.252 form:auto-complete

The form:auto-complete attribute specifies , when the user enters text in the combo box that matches the beginning of a list item in the combo box, whether the consumer completes the text with the matched item.

The defined values for the form:auto-complete attribute are:

The form:auto-complete attribute is usable with the following element: <form:combobox> 13.5.11.

The form:auto-complete attribute has the data type boolean 18.3.3.

19.253 form:automatic-focus

The form:automatic-focus attribute specifies whether the consumer loading the document should set the focus to a form control.

The defined values for the form:automatic-focus attribute are:

Note: If the <office:forms> 13.2 element and its sub-elements define multiple form controls, it is not defined as to which form control receives focus.

The default value for this attribute is false.

The form:automatic-focus attribute is usable with the following element: <office:forms> 13.2.

The form:automatic-focus attribute has the data type boolean 18.3.3.

19.254 form:bound-column

The form:bound-column attribute specifies the column values of the list source result set that are used to fill the data field values.

The form:list-source and form:list-source-type attributes together define an SQL command to execute against the database to which the control's form is bound. The result set of the execution of this SQL command is the list source result set.

The form:bound-column attribute is usable with the following element: <form:listbox> 13.5.13.

The form:bound-column attribute has the data type string 18.2.

19.255 form:button-type

The form:button-type attribute specifies the type of a button.

The defined values for the form:button-type attribute are:

The default value for this attribute is push.

The form:button-type attribute is usable with the following elements: <form:button> 13.5.15 and <form:image> 13.5.16.

The values of the form:button-type attribute are submit, reset, push or url.

19.256 form:command

The form:command attribute specifies a command to execute on a data source.

The value is interpreted differently, depending to the value of the form:command-type 19.257 attribute of the form.

The form:command attribute is usable with the following element: <form:form> 13.3.

The form:command attribute has the data type string 18.2.

19.257 form:command-type

The form:command-type attribute specifies the type of command to execute on a data source.

The defined values of the form:command-type attribute are:

Note: The attribute value query is only meaningful if the form:datasource 19.264 attribute specifies a data source name or a database front-end document.

The default value for this attribute is command.

The form:command-type attribute is usable with the following element: <form:form> 13.3.

The values of the form:command-type attribute are table, query or command.

19.258 form:control-implementation

The form:control-implementation attribute specifies a rendition or implementation of a control that should be created. If the consumer supports the form element this attribute is used with, but does not support the specific concrete rendition or implementation, the consumer shall ignore the form:control-implementation attribute and use its own rendition of the form element.

The form:control-implementation attribute is usable with the following elements: <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:column> 13.5.23, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:fixed-text> 13.5.10, <form:form> 13.3, <form:formatted-text> 13.5.6, <form:frame> 13.5.19, <form:generic-control> 13.5.25, <form:grid> 13.5.22, <form:hidden> 13.5.21, <form:image> 13.5.16, <form:image-frame> 13.5.20, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9 and <form:value-range> 13.5.24.

The form:control-implementation attribute has the data type namespacedToken 18.3.19.

19.259 form:convert-empty-to-null

The form:convert-empty-to-null attribute specifies whether empty current values are treated as NULL.

The defined values for the form:convert-empty-to-null attribute are:

The default value for this attribute is false.

The form:convert-empty-to-null attribute is usable with the following elements: <form:combobox> 13.5.11, <form:date> 13.5.8, <form:formatted-text> 13.5.6, <form:number> 13.5.7, <form:password> 13.5.4, <form:text> 13.5.2, <form:textarea> 13.5.3 and <form:time> 13.5.9.

The form:convert-empty-to-null attribute has the data type boolean 18.3.3.

19.260 form:current-selected

The form:current-selected attribute specifies the state of a radio button or option control.

The defined values for the form:current-selected attribute are:

The default value for this attribute is false.

The form:current-selected attribute is usable with the following elements: <form:option> 13.5.14 and <form:radio> 13.5.18.

The form:current-selected attribute has the data type boolean 18.3.3.

19.261 form:current-state

The form:current-state attribute specifies the state of a check box control.

The defined values for the form:current-state attribute are:

The form:current-state attribute is usable with the following element: <form:checkbox> 13.5.17.

The values of the form:current-state attribute are unchecked, checked or unknown.

19.262 form:current-value

The form:current-value attribute specifies the current status of an input control. It overrides the value of a form:value attribute, if one is present.

The defined value types for form:current-value attribute values are:

The form:current-value attribute is usable with the following elements: <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:formatted-text> 13.5.6, <form:number> 13.5.7, <form:text> 13.5.2, <form:textarea> 13.5.3 and <form:time> 13.5.9.

The form:current-value attribute has the data type string 18.2.

19.263 form:data-field

The form:data-field attribute specifies the name of a column in the result set defined by a (data-aware) form. A control interchanges content with its column when:

Note: consumers may delay this write-back, for instance until the control loses the focus, instead of updating the column value with every change in the control.

The form:data-field attribute is usable with the following elements: <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:formatted-text> 13.5.6, <form:image-frame> 13.5.20, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3 and <form:time> 13.5.9.

The form:data-field attribute has the data type string 18.2.

19.264 form:datasource

The form:datasource attribute specifies the name of a data source to use for a form.

The defined values for the form:datasource attribute are:

Note: The data source name is a programmatic name for a database front end document which allows it to reference data sources regardless of their real location. The mapping from data source names to specific instances of database front end documents is implementation-defined.

The form:datasource attribute is usable with the following element: <form:form> 13.3.

The values of the form:datasource attribute are a value of type anyIRI 18.3.2 or a value of type string 18.2.

19.265 form:default-button

The form:default-button attribute specifies whether a button is the default button on a form. If a user clicks 19.406 the default button or presses the Return key while an input control is focused, the consumer takes the same action.

If multiple buttons with form:default-button attributes with values of true are present in a form, it is implementation-defined which button is the default for the form.

The defined values for the form:default-button attribute are:

  • false: button is not the default button for a form. 

  • true: button is the default button for a form.  

The default value for this attribute is false.

The form:default-button attribute is usable with the following element: <form:button> 13.5.15.

The form:default-button attribute has the data type boolean 18.3.3.

19.266 form:delay-for-repeat

The form:delay-for-repeat attribute specifies a time-out to be used before a pressed mouse button results in repeating an action. The form:delay-for-repeat attribute is ignored unless a form:repeat 19.302 attribute is present, and evaluates to true.

The default value for this attribute is PT0.050S.

The form:delay-for-repeat attribute is usable with the following elements: <form:button> 13.5.15, <form:date> 13.5.8, <form:formatted-text> 13.5.6, <form:number> 13.5.7, <form:time> 13.5.9 and <form:value-range> 13.5.24.

The form:delay-for-repeat attribute has the data type duration 18.2.

19.267 form:detail-fields

The form:detail-fields attribute specifies the names of the columns in contained forms that are related to columns in a containing form. The columns are used as parameters in the command for the contained form to retrieve the details from its containing form.

This attribute contains a comma “,” (U+002C, COMMA) separated list of field names.

The form:detail-fields attribute is usable with the following element: <form:form> 13.3.

The form:detail-fields attribute has the data type string 18.2.

19.268 form:disabled

The form:disabled attribute specifies whether a control can accept user input.

Controls that are disabled are not included in the tabbing navigation sequence and cannot be focused.

The defined values for the form:disabled attribute are:

The default value for this attribute is false.

The form:disabled attribute is usable with the following elements: <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:fixed-text> 13.5.10, <form:formatted-text> 13.5.6, <form:frame> 13.5.19, <form:grid> 13.5.22, <form:image> 13.5.16, <form:image-frame> 13.5.20, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9 and <form:value-range> 13.5.24.

The form:disabled attribute has the data type boolean 18.3.3.

19.269 form:dropdown

The form:dropdown attribute specifies whether a list in a <form:combobox> or <form:listbox> element is always visible or is only visible when the user clicks 19.406 the drop-down button.

The defined values for the form:dropdown attribute are:

  • false: list is visible only when a user selects a drop-down button. 

  • true: list is always visible.  

The default value for this attribute is false.

The form:dropdown attribute is usable with the following elements: <form:combobox> 13.5.11 and <form:listbox> 13.5.13.

The form:dropdown attribute has the data type boolean 18.3.3.

19.270 form:echo-char

The form:echo-char attribute specifies the character that a form uses to mask text that a user inputs in a password control.

The default value for this attribute is “* (U+002A, ASTERISK).

The form:echo-char attribute is usable with the following element: <form:password> 13.5.4.

The form:echo-char attribute has the data type character 18.3.7.

19.271 form:enctype

The form:enctype attribute, when the value of the form:method 19.291 attribute is post, specifies the content type used to submit the form to the server.  Other MIME types may be acceptable. See §17.3.4 of [HTML4].

The default value for this attribute is application/x-www-form-urlencoded.

The form:enctype attribute is usable with the following element: <form:form> 13.3.

The form:enctype attribute has the data type string 18.2.

19.272 form:escape-processing

The form:escape-processing attribute, when the value of the form:command-type 19.257 attribute is command, specifies whether the consumer processes the command before passing it to a database driver.

The defined values for the form:escape-processing attribute are:

  • false: consumer does not process commands before passing them to a database driver. 

  • true: consumer does process commands before passing them to a database driver.  

The default value for this attribute is true.

The form:escape-processing attribute is usable with the following element: <form:form> 13.3.

The form:escape-processing attribute has the data type boolean 18.3.3.

19.273 form:filter

The form:filter attribute specifies a filter for the SQL clause determined by the form:command-type 19.257 and form:command 19.256 attributes. If that SQL statement contains a filter (WHERE clause), the filter specified by the attribute value is conjunctively added to the existing filter.

The filter is only applied if the form:apply-filter attribute has the value true. 19.251.

Note: This allows OpenDocument consumers to toggle a filter on and off without losing the content of the form:filter attribute.

The form:filter attribute is usable with the following element: <form:form> 13.3.

The form:filter attribute has the data type string 18.2.

19.274 form:focus-on-click

The form:focus-on-click attribute specifies if a <form:button> element is given the focus in a form when the form button control for that element is operated.

The defined values for the form:focus-on-click attribute are:

The form:focus-on-click attribute is usable with the following element: <form:button> 13.5.15.

The form:focus-on-click attribute has the data type boolean 18.3.3.

19.275 form:for

The form:for attribute specifies a comma “,” (U+002C, COMMA) separated list of xml:ids of control elements that are the targets of the elements where this attribute appears.

The form:for attribute is usable with the following elements: <form:fixed-text> 13.5.10 and <form:frame> 13.5.19.

The form:for attribute has the data type string 18.2.

19.276 form:id (deprecated)

The form:id attribute specifies an identifier for a control element.

OpenDocument consumers shall ignore a form:id attribute if it occurs on an element with an xml:id attribute value.

OpenDocument producers may write form:id attributes for elements in addition to an xml:id attribute.

The value of a form:id attribute shall equal the value of an xml:id attribute on the same element.

The form:id attribute is deprecated in favor of xml:id. 19.920

The form:id attribute is usable with the following elements: <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:fixed-text> 13.5.10, <form:formatted-text> 13.5.6, <form:frame> 13.5.19, <form:generic-control> 13.5.25, <form:grid> 13.5.22, <form:hidden> 13.5.21, <form:image> 13.5.16, <form:image-frame> 13.5.20, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9 and <form:value-range> 13.5.24.

19.277 form:ignore-result

The form:ignore-result attribute specifies whether to discard all results that are retrieved from an underlying data source.

The defined values for the form:ignore-result attribute are:

The default value for this attribute is false.

The form:ignore-result attribute is usable with the following element: <form:form> 13.3.

The form:ignore-result attribute has the data type boolean 18.3.3.

19.278 form:image-align

The form:image-align attribute specifies which border (start, end) or axis (center) of an image and a text are to be aligned.

The defined values for the form:image-align attribute are:

If a form:image-align attribute is not present, it is assumed to be center.

The default value for this attribute is center.

The form:image-align attribute is usable with the following elements: <form:button> 13.5.15, <form:checkbox> 13.5.17 and <form:radio> 13.5.18.

The values of the form:image-align attribute are start, center or end.

19.279 form:image-data

The form:image-data attribute specifies the location of a file containing image data.

The form:image-data attribute is usable with the following elements: <form:button> 13.5.15, <form:image> 13.5.16 and <form:image-frame> 13.5.20.

The form:image-data attribute has the data type anyIRI 18.3.2.

19.280 form:image-position

If the form:image-position attribute specifies the location of an image relative to the text of a control.

The defined values for the form:image-position attribute are:

The default value for this attribute is center.

The form:image-position attribute is usable with the following elements: <form:button> 13.5.15, <form:checkbox> 13.5.17 and <form:radio> 13.5.18.

19.281 form:is-tristate

The form:is-tristate attribute specifies a check box can have the values of checked, unchecked and unknown.

The defined values for the form:is-tristate attribute are:

The default value for this attribute is false.

The form:is-tristate attribute is usable with the following element: <form:checkbox> 13.5.17.

The form:is-tristate attribute has the data type boolean 18.3.3.

19.282 form:label

The form:label attribute specifies the text for a control.

The form:label attribute is usable with the following elements: <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:column> 13.5.23, <form:fixed-text> 13.5.10, <form:frame> 13.5.19, <form:item> 13.5.12, <form:option> 13.5.14 and <form:radio> 13.5.18.

The form:label attribute has the data type string 18.2.

19.283 form:linked-cell

The form:linked-cell attribute specifies a table cell to which the form control content should be linked. Linking means that the cell value and control content are equal at all times.

The table cell to link the control to can be specified as a cellAddress, or as a named cell range. In the latter case, if the named range contains more than one cell, the cell in the first row and first column of the range is linked to the form control.

If the attribute value matches the name of a named range as well as a cell address, it is interpreted as the name of a named range.

The form:linked-cell attribute is usable with the following elements: <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:formatted-text> 13.5.6, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9 and <form:value-range> 13.5.24.

The values of the form:linked-cell attribute are a value of type cellAddress 18.3.4 or a value of type string 18.2.

19.284 form:list-linkage-type

The form:list-linkage-type attribute specifies how a control defined by a <form:listbox> 13.5.13 elements interacts with a linked table cell.

The defined values for the form:list-linkage-type attribute are:

  • selection: The text selected in the control is propagated to its linked cell. If text is entered into a cell linked to a <form:listbox> element, the list item whose label matches the cell text is selected, or all items are deselected if no such item exists. 

  • selection-indices: If a list item is selected in the control, its index value on a 1-based index is propagated to its its linked cell. If the value in the linked cell changes, the control should select the list item with the index described by the cell value, or deselect all items if the cell value cannot be interpreted as integer value, or does not specify a valid list index item. 

The form:list-linkage-type attribute is usable with the following element: <form:listbox> 13.5.13.

The values of the form:list-linkage-type attribute are selection or selection-indices.

19.285 form:list-source

The form:list-source attribute specifies a source for the list entries in a list or combo box.

Obtaining those list entries may be a multi-step process. The process depends upon the value of the form:list-source-type attribute on the same element.

If the form:list-source-type 19.286 attribute has the value value-list, the content of the form:list-source attribute is ignored.

In all other cases, the content of the form:list-source attribute is resolved relative to a database connection or database front-end document. The <form:form> 13.3 element containing the control defines this database connection or document by its form:datasource 19.264 attribute.

  • For retrieving the list entries depending on the form:list-source-type attribute, the following algorithms are to be used:  

  • If the form:list-source-type attribute has the value table-fields, the form:list-source attribute specifies the name of a database table. The names of the columns of this table, in the order as returned by the database driver, are used as list entries. 

  • For all other values of form:list-source-type, the value of the form:list-source attribute is used to create a result set. For this, the first step is to transform the value of the form:list-source attribute into an SQL command as follows:  

  • sql, sql-pass-through: The SQL command is the content of the form:list-source attribute. 

  • query: The form:list-source attribute specifies the name of a query object in the database, whose underlying SQL command is to be used.  

  • table: The form:list-source attribute specifies the name of a database table, and the SQL command is the default SQL command to select all data from that table. This is "SELECT * FROM <table_name>", but consumers may find it necessary to add escape characters to a table name, if required by the database driver. 

In a next step, the obtained SQL command is executed against the database. If the form:list-source-type attribute has the value sql-pass-through or query, and if the db:escape-processing 19.51 attribute of the referred query has the value false, then the SQL command shall be passed directly to the database driver, without being interpreted and modified or normalized by the consumer.

This execution produces a two-dimensional homogeneous result set, whose first-column values form the entry list to be used.

The form:list-source attribute is usable with the following elements: <form:combobox> 13.5.11 and <form:listbox> 13.5.13.

The form:list-source attribute has the data type string 18.2.

19.286 form:list-source-type

The form:list-source-type attribute specifies how to populate the entry list in a combo box or list box control.

The defined values for the form:list-source-type attribute are:

  • query: evaluated against the database front-end document or database connection defined by the <form:form> element which the control belongs to. The form:list-source attribute defines that evaluation. 19.285 

  • sql: evaluated against the database front-end document or database connection defined by the <form:form> element which the control belongs to. The form:list-source attribute defines that evaluation. 19.285 

  • sql-pass-through: evaluated against the database front-end document or database connection defined by the <form:form> element which the control belongs to. The form:list-source attribute defines that evaluation. 19.285 

  • table: evaluated against the database front-end document or database connection defined by the <form:form> element which the control belongs to. The form:list-source attribute defines that evaluation. 19.285 

  • table-fields: evaluated against the database front-end document or database connection defined by the <form:form> element which the control belongs to. The form:list-source attribute defines that evaluation. 19.285 

  • value-list: entry list populated by values specified by the form:value 19.316 attributes of <form:option> 13.5.14 child elements. This value is applicable to list boxes only.  

The form:list-source-type attribute is usable with the following elements: <form:combobox> 13.5.11 and <form:listbox> 13.5.13.

The values of the form:list-source-type attribute are table, query, sql, sql-pass-through, value-list or table-fields.

19.287 form:master-fields

The form:master-fields attribute specifies the names of the columns in the result set represented by a parent form. Each time the parent form changes the current row, the nested form queries the database again based on the values of the master fields.

The attribute contains a comma “,” (U+002C, COMMA) separated list of field names.

The form:master-fields attribute is usable with the following element: <form:form> 13.3.

The form:master-fields attribute has the data type string 18.2.

19.288 form:max-length

The form:max-length attribute specifies the maximum number of characters that a user can enter in an input control.

The form:max-length attribute is usable with the following elements: <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:formatted-text> 13.5.6, <form:number> 13.5.7, <form:password> 13.5.4, <form:text> 13.5.2, <form:textarea> 13.5.3 and <form:time> 13.5.9.

The form:max-length attribute has the data type nonNegativeInteger 18.2.

19.289 form:max-value

19.289.1 General

The form:max-value attribute specifies the maximum value that a user can enter.

19.289.2 <form:date>

The value type of the form:max-value attribute is date.

The form:max-value attribute is usable with the following element: <form:date> 13.5.8.

The form:max-value attribute has the data type date 18.2.

19.289.3 <form:formatted-text>

The value type of the form:max-value attribute is string.

The form:max-value attribute is usable with the following element: <form:formatted-text> 13.5.6.

The form:max-value attribute has the data type string 18.2.

19.289.4 <form:number> and <form:value-range>

The value type of the form:max-value attribute is double.

The form:max-value attribute is usable with the following elements: <form:number> 13.5.7 and <form:value-range> 13.5.24.

The form:max-value attribute has the data type double 18.2.

19.289.5 <form:time>

The value type of the form:max-value attribute is time.

The form:max-value attribute is usable with the following element: <form:time> 13.5.9.

The form:max-value attribute has the data type time 18.2.

19.290 form:min-value

19.290.1 General

The form:min-value attribute specifies the minimum value that a user can enter.

19.290.2 <form:date>

The value type of the form:min-value attribute is date.

The form:min-value attribute is usable with the following element: <form:date> 13.5.8.

The form:min-value attribute has the data type date 18.2.

19.290.3 <form:formatted-text>

The value type of the form:min-value attribute is string.

The form:min-value attribute is usable with the following element: <form:formatted-text> 13.5.6.

The form:min-value attribute has the data type string 18.2.

19.290.4 <form:number> and <form:value-range>

The value type of the form:min-value attribute is double.

The form:min-value attribute is usable with the following elements: <form:number> 13.5.7 and <form:value-range> 13.5.24.

The form:min-value attribute has the data type double 18.2.

19.290.5 <form:time>

The value type of the form:min-value attribute is time.

The form:min-value attribute is usable with the following element: <form:time> 13.5.9.

The form:min-value attribute has the data type time 18.2.

19.291 form:method

The form:method attribute specifies the HTTP method [RFC2616] used to submit data in a form to a server.

The defined values for the form:method attribute are:

  • get: HTTP get method. 

  • post: HTTP post method. 

  • a value of type string 

These values are not case sensitive.

The default value for this attribute is get.

The form:method attribute is usable with the following element: <form:form> 13.3.

The values of the form:method attribute are get, post or a value of type string 18.2.

19.292 form:multi-line

The form:multi-line attribute specifies whether a label is displayed on multiple lines.

The defined values for the form:multi-line attribute are:

The default value for this attribute is false.

The form:multi-line attribute is usable with the following element: <form:fixed-text> 13.5.10.

The form:multi-line attribute has the data type boolean 18.3.3.

19.293 form:multiple

The form:multiple attribute specifies whether a user can select multiple items from a list box.

The defined values for the form:multiple attribute are:

The default value for this attribute is false.

The form:multiple attribute is usable with the following element: <form:listbox> 13.5.13.

The form:multiple attribute has the data type boolean 18.3.3.

19.294 form:name

The form:name attribute specifies the name of a form or control element.

Note: This may be used to give a form or control element an identity, which can be used for scripting or for submitting the content of controls.

The form:name attribute is usable with the following elements: <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:column> 13.5.23, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:fixed-text> 13.5.10, <form:form> 13.3, <form:formatted-text> 13.5.6, <form:frame> 13.5.19, <form:generic-control> 13.5.25, <form:grid> 13.5.22, <form:hidden> 13.5.21, <form:image> 13.5.16, <form:image-frame> 13.5.20, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9 and <form:value-range> 13.5.24.

The form:name attribute has the data type string 18.2.

19.295 form:navigation-mode

The form:navigation-mode attribute specifies methods for navigation of a database aware form.

The defined values of the form:navigation-mode attribute are:

The form:navigation-mode attribute is usable with the following element: <form:form> 13.3.

The values of the form:navigation-mode attribute are none, current or parent.

19.296 form:order

The form:order attribute specifies a sort criteria for a command.

The form:order attribute is usable with the following element: <form:form> 13.3.

The form:order attribute has the data type string 18.2.

19.297 form:orientation

The form:orientation attribute specifies the orientation of a control,

The defined values for the form:orientation attribute are:

The form:orientation attribute is usable with the following element: <form:value-range> 13.5.24.

The values of the form:orientation attribute are horizontal or vertical.

19.298 form:page-step-size

The form:page-step-size attribute specifies the preferred major value change offered ioffered the user (if applicable for the control used).

The form:page-step-size attribute is usable with the following element: <form:value-range> 13.5.24.

The form:page-step-size attribute has the data type positiveInteger 18.2.

19.299 form:printable

The form:printable attribute specifies whether a control is printed when a user prints a document containing the control.

The defined values for the form:printable attribute are:

The default value for this attribute is true.

The form:printable attribute is usable with the following elements: <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:fixed-text> 13.5.10, <form:formatted-text> 13.5.6, <form:frame> 13.5.19, <form:grid> 13.5.22, <form:image> 13.5.16, <form:image-frame> 13.5.20, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9 and <form:value-range> 13.5.24.

The form:printable attribute has the data type boolean 18.3.3.

19.300 form:property-name

The form:property-name attribute specifies the name of a property element. The name is unique within all <form:property> and <form:list-property> child elements of a <form:properties> 13.7 element.

The form:property-name attribute is usable with the following elements: <form:list-property> 13.9 and <form:property> 13.8.

The form:property-name attribute has the data type string 18.2.

19.301 form:readonly

The form:readonly attribute specifies whether a user can modify the value of a control.

Read-only controls are included in a tabbing navigation sequence.

The defined values for the form:readonly attribute are:

The default value for this attribute is false.

The form:readonly attribute is usable with the following elements: <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:formatted-text> 13.5.6, <form:image-frame> 13.5.20, <form:number> 13.5.7, <form:text> 13.5.2, <form:textarea> 13.5.3 and <form:time> 13.5.9.

The form:readonly attribute has the data type boolean 18.3.3.

19.302 form:repeat

The form:repeat attribute specifies whether a form control, or a part of a form control, repeats a defined action in response a continuous action by a user.

The defined values for the form:repeat attribute are:

Note: Pressing and holding any key is an example of a continuous action by a user.

The form:repeat attribute is usable with the following elements: <form:button> 13.5.15, <form:date> 13.5.8, <form:formatted-text> 13.5.6, <form:number> 13.5.7, <form:time> 13.5.9 and <form:value-range> 13.5.24.

The form:repeat attribute has the data type boolean 18.3.3.

19.303 form:selected

The form:selected attribute specifies the default state of a radio button or option. A control initializes to the default state specified by this attribute control.

In a group of radio buttons that share the same name, only one radio button can have a form:selected attribute set to true.

The defined values for the form:selected attribute are:

The default value for this attribute is false.

The form:selected attribute is usable with the following elements: <form:option> 13.5.14 and <form:radio> 13.5.18.

The form:selected attribute has the data type boolean 18.3.3.

19.304 form:size

The form:size attribute specifies the number of rows that are visible at a time in a combo box list or a list box list.

The form:size attribute is usable with the following elements: <form:combobox> 13.5.11 and <form:listbox> 13.5.13.

The form:size attribute has the data type nonNegativeInteger 18.2.

19.305 form:source-cell-range

The form:source-cell-range attribute specifies a rectangular cell range, whose content should be synchronized with a form control’s item list. The form control reacts to changes in the cell range, that is, it adjusts its item list as the cell range's content changes.

The attribute specifies a cell range using cellRangeAddress or with the a name of a named cell range. It displays the left-most columns of a range, if the range contains more columns than a form control can display.

The form:source-cell-range attribute is usable with the following elements: <form:combobox> 13.5.11 and <form:listbox> 13.5.13.

The values of the form:source-cell-range attribute are a value of type cellRangeAddress 18.3.5 or a value of type string 18.2.

19.306 form:spin-button

The form:spin-button attribute specifies whether a form control for input has spin buttons. Spin buttons are used to increment or decrement all or part of an input value.

The defined values for the form:spin-button attribute are:

The default value for this attribute is false.

The form:spin-button attribute is usable with the following elements: <form:date> 13.5.8, <form:formatted-text> 13.5.6, <form:number> 13.5.7 and <form:time> 13.5.9.

The form:spin-button attribute has the data type boolean 18.3.3.

19.307 form:state

The form:state attribute specifies the default state of a check box control. A check box control initializes to the default state specified by this attribute.

The defined values for the form:state attribute are:

The default value for this attribute is unchecked.

The form:state attribute is usable with the following element: <form:checkbox> 13.5.17.

The values of the form:state attribute are unchecked, checked or unknown.

19.308 form:step-size

The form:step-size attribute specifies the preferred minor value change offered the user (if applicable for the control used).

The default value for this attribute is 1.

The form:step-size attribute is usable with the following element: <form:value-range> 13.5.24.

The form:step-size attribute has the data type positiveInteger 18.2.

19.309 form:tab-cycle

The form:tab-cycle attribute specifies how the consumer responds when the user presses the TAB key in the controls in a form. The behavior of the consumer depends on whether the form is bound to a data source.

The defined values for the form:tab-cycle attribute are:

The form:tab-cycle attribute is usable with the following element: <form:form> 13.3.

The values of the form:tab-cycle attribute are records, current or page.

19.310 form:tab-index

The form:tab-index attribute specifies the tabbing navigation order of controls within a form. Tabbing order is the order of focus on controls when a user navigates the form using the TAB key on the keyboard. Elements within other elements can be included in a tabbing order. Values do not have to be sequential and they do not have to begin with a particular value.

The rules of tab navigation are:

  1. 1)Controls that have the form:disabled 19.268 attribute set to true are not included in the navigation, independent of their form:tab-index value.  

  2. 2)Controls that have the same values for the form:tab-index attribute are navigated in order of their position in the form.  

  3. 3)The navigation starts with the controls with lowest non-zero form:tab-index value.  

  4. 4)When the controls with a certain form:tab-index value have been navigated, navigation continues with the controls with the next highest value.  

  5. 5)After the controls with the highest value have been navigated, navigation continues with the controls that do not contain the form:tab-index attribute or contain the attribute with a value of 0.  

The default value for this attribute is 0.

The form:tab-index attribute is usable with the following elements: <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:formatted-text> 13.5.6, <form:grid> 13.5.22, <form:image> 13.5.16, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9 and <form:value-range> 13.5.24.

The form:tab-index attribute has the data type nonNegativeInteger 18.2.

19.311 form:tab-stop

The form:tab-stop attribute specifies whether a control is included in the tabbing navigation order.

The defined values for the form:tab-stop attribute are:

The default value for this attribute is true.

The form:tab-stop attribute is usable with the following elements: <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:formatted-text> 13.5.6, <form:grid> 13.5.22, <form:image> 13.5.16, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9 and <form:value-range> 13.5.24.

The form:tab-stop attribute has the data type boolean 18.3.3.

19.312 form:text-style-name

The form:text-style-name attribute specifies a paragraph style that is applied to all controls for a column. A paragraph style for a form may reference a data style.

The form:text-style-name attribute is usable with the following element: <form:column> 13.5.23.

The form:text-style-name attribute has the data type styleNameRef 18.3.32.

19.313 form:title

The form:title attribute contains additional information about a control.

Note: The value of the attribute may be used as a "tool tip" (a short message that appears when the pointing device pauses over the form element). Audio user agents may speak the title information in a similar context.

The form:title attribute is usable with the following elements: <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:fixed-text> 13.5.10, <form:formatted-text> 13.5.6, <form:frame> 13.5.19, <form:grid> 13.5.22, <form:image> 13.5.16, <form:image-frame> 13.5.20, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9 and <form:value-range> 13.5.24.

The form:title attribute has the data type string 18.2.

19.314 form:toggle

The form:toggle attribute specifies whether a form button control acts as a push button or as a toggle button.

Note: A toggle button is similar to a check box (in fact, it could be considered a different visual representation of a check box), in that operating it once, by either mouse or keyboard, toggles its state between "pressed" and "not pressed".

A push button triggers an action, which happens every time the user operates the button.

The defined values for the form:toggle attribute are:

The default value for this attribute is false.

The form:toggle attribute is usable with the following element: <form:button> 13.5.15.

The form:toggle attribute has the data type boolean 18.3.3.

19.315 form:validation

The form:validation attribute specifies whether the text that the user enters is validated during input against the input format associated with the control.

The defined values for the form:validation attribute are:

The default value for this attribute is false.

The form:validation attribute is usable with the following element: <form:formatted-text> 13.5.6.

The form:validation attribute has the data type boolean 18.3.3.

19.316 form:value

19.316.1 General

The form:value attribute specifies the default value of an input control.

The form:value attribute is usable with the following elements: <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:formatted-text> 13.5.6, <form:hidden> 13.5.21, <form:image> 13.5.16, <form:number> 13.5.7, <form:option> 13.5.14, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9 and <form:value-range> 13.5.24.

The form:value attribute has the data type string 18.2.

19.316.2 <form:button>

The value type of the form:value attribute is boolean.

The form:value attribute is usable with the following element: <form:button> 13.5.15.

The form:value attribute has the data type string 18.2.

19.316.3 <form:date>

The value type of the form:value attribute is date.

The form:value attribute is usable with the following element: <form:date> 13.5.8.

The form:value attribute has the data type date 18.2.

19.316.4 <form:number> and <form:value-range>

The value type of the form:value attribute is number.

The form:value attribute is usable with the following elements: <form:number> 13.5.7 and <form:value-range> 13.5.24.

The form:value attribute has the data type double 18.2.

19.316.5 <form:checkbox>, <form:combobox>, <form:file>, <form:formatted-text>, <form:hidden>, <form:image>, <form:option>, <form:password>, <form:radio>, <form:text>, <form:textarea>

The value type of the form:value attribute is string.

The form:value attribute is usable with the following elements: <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:file> 13.5.5, <form:formatted-text> 13.5.6, <form:hidden> 13.5.21, <form:image> 13.5.16, <form:option> 13.5.14, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2 and <form:textarea> 13.5.3.

The form:value attribute has the data type string 18.2.

19.316.6 <form:time>

The value type of the form:value attribute is time.

The form:value attribute is usable with the following element: <form:time> 13.5.9.

The form:value attribute has the data type time 18.2.

19.317 form:visual-effect

The form:visual-effect attributes specifies a visual effect to apply to a control.

The defined values for the form:visual-effect attribute are:

The form:visual-effect attribute is usable with the following elements: <form:checkbox> 13.5.17 and <form:radio> 13.5.18.

The values of the form:visual-effect attribute are flat or 3d.

19.318 form:xforms-list-source

The form:xforms-list-source attribute specifies a reference to an xform:bind attribute, and creates a list entry for each node in the node-set defined by that attribute.

The form:xforms-list-source attribute is usable with the following element: <form:listbox> 13.5.13.

The form:xforms-list-source attribute has the data type string 18.2.

19.319 form:xforms-submission

The form:xforms-submission attribute specifies the id of an <xforms:submission> (3.3.3 of [XForms]) child element of a <xforms:model> element for a <form:button> 13.5.15 control.

The form:xforms-submission attribute is usable with the following element: <form:button> 13.5.15.

The form:xforms-submission attribute has the data type string 18.2.

19.320 grddl:transformation

The grddl:transformation attributes link to a transformation for extracting RDF data from the document. See [GRDDL].

Note: This transformation is intended to be interpreted by consumers that do not support OpenDocument.

The referenced transformations should map OpenDocument elements that are children of the <office:meta> 3.2 element to RDF. They should also extract the RDF triples stored as RDFa attributes in the document content and styles.

Note: Please check the OASIS Open Document Format for Office Applications (OpenDocument) TC's web site for GRDDL transformations provided by the OASIS Open Document Format for Office Applications (OpenDocument) TC.

The grddl:transformation attribute is usable with the following elements: <office:document> 3.1.2, <office:document-content> 3.1.3.2, <office:document-meta> 3.1.3.4, <office:document-settings> 3.1.3.5 and <office:document-styles> 3.1.3.3.

The value of the grddl:transformation attribute is a white space separated lists of values of type anyIRI 18.3.2, including the empty list.

19.321 meta:cell-count

The meta:cell-count attribute specifies the number of table cells that an OpenDocument producer has counted in a document.

The meta:cell-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:cell-count attribute has the data type nonNegativeInteger 18.2.

19.322 meta:character-count

The meta:character-count attribute specifies the number of characters that an OpenDocument producer has counted in a document.

The value of the meta:character-count attribute is implementation-dependent.

The meta:character-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:character-count attribute has the data type nonNegativeInteger 18.2.

19.323 meta:date

The meta:date attribute specifies the date and time when a template was last modified, prior to being used to create the current document.

The meta:date attribute is usable with the following element: <meta:template> 4.3.2.12.

The meta:date attribute has the data type dateTime 18.2.

19.324 meta:delay

The meta:delay attribute specifies a reload delay.

The meta:delay attribute is usable with the following element: <meta:auto-reload> 4.3.2.13.

The meta:delay attribute has the data type duration 18.2.

19.325 meta:draw-count

The meta:draw-count attribute specifies the number of drawing shapes that an OpenDocument producer has counted in a document.

The meta:draw-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:draw-count attribute has the data type nonNegativeInteger 18.2.

19.326 meta:frame-count

The meta:frame-count attribute specifies the number of text boxes that an OpenDocument producer has counted in a document.

The meta:frame-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:frame-count attribute has the data type nonNegativeInteger 18.2.

19.327 meta:image-count

The meta:image-count attribute specifies the number of images that an OpenDocument producer has counted in a document.

The meta:image-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:image-count attribute has the data type nonNegativeInteger 18.2.

19.328 meta:name

The meta:name attribute specifies the name of a metadata element. The name shall be unique within the domain of <meta:user-defined> 4.3.3 elements.

The meta:name attribute is usable with the following element: <meta:user-defined> 4.3.3.

The meta:name attribute has the data type string 18.2.

19.329 meta:non-whitespace-character-count

The meta:non-whitespace-character-count attribute specifies the number of non-white space characters that an OpenDocument producer has counted in a document.

The value of the meta:non-whitespace-character-count attribute is implementation-dependent.

The meta:non-whitespace-character-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:non-whitespace-character-count attribute has the data type nonNegativeInteger 18.2.

19.330 meta:object-count

The meta:object-count attribute specifies the number of embedded objects stored in OpenDocument format that the OpenDocument producer has counted for the document.

The meta:object-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:object-count attribute has the data type nonNegativeInteger 18.2.

19.331 meta:ole-object-count

The meta:ole-object-count attribute specifies the number of embedded objects stored in a different format than OpenDocument that the OpenDocument producer has counted for the document.

The meta:ole-object-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:ole-object-count attribute has the data type nonNegativeInteger 18.2.

19.332 meta:page-count

The meta:page-count attribute specifies the number of pages that an OpenDocument producer has calculated for a document.

The value of the meta:page-count attribute is implementation-dependent.

The meta:page-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:page-count attribute has the data type nonNegativeInteger 18.2.

19.333 meta:paragraph-count

The meta:paragraph-count attribute specifies the number of paragraphs that an OpenDocument producer has counted in a document.

The meta:paragraph-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:paragraph-count attribute has the data type nonNegativeInteger 18.2.

19.334 meta:row-count

The meta:row-count attribute specifies the number of lines contained in a document instance.

The value of the meta:row-count attribute is implementation-dependent.

The meta:row-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:row-count attribute has the data type nonNegativeInteger 18.2.

19.335 meta:sentence-count

The meta:sentence-count attribute specifies the number of sentences that an OpenDocument producer has counted in a document.

The value of the meta:sentence-count attribute is implementation-dependent.

The meta:sentence-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:sentence-count attribute has the data type nonNegativeInteger 18.2.

19.336 meta:syllable-count

The meta:syllable-count attribute specifies the number of syllables that an OpenDocument producer has counted in a document.

The value of the meta:syllable-count attribute is implementation-dependent.

The meta:syllable-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:syllable-count attribute has the data type nonNegativeInteger 18.2.

19.337 meta:table-count

The meta:table-count attribute specifies the number of <table:table> elements counted in a document.

The meta:table-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:table-count attribute has the data type nonNegativeInteger 18.2.

19.338 meta:value-type

The meta:value-type attribute specifies the type of a metadata element.

The defined values for the meta:value-type attribute are:

The default type for meta-data elements is string.

The meta:value-type attribute is usable with the following element: <meta:user-defined> 4.3.3.

19.339 meta:word-count

The meta:word-count attribute specifies the number of words that an OpenDocument producer has counted in a document.

The value of the meta:word-count attribute is implementation-dependent.

The meta:word-count attribute is usable with the following element: <meta:document-statistic> 4.3.2.18.

The meta:word-count attribute has the data type nonNegativeInteger 18.2.

19.340 number:automatic-order

The number:automatic-order attribute specifies whether data is ordered to match the default order for the language and country of a data style.

The defined values for the number:automatic-order attribute are:

The default value for this attribute is false.

The number:automatic-order attribute is usable with the following elements: <number:currency-style> 16.29.8 and <number:date-style> 16.29.11.

The number:automatic-order attribute has the data type boolean 18.3.3.

19.341 number:calendar

The number:calendar attribute specifies the calendar system used to extract parts of a date.

The defined values for the number:calendar attribute are:

The attribute value may also be a string value. If this attribute is not specified, the default calendar system for the locale of the data style is used.

The number:calendar attribute is usable with the following elements: <number:day> 16.29.12, <number:day-of-week> 16.29.16, <number:era> 16.29.15, <number:month> 16.29.13, <number:quarter> 16.29.18, <number:week-of-year> 16.29.17 and <number:year> 16.29.14.

The values of the number:calendar attribute are gregorian, gengou, ROC, hanja_yoil, hanja, hijri, jewish, buddhist or a value of type string 18.2.

19.342 number:country

The number:country attribute specifies a country code for a data style. The country code is used for formatting properties whose evaluation is locale-dependent.

If a country is not specified, the system settings are used.

The number:country attribute on a <number:currency-symbol> element, specifies the country of a currency symbol.

The number:country attribute is usable with the following elements: <number:boolean-style> 16.29.24, <number:currency-style> 16.29.8, <number:currency-symbol> 16.29.9, <number:date-style> 16.29.11, <number:number-style> 16.29.2, <number:percentage-style> 16.29.10, <number:text-style> 16.29.26 and <number:time-style> 16.29.19.

The number:country attribute has the data type countryCode 18.3.11.

19.343 number:decimal-places

19.343.1 General

The number:decimal-places attribute specifies the number of decimal places to display.

19.343.2 <number:number>

If the number:decimal-places attribute is not specified, the number of decimal places specified by the default table cell style is used.

The number:decimal-places attribute is usable with the following element: <number:number> 16.29.3.

The number:decimal-places attribute has the data type integer 18.2.

19.343.3 <number:seconds>

If the number:decimal-places attribute is not specified or if the value of the attribute is 0, seconds are not displayed.

For a <number:seconds> element the default value for this attribute is 0.

The number:decimal-places attribute is usable with the following element: <number:seconds> 16.29.22.

The number:decimal-places attribute has the data type integer 18.2.

19.343.4 <number:scientific-number>

The number:decimal-places attribute specifies the number of decimal places to display.

If the number:decimal-places attribute is not specified, the number of decimal places specified by the default table cell style is used.

The number:decimal-places attribute is usable with the following element: <number:scientific-number> 16.29.6.

The number:decimal-places attribute has the data type integer 18.2.

19.344 number:decimal-replacement

The number:decimal-replacement attribute specifies a replacement text for decimal places if a number style specifies that decimal places are used but the number displayed is an integer.

Note: What replacement text is supported is implementation-dependent.

The number:decimal-replacement attribute is usable with the following element: <number:number> 16.29.3.

The number:decimal-replacement attribute has the data type string 18.2.

19.345 number:denominator-value

The number:denominator-value attribute specifies an integer value that is used as the denominator of a fraction. If this attribute is not present, a denominator that is appropriate for displaying the number is used.

Note: The number:denominator-value attribute is used with number:grouping 19.350, number:min-denominator-digits 19.353, number:min-integer-digits 19.355 and number:min-numerator-digits 19.357 to define the display of a floating-point number as a fraction.

The number:denominator-value attribute is usable with the following element: <number:fraction> 16.29.7.

The number:denominator-value attribute has the data type integer 18.2.

19.346 number:display-factor

The number:display-factor attribute specifies a factor by which each number is scaled (divided) before displaying.

The default value for this attribute is 1.

The number:display-factor attribute is usable with the following element: <number:number> 16.29.3.

The number:display-factor attribute has the data type double 18.2.

19.347 number:exponent-interval

The number:exponent-interval attribute determines the valid exponents to be used: the valid exponents are the integer multiples of the value of the number:exponent-interval attribute.

The default value for this attribute is 1.

The number:exponent-interval attribute is usable with the following element: <number:scientific-number> 16.29.6.

The number:exponent-interval attribute has the data type positiveInteger 18.2.

19.348 number:format-source

The number:format-source attribute specifies the source of definitions of the short and long display formats.

The defined values for the number:format-source attribute are:

The default value for this attribute is fixed.

The number:format-source attribute is usable with the following elements: <number:date-style> 16.29.11 and <number:time-style> 16.29.19.

The values of the number:format-source attribute are fixed or language.

19.349 number:forced-exponent-sign

The number:forced-exponent-sign attribute specifies whether the sign of the exponent for a scientific number is always displayed.

The defined values for the number:forced-exponent-sign attribute are:

The default value for this attribute is true.

The number:forced-exponent-sign attribute is usable with the following element: <number:scientific-number> 16.29.6.

The number:forced-exponent-sign attribute has the data type boolean 18.3.3.

19.350 number:grouping

The number:grouping attribute specifies whether the integer digits of a number should be grouped using a separator character.

The grouping character that is used and the number of digits that are grouped together depends on the language and country of the style.

The defined values for the number:grouping attribute are:

The default value for this attribute is false.

The number:grouping attribute is usable with the following elements: <number:fraction> 16.29.7, <number:number> 16.29.3 and <number:scientific-number> 16.29.6.

The number:grouping attribute has the data type boolean 18.3.3.

19.351 number:language

The number:language attribute specifies a language code. The country code is used for formatting properties whose evaluation is locale-dependent.

If a language code is not specified, either the system settings or the setting for the system's language are used, depending on the property whose value should be evaluated.

The number:language attribute is usable with the following elements: <number:boolean-style> 16.29.24, <number:currency-style> 16.29.8, <number:currency-symbol> 16.29.9, <number:date-style> 16.29.11, <number:number-style> 16.29.2, <number:percentage-style> 16.29.10, <number:text-style> 16.29.26 and <number:time-style> 16.29.19.

The number:language attribute has the data type languageCode 18.3.17.

19.352 number:max-denominator-value

The number:max-denominator-value attribute specifies the maximum denominator permitted to be chosen if its <number:fraction> element does not have a number:denominator-value attribute. The number:max-denominator-value attribute is ignored in the presence of a number:denominator-value 19.345 attribute. The absence of the number:max-denominator-value attribute indicates that no maximum denominator is specified.

Note: The number:max-denominator-value attribute is used with number:grouping 19.348, number:min-denominator-digits 19.350, number:min-integer-digits 19.352 and number:min-numerator-digits 19.353 to define the display of a floating-point number as a fraction.

Note: A number:max-denominator-value attribute value of 99 is equivalent to permitting any 1- or 2-digit denominator. A number:max-denominator-value attribute value of 999 is equivalent to permitting any 1, 2, or 3 digit denominator.

The number:max-denominator-value attribute is usable with the following element: <number:fraction> 16.29.7.

The number:max-denominator-value attribute has the data type positiveInteger 18.2.

19.353 number:min-denominator-digits

The number:min-denominator-digits attribute specifies the minimum number of digits to use to display the denominator of a fraction.

The number:min-denominator-digits attribute is usable with the following element: <number:fraction> 16.29.7.

The number:min-denominator-digits attribute has the data type integer 18.2.

19.354 number:min-exponent-digits

The number:min-exponent-digits attribute specifies the minimum number of digits to use to display an exponent.

The number:min-exponent-digits attribute is usable with the following element: <number:scientific-number> 16.29.6.

The number:min-exponent-digits attribute has the data type integer 18.2.

19.355 number:min-integer-digits

The number:min-integer-digits attribute specifies the minimum number of integer digits to display in the integer portion of a number, a scientific number, or a fraction.

For a <number:fraction> element, if the number:min-integer-digits attribute is not present, no integer portion is displayed.

The number:min-integer-digits attribute is usable with the following elements: <number:fraction> 16.29.7, <number:number> 16.29.3 and <number:scientific-number> 16.29.6.

The number:min-integer-digits attribute has the data type integer 18.2.

19.356 number:min-decimal-places

19.356.1 General

The number:min-decimal-places attribute specifies the minimum number of digits in the decimal part.


The value of the number:min-decimal-places attribute shall not be greater than the value of the number:decimal-places
19.343 attribute.


If the value of number:min-decimal-places is less than the value of number:decimal-places, trailing zero digits in decimal places following the position indicated by the value of number:min-decimal-places shall not be displayed.

19.356.2 <number:number>

If the number:min-decimal-places attribute is not specified, it is set to:

If both number:decimal-replacement 19.344 and number:min-decimal-places attributes are present, and the number displayed is an integer, then the value of number:decimal-replacement shall be displayed.

The number:min-decimal-places attribute is usable with the following element: <number:number> 16.29.3.

The number:min-decimal-places attribute has the data type integer 18.2.

19.356.3 <number:scientific-number>

If the number:min-decimal-places attribute is not specified, it is set to the value of the number:decimal-places 19.343 attribute.

The number:min-decimal-places attribute is usable with the following element: <number:scientific-number> 16.29.6.

The number:min-decimal-places attribute has the data type integer 18.2.

19.357 number:min-numerator-digits

The number:min-numerator-digits attribute specifies the minimum number of digits to use to display the numerator in a fraction.

The number:min-numerator-digits attribute is usable with the following element: <number:fraction> 16.29.7.

The number:min-numerator-digits attribute has the data type integer 18.2.

19.358 number:position

The number:position attribute specifies the position where text appears.

The index of a position starts with 1 and is counted by digits from right to left in the integer part of a number, starting left from a decimal separator if one exists, or from the last digit of the number. Text is inserted before the digit at the specified position. If the value of number:position attribute is greater than the value of number:min-integer-digits 19.355 and greater than the number of integer digits in the number, text is prepended to the number.

The number:position attribute is usable with the following element: <number:embedded-text> 16.29.4.

The number:position attribute has the data type integer 18.2.

19.359 number:possessive-form

The number:possessive-form attribute specifies whether the month is displayed as a noun or using the possessive form.

The number:possessive-form attribute is only applied when a number:textual 19.363 attribute on the same <number:month> element has the value of true.

The defined values for the number:possessive-form attribute are:

  • false: the name of the month is displayed in nominative form.  

  • true: the name of the month is displayed in possessive form.  

The number:possessive-form attribute is usable with the following element: <number:month> 16.29.13.

The number:possessive-form attribute has the data type boolean 18.3.3.

19.360 number:rfc-language-tag

The number:rfc-language-tag attribute specifies a language identifier according to the rules of [RFC5646], or its successors.

It shall only be used if its value cannot be expressed as a valid combination of the number:language 19.351, number:script 19.361 and number:country 19.342 attributes.

Producers may add support for consumers that don't support the number:rfc-language-tag attribute by specifying number:language, number:script and number:country attributes with values as close as possible to the actual value of the number:rfc-language-tag attribute. Producers shall not use values for these attributes that contradict the value of the table:rfc-language-tag attribute.

The number:rfc-language-tag attribute is usable with the following elements: <number:boolean-style> 16.29.24, <number:currency-style> 16.29.8, <number:currency-symbol> 16.29.9, <number:date-style> 16.29.11, <number:number-style> 16.29.2, <number:percentage-style> 16.29.10, <number:text-style> 16.29.26 and <number:time-style> 16.29.19.

The number:rfc-language-tag attribute has the data type language 18.3.16.

19.361 number:script

The number:script attribute specifies a script code. The script code is used for formatting properties whose evaluation is locale-dependent. The attribute should be used only if necessary according to the rules of §2.2.3 of [RFC5646], or its successors.

The number:script attribute is usable with the following elements: <number:boolean-style> 16.29.24, <number:currency-style> 16.29.8, <number:currency-symbol> 16.29.9, <number:date-style> 16.29.11, <number:number-style> 16.29.2, <number:percentage-style> 16.29.10, <number:text-style> 16.29.26 and <number:time-style> 16.29.19.

The number:script attribute has the data type scriptCode 18.3.29.

19.362 number:style

19.362.1 General

The number:style attribute specifies whether the content of a time element is displayed in short or long format. The value of this attribute can be short or long. The meaning of these values depends on the value of the number:format-source 19.348 attribute that is attached to a date or time style.

19.362.2 <number:day>

If the value of the number:format-source attribute is fixed the number:style attribute on the same element has the defined values:

The number:style attribute is usable with the following element: <number:day> 16.29.12.

The values of the number:style attribute are short or long.

19.362.3 <number:day-of-week>

If the value of the number:format-source attribute is fixed the number:style attribute on the same element has the defined values:

The number:style attribute is usable with the following element: <number:day-of-week> 16.29.16.

The values of the number:style attribute are short or long.

19.362.4 <number:era>

If the value of the number:format-source attribute is fixed the number:style attribute on the same element has the defined values:

The number:style attribute is usable with the following element: <number:era> 16.29.15.

The values of the number:style attribute are short or long.

19.362.5 <number:hours>

If the value of the number:format-source attribute is fixed the number:style attribute on the same element has the defined values:

The number:style attribute is usable with the following element: <number:hours> 16.29.20.

The values of the number:style attribute are short or long.

19.362.6 <number:minutes>

If the value of the number:format-source attribute is fixed the number:style attribute on the same element has the defined values:

The number:style attribute is usable with the following element: <number:minutes> 16.29.21.

The values of the number:style attribute are short or long.

19.362.7 <number:month>

If the value of the number:format-source attribute is fixed the number:style attribute on the same element has the defined values:

The number:style attribute is usable with the following element: <number:month> 16.29.13.

The values of the number:style attribute are short or long.

19.362.8 <number:quarter>

If the value of the number:format-source attribute is fixed the number:style attribute on the same element has the defined values:

The number:style attribute is usable with the following element: <number:quarter> 16.29.18.

The values of the number:style attribute are short or long.

19.362.9 <number:seconds>

If the value of the number:format-source attribute is fixed the number:style attribute on the same element has the defined values:

The number:style attribute is usable with the following element: <number:seconds> 16.29.22.

The values of the number:style attribute are short or long.

19.362.10 <number:year>

If the value of the number:format-source attribute is fixed the number:style attribute on the same element has the defined values:

The number:style attribute is usable with the following element: <number:year> 16.29.14.

The values of the number:style attribute are short or long.

19.363 number:textual

The number:textual attribute specifies whether the name or number of a month is displayed in the month portion of a date.

The defined values for the number:textual element are:

The name or number of a month is defined by the number:calendar 19.341 attribute on the same parent element as the number:textual attribute.

The default value for this attribute is false.

The number:textual attribute is usable with the following element: <number:month> 16.29.13.

The number:textual attribute has the data type boolean 18.3.3.

19.364 number:title

The number:title attribute specifies the title of a data style.

The number:title attribute is usable with the following elements: <number:boolean-style> 16.29.24, <number:currency-style> 16.29.8, <number:date-style> 16.29.11, <number:number-style> 16.29.2, <number:percentage-style> 16.29.10, <number:text-style> 16.29.26 and <number:time-style> 16.29.19.

The number:title attribute has the data type string 18.2.

19.365 number:transliteration-country

The number:transliteration-country attribute specifies a country code in conformance with [RFC5646].

If no language/country (locale) combination is specified, the locale of the data style is used.

The number:transliteration-country attribute is usable with the following elements: <number:boolean-style> 16.29.24, <number:currency-style> 16.29.8, <number:date-style> 16.29.11, <number:number-style> 16.29.2, <number:percentage-style> 16.29.10, <number:text-style> 16.29.26 and <number:time-style> 16.29.19.

The number:transliteration-country attribute has the data type countryCode 18.3.11.

19.366 number:transliteration-format

The number:transliteration-format attribute specifies which number characters to use.

The value of the number:transliteration-format attribute shall be a decimal "DIGIT ONE" character with numeric value 1 as listed in the Unicode Character Database file UnicodeData.txt with value 'Nd' (Numeric decimal digit) in the General_Category/Numeric_Type property field 6 and value '1' in the Numeric_Value fields 7 and 8, respectively as listed in DerivedNumericValues.txt

If no format is specified the default ASCII representation of Latin-Indic digits is used, other transliteration attributes present in that case are ignored.

The default value for this attribute is 1.

The number:transliteration-format attribute is usable with the following elements: <number:boolean-style> 16.29.24, <number:currency-style> 16.29.8, <number:date-style> 16.29.11, <number:number-style> 16.29.2, <number:percentage-style> 16.29.10, <number:text-style> 16.29.26 and <number:time-style> 16.29.19.

The number:transliteration-format attribute has the data type string 18.2.

19.367 number:transliteration-language

The number:transliteration-language attribute specifies a language code in conformance with [RFC5646].

If no language/country (locale) combination is specified, the locale of the data style is used.

The number:transliteration-language attribute is usable with the following elements: <number:boolean-style> 16.29.24, <number:currency-style> 16.29.8, <number:date-style> 16.29.11, <number:number-style> 16.29.2, <number:percentage-style> 16.29.10, <number:text-style> 16.29.26 and <number:time-style> 16.29.19.

The number:transliteration-language attribute has the data type countryCode 18.3.11.

19.368 number:transliteration-style

The number:transliteration-style attribute specifies the transliteration format of a number system.

The semantics of the values of the number:transliteration-style attribute are locale- and implementation-dependent.

The default value for this attribute is short.

The number:transliteration-style attribute is usable with the following elements: <number:boolean-style> 16.29.24, <number:currency-style> 16.29.8, <number:date-style> 16.29.11, <number:number-style> 16.29.2, <number:percentage-style> 16.29.10, <number:text-style> 16.29.26 and <number:time-style> 16.29.19.

The values of the number:transliteration-style attribute are short, medium or long.

19.369 number:truncate-on-overflow

The number:truncate-on-overflow attribute specifies if a time or duration for which the value to be displayed by the largest time component specified in the style is too large to be displayed using the value range for <number:hours> 16.29.20 (0 to 23), or <number:minutes> 16.29.21 or <number:seconds> 16.29.22 (0 to 59) is truncated or if the value range of this component is extended. The largest time component is those for which a value of "1" represents the longest period of time.

If a value gets truncated, then its value is displayed modulo 24 (for <number:hours>) or modulo 60 (for <number:minutes> and <number:seconds>).

If the value range of a component get extended, then values larger than 23 or 59 are displayed.

The defined values for the number:truncate-on-overflow element are:

  • false: the value range of the component is extended. 

  • true: the value range of the component is not extended. 

The default value for this attribute is true.

The number:truncate-on-overflow attribute is usable with the following element: <number:time-style> 16.29.19.

The number:truncate-on-overflow attribute has the data type boolean 18.3.3.

19.370 office:automatic-update

The office:automatic-update attribute specifies if DDE links are automatically updated or only upon user request.

The defined values for the office:automatic-update element are:

The default value for this attribute is true.

The office:automatic-update attribute is usable with the following elements: <office:dde-source> 14.7.5 and <text:dde-connection-decl> 14.7.3.

The office:automatic-update attribute has the data type boolean 18.3.3.

19.371 office:boolean-value

The office:boolean-value attribute specifies the Boolean value for a table cell (<table:change-track-table-cell>, <table:covered-table-cell> and <table:table-cell>), a text field (<text:expression>, <text:user-defined>, <text:user-field-decl> and <text:variable-set>), or a form property (<form:list-value> and <form:property>).

It specifies a default value for database columns and database column definitions (<db:column> 12.35 and <db:column-definition> 12.40).

For <text:user-defined> elements, this attribute is only evaluated if the corresponding <meta:user-defined> 4.3.3 element has attribute meta:value-type="boolean".

The office:boolean-value attribute is usable with the following elements: <db:column> 12.35, <db:column-definition> 12.40, <form:list-value> 13.10, <form:property> 13.8, <table:change-track-table-cell> 9.9.16, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:expression> 7.4.14, <text:user-defined> 7.5.6, <text:user-field-decl> 7.4.8 and <text:variable-set> 7.4.4.

The office:boolean-value attribute has the data type boolean 18.3.3.

19.372 office:conversion-mode

The office:conversion-mode attribute specifies the method by which the DDE server converts its data into numbers.

The defined values for the office:conversion-mode attribute are:

The default value for this attribute is into-default-style-data-style.

The office:conversion-mode attribute is usable with the following element: <office:dde-source> 14.7.5.

The values of the office:conversion-mode attribute are into-default-style-data-style, into-english-number or keep-text.

19.373 office:currency

The office:currency attribute specifies the currency for a value of a table cell (<table:change-track-table-cell>, <table:covered-table-cell> and <table:table-cell>), a text field (<text:expression>, <text:user-field-decl> and <text:variable-set>), or a form property (<form:list-value> and <form:property>).

It specifies a default currency for database columns and database column definitions (<db:column> 12.35 and <db:column-definition> 12.40).

The office:currency attribute is usable with the following elements: <db:column> 12.35, <db:column-definition> 12.40, <form:list-value> 13.10, <form:property> 13.8, <table:change-track-table-cell> 9.9.16, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:expression> 7.4.14, <text:user-field-decl> 7.4.8 and <text:variable-set> 7.4.4.

The office:currency attribute has the data type string 18.2.

19.374 office:date-value

The office:date-value attribute specifies the date or date-time value for a table cell (<table:change-track-table-cell>, <table:covered-table-cell> and <table:table-cell>), a text field (<text:expression>, <text:user-defined>, <text:user-field-decl> and <text:variable-set>), or a form property (<form:list-value> and <form:property>).

It specifies a default value for database columns and database column definitions (<db:column> 12.35 and <db:column-definition> 12.40).

For <text:user-defined> elements, this attribute is only evaluated if the corresponding <meta:user-defined> 4.3.3 element has attribute meta:value-type="date".

The office:date-value attribute is usable with the following elements: <db:column> 12.35, <db:column-definition> 12.40, <form:list-value> 13.10, <form:property> 13.8, <table:change-track-table-cell> 9.9.16, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:expression> 7.4.14, <text:user-defined> 7.5.6, <text:user-field-decl> 7.4.8 and <text:variable-set> 7.4.4.

The office:date-value attribute has the data type dateOrDateTime 18.3.14.

19.375 office:dde-application

The office:dde-application attribute specifies the name of the target application to use for the DDE connection.

The office:dde-application attribute is usable with the following elements: <office:dde-source> 14.7.5 and <text:dde-connection-decl> 14.7.3.

The office:dde-application attribute has the data type string 18.2.

19.376 office:dde-item

The office:dde-item attribute specifies which information the target application should deliver.

The office:dde-item attribute is usable with the following elements: <office:dde-source> 14.7.5 and <text:dde-connection-decl> 14.7.3.

The office:dde-item attribute has the data type string 18.2.

19.377 office:dde-topic

The office:dde-topic attribute specifies the name of the topic to use for the DDE connection.

The office:dde-topic attribute is usable with the following elements: <office:dde-source> 14.7.5 and <text:dde-connection-decl> 14.7.3.

The office:dde-topic attribute has the data type string 18.2.

19.378 office:display

The office:display attribute specifies whether an annotation is visible.

The office:display attribute is usable with the following element: <office:annotation> 14.1.

The office:display attribute has the data type boolean 18.3.3.

19.379 office:mimetype

The office:mimetype attribute specifies the document type for a document that is contained in a single XML file. Its values are the MIME types that are used for the packaged variant of office documents.

The office:mimetype attribute is usable with the following element: <office:document> 3.1.2.

The office:mimetype attribute has the data type string 18.2.

19.380 office:name

19.380.1 General

The office:name attribute specifies a name. The use of that name is specified for each element on which it appears.

19.380.2 <draw:a>

The office:name attribute specifies a name for a hyperlink. The name can serve as a target for other hyperlinks. The name does not have to be unique.

The office:name attribute is usable with the following element: <draw:a> 10.4.12.

The office:name attribute has the data type string 18.2.

19.380.3 <draw:area-circle>

The office:name attribute specifies a name for a shape represented by this element. The name does not have to be unique.

The office:name attribute is usable with the following element: <draw:area-circle> 10.4.13.4.

The office:name attribute has the data type string 18.2.

19.380.4 <draw:area-rectangle>

The office:name attribute specifies a name for a shape represented by this element. The name does not have to be unique.

The office:name attribute is usable with the following element: <draw:area-rectangle> 10.4.13.3.

The office:name attribute has the data type string 18.2.

19.380.5 <draw:area-polygon>

The office:name attribute specifies a name for an image map. The name does not have to be unique.

The office:name attribute is usable with the following element: <draw:area-polygon> 10.4.13.5.

The office:name attribute has the data type string 18.2.

19.380.6 <office:annotation>

The office:name attribute specifies a name for an annotation. It is used to match <office:annotation> elements with the corresponding <office:annotation-end> 14.2 elements.

The name that appears in the office:name attribute of any <office:annotation>, <office:annotation-end> pair shall be unique to that pair of elements in a document instance.

The office:name attribute is usable with the following element: <office:annotation> 14.1.

The office:name attribute has the data type string 18.2.

19.380.7 <office:annotation-end>

The office:name attribute specifies a name for an annotation. It is used to match <office:annotation-end> elements with the corresponding <office:annotation> 14.1 elements.

The office:name attribute is usable with the following element: <office:annotation-end> 14.2.

The office:name attribute has the data type string 18.2.

19.380.8 <office:dde-source>

The office:name attribute specifies the name by which a connection can be referenced.

The office:name attribute is usable with the following element: <office:dde-source> 14.7.5.

The office:name attribute has the data type string 18.2.

19.380.9 <text:a>

The office:name attribute specifies a name for a hyperlink. The name serves as a target for other hyperlinks and need not be unique.

Note: This attribute is specified for compatibility with [HTML4] only, where an <a> element may serve as a link source and target simultaneously. This attribute should not be used for any purpose other than to represent links that came from a HTML document.

The office:name attribute is usable with the following element: <text:a> 6.1.8.

The office:name attribute has the data type string 18.2.

19.380.10 <text:dde-connection-decl>

The office:name attribute specifies a name by which a connection can be referenced.

The office:name attribute is usable with the following element: <text:dde-connection-decl> 14.7.3.

The office:name attribute has the data type string 18.2.

19.382 office:server-map

The office:server-map attribute specifies that a link returns data to a server-side image map. The mouse coordinates of the click 19.406 position of the graphic shape are appended to the IRI of the link. The coordinates are be used by the server to determine which link to activate within the image map.

The default value for this attribute is false.

The office:server-map attribute is usable with the following element: <draw:a> 10.4.12.

The office:server-map attribute has the data type boolean 18.3.3.

19.383 office:string-value

The office:string-value attribute specifies the string-value for a table cell (<table:change-track-table-cell>, <table:covered-table-cell> and <table:table-cell>), a text field (<text:expression>, <text:user-defined>, <text:user-field-decl> and <text:variable-set>), or a form property (<form:list-value> and <form:property>).

It specifies a default value for database columns and database column definitions (<db:column> 12.35 and <db:column-definition> 12.40).

For <text:user-defined> elements, this attribute is only evaluated if the corresponding <meta:user-defined> 4.3.3 element has (default) attribute meta:value-type="string".

The office:string-value attribute is usable with the following elements: <db:column> 12.35, <db:column-definition> 12.40, <form:list-value> 13.10, <form:property> 13.8, <table:change-track-table-cell> 9.9.16, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:expression> 7.4.14, <text:user-defined> 7.5.6, <text:user-field-decl> 7.4.8 and <text:variable-set> 7.4.4.

The office:string-value attribute has the data type string 18.2.

19.384 office:target-frame

The office:target-frame attribute specifies a target frame.

The defined values for the office:target-frame attribute are:

The default value for this attribute is _blank.

The office:target-frame attribute is usable with the following elements: <form:button> 13.5.15, <form:form> 13.3 and <form:image> 13.5.16.

The office:target-frame attribute has the data type targetFrameName 18.3.34.

19.385 office:target-frame-name

The office:target-frame-name attribute specifies the name of a target frame.

The defined values for the office:target-frame-name attribute are:

The office:target-frame-name attribute may be used together with an xlink:show 19.917 attribute. In that case, if the value of the attribute is _blank, the xlink:show attribute value should be new. If the value of the attribute is any of the other value options, the value of the xlink:show attribute should be replace.

The office:target-frame-name attribute is usable with the following elements: <draw:a> 10.4.12, <draw:area-circle> 10.4.13.4, <draw:area-polygon> 10.4.13.5, <draw:area-rectangle> 10.4.13.3, <meta:hyperlink-behaviour> 4.3.2.14 and <text:a> 6.1.8.

The office:target-frame-name attribute has the data type targetFrameName 18.3.34.

19.386 office:time-value

The office:time-value attribute specifies the time value for a table cell (<table:change-track-table-cell>, <table:covered-table-cell> and <table:table-cell>), a text field (<text:expression>, <text:user-defined>, <text:user-field-decl> and <text:variable-set>), or a form property (<form:list-value> and <form:property>).

It specifies a default value for database columns and database column definitions (<db:column> 12.35 and <db:column-definition> 12.40).

For <text:user-defined> elements, this attribute is only evaluated if the corresponding <meta:user-defined> 4.3.3 element has attribute meta:value-type="time".

The office:time-value attribute is usable with the following elements: <db:column> 12.35, <db:column-definition> 12.40, <form:list-value> 13.10, <form:property> 13.8, <table:change-track-table-cell> 9.9.16, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:expression> 7.4.14, <text:user-defined> 7.5.6, <text:user-field-decl> 7.4.8 and <text:variable-set> 7.4.4.

The office:time-value attribute has the data type duration 18.2.

19.387 office:title

The office:title attribute specifies a short accessible description.

Note: See appendix D for guidelines on using this attribute.

The office:title attribute is usable with the following elements: <draw:a> 10.4.12 and <text:a> 6.1.8.

The office:title attribute has the data type string 18.2.

19.388 office:value

The office:value attribute specifies the currency, float or percentage value for a table cell (<table:change-track-table-cell>, <table:covered-table-cell> and <table:table-cell>), a text field (<text:expression>, <text:user-defined>, <text:user-field-decl> and <text:variable-set>), or a form property (<form:list-value> and <form:property>).

It specifies a default value for database columns and database column definitions (<db:column> 12.35 and <db:column-definition> 12.40).

For <text:user-defined> elements, this attribute is only interpreted if the corresponding <meta:user-defined> 4.3.3 element has attribute meta:value-type="float".

The office:value attribute is usable with the following elements: <db:column> 12.35, <db:column-definition> 12.40, <form:list-value> 13.10, <form:property> 13.8, <table:change-track-table-cell> 9.9.16, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:expression> 7.4.14, <text:user-defined> 7.5.6, <text:user-field-decl> 7.4.8 and <text:variable-set> 7.4.4.

19.389 office:value-type

The office:value-type attribute specifies the value-type of a table cell (<table:change-track-table-cell>, <table:covered-table-cell> and <table:table-cell>), a text field (<text:expression>, <text:user-field-decl>, <text:variable-decl>, <text:variable-input>and <text:variable-set>), or a form property (<form:list-value> and <form:property>).

It specifies a default value type of database columns and database column definitions (<db:column> 12.35 and <db:column-definition> 12.40).

The value type of each of these elements shall be specified. If the value type is not string or if the <table:table-cell> element content differs from the value of the element, the corresponding Value Attribute(s) (Table 14 - Value attributes) shall contain the value(s) of the element.

 

Table 14 - Value attributes

Value Type

Value Attribute(s)

Encoded as...

Example

boolean

office:boolean-value

true or false

"true"

currency

office:value and
office:currency

Numeric value and
currency symbol

"100"
"USD"

dat

office:date-value

Date value as specified in §3.2.9 of [xmlschema-2], or date and time value as specified in §3.2.7 of [xmlschema-2]

"2003-04-17"

float

office:value

Numeric value

"12.345"

percentage

office:value

Numeric value

"0.50"

string

office:string-value

Strings

"abc def"

time

office:time-value

Duration, as specified in §3.2.6 of [xmlschema-2]

"PT03H30M00S"

void

none

 

 

If the value type is string and the office:string-value attribute is not present, the element content defines the value.

Note: The OpenDocument concept of field values and value types and their encoding in XML is also modeled on the corresponding XML for table cell attributes.

The office:value-type attribute is usable with the following elements: <db:column> 12.35, <db:column-definition> 12.40, <form:list-property> 13.9, <form:property> 13.8, <table:change-track-table-cell> 9.9.16, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:expression> 7.4.14, <text:user-field-decl> 7.4.8, <text:variable-decl> 7.4.3, <text:variable-input> 7.4.6 and <text:variable-set> 7.4.4.

The office:value-type attribute has the data type valueType 18.3.38.

19.390 office:version

The office:version attribute identifies the version of the OpenDocument specification that defines the associated element, its schema, its complete content, and its interpretation.

The office:version attribute shall be present in every <office:document>, <office:document-content>, <office:document-styles>, <office:document-meta>, and <office:document-settings> element in the XML documents that comprise an OpenDocument 1.3 document. The value of the office:version attribute shall be "1.3".

Note 1: When an office:version-requiring element has office:version="1.1" the element and its content are based on the OpenDocument v1.1 specification [ODF11]. For office:version="1.0" the element and its content are based on the OpenDocument v1.0 specification [ODF10]. When an office:version-requiring element has office:version omitted, the element is based on a version of the OpenDocument specification earlier than v1.2.

Note 2: An OpenDocument 1.2 document that relies solely on features of a previous OpenDocument specification that are upward-compatible with OpenDocument 1.2, can be interpreted correctly under that earlier specification by treating the office:version="1.2" attribute as omitted or as identifying the earlier version.

Note 3: An OpenDocument 1.3 document that relies solely on features of a previous OpenDocument specification that are upward-compatible with OpenDocument 1.2, can be interpreted correctly under that earlier specification by treating the office:version="1.2" attribute as omitted or as identifying the earlier version.

The office:version attribute is usable with the following elements: <office:document> 3.1.2, <office:document-content> 3.1.3.2, <office:document-meta> 3.1.3.4, <office:document-settings> 3.1.3.5 and <office:document-styles> 3.1.3.3.

The only value of the office:version attribute is 1.3.

19.391 presentation:action

The presentation:action attribute specifies the type of action that is executed when an event is triggered.

The defined values for the presentation:action attribute are:

  • execute: another application is launched when this event is triggered. The application is specified with the xlink:href 19.916 attribute on the same <presentation:event-listener> element. 

  • fade-out: the object that contains this event is faded out when this event is triggered. The attributes presentation:effect 19.398, presentation:direction 19.396, presentation:speed 19.421 and presentation:start-scale 19.422 can be used to set the effect. 

  • first-page: the presentation jumps to the first page of the current document. 

  • hide: the object that contains this event is hidden if the event is triggered. 

  • last-page: the presentation jumps to the last page of the current document. 

  • last-visited-page: the presentation jumps to the page that was displayed before the current page. 

  • next-page: the presentation jumps to the next page. 

  • none: no action is performed when this event is triggered. 

  • previous-page: the presentation jumps to the previous page. 

  • show: the target of an IRI is opened when this event is triggered. The IRI is specified with the xlink:href 19.916 attribute on the same <presentation:event-listener> element. 

  • sound: an audio effect is started when the effect is triggered. The audio effect is described by a <presentation:sound> 10.8.2 child element. 

  • stop: if a slide show is active, it will be stopped. 

  • verb: if the object that contains this event supports the execution of [OLE] verbs, the verb with the id set in the presentation:verb 19.432 attribute is executed. 

The presentation:action attribute is usable with the following element: <presentation:event-listener> 10.9.2.

The values of the presentation:action attribute are none, previous-page, next-page, first-page, last-page, hide, stop, execute, show, verb, fade-out, sound or last-visited-page.

19.392 presentation:animations

The presentation:animations attribute enables or disables the playback of animations that are specified within embedded or linked images during a presentation.

The defined values for the presentation:animations attribute are:

The default value for this attribute is enabled.

The presentation:animations attribute is usable with the following element: <presentation:settings> 10.9.3.7.

The values of the presentation:animations attribute are enabled or disabled.

19.393 presentation:class

The presentation:class attribute classifies presentation shapes by their usage within a draw page.

The defined values for the presentation:class attribute are:

The date-time, footer, header, and page-number classes can be used only for drawing shapes that are contained in master pages. Depending on the settings of the <style:master-page> 16.9 element, they are displayed automatically on drawing pages that use the master page.

When used with drawing shapes contained in master pages, the defined values for the presentation:class attribute are:

  • date-time: drawing shape is used as a date and/or time shape. Date and Time shapes are standard text shapes. 

  • footer: drawing shape is used as a footer. Footer shapes are standard text shapes. 

  • header: drawing shape is used as a header. Header shapes are standard text shapes. 

  • page-number: drawing shape is used as a page number shape. Page Number shapes are standard text shapes. 

The presentation:class attribute is usable with the following elements: <draw:frame> 10.4.2 and <draw:page-thumbnail> 10.3.14.

The values of the presentation:class attribute are title, outline, subtitle, text, graphic, object, chart, table, orgchart, page, notes, handout, header, footer, date-time or page-number.

19.394 presentation:class-names

The presentation:class-names attribute specifies a white space separated list of styles with the family value of presentation. The referenced styles are applied in the order they are contained in the list.

If both presentation:style-name and presentation:class-names are present, the style referenced by the presentation:style-name 19.426 attribute is applied before the styles referenced by the presentation:class-names attribute.

The presentation:class-names attribute is usable with the following elements: <dr3d:cube> 10.5.4, <dr3d:extrude> 10.5.6, <dr3d:rotate> 10.5.7, <dr3d:scene> 10.5.2, <dr3d:sphere> 10.5.5, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:annotation> 14.1.

The presentation:class-names attribute has the data type styleNameRefs 18.3.33.

19.395 presentation:delay

The presentation:delay attribute specifies the delay before a presentation effect starts after the previous one has finished.

The presentation:delay attribute is usable with the following elements: <presentation:hide-shape> 10.8.5, <presentation:hide-text> 10.8.6, <presentation:show-shape> 10.8.3 and <presentation:show-text> 10.8.4.

The presentation:delay attribute has the data type duration 18.2.

19.396 presentation:direction

The presentation:direction attribute specifies the direction of an effect.

The defined values for the presentation:direction attribute are:

The default value for this attribute is none.

The presentation:direction attribute is usable with the following elements: <presentation:event-listener> 10.9.2, <presentation:hide-shape> 10.8.5, <presentation:hide-text> 10.8.6, <presentation:show-shape> 10.8.3 and <presentation:show-text> 10.8.4.

The values of the presentation:direction attribute are none, from-left, from-top, from-right, from-bottom, from-center, from-upper-left, from-upper-right, from-lower-left, from-lower-right, to-left, to-top, to-right, to-bottom, to-upper-left, to-upper-right, to-lower-right, to-lower-left, path, spiral-inward-left, spiral-inward-right, spiral-outward-left, spiral-outward-right, vertical, horizontal, to-center, clockwise or counter-clockwise.

19.397 presentation:endless

The presentation:endless attribute specifies whether a presentation repeats indefinitely or not.

The defined values for the presentation:endless attribute are:

The default value for this attribute is false.

The presentation:endless attribute is usable with the following element: <presentation:settings> 10.9.3.7.

The presentation:endless attribute has the data type boolean 18.3.3.

19.398 presentation:effect

The presentation:effect attribute specifies the type of an effect.

The defined values for the presentation:effect attribute are:

The default value for this attribute is none.

The presentation:effect attribute is usable with the following elements: <presentation:event-listener> 10.9.2, <presentation:hide-shape> 10.8.5, <presentation:hide-text> 10.8.6, <presentation:show-shape> 10.8.3 and <presentation:show-text> 10.8.4.

The values of the presentation:effect attribute are none, fade, move, stripes, open, close, dissolve, wavyline, random, lines, laser, appear, hide, move-short, checkerboard, rotate or stretch.

19.399 presentation:force-manual

The presentation:force-manual attribute specifies that the value of the presentation:transition-type 20.240 attribute is set to manual.

The defined values for the presentation:force-manual attribute are:

  • false: presentation:transition-type attribute is not set to manual. 

  • true: presentation:transition-type attribute is set to manual. 

The default value for this attribute is false.

The presentation:force-manual attribute is usable with the following element: <presentation:settings> 10.9.3.7.

The presentation:force-manual attribute has the data type boolean 18.3.3.

19.400 presentation:full-screen

The presentation:full-screen attribute specifies whether the presentation is displayed in full-screen mode or in a window.

The defined values for the presentation:full-screen attribute are:

The default value for this attribute is true.

The presentation:full-screen attribute is usable with the following element: <presentation:settings> 10.9.3.7.

The presentation:full-screen attribute has the data type boolean 18.3.3.

19.401 presentation:group-id

The presentation:group-id attribute specifies a group id. This id can be used to group animation elements within a user interface, where a group consists of all animation elements that have the same group id.

The presentation:group-id attribute is usable with the following elements: <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2 and <anim:seq> 15.4.3.

The presentation:group-id attribute has the data type string 18.2.

19.402 presentation:master-element

The presentation:master-element attribute specifies the id of an animation element.

Note: Consumer user interfaces may consider animation elements that have a presentation:master-element attribute to be a part of the animation element that is referenced, and may therefore exclude them from any lists of defined animations.

The presentation:master-element attribute is usable with the following elements: <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2 and <anim:seq> 15.4.3.

The presentation:master-element attribute has the data type IDREF 18.2.

19.403 presentation:mouse-as-pen

The presentation:mouse-as-pen attribute specifies if a mouse pointer is displayed as a pen or a pointer.

The defined values for the presentation:mouse-as-pen attribute are:

The default value for this attribute is false.

The presentation:mouse-as-pen attribute is usable with the following element: <presentation:settings> 10.9.3.7.

The presentation:mouse-as-pen attribute has the data type boolean 18.3.3.

19.404 presentation:mouse-visible

The presentation:mouse-visible attribute specifies whether a mouse pointer is visible during a presentation.

The defined values for the presentation:mouse-visible attribute are:

The default value for this attribute is true.

The presentation:mouse-visible attribute is usable with the following element: <presentation:settings> 10.9.3.7.

The presentation:mouse-visible attribute has the data type boolean 18.3.3.

19.405 presentation:name

The presentation:name attribute identifies the element on which it appears inside a presentation.

The presentation:name attribute is usable with the following elements: <presentation:date-time-decl> 10.9.3.6, <presentation:footer-decl> 10.9.3.4, <presentation:header-decl> 10.9.3.2 and <presentation:show> 10.9.3.8.

The presentation:name attribute has the data type string 18.2.

19.406 presentation:node-type

The presentation:node-type attribute specifies a node type for an animation element.

The defined values for the presentation:node-type attribute are:

Note: Click is the action of a computer user moving a cursor or focus to a location on a screen (point) and then pressing a mouse button, usually the left button(click), or other pointing device. A click can be used with any number of input devices varying from mice, touch pads, keyboards, joysticks, scroll buttons, and roller balls.

The default value for this attribute is default.

The presentation:node-type attribute is usable with the following elements: <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2 and <anim:seq> 15.4.3.

The values of the presentation:node-type attribute are default, on-click, with-previous, after-previous, timing-root, main-sequence or interactive-sequence.

19.407 presentation:object

The presentation:object attribute specifies the type of object that a <presentation:placeholder> element represents.

The defined values for the presentation:object attribute are the same as those defined for the presentation:class attribute. 19.393

The presentation:object attribute is usable with the following element: <presentation:placeholder> 16.44.

The values of the presentation:object attribute are title, outline, subtitle, text, graphic, object, chart, table, orgchart, page, notes, handout, header, footer, date-time or page-number.

19.408 presentation:pages

The presentation:pages attribute specifies a comma “,” (U+002C, COMMA) separated list of page names as given by draw:name 19.197 attributes on <draw:page> 10.2.4 elements. The pages are displayed in the order in which they are listed during a presentation that uses this show. Pages can be included more than once.

The presentation:pages attribute is usable with the following element: <presentation:show> 10.9.3.8.

The presentation:pages attribute has the data type string 18.2.

19.409 presentation:path-id

The presentation:path-id attribute specifies a polygon shape by the value of its draw:shape-id 19.210 attribute. An effect moves along the lines of the specified polygon. The referenced polygon is not visible during the presentation.

The presentation:path-id attribute is usable with the following elements: <presentation:hide-shape> 10.8.5, <presentation:hide-text> 10.8.6, <presentation:show-shape> 10.8.3 and <presentation:show-text> 10.8.4.

The presentation:path-id attribute has the data type string 18.2.

19.410 presentation:pause

The presentation:pause attribute specifies a time duration for displaying a pause screen before the presentation is played again if the presentation is to be repeated indefinitely. If this attribute is not set or has a value of P0s, a pause screen is not displayed in endless mode.

The presentation:pause attribute is usable with the following element: <presentation:settings> 10.9.3.7.

The presentation:pause attribute has the data type duration 18.2.

19.411 presentation:placeholder

The presentation:placeholder attribute specifies if a shape is a placeholder or a presentation object with content.

The default value is false.

The presentation:placeholder attribute is usable with the following elements: <draw:frame> 10.4.2 and <draw:page-thumbnail> 10.3.14.

The presentation:placeholder attribute has the data type boolean 18.3.3.

19.412 presentation:play-full

The presentation:play-full attribute specifies when an effect starts.

The defined values for the presentation:play-full attribute are:

The presentation:play-full attribute is usable with the following element: <presentation:sound> 10.8.2.

The presentation:play-full attribute has the data type boolean 18.3.3.

19.413 presentation:presentation-page-layout-name

The presentation:presentation-page-layout-name attribute references the style:name 19.502 attribute of a <style:presentation-page-layout> 16.43 element.

The presentation:presentation-page-layout-name attribute is usable with the following elements: <draw:page> 10.2.4 and <style:handout-master> 10.2.1.

The presentation:presentation-page-layout-name attribute has the data type styleNameRef 18.3.32.

19.414 presentation:preset-class

The presentation:preset-class attribute specifies the class of the preset that was used to create an animation element.

The defined values for the presentation:preset-class attribute are:

The default value for this attribute is custom.

The presentation:preset-class attribute is usable with the following elements: <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2 and <anim:seq> 15.4.3.

The values of the presentation:preset-class attribute are custom, entrance, exit, emphasis, motion-path, ole-action or media-call.

19.415 presentation:preset-id

The presentation:preset-id attribute specifies the name of the preset that was used to create an animation element.

The presentation:preset-id attribute is usable with the following elements: <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2 and <anim:seq> 15.4.3.

The presentation:preset-id attribute has the data type string 18.2.

19.416 presentation:preset-sub-type

The presentation:preset-sub-type attribute specifies the sub-type of the preset that was used to create an animation element.

The presentation:preset-sub-type attribute is usable with the following elements: <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2 and <anim:seq> 15.4.3.

The presentation:preset-sub-type attribute has the data type string 18.2.

19.417 presentation:show

The presentation:show attribute specifies the name of a <presentation:show> element that is used for the presentation. If the presentation:start-page 19.423 attribute is set, it overrides the value of this attribute.

The presentation:show attribute is usable with the following element: <presentation:settings> 10.9.3.7.

The presentation:show attribute has the data type string 18.2.

19.418 presentation:show-end-of-presentation-slide

The presentation:show-end-of-presentation-slide attribute specifies whether an additional slide should be shown at the end of the presentation, indicating the presentation is finished.

The slide content is not defined within the document, but is implementation-defined.

The defined values for the presentation:show-end-of-presentation-slide attribute are:

The default value for this attribute is true.

The presentation:show-end-of-presentation-slide attribute is usable with the following element: <presentation:settings> 10.9.3.7.

The presentation:show-end-of-presentation-slide attribute has the data type boolean 18.3.3.

10.9.3.7.

The presentation:show-logo attribute has the data type boolean 18.3.3.

19.420 presentation:source

The presentation:source attribute specifies whether the current date/time or the fixed content of the field declaration is displayed.

The presentation:source attribute is usable with the following element: <presentation:date-time-decl> 10.9.3.6.

The values of the presentation:source attribute are fixed or current-date.

19.421 presentation:speed

The presentation:speed attribute specifies the speed of an effect.

The defined values for the presentation:speed attribute are:

The rates specified by these values are implementation-defined.

The default value for this attribute is medium.

The presentation:speed attribute is usable with the following elements: <presentation:event-listener> 10.9.2, <presentation:hide-shape> 10.8.5, <presentation:hide-text> 10.8.6, <presentation:play> 10.8.8, <presentation:show-shape> 10.8.3 and <presentation:show-text> 10.8.4.

The values of the presentation:speed attribute are slow, medium or fast.

19.422 presentation:start-scale

The presentation:start-scale attribute specifies the start size of a shape as a percentage of its original size, which is given by the svg:width 19.575 and svg:height 19.543 attributes of the element specifying the shape.

The default value for this attribute is 100%.

The presentation:start-scale attribute is usable with the following elements: <presentation:event-listener> 10.9.2, <presentation:hide-shape> 10.8.5, <presentation:hide-text> 10.8.6, <presentation:show-shape> 10.8.3 and <presentation:show-text> 10.8.4.

The presentation:start-scale attribute has the data type percent 18.3.23.

19.423 presentation:start-page

The presentation:start-page attribute specifies the name of the page on which the presentation starts. If this attribute is set, it overrides the presentation:show 19.417 attribute.

The presentation:start-page attribute is usable with the following element: <presentation:settings> 10.9.3.7.

The presentation:start-page attribute has the data type string 18.2.

19.424 presentation:start-with-navigator

The presentation:start-with-navigator attribute specifies whether a navigator window is initially displayed during a presentation.

The defined values for the presentation:start-with-navigator attribute are:

The default value for this attribute is false.

The presentation:start-with-navigator attribute is usable with the following element: <presentation:settings> 10.9.3.7.

The presentation:start-with-navigator attribute has the data type boolean 18.3.3.

19.425 presentation:stay-on-top

The presentation:stay-on-top attribute specifies whether a presentation window is displayed on top of other windows during a presentation.

The defined values for the presentation:stay-on-top attribute are:

The default value for this attribute is false.

The presentation:stay-on-top attribute is usable with the following element: <presentation:settings> 10.9.3.7.

The presentation:stay-on-top attribute has the data type boolean 18.3.3.

19.426 presentation:style-name

The presentation:style-name attribute specifies a style for a presentation shape.

The value of the attribute is the name of a <style:style> 16.2 element that has a family value of presentation. The formatting properties of the specified style and its parent styles are used to format the shape.

The presentation:style-name attribute is usable with the following elements: <dr3d:cube> 10.5.4, <dr3d:extrude> 10.5.6, <dr3d:rotate> 10.5.7, <dr3d:scene> 10.5.2, <dr3d:sphere> 10.5.5, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:annotation> 14.1.

The presentation:style-name attribute has the data type styleNameRef 18.3.32.

19.427 presentation:transition-on-click

The presentation:transition-on-click attributes specifies whether a mouse click 19.406 on a slide during a presentation triggers a transition.

The defined values for the presentation:transition-on-click attribute are:

  • disabled: mouse click on a slide during a presentation does not trigger a transition. 

  • enabled: mouse click on a slide during a presentation triggers a transition.  

The default value for this attribute is enabled.

The presentation:transition-on-click attribute is usable with the following element: <presentation:settings> 10.9.3.7.

The values of the presentation:transition-on-click attribute are enabled or disabled.

19.428 presentation:use-date-time-name

The presentation:use-date-time-name attribute specifies the name of the <presentation:date-time-decl> 10.9.3.6 that is used for all <presentation:date-time> 10.9.3.5 elements that are displayed on a page.

The presentation:use-date-time-name attribute is usable with the following elements: <draw:page> 10.2.4, <presentation:notes> 16.19 and <style:handout-master> 10.2.1.

The presentation:use-date-time-name attribute has the data type string 18.2.

19.429 presentation:use-footer-name

The presentation:use-footer-name attribute specifies the name of the <presentation:footer-decl> 10.9.3.4 element that is used for all <presentation:footer> 10.9.3.3 elements that are displayed on a page.

The presentation:use-footer-name attribute is usable with the following elements: <draw:page> 10.2.4, <presentation:notes> 16.19 and <style:handout-master> 10.2.1.

The presentation:use-footer-name attribute has the data type string 18.2.

19.430 presentation:use-header-name

The presentation:use-header-name attribute specifies the name of the <presentation:header-decl> 10.9.3.2 element that is used for all <presentation:header> 10.9.3.1 elements that are displayed on a page.

The presentation:use-header-name attribute is usable with the following elements: <draw:page> 10.2.4, <presentation:notes> 16.19 and <style:handout-master> 10.2.1.

The presentation:use-header-name attribute has the data type string 18.2.

19.431 presentation:user-transformed

The presentation:user-transformed attribute specifies whether the size and position of the shape is set by the user or is set by the corresponding presentation shape on the master page.

The defined values for the presentation:user-transformed attribute are:

The presentation:user-transformed attribute is usable with the following elements: <draw:frame> 10.4.2 and <draw:page-thumbnail> 10.3.14.

The presentation:user-transformed attribute has the data type boolean 18.3.3.

19.432 presentation:verb

The presentation:verb attribute specifies the [OLE] verb that is executed for event listeners of type verb at the object that contains this event.

The presentation:verb attribute is usable with the following element: <presentation:event-listener> 10.9.2.

The presentation:verb attribute has the data type nonNegativeInteger 18.2.

19.433 script:event-name

The script:event-name attribute specifies the name of an event.

Event names should begin with a namespace prefix followed by a “:” (U+003A, COLON).

Where appropriate, producers should use the event names described in [DOMEvents2]. The corresponding namespace is “http://www.w3.org/2001/xml-events”.

Note: Event names defined in [DOMEvents2] are not namespaced. If used in OpenDocument, they should be preceded by a namespace prefix as described above

Table 15 specifies events defined in [DOMEvents2] that have an equivalent event in HTML. The namespace used for these events is “http://www.w3.org/2001/xml-events”“.

Table 15 - Script Events

Value of script:event-name Attribute

Equivalent HTML Event

Description of Event

dom:change

onchange

Occurs when a control is no longer focused and the value of the control was modified since it was given focus.

dom:DOMFocusIn

onfocus

Occurs when a control is given focus using the mouse or the TAB key.

dom:DOMFocusOut

onblur

Occurs when a control is no longer focused as a result of moving the mouse or by tabbing navigation.

dom:mousedown

onmousedown

Occurs when a mouse button is pressed on a control.

dom:mousemove

onmousemove

Occurs when the mouse pointer is moved onto a control.

dom:mouseover

onmouseover

Occurs when the mouse pointer is moved over the control.

dom:mouseup

onmouseup

Occurs when a mouse button is released on a control.

dom:mouseout

onmouseout

Occurs when the mouse pointer is moved away from a control.

dom:reset

onreset

Occurs when a form is reset.

dom:submit

onsubmit

Occurs when a form is submitted.

The script:event-name attribute is usable with the following elements: <presentation:event-listener> 10.9.2 and <script:event-listener> 14.5.2.

The script:event-name attribute has the data type string 18.2.

19.434 script:language

The attribute script:language specifies the name of a script. Script language names are implementation-dependent. The names identifying script languages should begin with a namespace prefix, followed by a ":" (U+003A, COLON) separator. If a namespace prefix is present, the local name of the attribute value is considered to be a name in the XML namespace bound to the namespace prefix.

The script:language attribute is usable with the following elements: <office:script> 3.13, <script:event-listener> 14.5.2 and <text:script> 7.7.9.

The script:language attribute has the data type string 18.2.

19.435 script:macro-name

The script:macro-name attribute specifies the name of a macro. The interpretation of the name is script-language-dependent.

The script:macro-name attribute is usable with the following element: <script:event-listener> 14.5.2.

The script:macro-name attribute has the data type string 18.2.

19.436 smil:accelerate

See §11.1.2 of [SMIL20].

The defined range for the smil:accelerate attribute is 0 to 1, inclusive.

The default value for a smil:accelerate attribute is 0, meaning no acceleration.

 

The smil:accelerate attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The smil:accelerate attribute has values of type decimal 18.2 in the range [0,1].

19.437 smil:accumulate

See §3.4.3 of [SMIL20].

The smil:accumulate attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The values of the smil:accumulate attribute are none or sum.

19.438 smil:additive

See §3.4.3 of [SMIL20].

The smil:additive attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The values of the smil:additive attribute are replace or sum.

19.439 smil:attributeName

See §3.4.1 of [SMIL20].

The defined values for the smil:attributeName attribute are:

  • charColor: animates the element's text color. 

  • charFontName: animates the element's text font. 

  • charHeight: animates the element's text height. 

  • charPosture: animates the element's text posture. 

  • charUnderline: animates the element's text underline. 

  • charWeight: animates the element's text weight. 

  • color: animates the element's color, this animates both fill, line and text color. Values can be RGB or HSL. 

  • fillColor: animates the element's fill color. 

  • fillStyle: animates the element's fill style. 

  • height: animates the element's height, values are given in screen space where 0 is no height and 1 is the same height as the screen. 

  • lineColor: animates the element's line color. 

  • lineStyle: animates the element's line style. 

  • opacity: animates the element's opacity. 

  • rotate: animates the element's rotation, this animates both the shapes and text animation. 

  • skewX: animates the element's horizontal skew. 

  • skewY: animates the element’s vertical skew. 

  • visibility: animates the element's visibility. 

  • width: animates the element's width, values are given in screen space where 0 is no width and 1 is the same width as the screen. 

  • x: animates the element's x position, values are given in screen space where 0 is the left edge and 1 is the right edge. 

  • y: animates the element's y position, values are given in screen space where 0 is the top and 1 is the bottom. 

The smil:attributeName attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3 and <anim:set> 15.2.4.

The smil:attributeName attribute has the data type string 18.2.

19.440 smil:autoReverse

See §11.1.2 of [SMIL20].

The default value for this attribute is false.

The smil:autoReverse attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The smil:autoReverse attribute has the data type boolean 18.3.3.

19.441 smil:begin

See §10.3.1 of [SMIL20].

The smil:begin attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The smil:begin attribute has the data type string 18.2.

19.442 smil:by

See §3.4.4 of [SMIL20].

The smil:by attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3 and <anim:transitionFilter> 15.2.7.

The smil:by attribute has the data type string 18.2.

19.443 smil:calcMode

See §3.4.2 and §3.7.1 of [SMIL20].

For <anim:animate> 15.2.2 and <anim:animateColor> 15.2.6 elements the default value for this attribute is discrete.

For a <anim:animateMotion> 15.2.5 element the default value for this attribute is paced.

The smil:calcMode attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5 and <anim:transitionFilter> 15.2.7.

The values of the smil:calcMode attribute are discrete, linear, paced or spline.

19.444 smil:decelerate

See §11.1.2 of [SMIL20].

The defined range for the smil:decelerate attribute is 0 to 1, inclusive.

The default value for this attribute is 0.

The smil:decelerate attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The smil:decelerate attribute has values of type decimal 18.2 in the range [0,1].

19.445 smil:direction

See §12.4.1 of [SMIL20].

For a <anim:transitionFilter> 15.2.7 element the default value for this attribute is forward.

The smil:direction attribute is usable with the following element: <anim:transitionFilter> 15.2.7.

The values of the smil:direction attribute are forward or reverse.

19.446 smil:dur

See §10.3.1 of [SMIL20].

The smil:dur attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The smil:dur attribute has the data type string 18.2.

19.447 smil:end

See §10.3.1 of [SMIL20].

The smil:end attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The smil:end attribute has the data type string 18.2.

19.448 smil:endsync

See §10.3.1 of [SMIL20].

The smil:endsync attribute is usable with the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2 and <anim:seq> 15.4.3.

The values of the smil:endsync attribute are first, last, all, media or a value of type IDREF 18.2.

19.449 smil:fadeColor

See §12.5.1 of [SMIL20].

The default value for this attribute is #000000.

The smil:fadeColor attribute is usable with the following element: <anim:transitionFilter> 15.2.7.

The smil:fadeColor attribute has the data type color 18.3.9.

19.450 smil:fill

See §10.3.1 of [SMIL20].

The smil:fill attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The values of the smil:fill attribute are remove, freeze, hold, auto, default or transition.

19.451 smil:fillDefault

See §10.3.1 of [SMIL20].

The smil:fillDefault attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The values of the smil:fillDefault attribute are remove, freeze, hold, transition, auto or inherit.

19.452 smil:from

See §3.4.4 of [SMIL20].

The smil:from attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3 and <anim:transitionFilter> 15.2.7.

The smil:from attribute has the data type string 18.2.

19.453 smil:keySplines

See $3.7.1 of [SMIL20].

The smil:keySplines attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6 and <anim:animateMotion> 15.2.5.

The smil:keySplines attribute has the data type string 18.2.

19.454 smil:keyTimes

See $3.7.1 of [SMIL20].

The smil:keyTimes attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6 and <anim:animateMotion> 15.2.5.

The smil:keyTimes attribute has the data type string 18.2.

19.455 smil:mode

See §12.5.1 of [SMIL20].

The default value for this attribute is in.

The smil:mode attribute is usable with the following element: <anim:transitionFilter> 15.2.7.

The values of the smil:mode attribute are in or out.

19.456 smil:repeatCount

See §10.3.1 of [SMIL20].

The smil:repeatCount attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The values of the smil:repeatCount attribute are a non negative value of type decimal 18.2 or indefinite.

19.457 smil:repeatDur

See §10.3.1 of [SMIL20].

The value of the smil:repeatDur attribute can be indefinite, or a clock-value as defined in $10.3.1 of SMIL

The smil:repeatDur attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The smil:repeatDur attribute has the data type string 18.2.

19.458 smil:restart

See §10.3.1 of [SMIL20].

The default value for this attribute is default.

The smil:restart attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The values of the smil:restart attribute are never, always, whenNotActive or default.

19.459 smil:restartDefault

See §10.3.1 of [SMIL20].

The default value for this attribute is inherit.

The smil:restartDefault attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The values of the smil:restartDefault attribute are never, always, whenNotActive or inherit.

19.460 smil:subtype

See §12.4.1 of [SMIL20].

Note: See §12.8 of [SMIL20] for a list of supported subtypes.

The smil:subtype attribute is usable with the following element: <anim:transitionFilter> 15.2.7.

The smil:subtype attribute has the data type string 18.2.

19.461 smil:targetElement

See §3.4.1 of [SMIL20].

Drawing shapes are specified by their xml:id or draw:id attribute values and paragraphs by their xml:id or text:id attribute values.

If the anim:sub-item attribute of a <anim:iterate> element has the value whole, the iteration includes the drawing shape's background and its text. If the anim:sub-item 19.11 attribute value is text, only the shape's text is iterated.

The smil:targetElement attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The smil:targetElement attribute has the data type IDREF 18.2.

19.462 smil:to

See §3.4.4 of [SMIL20].

The smil:to attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The smil:to attribute has the data type string 18.2.

19.463 smil:type

The [SMIL20] smil:type attribute specifies a transition type or family.

See §12.8 of [SMIL20] for a list of supported types.

If this attribute is present, the attributes presentation:transition-type and presentation:transition-style attributes should be ignored.

The smil:type attribute is usable with the following element: <anim:transitionFilter> 15.2.7.

The smil:type attribute has the data type string 18.2.

19.464 smil:values

See $3.4.2 of [SMIL20].

The smil:values attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3 and <anim:transitionFilter> 15.2.7.

The smil:values attribute has the data type string 18.2.

19.465 style:adjustment

The style:adjustment attribute specifies how a footnote separator line is aligned on a page.

The defined values for the style:adjustment attribute are:

The default value for this attribute is left.

The style:adjustment attribute is usable with the following element: <style:footnote-sep> 17.4.

The values of the style:adjustment attribute are left, center or right.

19.466 style:apply-style-name

The style:apply-style-name attribute specifies the style to apply when the condition specified by the style:condition 19.472 attribute is true. If the referenced style is undefined or is an automatic style, an error occurs.

The referenced style shall be defined by the same type of element as the conditional style that contains the condition. If the referenced style element has a style:family 19.472 attribute, its value further shall be equal the value of the style:family attribute of the conditional style.

The style:apply-style-name attribute is usable with the following element: <style:map> 16.3.

The style:apply-style-name attribute has the data type styleNameRef 18.3.32.

19.467 style:auto-update

The style:auto-update attribute specifies whether styles are automatically updated when the formatting properties of an object that has the style assigned to it are changed.

The defined values for the style:auto-update attribute are:

The default value for this attribute is false.

The style:auto-update attribute is usable with the following element: <style:style> 16.2.

The style:auto-update attribute has the data type boolean 18.3.3.

19.468 style:base-cell-address

The style:base-cell-address attribute specifies as an absolute cell address with a table name the base cell for relative addresses in formulas. This attribute applies only to cell styles where the condition contains a formula.

The style:base-cell-address attribute is usable with the following element: <style:map> 16.3.

The style:base-cell-address attribute has the data type cellAddress 18.3.4.

19.469 style:char

The style:char attribute specifies the delimiter character for tab stops of type char.

The style:char attribute is usable with the following element: <style:tab-stop> 17.8.

The style:char attribute has the data type character 18.3.7.

19.470 style:class

The style:class attribute specifies a style class name.

 A style may belong to an arbitrary class of styles. The style class name is an arbitrary string. The style class name has no meaning within the file format itself, but it can for instance be evaluated by user interfaces to show a list of styles where the styles are grouped by its name.

The style:class attribute is usable with the following element: <style:style> 16.2.

The style:class attribute has the data type string 18.2.

19.471 style:color

The style:color attribute specifies the color of a column or footnote separator line.

For a <style:column-sep> 17.14 element the default value for this attribute is #000000.

The style:color attribute is usable with the following elements: <style:column-sep> 17.14 and <style:footnote-sep> 17.4.

The style:color attribute has the data type color 18.3.9.

19.472 style:condition

The style:condition attribute specifies a condition that triggers a style map.

The value of this attribute should be a namespace prefix, followed by a ":" (U+003A, COLON), followed by one of the defined conditions. If the namespace prefix is missing it defaults to the "urn:oasis:names:tc:opendocument:xmlns:of:1.2" namespace. The XML namespace that applies to the style:condition attribute specifies the syntax and semantics of any expression occurrences in the style:condition syntax.

If a consumer does not recognize a condition, it shall ignore the <style:map> element containing the condition.

The defined conditions that may be used by paragraph styles are:

Within paragraph style conditions n is a positive integer in the lexical form of the [xmlschema-2] positiveInteger datatype.

The defined conditions that may be used by table cell styles are:

 Within table cell style conditions:

The defined condition that may be used by data styles is:

  • value() op n, where, op is one of the relational operators ”<”, ”>”, ”<=”, ”>=”, “=” or ”!=”, and n is a number for non-Boolean data styles and true or false for Boolean data styles: true if the style is applied to a table cell where the cell's value compared to the value specified in the condition by n using the relational operator op evaluates to true. 

Relative cell range addresses that occur in a condition for a table cell style define an offset which shall be interpreted relative to the cell for which a condition is calculated. The offset is the same as the offsets between the table cell addressed by the relative cell range address and the table cell specified by the style:base-cell-address attribute.

An OpenDocument Consumer when hosting a formula evaluator makes available the host-dependent properties defined by Table 16 Host-dependent Properties in 19.646.

The style:condition attribute is usable with the following element: <style:map> 16.3.

The style:condition attribute has the data type string 18.2.

19.473 style:data-style-name

19.473.1 General

The style:data-style-name attribute specifies the name of a data style.

19.473.2 <presentation:date-time-decl>

The style:data-style-name attribute specifies a data style to format a date and time.

The style:data-style-name attribute is usable with the following element: <presentation:date-time-decl> 10.9.3.6.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.473.3 <style:style>

The style:data-style-name attribute specifies a data style for a <style:style> element that defines the styles for table cell styles and chart styles.

The style:data-style-name attribute is usable with the following element: <style:style> 16.2.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.473.4 <text:creation-date>

The style:data-style-name attribute specifies a data style to format a numeric value.

The style:data-style-name attribute is usable with the following element: <text:creation-date> 7.5.3.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.473.5 <text:creation-time>

The style:data-style-name attribute specifies a data style to format a numeric value.

The style:data-style-name attribute is usable with the following element: <text:creation-time> 7.5.4.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.473.6 <text:database-display>

The style:data-style-name attribute specifies a data style to format a numeric value.

The style:data-style-name attribute is usable with the following element: <text:database-display> 7.6.3.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.473.7 <text:date>

The style:data-style-name attribute specifies a data style to format a numeric value.

The style:data-style-name attribute is usable with the following element: <text:date> 7.3.2.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.473.8 <text:editing-duration>

The style:data-style-name attribute specifies a data style to format a numeric value.

The style:data-style-name attribute is usable with the following element: <text:editing-duration> 7.5.14.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.473.9 <text:expression>

The style:data-style-name attribute specifies a data style to format a field value. This attribute shall be omitted for fields whose value type is string. It shall be present for fields whose value type is not string.

The style:data-style-name attribute is usable with the following element: <text:expression> 7.4.14.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.473.10 <text:meta-field>

The style:data-style-name attribute specifies a data style to format a numeric value.

The style:data-style-name attribute is usable with the following element: <text:meta-field> 7.5.19.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.473.11 <text:modification-date>

The style:data-style-name attribute specifies a data style to format a numeric value.

The style:data-style-name attribute is usable with the following element: <text:modification-date> 7.5.16.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.473.12 <text:modification-time>

The style:data-style-name attribute specifies a data style to format a numeric value.

The style:data-style-name attribute is usable with the following element: <text:modification-time> 7.5.15.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.473.13 <text:print-date>

The style:data-style-name attribute specifies a data style to format a numeric value.

The style:data-style-name attribute is usable with the following element: <text:print-date> 7.5.8.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.473.14 <text:print-time>

The style:data-style-name attribute specifies a data style to format a numeric value.

The style:data-style-name attribute is usable with the following element: <text:print-time> 7.5.7.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.473.15 <text:table-formula>

The style:data-style-name attribute specifies a data style to format a numeric value.

The style:data-style-name attribute is usable with the following element: <text:table-formula> 7.7.14.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.473.16 <text:time>

The style:data-style-name attribute specifies a data style to format a numeric value.

The style:data-style-name attribute is usable with the following element: <text:time> 7.3.3.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.473.17 <text:user-defined>

The style:data-style-name attribute specifies a data style to format a field value. This attribute shall be omitted for fields whose value type is string. It shall be present for fields whose value type is not string.

The style:data-style-name attribute is usable with the following element: <text:user-defined> 7.5.6.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.473.18 <text:user-field-get>

The style:data-style-name attribute specifies a data style to format a field value. This attribute shall be omitted for fields whose value type is string. It shall be present for fields whose value type is not string.

The style:data-style-name attribute is usable with the following element: <text:user-field-get> 7.4.9.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.473.19 <text:user-field-input>

The style:data-style-name attribute specifies a data style to format a field value. This attribute shall be omitted for fields whose value type is string. It shall be present for fields whose value type is not string.

The style:data-style-name attribute is usable with the following element: <text:user-field-input> 7.4.10.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.473.20 <text:variable-get>

The style:data-style-name attribute specifies a data style to format a field value. This attribute shall be omitted for fields whose value type is string. It shall be present for fields whose value type is not string.

The style:data-style-name attribute is usable with the following element: <text:variable-get> 7.4.5.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.473.21 <text:variable-input>

The style:data-style-name attribute specifies a data style to format a field value. This attribute shall be omitted for fields whose value type is string. It shall be present for fields whose value type is not string.

The style:data-style-name attribute is usable with the following element: <text:variable-input> 7.4.6.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.473.22 <text:variable-set>

The style:data-style-name attribute specifies a data style to format a field value. This attribute shall be omitted for fields whose value type is string. It shall be present for fields whose value type is not string.

The style:data-style-name attribute is usable with the following element: <text:variable-set> 7.4.4.

The style:data-style-name attribute has the data type styleNameRef 18.3.32.

19.474 style:default-outline-level

The style:default-outline-level attribute specifies a default outline level for a style with the style:family 19.480 attribute value paragraph.

If the style:default-outline-level attribute is present in a paragraph style, and if this paragraph style is assigned to a paragraph or heading by user action, then the consumer should replace the paragraph or heading with a heading of the specified level, which has the same content and attributes as the original paragraph or heading.

Note: This attribute does not modify the behavior of <text:p> 5.1.3 or <text:h> 5.1.2 elements, but only instructs a consumer to create one or the other when assigning a paragraph style as a result of user interface action while the document is edited.

The style:default-outline-level attribute value can be empty. If empty, this attribute does not inherit a list style value from a parent style.

The style:default-outline-level attribute is usable with the following element: <style:style> 16.2.

The values of the style:default-outline-level attribute are a value of type positiveInteger 18.2 or an empty string.

19.475 style:display

The style:display attribute specifies whether the header or footer is displayed or not.

The defined values for the style:display attribute are:

The default value for this attribute is true.

The style:display attribute is usable with the following elements: <style:footer> 16.12, <style:footer-first> 16.13, <style:footer-left> 16.15, <style:header> 16.10, <style:header-first> 16.11 and <style:header-left> 16.14.

The style:display attribute has the data type boolean 18.3.3.

19.476 style:display-name

The style:display-name attribute specifies the name of a style as it should appear in the user interface. If this attribute is not present, the display name should be the same as the style name.

The style:display-name attribute is usable with the following elements: <number:boolean-style> 16.29.24, <number:currency-style> 16.29.8, <number:date-style> 16.29.11, <number:number-style> 16.29.2, <number:percentage-style> 16.29.10, <number:text-style> 16.29.26, <number:time-style> 16.29.19, <style:master-page> 16.9, <style:presentation-page-layout> 16.43, <style:style> 16.2 and <text:list-style> 16.32.

The style:display-name attribute has the data type string 18.2.

19.477 style:distance

The style:distance attribute specifies the distance between the last of the characters using the larger font and the first of the remaining characters of each line.

Note: If the leading characters for a paragraph span the line size of a portion of the remaining text of a paragraph, the style:distance attribute specifies the distance between the end of the text written in the larger font and the smaller text of any lines that it spans.

The default value for this attribute is 0cm.

The style:distance attribute is usable with the following element: <style:drop-cap> 17.9.

The style:distance attribute has the data type length 18.3.18.

19.478 style:distance-before-sep

The style:distance-before-sep attribute specifies the space between the body-text area and a footnote separator line.

The style:distance-before-sep attribute is usable with the following element: <style:footnote-sep> 17.4.

The style:distance-before-sep attribute has the data type length 18.3.18.

19.479 style:distance-after-sep

The style:distance-after-sep attribute specifies the space between a footnote separator line and the footnote text.

The style:distance-after-sep attribute is usable with the following element: <style:footnote-sep> 17.4.

The style:distance-after-sep attribute has the data type length 18.3.18.

19.480 style:family

The style:family attribute specifies the family of a style.

The defined values for the style:family attribute are:

The style:family attribute is usable with the following elements: <style:default-style> 16.4 and <style:style> 16.2.

19.481 style:filter-name

The style:filter-name attribute specifies the implementation-dependent filter name that has been used to load an image into the document.

This attribute is attached to a <style:background-image> element.

The style:filter-name attribute is usable with the following element: <style:background-image> 17.3.

The style:filter-name attribute has the data type string 18.2.

19.482 style:font-adornments

The style:font-adornments attributes specifies a characteristic of a font.

Note: A font characteristic includes bold or italic, which when used with a font family name, specifies a font.

The style:font-adornments attribute is usable with the following element: <style:font-face> 16.23.

The style:font-adornments attribute has the data type string 18.2.

19.483 style:font-charset

The style:font-charset attribute specifies whether a font defines glyphs according to the semantics of [UNICODE] or not.

The value of this attributes can be x-symbol or a character encoding in the notation described in the §4.3.3 of [XML1.0]. If the value is x-symbol, the font does not define glyphs according to the semantics of [UNICODE]. If the value is one of the encodings or transformations of [UNICODE], the font does define glyphs according to the semantics of [UNICODE]. The use of other values is deprecated.

Note: Fonts for which the attribute has the value x-symbol may define glyphs for code points in the private use area of [UNICODE].

The style:font-charset attribute is usable with the following element: <style:font-face> 16.23.

The style:font-charset attribute has the data type textEncoding 18.3.35.

19.484 style:font-family-generic

The style:font-family-generic attribute specifies a generic font family name.

The defined values for the style:font-family-generic attribute are:

The style:font-family-generic attribute is usable with the following element: <style:font-face> 16.23.

The values of the style:font-family-generic attribute are roman, swiss, modern, decorative, script or system.

19.485 style:font-pitch

The style:font-pitch attribute specifies whether a font has a fixed or variable width.

The defined values for the style:font-pitch attribute are:

The style:font-pitch attribute is usable with the following element: <style:font-face> 16.23.

The values of the style:font-pitch attribute are fixed or variable.

19.486 style:height

The style:height attribute specifies the height of a column separator line. The value of this attribute is a percentage of the height of the columned area.

The defined value range for the style:height attribute is 0% to 100%, inclusive.

The default value for this attribute is 100%.

The style:height attribute is usable with the following element: <style:column-sep> 17.14.

The style:height attribute has the data type zeroToHundredPercent 18.3.41.

19.487 style:leader-char

The style:leader-char attribute specifies a leader character.

The style:leader-char attribute is usable with the following element: <text:index-entry-tab-stop> 8.13.6.

The style:leader-char attribute has the data type character 18.3.7.

19.488 style:leader-color

The style:leader-color attribute specifies the color of a leader line. The value of this attribute is either font-color or a color. If the value is font-color, the current text color is used for the leader line.

The style:leader-color attribute is usable with the following element: <style:tab-stop> 17.8.

The values of the style:leader-color attribute are font-color or a value of type color 18.3.9.

19.489 style:leader-style

The style:leader-style attribute specifies a style for a leader line.

The defined values for the style:leader-style attribute are:

Note: The definitions of the values of the style:leader-style attribute are based on the text decoration style 'text-underline-style' from [CSS3Text], §9.2.

The style:leader-style attribute is usable with the following element: <style:tab-stop> 17.8.

The values of the style:leader-style attribute are none, solid, dotted, dash, long-dash, dot-dash, dot-dot-dash or wave.

19.490 style:leader-text

The style:leader-text attribute specifies a single Unicode character for use as leader text for tab stops.

An consumer may support only specific characters as textual leaders. If a character that is not supported by a consumer is specified by this attribute, the consumer should display a leader character that it supports instead of the one specified by this attribute.

If both style:leader-text and style:leader-style 19.480 attributes are specified, the value of the style:leader-text sets the leader text for tab stops.

The default value for this attribute is “ ” (U+0020, SPACE).

The style:leader-text attribute is usable with the following element: <style:tab-stop> 17.8.

The style:leader-text attribute has the data type character 18.3.7.

19.491 style:leader-text-style

The style:leader-text-style specifies a text style that is applied to a textual leader. It is not applied to leader lines. If the attribute appears in an automatic style, it may reference either an automatic text style or a common style. If the attribute appears in a common style, it may reference a common style only.

The style:leader-text-style attribute is usable with the following element: <style:tab-stop> 17.8.

The style:leader-text-style attribute has the data type styleNameRef 18.3.32.

19.492 style:leader-type

The style:leader-type attribute specifies whether a leader line should be drawn, and if so, whether a single or double line will be used.

The defined values for the style:leader-type attribute are:

The style:leader-type attribute is usable with the following element: <style:tab-stop> 17.8.

The values of the style:leader-type attribute are none, single or double.

19.493 style:leader-width

The style:leader-width attribute specifies the width (i.e., thickness) of a leader line.

The defined values for the style:leader-width attribute are:

The line widths referenced by the values medium, normal, thick and thin are implementation-defined.

The style:leader-width attribute is usable with the following element: <style:tab-stop> 17.8.

The values of the style:leader-width attribute are auto, normal, bold, thin, medium, thick, a value of type positiveInteger 18.2, a value of type percent 18.3.23 or a value of type positiveLength 18.3.26.

19.494 style:legend-expansion

The style:legend-expansion attribute specifies the direction in which a legend expands.

The defined values for the style:legend-expansion attribute are:

The style:legend-expansion attribute is usable with the following element: <chart:legend> 11.4.

19.495 style:legend-expansion-aspect-ratio

The style:legend-expansion-aspect-ratio attribute specifies the ratio between width and height for a style:legend-expansion 19.494 attribute with value custom.

The style:legend-expansion-aspect-ratio attribute is usable with the following element: <chart:legend> 11.4.

The style:legend-expansion-aspect-ratio attribute has the data type double 18.2.

19.496 style:length

The style:length attribute specifies the number of characters that are displayed in a larger font.

The defined values for the style:length attribute are:

Note: What will be treated as a “word” by a consumer is locale-specific.

The default value for this attribute is 1.

The style:length attribute is usable with the following element: <style:drop-cap> 17.9.

The values of the style:length attribute are word or a value of type positiveInteger 18.2.

19.497 style:line-style

The style:line-style attribute specifies the style of a footnote separator line.

The defined value for the style:line-style attribute is none: no footnote separator line is drawn.

The footnote separator components referenced by the values dash, dot-dash, dot-dot-dash, dotted, long-dash, solid and wave, are implementation-defined.

The style:line-style attribute is usable with the following element: <style:footnote-sep> 17.4.

The values of the style:line-style attribute are none, solid, dotted, dash, long-dash, dot-dash, dot-dot-dash or wave.

19.498 style:lines

The style:lines attribute specifies the number of text lines which a font spans. If the value of this attribute is 1, <style:drop-cap> is disabled.

The default value for this attribute is 1.

The style:lines attribute is usable with the following element: <style:drop-cap> 17.9.

The style:lines attribute has the data type positiveInteger 18.2.

19.499 style:list-level

The style:list-level attribute specifies the list level value of a list style that may be applied to any paragraph style. It does not directly specify the paragraph's list level value, but consumers can change the paragraph's list level value to the specified value when the paragraph style is applied. It is valid only if the style:list-style-name 19.480 attribute is specified and is not empty, and if the style:family 19.480 attribute has the value paragraph.

The style:list-level attribute is usable with the following element: <style:style> 16.2.

The values of the style:list-level attribute are a value of type positiveInteger 18.2 or an empty string.

19.500 style:list-style-name

The style:list-style-name attribute specifies a list style for style families with paragraph formatting properties. This applies to automatic and common styles.

The list style specified by this attribute is applied to headings and paragraphs that are contained in a list, where the list does not specify a list style itself, and the list has no list style specification for any of its parents.

The style:list-style-name attribute value can be empty. If empty, this attribute does not inherit a list style value from a parent style.

The style:list-style-name attribute is usable with the following element: <style:style> 16.2.

The values of the style:list-style-name attribute are a value of type styleName 18.3.31 or an empty string.

19.501 style:master-page-name

The style:master-page-name attribute defines a master page for a paragraph or table style. This applies to automatic and common styles. <style:master-page> 16.9.

If this attribute is associated with a style, a page break is inserted when the style is applied and the specified master page is applied to the resulting page.

This attribute is ignored if it is associated with a paragraph style that is applied to a paragraph within a table.

The style:master-page-name attribute is usable with the following element: <style:style> 16.2.

The style:master-page-name attribute has the data type styleNameRef 18.3.32.

19.502 style:name

19.502.1 General

The style:name attribute specifies names that reference style mechanisms.

19.502.2 <number:boolean-style>, <number:currency-style>, <number:date-style>, <number:number-style>, <number:percentage-style>, <number:text-style>, <number:time-style>, <style:master-page>, <style:page-layout>, <style:presentation-page-layout>, <style:style>, <text:list-style>, <text:outline-style>

The style:name attribute specifies the name of a:

For automatic styles, the name may be generated by OpenDocument producers. For each style family or style element, producers should generate distinct sets of names for automatic styles stored in the content.xml 3.1.3.2 and styles.xml 3.1.3.3 files. The names should also be distinct from the names used in the <office:styles> element inside the styles.xml files.

Note: If the document is produced multiple times, it cannot be assumed that the same name is generated each time.

The style:name attribute is usable with the following elements: <number:boolean-style> 16.29.24, <number:currency-style> 16.29.8, <number:date-style> 16.29.11, <number:number-style> 16.29.2, <number:percentage-style> 16.29.10, <number:text-style> 16.29.26, <number:time-style> 16.29.19, <style:master-page> 16.9, <style:page-layout> 16.5, <style:presentation-page-layout> 16.43, <style:style> 16.2, <text:list-style> 16.32 and <text:outline-style> 16.36.

The style:name attribute has the data type styleName 18.3.31.

19.502.3 <style:font-face>

The style:name attribute specifies a unique name for a font declaration. This name can be used inside styles as an attribute of the <style:text-properties> element) as the value of a style:font-name attribute to immediately select a font face declaration.

The style:name attribute is usable with the following element: <style:font-face> 16.23.

The style:name attribute has the data type string 18.2.

19.503 style:next-style-name

19.503.1 General

The style:next-style-name attribute specifies a style to be used with pages and paragraphs.

19.503.2 <style:master-page>

The style:next-style-name attribute specifies the name of the master page that is used for the next page if the current page is entirely filled. If the next style name is not specified, the current master page is used for the next page. The value of this attribute shall be the name of a <style:master-page> element.

The style:next-style-name attribute is usable with the following element: <style:master-page> 16.9.

The style:next-style-name attribute has the data type styleNameRef 18.3.32.

19.503.3 <style:style>

Within styles for paragraphs, style:next-style-name attribute specifies the style to be used for the next paragraph if a paragraph break is inserted in the user interface. By default, the current style is used as the next style.

The style:next-style-name attribute is usable with the following element: <style:style> 16.2.

The style:next-style-name attribute has the data type styleNameRef 18.3.32.

19.504 style:num-format

The style:num-format attribute specifies a numbering sequence.

The defined values for the style:num-format attribute are:

If no value is given, no number sequence is displayed.

The style:num-format attribute is usable with the following elements: <text:character-count> 7.5.18.5, <text:database-row-number> 7.6.6, <text:image-count> 7.5.18.7, <text:linenumbering-configuration> 16.31.1, <text:list-level-style-number> 16.34, <text:notes-configuration> 16.31.3, <text:object-count> 7.5.18.8, <text:outline-level-style> 16.37, <text:page-count> 7.5.18.2, <text:page-number> 7.3.4, <text:page-variable-get> 7.7.1.3, <text:paragraph-count> 7.5.18.3, <text:sequence> 7.4.13, <text:table-count> 7.5.18.6 and <text:word-count> 7.5.18.4.

The values of the style:num-format attribute are 1, i, I, a value of type string 18.2, an empty string, a or A.

19.505 style:num-letter-sync

The style:num-letter-sync attribute specifies whether letter synchronization shall take place. If letters are used in alphabetical order for numbering, there are two ways to process overflows within a digit, as follows:

The style:num-letter-sync attribute is usable with the following elements: <text:character-count> 7.5.18.5, <text:database-row-number> 7.6.6, <text:image-count> 7.5.18.7, <text:linenumbering-configuration> 16.31.1, <text:list-level-style-number> 16.34, <text:notes-configuration> 16.31.3, <text:object-count> 7.5.18.8, <text:outline-level-style> 16.37, <text:page-count> 7.5.18.2, <text:page-number> 7.3.4, <text:page-variable-get> 7.7.1.3, <text:paragraph-count> 7.5.18.3, <text:sequence> 7.4.13, <text:table-count> 7.5.18.6 and <text:word-count> 7.5.18.4.

The style:num-letter-sync attribute has the data type boolean 18.3.3.

19.506 style:num-prefix

The style:num-prefix attribute specifies what to display before a number.

If the style:num-prefix and style:num-suffix values do not contain any character that has a Unicode category of Nd, Nl, No, Lu, Ll, Lt, Lm or Lo, an [XSLT] format attribute can be created from the OpenDocument attributes by concatenating the values of the style:num-prefix, style:num-format 19.507, and style:num-suffix 19.500 attributes.

The style:num-prefix attribute can also specify a character before the value of a text:bullet-char 19.765 attribute.

The style:num-prefix attribute is usable with the following elements: <text:list-level-style-bullet> 16.33, <text:list-level-style-number> 16.34, <text:notes-configuration> 16.31.3 and <text:outline-level-style> 16.37.

The style:num-prefix attribute has the data type string 18.2.

19.507 style:num-suffix

The style:num-suffix attribute specifies what to display after a number.

If the style:num-prefix 19.765 and style:num-suffix 19.507 values do not contain any character that has a Unicode category of Nd, Nl, No, Lu, Ll, Lt, Lm or Lo, an [XSLT] format attribute can be created from the OpenDocument attributes by concatenating the values of the style:num-prefix, style:num-format, and style:num-suffix attributes.

The style:num-suffix attribute can also specify a character after the value of a text:bullet-char 19.765 attribute.

The style:num-suffix attribute is usable with the following elements: <text:list-level-style-bullet> 16.33, <text:list-level-style-number> 16.34, <text:notes-configuration> 16.31.3 and <text:outline-level-style> 16.37.

The style:num-suffix attribute has the data type string 18.2.

19.508 style:page-layout-name

The style:page-layout-name attribute specifies a page layout style that contains sizes, border and orientation attributes.

The style:page-layout-name attribute is usable with the following elements: <presentation:notes> 16.19, <style:handout-master> 10.2.1 and <style:master-page> 16.9.

The style:page-layout-name attribute has the data type styleNameRef 18.3.32.

19.509 style:page-usage

The style:page-usage attribute specifies the type of pages that a master page should generate.

The defined values for the style:page-usage attribute are:

The default value for this attribute is all.

The style:page-usage attribute is usable with the following element: <style:page-layout> 16.5.

The values of the style:page-usage attribute are all, left, right or mirrored.

19.510 style:parent-style-name

The style:parent-style-name attribute specifies the name of a parent style. The parent style cannot be an automatic style and shall exist.

If a parent style is not specified, the default style which has the same style:family 19.480 attribute value as the current style is used.

The style:parent-style-name attribute is usable with the following element: <style:style> 16.2.

The style:parent-style-name attribute has the data type styleNameRef 18.3.32.

19.511 style:percentage-data-style-name

The style:percentage-data-style-name attribute references the name of a percentage data style.

This attribute should be used together with chart:data-label-number attribute when the chart:data-label-number attribute has the value percentage or the value value-and-percentage.

The style:percentage-data-style-name attribute is usable with the following element: <style:style> 16.2.

The style:percentage-data-style-name attribute has the data type styleNameRef 18.3.32.

19.512 style:position

19.512.1 General

This attribute defines a position.

19.512.2 <style:background-image>

The style:position attribute specifies the position of a background image. Its value can be a space-separated combination of top, center or bottom for the vertical position and left, center or right for the horizontal position. The vertical and horizontal positions can be specified in any order. If one position is specified, the other position defaults to center.

For a <style:background-image> 17.3 element the default value for this attribute is center.

The style:position attribute is usable with the following element: <style:background-image> 17.3.

The values of the style:position attribute are left, center, right, top, bottom, or two white space separated values, that may appear in any order. One of these values is one of: left, center or right. The other value is one of: top, center or bottom.

19.512.3 <style:tab-stop>

The style:position attribute specifies the position of a tab stop. Depending on the value of the text:relative-tab-stop-position 19.861 attribute in the <text:table-of-content-source> 8.3.2, <text:illustration-index-source> 8.4.2, <text:object-index-source> 8.6.2, <text:user-index-source> 8.7.2 or <text:alphabetical-index-source> 8.8.2 parent element, the position of the tab is interpreted as being relative to the left margin or the left indent.

The style:position attribute is usable with the following element: <style:tab-stop> 17.8.

The style:position attribute has the data type length 18.3.18.

19.512.4 <text:index-entry-tab-stop>

The style:position attribute specifies the position of a tab stop. If the value of the style:type attribute is left, then this attribute shall be present. Otherwise, it shall be omitted.

Depending on the value of the text:relative-tab-stop-position 19.861 attribute in the <text:table-of-content-source> 8.5.2, <text:illustration-index-source> 8.4.2, <text:object-index-source> 8.6.2, <text:user-index-source> 8.7.2 or <text:alphabetical-index-source> 8.8.2 parent element, the position of the tab is interpreted as being relative to the left margin or the left indent.

The style:position attribute is usable with the following element: <text:index-entry-tab-stop> 8.13.6.

The style:position attribute has the data type length 18.3.18.

19.513 style:rel-height

The style:rel-height attribute specifies height of a drawing object as a relative value within a frame.

The defined values for the style:rel-height attribute are:

The interpretation of percentage values depends on the anchor of the drawing object. If the anchor for the drawing object is in a table cell, the percentage value is relative to the surrounding table box. If the anchor for the drawing object is in a text box, the percentage value is relative to the surrounding text box. In other cases, the percentage values is relative to the width of the page or window.

To support consumers that do not support relative width and heights, producers should also provide the height in svg:height and fo:min-height attributes.

The style:rel-height attribute is usable with the following element: <draw:frame> 10.4.2.

The values of the style:rel-height attribute are a value of type percent 18.3.23, scale or scale-min.

19.514 style:rel-width

19.514.1 General

The style:rel-width attribute specifies widths.

19.514.2 <draw:frame>

The style:rel-width attribute specifies the width of a drawing object as a relative value within a frame.

The defined values for the style:rel-width attribute are:

The interpretation of percentage values depends on the anchor of the drawing object. If the anchor for the drawing object is in a table cell, the percentage value is relative to the surrounding table box. If the anchor for the drawing object is in a text box, the percentage value is relative to the surrounding text box. In other cases, the percentage values is relative to the width of the page or window.

To support consumers that do not support relative width, producers should also provide the width and heights in the svg:width and fo:min-width attributes.

The style:rel-width attribute is usable with the following element: <draw:frame> 10.4.2.

The values of the style:rel-width attribute are a value of type percent 18.3.23, scale or scale-min.

19.514.3 <style:column>

The style:rel-width attribute specifies the width of a column.

Column widths are specified as relative widths, that is, a number followed by a "*" (U+002A, ASTERISK) character.  The space available for columns is distributed according to their relative widths."

The style:rel-width attribute is usable with the following element: <style:column> 17.13.

The style:rel-width attribute has the data type relativeLength 18.3.27.

19.514.4 <style:footnote-sep>

The style:rel-width attribute specifies the length of the footnote separator line as a percentage of the body-text area.

The style:rel-width attribute is usable with the following element: <style:footnote-sep> 17.4.

The style:rel-width attribute has the data type percent 18.3.23.

19.515 style:repeat

The style:repeat attribute specifies if an image can be repeated or stretched over an area.

The defined values for the style:repeat attribute are:

For a <style:background-image> 17.3 element the default value for this attribute is repeat.

The style:repeat attribute is usable with the following element: <style:background-image> 17.3.

The values of the style:repeat attribute are no-repeat, repeat or stretch.

19.516 style:rfc-language-tag

The style:rfc-language-tag attribute specifies a language identifier according to the rules of [RFC5646], or its successors.

It shall only be used if its value cannot be expressed as a valid combination of the fo:language 19.871, fo:script 19.242 and fo:country 19.234 attributes.

 

Note. Producers may choose to assist consumers that don't support the style:rfc-language-tag attribute by specifying fo:language, fo:script and fo:country attributes with values whose combination is otherwise invalid and whose interpretation is therefore implementation-dependent.

The style:rfc-language-tag attribute is usable with the following elements: <text:alphabetical-index-source> 8.8.2 and <text:bibliography-configuration> 16.31.6.

The style:rfc-language-tag attribute has the data type language 18.3.16.

19.517 style:style

The style:style attribute specifies the line style of a column separator line.

The defined values for the style:style attribute are:

The default value for this attribute is solid.

The style:style attribute is usable with the following element: <style:column-sep> 17.14.

The values of the style:style attribute are none, solid, dotted, dashed or dot-dashed.

19.518 style:style-name

The style:style-name attribute specifies the text style to apply to characters specified by a <style:drop-cap> element.

The style:style-name attribute is usable with the following element: <style:drop-cap> 17.9.

The style:style-name attribute has the data type styleNameRef 18.3.32.

19.519 style:type

19.519.1 General

The style:type attribute specifies a tab stop type.

19.519.2 <text:index-entry-tab-stop>

The style:type attribute specifies the type of a tab stop within an index entry template. If the value of this attribute is left, the style:position attribute shall also be present. Otherwise, this attribute shall be omitted.

The defined values for the style:type attribute are:

The style:type attribute is usable with the following element: <text:index-entry-tab-stop> 8.13.6.

The values of the style:type attribute are right or left.

19.519.3 <style:tab-stop>

The style:type attribute specifies the type of a tab stop within paragraph formatting properties.

The defined values for the style:type attribute are:

For a <style:tab-stop> 17.8 element the default value for this attribute is left.

The style:type attribute is usable with the following element: <style:tab-stop> 17.8.

The values of the style:type attribute are left, center, right or char.

19.520 style:vertical-align

The style:vertical-align attribute specifies how to vertically align a line in a columned area. The value of this attribute can be either top, middle, or bottom.

The defined values for the style:vertical-align attribute are:

For a <style:column-sep> element the default value for this attribute is top.

The style:vertical-align attribute is usable with the following element: <style:column-sep> 17.14.

The values of the style:vertical-align attribute are top, middle or bottom.

19.521 style:volatile

The style:volatile attribute specifies whether unused style in a document are retained or discarded by consumers.

The defined values for the style:volatile attribute are:

The style:volatile attribute is usable with the following elements: <number:boolean-style> 16.29.24, <number:currency-style> 16.29.8, <number:date-style> 16.29.11, <number:number-style> 16.29.2, <number:percentage-style> 16.29.10, <number:text-style> 16.29.26 and <number:time-style> 16.29.19.

The style:volatile attribute has the data type boolean 18.3.3.

19.522 style:width

19.522.1 General

The style:width attribute specifies a width.

19.522.2 <style:column-sep>

The style:width attribute specifies the width of a column separation.

The style:width attribute is usable with the following element: <style:column-sep> 17.14.

The style:width attribute has the data type length 18.3.18.

19.522.3 <style:footnote-sep>

The style:width attribute width or thickness of a line.

The style:width attribute is usable with the following element: <style:footnote-sep> 17.4.

The style:width attribute has the data type length 18.3.18.

19.523 svg:accent-height

See §20.8.3 of [SVG].

The svg:accent-height attribute is usable with the following element: <style:font-face> 16.23.

The svg:accent-height attribute has the data type integer 18.2.

19.524 svg:alphabetic

See §20.8.3 of [SVG].

The svg:alphabetic attribute is usable with the following element: <style:font-face> 16.23.

The svg:alphabetic attribute has the data type integer 18.2.

19.525 svg:ascent

See §20.8.3 of [SVG].

The svg:ascent attribute is usable with the following element: <style:font-face> 16.23.

The svg:ascent attribute has the data type integer 18.2.

19.526 svg:bbox

See §20.8.3 of [SVG].

The svg:bbox attribute is usable with the following element: <style:font-face> 16.23.

The svg:bbox attribute has the data type string 18.2.

19.527 svg:cap-height

See §20.8.3 of [SVG].

The svg:cap-height attribute is usable with the following element: <style:font-face> 16.23.

The svg:cap-height attribute has the data type integer 18.2.

19.528 svg:cx

19.528.1 <draw:area-circle>

The svg:cx attribute defines the x-axis coordinate of the center of a circular image map area.

The svg:cx attribute is usable with the following element: <draw:area-circle> 10.4.13.4.

The svg:cx attribute has the data type coordinate 18.3.10.

19.528.2 <draw:circle>

See §9.3 of [SVG].

The svg:cx attribute is usable with the following element: <draw:circle> 10.3.8.

The svg:cx attribute has the data type coordinate 18.3.10.

19.528.3 <draw:ellipse>

See §9.4 of [SVG].

The svg:cx attribute is usable with the following element: <draw:ellipse> 10.3.9.

The svg:cx attribute has the data type coordinate 18.3.10.

19.528.4 <svg:radialGradient>

See §13.3.2 of [SVG].

For a <svg:radialGradient> 16.42.3 element the default value for this attribute is 50%.

The svg:cx attribute is usable with the following element: <svg:radialGradient> 16.42.3.

The values of the svg:cx attribute are a value of type coordinate 18.3.10 or a value of type percent 18.3.23.

19.529 svg:cy

19.529.1 <draw:area-circle>

The svg:cy attribute defines the y-axis coordinate of the center of a circular image map area.

The svg:cy attribute is usable with the following element: <draw:area-circle> 10.4.13.4.

The svg:cy attribute has the data type coordinate 18.3.10.

19.529.2 <draw:circle>

See §9.3 of [SVG].

The svg:cy attribute is usable with the following element: <draw:circle> 10.3.8.

The svg:cy attribute has the data type coordinate 18.3.10.

19.529.3 <draw:ellipse>

See §9.4 of [SVG].

The svg:cy attribute is usable with the following element: <draw:ellipse> 10.3.9.

The svg:cy attribute has the data type coordinate 18.3.10.

19.529.4 <svg:radialGradient>

See §13.3.2 of [SVG].

For a <svg:radialGradient> 16.42.3 element the default value for this attribute is 50%.

The svg:cy attribute is usable with the following element: <svg:radialGradient> 16.42.3.

The values of the svg:cy attribute are a value of type coordinate 18.3.10 or a value of type percent 18.3.23.

19.530 svg:d

See §8 of [SVG].

The svg:d attribute is usable with the following elements: <dr3d:extrude> 10.5.6, <dr3d:rotate> 10.5.7, <draw:connector> 10.3.10, <draw:contour-path> 10.4.11.3, <draw:marker> 16.42.8 and <draw:path> 10.3.7.

The svg:d attribute has the data type pathData 18.3.22.

19.531 svg:descent

See §20.8.3 of [SVG].

The svg:descent attribute is usable with the following element: <style:font-face> 16.23.

The svg:descent attribute has the data type integer 18.2.

19.532 svg:font-family

See §20.8.3 of [SVG].

The svg:font-family attribute is usable with the following element: <style:font-face> 16.23.

The svg:font-family attribute has the data type string 18.2.

19.533 svg:font-size

See §20.8.3 of [SVG].

The svg:font-size attribute is usable with the following element: <style:font-face> 16.23.

The svg:font-size attribute has the data type positiveLength 18.3.26.

19.534 svg:font-stretch

See §20.8.3 of [SVG].

The svg:font-stretch attribute is usable with the following element: <style:font-face> 16.23.

The values of the svg:font-stretch attribute are normal, ultra-condensed, extra-condensed, condensed, semi-condensed, semi-expanded, expanded, extra-expanded or ultra-expanded.

19.535 svg:font-style

See §20.8.3 of [SVG].

The svg:font-style attribute is usable with the following element: <style:font-face> 16.23.

The values of the svg:font-style attribute are normal, italic or oblique.

19.536 svg:font-variant

See §20.8.3 of [SVG].

The svg:font-variant attribute is usable with the following element: <style:font-face> 16.23.

The values of the svg:font-variant attribute are normal or small-caps.

19.537 svg:font-weight

See §20.8.3 of [SVG].

The svg:font-weight attribute is usable with the following element: <style:font-face> 16.23.

The values of the svg:font-weight attribute are normal, bold, 100, 200, 300, 400, 500, 600, 700, 800 or 900.

19.538 svg:fx

See §13.2.3 of [SVG].

The svg:fx attribute is usable with the following element: <svg:radialGradient> 16.42.3.

The values of the svg:fx attribute are a value of type coordinate 18.3.10 or a value of type percent 18.3.23.

19.539 svg:fy

See §13.2.3 of [SVG].

The svg:fy attribute is usable with the following element: <svg:radialGradient> 16.42.3.

The values of the svg:fy attribute are a value of type coordinate 18.3.10 or a value of type percent 18.3.23.

19.540 svg:gradientTransform

See §13.2.2 and §13.2.3 of [SVG].

The svg:gradientTransform attribute is usable with the following elements: <svg:linearGradient> 16.42.2 and <svg:radialGradient> 16.42.3.

The svg:gradientTransform attribute has the data type string 18.2.

19.541 svg:gradientUnits

See §13.2.2 and §13.2.3 of [SVG].

The default value for this attribute is objectBoundingBox.

The svg:gradientUnits attribute is usable with the following elements: <svg:linearGradient> 16.42.2 and <svg:radialGradient> 16.42.3.

The only value of the svg:gradientUnits attribute is objectBoundingBox.

19.542 svg:hanging

See §20.8.3 of [SVG].

The svg:hanging attribute is usable with the following element: <style:font-face> 16.23.

The svg:hanging attribute has the data type integer 18.2.

19.543 svg:height

19.543.1 <chart:chart>

The svg:height attribute defines the height of the entire chart. If it is omitted, the size of the chart is determined by the size of the window in which the chart is displayed.

The svg:height attribute is usable with the following element: <chart:chart> 11.1.

The svg:height attribute has the data type length 18.3.18.

19.543.2 <chart:legend>

The svg:height attribute defines the height of a legend.

The svg:height attribute is usable with the following element: <chart:legend> 11.4.

The svg:height attribute has the data type length 18.3.18.

19.543.3 <chart:coordinate-region>

The svg:height attribute defines the height of a positioning rectangle, see 11.3.

The svg:height attribute is usable with the following element: <chart:coordinate-region> 11.3.

The svg:height attribute has the data type length 18.3.18.

19.543.4 <chart:plot-area>

The svg:height attribute defines the height of the plot-area including axis labels.

The svg:height attribute is usable with the following element: <chart:plot-area> 11.5.

The svg:height attribute has the data type length 18.3.18.

19.543.5 <dr3d:scene>

The svg:height attribute specifies the height of the viewport.

The svg:height attribute is usable with the following element: <dr3d:scene> 10.5.2.

The svg:height attribute has the data type length 18.3.18.

19.543.6 <draw:area-polygon>

The svg:height attribute defines the height of a polygonal image map area's bounding box.

The svg:height attribute is usable with the following element: <draw:area-polygon> 10.4.13.5.

The svg:height attribute has the data type length 18.3.18.

19.543.7 <draw:area-rectangle>

The svg:height attribute defines the height of a rectangular image map area.

The svg:height attribute is usable with the following element: <draw:area-rectangle> 10.4.13.3.

The svg:height attribute has the data type length 18.3.18.

19.543.8 <draw:contour-polygon>, <draw:contour-path>

The svg:height attribute defines the height of a contour's bounding box.

The svg:height attribute is usable with the following elements: <draw:contour-path> 10.4.11.3 and <draw:contour-polygon> 10.4.11.2.

The svg:height attribute has the data type length 18.3.18.

19.543.9 <draw:fill-image>

The svg:height attribute may be used to specify the height of a linked image. Its value is overridden by the height of the linked image resource.

Note: This attribute can be used to estimate the size of a fill image without loading the image data.

The svg:height attribute is usable with the following element: <draw:fill-image> 16.42.6.

The svg:height attribute has the data type length 18.3.18.

19.543.10 <draw:caption>, <draw:custom-shape>, <draw:circle>, <draw:control>, <draw:ellipse>, <draw:frame>, <draw:rect>, <draw:page-thumbnail>, <draw:path>, <draw:polygon>, <draw:polyline>, <draw:regular-polygon>

See §5.1.2 of [SVG]. For drawing shapes that have a non-rectangular shape, the length refers to the drawing shape's bounding box.

If the svg:width and svg:height attributes specify different values for a <draw:circle> element, the radius of the circle is derived from the smaller of the two values, and the circle is centered within the bounding box.

The svg:height attribute is usable with the following elements: <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2 and <draw:regular-polygon> 10.3.6.

The svg:height attribute has the data type length 18.3.18.

19.543.11 <office:annotation>

The svg:height attribute specifies the height of the rectangular which displays the annotation. Its meaning is the same as for a <draw:caption> element. See 19.575.12.

The svg:height attribute is usable with the following element: <office:annotation> 14.1.

The svg:height attribute has the data type length 18.3.18.

19.543.12 <presentation:placeholder>

See 19.575.12. Percentage values are relative to the height of the drawing page.

The svg:height attribute is usable with the following element: <presentation:placeholder> 16.44.

The values of the svg:height attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

19.544 svg:ideographic

See §20.8.3 of [SVG].

The svg:ideographic attribute is usable with the following element: <style:font-face> 16.23.

The svg:ideographic attribute has the data type integer 18.2.

19.545 svg:mathematical

See §20.8.3 of [SVG].

The svg:mathematical attribute is usable with the following element: <style:font-face> 16.23.

The svg:mathematical attribute has the data type integer 18.2.

19.546 svg:name

See §20.8.3 of [SVG].

The svg:name attribute is usable with the following element: <svg:font-face-name> 16.25.

The svg:name attribute has the data type string 18.2.

19.547 svg:offset

See §13.2.4 of [SVG].

The svg:offset attribute is usable with the following element: <svg:stop> 16.42.4.

The values of the svg:offset attribute are a value of type double 18.2 or a value of type percent 18.3.23.

19.548 svg:origin

See §19.2.12 of [SVG].

Note: SVG relies upon the definition of origin in SMIL, see: http://www.w3.org/TR/2001/REC-smil-animation-20010904/#MotionOriginAttribute.

The svg:origin attribute is usable with the following element: <anim:animateMotion> 15.2.5.

The svg:origin attribute has the data type string 18.2.

19.549 svg:overline-position

See §20.8.3 of [SVG].

The svg:overline-position attribute is usable with the following element: <style:font-face> 16.23.

The svg:overline-position attribute has the data type integer 18.2.

19.550 svg:overline-thickness

See §20.8.3 of [SVG].

The svg:overline-thickness attribute is usable with the following element: <style:font-face> 16.23.

The svg:overline-thickness attribute has the data type integer 18.2.

19.551 svg:panose-1

See §20.8.3 of [SVG].

The svg:panose-1 attribute is usable with the following element: <style:font-face> 16.23.

The svg:panose-1 attribute has the data type string 18.2.

19.552 svg:path

See §19.2.12 of [SVG].

The svg:path attribute is usable with the following element: <anim:animateMotion> 15.2.5.

The svg:path attribute has the data type pathData 18.3.22.

19.553 svg:r

19.553.1 <draw:area-circle>

The svg:r attribute defines the radius of a circular image map area.

The svg:r attribute is usable with the following element: <draw:area-circle> 10.4.13.4.

The svg:r attribute has the data type length 18.3.18.

19.553.2 <draw:circle>

The svg:r attribute defines the radius of a circle. The use of this attribute is defined by §9.3 of [SVG].

Note: If a <draw:circle> element does not have a value for the svg:r attribute, then its svg:x, svg:y, svg:height, and svg:width attributes can be used to define the geometry of a circle.

The svg:r attribute is usable with the following element: <draw:circle> 10.3.8.

The svg:r attribute has the data type length 18.3.18.

19.553.3 <svg:radialGradient>

See §13.2.3 of [SVG].

For a <svg:radialGradient> 16.42.3 element the default value for this attribute is 50%.

The svg:r attribute is usable with the following element: <svg:radialGradient> 16.42.3.

The values of the svg:r attribute are a value of type coordinate 18.3.10 or a value of type percent 18.3.23.

19.554 svg:rx

See §9.4 of[SVG].

The svg:rx and svg:ry attributes can be used to round off the corners of a rectangle. The svg:rx attribute specifies the x-axis radius of the ellipse used to round off the corners of a rectangle. The svg:ry attribute specifies the y-axis radius of that ellipse. If only the svg:rx attribute is present then its value will be used for svg:ry. If only a svg:ry attribute is present then its value will be used for svg:rx.

For use of this attribute with <draw:rect> see §9.2 of [SVG].

For use of this attribute with <draw:ellipse> see §9.4 of [SVG].

The svg:rx attribute is usable with the following elements: <draw:ellipse> 10.3.9 and <draw:rect> 10.3.2.

The svg:rx attribute has the data type length 18.3.18.

19.555 svg:ry

See §9.4 of [SVG].

The svg:rx and svg:ry attributes can be used to round off the corners of a rectangle. The svg:rx attribute specifies the x-axis radius of the ellipse used to round off the corners of a rectangle. The svg:ry attribute specifies the y-axis radius of that ellipse. If only the svg:rx attribute is present then its value will be used for svg:ry. If only a svg:ry attribute is present then its value will be used for svg:rx.

The svg:ry attribute is usable with the following elements: <draw:ellipse> 10.3.9 and <draw:rect> 10.3.2.

The svg:ry attribute has the data type length 18.3.18.

19.556 svg:slope

See §20.8.3 of [SVG].

The svg:slope attribute is usable with the following element: <style:font-face> 16.23.

The svg:slope attribute has the data type integer 18.2.

19.557 svg:spreadMethod

See §13.2.2 and §13.2.3 of [SVG].

The default value for this attribute is pad.

The svg:spreadMethod attribute is usable with the following elements: <svg:linearGradient> 16.42.2 and <svg:radialGradient> 16.42.3.

The values of the svg:spreadMethod attribute are pad, reflect or repeat.

19.558 svg:stemh

See §20.8.3 of [SVG].

The svg:stemh attribute is usable with the following element: <style:font-face> 16.23.

The svg:stemh attribute has the data type integer 18.2.

19.559 svg:stemv

See §20.8.3 of [SVG].

The svg:stemv attribute is usable with the following element: <style:font-face> 16.23.

The svg:stemv attribute has the data type integer 18.2.

19.560 svg:stop-color

See §13.2.4 of [SVG].

The svg:stop-color attribute is usable with the following element: <svg:stop> 16.42.4.

The svg:stop-color attribute has the data type color 18.3.9.

19.561 svg:stop-opacity

See §13.2.4 of [SVG].

The svg:stop-opacity attribute is usable with the following element: <svg:stop> 16.42.4.

The svg:stop-opacity attribute has the data type double 18.2.

19.562 svg:strikethrough-position

See §20.8.3 of [SVG].

The svg:strikethrough-position attribute is usable with the following element: <style:font-face> 16.23.

The svg:strikethrough-position attribute has the data type integer 18.2.

19.563 svg:strikethrough-thickness

See §20.8.3 of [SVG].

The svg:strikethrough-thickness attribute is usable with the following element: <style:font-face> 16.23.

The svg:strikethrough-thickness attribute has the data type integer 18.2.

19.564 svg:string

See §20.8.3 of [SVG].

The svg:string attribute is usable with the following element: <svg:font-face-format> 16.28.

The svg:string attribute has the data type string 18.2.

19.565 svg:type

See §19.2.14 of [SVG].

The svg:type attribute is usable with the following element: <anim:animateTransform> 15.2.3.

The values of the svg:type attribute are translate, scale, rotate, skewX or skewY.

19.566 svg:underline-position

See §20.8.3 of [SVG].

The svg:underline-position attribute is usable with the following element: <style:font-face> 16.23.

The svg:underline-position attribute has the data type integer 18.2.

19.567 svg:underline-thickness

See §20.8.3 of [SVG].

The svg:underline-thickness attribute is usable with the following element: <style:font-face> 16.23.

The svg:underline-thickness attribute has the data type integer 18.2.

19.568 svg:unicode-range

See §20.8.3 of [SVG].

The svg:unicode-range attribute is usable with the following element: <style:font-face> 16.23.

The svg:unicode-range attribute has the data type string 18.2.

19.569 svg:units-per-em

See §20.8.3 of [SVG].

The svg:units-per-em attribute is usable with the following element: <style:font-face> 16.23.

The svg:units-per-em attribute has the data type integer 18.2.

19.570 svg:v-alphabetic

See §20.8.3 of [SVG].

The svg:v-alphabetic attribute is usable with the following element: <style:font-face> 16.23.

The svg:v-alphabetic attribute has the data type integer 18.2.

19.571 svg:v-hanging

See §20.8.3 of [SVG].

The svg:v-hanging attribute is usable with the following element: <style:font-face> 16.23.

The svg:v-hanging attribute has the data type integer 18.2.

19.572 svg:v-ideographic

See §20.8.3 of [SVG].

The svg:v-ideographic attribute is usable with the following element: <style:font-face> 16.23.

The svg:v-ideographic attribute has the data type integer 18.2.

19.573 svg:v-mathematical

See §20.8.3 of [SVG].

The svg:v-mathematical attribute is usable with the following element: <style:font-face> 16.23.

The svg:v-mathematical attribute has the data type integer 18.2.

19.574 svg:viewBox

 

The svg:viewBox attribute specifies a rectangle in a local coordinate system of a shape. The syntax for using this attribute is the same as the [SVG] syntax. The value of the attribute are four numbers separated by white spaces, which define the left, top, width, and height of the rectangle. Such local coordinate system is used by the draw:points 19.206 and svg:d 19.530 attributes, as well as by the attributes of <draw:enhanced-geometry> 10.6.2 element and its child elements which specify coordinates.

The rectangle specified be the svg:viewBox attribute is mapped to the rectangle in the outer coordinate system, specified by the position and size attributes of the shape.

The svg:viewBox attribute is usable with the following elements: <dr3d:extrude> 10.5.6, <dr3d:rotate> 10.5.7, <draw:area-polygon> 10.4.13.5, <draw:connector> 10.3.10, <draw:contour-path> 10.4.11.3, <draw:contour-polygon> 10.4.11.2, <draw:enhanced-geometry> 10.6.2, <draw:marker> 16.42.8, <draw:path> 10.3.7, <draw:polygon> 10.3.5 and <draw:polyline> 10.3.4.

The values of the svg:viewBox attribute are four white space separated values of type integer 18.2.

19.575 svg:width

19.575.1 <chart:chart>

The svg:width attribute defines the width of a chart. If it is omitted, the size of a chart is determined by the size of its <chart:chart> 11.1 document or its containing element in another document.

The svg:width attribute is usable with the following element: <chart:chart> 11.1.

The svg:width attribute has the data type length 18.3.18.

19.575.2 <chart:coordinate-region>

The svg:width attribute defines the width of a positioning rectangle, see 11.3.

The svg:width attribute is usable with the following element: <chart:coordinate-region> 11.3.

The svg:width attribute has the data type length 18.3.18.

19.575.3 <chart:floor>

The svg:width attribute defines the thickness of a floor.

The svg:width attribute is usable with the following element: <chart:floor> 11.8.

The svg:width attribute has the data type length 18.3.18.

19.575.4 <chart:legend>

The svg:width attribute defines the width of a legend.

The svg:width attribute is usable with the following element: <chart:legend> 11.4.

The svg:width attribute has the data type length 18.3.18.

19.575.5 <chart:plot-area>

The svg:width attribute defines the width of a plot-area including axis labels.

The svg:width attribute is usable with the following element: <chart:plot-area> 11.5.

The svg:width attribute has the data type length 18.3.18.

19.575.6 <chart:wall>

The svg:width attribute specifies the thickness of a wall for three-dimensional charts.

The svg:width attribute is usable with the following element: <chart:wall> 11.7.

The svg:width attribute has the data type length 18.3.18.

19.575.7 <dr3d:scene>

The svg:width attribute specifies the width of the viewport.

The svg:width attribute is usable with the following element: <dr3d:scene> 10.5.2.

The svg:width attribute has the data type length 18.3.18.

19.575.8 <draw:area-polygon>

The svg:width attribute defines the width of a polygonal image map area's bounding box.

The svg:width attribute is usable with the following element: <draw:area-polygon> 10.4.13.5.

The svg:width attribute has the data type length 18.3.18.

19.575.9 <draw:area-rectangle>

The svg:width attribute defines the width of a rectangular image map area.

The svg:width attribute is usable with the following element: <draw:area-rectangle> 10.4.13.3.

The svg:width attribute has the data type length 18.3.18.

19.575.10 <draw:contour-polygon>, <draw:contour-path>

The svg:width attribute defines the width of a contour's bounding box.

The svg:width attribute is usable with the following elements: <draw:contour-path> 10.4.11.3 and <draw:contour-polygon> 10.4.11.2.

The svg:width attribute has the data type length 18.3.18.

19.575.11 <draw:fill-image>

The svg:width attribute may be used to specify the width of a linked image. Its value is overridden by the width of the linked image resource.

Note: This attribute can be used to estimate the size of a fill image without loading the image data.

The svg:width attribute is usable with the following element: <draw:fill-image> 16.42.6.

The svg:width attribute has the data type length 18.3.18.

19.575.12 <draw:caption>, <draw:custom-shape>, <draw:circle>, <draw:control>, <draw:ellipse>, <draw:frame>, <draw:rect>, <draw:page-thumbnail>, <draw:path>, <draw:polygon>, <draw:polyline>, <draw:regular-polygon>

See §5.1.2 of [SVG]. For drawing shapes that have a non-rectangular shape, the length refers to the drawing shape's bounding box.

If the svg:width and svg:height 19.234 attributes specify different values for a <draw:circle> element, the radius of the circle is derived from the smaller of the two values, and the circle is centered within the bounding box.

The svg:width attribute is usable with the following elements: <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2 and <draw:regular-polygon> 10.3.6.

The svg:width attribute has the data type length 18.3.18.

19.575.13 <office:annotation>

The svg:width attribute specifies the width of the rectangular which displays the annotation. Its meaning is the same as for a <draw:caption> element. See 19.575.12.

The svg:width attribute is usable with the following element: <office:annotation> 14.1.

The svg:width attribute has the data type length 18.3.18.

19.575.14 <presentation:placeholder>

See 19.575.12. Percentage values are relative to the width of the drawing page.

The svg:width attribute is usable with the following element: <presentation:placeholder> 16.44.

The values of the svg:width attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

19.576 svg:widths

See §20.8.3 of [SVG].

The svg:widths attribute is usable with the following element: <style:font-face> 16.23.

The svg:widths attribute has the data type string 18.2.

19.577 svg:x

19.577.1 <chart:coordinate-region>

The svg:x attribute specifies the horizontal distance of the upper left corner of the <chart:coordinate-region> element from the upper left corner of the <chart:chart> element.

The svg:x attribute is usable with the following element: <chart:coordinate-region> 11.3.

The svg:x attribute has the data type coordinate 18.3.10.

19.577.2 <chart:data-label>, <chart:equation>, <chart:footer>, <chart:legend>, <chart:plot-area>, <chart:subtitle>, <chart:title>

The svg:x attribute specifies the horizontal distance of the upper-left corner of the given element from the upper-left corner of the <chart:chart> element.

The svg:x attribute is usable with the following elements: <chart:data-label> 11.15, <chart:equation> 11.19, <chart:footer> 11.2.3, <chart:legend> 11.4, <chart:plot-area> 11.5, <chart:subtitle> 11.2.2 and <chart:title> 11.2.1.

The svg:x attribute has the data type coordinate 18.3.10.

19.577.3 <draw:area-polygon>

The svg:x attribute defines the x-axis coordinate of a polygonal image map area's bounding box.

The svg:x attribute is usable with the following element: <draw:area-polygon> 10.4.13.5.

The svg:x attribute has the data type coordinate 18.3.10.

19.577.4 <draw:area-rectangle>

The svg:x attribute defines the x-axis coordinate of a rectangular image map area.

The svg:x attribute is usable with the following element: <draw:area-rectangle> 10.4.13.3.

The svg:x attribute has the data type coordinate 18.3.10.

19.577.5 <dr3d:scene>

The svg:x attribute specifies the horizontal position of the left edge of the viewport.

The svg:x attribute is usable with the following element: <dr3d:scene> 10.5.2.

The svg:x attribute has the data type coordinate 18.3.10.

19.577.6 <draw:caption>, <draw:custom-shape>, <draw:circle>, <draw:control>, <draw:ellipse>, <draw:frame>, <draw:rect>, <draw:page-thumbnail>, <draw:path>, <draw:polygon>, <draw:polyline>, <draw:regular-polygon>

See §5.1.2 of [SVG]. For drawing shapes that have a non-rectangular shape, the coordinate refers to the drawing shape's bounding box.

The svg:x attribute is usable with the following elements: <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2 and <draw:regular-polygon> 10.3.6.

The svg:x attribute has the data type coordinate 18.3.10.

19.577.7 <draw:glue-point>

The svg:x attribute specifies the horizontal position of the glue point. The coordinate is either a percentage value relative to the drawing shape's center measured horizontally, or, if the draw:align 19.111 attribute is also specified, an absolute distance value relative to the edge specified by the draw:align attribute.

The svg:x attribute is usable with the following element: <draw:glue-point> 10.3.16.

The values of the svg:x attribute are a value of type distance 18.3.15 or a value of type percent 18.3.23.

19.577.8 <office:annotation>

The svg:x attribute specifies the horizontal position of an annotation. Its meaning is the same as for a <draw:caption> element. See 19.577.6.

The svg:x attribute is usable with the following element: <office:annotation> 14.1.

The svg:x attribute has the data type coordinate 18.3.10.

19.577.9 <presentation:placeholder>

See 19.577.6. Percentage values are relative to the height of the drawing page.

The svg:x attribute is usable with the following element: <presentation:placeholder> 16.44.

The values of the svg:x attribute are a value of type coordinate 18.3.10 or a value of type percent 18.3.23.

19.578 svg:x1

19.578.1 <draw:connector>, <draw:line> and <draw:measure>

See §9.5 of [SVG].

The svg:x1 attribute may be omitted on <draw:connector> elements when the connector is connected to a shape by a draw:start-shape 19.217 attribute. The start position then is the position of the glue point to which the connector is connected.

The svg:x1 attribute is usable with the following elements: <draw:connector> 10.3.10, <draw:line> 10.3.3 and <draw:measure> 10.3.12.

The svg:x1 attribute has the data type coordinate 18.3.10.

19.578.2 <svg:linearGradient>

See §13.3.2 of [SVG].

For a <svg:linearGradient> 16.42.2 element the default value for this attribute is 0%.

The svg:x1 attribute is usable with the following element: <svg:linearGradient> 16.42.2.

The values of the svg:x1 attribute are a value of type coordinate 18.3.10 or a value of type percent 18.3.23.

19.579 svg:x2

19.579.1 <draw:connector>, <draw:line> and <draw:measure>

See §9.5 of [SVG].

The svg:x2 attribute may be omitted on <draw:connector> elements when the connector is connected to a shape by a draw:end-shape 19.144 attribute. The end position then is the position of the glue point to which the connector is connected.

The svg:x2 attribute is usable with the following elements: <draw:connector> 10.3.10, <draw:line> 10.3.3 and <draw:measure> 10.3.12.

The svg:x2 attribute has the data type coordinate 18.3.10.

19.579.2 <svg:linearGradient>

See §13.3.2 of [SVG].

For a <svg:linearGradient> 16.42.2 element the default value for this attribute is 100%.

The svg:x2 attribute is usable with the following element: <svg:linearGradient> 16.42.2.

The values of the svg:x2 attribute are a value of type coordinate 18.3.10 or a value of type percent 18.3.23.

19.580 svg:x-height

See §20.8.3 of [SVG].

The svg:x-height attribute is usable with the following element: <style:font-face> 16.23.

The svg:x-height attribute has the data type integer 18.2.

19.581 svg:y

19.581.1 <chart:coordinate-region>

The svg:y attribute specifies the vertical distance of the upper left corner of the <chart:coordinate-region> element from the upper left-corner of the <chart:chart> element.

The svg:y attribute is usable with the following element: <chart:coordinate-region> 11.3.

The svg:y attribute has the data type coordinate 18.3.10.

19.581.2 <chart:data-label>, <chart:equation>, <chart:footer>, <chart:legend>, <chart:plot-area>, <chart:subtitle>, <chart:title>

The svg:y attribute specifies the vertical distance of the upper-left corner of the given element from the upper-left corner of the <chart:chart> element.

The svg:y attribute is usable with the following elements: <chart:data-label> 11.15, <chart:equation> 11.19, <chart:footer> 11.2.3, <chart:legend> 11.4, <chart:plot-area> 11.5, <chart:subtitle> 11.2.2 and <chart:title> 11.2.1.

The svg:y attribute has the data type coordinate 18.3.10.

19.581.3 <draw:area-polygon>

The svg:y attribute defines the y-axis coordinate of a polygonal image map area's bounding box.

The svg:y attribute is usable with the following element: <draw:area-polygon> 10.4.13.5.

The svg:y attribute has the data type coordinate 18.3.10.

19.581.4 <draw:area-rectangle>

The svg:y attributes defines the y-axis coordinate of a rectangular image map area.

The svg:y attribute is usable with the following element: <draw:area-rectangle> 10.4.13.3.

The svg:y attribute has the data type coordinate 18.3.10.

19.581.5 <dr3d:scene>

The svg:y attribute specifies the vertical position of the top edge of the viewport.

The svg:y attribute is usable with the following element: <dr3d:scene> 10.5.2.

The svg:y attribute has the data type coordinate 18.3.10.

19.581.6 <draw:caption>, <draw:custom-shape>, <draw:circle>, <draw:control>, <draw:ellipse>, <draw:frame>, <draw:g>, <draw:rect>, <draw:page-thumbnail>, <draw:path>, <draw:polygon>, <draw:polyline>, <draw:regular-polygon>

See §5.1.2 of [SVG]. For drawing shapes that have a non-rectangular shape, the coordinate refers to the drawing shape's bounding box.

The svg:y attribute is usable with the following elements: <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2 and <draw:regular-polygon> 10.3.6.

The svg:y attribute has the data type coordinate 18.3.10.

19.581.7 <draw:glue-point>

The svg:y attribute specifies the vertical position of the glue point. The coordinate is either a percentage value relative to the drawing shape's center measured vertically, or, if the draw:align 19.111 attribute is also specified, an absolute distance value relative to the edge specified by the draw:align attribute.

The svg:y attribute is usable with the following element: <draw:glue-point> 10.3.16.

The values of the svg:y attribute are a value of type distance 18.3.15 or a value of type percent 18.3.23.

19.581.8 <office:annotation>

The svg:y attribute specifies the position where the annotation is displayed. Its meaning is the same as for a <draw:caption> element. See 19.577.6.

The svg:y attribute is usable with the following element: <office:annotation> 14.1.

The svg:y attribute has the data type coordinate 18.3.10.

19.581.9 <presentation:placeholder>

See 19.581.6. Percentage values are relative to the height of the drawing page.

The svg:y attribute is usable with the following element: <presentation:placeholder> 16.44.

The values of the svg:y attribute are a value of type coordinate 18.3.10 or a value of type percent 18.3.23.

19.582 svg:y1

19.582.1 <draw:connector>, <draw:line> and <draw:measure>

See §9.5 of [SVG].

The svg:y1 attribute may be omitted on <draw:connector> elements when the connector is connected to a shape by a draw:start-shape 19.217 attribute. The start position then is the position of the glue point to which the connector is connected.

The svg:y1 attribute is usable with the following elements: <draw:connector> 10.3.10, <draw:line> 10.3.3 and <draw:measure> 10.3.12.

The svg:y1 attribute has the data type coordinate 18.3.10.

19.582.2 <svg:linearGradient>

See §13.3.2 of [SVG].

For a <svg:linearGradient> 16.42.2 element the default value for this attribute is 0%.

The svg:y1 attribute is usable with the following element: <svg:linearGradient> 16.42.2.

The values of the svg:y1 attribute are a value of type coordinate 18.3.10 or a value of type percent 18.3.23.

19.583 svg:y2

19.583.1 <draw:connector>, <draw:line> and <draw:measure>

See §9.5 of [SVG].

The svg:y2 attribute may be omitted on <draw:connector> elements when the connector is connected to a shape by a draw:end-shape 19.144 attribute. The end position then is the position of the glue point to which the connector is connected.

The svg:y2 attribute is usable with the following elements: <draw:connector> 10.3.10, <draw:line> 10.3.3 and <draw:measure> 10.3.12.

The svg:y2 attribute has the data type coordinate 18.3.10.

19.583.2 <svg:linearGradient>

See §13.3.2 of [SVG].

For a <svg:linearGradient> 16.42.2 element the default value for this attribute is 100%.

The svg:y2 attribute is usable with the following element: <svg:linearGradient> 16.42.2.

The values of the svg:y2 attribute are a value of type coordinate 18.3.10 or a value of type percent 18.3.23.

19.584 table:acceptance-state

The table:acceptance-state attribute specifies whether a tracked change has been accepted or rejected already, or whether an acceptance or rejection is still pending.

The defined values for the table:acceptance-state attribute are:

The default value for this attribute is pending.

The table:acceptance-state attribute is usable with the following elements: <table:cell-content-change> 9.9.17, <table:deletion> 9.9.9, <table:insertion> 9.9.3 and <table:movement> 9.9.13.

The values of the table:acceptance-state attribute are accepted, rejected or pending.

19.585 table:algorithm

The table:algorithm attribute specifies the algorithm used to compare sort keys. To avoid name conflicts between different consumers, the name of the algorithm should begin with a namespace prefix, followed by a “:” (U+003A, COLON) separator.

The table:algorithm attribute is usable with the following element: <table:sort> 9.4.19.

The table:algorithm attribute has the data type string 18.2.

19.586 table:add-empty-lines

The table:add-empty-lines attribute specifies whether an empty row is inserted in the data pilot table after the data (including the subtotals) for each member of the field.

The defined values for the table:add-empty-lines attribute are:

The table:add-empty-lines attribute is usable with the following element: <table:data-pilot-layout-info> 9.6.15.

The table:add-empty-lines attribute has the data type boolean 18.3.3.

19.587 table:allow-empty-cell

The table:allow-empty-cell attribute specifies whether a cell can be empty.

The defined values for the table:allow-empty-cell attribute are:

The default value for this attribute is true.

The table:allow-empty-cell attribute is usable with the following element: <table:content-validation> 9.4.5.

The table:allow-empty-cell attribute has the data type boolean 18.3.3.

19.588 table:application-data

The table:application-data attribute specifies extra information about a data pilot table, which can be used by a consumer. This data shall not influence the behavior of the data pilot.

The table:application-data attribute is usable with the following element: <table:data-pilot-table> 9.6.3.

The table:application-data attribute has the data type string 18.2.

19.589 table:automatic-find-labels

The table:automatic-find-labels attribute specifies whether a consumer should attempt to find labels of rows and columns.

The defined values for the table:automatic-find-labels attribute are:

Note: The table:automatic-find-labels attribute enables the use of the automatic lookup of labels capability defined by OpenFormula. OpenFormula, 5.10.2. (*update*)

The default value for this attribute is true.

The table:automatic-find-labels attribute is usable with the following element: <table:calculation-settings> 9.4.1.

The table:automatic-find-labels attribute has the data type boolean 18.3.3.

19.590 table:base-cell-address

The table:base-cell-address attribute specifies the address of the base cell for relative addresses in formulas that occur within a condition. This attribute is only necessary when the condition contains a formula. The value of this attribute shall be an absolute cell address that contains a table name. The dollar signs “$” (U+0024, DOLLAR SIGN) that indicate an absolute address may be omitted.

The table:base-cell-address attribute is usable with the following elements: <table:content-validation> 9.4.5, <table:named-expression> 9.4.13 and <table:named-range> 9.4.12.

The table:base-cell-address attribute has the data type cellAddress 18.3.4.

19.591 table:bind-styles-to-content

The table:bind-styles-to-content attribute specifies whether cells retain their style after a subtotal calculation. This attribute is only evaluated if a <table:sort-groups> element is present.

The defined values for the table:bind-styles-to-content attribute are:

The default value for this attribute is true.

The table:bind-styles-to-content attribute is usable with the following elements: <table:sort> 9.4.19 and <table:subtotal-rules> 9.4.21.

The table:bind-styles-to-content attribute has the data type boolean 18.3.3.

19.592 table:border-color

The table:border-color attribute specifies the color of a border that is displayed around a scenario that belongs to a scenario table.

The table:border-color attribute is usable with the following element: <table:scenario> 9.2.7.

The table:border-color attribute has the data type color 18.3.9.

19.593 table:buttons

The table:buttons attribute specifies the cells in a data pilot table that should be displayed as buttons to trigger interactive operations on the table such as changing the order of columns. Its value is a list of white-space-separated cell-addresses. The value of this attribute shall be an absolute cell address that contains a table name. The dollar signs “$” (U+0024, DOLLAR SIGN) that indicate an absolute address may be omitted.

The table:buttons attribute is usable with the following element: <table:data-pilot-table> 9.6.3.

The table:buttons attribute has the data type cellRangeAddressList 18.3.6.

19.594 table:case-sensitive

The table:case-sensitive attribute specifies whether to distinguish between upper and lower case when comparing, sorting or filtering content.

That attribute is only evaluated if the operations take place on strings.

The defined values for the table:case-sensitive attribute are:

For a <table:calculation-settings> 9.4.1 element the default value for this attribute is true.

For <table:filter-condition> 9.5.5, <table:sort> 9.4.19 and <table:subtotal-rules> 9.4.21 elements the default value for this attribute is false.

The table:case-sensitive attribute is usable with the following elements: <table:calculation-settings> 9.4.1, <table:filter-condition> 9.5.5, <table:sort> 9.4.19 and <table:subtotal-rules> 9.4.21.

The table:case-sensitive attribute has the data type boolean 18.3.3.

19.595 table:cell-address

The table:cell-address attribute specifies the original address of a cell used in a calculation.

The table:cell-address attribute is usable with the following element: <table:change-track-table-cell> 9.9.16.

The table:cell-address attribute has the data type cellAddress 18.3.4.

19.596 table:cell-range

The table:cell-range attribute specifies a list of ranges of cells.

The table:cell-range attribute is usable with the following elements: <chart:footer> 11.2.3, <chart:subtitle> 11.2.2 and <chart:title> 11.2.1.

The table:cell-range attribute has the data type cellRangeAddressList 18.3.6.

19.597 table:cell-range-address

19.597.1 General

The table:cell-range-address attribute specifies a range of cells or a list of ranges of cells.

19.597.2 <chart:categories>

The table:cell-range-address attribute specifies the source from which the category labels are taken. If this attribute or the <chart:categories> element is omitted the chart:data-source-has-labels 19.17 attribute of the <chart:plot-area> 11.5 element should be evaluated.

The table:cell-range-address attribute is usable with the following element: <chart:categories> 11.10.

The table:cell-range-address attribute has the data type cellRangeAddressList 18.3.6.

19.597.3 <chart:domain> - bubble

The table:cell-range-address attribute specifies the x and y-coordinate values for bubble charts when the chart:class 11.5 attribute of its parent <chart:series> 11.12 element has the value chart:bubble.

The table:cell-range-address attribute is usable with the following element: <chart:domain> 11.13.

The table:cell-range-address attribute has the data type cellRangeAddressList 18.3.6.

19.597.4 <chart:domain>- scatter

The table:cell-range-address attribute specifies the x-coordinate values for scatter charts when the chart:class 19.15 attribute of its parent <chart:series> 11.12 element has the value chart:scatter.

The table:cell-range-address attribute is usable with the following element: <chart:domain> 11.13.

The table:cell-range-address attribute has the data type cellRangeAddressList 18.3.6.

19.597.5 <chart:domain> - surface

The table:cell-range-address attribute of the first <chart:domain> element specifies the y-coordinate values and the table:cell-range-address attribute of the second <chart:domain> element specifies the x-coordinate values for surface charts when the chart:class 19.15 attribute of its parent <chart:series> 11.12 element has the value chart:surface and the chart:values-cell-range-address 19.28 attribute of this <chart:series> element specifies a range with more than one row and more than one column.

The table:cell-range-address attribute is usable with the following element: <chart:domain> 11.13.

The table:cell-range-address attribute has the data type cellRangeAddressList 18.3.6.

19.597.6 <chart:plot-area> (deprecated)

The table:cell-range-address attribute specifies the ranges of data for a chart.

The table:cell-range-address attribute at the <chart:plot-area> element has no effect in case the data is assigned to the <chart:series> 11.12 elements directly by chart:values-cell-range-address 19.28 attributes.

The use of the table:cell-range-address attribute is deprecated in favor of the chart:values-cell-range-address attributes of <chart:series> elements.

The table:cell-range-address attribute is usable with the following element: <chart:plot-area> 11.5.

The table:cell-range-address attribute has the data type cellRangeAddressList 18.3.6.

19.597.7 <table:highlighted-range>

The table:cell-range-address attribute specifies the address of a range that is highlighted.

The table:cell-range-address attribute is usable with the following element: <table:highlighted-range> 9.3.4.

The table:cell-range-address attribute has the data type cellRangeAddress 18.3.5.

19.597.8 <table:named-range>

The table:cell-range-address attribute specifies the address of a named range. The address can be either absolute or relative. If the cell range address is relative, the parent <table:named-range> element shall have a table:base-cell-address 19.590 attribute with a value. A relative cell address defines an offset which shall be interpreted relative to the cell where the named range is used. The offset is the same as the offsets between the table cell addressed by the relative cell range address and the table cell specified by the table:base-cell-address attribute.

The table:cell-range-address attribute is usable with the following element: <table:named-range> 9.4.12.

The table:cell-range-address attribute has the data type cellRangeAddress 18.3.5.

19.597.9 <table:source-cell-range>

The table:cell-range-address attribute specifies the cell range containing the source data. The value of this attribute shall be an absolute cell address that contains a table name. The dollar signs “$” (U+0024, DOLLAR SIGN) that indicate an absolute address may be omitted. If a table:name 19.677 attribute on an element specifies a named range, the cell range specified by the table:cell-range 19.596 attribute on the same element, shall match the cell range specified by the named range.

The table:cell-range-address attribute is usable with the following element: <table:source-cell-range> 9.6.5.

The table:cell-range-address attribute has the data type cellRangeAddress 18.3.5.

The table:cell-range-address attribute has the data type cellRangeAddress 18.3.5.

19.598 table:column

The table:column attribute specifies the column number of a cell.

The table:column attribute is usable with the following elements: <table:cell-address> 9.9.18, <table:source-range-address> 9.9.14 and <table:target-range-address> 9.9.15.

The table:column attribute has the data type integer 18.2.

19.599 table:comment

The table:comment attribute specifies a comment about a scenario.

The table:comment attribute is usable with the following element: <table:scenario> 9.2.7.

The table:comment attribute has the data type string 18.2.

19.600 table:condition

The table:condition attribute specifies a condition that is used to validate the value of a table cell. When evaluation of the condition results in false, any action taken is determine by the other attributes and child elements of the <table:content-validation> element.

Note: Possible actions include presentation of a message, triggering an event, and performance of a script, with or without invalidating the value. The table:allow-empty-cell 19.587 attribute value influences whether the table:condition is applicable.

The value of this attribute should be a namespace prefix, followed by a ":" (U+003A, COLON), followed by Boolean expression. If the namespace prefix is missing the namespace defaults to the "urn:oasis:names:tc:opendocument:xmlns:of:1.2" namespace. The XML namespace that applies to the table:condition attribute specifies the syntax and semantics of the expression occurrences in the table:condition syntax.

Note: The value of the table:base-cell-address 19.590 attribute of the <table:content-validation> 9.4.5 element can influence how references are resolved in an expression anywhere within the defined conditions.

An OpenDocument Consumer when hosting a formula evaluator makes available the host-dependent properties defined by Table 16 Host-dependent Properties in 19.646.

The defined conditions are:

  • cell-content-text-length() op value, where op is one of the relational operators ””<”,“>”, ”<=”, ”>=”, ”=” or “!=”: true if the length of the cell's text compared to the value specified in the condition by value using the relational operator op evaluates to true.  

  • cell-content-text-length-is-between(value1, value2): true if the length of the cell's text is between value1 and value2.  

  • cell-content-text-length-is-not-between(value1, value2): true if the length of the cell's text is not between value1 and value2.  

  • cell-content-is-in-list(list), where list is one or more string entries, separated by ”;” (U+003B, SEMICOLON), or an expression: true if the cell's content is in list.  

  • cell-content-is-decimal-number() and condition, where condition is one of the value conditions below: true if the cell has a numeric value and condition is true.  

  • cell-content-is-whole-number() and condition, where condition is one of the value conditions below: true if the cell's cell has a whole-number value and condition is true. 

  • cell-content-is-date() and condition, where condition is one of the value conditions below: true if the cell has a date value and condition is true.  

  • cell-content-is-time() and condition, where condition is one of the value conditions below: true if the cell has a time value and condition is true.  

  • is-true-formula(expression): true if evaluation of the expression yields a value that converts to logical type value true in the semantics for the expression; false otherwise.  

The defined value conditions are:

  • cell-content() op value, where op is one of the relational operators ”<”, ”>”, ”<=”, ”>=”, ”=” or ”!=”: true if the cell's value compared to the value specified in the condition by value using the relational operator op evaluates to true.  

  • cell-content-is-between(value1, value2): true if the cell's value is between value1 and value2. 

  • cell-content-is-not-between(value1, value2): true if the cell's value is not between value1 and value2. 

  • is-true-formula(expression): true if evaluation of the expression yields a value that converts to logical value true in the semantics for the expression; false otherwise.  

Within the conditions:

  • value, value1 and value2 are a numberValue, a string or an expression.  

  • numberValue is a whole or decimal number in the lexical form of the [xmlschema-2] decimal datatype.  

  • string expresses a value of the [xmlschema-2] string datatype by surrounding the sequence of string characters in quotation marks (U+0022, QUOTATION MARK). A quotation mark within the string itself is expressed with two consecutive quotation marks.  

  • expression is a lexical form that is neither numberValue nor string and that is a well-formed expression determined by the namespace applicable to the table:condition value. 

The table:condition attribute is usable with the following element: <table:content-validation> 9.4.5.

The table:condition attribute has the data type string 18.2.

19.601 table:condition-source

The table:condition-source attribute specifies whether the condition is contained in a filter or encoded in a cell range.

The defined values for the table:condition-source attribute are:

The default value for this attribute is self.

The table:condition-source attribute is usable with the following element: <table:filter> 9.5.2.

The values of the table:condition-source attribute are self or cell-range.

19.602 table:condition-source-range-address

The table:condition-source-range-address attribute specifies a cell range that contains encoded conditions. The first row of the cell range shall contain the labels of the columns whose content should be filtered. The following rows contain conditions that have to evaluate to true for the cells contained in the columns. The conditions in each row are connected by an “and” operation, while the rows are connected by an “or” operation. This means that a row is of the source table is displayed if there is at least one row in the condition range where all conditions evaluate to true if they are applied to the columns specified in the first row of the condition range.

The table:condition-source-range-address attribute is usable with the following element: <table:filter> 9.5.2.

The table:condition-source-range-address attribute has the data type cellRangeAddress 18.3.5.

19.603 table:contains-error

The table:contains-error attribute specifies whether a cell range contains an error at the point of evaluation.

The defined values for the table:contains-error attribute are:

The default value for this attribute is false.

The table:contains-error attribute is usable with the following element: <table:highlighted-range> 9.3.4.

The table:contains-error attribute has the data type boolean 18.3.3.

19.604 table:contains-header

The table:contains-header attribute specifies whether the content of a database range's first row or column defines labels which may be used to reference a whole row or column.

The defined values for the table:contains-header attribute are:

The default value for this attribute is true.

The table:contains-header attribute is usable with the following element: <table:database-range> 9.4.15.

The table:contains-header attribute has the data type boolean 18.3.3.

19.605 table:content-validation-name

The table:content-validation-name attribute specifies the name of a validity check.

The value of this attribute is a name found in the table:name 19.677 attribute of a <table:content-validation> 9.4.5 element.  If this attribute is not present, a cell may have arbitrary content.

The table:content-validation-name attribute is usable with the following elements: <table:covered-table-cell> 9.1.5 and <table:table-cell> 9.1.4.

The table:content-validation-name attribute has the data type string 18.2.

19.606 table:copy-back

The table:copy-back attribute specifies whether data is copied back into a scenario table if another scenario is activated.

The defined values for the table:copy-back attribute are:

The default value for this attribute is true.

The table:copy-back attribute is usable with the following element: <table:scenario> 9.2.7.

The table:copy-back attribute has the data type boolean 18.3.3.

19.607 table:copy-formulas

The table:copy-formulas attribute specifies whether formulas are copied from a scenario table to a destination table.

The defined values for the table:copy-formulas attribute are:

The default value for this attribute is true.

The table:copy-formulas attribute is usable with the following element: <table:scenario> 9.2.7.

The table:copy-formulas attribute has the data type boolean 18.3.3.

19.608 table:copy-styles

The table:copy-styles attribute specifies whether styles are copied from a scenario table to a destination table together with the data.

The defined values for the table:copy-styles attribute are:

The default value for this attribute is true.

The table:copy-styles attribute is usable with the following element: <table:scenario> 9.2.7.

The table:copy-styles attribute has the data type boolean 18.3.3.

19.609 table:count

The table:count attribute specifies the count of inserted rows, columns or tables.

The default value for this attribute is 1.

The table:count attribute is usable with the following element: <table:insertion> 9.9.3.

The table:count attribute has the data type positiveInteger 18.2.

19.610 table:country

The table:country attribute specifies the country information for the natural language in which comparisons will occur.

The table:country attribute is usable with the following element: <table:sort> 9.4.19.

The table:country attribute has the data type countryCode 18.3.11.

19.611 table:data-field

The table:data-field attribute specifies the data field whose values are taken into account.

The table:data-field attribute is usable with the following elements: <table:data-pilot-display-info> 9.6.13 and <table:data-pilot-sort-info> 9.6.14.

The table:data-field attribute has the data type string 18.2.

19.612 table:data-cell-range-address

The table:data-cell-range-address attribute specifies the cell range address of data.

The table:data-cell-range-address attribute is usable with the following element: <table:label-range> 9.4.9.

The table:data-cell-range-address attribute has the data type cellRangeAddress 18.3.5.

19.613 table:database-name

A table:database-name attribute specifies the name of an SQL database for the importation of data.

The table:database-name attribute is usable with the following elements: <table:database-source-query> 9.4.18, <table:database-source-sql> 9.4.16 and <table:database-source-table> 9.4.17.

The table:database-name attribute has the data type string 18.2.

19.614 table:database-table-name

A table:database-table-name attribute specifies a database table for the importation of data.

The table:database-table-name attribute is usable with the following element: <table:database-source-table> 9.4.17.

The table:database-table-name attribute has the data type string 18.2.

19.615 table:data-type

19.615.1 General

The table:data-type attribute specifies a data type for tables.

19.615.2 <table:filter-condition>

The table:data-type attribute specifies whether a comparison shall take place as text or as numeric values.

The defined values for the table:data-type attribute are:

For a <table:filter-condition> 9.5.5 element the default value for this attribute is text.

The table:data-type attribute is usable with the following element: <table:filter-condition> 9.5.5.

The values of the table:data-type attribute are text or number.

19.615.3 <table:sort-by>

The table:data-type attribute specifies the data type of a field to be sorted.

The defined values for the table:data-type attribute are:

For a <table:sort-by> 9.4.20 element the default value for this attribute is automatic.

The table:data-type attribute is usable with the following element: <table:sort-by> 9.4.20.

The values of the table:data-type attribute are text, number, automatic or a value of type string 18.2.

19.615.4 <table:sort-groups>

The table:data-type attribute specifies the data type of a field to be sorted.

If the attribute value is automatic, the consumer shall determine what type of data is in the field. User-defined sort orders are implementation specific.

The defined values for the table:data-type attribute are:

For a <table:sort-groups> 9.4.22 element the default value for this attribute is automatic.

The table:data-type attribute is usable with the following element: <table:sort-groups> 9.4.22.

The values of the table:data-type attribute are text, number, automatic or a value of type string 18.2.

19.616 table:date-end

The table:date-end attribute specifies the end value for a grouping of date values.

All values that are higher than the end value are contained in a single group, while values that are equal to or lower than the end value are grouped as specified by the table:grouped-by 19.650 and table:step 19.650 attributes.

The defined values for the table:date-end attribute are:

  • auto: the highest value of the field is taken as the end value. 

  • a value of type dateOrDateTime 18.3.14. 

The table:date-end attribute is usable with the following element: <table:data-pilot-groups> 9.6.17.

The values of the table:date-end attribute are a value of type dateOrDateTime 18.3.14 or auto.

19.617 table:date-start

The table:date-start attribute specifies the start value for a grouping of date values.

The defined values for the table:date-start attribute are:

The table:date-start attribute is usable with the following element: <table:data-pilot-groups> 9.6.17.

The values of the table:date-start attribute are a value of type dateOrDateTime 18.3.14 or auto.

19.618 table:date-value

The table:date-value attribute specifies the null date. The null date is the date that results in the value “0” if a date value is converted into a numeric value.

The default value for this attribute is 1899-12-30.

The table:date-value attribute is usable with the following element: <table:null-date> 9.4.2.

The table:date-value attribute has the data type date 18.2.

19.619 table:default-cell-style-name

The table:default-cell-style-name attribute specifies a default cell style. Cells defined by a <table:table-cell> 18.3.14 element that do not have a table:style-name 19.730 attribute value use the specified default cell style.

If an individual cell has a default style specified by a table:default-cell-style-name attribute on a <table:table-column> element and by a style:default-cell-style-name on a <table:table-row> element, the default style specified by the <table:table-row> element shall be applied to the cell and the default style specified by the <table:table-column> element shall be ignored.

The table:default-cell-style-name attribute is usable with the following elements: <table:table-column> 9.1.6 and <table:table-row> 9.1.3.

The table:default-cell-style-name attribute has the data type styleNameRef 18.3.32.

19.620 table:direction

The table:direction attribute specifies the direction of a relation between a cell and a highlighted range.

The defined values for the table:direction attribute are:

The table:direction attribute is usable with the following element: <table:highlighted-range> 9.3.4.

The values of the table:direction attribute are from-another-table, to-another-table or from-same-table.

19.621 table:display

The table:display attribute specifies whether a component of a table is displayed.

The defined values for the table:display attribute are:

Components of a table for the table:display attribute are: <table:data-pilot-member> 9.6.12, <table:error-message> 9.4.7, <table:help-message> 9.4.6, <table:table-column-group> 9.1.10 and <table:table-row-group> 9.1.9.

For <table:table-column-group> 9.1.10 and <table:table-row-group> 9.1.9 elements the default value for this attribute is true.

For <table:error-message> 9.4.7 and <table:help-message> 9.4.6 elements the default value for this attribute is false.

For <table:data-pilot-member> 9.6.12 the default value for this attribute is true.

The table:display attribute is usable with the following elements: <table:data-pilot-member> 9.6.12, <table:error-message> 9.4.7, <table:help-message> 9.4.6, <table:table-column-group> 9.1.10 and <table:table-row-group> 9.1.9.

The table:display attribute has the data type boolean 18.3.3.

19.622 table:display-border

The table:display-border attribute specifies whether to display a border around a scenario that belongs to a scenario table.

The defined values for the table:display-border attribute are:

The default value for this attribute is true.

The table:display-border attribute is usable with the following element: <table:scenario> 9.2.7.

The table:display-border attribute has the data type boolean 18.3.3.

19.623 table:display-duplicates

The table:display-duplicates attribute specifies whether to display duplicate matches in a result.

The defined values for the table:display-duplicates attribute are:

The default value for this attribute is true.

The table:display-duplicates attribute is usable with the following element: <table:filter> 9.5.2.

The table:display-duplicates attribute has the data type boolean 18.3.3.

19.624 table:display-filter-buttons

The table:display-filter-buttons attribute specifies whether to display filter buttons. Filter buttons are list box controls displayed in the label cells whose list entries are the values that exist in the labeled row or column. Selecting one of these entries is the equivalent of applying a filter to the database range that selects all row or columns where the cells in the labeled row or column have the selected value.

The defined values for the table:display-filter-buttons attribute are:

The default value for this attribute is false.

The table:display-filter-buttons attribute is usable with the following element: <table:database-range> 9.4.15.

The table:display-filter-buttons attribute has the data type boolean 18.3.3.

19.625 table:display-list

The table:display-list attribute specifies whether a list of values that occurs within a condition is displayed when a user is entering a cell value.

The defined values for the table:display-list attribute are:

The default value for this attribute is unsorted.

The table:display-list attribute is usable with the following element: <table:content-validation> 9.4.5.

The values of the table:display-list attribute are none, unsorted or sort-ascending.

19.626 table:display-member-mode

The table:display-member-mode attribute specifies whether the value count specified by table:member-count 19.730 attribute should be taken from the top or from the bottom of a data field's column.

The defined values for the table:display-member-mode attribute are:

  • from-bottom: the value count is taken from the bottom of a data field’s column. 

  • From-top: the value count is taken from the top of a data field’s column. 

The table:display-member-mode attribute is usable with the following element: <table:data-pilot-display-info> 9.6.13.

The values of the table:display-member-mode attribute are from-top or from-bottom.

19.627 table:drill-down-on-double-click

The table:drill-down-on-double-click attribute specifies how the data pilot table reacts to a double-click 19.406 in the data pilot table. A double click other than as specified in a data pilot table has no effect.

The defined values for the table:drill-down-on-double-click attribute are:

  • false: a double click on a member label or the empty area next to it starts the edit mode of the table cell, like for cells outside of the data pilot table.  

    Note: This can be used to rename group fields or members.  

  • true: a double click on a member label or the empty area next to it shows or hides details for that member. 

The default value for this attribute is true.

The table:drill-down-on-double-click attribute is usable with the following element: <table:data-pilot-table> 9.6.3.

The table:drill-down-on-double-click attribute has the data type boolean 18.3.3.

19.628 table:embedded-number-behavior

The table:embedded-number-behavior attribute specifies how string values that contain digits are sorted. If the value is alpha-numeric, string comparison as specified by the other attributes of <table:sort> element is used for sorting.

The defined values for the table:embedded-number-behavior attribute are:

Note: If the attribute value is integer or double, string-prefixed numbers will be sorted in a "natural", number-aware way, i.e. A1, A2, A3, ... , A19, A20, instead of the normal, alpha-numeric behavior, i.e. A1, A10, A11, A12, ... ,A19, A2, A20, A3, A4, ... , A8, A9.

The following illustrates how two strings shall be compared if the attribute value is integer or double.

In the following, the term "alpha-numeric comparison" means the string comparison that would be used if the table:embedded-number-behavior attribute had the value alpha-numeric.

Step 1: The two strings are compared by using the alpha-numeric comparison to test whether they are equal.  If they are equal, the comparison will stop immediately returning an equality as result.

Step 2: The prefix substrings of the two strings are determined by locating the first occurrence of a digit character in the two strings; the substrings from the very first characters through the characters preceding the first digits are the prefix substrings. If a string starts with a digit, the prefix substring of this string is empty. If there is no digit in either one of the compared strings, the natural sort process will end and the alpha-numeric comparison will be performed instead.

Step 3: After the prefix substrings have been determined for both strings, an alpha-numeric comparison is performed on the two prefix substrings. If they differ, the result is returned and the process will end.

Step 4. The numeric substrings are determined by locating the first occurrences of a non-digit character after the first digit characters; the substrings from the first digit characters through the characters preceding the first non-digit character are the numeric substrings. These substrings are converted into double-precision values. The converted values are compared by numeric comparison. If these values differ, then the result will be returned and the process will end.

Step 5. The suffix substrings, which are the strings that start after the last digits of the numeric substring, will be determined. This suffix substrings replace the original strings, and the whole process will start again with step 1.

Decimal separators are treated as follows: If the attribute value is integer, then a decimal separator is not considered as a digit. If the attribute value is double, the treatment of a decimal separator is context-dependent: If a decimal separator occurs adjacent to one or two digit characters, it is considered a digit character as long as it is the only occurrence in that given numeric substring. In other words, a second occurrence of a decimal separator in sequence of digits and decimal separators is treated as a non-digit character. Therefore the character immediately preceding the separator becomes the last character of the numeric substring, while the separator itself becomes the first character of the suffix substring.

This sorting process is illustrated by the following figure:

The default value for this attribute is alpha-numeric.

The table:embedded-number-behavior attribute is usable with the following element: <table:sort> 9.4.19.

The values of the table:embedded-number-behavior attribute are alpha-numeric, integer or double.

19.629 table:enabled

The table:enabled attribute specifies whether the <table:data-pilot-display-info> element is evaluated or not.

The defined values for the table:enabled attribute are:

The table:enabled attribute is usable with the following element: <table:data-pilot-display-info> 9.6.13.

The table:enabled attribute has the data type boolean 18.3.3.

19.630 table:end

The table:end attribute specifies the end value for a grouping of numeric values. All values that are higher than the end value are contained in a single group, while values that are equal to or lower than the end value are grouped as specified by table:grouped-by 19.671 and table:step 19.650 attributes.

The defined values for the table:end attribute are:

  • auto: the highest value of the field is taken as the end value. 

  • a value of type double 

The table:end attribute is usable with the following element: <table:data-pilot-groups> 9.6.17.

The values of the table:end attribute are a value of type double 18.2 or auto.

19.631 table:end-cell-address

The table:end-cell-address attribute specifies the end position of the shape if it is included in a spreadsheet document.

The table:end-cell-address attribute is usable with the following elements: <dr3d:scene> 10.5.2, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:annotation> 14.1.

The table:end-cell-address attribute has the data type cellAddress 18.3.4.

19.632 table:end-column

The table:end-column attribute specifies the end column of a range if the range address is a cell range address. The value of a table:end-column attribute is inclusive.

The table:end-column attribute is usable with the following elements: <table:source-range-address> 9.9.14 and <table:target-range-address> 9.9.15.

The table:end-column attribute has the data type integer 18.2.

19.633 table:end-position

The table:end-position attribute specifies the number of the last deleted row or column. The value of a table:end-position attribute is exclusive.

The table:end-position attribute is usable with the following element: <table:movement-cut-off> 9.9.12.

The table:end-position attribute has the data type integer 18.2.

19.634 table:end-row

The table:end-row attribute specifies the end row of a range if the range address is a cell range address. The value of a table:end-row attribute is inclusive.

The table:end-row attribute is usable with the following elements: <table:source-range-address> 9.9.14 and <table:target-range-address> 9.9.15.

The table:end-row attribute has the data type integer 18.2.

19.635 table:end-table

The table:end-table attribute specifies the end table of a range if the range address is a cell range address. The value of a table:end-table attribute is inclusive.

The table:end-table attribute is usable with the following elements: <table:source-range-address> 9.9.14 and <table:target-range-address> 9.9.15.

The table:end-table attribute has the data type integer 18.2.

19.636 table:end-x

The table:end-x attribute specifies the x-coordinate of the end position of a shape relative to the top-left edge of a cell. The size attributes of the shape are ignored.

The table:end-x attribute is usable with the following elements: <dr3d:scene> 10.5.2, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:annotation> 14.1.

The table:end-x attribute has the data type coordinate 18.3.10.

19.637 table:end-y

The table:end-y attribute specifies the y-coordinate of the end position of a shape relative to the top-left edge of a cell. The size attributes of the shape are ignored.

The table:end-y attribute is usable with the following elements: <dr3d:scene> 10.5.2, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:annotation> 14.1.

The table:end-y attribute has the data type coordinate 18.3.10.

19.638 table:execute

The table:execute attribute specifies whether a macro should be executed or not.

The defined values for the table:execute attribute are:

The default value for this attribute is true.

The table:execute attribute is usable with the following element: <table:error-macro> 9.4.8.

The table:execute attribute has the data type boolean 18.3.3.

19.639 table:expression

The table:expression attribute specifies an expression. If the expression contains a named range or another named expression, the named range or named expression shall be specified first, before the containing expression. If the expression contains a relative cell range address, a table:base-cell-address attribute shall also appear on the <table:named-expression> element.

Relative cell range addresses that occur in an expression define an offset which shall be interpreted relative to the cell where a named expression is used. The offset is the same as the offsets between the table cell addressed by the relative cell range address and the table cell specified by the table:base-cell-address attribute.

The value of this attribute may comprise a namespace prefix, followed by a ":" (U+003A, COLON), followed by an expression. If the namespace prefix is missing the namespace defaults to the "urn:oasis:names:tc:opendocument:xmlns:of:1.2" namespace. If a namespace prefix is present, the expression shall start with an '=' equal sign. If no namespace prefix is present, the '=' equal sign may be omitted. The XML namespace name bound to the namespace prefix specifies the syntax and semantics of the formulas and values occurring within the condition.

An OpenDocument Consumer when hosting a formula evaluator makes available the host-dependent properties defined by Table 16 Host-dependent Properties in 19.646.

The table:expression attribute is usable with the following element: <table:named-expression> 9.4.13.

The table:expression attribute has the data type string 18.2.

19.640 table:field-name

The table:field-name attribute specifies a category column whose members' values are used in operations defined by a table:type attribute that determines the display of values of the data field of which the <table:data-pilot-field-reference> element is a part.

The table:field-name attribute is usable with the following element: <table:data-pilot-field-reference> 9.6.16.

The table:field-name attribute has the data type string 18.2.

19.641 table:field-number

The table:field-number attribute specifies a row or column number to sort, subtotal or filter. It is the number of a row or column within a database range.

The table:field-number attribute is usable with the following elements: <table:filter-condition> 9.5.5, <table:sort-by> 9.4.20 and <table:subtotal-field> 9.4.24.

The table:field-number attribute has the data type nonNegativeInteger 18.2.

19.642 table:filter-name

The table:filter-name attribute specifies the file type of the document containing the original table. The value of this attribute is implementation-dependent.

The table:filter-name attribute is usable with the following elements: <table:cell-range-source> 9.3.1 and <table:table-source> 9.2.6.

The table:filter-name attribute has the data type string 18.2.

19.643 table:filter-options

The table:filter-options attribute specifies implementation-dependent settings for a file type.

The table:filter-options attribute is usable with the following elements: <table:cell-range-source> 9.3.1 and <table:table-source> 9.2.6.

The table:filter-options attribute has the data type string 18.2.

19.644 table:first-row-end-column (deprecated)

The table:first-row-end-column attribute specifies the whether the cell in the first row, end column gets its style from its row or column.

The use of this attribute is deprecated. The table:use-first-row-styles 19.744 or table:use-last-column-styles 19.745 attributes should be used instead.

The defined values for the table:first-row-end-column attribute are:

  • column: cell in first row, end column should inherit its style from the column where it appears. 

  • row: cell in first row, end column should inherit its style from the row where it appears. 

The table:first-row-end-column attribute is usable with the following element: <table:table-template> 16.20.

The values of the table:first-row-end-column attribute are row or column.

19.645 table:first-row-start-column (deprecated)

The table:first-row-start-column attribute specifies the whether the cell in the first row, start column gets its style from its row or column.

The use of this attribute is deprecated. The table:use-first-row-styles 19.744 or table:use-first-column-styles 19.743 attributes should be used instead.

The defined values for the table:first-row-start-column attribute are:

  • column: cell in first row, start column should inherit its style from the column where it appears. 

  • row: cell in first row, start column should inherit its style from the row where it appears. 

The table:first-row-start-column attribute is usable with the following element: <table:table-template> 16.20.

The values of the table:first-row-start-column attribute are row or column.

19.646 table:formula

The table:formula attribute specifies a formula for a table cell.

Formulas specify calculations to be performed within table cells. The attribute value should begin with a namespace prefix followed by ":" (U+003A, COLON), followed by the text of the formula. The namespace bound to the prefix determines the syntax and semantics of the formula.

Whenever the initial text of a formula has the appearance of an NCName followed by ":" (U+003A, COLON), an OpenDocument producer shall provide a valid namespace prefix and separating ":" (U+003A, COLON) separator before the text of the formula in order to eliminate any ambiguity.

If a namespace prefix is not specified, the namespace defaults to the "urn:oasis:names:tc:opendocument:xmlns:of:1.2" namespace.

An OpenDocument Consumer when hosting a formula evaluator has the host-dependent properties specified in Table 16.

Table 16 Host-dependent Properties

Property

Attribute

Default Value

HOST-CASE-SENSITIVE

table:case-sensitive

true

HOST-PRECISION-AS-SHOWN

table:precision-as-shown

false

HOST-SEARCH-CRITERIA-MUST-APPLY-TO-WHOLE-CELL

table:search-criteria-must-apply-to-whole-cell

true

HOST-AUTOMATIC-FIND-LABELS

table:automatic-find-labels

true

HOST-USE-REGULAR-EXPRESSIONS

table:use-regular-expressions

true

HOST-USE-WILDCARDS

table:use-wildcards

false

HOST-NULL-YEAR

table:null-year

1930

HOST-NULL-DATE

table:null-date

1899-12-30

HOST-LOCALE

N/A

Implementation-defined

HOST-ITERATION-STATUS

table:status

disable

HOST-ITERATION-MAXIMUM-DIFFERENCE

table:maximum-difference

0

HOST-ITERATION-STEPS

table:steps

100

Note: Host-dependent properties are applicable to style:condition (19.472), table:condition (19.600) and, table:expression (19.639) attributes.

The table:formula attribute is usable with the following elements: <table:change-track-table-cell> 9.9.16, <table:covered-table-cell> 9.1.5 and <table:table-cell> 9.1.4.

The table:formula attribute has the data type string 18.2.

19.647 table:function

19.647.1 General

The table:function attribute specifies functions that are applied to tables.

The table:function attribute on all elements has the following defined values:

19.647.2 <table:consolidation>

The table:function attribute specifies a function.

The table:function attribute is usable with the following element: <table:consolidation> 9.7.

The values of the table:function attribute are average, count, countnums, max, min, product, stdev, stdevp, sum, var, varp or a value of type string 18.2.

19.647.3 <table:data-pilot-field>

The table:function attribute specifies specifies the function which is applied to the cell values of data columns.

For <table:data-pilot-field> elements whose table:orientation 19.743 attribute has the value data, the defined values for the table:function attribute are those defined in 19.647.1.

For <table:data-pilot-field> elements whose table:orientation attribute has the value column or row, the only defined value for the table:function attribute is:

  • auto: no function is applied to that category field.  

The table:function attribute is usable with the following element: <table:data-pilot-field> 9.6.7.

The values of the table:function attribute are auto, average, count, countnums, max, min, product, stdev, stdevp, sum, var, varp or a value of type string 18.2.

19.647.4 <table:data-pilot-subtotal>

The table:function attribute specifies the type of subtotals to calculate.

In addition to the values defined in 19.647.1 the following value is defined:

  • auto: specifies that subtotals shall use the same function(s) that are used to calculate the <table:data-pilot-field> 9.6.7 elements with table:orientation="data" 19.690.  

The table:function attribute is usable with the following element: <table:data-pilot-subtotal> 9.6.10.

The values of the table:function attribute are auto, average, count, countnums, max, min, product, stdev, stdevp, sum, var, varp or a value of type string 18.2.

19.647.5 <table:subtotal-field>

The table:function attribute specifies the type of subtotals to calculate.

The table:function attribute is usable with the following element: <table:subtotal-field> 9.4.24.

The values of the table:function attribute are average, count, countnums, max, min, product, stdev, stdevp, sum, var, varp or a value of type string 18.2.

19.648 table:grand-total

The table:grand-total attribute specifies whether a grand total column, row, or both should be displayed in addition to values calculated for each combination of values in the category columns.

The defined values for the table:grand-total attribute are:

The default value for this attribute is both.

The table:grand-total attribute is usable with the following element: <table:data-pilot-table> 9.6.3.

The values of the table:grand-total attribute are none, row, column or both.

19.649 table:group-by-field-number

The table:group-by-field-number attribute specifies a field, that is to be grouped. It is the number of a row or column within a database range.

The table:group-by-field-number attribute is usable with the following element: <table:subtotal-rule> 9.4.23.

The table:group-by-field-number attribute has the data type nonNegativeInteger 18.2.

19.650 table:grouped-by

The table:grouped-by attribute specifies the grouping of the date values. Date values can be grouped by seconds, minutes, hours, days, months, quarters or years.

Note: If date values are for instance grouped by minutes, all dates or times that are within the same minute are within one group.

The defined values for the table:grouped-by attribute are:

The table:grouped-by attribute is usable with the following element: <table:data-pilot-groups> 9.6.17.

The values of the table:grouped-by attribute are seconds, minutes, hours, days, months, quarters or years.

19.651 table:has-persistent-data

The table:has-persistent-data attribute specifies whether the current data in a database range is saved when the document itself is saved.

The defined values for the table:has-persistent-data attribute are:

The default value for this attribute is true.

The table:has-persistent-data attribute is usable with the following element: <table:database-range> 9.4.15.

The table:has-persistent-data attribute has the data type boolean 18.3.3.

19.652 table:id

The table:id attribute specifies the id of an insertion or other tracked change.

The table:id attribute is usable with the following elements: <table:cell-content-change> 9.9.17, <table:cell-content-deletion> 9.9.7, <table:change-deletion> 9.9.8, <table:deletion> 9.9.9, <table:dependency> 9.9.5, <table:insertion> 9.9.3, <table:insertion-cut-off> 9.9.11, <table:movement> 9.9.13 and <table:previous> 9.9.19.

The table:id attribute has the data type string 18.2.

19.653 table:identify-categories

The table:identify-categories attribute specifies whether rows that do not contain a value in one of the category columns should use the value of the nearest ancestor row that has a value, or should be moved into a group (or category) of its own.

The defined values for the table:identify-categories attribute are:

The default value for this attribute is false.

The table:identify-categories attribute is usable with the following element: <table:data-pilot-table> 9.6.3.

The table:identify-categories attribute has the data type boolean 18.3.3.

19.654 table:ignore-empty-rows

The table:ignore-empty-rows attribute specifies whether empty rows in a source range should be ignored.

The defined values for the table:ignore-empty-rows attribute are:

The default value for this attribute is false.

The table:ignore-empty-rows attribute is usable with the following element: <table:data-pilot-table> 9.6.3.

The table:ignore-empty-rows attribute has the data type boolean 18.3.3.

19.655 table:index

The table:index attribute specifies for the <table:operation> element on which it appears its order in a series of <table:operation> elements under a <table:detective> element.

The table:index attribute is usable with the following element: <table:operation> 9.3.3.

The table:index attribute has the data type nonNegativeInteger 18.2.

19.656 table:is-active

The table:is-active attribute specifies whether a scenario that belongs to a scenario table is active.

The defined values for the table:is-active attribute are:

The table:is-active attribute is usable with the following element: <table:scenario> 9.2.7.

The table:is-active attribute has the data type boolean 18.3.3.

19.657 table:is-data-layout-field

The table:is-data-layout-field attribute specifies whether a field is a data layout field.

The defined values for the table:is-data-layout-field attribute are:

The default value for this attribute is false.

The table:is-data-layout-field attribute is usable with the following element: <table:data-pilot-field> 9.6.7.

The table:is-data-layout-field attribute has the data type string 18.2.

19.658 table:is-selection

The table:is-selection attribute specifies whether the database range includes a complete database, or a selection of records from a database only.

The defined values for the table:is-selection attribute are:

The default value for this attribute is false.

The table:is-selection attribute is usable with the following element: <table:database-range> 9.4.15.

The table:is-selection attribute has the data type boolean 18.3.3.

19.659 table:is-sub-table

The table:is-sub-table attribute specifies if a nested table is a subtable.

If a table cell only contains a single table but no paragraphs or other content, the table can be specified to be a subtable, In which case it occupies the whole cell and no other content can appear in the cell.

The borders of a subtable merge with the borders of the cell where it is specified. A subtable does not have its own style.

A nested table that is not specified to be a subtable appears as a table within a table, that is, it has borders distinct from those of the parent cell and respects the padding of the parent cell.

The defined values for the table:is-sub-table attribute are:

The default value for this attribute is false.

The table:is-sub-table attribute is usable with the following element: <table:table> 9.1.2.

The table:is-sub-table attribute has the data type boolean 18.3.3.

19.660 table:label-cell-range-address

The table:label-cell-range-address attribute specifies a cell range address for labels.

The table:label-cell-range-address attribute is usable with the following element: <table:label-range> 9.4.9.

The table:label-cell-range-address attribute has the data type cellRangeAddress 18.3.5.

19.661 table:language

The table:language attribute specifies the natural language in which a comparison will occur.

The table:language attribute is usable with the following element: <table:sort> 9.4.19.

The table:language attribute has the data type languageCode 18.3.17.

19.662 table:last-column-spanned

The table:last-column-spanned attribute together with the table:last-row-spanned 19.664 attribute specifies the last known size of a range. If the size of the range has changed since the determination of its size, the value of these attributes will be incorrect.

The table:last-column-spanned attribute is usable with the following element: <table:cell-range-source> 9.3.1.

The table:last-column-spanned attribute has the data type positiveInteger 18.2.

19.663 table:last-row-end-column (deprecated)

The table:last-row-end-column attribute specifies the whether the cell in the last row, end column gets its style from its row or column.

The use of this attribute is deprecated. The table:use-last-row-styles 19.746 or table:use-last-column-styles 19.745 attributes should be used instead.

The defined values for the table:last-row-end-column attribute are:

  • column: cell in last row, end column should inherit its style from the column where it appears. 

  • row: cell in last row, end column should inherit its style from the column where it appears. 

The table:last-row-end-column attribute is usable with the following element: <table:table-template> 16.20.

The values of the table:last-row-end-column attribute are row or column.

19.664 table:last-row-spanned

The table:last-row-spanned attribute together with the table:last-column-spanned 19.662 attribute specifies the last known size of a range. If the size of the range has changed since the determination of its size, the value of these attributes will be incorrect.

The table:last-row-spanned attribute is usable with the following element: <table:cell-range-source> 9.3.1.

The table:last-row-spanned attribute has the data type positiveInteger 18.2.

19.665 table:last-row-start-column (deprecated)

The table:last-row-start-column attribute specifies the whether the cell in the last row, start column gets its style from its row or column.

The use of this attribute is deprecated. The table:use-last-row-styles 19.746 or table:use-first-column-styles 19.743attributes should be used instead.

The defined values for the table:last-row-start-column attribute are:

  • column: cell in last row, start column should inherit its style from the column where it appears. 

  • row: cell in last row, start column should inherit its style from the column where it appears. 

The table:last-row-start-column attribute is usable with the following element: <table:table-template> 16.20.

The values of the table:last-row-start-column attribute are row or column.

19.666 table:layout-mode

The table:layout-mode attribute specifies how to layout a field.

The defined values for the table:layout-mode attribute are:

The table:layout-mode attribute is usable with the following element: <table:data-pilot-layout-info> 9.6.15.

The values of the table:layout-mode attribute are tabular-layout, outline-subtotals-top or outline-subtotals-bottom.

19.667 table:link-to-source-data

The table:link-to-source-data attribute specifies whether the data in a consolidation table range should be linked to the source data, so that it is automatically updated if any changes are made to the source data.

The defined values for the table:link-to-source-data attribute are:

The default value for this attribute is false.

The table:link-to-source-data attribute is usable with the following element: <table:consolidation> 9.7.

The table:link-to-source-data attribute has the data type boolean 18.3.3.

19.668 table:marked-invalid

The table:marked-invalid attribute specifies whether the current cell is marked invalid. This attribute cannot be used together with any other attributes.

The defined values for the table:marked-invalid attribute are:

The table:marked-invalid attribute is usable with the following element: <table:highlighted-range> 9.3.4.

The table:marked-invalid attribute has the data type boolean 18.3.3.

19.669 table:matrix-covered

The table:matrix-covered attribute specifies if a cell is contained in a matrix.

The defined values for the table:matrix-covered attribute are:

The default value for this attribute is false.

The table:matrix-covered attribute is usable with the following element: <table:change-track-table-cell> 9.9.16.

The table:matrix-covered attribute has the data type boolean 18.3.3.

19.670 table:maximum-difference

The table:maximum-difference attribute specifies the maximum difference between two iterative calculation results. The iteration is stopped if the result is less than the value of this attribute.

The default value for this attribute is 0.001.

The table:maximum-difference attribute is usable with the following element: <table:iteration> 9.4.3.

The table:maximum-difference attribute has the data type double 18.2.

19.671 table:member-count

The table:member-count attribute specifies the number of values, from the top or from the bottom of a data field's column, that are shown.

The table:member-count attribute is usable with the following element: <table:data-pilot-display-info> 9.6.13.

The table:member-count attribute has the data type nonNegativeInteger 18.2.

19.672 table:member-name

The table:member-name attribute specifies the value of a data pilot member.

The table:member-name attribute is usable with the following element: <table:data-pilot-field-reference> 9.6.16.

The table:member-name attribute has the data type string 18.2.

19.673 table:member-type

The table:member-type attribute specifies the member of the referenced category column, whose value within the current data field is taken into account.

The defined values for the table:member-type attribute are:

  • named: the table:member-name 19.672 attribute on the same <table:data-pilot-field-reference> element specifies the member whose value within the data field is taken into account. 

  • next: the value of the data field for the next visible member of the referenced category column is taken into account. Empty members are skipped. 

  • previous: the value of the data field for the next visible member of the referenced category column is taken into account. Empty members are skipped. 

The table:member-type attribute is usable with the following element: <table:data-pilot-field-reference> 9.6.16.

19.674 table:message-type

The table:message-type attribute specifies the display of messages.

The defined values for the table:message-type attribute are:

The default value for this attribute is stop.

The table:message-type attribute is usable with the following element: <table:error-message> 9.4.7.

The values of the table:message-type attribute are stop, warning or information.

19.675 table:mode

The table:mode attribute specifies what data should be copied from a source table to a destination table.

The defined values for the table:mode attribute are:

The default value for this attribute is copy-all.

The table:mode attribute is usable with the following element: <table:table-source> 9.2.6.

The values of the table:mode attribute are copy-all or copy-results-only.

19.676 table:multi-deletion-spanned

The table:multi-deletion-spanned attribute specifies the total number of deleted rows or columns when multiple columns or rows were deleted simultaneously. Each deleted row or column is represented by a <table:deletion> element. The first <table:deletion> element in a set representing a simultaneous deletion shall carry a table:multi-deletion-spanned attribute that specifies the total number of deleted rows or columns.

The table:multi-deletion-spanned attribute is usable with the following element: <table:deletion> 9.9.9.

The table:multi-deletion-spanned attribute has the data type integer 18.2.

19.677 table:name

19.677.1 General

The table:name attribute specifies a name.

19.677.2 <table:cell-range-source>

The table:name attribute specifies the name of a source database range or named range.

The table:name attribute is usable with the following element: <table:cell-range-source> 9.3.1.

The table:name attribute has the data type string 18.2.

19.677.3 <table:content-validation>

The table:name attribute specifies the name of a content validation rule. It is used to reference the validation rule from the cell the rule should applied.

The table:name attribute is usable with the following element: <table:content-validation> 9.4.5.

The table:name attribute has the data type string 18.2.

19.677.4 <table:data-pilot-group>

The table:name attribute specifies the name of a group.

The table:name attribute is usable with the following element: <table:data-pilot-group> 9.6.18.

The table:name attribute has the data type string 18.2.

19.677.5 <table:data-pilot-group-member>

The table:name attribute specifies the name of a member.

The table:name attribute is usable with the following element: <table:data-pilot-group-member> 9.6.19.

The table:name attribute has the data type string 18.2.

19.677.6 <table:data-pilot-member>

The table:name attribute specifies the value for which display information is specified.

The table:name attribute is usable with the following element: <table:data-pilot-member> 9.6.12.

The table:name attribute has the data type string 18.2.

19.677.7 <table:data-pilot-table>

The table:name attribute specifies the name of a data pilot table.

The table:name attribute is usable with the following element: <table:data-pilot-table> 9.6.3.

The table:name attribute has the data type string 18.2.

19.677.8 <table:database-range>

The table:name attribute specifies the name of a database range on which to perform operations. Within a single document, only one database range may have no name. This database range is created by the consumer and is used to filter or sort data in a cell range without the user creating a database range.

The table:name attribute is usable with the following element: <table:database-range> 9.4.15.

The table:name attribute has the data type string 18.2.

19.677.9 <table:named-expression>

The table:name attribute specifies the name of an expression.

The table:name attribute is usable with the following element: <table:named-expression> 9.4.13.

The table:name attribute has the data type string 18.2.

19.677.10 <table:named-range>

The table:name attribute specifies the name of a database range on which to perform operations. Within a single document, only one database range may have no name.

The table:name attribute is usable with the following element: <table:named-range> 9.4.12.

The table:name attribute has the data type string 18.2.

19.677.11 <table:operation>

The table:name attribute specifies the name of a detective operation.

The defined values for the table:name attribute are:

The nature of the highlighting imposed on or removed from cells as the result of detective operations is implementation-defined.

The table:name attribute is usable with the following element: <table:operation> 9.3.3.

The values of the table:name attribute are trace-dependents, remove-dependents, trace-precedents, remove-precedents or trace-errors.

19.677.12 <table:source-cell-range>

The table:name attribute specifies the name of a cell range containing source data. The value of this attribute shall be a string matching the value of a table:name attribute of a table:named-range element.

The table:name attribute is usable with the following element: <table:source-cell-range> 9.6.5.

The table:name attribute has the data type string 18.2.

19.677.13 <table:source-service>

The table:name attribute specifies the name of a service. The value of this attribute is implementation-dependent.

The table:name attribute is usable with the following element: <table:source-service> 9.6.6.

The table:name attribute has the data type string 18.2.

19.677.14 <table:table>

The table:name attribute specifies the name of a table.

The table:name attribute is usable with the following element: <table:table> 9.1.2.

The table:name attribute has the data type string 18.2.

19.677.15 <table:table-template>

The table:name attribute specifies the name of a table template.

The table:name attribute is usable with the following element: <table:table-template> 16.20.

The table:name attribute has the data type string 18.2.

19.678 table:null-year

The table:null-year attribute specifies the start year for year values that contain only two digits. All two-digit year values are interpreted as a year that is the same as or follows the start year.

The default value for this attribute is 1930.

The table:null-year attribute is usable with the following element: <table:calculation-settings> 9.4.1.

The table:null-year attribute has the data type positiveInteger 18.2.

19.679 table:number-columns-repeated

19.679.1 General

The table:number-columns-repeated attribute specifies the repetition of columns.

19.679.2 <table:covered-table-cell>

The table:number-columns-repeated attribute specifies the number of successive columns in which a cell is repeated. It may be used to describe two or more adjoining cells with a single cell element, if they meet the following conditions:

For a <table:covered-table-cell> 9.1.5 element the default value for this attribute is 1.

The table:number-columns-repeated attribute is usable with the following element: <table:covered-table-cell> 9.1.5.

The table:number-columns-repeated attribute has the data type positiveInteger 18.2.

19.679.3 <table:table-cell>

The table:number-columns-repeated attribute specifies the number of successive columns in which a cell is repeated. It may be used to describe two or more adjoining cells with a single cell element, if they meet the following conditions:

For a <table:table-cell> 9.1.4 element the default value for this attribute is 1.

The table:number-columns-repeated attribute is usable with the following element: <table:table-cell> 9.1.4.

The table:number-columns-repeated attribute has the data type positiveInteger 18.2.

19.679.4 <table:table-column>

The table:number-columns-repeated attribute specifies the number of columns to which a column description applies. If two or more columns are adjoining, and have the same style, this attribute may be used to describe them with a single <table:table-column> element.

For a <table:table-column> 9.1.6 element the default value for this attribute is 1.

The table:number-columns-repeated attribute is usable with the following element: <table:table-column> 9.1.6.

The table:number-columns-repeated attribute has the data type positiveInteger 18.2.

19.680 table:number-columns-spanned

The table:number-columns-spanned attribute specifies the number of columns that a cell spans.

When a cell covers another cell because of a column or row span value greater than one, a <table:covered-table-cell> 9.1.5 element shall appear in the table to represent the covered cell.

The default value for this attribute is 1.

The table:number-columns-spanned attribute is usable with the following element: <table:table-cell> 9.1.4.

The table:number-columns-spanned attribute has the data type positiveInteger 18.2.

19.681 table:number-rows-repeated

The table:number-rows-repeated attribute specifies the number of rows to which a row element applies. If two or more rows are adjoining, and have the same content and style, and do not contain vertically merged cells, they may be described by a single <table:table-row> element that has a table:number-rows-repeated attribute with a value greater than 1.

When a cell covers another cell because of a column or row span value greater than one, a <table:covered-table-cell> 9.1.5 element shall appear in the table to represent the covered cell.

The default value for this attribute is 1.

The table:number-rows-repeated attribute is usable with the following element: <table:table-row> 9.1.3.

The table:number-rows-repeated attribute has the data type positiveInteger 18.2.

19.682 table:number-rows-spanned

The table:number-rows-spanned attribute specifies the number of rows that a cell spans.

The default value for this attribute is 1.

The table:number-rows-spanned attribute is usable with the following element: <table:table-cell> 9.1.4.

The table:number-rows-spanned attribute has the data type positiveInteger 18.2.

19.683 table:number-matrix-columns-spanned

The table:number-matrix-columns-spanned attribute specifies the number of columns spanned by a matrix.

The table:number-matrix-columns-spanned attribute is usable with the following elements: <table:change-track-table-cell> 9.9.16 and <table:table-cell> 9.1.4.

The table:number-matrix-columns-spanned attribute has the data type positiveInteger 18.2.

19.684 table:number-matrix-rows-spanned

The table:number-matrix-rows-spanned attribute specifies the number of rows spanned by a matrix.

The table:number-matrix-rows-spanned attribute is usable with the following elements: <table:change-track-table-cell> 9.9.16 and <table:table-cell> 9.1.4.

The table:number-matrix-rows-spanned attribute has the data type positiveInteger 18.2.

19.685 table:object-name

The table:object-name attribute specifies the name of the object in the source which contains the data and is passed to the service implementation. Its value is implementation-dependent and service-specific.

The table:object-name attribute is usable with the following element: <table:source-service> 9.6.6.

The table:object-name attribute has the data type string 18.2.

19.686 table:on-update-keep-size

The table:on-update-keep-size attribute specifies the behavior of a database range if the size of the data in the data source changes.

The defined values for the table:on-update-keep-size attribute are:

The default value for this attribute is true.

The table:on-update-keep-size attribute is usable with the following element: <table:database-range> 9.4.15.

The table:on-update-keep-size attribute has the data type boolean 18.3.3.

19.687 table:on-update-keep-styles

The table:on-update-keep-styles attribute specifies the behavior if the database range is updated. If the attribute value is true, the cell styles that are assigned to the cells in the first non-label row of the database range are used for all rows with in the database range. If the attribute value is false, all cells in the database range are assigned the default cell style of the document assigned.

The defined values for the table:on-update-keep-styles attribute are:

The default value for this attribute is false.

The table:on-update-keep-styles attribute is usable with the following element: <table:database-range> 9.4.15.

The table:on-update-keep-styles attribute has the data type boolean 18.3.3.

19.688 table:operator

The table:operator attribute specifies the operator to use in a filter condition. Each cell contained in columns specified by a field number (table:field-number 19.641 attribute) is compared to a value (table:value 19.641 attribute) using the specified operator. The result of this comparison is the result of the filter sub-conditions specified by a <table:filter-condition> element.

The defined operators that use regular expressions are:

  • match (matches) 

  • !match (does not match) 

The table:value attribute contains the regular expression.

Regular expressions are implementation-dependent expressions that, at a minimum, conform to the requirements of Conformance Clause C1 of [UTR18].

The defined operators that do not use regular expressions are:

  • = (equal to) 

  • != (not equal to) 

  • < (less than) 

  • > (greater than) 

  • <= (less than or equal to) 

  • >= (greater than or equal to) 

  • begins (begins with) 

  • contains (contains) 

  • !contains (does not contain) 

  • ends (ends with) 

  • !begins (does not begin with) 

  • !ends (does not end with) 

  • bottom percent (same as bottom values, except that the office:value 19.752 attribute specifies the number of cells for which the condition is true as a percentage) 

  • bottom values (true for the n cells that have the smallest value, where n is the value of the office:value attribute) 

  • empty (true for empty cells) 

  • !empty (true for non-empty cells) 

  • top percent (same as bottom percent, but for the largest values) 

  • top values (same as bottom values, but for the largest values) 

Depending on the value of the table:data-type 19.388 attribute, all operations take place on string or numeric values.

The table:operator attribute is usable with the following element: <table:filter-condition> 9.5.5.

The table:operator attribute has the data type string 18.2.

19.689 table:order

The table:order attribute specifies whether a sort order should be in ascending or descending order.

The defined values for the table:order attribute are:

Note: Sorting is locale- and implementation-dependent.

For <table:sort-by> 9.4.20 and <table:sort-groups> 9.4.22 elements the default value for this attribute is ascending.

The table:order attribute is usable with the following elements: <table:data-pilot-sort-info> 9.6.14, <table:sort-by> 9.4.20 and <table:sort-groups> 9.4.22.

The values of the table:order attribute are ascending or descending.

19.690 table:orientation

19.690.1 General

The table:orientation attribute specifies the organizing of tables.

19.690.2 <table:data-pilot-field>

The table:orientation attribute specifies the orientation of a source field.

The defined values for the table:orientation attribute are:

The table:orientation attribute is usable with the following element: <table:data-pilot-field> 9.6.7.

The values of the table:orientation attribute are row, column, data, hidden or page.

19.690.3 <table:database-range>

The table:orientation attribute specifies whether data fields are organized in row or columns.

The defined values for the table:orientation attribute are:

For a <table:database-range> 9.4.15 element the default value for this attribute is row.

The table:orientation attribute is usable with the following element: <table:database-range> 9.4.15.

The values of the table:orientation attribute are column or row.

19.690.4 <table:label-range>

The table:orientation attribute specifies whether labels label rows or columns.

The defined values for the table:orientation attribute are:

The table:orientation attribute is usable with the following element: <table:label-range> 9.4.9.

The values of the table:orientation attribute are column or row.

19.691 table:page-breaks-on-group-change

The table:page-breaks-on-group-change attribute specifies whether to insert a page break after the subtotal for each group.

The defined values for the table:page-breaks-on-group-change attribute are:

The default value for this attribute is false.

The table:page-breaks-on-group-change attribute is usable with the following element: <table:subtotal-rules> 9.4.21.

The table:page-breaks-on-group-change attribute has the data type boolean 18.3.3.

19.692 table:paragraph-style-name

The table:paragraph-style-name attribute specifies the paragraph style which should be applied to the empty paragraphs created in cells for tables created from a template.

The table:paragraph-style-name attribute is usable with the following elements: <table:body> 16.21.6, <table:even-columns> 16.21.9, <table:even-rows> 16.21.7, <table:first-column> 16.21.4, <table:first-row> 16.21.2, <table:last-column> 16.21.5, <table:last-row> 16.21.3, <table:odd-columns> 16.21.10 and <table:odd-rows> 16.21.8.

The table:paragraph-style-name attribute has the data type styleNameRef 18.3.32.

19.693 table:parse-sql-statement

A table:parse-sql-statement attribute specifies whether the consumer will parse SQL statements.

The defined values for the table:parse-sql-statement attribute are:

The default value for this attribute is false.

The table:parse-sql-statement attribute is usable with the following element: <table:database-source-sql> 9.4.16.

The table:parse-sql-statement attribute has the data type boolean 18.3.3.

19.694 table:password

The table:password attribute specifies the password needed to access the source. It is passed to the service implementation. Its value is implementation-dependent and service-specific.

The table:password attribute is usable with the following element: <table:source-service> 9.6.6.

The table:password attribute has the data type string 18.2.

19.695 table:position

The table:position attribute specifies the position where an insertion or deletion was made in a table. Depending on the type of insertion or deletion, the value is the number of a row, a column or a table.

If multiple rows or columns get deleted, the table:start-position 19.723 and table:end-position 19.633 attributes contain the number of the first (inclusive) and last (exclusive) deleted rows or columns.

The table:position attribute is usable with the following elements: <table:deletion> 9.9.9, <table:insertion> 9.9.3, <table:insertion-cut-off> 9.9.11 and <table:movement-cut-off> 9.9.12.

The table:position attribute has the data type integer 18.2.

19.696 table:precision-as-shown

The table:precision-as-shown attribute specifies whether to perform a calculation using the rounded values displayed in the spreadsheet or using all of the digits in a value.

The defined values for the table:precision-as-shown attribute are:

The default value for this attribute is false.

The table:precision-as-shown attribute is usable with the following element: <table:calculation-settings> 9.4.1.

The table:precision-as-shown attribute has the data type boolean 18.3.3.

19.697 table:print

The table:print attribute specifies if a table will be printed. The table:print attribute value is overridden by the table:display 19.621 attribute. If the table is not displayed, it will also not be printed.

If a table is printed, the table range printed can be specified by the table:print-ranges attribute. If there is no table:print-ranges 19.698 attribute or it has no value specified, the non-empty portion of a table will be printed.

The defined values for the table:print attribute are:

  • false: table cannot be printed. 

  • true: table can be printed. 

The default value for this attribute is true.

The table:print attribute is usable with the following element: <table:table> 9.1.2.

The table:print attribute has the data type boolean 18.3.3.

19.698 table:print-ranges

The table:print-ranges attribute specifies print ranges of a table. Print ranges define the cells that will be printed. It contains a list of cell addresses or cell range addresses.

The table:print-ranges attribute is usable with the following element: <table:table> 9.1.2.

The table:print-ranges attribute has the data type cellRangeAddressList 18.3.6.

19.699 table:protect (deprecated)

The table:protect attribute specifies whether a table cell is protected. Users cannot edit the content of a cell that is marked as protected.

This attribute is deprecated in favor of the table:protected 19.700 attribute.

The defined values for the table:protect attribute are:

  • false: cell is not protected. 

  • true: cell is protected. 

The default value for this attribute is false.

The table:protect attribute is usable with the following elements: <table:covered-table-cell> 9.1.5 and <table:table-cell> 9.1.4.

The table:protect attribute has the data type boolean 18.3.3.

19.700 table:protected

19.700.1 General

The table:protected attribute specifies protection for tables.

19.700.2 <table:covered-table-cell>

The table:protected attribute specifies whether a table cell is protected. Users cannot edit the content of a cell that is marked as protected.

The defined values for the table:protected attribute are:

For a <table:covered-table-cell> 9.1.5 element the default value for this attribute is false.

The table:protected attribute is usable with the following element: <table:covered-table-cell> 9.1.5.

The table:protected attribute has the data type boolean 18.3.3.

19.700.3 <table:scenario>

The table:protected attribute specifies specifies whether the data that is displayed within the scenario is protected from being edited. The attribute is only evaluated if the table on which the scenario displayed is also protected.

The defined values for the table:protected attribute are:

The table:protected attribute is usable with the following element: <table:scenario> 9.2.7.

The table:protected attribute has the data type boolean 18.3.3.

19.700.4 <table:table>

The table:protected attribute specifies whether a table is protected from editing. If the table is protected, the table:protection-key 19.701 attribute can specify an authorization requirement for resetting the protection to enable editing.  For a protected table, the protection of table cells may be controlled individually by the style:cell-protect 20.253 attribute.  Table cells are protected only if they have a table cell style assigned whose style:cell-protect attribute value is different than none.

The defined values for the table:protected attribute are:

  • false: table is not protected. 

  • true: table is protected. 

For a <table:table> 9.1.2 element the default value for this attribute is false.

 

The table:protected attribute is usable with the following element: <table:table> 9.1.2.

The table:protected attribute has the data type boolean 18.3.3.

19.700.5 <table:table-cell>

The table:protected attribute specifies whether a table cell is protected. Users cannot edit the content of a cell that is marked as protected.

The defined values for the table:protected attribute are:

For a <table:table-cell> 9.1.4 element the default value for this attribute is false.

The table:protected attribute is usable with the following element: <table:table-cell> 9.1.4.

The table:protected attribute has the data type boolean 18.3.3.

19.701 table:protection-key

The table:protection-key attribute, when present, specifies that an authorization is required for removing the protection of a table, table cell or scenario. The authentication procedure is identified by the table:protection-key-digest-algorithm attribute. 19.702 The attribute value is binary data that may be used by the authentication procedure.

The password shall be provided as a sequence of bytes in UTF-8 encoding.

The table:protection-key attribute is usable with the following elements: <office:spreadsheet> 3.7 and <table:table> 9.1.2.

The table:protection-key attribute has the data type string 18.2.

19.702 table:protection-key-digest-algorithm

The table:protection-key-digest-algorithm attribute value is an IRI that identifies an authentication procedure for removing a protection.

If the IRI identifies a message-digest algorithm specified in §5.7 of [xmlenc-core], the value of table:protection-key 20.253 attribute shall be the hash value of the password that is required to authorize removal of the protection. The password shall be provided as a sequence of bytes in UTF-8 encoding.

Any other procedures, their identifying IRIs, and their application of table:protection-key values are implementation-defined.

Consumers shall support http://www.w3.org/2000/09/xmldsig#sha1, which is the default, and http://www.w3.org/2000/09/xmldsig#sha256. They may support other algorithms described in §5.7 of [xmlenc-core] or alternative procedures. Producers should use http://www.w3.org/2000/09/xmldsig#sha256.

The default value for this attribute is http://www.w3.org/2000/09/xmldsig#sha1.

The table:protection-key-digest-algorithm attribute is usable with the following elements: <office:spreadsheet> 3.7 and <table:table> 9.1.2.

The table:protection-key-digest-algorithm attribute has the data type anyIRI 18.3.2.

19.703 table:query-name

A table:query-name attribute specifies a query to perform on a database whose data is being imported.

The table:query-name attribute is usable with the following element: <table:database-source-query> 9.4.18.

The table:query-name attribute has the data type string 18.2.

19.704 table:range-usable-as

The table:range-usable-as attribute specifies whether the name of the range can be used within the specification of a print range, a filter, a repeating row, or a repeat column.

The defined values for the table:range-usable-as attribute are:

The default value for this attribute is none.

The table:range-usable-as attribute is usable with the following element: <table:named-range> 9.4.12.

The values of the table:range-usable-as attribute are none, or white space separated non-empty lists of one of these values: print-range, filter, repeat-row, or repeat-column..

19.705 table:refresh-delay

The table:refresh-delay attribute specifies a time delay between automatic refresh actions.

The table:refresh-delay attribute is usable with the following elements: <table:cell-range-source> 9.3.1, <table:database-range> 9.4.15 and <table:table-source> 9.2.6.

The table:refresh-delay attribute has the data type duration 18.2.

19.706 table:rejecting-change-id

The table:rejecting-change-id attribute specifies the id of a previously-tracked change that has been rejected.

The table:rejecting-change-id attribute is usable with the following elements: <table:cell-content-change> 9.9.17, <table:deletion> 9.9.9, <table:insertion> 9.9.3 and <table:movement> 9.9.13.

The table:rejecting-change-id attribute has the data type string 18.2.

19.707 table:rfc-language-tag

The table:rfc-language-tag attribute specifies a language identifier according to the rules of [RFC5646], or its successors.

It shall only be used if its value cannot be expressed as a valid combination of the table:language, table:script and table:country attributes.

Producers may add support for consumers that don't support the table:rfc-language-tag attribute by specifying table:language 19.701, table:script 19.661 and table:country 19.710 attributes with values that are implementation-dependent.

The table:rfc-language-tag attribute augments the table:language, table:script and table:country attributes. It shall only be used if its value could not be expressed as a valid combination of those. The value shall be a language identifier according to the rules of [RFC5646], or its successors. If a fall-back is provided for consumers that do not support the table:rfc-language-tag attribute, producers should add table:language, table:script and table:country attributes whose values are as close as possible to the value of the table:rfc-language-tag attribute. Producers shall not use values for these attributes that contradict the value of the table:rfc-language-tag attribute.

The table:rfc-language-tag attribute is usable with the following element: <table:sort> 9.4.19.

The table:rfc-language-tag attribute has the data type language 18.3.16.

19.708 table:row

The table:row attribute specifies the row number of a cell.

The table:row attribute is usable with the following elements: <table:cell-address> 9.9.18, <table:source-range-address> 9.9.14 and <table:target-range-address> 9.9.15.

The table:row attribute has the data type integer 18.2.

19.709 table:scenario-ranges

The table:scenario-ranges attribute specifies the table range that is displayed as a scenario. The value of this attribute is a white-space-separated list of cell range addresses.

The table:scenario-ranges attribute is usable with the following element: <table:scenario> 9.2.7.

The table:scenario-ranges attribute has the data type cellRangeAddressList 18.3.6.

19.710 table:script

The table:script attribute specifies the script information for the natural language in which comparisons will occur. The attribute should be used only if necessary according to the rules of §2.2.3 of [RFC5646], or its successors.

The table:script attribute is usable with the following element: <table:sort> 9.4.19.

The table:script attribute has the data type scriptCode 18.3.29.

19.711 table:search-criteria-must-apply-to-whole-cell

The table:search-criteria-must-apply-to-whole-cell attribute specifies whether a search pattern matches the entire content of a cell.

Note: The table:search-criteria-must-apply-to-whole-cell is used with the <table:filter-condition> 19.600 element when the table:data-type 19.615 attribute has the value text and the table:operator 9.5.5 attribute has a value of: match, !match, =, or !=.

The defined values for the table:search-criteria-must-apply-to-whole-cell are:

  • false: search pattern can match a substring at any position within a cell.  

  • true: search pattern matches entire content of a cell.  

The default value for this attribute is true.

The table:search-criteria-must-apply-to-whole-cell attribute is usable with the following element: <table:calculation-settings> 9.4.1.

The table:search-criteria-must-apply-to-whole-cell attribute has the data type boolean 18.3.3.

19.712 table:selected-page

The table:selected-page attribute specifies which value is selected for an automatic filter.

The table:selected-page attribute is usable with the following element: <table:data-pilot-field> 9.6.7.

The table:selected-page attribute has the data type string 18.2.

19.713 table:show-details

The table:show-details attribute specifies whether additional fields are displayed for a member. This attribute changes the behavior of a data pilot only if there are multiple fields with the orientation row or column.

The defined values for the table:show-details attribute are:

The table:show-details attribute is usable with the following element: <table:data-pilot-member> 9.6.12.

The table:show-details attribute has the data type boolean 18.3.3.

19.714 table:show-empty

The table:show-empty attribute specifies whether fields that do not have any members should be displayed. If this attribute is not present, it is implementation-defined whether fields without members are displayed.

The defined values for the table:show-empty attribute are:

The table:show-empty attribute is usable with the following element: <table:data-pilot-level> 9.6.8.

The table:show-empty attribute has the data type boolean 18.3.3.

19.715 table:show-filter-button

The table:show-filter-button attribute specifies whether a filter button is displayed for a data pilot table. A filter button displays a user interface for a filter if pushed.

The defined values for the table:show-filter-button attribute are:

The default value for this attribute is true.

The table:show-filter-button attribute is usable with the following element: <table:data-pilot-table> 9.6.3.

The table:show-filter-button attribute has the data type boolean 18.3.3.

19.716 table:sort-mode

The table:sort-mode attribute specifies how to sort the members of a single data pilot field.

The defined values for the table:sort-mode attribute are:

The table:sort-mode attribute is usable with the following element: <table:data-pilot-sort-info> 9.6.14.

19.717 table:source-cell-range-addresses

The table:source-cell-range-addresses attribute specifies source cell ranges.

The table:source-cell-range-addresses attribute is usable with the following element: <table:consolidation> 9.7.

The table:source-cell-range-addresses attribute has the data type cellRangeAddressList 18.3.6.

19.718 table:source-field-name

The table:source-field-name attribute specifies the name or label of a column that connects to a field.

There can be multiple <table:data-pilot-field> elements with the same value for this attribute.

The table:source-field-name attribute is usable with the following elements: <table:data-pilot-field> 9.6.7 and <table:data-pilot-groups> 9.6.17.

The table:source-field-name attribute has the data type string 18.2.

19.719 table:source-name

The table:source-name attribute specifies a source name that is passed to the service implementation. Its value is implementation-dependent and service-specific.

The table:source-name attribute is usable with the following element: <table:source-service> 9.6.6.

The table:source-name attribute has the data type string 18.2.

19.720 table:sql-statement

An table:sql-statement attribute specifies the SQL statement to use when importing data from an SQL database.

The table:sql-statement attribute is usable with the following element: <table:database-source-sql> 9.4.16.

The table:sql-statement attribute has the data type string 18.2.

19.721 table:start

The table:start attribute specifies the start value for a grouping of numeric values. All values that are lower than the start value are contained in a single group, while values that are equal to or higher than the start value are grouped as specified by the table:grouped-by 19.650 and table:step 19.650 attributes.

The defined values for the table:start attribute are:

  • auto: the lowest value of the field is used as the start value. 

  • a value of type double. 

The table:start attribute is usable with the following element: <table:data-pilot-groups> 9.6.17.

The values of the table:start attribute are a value of type double 18.2 or auto.

19.722 table:start-column

The table:start-column attribute specifies the start-column for a cell range address. The value of a table:start-column attribute is inclusive.

The table:start-column attribute is usable with the following elements: <table:source-range-address> 9.9.14 and <table:target-range-address> 9.9.15.

The table:start-column attribute has the data type integer 18.2.

19.723 table:start-position

The table:start-position attribute specifies the number of the first deleted row or column if multiple rows or columns are deleted. The value of a table:start-position attribute is inclusive.

The table:start-position attribute is usable with the following element: <table:movement-cut-off> 9.9.12.

The table:start-position attribute has the data type integer 18.2.

19.724 table:start-row

The table:start-row attribute specifies the start-row for a cell range address. The value of a table:start-row attribute is inclusive.

The table:start-row attribute is usable with the following elements: <table:source-range-address> 9.9.14 and <table:target-range-address> 9.9.15.

The table:start-row attribute has the data type integer 18.2.

19.725 table:start-table

The table:start-table attribute specifies the start-table for a cell range address. The value of a table:start-table attribute is inclusive.

The table:start-table attribute is usable with the following elements: <table:source-range-address> 9.9.14 and <table:target-range-address> 9.9.15.

The table:start-table attribute has the data type integer 18.2.

19.726 table:status

The table:status attribute specifies whether iterative calculations are enabled.

The defined values for the table:status attribute are:

The default value for this attribute is disable.

The table:status attribute is usable with the following element: <table:iteration> 9.4.3.

The values of the table:status attribute are enable or disable.

19.727 table:step

The table:step attribute specifies the grouping of numeric values, by specifying the distance between the groups.

The table:step attribute is usable with the following element: <table:data-pilot-groups> 9.6.17.

The table:step attribute has the data type double 18.2.

19.728 table:steps

The table:steps attribute specifies the maximum number of iterative calculations.

The default value for this attribute is 100.

The table:steps attribute is usable with the following element: <table:iteration> 9.4.3.

The table:steps attribute has the data type positiveInteger 18.2.

19.729 table:structure-protected

The table:structure-protected attribute specifies whether a table is protected from the insertion, deletion, moving or renaming of tables in the document. If the table structure is protected and the table:protection-key 19.701 attribute is present, an authorization is required for resetting the protection to enable editing.

The defined values for the table:show-details attribute are:

  • false: table is not protected. 

  • true: table is protected. 

The default value for this attribute is false.

The table:structure-protected attribute is usable with the following element: <office:spreadsheet> 3.7.

The table:structure-protected attribute has the data type boolean 18.3.3.

19.730 table:style-name

19.730.1 General

The table:style-name attribute specifies styles that are assigned to elements. The style can be either an automatic or common style.

19.730.2 <table:background>

The table:style-name attribute specifies a <style:style> element for the table. The style specified by the <style:style> has a style:family 19.480 attribute with the value table.

The table:style-name attribute is usable with the following element: <table:background> 16.22.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.730.3 <table:body>

The table:style-name attribute specifies a <style:style> element of type table-cell.

The table:style-name attribute is usable with the following element: <table:body> 16.21.6.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.730.4 <table:covered-table-cell>

The table:style-name attribute specifies a <style:style> element of type table-cell.

If a cell does not have a cell style assigned, then the table:default-cell-style-name attribute of the table row specifies the cell style. If that does not exist, the table:default-cell-style-name attribute of the table column specifies the cell style. If that does not exist, the default style with family table-cell specifies the style for the cell.

The table:style-name attribute is usable with the following element: <table:covered-table-cell> 9.1.5.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.730.5 <table:even-columns>

The table:style-name attribute specifies a <style:style> element of type table-cell.

The table:style-name attribute is usable with the following element: <table:even-columns> 16.21.9.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.730.6 <table:even-rows>

The table:style-name attribute specifies a <style:style> element of type table-cell.

The table:style-name attribute is usable with the following element: <table:even-rows> 16.21.7.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.730.7 <table:first-column>

The table:style-name attribute specifies a <style:style> element of type table-cell.

The table:style-name attribute is usable with the following element: <table:first-column> 16.21.4.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.730.8 <table:first-row>

The table:style-name attribute specifies a <style:style> element of type table-cell.

The table:style-name attribute is usable with the following element: <table:first-row> 16.21.2.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.730.9 <table:last-column>

The table:style-name attribute specifies a <style:style> element of type table-cell.

The table:style-name attribute is usable with the following element: <table:last-column> 16.21.5.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.730.10 <table:last-row>

The table:style-name attribute specifies a <style:style> element of type table-cell.

The table:style-name attribute is usable with the following element: <table:last-row> 16.21.3.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.730.11 <table:odd-columns>

The table:style-name attribute specifies a <style:style> element of type table-cell.

The table:style-name attribute is usable with the following element: <table:odd-columns> 16.21.10.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.730.12 <table:odd-rows>

The table:style-name attribute specifies a <style:style> element of type table-cell.

The table:style-name attribute is usable with the following element: <table:odd-rows> 16.21.8.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.730.13 <table:table-cell>

The table:style-name attribute specifies a <style:style> element of type table-cell.

If a cell does not have a cell style assigned, then the table:default-cell-style-name attribute of the table row specifies the cell style. If that does not exist, the table:default-cell-style-name attribute of the table column specifies the cell style. If that does not exist, the default style with family table-cell specifies the style for the cell.

The table:style-name attribute is usable with the following element: <table:table-cell> 9.1.4.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.730.14 <table:table-column>

The table:style-name attribute specifies a <style:style> element of type table-column.

The table:style-name attribute is usable with the following element: <table:table-column> 9.1.6.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.730.15 <table:table-row>

The table:style-name attribute specifies a <style:style> element of type table-row.

The table:style-name attribute is usable with the following element: <table:table-row> 9.1.3.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.730.16 <table:table>

The table:style-name attribute specifies a <style:style> element of type table.

The table:style-name attribute is usable with the following element: <table:table> 9.1.2.

The table:style-name attribute has the data type styleNameRef 18.3.32.

19.731 table:tab-color

The table:tab-color attribute specifies the color of the tab associated with a sheet.

When this attribute is missing, the application should use the default color used for sheet tabs.

19.732 table:table

The table:table attribute specifies a table number for insertions, deletions and for table cells.

The table:table attribute is usable with the following elements: <table:cell-address> 9.9.18, <table:deletion> 9.9.9, <table:insertion> 9.9.3, <table:source-range-address> 9.9.14 and <table:target-range-address> 9.9.15.

The table:table attribute has the data type integer 18.2.

19.733 table:table-background

The table:table-background attribute specifies whether a shape is in the table background if the drawing shape is included in a spreadsheet document.

The defined values for the table:table-background attribute are:

The table:table-background attribute is usable with the following elements: <dr3d:scene> 10.5.2, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:annotation> 14.1.

The table:table-background attribute has the data type boolean 18.3.3.

19.734 table:table-name

The table:table-name attribute specifies the name of the table in the source document to which the current table is linked. If the attribute is omitted, the current table is linked to the first table in the source document.

The table:table-name attribute is usable with the following element: <table:table-source> 9.2.6.

The table:table-name attribute has the data type string 18.2.

19.735 table:target-cell-address

The table:target-cell-address attribute specifies a target cell address.

The table:target-cell-address attribute is usable with the following element: <table:consolidation> 9.7.

The table:target-cell-address attribute has the data type cellAddress 18.3.4.

19.736 table:target-range-address

19.736.1 General

The table:target-range-address attribute specifies a cell range address. The value of this attribute shall be an absolute cell address that contains a table name. The dollar signs “$” (U+0024, DOLLAR SIGN) that indicate an absolute address may be omitted.

19.736.2 <table:data-pilot-table>

The table:target-range-address attribute specifies the cell range where a data pilot table will be displayed.

The table:target-range-address attribute is usable with the following element: <table:data-pilot-table> 9.6.3.

The table:target-range-address attribute has the data type cellRangeAddress 18.3.5.

19.736.3 <table:database-range>

The table:target-range-address attribute specifies the cell range address of a database range.

The table:target-range-address attribute is usable with the following element: <table:database-range> 9.4.15.

The table:target-range-address attribute has the data type cellRangeAddress 18.3.5.

19.736.4 <table:filter>

The table:target-range-address attribute specifies the cell range for the result of a filter operation, but all table rows remain visible. If the attribute is not present, the rows that do not match the filter conditions are not displayed.

The table:target-range-address attribute is usable with the following element: <table:filter> 9.5.2.

The table:target-range-address attribute has the data type cellRangeAddress 18.3.5.

19.736.5 <table:sort>

The table:target-range-address attribute specifies the cell range for the result of a sort operation. If the attribute is not present, the cell range for the result is identical to the cell range of the database range.

The table:target-range-address attribute is usable with the following element: <table:sort> 9.4.19.

The table:target-range-address attribute has the data type cellRangeAddress 18.3.5.

19.737 table:template-name

The table:template-name attribute specifies a table template by name.

The table:template-name attribute is usable with the following element: <table:table> 9.1.2.

The table:template-name attribute has the data type string 18.2.

19.738 table:title

The table:title attribute that specifies a title of a help or error message.

The table:title attribute is usable with the following elements: <table:error-message> 9.4.7 and <table:help-message> 9.4.6.

The table:title attribute has the data type string 18.2.

19.739 table:track-changes

The table:track-changes attribute specifies whether change tracking is enabled.

The defined values for the table:track-changes attribute are:

The default value for this attribute is false.

The table:track-changes attribute is usable with the following element: <table:tracked-changes> 9.9.2.

The table:track-changes attribute has the data type boolean 18.3.3.

19.740 table:type

19.740.1 General

The table:type attribute specifies a type for a table.

19.740.2 <table:data-pilot-field-reference>

The table:type attribute specifies the processing of a referenced category column for display.

The defined values for the table:type attribute are:

The table:type attribute is usable with the following element: <table:data-pilot-field-reference> 9.6.16.

The values of the table:type attribute are none, member-difference, member-percentage, member-percentage-difference, running-total, row-percentage, column-percentage, total-percentage or index.

19.740.3 <table:deletion>

The table:type attribute specifies the type of a deletion.

The defined values for the table:type attribute are:

The table:type attribute is usable with the following element: <table:deletion> 9.9.9.

The values of the table:type attribute are row, column or table.

19.740.4 <table:insertion>

The table:type attribute specifies the type of an insertion.

The defined values for the table:type attribute are:

The table:type attribute is usable with the following element: <table:insertion> 9.9.3.

The values of the table:type attribute are row, column or table.

19.741 table:use-banding-columns-styles

The table:use-banding-columns-styles attribute specifies if the styles referenced by the <table:even-columns> 16.21.9 and <table:odd-columns> 16.21.10 elements of a table template referenced by the table:template-name 19.737 attribute are used for cells that are contained in even and odd columns.

The defined values for the table:use-banding-columns-styles attribute are:

  • false: cells are not styled based on even or odd column location. 

  • true: cells are styled based on even or odd column location. 

The default value for this attribute is false.

The table:use-banding-columns-styles attribute is usable with the following element: <table:table> 9.1.2.

The table:use-banding-columns-styles attribute has the data type boolean 18.3.3.

19.742 table:use-banding-rows-styles

The table:use-banding-rows-styles attribute specifies if the styles referenced by the <table:even-rows> 16.21.7 and <table:odd-rows> 16.21.8 elements of a table template referenced by the table:template-name 19.737 attribute are used for cells that are contained in even and odd rows.

The defined values for the table:use-banding-rows-styles attribute are:

  • false: cells not styled based on even or odd row location. 

  • true: cells styled based on even or odd row location. 

The default value for this attribute is false.

The table:use-banding-rows-styles attribute is usable with the following element: <table:table> 9.1.2.

The table:use-banding-rows-styles attribute has the data type boolean 18.3.3.

19.743 table:use-first-column-styles

The table:use-first-column-styles attribute specifies if the styles referenced by the <table:first-column> 16.21.4 element of the table template referenced by the table:template-name 19.737 attribute are used for cells that are contained in the table's first column.

The defined values for the table:use-first-column-styles attribute are:

  • false: cells not styled based on first column location. 

  • true: cells styled based on first column location. 

The default value for this attribute is false.

The table:use-first-column-styles attribute is usable with the following element: <table:table> 9.1.2.

The table:use-first-column-styles attribute has the data type boolean 18.3.3.

19.744 table:use-first-row-styles

The table:use-first-row-styles attribute specifies if the styles referenced by the <table:first-row> 16.21.2 element of the table template referenced by the table:template-name 19.737 attribute are used for cells that are contained in the table's first row.

The defined values for the table:use-first-row-styles attribute are:

  • false: cells not styled based on first row location. 

  • true: cells styled based on first row location. 

The default value for this attribute is false.

The table:use-first-row-styles attribute is usable with the following element: <table:table> 9.1.2.

The table:use-first-row-styles attribute has the data type boolean 18.3.3.

19.745 table:use-last-column-styles

The table:use-last-column-styles attribute specifies if the styles referenced by the <table:last-column> 16.21.5 element of the table template referenced by the table:template-name 19.737 attribute are used for cells that are contained in the table's last column.

The defined values for the table:use-last-column-styles attribute are:

  • false: cells not styled based on last column location. 

  • true: cells styled based on last column location. 

The default value for this attribute is false.

The table:use-last-column-styles attribute is usable with the following element: <table:table> 9.1.2.

The table:use-last-column-styles attribute has the data type boolean 18.3.3.

19.746 table:use-last-row-styles

The table:use-last-row-styles attribute specifies if the styles referenced by the <table:last-row> 16.21.3 element of the table template referenced by the table:template-name 19.737 attribute are used for cells that are contained in the table's last row.

The defined values for the table:use-last-row-styles attribute are:

  • false: cells not styled based on last row location. 

  • true: cells styled based on last row location. 

The default value for this attribute is false.

The table:use-last-row-styles attribute is usable with the following element: <table:table> 9.1.2.

The table:use-last-row-styles attribute has the data type boolean 18.3.3.

19.747 table:use-labels

The table:use-labels attribute specifies whether labels should be used by the consolidation for rows, columns or both. If labels are used for rows or columns, mathematical functions are applied to cells with equally-labeled rows or columns rather than to cells with the same relative cell address.

The defined values for the table:type attribute are:

The default value for this attribute is none.

The table:use-labels attribute is usable with the following element: <table:consolidation> 9.7.

The values of the table:use-labels attribute are none, row, column or both.

19.748 table:use-regular-expressions

The table:use-regular-expressions attribute specifies whether regular expressions are enabled for character-string comparisons and when searching.

Regular expressions are implementation-dependent expressions that, at a minimum, conform to the requirements of Conformance Clause C1 of [UTR18].

The table:use-wildcard 19.749 attribute and the table:use-regular-expressions attribute are mutually exclusive. The attribute values cannot be true for both attributes.

The defined values for the table:use-regular-expressions attribute are:

  • false: regular expressions not enabled for string comparisons and searches. 

  • true: regular expressions enabled for string comparisons and searches. 

The default value for this attribute is true.

The table:use-regular-expressions attribute is usable with the following element: <table:calculation-settings> 9.4.1.

The table:use-regular-expressions attribute has the data type boolean 18.3.3.

19.749 table:use-wildcards

The table:use-wildcards attribute specifies whether wildcards are enabled for character-string comparisons and when searching.

If enabled, in a query or search string of a function, the “?” (U+003F, QUESTION MARK), “*" (U+002A, ASTERISK), and “~" (U+007E, TILDE) are defined as:

The table:use-regular-expressions 19.748 attribute and the table:use-wildcards attribute are mutually exclusive. The attribute values cannot be true for both attributes.

The defined values for the table:use-wildcards attribute are:

  • false: wildcards are not enabled for character-string comparisons and searching. 

  • true: wildcards are enabled for character-string comparisons and searching. 

The default value for this attribute is false.

The table:use-wildcards attribute is usable with the following element: <table:calculation-settings> 9.4.1.

The table:use-wildcards attribute has the data type boolean 18.3.3.

19.750 table:used-hierarchy

The table:used-hierarchy attribute specifies a unique number assigned by an external component to select the hierarchy that should be applied to a source field.

If the data pilot source is provided by an external component or service, the data contained within category columns may be grouped by its value and it may be further divided into sub-groups or hierarchies. If an external component supports hierarchies, it shall assign unique numbers to those hierarchies.

The default value for this attribute is -1. The default value of -1 means no hierarchy should be applied to a source field.

 

The table:used-hierarchy attribute is usable with the following element: <table:data-pilot-field> 9.6.7.

The table:used-hierarchy attribute has the data type integer 18.2.

19.751 table:user-name

The table:user-name attribute specifies the user name needed to access a source. It is passed to a service implementation. Its value is implementation-dependent and service-specific.

The table:user-name attribute is usable with the following element: <table:source-service> 9.6.6.

The table:user-name attribute has the data type string 18.2.

19.752 table:value

19.752.1 <table:filter-condition>

The table:value attribute specifies a value for the filter condition.

The table:value attribute is usable with the following element: <table:filter-condition> 9.5.5.

The values of the table:value attribute are a value of type string 18.2 or a value of type double 18.2.

19.752.2 <table:filter-set-item>

The table:value attribute specifies a single value within a set of filter values.

The table:value attribute is usable with the following element: <table:filter-set-item> 9.5.6.

The table:value attribute has the data type string 18.2.

19.753 table:value-type

The table:value-type attribute specifies the value type of a null date.

The default value for this attribute is date.

The table:value-type attribute is usable with the following element: <table:null-date> 9.4.2.

The only value of the table:value-type attribute is date.

19.754 table:visibility

The table:visibility attribute specifies whether a row or column is visible.,

The defined values for the table:visibility attribute are:

The default value for this attribute is visible.

The table:visibility attribute is usable with the following elements: <table:table-column> 9.1.6 and <table:table-row> 9.1.3.

The values of the table:visibility attribute are visible, collapse or filter.

19.755 text:active

The text:active attribute specifies the setting of the page variable.

The value of an active page variable is increased on each page.

An inactive page variable is not incremented between pages.

The defined values for the text:active attribute are:

The default value for this attribute is false.

The text:active attribute is usable with the following element: <text:page-variable-set> 7.7.1.2.

The text:active attribute has the data type boolean 18.3.3.

19.756 text:address

The text:address attribute specifies the address for a bibliography index entry.

The text:address attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:address attribute has the data type string 18.2.

19.757 text:alphabetical-separators

The text:alphabetical-separators attribute specifies whether entries beginning with the same letter are grouped and separated from the entries beginning with the next letter.

The defined values for the text:alphabetical-separators attribute are:

The default value for this attribute is false.

The text:alphabetical-separators attribute is usable with the following element: <text:alphabetical-index-source> 8.8.2.

The text:alphabetical-separators attribute has the data type boolean 18.3.3.

19.758 text:anchor-page-number

The text:anchor-page-number attribute specifies the physical page number of an anchor if the drawing object is bound to a page within a text document.

The text:anchor-page-number attribute is usable with the following elements: <dr3d:scene> 10.5.2, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:annotation> 14.1.

The text:anchor-page-number attribute has the data type positiveInteger 18.2.

19.759 text:anchor-type

The text:anchor-type attribute specifies how a drawing shape is bound to a text document. The anchor position is the point at which a drawing shape is bound to a text document. The defined values for the text:anchor-type attribute are shown in Table 17.

The same attribute is available as graphic property 20.418.

If the attribute is given both as element attribute and as graphic property 20.418, then the element attribute has precedence over the graphic property.

If neither an element attribute nor a graphic property is given or can be found by inheritance, then the attribute text:anchor-type defaults to value "paragraph".

Table 17 - Text anchor positions

If the value of the text:anchor-type attribute is ...

The anchor position is...

The drawing shape element shall be located in file text ...

Notes

as-char

There is no anchor position. The drawing shape behaves like a character.

At the position where the character appears in the document.

 

char

The character after the drawing shape element.

Just before the character.

 

frame

The parent text box that the current drawing shape element is contained in.

In the element representing the text box to which the drawing object is bound.

If an image is bound to a text box, the image element is located in the text box element.

 

page

The page that has the same physical page number as the value of the text:anchor-page-number 19.758 attribute that is attached to the drawing shape element. If no text:anchor-page-number attribute is given, the anchor position is the page at which the character behind the drawing object element appears.

Either

  • At the start of the document body, outside any paragraph or frame, provided a text:anchor-page-number attribute is given. 

Or

  • Inside any paragraph element that is not contained in a header, footer, footnote, or text box, if a text:anchor-page-number attribute is not given. 

The physical page number is the number assigned to the page if all pages in the document are counted starting with page 1.

paragraph

The paragraph that the current drawing shape element is contained in.

At the start of the paragraph element.

 

The text:anchor-type attribute is usable with the following elements: <dr3d:scene> 10.5.2, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:annotation> 14.1.

The values of the text:anchor-type attribute are page, frame, paragraph, char or as-char.

19.760 text:annote

The text:annote attribute specifies the annotation for a bibliography index entry.

The text:annote attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:annote attribute has the data type string 18.2.

19.761 text:author

The text:author attribute specifies the author or authors for a bibliography index entry.

The text:author attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:author attribute has the data type string 18.2.

19.762 text:bibliography-data-field

The text:bibliography-data-field attribute specifies which part of a bibliography data field will be displayed.

The defined values for the text:bibliography-data-field attribute are:

The text:bibliography-data-field attribute is usable with the following element: <text:index-entry-bibliography> 8.13.5.

The values of the text:bibliography-data-field attribute are address, annote, author, bibliography-type, booktitle, chapter, custom1, custom2, custom3, custom4, custom5, edition, editor, howpublished, identifier, institution, isbn, issn, journal, month, note, number, organizations, pages, publisher, report-type, school, series, title, url, volume or year.

19.763 text:bibliography-type

The text:bibliography-type attribute specifies to which type of bibliographical entry a template applies.

The defined values for the text:bibliography-type attribute are:

Note: The definitions for article, book, booklet, inbook, incollection, inproceedings, journal, manual, mastersthesis, misc, phdthesis, proceedings, techreport, and unpublished are based on [BibTeXing].

The text:bibliography-type attribute is usable with the following elements: <text:bibliography-entry-template> 8.9.3 and <text:bibliography-mark> 8.1.11.

The values of the text:bibliography-type attribute are article, book, booklet, conference, custom1, custom2, custom3, custom4, custom5, email, inbook, incollection, inproceedings, journal, manual, mastersthesis, misc, phdthesis, proceedings, techreport, unpublished or www.

19.764 text:booktitle

The text:booktitle attribute specifies the book title for a bibliography index entry.

The text:booktitle attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:booktitle attribute has the data type string 18.2.

19.765 text:bullet-char

The text:bullet-char attribute specifies the [UNICODE] character to use as the bullet in a bulleted list style.

The defined values for the text:bullet-char attribute are shown in Table 18:

Table 18 - Typical bullet characters

UNICODE Character Code

Typical Shape

UNICODE Character Name

U+2022

BULLET

U+25CF

BLACK CIRCLE

U+2714

HEAVY CHECK MARK

U+2717

BALLOT X

U+2794

HEAVY WIDE-HEADED RIGHTWARDS ARROW

U+27A2

THREE-D TOP-LIGHTED RIGHTWARDS ARROWHEAD

Note: These characters need not be available in all fonts.

The text:bullet-char attribute is usable with the following element: <text:list-level-style-bullet> 16.33.

The text:bullet-char attribute has the data type character 18.3.7.

19.766 text:bullet-relative-size

The text:bullet-relative-size attribute specifies a percentage value for the bullet size relative to the font size of the paragraphs in the bullet list.

The text:bullet-relative-size attribute is usable with the following element: <text:list-level-style-bullet> 16.33.

The text:bullet-relative-size attribute has the data type percent 18.3.23.

19.767 text:capitalize-entries

The text:capitalize-entries attribute specifies whether the entries in an index are capitalized.

The defined values for the text:capitalize-entries attribute are:

The text:capitalize-entries attribute controls capitalization of index entries during the generation of indexes. Index entries may be entered in either upper or lower case, without regard to the text:capitalize-entries attribute.

The default value for this attribute is false.

The text:capitalize-entries attribute is usable with the following element: <text:alphabetical-index-source> 8.8.2.

The text:capitalize-entries attribute has the data type boolean 18.3.3.

19.768 text:c

The text:c attribute specifies the number of “ “ (U+0020, SPACE) characters that a <text:s> element represents. A missing text:c attribute is interpreted as a single “ “ (U+0020, SPACE) character.

The text:c attribute is usable with the following element: <text:s> 6.1.3.

The text:c attribute has the data type nonNegativeInteger 18.2.

19.769 text:caption-sequence-format

The text:caption-sequence-format attribute specifies the format of entries for an index of illustrations or tables.

The defined values for the text:caption-sequence-format attribute are:

The text:caption-sequence-format attribute is usable with the following elements: <text:illustration-index-source> 8.4.2 and <text:table-index-source> 8.5.2.

The values of the text:caption-sequence-format attribute are text, category-and-value or caption.

19.770 text:caption-sequence-name

The text:caption-sequence-name attribute specifies the sequence by which captions are identified.

If the text:use-caption attribute is set to true, this attribute shall be present.

Note: Captions are regular paragraphs. For index generation, a paragraph is considered to be a caption if it contains the sequence variable with the name specified by the text:caption-sequence-name attribute.

The text:caption-sequence-name attribute is usable with the following elements: <text:illustration-index-source> 8.4.2 and <text:table-index-source> 8.5.2.

The text:caption-sequence-name attribute has the data type string 18.2.

19.771 text:change-id

The text:change-id attribute specifies the id that links <text:change-start>, <text:change-end>, and <text:change> elements to the <text:changed-region> element that contains change-tracking information.

The text:change-id attribute is usable with the following elements: <text:change> 5.5.8.4, <text:change-end> 5.5.8.3 and <text:change-start> 5.5.8.2.

The text:change-id attribute has the data type IDREF 18.2.

19.772 text:chapter

The text:chapter attribute specifies the chapter reference for a bibliography index entry.

The text:chapter attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:chapter attribute has the data type string 18.2.

19.773 text:citation-body-style-name

The text:citation-body-style-name attribute specifies the text style to use for a note citation in the text flow.

The text:citation-body-style-name attribute is usable with the following element: <text:notes-configuration> 16.31.3.

The text:citation-body-style-name attribute has the data type styleNameRef 18.3.32.

19.774 text:citation-style-name

The text:citation-style-name attribute specifies the text style to use for a note citation within the footnote.

The text:citation-style-name attribute is usable with the following element: <text:notes-configuration> 16.31.3.

The text:citation-style-name attribute has the data type styleNameRef 18.3.32.

19.775 text:class-names

19.775.1 General

A text:class-names attribute specifies a white-space-separated list of style names. The referenced styles are applied in the order they are contained in the list.

If both text:style-name and text:class-names are present, the style referenced by the text:style-name attribute is applied before the styles referenced by text:class-names attribute. If a conditional style is specified together with a text:class-names attribute, but without a text:style-name attribute, the text:style-name 19.880 attribute is assumed to have the value of the first style name in the list defined by the text:class-name attribute.

19.775.2 <text:h>

A text:class-names attribute specifies a white-space-separated list of paragraph style names.

The text:class-names attribute is usable with the following element: <text:h> 5.1.2.

The text:class-names attribute has the data type styleNameRefs 18.3.33.

19.775.3 <text:p>

A text:class-names attribute specifies a white-space-separated list of paragraph style names.

The text:class-names attribute is usable with the following element: <text:p> 5.1.3.

The text:class-names attribute has the data type styleNameRefs 18.3.33.

19.775.4 <text:span>

A text:class-names attribute specifies a white-space-separated list of text style names.

The text:class-names attribute is usable with the following element: <text:span> 6.1.7.

The text:class-names attribute has the data type styleNameRefs 18.3.33.

19.776 text:column-name

The text:column-name attribute specifies the name of the column from which data is displayed. The value of this attribute shall be a column name contained in the current selection as specified by the data source.

The text:column-name attribute is usable with the following element: <text:database-display> 7.6.3.

The text:column-name attribute has the data type string 18.2.

19.777 text:combine-entries

The text:combine-entries attribute specifies whether multiple entries for a single word should be combined into a single entry.

The defined values for the text:combine-entries attribute are:

The default value for this attribute is true.

The text:combine-entries attribute is usable with the following element: <text:alphabetical-index-source> 8.8.2.

The text:combine-entries attribute has the data type boolean 18.3.3.

19.778 text:combine-entries-with-dash

The text:combine-entries-with-dash attributes specifies that multiple entries for a single word that should be displayed as a single entry, as per a text:combine-entries attribute, should be displayed as a range of numbers separated by a dash.

The defined values for the text:combine-entries-with-dash attribute are:

The default value for this attribute is false.

The text:combine-entries-with-dash attribute is usable with the following element: <text:alphabetical-index-source> 8.8.2.

The text:combine-entries-with-dash attribute has the data type boolean 18.3.3.

19.779 text:combine-entries-with-pp

The text:combine-entries-with-pp attributes specifies that multiple entries for a single word that should be displayed as a single entry, as per a text:combine-entries attribute, should be displayed as the start page number, followed by a "ff", or the appropriate label for the chosen language.

The default value for this attribute is true.

The text:combine-entries-with-pp attribute is usable with the following element: <text:alphabetical-index-source> 8.8.2.

The text:combine-entries-with-pp attribute has the data type boolean 18.3.3.

19.780 text:comma-separated

The text:comma-separated attribute specifies how to treat multiple index entries. Instead of listing each index entry on a separate line, multiple entries can be listed on a single line separated by a comma “,” (U+002C, COMMA). If the value of this attribute is true, multiple entries are listed on a single line separated by a comma. By default, the value of this attribute is false and each index entry is displayed on a separate line.

The defined values for the text:comma-separated attribute are:

The default value for this attribute is false.

The text:comma-separated attribute is usable with the following element: <text:alphabetical-index-source> 8.8.2.

The text:comma-separated attribute has the data type boolean 18.3.3.

19.781 text:cond-style-name

The text:cond-style-name attribute specifies a conditional-style, that is, a style that contains conditions and maps to other styles. 16.3 The style referenced shall be a paragraph style.

If a conditional style is applied to a paragraph, the text:style-name attribute should contain the name of the style that was the result of the conditional style evaluation, while the conditional style name itself is the value of the text:cond-style-name attribute. The referenced style can be a common style or an automatic style.

The text:cond-style-name attribute is usable with the following elements: <text:h> 5.1.2 and <text:p> 5.1.3.

The text:cond-style-name attribute has the data type styleNameRef 18.3.32.

19.782 text:condition

19.782.1 General

The text:condition attribute specifies a condition. Conditions do not have a predefined syntax, but the attribute value should begin with a namespace prefix, followed by a ":" (U+003A, COLON) separator, followed by the text of a formula. The namespace bound to the prefix determines the syntax and semantics of the formula.

19.782.2 <text:conditional-text>

The text:condition attribute specifies the condition that determines which of the two text strings of an <text:conditional-text> text field is displayed.

The text:condition attribute is usable with the following element: <text:conditional-text> 7.7.3.

The text:condition attribute has the data type string 18.2.

19.782.3 <text:database-next>

The text:condition attribute specifies a condition expression. The expression is evaluated and if the result interpreted as a Boolean value is true, the next row is used as the new current row.

If the <text:database-next> element has no text:condition attribute, the next available row is selected.

The text:condition attribute is usable with the following element: <text:database-next> 7.6.4.

The text:condition attribute has the data type string 18.2.

19.782.4 <text:database-row-select>

The text:condition attribute specifies a condition for selecting a row. If the attribute is present, a new row will be selected only if the condition evaluates to a value interpreted as true.

If a <text:database-row-select> element has no text:condition attribute, the next row is selected.

The text:condition attribute is usable with the following element: <text:database-row-select> 7.6.5.

The text:condition attribute has the data type string 18.2.

19.782.5 <text:hidden-paragraph>

The text:condition attribute specifies a Boolean expression. If the expression evaluates to true, the paragraph is hidden. If the expression evaluates to false, the paragraph is displayed.

The text:condition attribute is usable with the following element: <text:hidden-paragraph> 7.7.11.

The text:condition attribute has the data type string 18.2.

19.782.6 <text:hidden-text>

The text:condition attribute specifies a Boolean expression. If the expression evaluates to true, the text is hidden. If the expression evaluates to false, the text is displayed.

The text:condition attribute is usable with the following element: <text:hidden-text> 7.7.4.

The text:condition attribute has the data type string 18.2.

19.782.7 <text:section>

The text:condition attribute specifies the condition under which a section is hidden. The condition is encoded as a string. If the value of text:display 19.802 is condition, the text:condition attribute shall be present.

The text:condition attribute is usable with the following element: <text:section> 5.4.

The text:condition attribute has the data type string 18.2.

19.783 text:connection-name

The text:connection-name attribute specifies the name of the DDE connection to which a field refers.

The text:connection-name attribute is usable with the following element: <text:dde-connection> 7.7.12.

The text:connection-name attribute has the data type string 18.2.

19.784 text:consecutive-numbering

The text:consecutive-numbering attribute specifies whether the style uses consecutive numbering for all list levels or whether each list level restarts the numbering.

The defined values for the text:consecutive-numbering attribute are:

The default value for this attribute is false.

The text:consecutive-numbering attribute is usable with the following element: <text:list-style> 16.32.

The text:consecutive-numbering attribute has the data type boolean 18.3.3.

19.785 text:continue-list

The text:continue-list attribute specifies the xml:id 19.920 value of a list that is to be continued.

The text:continue-list attribute is usable with the following element: <text:list> 5.3.1.

The text:continue-list attribute has the data type IDREF 18.2.

19.786 text:continue-numbering

The text:continue-numbering attribute specifies, if the numbering of the preceding list is continued or not. This attribute is ignored, if attribute text:continue-list 19.785 is present.

The defined values for the text:continue-numbering attribute are:

  • true: if text:continue-list attribute is not present and the numbering style of the preceding list is the same as the current list, the number of the first list item in the current list is the number of the last item in the preceding list incremented by one.  

  • false: if the text:continue-list attribute is not present, the numbering of the preceding list is not continued. 

The use of the text:continue-numbering attribute with the <text:numbered-paragraph> element has been deprecated.

The text:continue-numbering attribute is usable with the following elements: <text:list> 5.3.1 and <text:numbered-paragraph> 5.3.6.

The text:continue-numbering attribute has the data type boolean 18.3.3.

19.787 text:copy-outline-levels

The text:copy-outline-levels attribute specifies whether index entries are indented according to the outline level of their source.

The defined values for the text:copy-outline-levels attribute are:

The default value for this attribute is false.

The text:copy-outline-levels attribute is usable with the following element: <text:user-index-source> 8.7.2.

The text:copy-outline-levels attribute has the data type boolean 18.3.3.

19.788 text:count-empty-lines

The text:count-empty-lines attribute specifies whether empty lines are included in the line count.

The defined values for the text:count-empty-lines attribute are:

The default value for this attribute is true.

The text:count-empty-lines attribute is usable with the following element: <text:linenumbering-configuration> 16.31.1.

The text:count-empty-lines attribute has the data type boolean 18.3.3.

19.789 text:count-in-text-boxes

The text:count-in-text-boxes attribute specifies whether text in text boxes is included in the line count. If the value of this attribute is true, text within text boxes is included in the line count.

The defined values for the text:count-in-text-boxes attribute are:

The default value for this attribute is false.

The text:count-in-text-boxes attribute is usable with the following element: <text:linenumbering-configuration> 16.31.1.

The text:count-in-text-boxes attribute has the data type boolean 18.3.3.

19.790 text:current-selected

The text:current-selected attribute specifies whether a <text:label> 7.4.17 element is currently selected.

The defined values for the text:current-selected attribute are:

  • false: the <text:label> element is not currently selected. 

  • true: the <text:label> element is currently selected. 

The default value for this attribute is false.

The text:current-selected attribute is usable with the following element: <text:label> 7.4.17.

The text:current-selected attribute has the data type boolean 18.3.3.

19.791 text:current-value

The text:current-value attribute specifies the evaluation result of a condition given by the expression in a text:condition 19.782 attribute.  The value of this attribute is updated whenever the expression is evaluated.

The text:current-value attribute is usable with the following element: <text:conditional-text> 7.7.3.

The text:current-value attribute has the data type boolean 18.3.3.

19.792 text:custom1

The text:custom1 attribute specifies the first of up to five user-defined fields for a bibliography index entry.

The text:custom1 attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:custom1 attribute has the data type string 18.2.

19.793 text:custom2

The text:custom2 attribute specifies the second of up to five user-defined fields for a bibliography index entry.

The text:custom2 attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:custom2 attribute has the data type string 18.2.

19.794 text:custom3

The text:custom3 attribute specifies the third of up to five user-defined fields for a bibliography index entry.

The text:custom3 attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:custom3 attribute has the data type string 18.2.

19.795 text:custom4

The text:custom4 attribute specifies the fourth of up to five user-defined fields for a bibliography index entry.

The text:custom4 attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:custom4 attribute has the data type string 18.2.

19.796 text:custom5

The text:custom5 attribute specifies the fifth of up to five user-defined fields for a bibliography index entry.

The text:custom5 attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:custom5 attribute has the data type string 18.2.

19.797 text:database-name

The text:database-name attribute specifies a source database by its name.

The text:database-name attribute is usable with the following elements: <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6 and <text:database-row-select> 7.6.5.

The text:database-name attribute has the data type string 18.2.

19.798 text:date-adjust

The text:date-adjust attribute specifies an adjustment to the value of a date field. If the time period is negative, it is subtracted from the value of the date field.

The text:date-adjust attribute is usable with the following element: <text:date> 7.3.2.

The text:date-adjust attribute has the data type duration 18.2.

19.799 text:date-value

The text:date-value attribute specifies a date value. If no value is specified, whether the field is marked as fixed or not, the current date is assumed.

Note: This attribute can also be used to specify a future date.

The text:date-value attribute is usable with the following elements: <text:creation-date> 7.5.3, <text:date> 7.3.2, <text:modification-date> 7.5.16 and <text:print-date> 7.5.8.

The text:date-value attribute has the data type dateOrDateTime 18.3.14.

19.800 text:default-style-name

The text:default-style-name attribute specifies a default footnote paragraph style for new footnotes that are inserted into a document. It is not evaluated for footnotes that already exist.

The text:default-style-name attribute is usable with the following element: <text:notes-configuration> 16.31.3.

The text:default-style-name attribute has the data type styleNameRef 18.3.32.

19.801 text:description

The text:description attribute specifies a message that is displayed when users are prompted for input.

The text:description attribute is usable with the following elements: <text:placeholder> 7.7.2, <text:text-input> 7.4.15, <text:user-field-input> 7.4.10 and <text:variable-input> 7.4.6.

The text:description attribute has the data type string 18.2.

19.802 text:display

19.802.1 General

The text:display attribute specifies options for the display of text.

19.802.2 <text:chapter>

The text:display attribute specifies the information that a chapter field should display.

The defined values for the text:display attribute are:

The text:display attribute is usable with the following element: <text:chapter> 7.3.8.

The values of the text:display attribute are name, number, number-and-name, plain-number-and-name or plain-number.

19.802.3 <text:expression>

The text:display attribute specifies what information to display for an expression.

The defined values for the text:display attribute are:

The text:display attribute is usable with the following element: <text:expression> 7.4.14.

The values of the text:display attribute are value or formula.

19.802.4 <text:file-name>

The text:display attribute specifies how much of the file name and path to display.

The defined values for the text:display attribute are:

The filename may be an IRI, either because an IRI has been used to retrieve the file, or the consumer internally uses IRIs and therefore converts system-specific paths into an IRI. If this is the case, and if the path, the name or the extension cannot be evaluated from the IRI, then the IRI should be displayed unmodified.

The text:display attribute is usable with the following element: <text:file-name> 7.3.9.

The values of the text:display attribute are full, path, name or name-and-extension.

19.802.5 <text:index-entry-chapter>

The text:display attribute specifies what information to display for a chapter field.

The defined values for the text:display attribute are:

For a <text:index-entry-chapter> 8.13.1 element the default value for this attribute is number.

The text:display attribute is usable with the following element: <text:index-entry-chapter> 8.13.1.

The values of the text:display attribute are name, number, number-and-name, plain-number or plain-number-and-name.

19.802.6 <text:section>

The text:display attribute specifies whether the section is hidden.

The defined values for the text:display attribute are:

The text:display attribute is usable with the following element: <text:section> 5.4.

The values of the text:display attribute are true, none or condition.

19.802.7 <text:table-formula>

The text:display attribute specifies what information to display for a table formula field.

The defined values for the text:display attribute are:

The text:display attribute is usable with the following element: <text:table-formula> 7.7.14.

The values of the text:display attribute are value or formula.

19.802.8 <text:template-name>

The text:display attribute specifies what information to display about a document template.

The defined values for the text:display attribute are:

The text:display attribute is usable with the following element: <text:template-name> 7.3.10.

The values of the text:display attribute are full, path, name, name-and-extension, area or title.

19.802.9 <text:user-field-get>

The text:display attribute specifies what information to display for a user field.

The defined values for the text:display attribute are:

The text:display attribute is usable with the following element: <text:user-field-get> 7.4.9.

The values of the text:display attribute are value, formula or none.

19.802.10 <text:variable-get>

The text:display attribute specifies what information to display for a variable-get field.

The defined values for the text:display attribute are:

The text:display attribute is usable with the following element: <text:variable-get> 7.4.5.

The values of the text:display attribute are value or formula.

19.802.11 <text:variable-input>

The text:display attribute specifies what information to display for a variable-input field.

The defined values for the text:display attribute are:

The text:display attribute is usable with the following element: <text:variable-input> 7.4.6.

The values of the text:display attribute are value or none.

19.802.12 <text:variable-set>

The text:display attribute specifies what information to display for a variable-set field.

The defined values for the text:display attribute are:

The text:display attribute is usable with the following element: <text:variable-set> 7.4.4.

The values of the text:display attribute are value or none.

19.803 text:display-levels

The text:display-levels attribute specifies the number of levels whose numbers are displayed at the current level.

The default value for this attribute is 1.

The text:display-levels attribute is usable with the following elements: <text:list-level-style-number> 16.34 and <text:outline-level-style> 16.37.

The text:display-levels attribute has the data type positiveInteger 18.2.

19.804 text:display-outline-level

The text:display-outline-level attribute specifies the numbering of a sequence by chapter. This attribute specifies an outline level that determines which chapters to reference for the chapter-specific numbering. All chapters that are at or below the specified outline level reset the value of the sequence to zero, the default value. The chapter number of the last chapter at or below the specified outline level is prefixed to the sequence number. Choosing an outline level of zero results in a continuous numbering of all sequence elements for that sequence variable.

The text:display-outline-level attribute is usable with the following element: <text:sequence-decl> 7.4.12.

The text:display-outline-level attribute has the data type nonNegativeInteger 18.2.

19.805 text:duration

The text:duration attribute contains the value of a <text:editing-duration> field element if its value is fixed.

The text:duration attribute is usable with the following element: <text:editing-duration> 7.5.14.

The text:duration attribute has the data type duration 18.2.

19.806 text:edition

The text:edition attribute specifies the edition for a bibliography index entry.

The text:edition attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:edition attribute has the data type string 18.2.

19.807 text:editor

The text:editor attribute specifies the editor for a bibliography index entry.

The text:editor attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:editor attribute has the data type string 18.2.

19.808 text:filter-name

The text:filter-name attribute specifies the filter type to be used to import the link target. The value of this attribute is implementation-dependent.

The text:filter-name attribute is usable with the following element: <text:section-source> 5.4.2.

The text:filter-name attribute has the data type string 18.2.

19.809 text:fixed

The text:fixed attribute specifies whether the value of a field element is fixed.

The defined values for the text:fixed attribute are:

The text:fixed attribute is usable with the following elements: <text:author-initials> 7.3.7.2, <text:author-name> 7.3.7.1, <text:creation-date> 7.5.3, <text:creation-time> 7.5.4, <text:creator> 7.5.17, <text:date> 7.3.2, <text:description> 7.5.5, <text:editing-cycles> 7.5.13, <text:editing-duration> 7.5.14, <text:file-name> 7.3.9, <text:initial-creator> 7.5.2, <text:keywords> 7.5.12, <text:modification-date> 7.5.16, <text:modification-time> 7.5.15, <text:page-number> 7.3.4, <text:print-date> 7.5.8, <text:print-time> 7.5.7, <text:printed-by> 7.5.9, <text:sender-city> 7.3.6.13, <text:sender-company> 7.3.6.10, <text:sender-country> 7.3.6.15, <text:sender-email> 7.3.6.7, <text:sender-fax> 7.3.6.9, <text:sender-firstname> 7.3.6.2, <text:sender-initials> 7.3.6.4, <text:sender-lastname> 7.3.6.3, <text:sender-phone-private> 7.3.6.8, <text:sender-phone-work> 7.3.6.11, <text:sender-position> 7.3.6.6, <text:sender-postal-code> 7.3.6.14, <text:sender-state-or-province> 7.3.6.16, <text:sender-street> 7.3.6.12, <text:sender-title> 7.3.6.5, <text:subject> 7.5.11, <text:time> 7.3.3, <text:title> 7.5.10 and <text:user-defined> 7.5.6.

The text:fixed attribute has the data type boolean 18.3.3.

19.810 text:footnotes-position

The text:footnotes-position attribute specifies a position for a footnote.

The defined values for the text:footnotes-position attribute are:

The text:footnotes-position attribute is usable with the following element: <text:notes-configuration> 16.31.3.

The values of the text:footnotes-position attribute are text, page, section or document.

19.811 text:formula

The text:formula attribute specifies the formula or expression used to compute the value of a field.

The attribute value should begin with a namespace prefix followed by ":" (U+003A, COLON) followed by the text of the formula. The namespace bound to the prefix determines the syntax and semantics of the formula.

The text:formula attribute is usable with the following elements: <text:expression> 7.4.14, <text:sequence> 7.4.13, <text:table-formula> 7.7.14, <text:user-field-decl> 7.4.8 and <text:variable-set> 7.4.4.

The text:formula attribute has the data type string 18.2.

19.812 text:global (deprecated)

The text:global attribute specifies whether the user interface of a consumer should consider the documents to which linked text sections are linked as individually editable parts of the document.

The defined values for the text:global attribute are:

The text:global attribute is deprecated in favor of the application/vnd.oasis.opendocument.text-master MIME type. Using this MIME type for a document has the same effect as the value true for a text:global attribute.

The default value for this attribute is false.

The text:global attribute is usable with the following element: <office:text> 3.4.

The text:global attribute has the data type boolean 18.3.3.

19.813 text:howpublished

The text:howpublished attribute specifies the publication type for a bibliography index entry.

The text:howpublished attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:howpublished attribute has the data type string 18.2.

19.814 text:increment

The text:increment attribute causes line numbers to be numbered as multiples of a specified increment.

The text:increment attribute is usable with the following elements: <text:linenumbering-configuration> 16.31.1 and <text:linenumbering-separator> 16.31.2.

The text:increment attribute has the data type nonNegativeInteger 18.2.

19.815 text:id

19.815.1 General

The text:id attribute specifies an identifier or a name for an element.

19.815.2 <draw:text-box> (deprecated)

The text:id attribute specifies an identifier for for a text box.

OpenDocument consumers shall ignore a text:id attribute if it occurs on a <draw:text-box> element with an xml:id attribute value.

OpenDocument producers may write text:id attributes for <draw:text-box> elements in addition to an xml:id attribute.

 The value of a text:id attribute shall equal the value of an xml:id attribute on the same <draw:text-box> element.

The text:id attribute is deprecated in favor of xml:id. 19.920

The text:id attribute is usable with the following element: <draw:text-box> 10.4.3.

The text:id attribute has the data type NCName 18.2.

19.815.3 <text:alphabetical-index-mark-end>

The text:id attribute specifies a name by which start- and end-mark elements are connected to each other. The name specified by the text:id attribute shall be unique except for a matching <text:alphabetical-index-mark-start> 8.1.8 element.

The text:id attribute is usable with the following element: <text:alphabetical-index-mark-end> 8.1.9.

The text:id attribute has the data type string 18.2.

19.815.4 <text:alphabetical-index-mark-start>

The text:id attribute specifies a name by which start- and end-mark elements are connected to each other. The name specified by the text:id attribute shall be unique except for a matching <text:alphabetical-index-mark-end> 8.1.9 element.

The text:id attribute is usable with the following element: <text:alphabetical-index-mark-start> 8.1.8.

The text:id attribute has the data type string 18.2.

19.815.5 <text:changed-region> (deprecated)

The text:id attribute specifies the an identifier for achanged region.

The ID value is used in text:change-id 19.771 IDREF values to refer to a particular <text:changed-region> element.

OpenDocument consumers shall ignore a text:id attribute if it occurs on an element with an xml:id attribute value.

OpenDocument producers may write text:id attributes for elements in addition to an xml:id attribute.

The value of a text:id attribute shall equal the value of an xml:id attribute on the same element.

The text:id attribute is deprecated in favor of xml:id. 19.920

The text:id attribute is usable with the following element: <text:changed-region> 5.5.3.

The text:id attribute has the data type NCName 18.2.

19.815.6 <text:h> (deprecated)

The text:id attribute specifies an identifier for a heading.

OpenDocument consumers shall ignore a text:id attribute if it occurs on an element with an xml:id attribute value.

OpenDocument producers may write text:id attributes for elements in addition to an xml:id attribute.

The value of a text:id attribute shall equal the value of an xml:id attribute on the same element.

The text:id attribute is deprecated in favor of xml:id. 19.920

The text:id attribute is usable with the following element: <text:h> 5.1.2.

The text:id attribute has the data type NCName 18.2.

19.815.7 <text:note>

The text:id attribute specifies specifies a name by which notes can be referenced from <text:note-ref> elements. See 7.7.7.

The text:id attribute is usable with the following element: <text:note> 6.3.2.

The text:id attribute has the data type string 18.2.

19.815.8 <text:p> (deprecated)

The text:id attribute specifies an identifier for a paragraph.

OpenDocument consumers shall ignore a text:id attribute if it occurs on a <text:p> element with an xml:id attribute value. If there is no xml:id attribute value, then a text:id attribute should be processed as it were an xml:id attribute.

OpenDocument producers may write text:id attributes for <text:p> elements in addition to an xml:id attribute.

A <text:p> element shall not have an text:id attribute if it has no xml:id attribute value. The value of a text:id attribute shall equal the value of an xml:id attribute on the same <text:p> element.

The text:id attribute is deprecated in favor of xml:id. 19.920

The text:id attribute is usable with the following element: <text:p> 5.1.3.

The text:id attribute has the data type NCName 18.2.

19.815.9 <text:toc-mark-end>

The text:id attribute specifies a name by which start- and end-mark elements are connected to each other. The name specified by the text:id attribute shall be unique except for a matching <text:toc-mark-start> 8.1.2 element.

The text:id attribute is usable with the following element: <text:toc-mark-end> 8.1.3.

The text:id attribute has the data type string 18.2.

19.815.10 <text:toc-mark-start>

The text:id attribute specifies a name by which start- and end-mark elements are connected to each other. The name specified by the text:id attribute shall be unique except for a matching <text:toc-mark-end> 8.1.3 element.

The text:id attribute is usable with the following element: <text:toc-mark-start> 8.1.2.

The text:id attribute has the data type string 18.2.

19.815.11 <text:user-index-mark-end>

The text:id attribute specifies a string by which start- and end-mark elements are connected to each other. The string shall be unique except for matching its corresponding <text:user-index-mark-start> 8.1.5 element.

The text:id attribute is usable with the following element: <text:user-index-mark-end> 8.1.6.

The text:id attribute has the data type string 18.2.

19.815.12 <text:user-index-mark-start>

The text:id attribute specifies a string by which start- and end-mark elements are connected to each other. The string shall be unique except for matching its corresponding <text:user-index-mark-end> 8.1.6 element.

The text:id attribute is usable with the following element: <text:user-index-mark-start> 8.1.5.

The text:id attribute has the data type string 18.2.

19.816 text:identifier

The text:identifier attribute specifies an identifier for a bibliography index entry.

The text:identifier attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:identifier attribute has the data type string 18.2.

19.817 text:index-name

The text:index-name attribute specifies the name of a user-defined index.

Note: In order to support multiple user-defined indexes with different contents, user index marks have a text:index-name attribute. The same attribute can be used with a <text:user-index-source> element to specify which index marks apply to the current index.

The text:index-name attribute is usable with the following elements: <text:user-index-mark> 8.1.7, <text:user-index-mark-start> 8.1.5 and <text:user-index-source> 8.7.2.

The text:index-name attribute has the data type string 18.2.

19.818 text:index-scope

The text:index-scope attribute specifies whether an index is constructed for an entire document or for a chapter.

The defined values for the text:index-scope attribute are:

The default value for this attribute is document.

For <text:alphabetical-index-source> 8.8.2, <text:illustration-index-source> 8.4.2, <text:object-index-source> 8.6.2, <text:table-index-source> 8.5.2 and <text:user-index-source> 8.7.2 elements the default value for this attribute is document.

The text:index-scope attribute is usable with the following elements: <text:alphabetical-index-source> 8.8.2, <text:illustration-index-source> 8.4.2, <text:object-index-source> 8.6.2, <text:table-index-source> 8.5.2, <text:table-of-content-source> 8.3.2 and <text:user-index-source> 8.7.2.

The values of the text:index-scope attribute are document or chapter.

19.819 text:ignore-case

The text:ignore-case attribute specifies whether the capitalization of words is ignored. If the value is true, the capitalization is ignored and entries that are identical except for character case are listed as the same entries. If the value is false, the capitalization of words is not ignored.

The defined values for the text:ignore-case attribute are:

The default value for this attribute is false.

The text:ignore-case attribute is usable with the following element: <text:alphabetical-index-source> 8.8.2.

The text:ignore-case attribute has the data type boolean 18.3.3.

19.820 text:institution

The text:institution attribute specifies an institution for a bibliography index entry.

The text:institution attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:institution attribute has the data type string 18.2.

19.821 text:is-hidden

The text:is-hidden attribute specifies whether a field or paragraph is currently visible.

Note: The value of this attribute is overwritten with a new value as soon as the consumer evaluates the expression.

The defined values for the text:is-hidden attribute are:

The text:is-hidden attribute is usable with the following elements: <text:hidden-paragraph> 7.7.11 and <text:hidden-text> 7.7.4.

The text:is-hidden attribute has the data type boolean 18.3.3.

19.822 text:is-list-header

The text:is-list-header attribute specifies the appearance of a specific heading without numbering.

The defined values for the text:is-list-header attribute are:

The default value for this attribute is false.

The text:is-list-header attribute is usable with the following element: <text:h> 5.1.2.

The text:is-list-header attribute has the data type boolean 18.3.3.

19.823 text:isbn

The text:isbn attribute specifies an ISBN for a bibliography index entry.

The text:isbn attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:isbn attribute has the data type string 18.2.

19.824 text:issn

The text:issn attribute specifies an ISSN for a bibliography index entry.

The text:issn attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:issn attribute has the data type string 18.2.

19.825 text:journal

The text:journal attribute specifies a journal for a bibliography index entry.

The text:journal attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:journal attribute has the data type string 18.2.

19.826 text:key

The text:key attribute specifies a type for the index entries that should be used for sorting. See 8.1.11.

The defined values for the text:key attribute are:

The text:key attribute is usable with the following element: <text:sort-key> 16.31.7.

The values of the text:key attribute are address, annote, author, bibliography-type, booktitle, chapter, custom1, custom2, custom3, custom4, custom5, edition, editor, howpublished, identifier, institution, isbn, issn, journal, month, note, number, organizations, pages, publisher, report-type, school, series, title, url, volume or year.

19.827 text:key1

The text:key1 attribute specifies an additional key for an alphabetical index mark. If only one key is used, it shall be contained in a text:key1 attribute.

The text:key1 attribute is usable with the following elements: <text:alphabetical-index-mark> 8.1.10 and <text:alphabetical-index-mark-start> 8.1.8.

The text:key1 attribute has the data type string 18.2.

19.828 text:key2

The text:key2 attribute specifies an additional key for an alphabetical index mark.

The text:key2 attribute is usable with the following elements: <text:alphabetical-index-mark> 8.1.10 and <text:alphabetical-index-mark-start> 8.1.8.

The text:key2 attribute has the data type string 18.2.

19.829 text:key1-phonetic

The text:key1-phonetic attribute specifies a phonetic key for <text:alphabetical-index-mark> and <text:alphabetical-index-mark-start> elements. Phonetic keys should be used for sorting.

The text:key1-phonetic attribute is usable with the following elements: <text:alphabetical-index-mark> 8.1.10 and <text:alphabetical-index-mark-start> 8.1.8.

The text:key1-phonetic attribute has the data type string 18.2.

19.830 text:key2-phonetic

The text:key2-phonetic attribute specifies an additional phonetic key for <text:alphabetical-index-mark> and <text:alphabetical-index-mark-start> elements.

The text:key2-phonetic attribute is usable with the following elements: <text:alphabetical-index-mark> 8.1.10 and <text:alphabetical-index-mark-start> 8.1.8.

The text:key2-phonetic attribute has the data type string 18.2.

19.831 text:kind

The text:kind attribute specifies which part of a measure is displayed.

The defined values for the text:kind attribute are:

Note: The purpose of the gap value is add space between the measure line and the text if the text is displayed perpendicular to the measure line.

The text:kind attribute is usable with the following element: <text:measure> 7.7.13.

The values of the text:kind attribute are value, unit or gap.

19.832 text:label

The text:label attribute specifies a label for user -nserted notes in a document. If this attribute is omitted, the element content is used.

The text:label attribute is usable with the following element: <text:note-citation> 6.3.3.

The text:label attribute has the data type string 18.2.

19.833 text:label-followed-by

The text:label-followed-by attribute specifies a character that is inserted following a list label.

The defined values for the text:label-followed-by attribute are:

The text:label-followed-by attribute is usable with the following element: <style:list-level-label-alignment> 17.20.

The values of the text:label-followed-by attribute are listtab, space or nothing.

19.834 text:level

The text:level attribute specifies the level of an outline or number list style.

For a <text:numbered-paragraph> 5.3.6 element the default value for this attribute is 1.

The text:level attribute is usable with the following elements: <text:list-level-style-bullet> 16.33, <text:list-level-style-image> 16.35, <text:list-level-style-number> 16.34, <text:numbered-paragraph> 5.3.6 and <text:outline-level-style> 16.37.

The text:level attribute has the data type positiveInteger 18.2.

19.835 text:list-id (deprecated)

The text:list-id attribute is deprecated, because only the deprecated element <text:numbered-paragraph> uses it.

The text:list-id attribute specifies an id that is used to group numbered paragraphs form a list. All numbered paragraphs with the same text:list-id value belong to one list. This list defines the counter domain for the numbered paragraphs. In this context, a list is defined as a number of list items, spanning multiple levels. As with lists in <text:list> 5.3.1 representation the list style of the first numbered paragraph at every list level is used for the start value.

The text:list-id attribute did not exist in OpenDocument v1.0 and v1.1. For such text documents which do not contain the text:list-id attribute the following rules are applied to form a list from a group of numbered paragraphs:

  • A series of numbered paragraphs each using the same list style belong to the same list. 

  • A numbered paragraph that does not have a text:list-id gets the text:list-id of the last numbered paragraph on the same list level using the same list style. If the previous numbered-paragraph has a different list style, then a new list is started. 

The text:list-id attribute is usable with the following element: <text:numbered-paragraph> 5.3.6.

The text:list-id attribute has the data type NCName 18.2.

19.836 text:list-tab-stop-position

The text:list-tab-stop-position attribute specifies an additional tab stop which is inserted into the list of tab stops that are defined for a list item. By default the tab stop's position is following the list label. The text of the first line of list item starts at this tab stop. In left-to-right layout environments this tab stop is interpreted as a left tab. While in right-to-left layout environments it is interpreted as a right tab.

The text:list-tab-stop-position attribute is ignored unless the text:label-followed-by attribute has the value listtab.

There are two cases in which this additional tab stop does not specify the start the of the text of the first line of the list item:

In these cases, the tab character that is inserted following the list label advances to the next tab stop, or a default tab stop if none exists. However, other tab stops contained in the list item's text may advance to the additional list tab stop. The additional tab stop is further applied to the full text of tab stop, that is, not only the first line.

The text:list-tab-stop-position attribute is usable with the following element: <style:list-level-label-alignment> 17.20.

The text:list-tab-stop-position attribute has the data type length 18.3.18.

19.837 text:main-entry

The text:main-entry attribute specifies which of multiple index marks for the same entry is the main entry.

The defined values for the text:main-entry attribute are:

The default value for this attribute is false.

The text:main-entry attribute is usable with the following elements: <text:alphabetical-index-mark> 8.1.10 and <text:alphabetical-index-mark-start> 8.1.8.

The text:main-entry attribute has the data type boolean 18.3.3.

19.838 text:main-entry-style-name

The text:main-entry-style-name attribute specifies the character style to use for main entries. Sub entries are formatted using the default character style determined by the paragraph style of the entries.

The text:main-entry-style-name attribute is usable with the following element: <text:alphabetical-index-source> 8.8.2.

The text:main-entry-style-name attribute has the data type styleNameRef 18.3.32.

19.839 text:master-page-name

The text:master-page-name attribute specifies the name of a master page.

For <text:page> elements 5.2.2, the attribute specifies the name of the master page which is used to format the page.

For <text:notes-configuration> elements 16.31.3, the attributes specifies the master page which is used to format the pages on which the notes are displayed.

The text:master-page-name attribute is usable with the following elements: <text:notes-configuration> 16.31.3 and <text:page> 5.2.2.

The text:master-page-name attribute has the data type styleNameRef 18.3.32.

19.840 text:month

The text:month attribute specifies a month for a bibliography index entry.

The text:month attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:month attribute has the data type string 18.2.

19.841 text:name

19.841.1 General

The text:name attribute specifies a name.

19.841.2 <text:alphabetical-index>

The text:name attribute specifies a unique name for an alphabetical index.

The text:name attribute is usable with the following element: <text:alphabetical-index> 8.8.

The text:name attribute has the data type string 18.2.

19.841.3 <text:bibliography>

The text:name attribute specifies a unique name for a bibliography.

The text:name attribute is usable with the following element: <text:bibliography> 8.9.

The text:name attribute has the data type string 18.2.

19.841.4 <text:bookmark>

The text:name attribute specifies a name for a bookmark.

The text:name attribute is usable with the following element: <text:bookmark> 6.2.1.2.

The text:name attribute has the data type string 18.2.

19.841.5 <text:bookmark-end>

The text:name attribute specifies a name that shall match the text:name attribute on only one <text:bookmark-start> 6.2.1.3 element in a document.

The text:name attribute is usable with the following element: <text:bookmark-end> 6.2.1.4.

The text:name attribute has the data type string 18.2.

19.841.6 <text:bookmark-start>

The text:name attribute specifies a name that shall match the text:name attribute on only one <text:bookmark-end> 6.2.1.4 element in a document.

The text:name attribute is usable with the following element: <text:bookmark-start> 6.2.1.3.

The text:name attribute has the data type string 18.2.

19.841.7 <text:drop-down>

The text:name attribute specifies a unique name for a drop-down list input field.

The text:name attribute is usable with the following element: <text:drop-down> 7.4.16.

The text:name attribute has the data type string 18.2.

19.841.8 <text:execute-macro>

The text:name attribute specifies a macro to invoke when a field is activated.

The text:name attribute is usable with the following element: <text:execute-macro> 7.7.10.

The text:name attribute has the data type string 18.2.

19.841.9 <text:illustration-index>

The text:name attribute specifies a unique name for an illustration index.

The text:name attribute is usable with the following element: <text:illustration-index> 8.4.

The text:name attribute has the data type string 18.2.

19.841.10 <text:index-title>

The text:name attribute specifies a unique name for an index title.

The text:name attribute is usable with the following element: <text:index-title> 8.2.3.

The text:name attribute has the data type string 18.2.

19.841.11 <text:object-index>

The text:name attribute specifies a unique name for an object index.

The text:name attribute is usable with the following element: <text:object-index> 8.6.

The text:name attribute has the data type string 18.2.

19.841.12 <text:reference-mark>

The text:name attribute specifies a unique name for reference elements.

The text:name attribute is usable with the following element: <text:reference-mark> 6.2.2.2.

The text:name attribute has the data type string 18.2.

19.841.13 <text:reference-mark-end>

The text:name attribute specifies a name that shall match the text:name attribute on only one <text:reference-mark-start> 6.2.2.3 element in a document.

The text:name attribute is usable with the following element: <text:reference-mark-end> 6.2.2.4.

The text:name attribute has the data type string 18.2.

19.841.14 <text:reference-mark-start>

The text:name attribute specifies a name that shall match the text:name attribute on only one <text:reference-mark-end> 6.2.2.4 element in a document.

The text:name attribute is usable with the following element: <text:reference-mark-start> 6.2.2.3.

The text:name attribute has the data type string 18.2.

19.841.15 <text:section>

The text:name attribute specifies a unique name for a section.

The text:name attribute is usable with the following element: <text:section> 5.4.

The text:name attribute has the data type string 18.2.

19.841.16 <text:sequence>

The text:name attribute specifies name of a variable to display. It shall match the name of a sequence variable already declared by a preceding <text:sequence-decl> 7.4.12 element.

The text:name attribute is usable with the following element: <text:sequence> 7.4.13.

The text:name attribute has the data type variableName 18.3.39.

19.841.17 <text:sequence-decl>

The text:name attribute specifies a unique name of a variable to be declared.

The text:name attribute is usable with the following element: <text:sequence-decl> 7.4.12.

The text:name attribute has the data type variableName 18.3.39.

19.841.18 <text:table-of-content>

The text:name attribute specifies a unique name for a <text:table-of-content> element.

The text:name attribute is usable with the following element: <text:table-of-content> 8.3.

The text:name attribute has the data type string 18.2.

19.841.19 <text:table-index>

The text:name attribute specifies a unique name for a table index.

The text:name attribute is usable with the following element: <text:table-index> 8.5.

The text:name attribute has the data type string 18.2.

19.841.20 <text:user-defined>

 The text:name attribute specifies a name that corresponds to the value of a meta:name attribute on a <meta:user-defined> element.

The text:name attribute is usable with the following element: <text:user-defined> 7.5.6.

The text:name attribute has the data type string 18.2.

19.841.21 <text:user-field-decl>

The text:name attribute specifies a unique name for a user-defined field declaration.

The text:name attribute is usable with the following element: <text:user-field-decl> 7.4.8.

The text:name attribute has the data type variableName 18.3.39.

19.841.22 <text:user-field-get>

The text:name attribute specifies the name of a user-defined field that shall be declared already by a preceding <text:user-field-decl> 7.4.8 element.

The text:name attribute is usable with the following element: <text:user-field-get> 7.4.9.

The text:name attribute has the data type variableName 18.3.39.

19.841.23 <text:user-field-input>

The text:name attribute specifies the name of a user-defined field that shall be declared already by a preceding <text:user-field-decl> 7.4.8 element.

The text:name attribute is usable with the following element: <text:user-field-input> 7.4.10.

The text:name attribute has the data type variableName 18.3.39.

19.841.24 <text:user-index>

The text:name attribute specifies a unique name for a user-specified index.

The text:name attribute is usable with the following element: <text:user-index> 8.7.

The text:name attribute has the data type string 18.2.

19.841.25 <text:variable-set>

The text:name attribute specifies a variable name that shall match a variable name already declared by a preceding <text:variable-decl> 7.4.3 element.

The text:name attribute is usable with the following element: <text:variable-set> 7.4.4.

The text:name attribute has the data type variableName 18.3.39.

19.841.26 <text:variable-decl>

The text:name attribute specifies a unique name for a variable declaration.

The text:name attribute is usable with the following element: <text:variable-decl> 7.4.3.

The text:name attribute has the data type variableName 18.3.39.

19.841.27 <text:variable-get>

The text:name attribute specifies a variable name that shall match a preceding <text:variable-decl> 7.4.3 element.

The text:name attribute is usable with the following element: <text:variable-get> 7.4.5.

The text:name attribute has the data type variableName 18.3.39.

19.841.28 <text:variable-input>

The text:name attribute specifies a variable name that shall match the name of variable already declared by a preceding <text:variable-decl> 7.4.3 element.

The text:name attribute is usable with the following element: <text:variable-input> 7.4.6.

The text:name attribute has the data type variableName 18.3.39.

19.842 text:note

The text:note attribute specifies a note for a bibliography index entry.

The text:note attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:note attribute has the data type string 18.2.

19.843 text:note-class

The text:note-class attribute specifies the class of a note.

The defined values for the text:note-class attribute are:

The text:note-class attribute is usable with the following elements: <text:note> 6.3.2, <text:note-ref> 7.7.7 and <text:notes-configuration> 16.31.3.

The values of the text:note-class attribute are footnote or endnote.

19.844 text:number

The text:number attribute specifies a number for a bibliography index entry.

The text:number attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:number attribute has the data type string 18.2.

19.845 text:number-lines

The text:number-lines attribute specifies whether lines are numbered.

The defined values for the text:number-lines attribute are:

For a <text:linenumbering-configuration> 16.31.1 element the default value for this attribute is true.

The text:number-lines attribute is usable with the following element: <text:linenumbering-configuration> 16.31.1.

The text:number-lines attribute has the data type boolean 18.3.3.

19.846 text:number-position

The text:number-position attribute specifies in which margin of a page line numbers appear.

The defined values for the text:number-position attribute are:

The default value for this attribute is left.

The text:number-position attribute is usable with the following element: <text:linenumbering-configuration> 16.31.1.

The values of the text:number-position attribute are left, right, inner or outer.

19.847 text:numbered-entries

The text:numbered-entries attribute specifies whether a number is displayed for bibliography entries instead of their short name.

The defined values for the text:numbered-entries attribute are:

The default value for this attribute is false.

The text:numbered-entries attribute is usable with the following element: <text:bibliography-configuration> 16.31.6.

The text:numbered-entries attribute has the data type boolean 18.3.3.

19.848 text:offset

The text:offset attribute specifies the distance between a line number and the margin.

The text:offset attribute is usable with the following element: <text:linenumbering-configuration> 16.31.1.

The text:offset attribute has the data type nonNegativeLength 18.3.20.

19.849 text:organizations

The text:organizations attribute specifies one or more organizations for a bibliography index entry.

The text:organizations attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:organizations attribute has the data type string 18.2.

19.850 text:outline-level

19.850.1 General

The text:outline-level attribute specifies an outline level.

19.850.2 <text:alphabetical-index-entry-template>

The text:outline-level attribute specifies the level to which a template applies.

The defined values for the text:outline-level attribute are:

The text:outline-level attribute is usable with the following element: <text:alphabetical-index-entry-template> 8.8.4.

The values of the text:outline-level attribute are 1, 2, 3 or separator.

19.850.3 <text:chapter>

The text:outline-level attribute specifies an outline level to use. The <text:chapter> element displays a chapter number or title up to the specified outline level.

The text:outline-level attribute is usable with the following element: <text:chapter> 7.3.8.

The text:outline-level attribute has the data type nonNegativeInteger 18.2.

19.850.4 <text:h>

The text:outline-level attribute specifies the level of a heading, starting with 1. Headings without a level attribute are assumed to be at level 1.

The text:outline-level attribute is usable with the following element: <text:h> 5.1.2.

The text:outline-level attribute has the data type positiveInteger 18.2.

19.850.5 <text:index-entry-chapter>

The text:outline-level attribute specifies an outline level for an index entry.

The text:outline-level attribute is usable with the following element: <text:index-entry-chapter> 8.13.1.

The text:outline-level attribute has the data type positiveInteger 18.2.

19.850.6 <text:index-source-styles>

The text:outline-level attribute specifies an outline level for an index entry.

The text:outline-level attribute is usable with the following element: <text:index-source-styles> 8.10.

The text:outline-level attribute has the data type positiveInteger 18.2.

19.850.7 <text:user-index-mark>

The text:outline-level attribute specifies an outline level for an index entry.

The text:outline-level attribute is usable with the following element: <text:user-index-mark> 8.1.7.

The text:outline-level attribute has the data type positiveInteger 18.2.

19.850.8 <text:table-of-content-entry-template>

The text:outline-level attribute specifies to which outline level an entry configuration applies. Outline levels shall be unique for the template elements in one index source.

The text:outline-level attribute is usable with the following element: <text:table-of-content-entry-template> 8.3.3.

The text:outline-level attribute has the data type positiveInteger 18.2.

19.850.9 <text:table-of-content-source>

The text:outline-level attribute specifies which outline levels are used when generating a table of contents. The value of this attribute shall be an integer greater than zero. If this attribute is omitted, all outline levels are used by default.

The text:outline-level attribute is usable with the following element: <text:table-of-content-source> 8.3.2.

The text:outline-level attribute has the data type positiveInteger 18.2.

19.850.10 <text:toc-mark>

The text:outline-level attribute specifies an outline level for a table of contents index entry.

The text:outline-level attribute is usable with the following element: <text:toc-mark> 8.1.4.

The text:outline-level attribute has the data type positiveInteger 18.2.

19.850.11 <text:toc-mark-start>

The text:outline-level attribute specifies an outline level for a table of contents index entry.

The text:outline-level attribute is usable with the following element: <text:toc-mark-start> 8.1.2.

The text:outline-level attribute has the data type positiveInteger 18.2.

19.850.12 <text:user-index-entry-template>

The text:outline-level attribute specifies the template applied to entries at a specified outline level in a user-defined index. All <text:user-index-entry-template> elements that are contained in the same parent element shall specify different outline levels.

The text:outline-level attribute is usable with the following element: <text:user-index-entry-template> 8.7.3.

The text:outline-level attribute has the data type positiveInteger 18.2.

19.850.13 <text:user-index-mark-start>

The text:outline-level attribute specifies an outline level for a user index entry.

The text:outline-level attribute is usable with the following element: <text:user-index-mark-start> 8.1.5.

The text:outline-level attribute has the data type positiveInteger 18.2.

19.851 text:page-adjust

19.851.1 General

The text:page-adjust attribute specifies an adjustment to page numbering.

19.851.2 <text:page-number>

The text:page-adjust attribute specifies an adjustment of the value of a page number field, to display of page numbers of following or preceding pages. The specified value is added to the current page number. If a page with the resulting page number does not exist, no number is displayed.

The text:page-adjust attribute is usable with the following element: <text:page-number> 7.3.4.

The text:page-adjust attribute has the data type integer 18.2.

19.851.3 <text:page-variable-set>

The text:page-adjust attribute specifies a page adjustment. The value of an active page variable is the current page number plus any page adjustment value immediately prior to the occurrence of this variable in document order.

The text:page-adjust attribute is usable with the following element: <text:page-variable-set> 7.7.1.2.

The text:page-adjust attribute has the data type integer 18.2.

19.852 text:pages

The text:pages attribute specifies the page number or page numbers for a bibliography index entry.

The text:pages attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:pages attribute has the data type string 18.2.

19.853 text:placeholder-type

The text:placeholder-type attribute specifies the content type of a placeholder.

The defined values for the text:placeholder-type attribute are:

The text:placeholder-type attribute is usable with the following element: <text:placeholder> 7.7.2.

The values of the text:placeholder-type attribute are text, table, text-box, image or object.

19.854 text:prefix

The text:prefix attribute specifies a string that is displayed before a bibliography entry's short name or number if it occurs outside the bibliography.

The text:prefix attribute is usable with the following element: <text:bibliography-configuration> 16.31.6.

The text:prefix attribute has the data type string 18.2.

19.855 text:protected

The text:protected attribute specifies whether a section is protected. A section can be protected, which means that a user cannot edit the section. The protection is enforced by the user interface only.

Note: If the section is protected and the text:protection-key 19.856 attribute is present, an authorization is required for resetting the protection to enable editing.

The defined values for the text:protected attribute are:

  • false: section is not protected from editing. 

  • true: section is protected from editing. 

The text:protected attribute is usable with the following elements: <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:illustration-index> 8.4, <text:index-title> 8.2.3, <text:object-index> 8.6, <text:section> 5.4, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

The text:protected attribute has the data type boolean 18.3.3.

19.856 text:protection-key

The text:protection-key attribute, when present, specifies that an authorization is required for removing the protection of a section. The authentication procedure is identified by the text:protection-key-digest-algorithm attribute 19.857 The attribute value is binary data that may be used by the authentication procedure.

The password shall be provided as a sequence of bytes in UTF-8 encoding.

The text:protection-key attribute is usable with the following elements: <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:illustration-index> 8.4, <text:index-title> 8.2.3, <text:object-index> 8.6, <text:section> 5.4, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

The text:protection-key attribute has the data type string 18.2.

19.857 text:protection-key-digest-algorithm

The text:protection-key-digest-algorithm attribute value is an IRI that identifies an authentication procedure for removing a protection.

If the IRI identifies a message-digest algorithm specified in §5.7 of [xmlenc-core], the value of text:protection-key 19.856 attribute shall be the hash value of the password that is required to authorize removal of the protection. The password shall be provided as a sequence of bytes in UTF-8 encoding.

Any other procedures, their identifying IRIs, and their application of text:protection-key values are implementation-defined.

Consumers shall support http://www.w3.org/2000/09/xmldsig#sha1, which is the default, and http://www.w3.org/2000/09/xmldsig#sha256. They may support other algorithms described in §5.7 of [xmlenc-core] or alternative procedures. Producers should use http://www.w3.org/2000/09/xmldsig#sha256.

The default value for this attribute is http://www.w3.org/2000/09/xmldsig#sha1.

The text:protection-key-digest-algorithm attribute is usable with the following elements: <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:illustration-index> 8.4, <text:index-title> 8.2.3, <text:object-index> 8.6, <text:section> 5.4, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

The text:protection-key-digest-algorithm attribute has the data type anyIRI 18.3.2.

19.858 text:publisher

The text:publisher attribute specifies a publisher for a bibliography index entry.

The text:publisher attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:publisher attribute has the data type string 18.2.

19.859 text:ref-name

19.859.1 General

The text:ref-name attribute specifies a name that is used as a reference.

19.859.2 <text:bookmark-ref>

The text:ref-name attribute references a <text:bookmark> 6.2.1.2 or <text:bookmark-start> 6.2.1.3 element by the value of that element's text:name 6.2.1.3 attribute.

The text:ref-name attribute is usable with the following element: <text:bookmark-ref> 7.7.6.

The text:ref-name attribute has the data type string 18.2.

19.859.3 <text:note-ref>

The text:ref-name attribute references a <text:note> 19.842 element by the value of that element's text:id 19.815 attribute.

The text:ref-name attribute is usable with the following element: <text:note-ref> 7.7.7.

The text:ref-name attribute has the data type string 18.2.

19.859.4 <text:reference-ref>

The text:ref-name attribute references a <text:reference-mark> 6.2.2.2 or <text:reference-mark-start> 6.2.2.3 element by the value of that element's text:name 19.841 attribute.

The text:ref-name attribute identifies the element referenced by this reference field element.

The text:ref-name attribute is usable with the following element: <text:reference-ref> 7.7.5.

The text:ref-name attribute has the data type string 18.2.

19.859.5 <text:sequence>

The text:ref-name attribute specifies the name for a sequence field that is the target of a reference field. No two sequence fields can have the same reference name.

If a sequence field is not the target of a reference, this attribute can be omitted.

The text:ref-name attribute is usable with the following element: <text:sequence> 7.4.13.

The text:ref-name attribute has the data type string 18.2.

19.859.6 <text:sequence-ref>

The text:ref-name attribute references a <text:sequence> 7.4.13 element by the value of that element's text:ref-name 7.4.13 attribute.

The text:ref-name attribute is usable with the following element: <text:sequence-ref> 7.7.8.

The text:ref-name attribute has the data type string 18.2.

19.860 text:reference-format

The text:reference-format attribute specifies what information about a reference is displayed. If the reference format is not specified, the page format is used as the default.

The defined values for the text:reference-format attribute supported by all reference fields are:

Additional defined values for the text:reference-format attribute supported by references to sequence fields are:

References to bookmarks and other references support additional values, which display the list label of the referenced item. If the referenced item is contained in a list or a numbered paragraph, the list label is the formatted number of the paragraph which contains the referenced item. If the referenced item is not contained in a list or numbered paragraph, the list label is empty, and the referenced field therefore displays nothing. If the referenced bookmark or reference contains more than one paragraph, the list label of the paragraph at which the bookmark or reference starts is taken.

Additional defined values for the text:reference-format attribute supported by all references to bookmarks or other reference fields are:

The text:reference-format attribute is usable with the following elements: <text:bookmark-ref> 7.7.6, <text:note-ref> 7.7.7, <text:reference-ref> 7.7.5 and <text:sequence-ref> 7.7.8.

For <text:reference-ref> 7.7.5 elements, the values of the text:reference-format attribute are page, chapter, direction, text, number-no-superior, number-all-superior or number.

For <text:bookmark-ref> 7.7.6 elements, the values of the text:reference-format attribute are page, chapter, direction, text, number-no-superior, number-all-superior or number.

The values of the text:reference-format attribute are page, chapter, direction or text.

For <text:sequence-ref> 7.7.8 elements, the values of the text:reference-format attribute are page, chapter, direction, text, category-and-value, caption or value.

19.861 text:relative-tab-stop-position

The text:relative-tab-stop-position attribute specifies whether the position of tab stops is relative to the left margin or to the left indent as determined by the paragraph style. It is used in the specification for the generation of index entries and table of content entries.

The defined values for the text:relative-tab-stop-position attribute are:

The default value for this attribute is true.

The text:relative-tab-stop-position attribute is usable with the following elements: <text:alphabetical-index-source> 8.8.2, <text:illustration-index-source> 8.4.2, <text:object-index-source> 8.6.2, <text:table-index-source> 8.5.2, <text:table-of-content-source> 8.3.2 and <text:user-index-source> 8.7.2.

The text:relative-tab-stop-position attribute has the data type boolean 18.3.3.

19.862 text:report-type

The text:report-type attribute specifies a report type for a bibliography index entry.

The text:report-type attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:report-type attribute has the data type string 18.2.

19.863 text:restart-numbering

The text:restart-numbering attribute specifies whether to restart the numbering of headings.

The defined values for the text:restart-numbering attribute are:

The default value for this attribute is false.

The text:restart-numbering attribute is usable with the following element: <text:h> 5.1.2.

The text:restart-numbering attribute has the data type boolean 18.3.3.

19.864 text:restart-on-page

The text:restart-on-page attribute specifies whether the line count is reset to 1 at the start of every page.

If the value of this attribute is true, the line count is reset to 1 at the beginning of every page, resulting in page-specific numbering of lines. The default value of this attribute is false, resulting in document-specific numbering of lines.

The defined values for the text:restart-on-page attribute are:

The default value for this attribute is false.

The text:restart-on-page attribute is usable with the following element: <text:linenumbering-configuration> 16.31.1.

The text:restart-on-page attribute has the data type boolean 18.3.3.

19.865 text:row-number

The text:row-number attribute specifies a row number to select when a condition is true.

The text:row-number attribute is usable with the following element: <text:database-row-select> 7.6.5.

The text:row-number attribute has the data type nonNegativeInteger 18.2.

19.866 text:school

The text:school attribute specifies a school for a bibliography index entry.

The text:school attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:school attribute has the data type string 18.2.

19.867 text:section-name

The text:section-name attribute specifies a section to which a section is linked by its name. The referenced section occurs either in the document referenced by the xlink:href 19.916 attribute on the same <text:section-source> element, or in the same document if the xlink:href 19.916 attribute is not present.

If the text:section-name attribute is not present, the section is linked to the entire document referenced by the xlink:href attribute, unless the xlink:href attribute contains a fragment identifier. If neither the xlink:href attribute nor the text:section-name attribute is present, the <text:section-source> element shall be ignored.

The text:section-name attribute is usable with the following element: <text:section-source> 5.4.2.

The text:section-name attribute has the data type string 18.2.

19.868 text:series

The text:series attribute specifies the series for a bibliography index entry.

The text:series attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:series attribute has the data type string 18.2.

19.869 text:select-page

19.869.1 General

The text:select-page attribute specifies conditional display of text.

19.869.2 <text:page-continuation>

The text:select-page attribute specifies whether to check for a previous or next page and if that page exists, continuation text is displayed.

The defined values for the text:select-page attribute are:

The text:select-page attribute is usable with the following element: <text:page-continuation> 7.3.5.

The values of the text:select-page attribute are previous or next.

19.869.3 <text:page-number>

The text:select-page attribute specifies whether to display or not the number of a previous or following page rather than the number of the current page.

The defined values for the text:select-page attribute are:

Note: To display the current page number on all pages except the first or last page, use a combination of the text:select-page and text:page-adjust 19.851 attributes.

The text:select-page attribute is usable with the following element: <text:page-number> 7.3.4.

The values of the text:select-page attribute are previous, current or next.

19.870 text:separation-character

The text:separation-character attribute specifies the character used to separate values representing levels in an outline.

If the value of the text:display-outline-level attribute is a non-zero value, a separation character may be specified. The default separation character is "." (U+002E, FULL STOP). If the value of text:display-outline-level 19.851 is zero, this attribute shall be omitted.

The text:separation-character attribute is usable with the following element: <text:sequence-decl> 7.4.12.

The text:separation-character attribute has the data type character 18.3.7.

19.871 text:sort-algorithm

The text:sort-algorithm specifies a locale-specific sorting algorithm by name.

The text:sort-algorithm attribute is usable with the following elements: <text:alphabetical-index-source> 8.8.2 and <text:bibliography-configuration> 16.31.6.

The text:sort-algorithm attribute has the data type string 18.2.

19.872 text:sort-ascending

The text:sort-ascending attribute specifies whether locale-specific sorting takes place in ascending or descending order.

The defined values for the text:sort-ascending attribute are:

The default value for this attribute is true.

The text:sort-ascending attribute is usable with the following element: <text:sort-key> 16.31.7.

The text:sort-ascending attribute has the data type boolean 18.3.3.

19.873 text:sort-by-position

The text:sort-by-position attribute specifies whether bibliography entries are displayed in the order of their positions in the document, or by selected fields.

The defined values for the text:sort-by-position attribute are:

The default value for this attribute is true.

The text:sort-by-position attribute is usable with the following element: <text:bibliography-configuration> 16.31.6.

The text:sort-by-position attribute has the data type boolean 18.3.3.

19.874 text:start-value

19.874.1 General

The text:start-value attribute specifies the value for starting or restarting numbering..

19.874.2 <text:h>

The text:start-value attribute specifies a value that restarts numbering at the current heading.

The text:start-value attribute is usable with the following element: <text:h> 5.1.2.

The text:start-value attribute has the data type nonNegativeInteger 18.2.

19.874.3 <text:list-item>

The text:start-value attribute specifies a value that restarts numbering of a list at the current item. This attribute can only be applied to items in a list with a numbering list style.

The text:start-value attribute is usable with the following element: <text:list-item> 5.3.4.

The text:start-value attribute has the data type nonNegativeInteger 18.2.

19.874.4 <text:list-level-style-number>

The text:start-value attribute specifies a value that restarts numbering at the current list level.

For a <text:list-level-style-number> 16.34 element the default value for this attribute is 1.

The text:start-value attribute is usable with the following element: <text:list-level-style-number> 16.34.

The text:start-value attribute has the data type positiveInteger 18.2.

19.874.5 <text:notes-configuration>

The text:start-value attribute specifies the value at which note numbering starts.

For a <text:notes-configuration> 16.31.3 element the default value for this attribute is 1.

The text:start-value attribute is usable with the following element: <text:notes-configuration> 16.31.3.

The text:start-value attribute has the data type nonNegativeInteger 18.2.

19.874.6 <text:numbered-paragraph> (deprecated)

The text:start-value attribute specifies a value that restarts numbering of a numbered paragraph at the current item.

The text:start-value attribute is usable with the following element: <text:numbered-paragraph> 5.3.6.

The text:start-value attribute has the data type nonNegativeInteger 18.2.

19.874.7 <text:outline-level-style>

The text:start-value attribute specifies the first number of a heading item at the current level.

For a <text:outline-level-style> 16.37 element the default value for this attribute is 1.

The text:start-value attribute is usable with the following element: <text:outline-level-style> 16.37.

The text:start-value attribute has the data type positiveInteger 18.2.

19.875 text:start-numbering-at

The text:start-numbering-at attribute specifies if footnote numbers start with a new number at the beginning of the document or at the beginning of each chapter or page.

The defined values for the text:start-numbering-at attribute are:

The text:start-numbering-at attribute is usable with the following element: <text:notes-configuration> 16.31.3.

The values of the text:start-numbering-at attribute are document, chapter or page.

19.876 text:string-value-phonetic

The text:string-value-phonetic attribute specifies a phonetic description of a word.

The text:string-value-phonetic attribute is usable with the following elements: <text:alphabetical-index-mark> 8.1.10 and <text:alphabetical-index-mark-start> 8.1.8.

The text:string-value-phonetic attribute has the data type string 18.2.

19.877 text:string-value

19.877.1 General

The text:string-value attribute specifies text for display.

19.877.2 <text:alphabetical-index-mark>

The text:string-value attribute specifies text to be displayed in an alphabetical index.

The text:string-value attribute is usable with the following element: <text:alphabetical-index-mark> 8.1.10.

The text:string-value attribute has the data type string 18.2.

19.877.3 <text:hidden-text>

The text:string-value attribute specifies the text to display if a text:condition attribute has the value of false. If this attribute is omitted, the element content is used.

The text:string-value attribute is usable with the following element: <text:hidden-text> 7.7.4.

The text:string-value attribute has the data type string 18.2.

19.877.4 <text:page-continuation>

The text:string-value attribute specifies continuation text to display. If this attribute is omitted, the element content is used.

The text:string-value attribute is usable with the following element: <text:page-continuation> 7.3.5.

The text:string-value attribute has the data type string 18.2.

19.877.5 <text:toc-mark>

The text:string-value attribute specifies text to be displayed in a table of contents.

The text:string-value attribute is usable with the following element: <text:toc-mark> 8.1.4.

The text:string-value attribute has the data type string 18.2.

19.877.6 <text:user-index-mark>

The text:string-value attribute specifies text to be displayed in an index.

The text:string-value attribute is usable with the following element: <text:user-index-mark> 8.1.7.

The text:string-value attribute has the data type string 18.2.

19.878 text:string-value-if-false

The text:string-value-if-false attribute specifies text string to display if a condition is false.

The text:string-value-if-false attribute is usable with the following element: <text:conditional-text> 7.7.3.

The text:string-value-if-false attribute has the data type string 18.2.

19.879 text:string-value-if-true

The text:string-value-if-true attribute specifies a text string to display if a condition is true.

The text:string-value-if-true attribute is usable with the following element: <text:conditional-text> 7.7.3.

The text:string-value-if-true attribute has the data type string 18.2.

19.880 text:style-name

19.880.1 General

The text:style-name attribute specifies a style by name, with the additional requirement that the style belongs to a family that is consistent with the style's use.

19.880.2 <text:a>

The text:style-name attribute specifies a text style for an unvisited hyperlink.

The text:style-name attribute is usable with the following element: <text:a> 6.1.8.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.3 <text:alphabetical-index>

The text:style-name attribute specifies a section family style.

The text:style-name attribute is usable with the following element: <text:alphabetical-index> 8.8.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.4 <text:alphabetical-index-entry-template>

The text:style-name attribute specifies a paragraph family style.

The text:style-name attribute is usable with the following element: <text:alphabetical-index-entry-template> 8.8.4.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.5 <text:bibliography>

The text:style-name attribute specifies a section family style.

The text:style-name attribute is usable with the following element: <text:bibliography> 8.9.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.6 <text:bibliography-entry-template>

The text:style-name attribute specifies a paragraph family style.

The text:style-name attribute is usable with the following element: <text:bibliography-entry-template> 8.9.3.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.7 <text:h>

The text:style-name attribute specifies a paragraph family style. If a conditional style is applied, this attribute has the name of the style that was the result of the conditional style evaluation.

If both text:style-name and text:class-names 19.775 are present, the style referenced by the text:style-name attribute is treated as the first style in the list in text:class-names. Consumers should support the text:class-names attribute and also should preserve it while editing.

The text:style-name attribute is usable with the following element: <text:h> 5.1.2.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.8 <text:illustration-index>

The text:style-name attribute specifies a section family style.

The text:style-name attribute is usable with the following element: <text:illustration-index> 8.4.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.9 <text:illustration-index-entry-template>

The text:style-name attribute specifies a paragraph family style.

The text:style-name attribute is usable with the following element: <text:illustration-index-entry-template> 8.4.3.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.10 <text:index-entry-bibliography>

The text:style-name attribute specifies a character family style.

The text:style-name attribute is usable with the following element: <text:index-entry-bibliography> 8.13.5.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.11 <text:index-entry-chapter>

The text:style-name attribute specifies a character family style.

The text:style-name attribute is usable with the following element: <text:index-entry-chapter> 8.13.1.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.12 <text:index-entry-link-end>

The text:style-name attribute specifies a character family style.

The text:style-name attribute is usable with the following element: <text:index-entry-link-end> 8.13.8.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.13 <text:index-entry-link-start>

The text:style-name attribute specifies a character family style.

The text:style-name attribute is usable with the following element: <text:index-entry-link-start> 8.13.7.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.14 <text:index-entry-page-number>

The text:style-name attribute specifies a character family style.

The text:style-name attribute is usable with the following element: <text:index-entry-page-number> 8.13.3.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.15 <text:index-entry-span>

The text:style-name attribute specifies a character family style.

The text:style-name attribute is usable with the following element: <text:index-entry-span> 8.13.4.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.16 <text:index-entry-tab-stop>

The text:style-name attribute specifies a character family style.

The text:style-name attribute is usable with the following element: <text:index-entry-tab-stop> 8.13.6.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.17 <text:index-entry-text>

The text:style-name attribute specifies a character family style.

The text:style-name attribute is usable with the following element: <text:index-entry-text> 8.13.2.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.18 <text:index-source-style>

The text:style-name attribute specifies a paragraph family style.

The text:style-name attribute is usable with the following element: <text:index-source-style> 8.11.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.19 <text:index-title>

The text:style-name attribute specifies a section family style.

The text:style-name attribute is usable with the following element: <text:index-title> 8.2.3.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.20 <text:index-title-template>

The text:style-name attribute specifies a character family style.

The text:style-name attribute is usable with the following element: <text:index-title-template> 8.12.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.21 <text:linenumbering-configuration>

The text:style-name attribute specifies a character family style.

The text:style-name attribute is usable with the following element: <text:linenumbering-configuration> 16.31.1.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.22 <text:list>

The text:style-name attribute specifies the name of a list style that is applied to a list.

If this attribute is not included and therefore no list style is specified, one of the following actions is taken:

To determine which formatting properties are applied to a list, the list level and list style name are taken into account.

The text:style-name attribute is usable with the following element: <text:list> 5.3.1.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.23 <text:list-level-style-number>

The text:style-name attribute specifies a character family style.

The text:style-name attribute is usable with the following element: <text:list-level-style-number> 16.34.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.24 <text:list-level-style-bullet>

The text:style-name attribute specifies a character family style.

The text:style-name attribute is usable with the following element: <text:list-level-style-bullet> 16.33.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.25 <text:numbered-paragraph> (deprecated)

The text:style-name attribute specifies the name of a list style that is applied to a list.

If this attribute is not included and therefore no list style is specified, one of the following actions is taken:

To determine which formatting properties are applied to a list, the list level and list style name are taken into account.

The text:style-name attribute is usable with the following element: <text:numbered-paragraph> 5.3.6.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.26 <text:object-index>

The text:style-name attribute specifies a section family style.

The text:style-name attribute is usable with the following element: <text:object-index> 8.6.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.27 <text:object-index-entry-template>

The text:style-name attribute specifies a paragraph family style.

The text:style-name attribute is usable with the following element: <text:object-index-entry-template> 8.6.3.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.28 <text:outline-level-style>

The text:style-name attribute specifies a character family style.

The text:style-name attribute is usable with the following element: <text:outline-level-style> 16.37.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.29 <text:p>

The text:style-name attribute specifies a paragraph family style. If a conditional style is applied, this attribute has the name of the style that was the result of the conditional style evaluation.

If both text:style-name and text:class-names are present, the style referenced by the text:style-name attribute is treated as the first style in the list in text:class-names 19.775. Consumers should support the text:class-names attribute and also should preserve it while editing.

The text:style-name attribute is usable with the following element: <text:p> 5.1.3.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.30 <text:ruby>

The text:style-name attribute specifies a ruby family style.

The text:style-name attribute is usable with the following element: <text:ruby> 6.4.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.31 <text:ruby-text>

The text:style-name attribute specifies a character family style.

The text:style-name attribute is usable with the following element: <text:ruby-text> 6.4.3.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.32 <text:section>

The text:style-name attribute specifies a section family style.

The text:style-name attribute is usable with the following element: <text:section> 5.4.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.33 <text:span>

The text:style-name attribute specifies style for span which shall be a style with family of text.

If both text:style-name and text:class-names are present, the style referenced by the text:style-name attribute is treated as the first style in the list in text:class-names 19.775. Consumers should support the text:class-names attribute and also should preserve it while editing.

The text:style-name attribute is usable with the following element: <text:span> 6.1.7.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.34 <text:table-index-entry-template>

The text:style-name attribute specifies a paragraph family style.

The text:style-name attribute is usable with the following element: <text:table-index-entry-template> 8.5.3.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.35 <text:table-of-content>

The text:style-name attribute specifies a section family style.

The text:style-name attribute is usable with the following element: <text:table-of-content> 8.3.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.36 <text:table-of-content-entry-template>

The text:style-name attribute specifies a paragraph family style.

The text:style-name attribute is usable with the following element: <text:table-of-content-entry-template> 8.3.3.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.37 <text:table-index>

The text:style-name attribute specifies a section family style.

The text:style-name attribute is usable with the following element: <text:table-index> 8.5.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.38 <text:user-index>

The text:style-name attribute specifies a section family style.

The text:style-name attribute is usable with the following element: <text:user-index> 8.7.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.880.39 <text:user-index-entry-template>

The text:style-name attribute specifies a paragraph family style.

The text:style-name attribute is usable with the following element: <text:user-index-entry-template> 8.7.3.

The text:style-name attribute has the data type styleNameRef 18.3.32.

19.881 text:style-override

The text:style-override attribute specifies an override to the list style to be applied to a list item.

The text:style-override attribute is usable with the following element: <text:list-item> 5.3.4.

The text:style-override attribute has the data type styleNameRef 18.3.32.

19.882 text:suffix

The text:suffix attribute specifies a string that is displayed after a bibliography entry's short name or number if it occurs outside the bibliography.

The text:suffix attribute is usable with the following element: <text:bibliography-configuration> 16.31.6.

The text:suffix attribute has the data type string 18.2.

19.883 text:tab-ref

The text:tab-ref attribute contains the number of the tab-stop to which a tab character refers. The position 0 marks the start margin of a paragraph.

Note: The text:tab-ref attribute is only a hint to help non-layout-oriented consumers to determine the association of tab with tab-stop. Layout-oriented consumers should determine the tab positions based on the style information.

The text:tab-ref attribute is usable with the following element: <text:tab> 6.1.4.

The text:tab-ref attribute has the data type nonNegativeInteger 18.2.

19.884 text:table-name

The text:table-name attribute specifies a table within a source database.

The text:table-name attribute is usable with the following elements: <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6 and <text:database-row-select> 7.6.5.

The text:table-name attribute has the data type string 18.2.

19.885 text:table-type

The text:table-type attribute specifies the type of reference made to a database.

The defined values for the text:table-type attribute are:

  • table : the value of the text:table-name 19.884 attribute is the name of a database table. 

  • query : the value of the text:table-name attribute is the name of a database query. 

  • command : the value of the text:table-name attribute is an SQL statement. 

The text:table-type attribute is usable with the following elements: <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6 and <text:database-row-select> 7.6.5.

The values of the text:table-type attribute are table, query or command.

19.886 text:time-adjust

The text:time-adjust attribute specifies an adjustment of the value of a time by a specific time period. Positive values adjust the time to a time in the future, while negative values adjust the time to a time in the past. Duration values are truncated to full minutes.

Note: Truncation of time values is defined by number:truncate-on-overflow. 19.369

The text:time-adjust attribute is usable with the following element: <text:time> 7.3.3.

The text:time-adjust attribute has the data type duration 18.2.

19.887 text:time-value

The text:time-value attribute specifies the time at which a document was last edited.

If no value is specified, whether the field is marked as fixed or not, the current time is assumed.

The text:time-value attribute is usable with the following elements: <text:creation-time> 7.5.4, <text:modification-time> 7.5.15, <text:print-time> 7.5.7 and <text:time> 7.3.3.

The text:time-value attribute has the data type timeOrDateTime 18.3.36.

19.888 text:title

The text:title attribute specifies a title for a bibliography index entry.

The text:title attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:title attribute has the data type string 18.2.

19.889 text:track-changes

The text:track-changes attribute specifies whether changes to the document should be tracked and recorded.

The defined values for the text:track-changes attribute are:

The default value for this attribute is true.

The text:track-changes attribute is usable with the following element: <text:tracked-changes> 5.5.2.

The text:track-changes attribute has the data type boolean 18.3.3.

19.890 text:url

The text:url attribute specifies an IRI for a bibliography index entry.

The text:url attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:url attribute has the data type string 18.2.

19.891 text:use-caption

The text:use-caption attribute specifies whether captions or names of illustrations or tables are used for an index.

The defined values of the text:use-caption attribute are:

The default value for this attribute is true.

The text:use-caption attribute is usable with the following elements: <text:illustration-index-source> 8.4.2 and <text:table-index-source> 8.5.2.

The text:use-caption attribute has the data type boolean 18.3.3.

19.892 text:use-chart-objects

The text:use-chart-objects attribute specifies whether to include embedded chart objects in an index of objects.

The defined values for the text:use-chart-objects attribute are:

The default value for this attribute is false.

The text:use-chart-objects attribute is usable with the following element: <text:object-index-source> 8.6.2.

The text:use-chart-objects attribute has the data type boolean 18.3.3.

19.893 text:use-draw-objects

The text:use-draw-objects attributes specifies whether embedded draw objects (defined by <draw:object> 10.4.6.2 elements) will be included in an index of objects.

The defined values for the text:use-draw-objects attribute are:

  • false: draw objects not included in an index of objects. 

  • true: draw objects included in an index of objects. 

The default value for this attribute is false.

The text:use-draw-objects attribute is usable with the following element: <text:object-index-source> 8.6.2.

The text:use-draw-objects attribute has the data type boolean 18.3.3.

19.894 text:use-floating-frames

The text:use-floating-frames attribute specifies whether text boxes will be included in user-defined indexes.

The defined values for the text:use-floating-frames attribute are:

The default value for this attribute is false.

The text:use-floating-frames attribute is usable with the following element: <text:user-index-source> 8.7.2.

The text:use-floating-frames attribute has the data type boolean 18.3.3.

19.895 text:use-graphics

The text:use-graphics attribute specifies whether graphics are include in user-defined indexes.

The defined values for the text:use-graphics attribute are:

The default value for this attribute is false.

The text:use-graphics attribute is usable with the following element: <text:user-index-source> 8.7.2.

The text:use-graphics attribute has the data type boolean 18.3.3.

19.896 text:use-index-marks

The text:use-index-marks attribute specifies whether table of contents index marks are used to generate index entries. The text:outline-level 19.850 attribute specifies up to which level index marks are being included.

The defined values for the text:use-index-marks attribute are:

  • false: table of contents does not include entries generated from table of contents index marks. 

  • true: table of contents does include entries generated from table of contents index marks. 

For a <text:user-index-source> 8.7.2 element the default value for this attribute is false.

The text:use-index-marks attribute is usable with the following elements: <text:table-of-content-source> 8.3.2 and <text:user-index-source> 8.7.2.

The text:use-index-marks attribute has the data type boolean 18.3.3.

19.897 text:use-index-source-styles

The text:use-index-source-styles attribute specifies whether index entries are generated for paragraphs formatted using the paragraph styles listed in the <text:index-source-styles> element.

The text:outline-level 19.850 attribute specifies up to which level index source styles are being included.  

The defined values for the text:use-index-source-styles attribute are:

  • false: index entries are not generated for paragraphs formatted using the paragraph styles listed in a <text:index-source-styles> element. 

  • true: index entries are generated for paragraphs formatted using the paragraph styles listed in a <text:index-source-styles> element. 

For a <text:user-index-source> 8.7.2 element the default value for this attribute is false.

The text:use-index-source-styles attribute is usable with the following elements: <text:table-of-content-source> 8.3.2 and <text:user-index-source> 8.7.2.

The text:use-index-source-styles attribute has the data type boolean 18.3.3.

19.898 text:use-keys-as-entries

The text:use-keys-as-entries attribute specifies the use of the up to two keys for an index mark as entries in the index.

The defined values for the text:use-keys-as-entries attribute are:

The default value for this attribute is false.

The text:use-keys-as-entries attribute is usable with the following element: <text:alphabetical-index-source> 8.8.2.

The text:use-keys-as-entries attribute has the data type boolean 18.3.3.

19.899 text:use-math-objects

The text:use-math-objects attribute specifies whether embedded math objects are included in an index of objects.

The defined values for the text:use-math-objects attribute are:

The default value for this attribute is false.

The text:use-math-objects attribute is usable with the following element: <text:object-index-source> 8.6.2.

The text:use-math-objects attribute has the data type boolean 18.3.3.

19.900 text:use-objects

The text:use-objects attribute specifies whether an object is included in a user-defined index.

The defined values for the text:use-objects attribute are:

The default value for this attribute is false.

The text:use-objects attribute is usable with the following element: <text:user-index-source> 8.7.2.

The text:use-objects attribute has the data type boolean 18.3.3.

19.901 text:use-other-objects

The text:use-other-objects attribute specifies whether other embedded objects are included in an index of objects. Other objects are those not covered by text:use-chart-objects 19.892, text:use-draw-objects 19.893, text:use-math-objects 19.899, and text:use-spreadsheet-objects 19.904 attributes.

The defined values for the text:use-other-objects attribute are:

  • false: other objects are not included in an index of objects. 

  • true: other objects are included in an index of objects. 

The default value for this attribute is false.

The text:use-other-objects attribute is usable with the following element: <text:object-index-source> 8.6.2.

The text:use-other-objects attribute has the data type boolean 18.3.3.

19.902 text:use-outline-level

The text:use-outline-level attribute specifies whether headings are used to generate index entries. The text:outline-level attribute specifies up to which level headings are being included. 19.850

The defined values for the text:use-outline-level attribute are:

  • false: table of contents does not include entries generated from headings. 

  • true: table of contents does include entries generated from headings. 

The default value for this attribute is true.

The text:use-outline-level attribute is usable with the following element: <text:table-of-content-source> 8.3.2.

The text:use-outline-level attribute has the data type boolean 18.3.3.

19.903 text:use-soft-page-breaks

The text:use-soft-page-breaks attribute specifies whether a document contains soft page breaks.

A soft page break is a page break that has been included in a document by a page-oriented consumer at a position where the document itself does not include a page break as defined by fo:break-after 20.185 or fo:break-before 20.185.

Soft page breaks are specified by the <text:soft-page-break> element.

OpenDocument producers need not produce<text:soft-page-break> elements. They may include them if they have computed a paginated layout. Consumers may handle the element while computing the layout, but it shall not depend on its existence. Soft page breaks are only defined for text documents.

Producers that store soft page breaks shall indicate this by setting the text:use-soft-page-breaks attribute to true. Producers that do not store soft page breaks shall indicate that by omitting this attribute, or by setting it to false.

A producer that does not support pagination and soft page-breaks and that modifies an OpenDocument file, which includes soft page-breaks, shall set the text:use-soft-page-breaks attribute to false (or remove it). It should also remove the <text:soft-page-break> elements from the document.

Producers that compute a paginated layout of a document should provide a facility for the export of soft page breaks for the purposes of consistent page breaks and for conversion to talking book formats ( [DAISY]).

For <text:soft-page-break> elements that appear within table rows, the maximum number of <text:soft-page-break> elements that appear within the single table cells determines the number of page breaks that appear within the table row. The <text:soft-page-break> elements contained in each cell determine the positions where these page breaks appear within the cell content.

When <text:soft-page-break> elements appear within text boxes and other content displayed outside the text flow, they do not start a new page, but only indicate where the text-box's content breaks between two pages.

The defined values for the text:use-soft-page-breaks attribute are:

  • false: soft page breaks not supported. 

  • true: soft page breaks supported. 

The default value for this attribute is false.

The text:use-soft-page-breaks attribute is usable with the following element: <office:text> 3.4.

The text:use-soft-page-breaks attribute has the data type boolean 18.3.3.

19.904 text:use-spreadsheet-objects

The text:use-spreadsheet-objects attribute specifies whether embedded spreadsheet objects will appear in an object index.

The defined values for the text:use-spreadsheet-objects attribute are:

The default value for this attribute is false.

The text:use-spreadsheet-objects attribute is usable with the following element: <text:object-index-source> 8.6.2.

The text:use-spreadsheet-objects attribute has the data type boolean 18.3.3.

19.905 text:use-tables

The text:use-tables attribute specifies whether tables will appear in a user-defined index.

The defined values for the text:use-tables attribute are:

The default value for this attribute is false.

The text:use-tables attribute is usable with the following element: <text:user-index-source> 8.7.2.

The text:use-tables attribute has the data type boolean 18.3.3.

19.906 text:value

19.906.1 General

The text:value attribute specifies a value.

19.906.2 <text:label>

The text:value attribute specifies the text of a <text:label> element.

The text:value attribute is usable with the following element: <text:label> 7.4.17.

The text:value attribute has the data type string 18.2.

19.906.3 <text:database-row-number>

The text:value attribute specifies the current row number for a <text:database-row-number> element. The number changes when new data is added to the current document.

The text:value attribute is usable with the following element: <text:database-row-number> 7.6.6.

The text:value attribute has the data type nonNegativeInteger 18.2.

19.907 text:visited-style-name

The text:visited-style-name attribute specifies a style for a hyperlink that has been visited.

The text:visited-style-name attribute is usable with the following element: <text:a> 6.1.8.

The text:visited-style-name attribute has the data type styleNameRef 18.3.32.

19.908 text:volume

The text:volume attribute specifies a volume for a bibliography index entry.

The text:volume attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:volume attribute has the data type string 18.2.

19.909 text:year

The text:year attribute specifies a year for a bibliography index entry.

The text:year attribute is usable with the following element: <text:bibliography-mark> 8.1.11.

The text:year attribute has the data type string 18.2.

19.910 xforms:bind

The xforms:bind attribute specifies the binding of an OpenDocument control to an XForm form.

With OpenDocument form buttons, the bind attribute refers to a form:xform-submission 19.319 attribute with the given ID. Pushing the button causes the appropriate XForms submission action to be performed.

Note: OpenDocument form button controls are: <form:button> 13.5.15, and, <form:image> 13.5.16.

With OpenDocument form non-button controls, the xforms:bind attribute refers to an <xforms:bind> element with the given ID. Any such bound control reads and writes its data as determined by the appropriate bind element.

Note: OpenDocument form non-button controls are: <form:checkbox> 13.5.17, <form:column> 13.5.23, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:fixed-text> 13.5.10, <form:formatted-text> 13.5.6, <form:frame> 13.5.19, <form:generic-control> 13.5.25, <form:grid> 13.5.22, <form:hidden> 13.5.21, <form:image-frame> 13.5.20, <form:item> 13.5.12, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:option> 13.5.14, <form:password> 13.5.4,<form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9, and <form:value-range> 13.5.24.

The xforms:bind attribute is usable with the following elements: <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:fixed-text> 13.5.10, <form:formatted-text> 13.5.6, <form:frame> 13.5.19, <form:generic-control> 13.5.25, <form:grid> 13.5.22, <form:hidden> 13.5.21, <form:image> 13.5.16, <form:image-frame> 13.5.20, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9 and <form:value-range> 13.5.24.

The xforms:bind attribute has the data type string 18.2.

19.911 xhtml:about

The xhtml:about attribute specifies the subject of an RDF statement for in-content metadata. Predicates for RDF statements are specified by the xhtml:property attribute. 19.914

The RDF statement's object is specified by the xhtml:content 19.912 attribute, if present, or it is

  • the literal content between a pair of <text:bookmark-start> and <text:bookmark-end> elements that are paired by the values of their text:name attributes. 6.2.1.3, 6.2.1.4 

  • for elements other than <text:bookmark-start> and <text:bookmark-end>, the literal content of the element containing an xhtml:about attribute.  

The xhtml:datatype attribute provides the data type of the RDF object. 19.913

The xhtml:about attribute is usable with the following elements: <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:bookmark-start> 6.2.1.3, <text:h> 5.1.2, <text:meta> 6.1.9 and <text:p> 5.1.3.

The xhtml:about attribute has the data type URIorSafeCURIE 18.3.37.

19.912 xhtml:content

The xhtml:content attribute specifies an object of an RDF statement for in-content metadata. 19.911.

The xhtml:content attribute is usable with the following elements: <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:bookmark-start> 6.2.1.3, <text:h> 5.1.2, <text:meta> 6.1.9 and <text:p> 5.1.3.

The xhtml:content attribute has the data type string 18.2.

19.913 xhtml:datatype

The xhtml:datatype attribute specifies the RDF data type (see §5 of [RDF-CONCEPTS]) of the object of an RDF statement.

The xhtml:datatype attribute is usable with the following elements: <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:bookmark-start> 6.2.1.3, <text:h> 5.1.2, <text:meta> 6.1.9 and <text:p> 5.1.3.

The xhtml:datatype attribute has the data type CURIE 18.3.12.

19.914 xhtml:property

The xhtml:property attribute specifies a list of one or more CURIEs. Each CURIE is the predicate of an RDF statement for in content-metadata. 19.911.

The xhtml:property attribute is usable with the following elements: <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:bookmark-start> 6.2.1.3, <text:h> 5.1.2, <text:meta> 6.1.9 and <text:p> 5.1.3.

The xhtml:property attribute has the data type CURIEs 18.3.13.

19.915 xlink:actuate

See §5.6.2 of [XLink].

The xlink:actuate attribute has the value onRequest for the following elements: <db:component> 12.25.5, <db:connection-resource> 12.7, <draw:a> 10.4.12, <form:form> 13.3, <meta:template> 4.3.2.12, <presentation:event-listener> 10.9.2, <presentation:sound> 10.8.2, <script:event-listener> 14.5.2, <svg:definition-src> 16.27, <svg:font-face-uri> 16.26, <table:cell-range-source> 9.3.1, <table:table-source> 9.2.6 and <text:a> 6.1.8.

The xlink:actuate attribute has the value onLoad for the following elements: <draw:applet> 10.4.7, <draw:fill-image> 16.42.6, <draw:floating-frame> 10.4.10, <draw:image> 10.4.4, <draw:object> 10.4.6.2, <draw:object-ole> 10.4.6.3, <draw:plugin> 10.4.8, <meta:auto-reload> 4.3.2.13, <style:background-image> 17.3 and <text:list-level-style-image> 16.35.

For <db:connection-resource> 12.7, <draw:a> 10.4.12, <form:form> 13.3, <meta:template> 4.3.2.12, <presentation:event-listener> 10.9.2, <presentation:sound> 10.8.2, <script:event-listener> 14.5.2, <svg:definition-src> 16.27, <svg:font-face-uri> 16.26, <table:cell-range-source> 9.3.1, <table:table-source> 9.2.6 and <text:a> 6.1.8 elements the default value for this attribute is onRequest.

For <draw:applet> 10.4.7, <draw:fill-image> 16.42.6, <draw:floating-frame> 10.4.10, <draw:image> 10.4.4, <draw:object> 10.4.6.2, <draw:object-ole> 10.4.6.3, <draw:plugin> 10.4.8, <meta:auto-reload> 4.3.2.13, <style:background-image> 17.3 and <text:list-level-style-image> 16.35 elements the default value for this attribute is onLoad.

The xlink:actuate attribute is usable with the following elements: <db:component> 12.25.5, <db:connection-resource> 12.7, <draw:a> 10.4.12, <draw:applet> 10.4.7, <draw:fill-image> 16.42.6, <draw:floating-frame> 10.4.10, <draw:image> 10.4.4, <draw:object> 10.4.6.2, <draw:object-ole> 10.4.6.3, <draw:plugin> 10.4.8, <form:form> 13.3, <meta:auto-reload> 4.3.2.13, <meta:template> 4.3.2.12, <presentation:event-listener> 10.9.2, <presentation:sound> 10.8.2, <script:event-listener> 14.5.2, <style:background-image> 17.3, <svg:definition-src> 16.27, <svg:font-face-uri> 16.26, <table:cell-range-source> 9.3.1, <table:table-source> 9.2.6, <text:a> 6.1.8 and <text:list-level-style-image> 16.35.

19.916 xlink:href

19.916.1 General

The xlink:href 19.916 attribute specifies a remote resource. Its data type is anyIRI. See §5.4 of [XLink].

19.916.2 <anim:audio>

The xlink:href attribute specifies an audio stream.

The xlink:href attribute is usable with the following element: <anim:audio> 15.5.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.3 <chart:chart>

The xlink:href attribute at the <chart:chart> element specifies the document which provides the data for a chart. The following values are supported:

All cell range addresses that are specified within a chart are relative to the document referenced by the xlink:href attribute.

For a <chart:chart> element, if the xlink:href attribute is omitted, its value is assumed to be “..” (U+002E, FULL STOP followed by U+002E, FULL STOP).

The xlink:href attribute is usable with the following element: <chart:chart> 11.1.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.4 <chart:symbol-image>

The xlink:href attribute specifies a file containing an image.

The xlink:href attribute is usable with the following element: <chart:symbol-image> 17.23.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.5 <db:component>

The xlink:href attribute specifies a form or report document.

The xlink:href attribute is usable with the following element: <db:component> 12.25.5.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.6 <db:connection-resource>

The xlink:href attribute specifies either a database, or database connection data encoded as an IRI.

The xlink:href attribute is usable with the following element: <db:connection-resource> 12.7.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.7 <db:file-based-database>

The xlink:href attribute specifies the location of a file that defines a database. If a database consists of multiple files of different types which all are required for it to be operational, xlink:href points to one of those files which defines the database as a whole.

The xlink:href attribute is usable with the following element: <db:file-based-database> 12.5.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.8 <draw:a>

The xlink:href attribute specifies a target location for the hyperlink.

The xlink:href attribute is usable with the following element: <draw:a> 10.4.12.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.9 <draw:applet>

The xlink:href attribute specifies the base IRI for an applet.

For a <draw:applet> element the default value for this attribute is an empty string.

The xlink:href attribute is usable with the following element: <draw:applet> 10.4.7.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.10 <draw:area-circle>

The xlink:href attribute specifies a target location for the hyperlink.

The xlink:href attribute is usable with the following element: <draw:area-circle> 10.4.13.4.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.11 <draw:area-polygon>

The xlink:href attribute specifies a target location for the hyperlink.

The xlink:href attribute is usable with the following element: <draw:area-polygon> 10.4.13.5.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.12 <draw:area-rectangle>

The xlink:href attribute specifies a target location for the hyperlink.

The xlink:href attribute is usable with the following element: <draw:area-rectangle> 10.4.13.3.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.13 <draw:fill-image>

The xlink:href attribute specifies a file containing an image.

The xlink:href attribute is usable with the following element: <draw:fill-image> 16.42.6.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.14 <draw:floating-frame>

The xlink:href attribute specifies the source of a floating frame.

The xlink:href attribute is usable with the following element: <draw:floating-frame> 10.4.10.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.15 <draw:image>

The xlink:href attribute specifies a file containing an image.

The xlink:href attribute is usable with the following element: <draw:image> 10.4.4.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.16 <draw:object>

The xlink:href attribute specifies the location of an embedded object.

The xlink:href attribute is usable with the following element: <draw:object> 10.4.6.2.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.17 <draw:object-ole>

The xlink:href attribute specifies the location of an embedded object.

The xlink:href attribute is usable with the following element: <draw:object-ole> 10.4.6.3.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.18 <draw:plugin>

The xlink:href attribute specifies the source of a plugin.

The xlink:href attribute is usable with the following element: <draw:plugin> 10.4.8.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.19 <form:button>

 The xlink:href attribute specifies a resource that is loaded if a button is operated.

The xlink:href attribute is usable with the following element: <form:button> 13.5.15.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.20 <form:connection-resource>

The xlink:href attribute specifies either a database, or database connection encoded as an IRI.

The xlink:href attribute is usable with the following element: <form:connection-resource> 7.6.2.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.21 <form:image>

 The xlink:href attribute specifies a resource that is loaded if a button is operated.

The xlink:href attribute is usable with the following element: <form:image> 13.5.16.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.22 <form:form>

The xlink:href attribute specifies the processing agent for a form.

The xlink:href attribute is usable with the following element: <form:form> 13.3.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.23 <meta:auto-reload>

The xlink:href attribute specifies the IRI of a replacement document.

The xlink:href attribute is usable with the following element: <meta:auto-reload> 4.3.2.13.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.24 <meta:template>

The xlink:href attribute specifies the location of a document template.

The xlink:href attribute is usable with the following element: <meta:template> 4.3.2.12.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.25 <presentation:event-listener>

The xlink:href attribute specifies either a document bookmark or an application depending on the action selected by the presentation:action 19.391 attribute.

The xlink:href attribute is usable with the following element: <presentation:event-listener> 10.9.2.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.26 <presentation:sound>

The xlink:href attribute specifies a sound that is played when an effect is executed.

The xlink:href attribute is usable with the following element: <presentation:sound> 10.8.2.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.27 <script:event-listener>

The xlink:href attribute specifies macro code that should be called for an event. The IRI may have any protocol. The interpretation of the IRI is script-language-dependent.

The xlink:href attribute is usable with the following element: <script:event-listener> 14.5.2.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.28 <style:background-image>

The xlink:href attribute specifies an image.

The xlink:href attribute is usable with the following element: <style:background-image> 17.3.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.29 <svg:definition-src>

See § 20.8.3 of [SVG].

The xlink:href attribute is usable with the following element: <svg:definition-src> 16.27.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.30 <svg:font-face-uri>

See § 20.8.3 of [SVG].

The xlink:href attribute is usable with the following element: <svg:font-face-uri> 16.26.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.31 <table:cell-range-source>

The xlink:href attribute specifies an IRI for a document containing a source table.

The xlink:href attribute is usable with the following element: <table:cell-range-source> 9.3.1.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.32 <table:table-source>

The xlink:href attribute specifies an IRI of a document containing a source table.

The xlink:href attribute is usable with the following element: <table:table-source> 9.2.6.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.33 <text:a>

The xlink:href attribute specifies the target location of a hyperlink.

The xlink:href attribute is usable with the following element: <text:a> 6.1.8.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.34 <text:alphabetical-index-auto-mark-file>

The xlink:href attribute specifies the location of an alphabetical index mark file that contains a list of terms.

The xlink:href attribute is usable with the following element: <text:alphabetical-index-auto-mark-file> 8.8.3.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.35 <text:list-level-style-image>

The xlink:href attribute specifies an image.

The xlink:href attribute is usable with the following element: <text:list-level-style-image> 16.35.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.36 <text:script>

The xlink:href attribute specifies the location script source code.

The xlink:href attribute is usable with the following element: <text:script> 7.7.9.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.916.37 <text:section-source>

The xlink:href attribute specifies the document or document fragment to which a section is linked. If the IRI contains a fragment identifier, and if the referenced document is an OpenDocument document, the fragment identifier should be interpreted as the name of a section to which a section is linked. A fragment identifier should be ignored if a text:section-name 19.867 attribute is present.

The xlink:href attribute is usable with the following element: <text:section-source> 5.4.2.

The xlink:href attribute has the data type anyIRI 18.3.2.

19.917 xlink:show

See §5.6.1 of [XLink].

For a <meta:auto-reload> 4.3.2.13 element the value for this attribute is replace.

For <draw:applet> 10.4.7, <draw:fill-image> 16.42.6, <draw:floating-frame> 10.4.10, <draw:image> 10.4.4, <draw:object> 10.4.6.2, <draw:object-ole> 10.4.6.3, <draw:plugin> 10.4.8, <presentation:event-listener> 10.9.2, <style:background-image> 17.3, <text:list-level-style-image> 16.35 and <text:section-source> 5.4.2 elements the value for this attribute is embed.

For <draw:a> 10.4.12, <draw:area-circle> 10.4.13.4, <draw:area-polygon> 10.4.13.5, <draw:area-rectangle> 10.4.13.3, <meta:hyperlink-behaviour> 4.3.2.14, <presentation:sound> 10.8.2 and <text:a> 6.1.8 elements the supported values for this attribute are new or replace.

For a <meta:auto-reload> 4.3.2.13 element the default value for this attribute is replace.

For <draw:applet> 10.4.7, <draw:fill-image> 16.42.6, <draw:floating-frame> 10.4.10, <draw:image> 10.4.4, <draw:object> 10.4.6.2, <draw:object-ole> 10.4.6.3, <draw:plugin> 10.4.8, <presentation:event-listener> 10.9.2, <style:background-image> 17.3, <text:list-level-style-image> 16.35 and <text:section-source> 5.4.2 elements the default value for this attribute is embed.

For <db:connection-resource> 12.7 the default value for this attribute is none.

The xlink:show attribute is usable with the following elements: <db:component> 12.25.5, <db:connection-resource> 12.7, <draw:a> 10.4.12, <draw:applet> 10.4.7, <draw:area-circle> 10.4.13.4, <draw:area-polygon> 10.4.13.5, <draw:area-rectangle> 10.4.13.3, <draw:fill-image> 16.42.6, <draw:floating-frame> 10.4.10, <draw:image> 10.4.4, <draw:object> 10.4.6.2, <draw:object-ole> 10.4.6.3, <draw:plugin> 10.4.8, <meta:auto-reload> 4.3.2.13, <meta:hyperlink-behaviour> 4.3.2.14, <presentation:event-listener> 10.9.2, <presentation:sound> 10.8.2, <style:background-image> 17.3, <text:a> 6.1.8, <text:list-level-style-image> 16.35 and <text:section-source> 5.4.2.

19.918 xlink:title

The xlink:title attribute specifies a title to be associated with a document template.

The xlink:title attribute is usable with the following element: <meta:template> 4.3.2.12.

The xlink:title attribute has the data type string 18.2.

19.919 xlink:type

See §3.2 of [XLink]. This attribute always has the value simple in OpenDocument document instances.

For <db:connection-resource> 12.7, <db:file-based-database> 12.5, <draw:a> 10.4.12, <draw:applet> 10.4.7, <draw:area-circle> 10.4.13.4, <draw:area-polygon> 10.4.13.5, <draw:area-rectangle> 10.4.13.3, <draw:fill-image> 16.42.6, <draw:floating-frame> 10.4.10, <draw:image> 10.4.4, <draw:object> 10.4.6.2, <draw:object-ole> 10.4.6.3, <draw:plugin> 10.4.8, <form:form> 13.3, <meta:auto-reload> 4.3.2.13, <meta:template> 4.3.2.12, <presentation:event-listener> 10.9.2, <presentation:sound> 10.8.2, <script:event-listener> 14.5.2, <style:background-image> 17.3, <svg:definition-src> 16.27, <svg:font-face-uri> 16.26, <table:cell-range-source> 9.3.1, <table:table-source> 9.2.6, <text:a> 6.1.8, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:list-level-style-image> 16.35, <text:script> 7.7.9 and <text:section-source> 5.4.2 elements the default value for this attribute is simple.

The xlink:type attribute is usable with the following elements: <chart:chart> 11.1, <db:component> 12.25.5, <db:connection-resource> 12.7, <db:file-based-database> 12.5, <draw:a> 10.4.12, <draw:applet> 10.4.7, <draw:area-circle> 10.4.13.4, <draw:area-polygon> 10.4.13.5, <draw:area-rectangle> 10.4.13.3, <draw:fill-image> 16.42.6, <draw:floating-frame> 10.4.10, <draw:image> 10.4.4, <draw:object> 10.4.6.2, <draw:object-ole> 10.4.6.3, <draw:plugin> 10.4.8, <form:form> 13.3, <meta:auto-reload> 4.3.2.13, <meta:template> 4.3.2.12, <presentation:event-listener> 10.9.2, <presentation:sound> 10.8.2, <script:event-listener> 14.5.2, <style:background-image> 17.3, <svg:definition-src> 16.27, <svg:font-face-uri> 16.26, <table:cell-range-source> 9.3.1, <table:table-source> 9.2.6, <text:a> 6.1.8, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:list-level-style-image> 16.35, <text:script> 7.7.9 and <text:section-source> 5.4.2.

19.920 xml:id

See [XML-ID].

The xml:id attribute is usable with the following elements: <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <chart:chart> 11.1, <chart:data-point> 11.14, <chart:plot-area> 11.5, <chart:series> 11.12, <dr3d:cube> 10.5.4, <dr3d:extrude> 10.5.6, <dr3d:rotate> 10.5.7, <dr3d:scene> 10.5.2, <dr3d:sphere> 10.5.5, <draw:a> 10.4.12, <draw:applet> 10.4.7, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:floating-frame> 10.4.10, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:image> 10.4.4, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:object> 10.4.6.2, <draw:object-ole> 10.4.6.3, <draw:page> 10.2.4, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:plugin> 10.4.8, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <draw:text-box> 10.4.3, <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:fixed-text> 13.5.10, <form:formatted-text> 13.5.6, <form:frame> 13.5.19, <form:generic-control> 13.5.25, <form:grid> 13.5.22, <form:hidden> 13.5.21, <form:image> 13.5.16, <form:image-frame> 13.5.20, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9, <form:value-range> 13.5.24, <office:annotation> 14.1, <presentation:sound> 10.8.2, <table:covered-table-cell> 9.1.5, <table:table> 9.1.2, <table:table-cell> 9.1.4, <table:table-column> 9.1.6, <table:table-row> 9.1.3, <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:bookmark> 6.2.1.2, <text:bookmark-start> 6.2.1.3, <text:changed-region> 5.5.3, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:index-title> 8.2.3, <text:list> 5.3.1, <text:list-header> 5.3.3, <text:list-item> 5.3.4, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:numbered-paragraph> 5.3.6, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

The xml:id attribute has the data type ID 18.2.

20 Formatting Attributes

20.1 General

In an OpenDocument Format document, <style:*-properties> elements contain the definitions of formatting that is associated with document structure elements. Formatting definitions are expressed as attributes on the <style:*-properties> elements or as child elements of these elements. This chapter defines formatting properties that are represented by attributes. Formatting properties that are represented by elements are defined in chapter 17.

20.2 chart:angle-offset

The chart:angle-offset attribute specifies a counter-clockwise rotation of a polar coordinate in a circle, ring or polar chart. The attribute value is an angle. See 18.3.1. The default value is 90deg.

This attribute is evaluated for chart styles that are applied to a <chart:plot-area> 11.5 element.

The chart:angle-offset attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:angle-offset attribute has the data type angle 18.3.1.

20.3 chart:auto-position

The chart:auto-position attribute specifies if an object should be positioned automatically.

The default value is true if svg:x 19.577 and svg:y 19.581 attributes are not specified. It is false if the svg:x and svg:y attributes are specified.

The chart:auto-position attribute is evaluated for chart styles applied to elements that may have svg:x and svg:y attributes.

The defined values for the chart:auto-position attribute are:

  • false: svg:x and svg:y attribute values are used to position an object. 

  • true: svg:x and svg:y attribute values are ignored, and the consumer chooses a position. 

The chart:auto-position attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:auto-position attribute has the data type boolean 18.3.3.

20.4 chart:auto-size

The chart:auto-size attribute specifies if the size of an object should be chosen automatically.

The default value is true if svg:width 19.575 and svg:height 19.543 attributes are not specified. It is false if the svg:width and svg:height attributes are specified.

The chart:auto-size attribute is evaluated for chart styles applied to elements that have svg:width and svg:height attributes.

The defined values for the chart:auto-size attribute are:

  • false: svg:width and svg:height attribute values are used to size an object. 

  • true: svg:width and svg:height attribute values are ignored, and the consumer chooses a size. 

The chart:auto-size attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:auto-size attribute has the data type boolean 18.3.3.

20.5 chart:axis-label-position

The chart:axis-label-position attribute specifies the position of the axis labels.

The defined values for the chart:axis-label-position attribute are:

If the chart:axis-label-position attribute is missing but a chart:axis-position attribute is given, the value of the chart:axis-label-position attribute is assumed to be near-axis.

This attribute is evaluated for a chart style that is applied to a <chart:axis> 11.9 element.

The chart:axis-label-position attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:axis-label-position attribute are near-axis, near-axis-other-side, outside-start or outside-end.

20.6 chart:axis-position

The chart:axis-position attribute specifies the position of the axis line on the scale of the crossing axis.

If the attribute is set for a y-axis, the position indicates a value on the scale of the first x-axis.

If the attribute is set for an x-axis, the position indicates a value on the scale of the first y-axis.

This attribute is evaluated for a chart style that is applied to a <chart:axis> 11.9 element.

The defined values for the chart:axis-position attribute are:

The chart:axis-position attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:axis-position attribute are start, end or a value of type double 18.2.

20.7 chart:connect-bars

The chart:connect-bars attribute specifies if bars in a bar chart that belong to the same series are connected by lines.

This attribute is evaluated for chart styles that are applied to a <chart:plot-area> 11.5 element.

The defined values for the chart:connect-bars attribute are:

  • false: bars belonging to the same series are not connected by lines. 

  • true: bars belonging to the same series are connected by lines. 

The chart:connect-bars attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:connect-bars attribute has the data type boolean 18.3.3.

20.8 chart:data-label-number

The chart:data-label-number attribute specifies whether the value or the percentage of a data point or both, should be displayed within a data label. By default, neither the value nor a percentage is displayed.

The defined values for the chart:data-label-number attribute are:

This attribute is evaluated for chart styles that are applied to a <chart:data-label> 11.15, <chart:data-point> 11.14, <chart:series> 11.12 or <chart:plot-area> 11.5 elements.

The style:data-style-name 19.473 attribute can be used together with this attribute to indicate which number format should be used to display the value.

The style:percentage-data-style-name 19.511 attribute can be used together with this attribute to indicate which number format should be used to display the percentage value.

The chart:data-label-number attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:data-label-number attribute are none, value, percentage or value-and-percentage.

20.9 chart:data-label-series

The chart:data-label-series attribute determines whether or not to display the series name of the corresponding series in the data label.

The defined values for the chart:data-label series attribute are:

This attribute is evaluated for chart styles that are applied to a <chart:data-label> 11.15, <chart:data-point> 11.14, <chart:series> 11.12 or <chart:plot-area> 11.5 elements.

The chart:data-label-series attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:data-label-series attribute has the data type boolean 18.3.3.

20.10 chart:data-label-symbol

The chart:data-label-symbol attribute specifies whether to display a legend symbol within the data label of a data point.

This attribute is evaluated for chart styles that are applied to a <chart:data-label> 11.15, <chart:data-point> 11.14, <chart:series> 11.12 or <chart:plot-area> 11.5 elements.

The defined values for the chart:data-label-symbol attribute are:

  • false: a legend symbol is not displayed within the data label of a data point. 

  • true: a legend symbol is displayed within the data label of a data point. 

The chart:data-label-symbol attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:data-label-symbol attribute has the data type boolean 18.3.3.

20.11 chart:data-label-text

The chart:data-label-text attribute specifies whether to display the category within the data label of a data point.

This attribute is evaluated for chart styles that are applied to <chart:data-label> 11.15, <chart:data-point> 11.14, a <chart:series> 11.12 or a <chart:plot-area> 11.5 elements.

The defined values for the chart:data-label-text attribute are:

  • false: a category is not displayed within the data label of a data point. 

  • true: a category is displayed within the data label of a data point. 

The chart:data-label-text attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:data-label-text attribute has the data type boolean 18.3.3.

20.12 chart:deep

The chart:deep attribute specifies whether data series are displayed behind each other along the z-axis or not. The chart:deep attribute is ignored unless a chart:three-dimensional 20.65 attribute is present and has the value true.

This attribute is evaluated for a chart style that is applied to a <chart:plot-area> 11.5 element.

The defined values for the chart:deep attribute are:

  • false: data series are not displayed behind each other along the z-axis. 

  • true: data series are displayed behind each other along the z-axis. The z-axis displays the name of the series. 

The chart:deep attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:deep attribute has the data type boolean 18.3.3.

20.13 chart:display-label

The chart:display-label attribute specifies whether labels are displayed on an axis or not.

This attribute is evaluated for a chart style that is applied to a <chart:axis> 11.9 element.

Note: The labels controlled by chart:display-label attribute appear on an axis as opposed to being labels for the axis.

The defined values for the chart:display-label attribute are:

  • false: labels are not displayed on an axis. 

  • true: labels are displayed on an axis. 

The chart:display-label attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:display-label attribute has the data type boolean 18.3.3.

20.14 chart:error-category

The chart:error-category attribute is used to determine which function is used to calculate error indicators at data points. By default, no error indicators are shown.

The defined values for the chart:error-category attribute are:

  • cell-range: Use values from cell ranges for positive and negative error indicators. The chart:error-lower-range 20.17 and chart:error-upper-range 20.22 attributes determine the cell ranges which contain the values to be used for negative and positive error indicators. 

  • constant: Use fixed absolute values for both directions: positive and negative The absolute value for a positive direction is given with chart:error-upper-limit attribute. The absolute value for a negative direction is given with chart:error-lower-limit attribute. 

  • error-margin: Use a fixed percentage of the largest value – this is called error-margin. The percentage value is given within chart:error-margin 20.18 attribute. 

  • none: No error indicators are shown. 

  • percentage: Use a fixed percentage of each value The percentage value is given within chart:error-percentage 20.19 attribute. 

  • standard-deviation: Standard deviation of the values of a series assuming an equal distribution. 

  • standard-error: Standard error (standard deviation of the mean) of the values of a series. 

  • variance: Variance of the values of a series assuming an equal distribution. 

This attribute is evaluated for chart styles that are applied to <chart:error-indicator> 11.17, <chart:series> 11.12 or <chart:plot-area> 11.5 elements.

The chart:error-category attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:error-category attribute are none, variance, standard-deviation, percentage, error-margin, constant, standard-error or cell-range.

20.15 chart:error-lower-indicator

The chart:error-lower-indicator attribute specifies whether negative error indicators are displayed (the error value is subtracted from the data point value).

This attribute should be used together with the chart:error-category 20.14 attribute.

The defined values for the chart:error-lower-indicator attribute are:

  • false: negative error indicators are not displayed. 

  • true: negative error indicators are displayed. 

The chart:error-lower-indicator attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:error-lower-indicator attribute has the data type boolean 18.3.3.

20.16 chart:error-lower-limit

The chart:error-lower-limit attribute specifies the absolute value in the negative direction that is used to display error indicators if a chart:error-category 20.14 attribute has the value constant.

The chart:error-lower-limit attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:error-lower-limit attribute has the data type double 18.2.

20.17 chart:error-lower-range

The chart:error-lower-range attribute specifies the cell range used for negative error indicators when a chart:error-category 20.14 attribute has a value of cell-range.

The chart:error-lower-range attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:error-lower-range attribute has the data type cellRangeAddressList 18.3.6.

20.18 chart:error-margin

The chart:error-margin attribute specifies the percentage of the largest value in a series used in the display of error indicators for each data point of a series.

This attribute should be used together with the chart:error-category 20.14 attribute if it has the value error-margin.

The chart:error-margin attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:error-margin attribute has the data type double 18.2.

20.19 chart:error-percentage

The chart:error-percentage attribute specifies the percentage that is used in the display of error indicators for each data point of a series.

This attribute should be used together with a chart:error-category 20.14 attribute if the chart:error-category attribute has the value percentage.

The chart:error-percentage attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:error-percentage attribute has the data type double 18.2.

20.20 chart:error-upper-indicator

The chart:error-upper-indicator attribute specifies whether positive error indicators should be displayed (the error value is added to the data point value).

This attribute should be used together with a chart:error-category 20.14 attribute.

The defined values for the chart:error-upper-indicator attribute are:

  • false: positive error indicators are not displayed. 

  • true: positive error indicators are displayed. 

The chart:error-upper-indicator attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:error-upper-indicator attribute has the data type boolean 18.3.3.

20.21 chart:error-upper-limit

The chart:error-upper-limit attribute specifies the absolute value in the positive direction that is used to display error indicators if the chart:error-category 20.14 attribute has the value constant.

This attribute should be used together with chart:error-category attribute.

The chart:error-upper-limit attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:error-upper-limit attribute has the data type double 18.2.

20.22 chart:error-upper-range

The chart:error-upper-range attribute specifies the cell range used for positive error indicators when the chart:error-category 20.14 attribute has the value cell-range.

The chart:error-upper-range attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:error-upper-range attribute has the data type cellRangeAddressList 18.3.6.

20.23 chart:gap-width

The chart:gap-width attribute specifies a gap between neighboring groups of bars in a bar chart (that is the distance between the last bar in one category and the first bar in the following category). It is specified as an integer percentage relative to the width of a single bar.

This attribute is evaluated for chart styles that are applied to a <chart:axis> 11.9 element with chart:dimension 19.18 attribute set to y.

Note: Bars attached to different axis can be arranged differently as long as they are grouped per axis (chart:group-bars-per-axis 20.24 attribute has the value true).

The chart:gap-width attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:gap-width attribute has the data type integer 18.2.

20.24 chart:group-bars-per-axis

The chart:group-bars-per-axis attribute specifies whether bars in a bar chart are displayed side by side or behind each other when they are attached to different y-axes.

This attribute is evaluated for chart styles that are applied to a <chart:plot-area> 11.5 element.

The defined values for the chart:group-bars-per-axis attribute are:

  • false: all bars on the same x-axis are handled as one group and are displayed side by side. 

  • true: only bars attached to the same x- and y-axis are handled as one group. 

The chart:group-bars-per-axis attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:group-bars-per-axis attribute has the data type boolean 18.3.3.

20.25 chart:hole-size

The chart:hole-size attribute specifies the diameter of the inner hole of a ring chart as a percentage of the outer diameter of the outermost ring.

This attribute is evaluated for chart styles that are applied to a <chart:plot-area> 11.5 element.

The chart:hole-size attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:hole-size attribute has the data type percent 18.3.23.

20.26 chart:include-hidden-cells

The chart:include-hidden-cells attribute specifies whether data points in hidden cells are plotted in a chart. The default is to plot data points in hidden cells.

This attribute can be used in styles that are applied to a <chart:plot-area> 11.5 element.

The defined values for the chart:include-hidden-cells attribute are:

  • false: data points in hidden cells are not plotted in a chart. 

  • true: data points in hidden cells are plotted in a chart. 

The chart:include-hidden-cells attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:include-hidden-cells attribute has the data type boolean 18.3.3.

20.27 chart:interpolation

 The chart:interpolation attribute specifies interpolations for line and scatter charts.

The defined values for the chart:interpolation attribute are:

  • b-spline – B-Splines. If the chart:spline-resolution 20.58 attribute has value 1 this is identical to the chart:interpolation attribute value none. If the chart:spline-resolution attribute has value + + k + > + 1 + +
    and the
    chart:spline-order
    20.57 
    attribute has value
    p
    then given a sequence of data points, a B-spline interpolation with polynomials of degree
    p
    is constructed as described here. First. we omit any consecutive repeated data points obtaining
    and the chart:spline-order 20.57 attribute has value p then given a sequence of data points, a B-spline interpolation with polynomials of degree p is constructed as described here. First. we omit any consecutive repeated data points obtaining + + + ( + + + + x + 0 + + , + + y + 0 + + + + ) + + , + + , + + ( + + + + x + n + + , + + y + n + + + + ) + + +
    where for all
    where for all + + + i + = + 1 + + , + + , + n + +
    ,
    , + + + ( + + + + x + + i + + 1 + + + , + + y + + i + + 1 + + + + + ) + + + + ( + + + + x + i + + , + + y + i + + + + ) + + +
    .
    . 
    • We then construct a parameter list
      + + + t + 0 + + , + + , + + t + n + + +  
      using the centripetal method with a power of 0.5:
      + + + t + k + + = + + + + + + i + = + 1 + + k + + + + + + ( + + + + x + i + + + + x + + i + + 1 + + + + + ) + + 2 + + + + + + ( + + + + y + i + + + + y + + i + + 1 + + + + + ) + + 2 + + + 4 + + + + + + + i + = + 1 + + n + + + + + + ( + + + + x + i + + + + x + + i + + 1 + + + + + ) + + 2 + + + + + + ( + + + + y + i + + + + y + + i + + 1 + + + + + ) + + 2 + + + 4 + + + + +  
      for
      + + + k + = + 1 + + , + + , + n + +  
      and
      + + + t + 0 + + = + 0 + +
      .
       
      Next we generate a knot vector
      + + + u + 0 + + , + + , + + u + m + + +
      with
      + + m + = + + n + + + p + + + 1 + + +
      :
       
      + + + + + + u + 0 + + = + + u + 1 + + = + + = + + u + p + + + + + = + + + 0 + + + + + + + + + u + + j + + + p + + + + + = + + + + + 1 + p + + + + + + i + = + j + + + j + + + p + + 1 + + + + t + i + + + + + + + for + + + j + = + 1 + + , + 2 + , + + , + + n + + p + + + + + + + + + u + + m + + p + + + = + + u + + m + + p + + + 1 + + + = + + = + + u + m + + + + + = + + + 1 + + + + + + +
       
      Now let
      + + + N + + i + , + p + + + + ( + + u + + ) + + +
      be the B-spline basis function defined recursively by
       
      + + + + + + N + + i + ,0 + + + + ( + + u + + ) + + + + + = + + + + { + + + + + 1 + + + + if + + + + u + i + + + u + < + + u + + i + + + 1 + + + + + + + + + 0 + + + otherwise + + + + + } + + + + + + + + + + + N + + i + , + s + + + + ( + + u + + ) + + + + + = + + + + + + + u + + + u + i + + + + + u + + i + + + s + + + + + u + i + + + + + + N + + i + , + + s + + 1 + + + + + + + ( + + u + + ) + + + + + + + + u + + i + + + s + + + 1 + + + + u + + + + u + + i + + + s + + + 1 + + + + + u + + i + + + 1 + + + + + + + N + + + i + + + 1 + + , + + s + + 1 + + + + + + + ( + + u + + ) + + + + + + for + + + s + > + 0 + + + + + +
       
      Let
      + + C + = + + [ + + + + + + c + 0 + + + + + d + 0 + + + + + + + c + 1 + + + + + d + 1 + + + + + + + + + + + + + + + c + n + + + + + d + n + + + + + + ] + + +  
      be the solution of the matrix equation
      + + X + = + + N + + C + + +  
      with
      + + N + = + + [ + + + + + + + N + + 0 + , + p + + + + ( + + + t + 0 + + + ) + + + + + + + N + + 1 + , + p + + + + ( + + + t + 0 + + + ) + + + + + + + + + + N + + n + , + p + + + + ( + + + t + 0 + + + ) + + + + + + + + + N + + 0 + , + p + + + + ( + + + t + 1 + + + ) + + + + + + + N + + 1 + , + p + + + + ( + + + t + 1 + + + ) + + + + + + + + + + N + + n + , + p + + + + ( + + + t + 1 + + + ) + + + + + + + + + + + + + + + + + + + + + + + N + + 0 + , + p + + + + ( + + + t + n + + + ) + + + + + + + N + + 1 + , + p + + + + ( + + + t + n + + + ) + + + + + + + + + + N + + n + , + p + + + + ( + + + t + n + + + ) + + + + + + + ] + + +
      and
      + + X + = + + [ + + + + + + x + 0 + + + + + y + 0 + + + + + + + x + 1 + + + + + y + 1 + + + + + + + + + + + + + + + x + n + + + + + y + n + + + + + + ] + + +
      .
       
      + + + ( + + + + c + 0 + + , + + d + 0 + + + + ) + + , + + ( + + + + c + 1 + + , + + d + 1 + + + + ) + + , + + , + + ( + + + + c + n + + , + + d + n + + + + ) + + +
      are the control points of the desired B-spline of degree
      p
      passing through the data points
      + + + ( + + + + x + 0 + + , + + y + 0 + + + + ) + + , + + , + + ( + + + + x + n + + , + + y + n + + + + ) + + +
      .
       
      For
      + + 0 + < + u + < + 1 + +  
      let
      + + + P + + i + , + r + + + + ( + + u + + ) + + +
      be recursively defined by
       
      + + + + + + P + + i + ,0 + + + + ( + + u + + ) + + + + + = + + + + ( + + + + c + i + + , + + d + i + + + + ) + + + + + + + + + + + + + + + + + + + + P + + i + , + r + + + + ( + + u + + ) + + + + + = + + + + + + ( + + + 1 + + + a + + i + , + r + + + + + ) + + + + P + + + i + + 1 + + , + + r + + 1 + + + + + + + + + a + + i + , + r + + + + + P + + i + , + + r + + 1 + + + + + + + + with + + + + + a + + i + , + r + + + = + + + u + + + u + i + + + + + u + + i + + + p + + r + + + 1 + + + + + u + i + + + + + + + for + + + + r + > + 0 + + + + +
       
      If
      + + 0 + < + u + < + 1 + +
      and
      + + + u + s + + < + u + < + + u + + s + + + 1 + + + +
      , then
      + + + P + + s + , + p + + + + ( + + u + + ) + + +
      is the point on this B-spline corresponding to the parameter
      u
      . If
      + + 0 + < + u + < + 1 + +
      and
      + + u + = + + u + s + + +
      , then
      + + + P + + + s + + 1 + + , + + p + + 1 + + + + + ( + + u + + ) + + +
      is the point on this B-spline corresponding to the parameter
      u
      .
       
      Note:
      + + + P + + s + , + p + + + + ( + + u + + ) + + +  
      and
      + + + P + + + s + + 1 + + , + + p + + 1 + + + + + ( + + u + + ) + + +  
      are best calculated using de Boor's algorithm for a B-spline of degree
      p
      with control points
      + + + ( + + + + c + 0 + + , + + d + 0 + + + + ) + + , + + ( + + + + c + 1 + + , + + d + 1 + + + + ) + + , + + , + + ( + + + + c + n + + , + + d + n + + + + ) + + +  
      and knots
      + + + u + 0 + + , + + , + + u + m + + +
      .
       
      The approximation of this B-spline is then plotted by using
      + + + P + + s + , + p + + + + ( + + u + + ) + + +
      and
      + + + P + + + s + + 1 + + , + + p + + 1 + + + + + ( + + u + + ) + + +  
      to calculate the coordinates of the points on the spline corresponding to the parameters:
       
      + + + + + + 0 + = + + t + 0 + + + , + + + + + + + t + 0 + + + + + 1 + + + + + t + 1 + + + + t + 0 + + + k + + + + , + + + + + + + t + 0 + + + + + 2 + + + + + t + 1 + + + + t + 0 + + + k + + + + , + + + + + + , + + + + + + + + t + 0 + + + + + k + + + + + t + 1 + + + + t + 0 + + + k + + + + = + + t + 1 + + + , + + + + + + + + + + + + + + + t + 1 + + + + + 1 + + + + + t + 2 + + + + t + 1 + + + k + + + + , + + + + + + + t + 1 + + + + + 2 + + + + + t + 2 + + + + t + 1 + + + k + + + + , + + + + + + , + + + + + + + + t + 1 + + + + + k + + + + + t + 2 + + + + t + 1 + + + k + + + + = + + t + 2 + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + t + + n + + 1 + + + + + + 1 + + + + + t + n + + + + t + + n + + 1 + + + + k + + + + , + + + + + + + t + + n + + 1 + + + + + + 2 + + + + + t + n + + + + t + + n + + 1 + + + + k + + + + , + + + + + + , + + + + + + + t + + n + + 1 + + + + + + k + + + + + t + n + + + + t + + n + + 1 + + + + k + + + + = + + t + n + + = + 1 + + + + + + + +
       

    and connecting these points with straight line segments. 

  • cubic-spline – Cubic Splines. If the chart:spline-resolution attribute has value 1 this is identical to the chart:interpolation attribute value none. If the chart:spline-resolution attribute has value + + k + > + 1 + +
    then given a sequence of data points,
    then given a sequence of data points, + + + ( + + + + x + 0 + + , + + y + 0 + + + + ) + + , + + , + + ( + + + + x + n + + , + + y + n + + + + ) + + +
    a cubic spline interpolation is constructed as described here:
    a cubic spline interpolation is constructed as described here:  
    Find the unique cubic polynomials + + + f + 1 + + , + + f + 2 + + , + + , + + f + n + + + + + + g + 1 + + , + + g + 2 + + , + + , + + g + n + + +  
    and such that:
    + + + g + 1 + + , + + g + 2 + + , + + , + + g + n + + +  
    and such that:
     and such that: 
    • for all
      + + + i + = + 1 + + , + + , + n + +
      ,
      + + + f + i + + + + ( + + i + + ) + + = + + x + i + + + +
      and
      + + + f + i + + + + ( + + + i + + 1 + + + ) + + = + + x + + i + + 1 + + + + +
      ,
       
      for all
      + + + i + = + 1 + + , + + , + + ( + + + n + + 1 + + + ) + + +
      ,
      + + f + + ' + i + + + + ( + + i + + ) + + = + f + + + ' + + i + + + 1 + + + + ( + + i + + ) + + +
      with
      + + f + ' + +
      denoting the first derivative of
      f,
       
      for all + + + i + = + 1 + + , + + , + + ( + + + n + + 1 + + + ) + + + , + + f + ' + + ' + i + + + + ( + + i + + ) + + = + f + + ' + + ' + + i + + + 1 + + + + ( + + i + + ) + + + with + + f + ' + ' + + denoting the second derivative of f,
      for all
      + + + i + = + 1 + + , + + , + n + +
      ,
      + + + g + i + + + + ( + + i + + ) + + = + + y + i + + + +
      and
      + + + g + i + + + + ( + + + i + + 1 + + + ) + + = + + y + + i + + 1 + + + + +
      ,
       
      for all
      + + + i + = + 1 + + , + + , + + ( + + + n + + 1 + + + ) + + +
      ,
      + + g + + ' + i + + + + ( + + i + + ) + + = + g + + + ' + + i + + + 1 + + + + ( + + i + + ) + + +
      with
      + + g + ' + +
      denoting the first derivative of
      g,
       
      for all + + + i + = + 1 + + , + + , + + ( + + + n + + 1 + + + ) + + + , + + g + ' + + ' + i + + + + ( + + i + + ) + + = + g + + ' + + ' + + i + + + 1 + + + + ( + + i + + ) + + + with + + g + ' + ' + + denoting the second derivative of g,

      and

      • + + f + ' + + ' + 1 + + + + ( + + 0 + + ) + + = + 0 + + + , + + f + ' + + ' + n + + + + ( + + n + + ) + + = + 0 + + + , + + g + ' + + ' + 1 + + + + ( + + 0 + + ) + + = + 0 + + + and + + g + ' + + ' + n + + + + ( + + n + + ) + + = + 0 + + + if + + + ( + + + + x + 0 + + , + + y + 0 + + + + ) + + + + ( + + + + x + n + + , + + y + n + + + + ) + + + (ie. the curve will not be closed) or 
      •   + + f + + ' + 1 + + + + ( + + 0 + + ) + + = + f + + + ' + n + + + ( + + n + + ) + + + , + + g + + ' + 1 + + + + ( + + 0 + + ) + + = + g + + + ' + n + + + ( + + n + + ) + + + , + + f + ' + + ' + 1 + + + + ( + + 0 + + ) + + = + f + + ' + + ' + n + + + ( + + n + + ) + + + and + + g + ' + + ' + 1 + + + + ( + + 0 + + ) + + = + g + + ' + + ' + n + + + ( + + n + + ) + + + if + + + ( + + + + x + 0 + + , + + y + 0 + + + + ) + + = + + ( + + + + x + n + + , + + y + n + + + + ) + + + (ie. the curve will be closed). 
    With these cubic polynomials we define the splines (piecewise polynomial functions) + + F + + + ( + + t + + ) + + = + + f + i + + + + ( + + t + + ) + + for + + + ( + + + i + + 1 + + + ) + + + t + + i + + +
    and
    and + + G + + + ( + + t + + ) + + = + + g + i + + + + ( + + t + + ) + + for + + + ( + + + i + + 1 + + + ) + + + t + + i + + +
    . (In view of the first and fourth conditions above this yields well defined functions
    F
    and
    G
    .) The interpolation line is then obtained by connecting consecutive points in
    . (In view of the first and fourth conditions above this yields well defined functions F and G.) The interpolation line is then obtained by connecting consecutive points in + + + ( + + + F + + ( + + 0 + + ) + + , + G + + ( + + 0 + + ) + + + + ) + + , + + ( + + + F + + ( + + + + 1 + + + k + + + + ) + + , + G + + ( + + + + 1 + + + k + + + + ) + + + + ) + + , + + ( + + + F + + ( + + + + 2 + + + k + + + + ) + + , + G + + ( + + + + 2 + + + k + + + + ) + + + + ) + + , + + , + + ( + + + F + + ( + + + + + + n + + k + + + 1 + + + + k + + + + ) + + , + G + + ( + + + + + + n + + k + + + 1 + + + + k + + + + ) + + + + ) + + , + + ( + + + F + + ( + + + + + n + + k + + + + k + + + + ) + + , + G + + ( + + + + + n + + k + + + + k + + + + ) + + + + ) + + +  
    using straight line segments.
     using straight line segments. 
  • none - Straight lines. Consecutive data points are connected by straight line segments.  

  • step-center-x – Step function with a single step in the horizontal center between consecutive data points. Given a sequence of data points, + + + ( + + + + x + 0 + + , + + y + 0 + + + + ) + + , + + , + + ( + + + + x + n + + , + + y + n + + + + ) + + +
    then the interpolation line between any two consecutive data points
    then the interpolation line between any two consecutive data points + + + ( + + + + x + i + + , + + y + i + + + + ) + + , + + ( + + + + x + + i + + + 1 + + + , + + y + + i + + + 1 + + + + + ) + + +  
    is obtained by connecting consecutive points in
     is obtained by connecting consecutive points in + + + ( + + + + x + i + + , + + y + i + + + + ) + + , + + ( + + + + + + x + i + + + + + x + + i + + + 1 + + + + 2 + + , + + y + i + + + + ) + + , + + ( + + + + + + x + i + + + + + x + + i + + + 1 + + + + 2 + + , + + y + + i + + + 1 + + + + + ) + + , + + ( + + + + x + + i + + + 1 + + + , + + y + + i + + + 1 + + + + + ) + + +  
    using straight line segments.
     using straight line segments. 
  •  step-center-y – Step function with steps to the mean of consecutive data points. Given a sequence of data points, + + + ( + + + + x + 0 + + , + + y + 0 + + + + ) + + , + + , + + ( + + + + x + n + + , + + y + n + + + + ) + + +
    then the interpolation line between any two
    consecutive data points
    then the interpolation line between any two consecutive data points + + + ( + + + + x + i + + , + + y + i + + + + ) + + , + + ( + + + + x + + i + + + 1 + + + , + + y + + i + + + 1 + + + + + ) + + +  
    is obtained by connecting consecutive points in
     is obtained by connecting consecutive points in + + + ( + + + + x + i + + , + + y + i + + + + ) + + , + + ( + + + + x + i + + , + + + + y + i + + + + + y + + i + + + 1 + + + + 2 + + + + ) + + , + + ( + + + + x + + i + + + 1 + + + , + + + + y + i + + + + + y + + i + + + 1 + + + + 2 + + + + ) + + , + + ( + + + + x + + i + + + 1 + + + , + + y + + i + + + 1 + + + + + ) + + +  
    using straight line segments.
     using straight line segments. 
  •  step-start – Step function with a single step at the beginning of each interval between consecutive data points. Given a sequence of data points, + + + ( + + + + x + 0 + + , + + y + 0 + + + + ) + + , + + , + + ( + + + + x + n + + , + + y + n + + + + ) + + +
    then the interpolation line between any two consecutive data points
    then the interpolation line between any two consecutive data points + + + ( + + + + x + i + + , + + y + i + + + + ) + + , + + ( + + + + x + + i + + + 1 + + + , + + y + + i + + + 1 + + + + + ) + + +  
    is obtained by connecting consecutive points in
     is obtained by connecting consecutive points in + + + ( + + + + x + i + + , + + y + i + + + + ) + + , + + ( + + + + x + i + + , + + y + + i + + + 1 + + + + + ) + + , + + ( + + + + x + + i + + + 1 + + + , + + y + + i + + + 1 + + + + + ) + + +  
    using straight line segments.
     using straight line segments. 
  •  step-end – Step function with a single step at the end of each interval between consecutive data points. Given a sequence of data points, + + + ( + + + + x + 0 + + , + + y + 0 + + + + ) + + , + + , + + ( + + + + x + n + + , + + y + n + + + + ) + + +
    then the interpolation line between any two consecutive data points
    then the interpolation line between any two consecutive data points + + + ( + + + + x + i + + , + + y + i + + + + ) + + , + + ( + + + + x + + i + + + 1 + + + , + + y + + i + + + 1 + + + + + ) + + +  
    is obtained by connecting consecutive points in
     is obtained by connecting consecutive points in + + + ( + + + + x + i + + , + + y + i + + + + ) + + , + + ( + + + + x + + i + + + 1 + + + , + + y + i + + + + ) + + , + + ( + + + + x + + i + + + 1 + + + , + + y + + i + + + 1 + + + + + ) + + +  
    using straight line segments.
     using straight line segments. 

This attribute is evaluated for chart styles that are applied to a <chart:plot-area> 11.5 or <chart:series> 11.12 element.

The chart:interpolation attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:interpolation attribute are none, cubic-spline, b-spline, step-start, step-end, step-center-x or step-center-y.

20.28 chart:interval-major

The chart:interval-major attribute specifies major intervals on an axis 11.9.

This attribute is evaluated for a chart style that is applied to a <chart:axis> 11.9 element.

The chart:interval-major attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:interval-major attribute has the data type double 18.2.

20.29 chart:interval-minor-divisor

The chart:interval-minor-divisor attribute specifies a divisor for the chart:interval-major 20.28 value, the division of which determines the minor interval.

This attribute is evaluated for a chart style that is applied to a <chart:axis> 11.9 element.

The chart:interval-minor-divisor attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:interval-minor-divisor attribute has the data type positiveInteger 18.2.

20.30 chart:japanese-candle-stick

The chart:japanese-candle-stick attribute specifies the display of opening and closing values in a stock chart.

The defined values for the chart:japanese-candle-stick attribute are:

This attribute is evaluated for chart styles that are applied to a <chart:plot-area> 11.5 element.

The chart:japanese-candle-stick attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:japanese-candle-stick attribute has the data type boolean 18.3.3.

20.31 chart:label-arrangement

The chart:label-arrangement attribute specifies the arrangement of labels on an axis.

The defined values for the chart:label-arrangement attribute are:

This attribute is evaluated for a chart style that is applied to a <chart:axis> 11.9 element.

The chart:label-arrangement attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:label-arrangement attribute are side-by-side, stagger-even or stagger-odd.

20.32 chart:label-position

The chart:label-position attribute specifies where data labels are placed.

The defined values for the chart:label-position attribute are:

This attribute is evaluated for chart styles that are applied to <chart:data-label> 11.15, <chart:data-point> 11.14, <chart:series> 11.12 or <chart:plot-area> 11.5 elements.

The chart:label-position attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:label-position attribute are avoid-overlap, center, top, top-right, right, bottom-right, bottom, bottom-left, left, top-left, inside, outside or near-origin.

20.33 chart:label-position-negative

If the chart:label-position-negative attribute is set in addition to a chart:label-position 20.32 attribute, it is used for all labels that belong to data points with negative values. Otherwise, the position set in a chart:label-position attribute is used for positive and negative values. If a chart:label-position-negative attribute is used without a chart:label-position attribute it is ignored.

The defined values for the chart:label-position-negative attribute are:

  • avoid-overlap: an algorithm should be used that tries to place the labels without overlapping each other. 

  • bottom: the data label is placed below the data point. 

  • bottom-left: the data label is placed to the bottom left of the data point. 

  • bottom-right: the data label is placed to the bottom right of the data point. 

  • center: the data label is centered on the data point. 

  • inside: the data label is placed inside the data point ( for pie charts the label is placed inside the piece on the bisecting line aligned to the outer radius, for bar charts the label is inside the bar aligned to that end that is given by the data points value, for polar charts the label is placed on that side of the data point that points to the polar charts center ). 

  • left: the data label is placed left of the data point. 

  • near-origin: the data label is placed inside the data point on that side that is near to the origin - where the origin is the beginning of the bar in a bar chart or the base line in an area chart ( for bar charts the label is placed inside the bar like with value inside but aligned to the opposite end of the bar ). 

  • outside: the data label is placed outside the data point ( for pie charts the label is placed outside the circle aligned to the outer radius, for bar charts the label is outside the bar aligned to that end that is given by the data points value, for polar charts the label is placed on that side of the data point that points away from the polar charts center ). 

  • right: the data label is placed right of the data point. 

  • top: the data label is placed on top of the data point. 

  • top-left: the data label is placed to the top left of the data point. 

  • top-right: the data label is placed to the top right of the data point. 

The chart:label-position-negative attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:label-position-negative attribute are avoid-overlap, center, top, top-right, right, bottom-right, bottom, bottom-left, left, top-left, inside, outside or near-origin.

20.34 chart:lines (deprecated)

The chart:lines attribute specifies whether connecting lines between data points are shown.

Note: The display of lines can be specified by the draw:stroke 20.167 attribute.

The defined values for the chart:lines attribute are:

  • false: connecting lines between data points are not shown. 

  • true: connecting lines between data points are shown. 

The chart:lines attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:lines attribute has the data type boolean 18.3.3.

20.35 chart:link-data-style-to-source

The chart:link-data-style-to-source attribute can only be used in chart documents that are part of a document that provides the data for the chart.

This attribute is evaluated for a chart style that is applied to a <chart:axis> 11.9 element.

The defined values for the chart:link-data-style-to-source attribute are:

  • false: number format used for rendering axis labels is defined by the style:data-style-name 19.473 attribute. 

  • true: number format used for rendering the axis labels is inherited from the document providing the data.  

The chart:link-data-style-to-source attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:link-data-style-to-source attribute has the data type boolean 18.3.3.

20.36 chart:logarithmic

The chart:logarithmic attribute specifies whether logarithmic scaling will be used on an axis. By default, proportional scaling is used.

This attribute is evaluated for a chart style that is applied to a <chart:axis> 11.9 element.

The defined values for the chart:logarithmic attribute are:

  • false: proportional scaling is used. 

  • true: logarithmic scaling is used. 

The chart:logarithmic attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:logarithmic attribute has the data type boolean 18.3.3.

20.37 chart:maximum

The chart:maximum attribute specifies the maximum value of an axis.

This attribute is evaluated for a chart style that is applied to a <chart:axis> 11.9 element.

The chart:maximum attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:maximum attribute has the data type double 18.2.

20.38 chart:mean-value

The chart:mean-value attribute specifies whether to display a line that represents the statistical mean value of all data points of a series.

This attribute is evaluated for chart styles that are applied to a <chart:plot-area> 11.5 element or a <chart:series> 11.12 element.

The defined values for the chart:mean-value attribute are:

  • false: line representing the statistical mean of all the data points in a series is not displayed. 

  • true: line representing the statistical mean of all the data points in a series is displayed. 

The chart:mean-value attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:mean-value attribute has the data type boolean 18.3.3.

20.39 chart:minimum

The chart:minimum attribute specifies the minimum value of an axis.

This attribute is evaluated for a chart style that is applied to a <chart:axis> 11.9 element.

The chart:minimum attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:minimum attribute has the data type double 18.2.

20.40 chart:origin

The chart:origin attribute defines the origin of the graphical representation of a data series attached to an axis.

Note: For example, the beginning of the bars in a bar chart or the base line in an area chart can be set by the chart:origin attribute in the style of the y-axis to which the data series is attached.

If the first x-axis has a chart:axis-position 20.6 attribute, that position is taken to indicate the origin of the data points attached to the first y-axis. It overrides the chart:origin attribute of the first y-axis.

This attribute is evaluated for a chart style that is applied to a <chart:axis> 11.9 element.

The chart:origin attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:origin attribute has the data type double 18.2.

20.41 chart:overlap

The chart:overlap attribute specifies how much bars within the same category in a bar chart overlap. The attribute value is an integer that is interpreted as a percentage relative to the width of a single bar. Negative values specify gaps between bars.

This attribute is evaluated for chart styles that are applied to a <chart:axis> 11.9 element when a chart:dimension 19.18 attribute set to y.

Note: This allows bars to be attached to different axis arranged differently as long as they are grouped per axis (chart:group-bars-per-axis 20.24 attribute is true).

The chart:overlap attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:overlap attribute has the data type integer 18.2.

20.42 chart:pie-offset

The chart:pie-offset attribute specifies the distance of a segment from the center of the circle in case of circle charts. The offset is given as an integer which is interpreted as a percentage of the radius of the circle.

In the case of ring charts the chart:pie-offset attribute specifies an additional distance of a segment from the center of the circle. The distance is given as a percentage of the thickness of the ring.

This attribute is evaluated for chart styles that are applied to a <chart:data-point> 11.14 or <chart:series> 11.12 element.

The chart:pie-offset attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:pie-offset attribute has the data type nonNegativeInteger 18.2.

20.43 chart:percentage

The chart:percentage attribute specifies a percentage accumulation of values per category.

This attribute is evaluated for chart styles that are applied to a <chart:plot-area> 11.5 element.

The defined values for the chart:percentage attribute are:

  • false: the attribute has no effect  

  • true: values should be accumulated by category. The sum of the values per category is treated as 100 percent and the y-axis displays according to percentages.  

 

The chart:percentage attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:percentage attribute has the data type boolean 18.3.3.

20.44 chart:regression-force-intercept

The chart:regression-force-intercept attribute specifies whether a regression curve of type linear, exponential or polynomial intercepts the y-axis at a certain value. The defined values for the chart:regression-force-intercept attribute are:

The default value for this attribute is false.

This attribute is only evaluated together with the attribute chart:regression-type 20.50 and if that has one of the following values: linear, exponential or polynomial.

The chart:regression-force-intercept attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:regression-force-intercept attribute has the data type boolean 18.3.3.

20.45 chart:regression-intercept-value

The chart:regression-intercept-value attribute specifies where a regression curve intercepts the y-axis if attribute chart:regression-force-intercept 20.44 is true.

This attribute is only evaluated together with the chart:regression-force-intercept attribute.

The default value for this attribute is 0 in case of regression type linear or polynomial, and the default value is 1 in case of regression type exponential.

The chart:regression-intercept-value attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:regression-intercept-value attribute has the data type double 18.2.

20.46 chart:regression-max-degree

The chart:regression-max-degree attribute specifies the maximum degree of a polynomial regression curve. This attribute is only evaluated together with the attribute chart:regression-type 20.50 and if that has the value polynomial. The value of the chart:regression-max-degree attribute is greater than or equal to 2.

The default value for this attribute is 2.

The chart:regression-max-degree attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:regression-max-degree attribute has the data type positiveInteger 18.2.

20.47 chart:regression-moving-type

    1. The chart:regression-moving-type attribute specifies the type of a regression curve of type moving-average. The defined values for the chart:regression-moving-type attribute are:

      1. This attribute is only evaluated together with attribute chart:regression-type and if that has the value moving-average.

    The default value for this attribute is prior. 

 

The chart:regression-moving-type attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:regression-moving-type attribute are prior, central or averaged-abscissa.

20.48 chart:regression-name

The chart:regression-name attribute specifies the name of a regression curve.

The default value for this attribute is the empty string.

The chart:regression-name attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:regression-name attribute has the data type string 18.2.

20.49 chart:regression-period

    1. The chart:regression-period attribute specifies the number of points to be used to calculate a point of the regression curve.

      This attribute is only evaluated together with attribute chart:regression-type 20.50 and if that has the value moving-average.

The minimum value for this attribute is 2, the default value for this attribute is 2.

The chart:regression-period attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:regression-period attribute has the data type positiveInteger 18.2.

20.50 chart:regression-type

The chart:regression-type attribute specifies the regression function for a series. A regression function can be used to approximate the data points in a series.

The defined values for the chart:regression-type attribute are:

This attribute is evaluated for chart styles that are applied to <chart:regression-curve> 11.18, <chart:series> 11.12 or <chart:plot-area> 11.5 elements.

The chart:regression-type attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:regression-type attribute are none, linear, logarithmic, moving-average, exponential, power or polynomial.

20.51 chart:reverse-direction

The chart:reverse-direction attribute specifies whether the direction of an axis follows the Cartesian coordinate system or the reverse. False is the default.

In a Cartesian coordinate system the x-axis points from left to right and the y-axis points from bottom to top. 3D Cartesian coordinate systems are left-handed and polar coordinate systems are counter-clockwise. If x and y axes are swapped as in horizontal bar charts (when attribute chart:vertical 20.72 value is true), the unswapped coordinate system follows the Cartesian coordinate system and is left-handed.

This attribute is evaluated for chart styles that are applied to a <chart:axis> 11.9 element.

The defined values for the chart:reverse-direction attribute are:

  • false: direction of axis follows the Cartesian coordinate system. 

  • true: direction of axis follows the reverse of the Cartesian coordinate system. 

The chart:reverse-direction attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:reverse-direction attribute has the data type boolean 18.3.3.

20.52 chart:right-angled-axes

The chart:right-angled-axes attribute specifies a modification of the projection of a 3D chart. In a Cartesian coordinate system, the projections of x and y-axis are horizontal and vertical.

This attribute is evaluated for chart styles that are applied to a <chart:plot-area> 11.5 element. The chart:right-angled-axes attribute is ignored unless a chart:three-dimensional 20.65 attribute is present and has the value true.

The defined values for the chart:right-angled-axes attribute are:

  • false: the attribute has no effect. 

  • true: a 3D chart is sheared instead of rotated. For Cartesian coordinate systems, the x- and y-axis do form a right angle in the 2D-projection. 

The chart:right-angled-axes attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:right-angled-axes attribute has the data type boolean 18.3.3.

20.53 chart:scale-text

The chart:scale-text attribute specifies that the text contained in an object should be scaled whenever the size of the chart changes. This attribute can appear at all chart objects that contain text.

The defined values for the chart:scale-text attribute are:

The chart:scale-text attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:scale-text attribute has the data type boolean 18.3.3.

20.54 chart:series-source (deprecated)

The chart:series-source attribute specifies whether a tabular data for a chart contains all the data series in columns or rows.

The tabular data can be given by the table:cell-range-address attribute at the <chart:plot-area> 11.5 element or by the <table:table> 9.1.2 element inside the <chart:chart> 11.1 element.

When data is assigned more specifically to a chart element, with a values-cell-range-address attribute on a <chart:series> 11.12 element, the more specific data assignment has priority.

The chart:series-source attribute is evaluated for a chart style that is applied to a <chart:plot-area> 11.5 element.

The defined values for the chart:series-source attribute are:

  • columns: tabular data for a chart contains all the data series in columns. 

  • rows: tabular data for a chart contains all the data series in rows. 

The chart:series-source attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:series-source attribute are columns or rows.

20.55 chart:sort-by-x-values

The chart:sort-by-x-values attribute specifies whether the data points of a data series should be displayed in ascending order of the x values, or in the order they are contained in the underlying data. It is evaluated for styles that are assigned to the <chart:plot-area> 11.5 element. The chart:sort-by-x-values attribute is used for chart types with data series that contain x-values (for example scatter charts, 19.15).

The defined values for the chart:sort-by-x-values attribute are:

  • false: data points of a data series should be displayed in the order they are contained in the underlying data. 

  • true: data points of a data series should be displayed in ascending order of the x values. 

The chart:sort-by-x-values attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:sort-by-x-values attribute has the data type boolean 18.3.3.

20.56 chart:solid-type

The chart:solid-type attribute specifies the rendering of bars in three-dimensional bar charts.

The defined values for the chart:solid-type attribute are:

This attribute is evaluated for chart styles that are applied to <chart:data-point> 11.14, <chart:series> 11.12 or <chart:plot-area> 11.5 elements.

The chart:solid-type attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:solid-type attribute are cuboid, cylinder, cone or pyramid.

20.57 chart:spline-order

The chart:spline-order attribute specifies the degree of the polynomials used as part of the spline.

This attribute should be used together with chart:interpolation 20.27 attribute when it has the value b-spline.

The chart:spline-order attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:spline-order attribute has the data type positiveInteger 18.2.

20.58 chart:spline-resolution

The chart:spline-resolution attribute specifies the number of straight line segments used between any two data points.

This attribute should be used together with chart:interpolation 20.27 attribute when it has a value other than none.

The chart:spline-resolution attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:spline-resolution attribute has the data type positiveInteger 18.2.

20.59 chart:stacked

The chart:stacked attribute specifies the accumulation of the series values per category. Each value is in addition to the other values in the same category.

This attribute is evaluated for chart styles that are applied to a <chart:plot-area> 11.5 element.

The defined values for the chart:stacked attribute are:

  • false: series values should not be accumulated by category. 

  • true: series values should be accumulated by category. Bars in bar charts are stacked on top of each other. 

The chart:stacked attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:stacked attribute has the data type boolean 18.3.3.

20.60 chart:symbol-height

The chart:symbol-height attribute specifies the height of a symbol to be used for a data point in a chart.

This attribute should be used together with chart:symbol-type 20.62 attribute when the chart:symbol-type attribute has a value other than none.

The chart:symbol-height attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:symbol-height attribute has the data type nonNegativeLength 18.3.20.

20.61 chart:symbol-name

The chart:symbol-name attribute specifies a symbol to be used for a data point in a chart.

The glyphs associated with the values of the chart:symbol-name attribute are implementation-defined.

This attribute should be used only together with chart:symbol-type 20.62 attribute and only when the chart:symbol-type 20.62 attribute has the value named-symbol.

The chart:symbol-name attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:symbol-name attribute are square, diamond, arrow-down, arrow-up, arrow-right, arrow-left, bow-tie, hourglass, circle, star, x, plus, asterisk, horizontal-bar or vertical-bar.

20.62 chart:symbol-type

The chart:symbol-type attribute specifies if a symbol is used for a data point in a chart, and if so, which type of symbol is to be used.

The defined values for the chart:symbol-type attribute are:

  • automatic: the consumer chooses from the list of available named symbols (see chart:symbol-name 20.61 attribute), choose a different symbol per series in round-robin fashion,in this order: square, diamond, arrow-down, arrow-up, arrow-right, arrow-left, bow-tie, hourglass, circle, star, x, plus, asterisk, horizontal-bar, vertical-bar. 

  • named-symbol: a symbol specified within chart:symbol-name attribute should be used. 

  • none: no symbol should be used. 

  • image: an image defined by a <chart:symbol-image> 17.23 element is used as symbol.  

This attribute is evaluated for chart styles that are applied to <chart:data-point> 11.14, <chart:series> 11.12 or <chart:plot-area> 11.5 elements.

The chart:symbol-type attribute is usable with the following element: <style:chart-properties> 17.22.

20.63 chart:symbol-width

The chart:symbol-width attribute specifies the width of a symbol to be used for a data point in a chart.

This attribute should be used together with chart:symbol-type 20.62 attribute when the chart:symbol-type attribute has a value other than none.

The chart:symbol-width attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:symbol-width attribute has the data type nonNegativeLength 18.3.20.

20.64 chart:text-overlap

The chart:text-overlap attribute specifies whether axis labels may overlap each other.

This attribute is evaluated for a chart style that is applied to a <chart:axis> 20.62 element.

The defined values for the chart:text-overlap attribute are:

  • false: axis labels shall not overlap each other. 

  • true: axis labels may overlap each other. 

The chart:text-overlap attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:text-overlap attribute has the data type boolean 18.3.3.

20.65 chart:three-dimensional

The chart:three-dimensional attribute specifies whether a chart is displayed as a 3D scene.

This attribute is evaluated for chart styles that are applied to a <chart:plot-area> 11.5 element.

The defined values for the chart:three-dimensional attribute are:

  • false: chart should not be displayed as a 3D scene. 

  • true: chart should be displayed as a 3D scene. 

The chart:three-dimensional attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:three-dimensional attribute has the data type boolean 18.3.3.

20.66 chart:tick-marks-major-inner

The chart:tick-marks-major-inner attribute specifies the existence of major inner tick marks on an axis. They are drawn with respect to the major interval that may be specified by the chart:interval-major 20.28 attribute, and are drawn towards the inside of the plot area. That is, they are drawn to the right for an axis displayed on the left hand side of the plot area, and to the left for an axis displayed on the right hand side of the plot area.

If a chart:tick-marks-major-inner attribute and a chart:tick-marks-major-outer 20.67 attribute are both set to true, one tick mark is drawn that crosses the axis.

This attribute is evaluated for a chart style that is applied to a <chart:axis> 20.28 element.

The defined values for the chart:tick-marks-major-inner attribute are:

  • false: major inner tick marks should not appear on an axis. 

  • true: major inner tick marks should appear on an axis. 

The chart:tick-marks-major-inner attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:tick-marks-major-inner attribute has the data type boolean 18.3.3.

20.67 chart:tick-marks-major-outer

The chart:tick-marks-major-outer attribute specifies the existence of major outer tick marks on an axis. They are drawn with respect to the major interval that may be specified by the chart:interval-major 20.28 attribute, and are drawn towards the outside of the plot area. That is, they are drawn to the left for an axis displayed on the left hand side of the plot area, and to the right for an axis displayed on the right hand side of the plot area.

If a chart:tick-marks-major-inner 20.66 attribute and a chart:tick-marks-major-outer attribute are both set to true, one tick mark is drawn that crosses the axis.

This attribute is evaluated for a chart style that is applied to a <chart:axis> 11.9 element.

The defined values for the chart:tick-marks-major-outer attribute are:

  • false: major outer tick marks should not appear on an axis. 

  • true: major outer tick marks should appear on an axis. 

The chart:tick-marks-major-outer attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:tick-marks-major-outer attribute has the data type boolean 18.3.3.

20.68 chart:tick-marks-minor-inner

The chart:tick-marks-minor-inner attribute specifies the existence of minor inner tick marks on an axis. They are drawn with respect to the minor interval divisor that may be specified by the chart:interval-minor-divisor 20.29 attribute, and are drawn towards the inside of the plot area. That is, they are drawn to the right for an axis displayed on the left hand side of the plot area, and to the left for an axis displayed on the right hand side of the plot area.

If a chart:tick-marks-minor-inner attribute and a chart:tick-marks-minor-outer 20.69 attribute are both set to true, one tick mark is drawn that crosses the axis.

This attribute is evaluated for a chart style that is applied to a <chart:axis> 11.9 element.

The defined values for the chart:tick-marks-minor-inner attribute are:

  • false: minor inner tick marks should not appear on an axis. 

  • true: minor inner tick marks should appear on an axis. 

The chart:tick-marks-minor-inner attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:tick-marks-minor-inner attribute has the data type boolean 18.3.3.

20.69 chart:tick-marks-minor-outer

The chart:tick-marks-minor-outer attribute specifies the existence of minor outer tick marks on an axis. They are drawn with respect to the minor interval divisor that may be specified by the chart:interval-minor-divisor 20.29 attribute, and are drawn towards the outside of the plot area. That is, they are drawn to the left for an axis displayed on the left hand side of the plot area, and to the right for an axis displayed on the right hand side of the plot area.

If a chart:tick-marks-minor-inner 20.68 attribute and a chart:tick-marks-minor-outer attribute are set to true, one tick mark is drawn that crosses the axis.

This attribute is evaluated for a chart style that is applied to a <chart:axis> 11.9 element.

The defined values for the chart:tick-marks-minor-outer attribute are:

  • false: minor outer tick marks should not appear on an axis. 

  • true: minor outer tick marks should appear on an axis. 

The chart:tick-marks-minor-outer attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:tick-marks-minor-outer attribute has the data type boolean 18.3.3.

20.70 chart:tick-mark-position

The chart:tick-mark-position attribute specifies the position of the interval marks.

The defined values for the chart:tick-mark-position attribute are:

This attribute makes a difference only if the labels are not placed at the axis line, that is, if the chart:axis-label-position 20.5 attribute has the value outside-end or outside-start.

If the chart:tick-mark-position attribute is missing but a chart:axis-position attribute is given, chart:tick-mark-position is assumed to be at-labels-and-axis.

This attribute is evaluated for a chart style that is applied to a <chart:axis> element.

The chart:tick-mark-position attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:tick-mark-position attribute are at-labels, at-axis or at-labels-and-axis.

20.71 chart:treat-empty-cells

The chart:treat-empty-cells attribute specifies how missing and invalid values are plotted in a chart.

The defined values for the chart:treat-empty-cells attribute are:

The default behavior is ignore for scatter charts (chart:class 19.15 is chart:scatter). For all other chart types the default behavior is leave-gap.

This attribute is evaluated for chart styles that are applied to a <chart:plot-area> 11.5 element.

The chart:treat-empty-cells attribute is usable with the following element: <style:chart-properties> 17.22.

The values of the chart:treat-empty-cells attribute are use-zero, leave-gap or ignore.

20.72 chart:vertical

The chart:vertical attribute specifies whether the x-axis in a Cartesian coordinate system is oriented horizontally or vertically.

Note: This attribute is used to distinguish bar (chart:vertical=”true) and column (chart:vertical=”false) charts.

This attribute is evaluated for chart styles that are applied to a <chart:plot-area> 11.5 element.

The defined values for the chart:vertical attribute are:

  • false: horizontal x-axis, vertical y-axis. 

  • true: vertical x-axis, horizontal y-axis. 

The chart:vertical attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:vertical attribute has the data type boolean 18.3.3.

20.73 chart:visible

The chart:visible attribute specifies if an object in a chart is visible or not. By default, objects are visible.

This attribute is evaluated for chart styles that are applied to a <chart:axis> 11.9 element or a <chart:series> 11.12 element.

The defined values for the chart:visible attribute are:

  • false: object is not visible in chart. 

  • true: object is visible in chart. 

The chart:visible attribute is usable with the following element: <style:chart-properties> 17.22.

The chart:visible attribute has the data type boolean 18.3.3.

20.74 dr3d:ambient-color

See: 19.92

The dr3d:ambient-color attribute is usable with the following element: <style:graphic-properties> 17.21.

The dr3d:ambient-color attribute has the data type color 18.3.9.

20.75 dr3d:back-scale

The dr3d:back-scale attribute specifies the proportion of the background geometry for 3D rotation and extrude objects.

The dr3d:back-scale attribute is usable with the following element: <style:graphic-properties> 17.21.

The dr3d:back-scale attribute has the data type percent 18.3.23.

20.76 dr3d:backface-culling

The dr3d:backface-culling attribute specifies whether backface culling is enabled.

The defined values for the dr3d:backface-culling attribute are:

The dr3d:backface-culling attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the dr3d:backface-culling attribute are enabled or disabled.

20.77 dr3d:close-back

The dr3d:close-back attribute specifies if a back face is generated. The attribute can be used with 3D extrude and 3D rotation objects. It is only evaluated for geometries that are closed.

The defined values for the dr3d:close-back attribute are:

The dr3d:close-back attribute is usable with the following element: <style:graphic-properties> 17.21.

The dr3d:close-back attribute has the data type boolean 18.3.3.

20.78 dr3d:close-front

The dr3d:close-front attribute specifies if a front face is generated. The attribute can be used with 3D extrude and 3D rotation objects. It is only evaluated for geometries that are closed.

The defined values for the dr3d:close-front attribute are:

The dr3d:close-front attribute is usable with the following element: <style:graphic-properties> 17.21.

The dr3d:close-front attribute has the data type boolean 18.3.3.

20.79 dr3d:depth

The dr3d:depth attribute specifies an extrusion depth for extruded objects.

The dr3d:depth attribute is usable with the following element: <style:graphic-properties> 17.21.

The dr3d:depth attribute has the data type length 18.3.18.

20.80 dr3d:diffuse-color

The dr3d:diffuse-color attribute, along with dr3d:ambient-color 20.7420.74, dr3d:emissive-color 20.83, and dr3d:specular-color 20.91 specifies the four colors that define the color of a material.

The dr3d:diffuse-color attribute is usable with the following element: <style:graphic-properties> 17.21.

The dr3d:diffuse-color attribute has the data type color 18.3.9.

20.81 dr3d:edge-rounding

The dr3d:edge-rounding attribute specifies the size of an area at the edges of a geometry that is used for rounding edges, if the geometry of a 3D object is generated during run-time.

The dr3d:edge-rounding attribute is usable with the following element: <style:graphic-properties> 17.21.

The dr3d:edge-rounding attribute has the data type percent 18.3.23.

20.82 dr3d:edge-rounding-mode

The dr3d:edge-rounding-mode attribute specifies how to generate rounded edges.

Creating rounded edges in a 3D environment requires an inner and outer representation of the outline on which rounded edges will appear.

The defined values for the dr3d:edge-rounding-mode attribute are:

The dr3d:edge-rounding-mode attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the dr3d:edge-rounding-mode attribute are correct or attractive.

20.83 dr3d:emissive-color

The dr3d:emissive-color attribute, along with dr3d:ambient-color 20.74, dr3d:diffuse-color 20.80, and dr3d:specular-color 20.91 specifies the four colors that define the color of a material.

The dr3d:emissive-color attribute is usable with the following element: <style:graphic-properties> 17.21.

The dr3d:emissive-color attribute has the data type color 18.3.9.

20.84 dr3d:end-angle

The dr3d:end-angle attribute specifies the rotation angle for 3D rotation objects. The attribute value is an angle.

A value of 360 degrees defines that the 3D rotation object is closed and completely rotated. This is also the default. Values smaller than 360 degrees define opened 3D rotation objects (segments). Values larger than 360 degrees define 3D rotation objects with more than one rotation.

Note: The visible effect of values larger than 360 degrees only differs from that of 360 degrees when the dr3d:back-scale 20.75 attribute has a value different than 100% .

The dr3d:end-angle attribute is usable with the following element: <style:graphic-properties> 17.21.

The dr3d:end-angle attribute has the data type angle 18.3.1.

20.85 dr3d:horizontal-segments

The dr3d:horizontal-segments attribute specifies the number of horizontal segments that are used to generate a geometry, if the geometry of a 3D object is generated during run-time.

Note: Typical consumers support values between 2 and 256.

The dr3d:horizontal-segments attribute is usable with the following element: <style:graphic-properties> 17.21.

The dr3d:horizontal-segments attribute has the data type nonNegativeInteger 18.2.

20.86 dr3d:lighting-mode

The dr3d:lighting-mode attribute specifies whether lighting is used for a three-dimensional object.

The defined values for the dr3d:lighting-mode attribute are:

Note: The dr3d:lighting-mode 19.99 attribute is also defined for non-3D object uses.

The dr3d:lighting-mode attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the dr3d:lighting-mode attribute are standard or double-sided.

20.87 dr3d:normals-direction

The dr3d:normals-direction attribute specifies which sides of a 3D object's planes are displayed if the dr3d:lighting-mode attribute has the value 'standard'.

The defined values for the dr3d:normals-direction attribute are:

The front side of the plane is the one the normal points away from.

The dr3d:normals-direction attribute has no effect if the dr3d:lighting-mode 20.86 attribute has the value double-sided.

The dr3d:normals-direction attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the dr3d:normals-direction attribute are normal or inverse.

20.88 dr3d:normals-kind

The dr3d:normals-kind attribute specifies the normal settings for generated lighting.

The defined values for the dr3d:normals-kind attribute are:

The dr3d:normals-kind attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the dr3d:normals-kind attribute are object, flat or sphere.

20.89 dr3d:shadow

The dr3d:shadow attribute enables or disables a three-dimensional shadow for a three-dimensional object.

The defined values for the dr3d:shadow attribute are:

The dr3d:shadow attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the dr3d:shadow attribute are visible or hidden.

20.90 dr3d:shininess

The dr3d:shininess attribute specifies the shine of a material.

The dr3d:shininess attribute is usable with the following element: <style:graphic-properties> 17.21.

The dr3d:shininess attribute has the data type percent 18.3.23.

20.91 dr3d:specular-color

The dr3d:specular-color attribute, along with dr3d:ambient-color 20.74, dr3d:diffuse-color 20.80, and dr3d:emissive-color 20.80 specifies the four colors that define the color of a material.

The dr3d:specular-color attribute is usable with the following element: <style:graphic-properties> 17.21.

The dr3d:specular-color attribute has the data type color 18.3.9.

20.92 dr3d:texture-filter

The dr3d:texture-filter attribute specifies whether texture filtering is enabled.

The defined values for the dr3d:texture-filter attribute are:

The dr3d:texture-filter attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the dr3d:texture-filter attribute are enabled or disabled.

20.93 dr3d:texture-kind

The dr3d:texture-kind attribute specifies if texture changes the luminance, intensity, or color of a shape.

The defined values for the dr3d:texture-kind attribute are:

The dr3d:texture-kind attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the dr3d:texture-kind attribute are luminance, intensity or color.

20.94 dr3d:texture-mode

The dr3d:texture-mode attribute specifies how the texture is modulated.

The defined values for the dr3d:texture-mode attribute are:

The dr3d:texture-mode attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the dr3d:texture-mode attribute are replace, modulate or blend.

20.95 dr3d:texture-generation-mode-x

The dr3d:texture-generation-mode-x attribute, along with the dr3d:texture-generation-mode-y 20.96 attribute, specifies how textual coordinates are generated.

The defined values for the dr3d:texture-generation-mode-x attribute are:

  • object: This value specifies that the standard object projection method is used. 

  • parallel: This value specifies a flat parallel projection in the specified degree of freedom (X or Y). 

  • sphere: This value forces projection to wrapping in X and/or Y direction. 

The dr3d:texture-generation-mode-x attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the dr3d:texture-generation-mode-x attribute are object, parallel or sphere.

20.96 dr3d:texture-generation-mode-y

The dr3d:texture-generation-mode-y attribute, along with the dr3d:texture-generation-mode-x 20.95 attribute, specifies how textual coordinates are generated.

The defined values for the dr3d:texture-generation-mode-y attribute are:

  • object: This value specifies that the standard object projection method is used. 

  • parallel: This value specifies a flat parallel projection in the specified degree of freedom (X or Y). 

  • sphere: This value forces projection to wrapping in X and/or Y direction. 

The dr3d:texture-generation-mode-y attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the dr3d:texture-generation-mode-y attribute are object, parallel or sphere.

20.97 dr3d:vertical-segments

The dr3d:vertical-segments attribute specifies the number of vertical segments that are used to generate the geometry, if the geometry of a 3D object is generated during run-time.

Note: Typical consumers support values between 2 and 256.

The dr3d:vertical-segments attribute is usable with the following element: <style:graphic-properties> 17.21.

The dr3d:vertical-segments attribute has the data type nonNegativeInteger 18.2.

20.98 draw:auto-grow-height

The draw:auto-grow-height attributes specifies whether to automatically increase the height of the drawing object if text is added to the drawing object. This attribute is evaluated only for text boxes.

If both draw:auto-grow-width 20.99 and draw:auto-grow-height are present, a consumer should first grow the size of the drawing object in the dimension of the major text flow (width for horizontal writing, and height for vertical writing). Only after that size component is filled, a consumer should adjust the other dimension to fit the text content.

The defined values for the draw:auto-grow-height attribute are:

  • false: height of a drawing object should not automatically increase if text is added to the drawing object. 

  • true: height of a drawing object should automatically increase if text is added to the drawing object. 

The draw:auto-grow-height attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:auto-grow-height attribute has the data type boolean 18.3.3.

20.99 draw:auto-grow-width

The draw:auto-grow-width attribute specifies whether to automatically increase the width of the drawing object if text is added to the drawing object. This attribute is evaluated only for text boxes.

The defined values for the draw:auto-grow-width attribute are:

The draw:auto-grow-width attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:auto-grow-width attribute has the data type boolean 18.3.3.

20.100 draw:background-size

The draw:background-size attribute specifies whether the background of a page is rendered on a full page or only inside the borders of a page.

The defined values for the draw:background-size attribute are:

The draw:background-size attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The values of the draw:background-size attribute are full or border.

20.101 draw:blue

The draw:blue attribute specifies together with the attributes draw:green 20.136 and draw:red 20.156 a non destructive filter for a linear transformation of the white balance of a pixel image.

If any of these three attributes is specified, an offset is applied to each pixel of an image while is it rendered. The offsets for each color channel is given as a percentage in the range of -100% to +100%.

These offsets is scaled to the range -2^bits to 2^bits, where bits is the number of bits reserved for each color channel within the image. If the resulting value is less than 0 it is set to 0 and if it is greater than the maximum possible value it is set to the maximum.

Note: For example, if the draw:blue attribute has the value 50% and the blue color channel has 8 bits, then 128 is added to the blue color value of each pixel inside the image before it is rendered. If draw:blue has the value -50% then 128 is subtracted.

The draw:blue attribute specifies the offset for the blue color channel.

The draw:blue attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:blue attribute has the data type signedZeroToHundredPercent 18.3.30.

20.102 draw:caption-angle

The draw:caption-angle attribute specifies the leaving angle of the line of a caption. It is evaluated only if the draw:caption-angle-type 20.103 attribute has the value fixed.

The draw:caption-angle attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:caption-angle attribute has the data type angle 18.3.1.

20.103 draw:caption-angle-type

The draw:caption-angle-type attribute specifies if the leaving angle of the line of a caption is fixed or free.

The defined values for the draw:caption-angle-type attribute are:

The draw:caption-angle-type attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:caption-angle-type attribute are fixed or free.

20.104 draw:caption-escape

The draw:caption-escape attribute specifies the point where a caption's connector is connected to the caption's text area, measured from the top left corner of the text area. The value can be an absolute length or a percentage.

The draw:caption-escape attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:caption-escape attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

20.105 draw:caption-escape-direction

The draw:caption-escape-direction attribute specifies the leaving direction for the line of a caption. If this is set to auto the consumer can choose the best direction.

The defined values for the draw:caption-escape-direction attribute are:

The draw:caption-escape-direction attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:caption-escape-direction attribute are horizontal, vertical or auto.

20.106 draw:caption-fit-line-length

The draw:caption-fit-line-length attribute enables the consumer to determine the best possible length for a caption line.

The defined values for the draw:caption-fit-line-length attribute are:

The draw:caption-fit-line-length attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:caption-fit-line-length attribute has the data type boolean 18.3.3.

20.107 draw:caption-gap

The draw:caption-gap attribute specifies the distance between the text area of the caption and the start of the line.

The draw:caption-gap attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:caption-gap attribute has the data type distance 18.3.15.

20.108 draw:caption-line-length

The draw:caption-line-length attribute specifies the length of the first line of a caption. The attribute is only evaluated if draw:caption-fit-line-length 20.106 has the value false.

The draw:caption-line-length attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:caption-line-length attribute has the data type length 18.3.18.

20.109 draw:caption-type

The draw:caption-type attribute specifies the geometry of the line of a caption.

The defined values for the draw:caption-type attribute are:

The draw:caption-type attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:caption-type attribute are straight-line, angled-line or angled-connector-line.

20.110 draw:color-inversion

The draw:color-inversion attribute specifies whether the colors in the graphic shape should be inverted.

Note: Given a color "#rrggbb", where rr, gg and bb are 8-bit hexadecimal digits, the inverted color is "#RRGGBB" where RR is the 8 bit hexadecimal number obtained as the difference of hexadecimal FF and rr, GG is the 8-bit hexadecimal number obtained as the difference of hexadecimal FF (=255) and gg, and BB is the 8 bit hexadecimal number obtained as the difference of hexadecimal FF (=255) and bb.

The defined values for the draw:color-inversion attribute are:

The draw:color-inversion attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:color-inversion attribute has the data type boolean 18.3.3.

20.111 draw:color-mode

The draw:color-mode attribute sets the output of colors from a source bitmap or raster graphic.

The defined values for the draw:color-mode attribute are:

The draw:color-mode attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:color-mode attribute are greyscale, mono, watermark or standard.

20.112 draw:contrast

The draw:contrast attribute specifies a signed percentage value that sets the output contrast of a bitmap or raster graphic.

The draw:contrast attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:contrast attribute has the data type percent 18.3.23.

20.113 draw:decimal-places

The draw:decimal-places attribute specifies the number of decimal places that are used for the measure text.

The draw:decimal-places attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:decimal-places attribute has the data type nonNegativeInteger 18.2.

20.114 draw:draw-aspect

The draw:draw-aspect attribute specifies the display embedded objects.

The defined values for the draw:draw-aspect attribute are:

The draw:draw-aspect attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:draw-aspect attribute are content, thumbnail, icon or print-view.

20.115 draw:end-guide

The draw:end-guide attribute specifies a length that is added to the length of the end extension line. The extension line is extended by this length towards the end reference point.

The draw:end-guide attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:end-guide attribute has the data type length 18.3.18.

20.116 draw:end-line-spacing-horizontal

The draw:end-line-spacing-horizontal attribute increments the length of the leaving line from the end shape. For line connectors, it specifies the absolute length of the leaving line from the end shape. For other connector types, it is ignored.

The draw:end-line-spacing-horizontal attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:end-line-spacing-horizontal attribute has the data type distance 18.3.15.

20.117 draw:end-line-spacing-vertical

The draw:end-line-spacing-vertical attribute increments the length of the leaving line from the end shape. For line connectors, it specifies the absolute length of the leaving line from the end shape. For other connector types, it is ignored.

The draw:end-line-spacing-vertical attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:end-line-spacing-vertical attribute has the data type distance 18.3.15.

20.118 draw:fill

The draw:fill attribute specifies the fill style for a graphic object. Graphic objects that are not closed will not be filled.

Note: A path without a closepath at the end is open and will not be filled.

The defined values for the draw:fill attribute are:

The draw:fill attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The values of the draw:fill attribute are none, solid, bitmap, gradient or hatch.

20.119 draw:fill-color

The draw:fill-color attribute specifies the color of the fill for a graphic object. It is used only if the draw:fill 20.118 attribute has one of the values solid or hatch.

The draw:fill-color attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The draw:fill-color attribute has the data type color 18.3.9.

20.120 draw:fill-gradient-name

The draw:fill-gradient-name attribute specifies a gradient style that is used for filling graphic objects. It is used only if the draw:fill 20.118 attribute has the value gradient.

The draw:fill-gradient-name attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The draw:fill-gradient-name attribute has the data type styleNameRef 18.3.32.

20.121 draw:fill-hatch-name

The draw:fill-hatch-name attribute specifies a hatch style that is used for filling. It is used only if the draw:fill 20.118 attribute has the value hatch.

The draw:fill-hatch-name attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The draw:fill-hatch-name attribute has the data type styleNameRef 18.3.32.

20.122 draw:fill-hatch-solid

The draw:fill-hatch-solid attribute specifies whether the background of a hatch filling is solid or transparent.

The defined values for the draw:fill-hatch-solid attribute are:

The draw:fill-hatch-solid attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The draw:fill-hatch-solid attribute has the data type boolean 18.3.3.

20.123 draw:fill-image-height

The draw:fill-image-height attribute overrides the logical height of a source image that is used for filling. If the value of the style:repeat 20.341 attribute is stretch, this attribute is ignored.

The draw:fill-image-height attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The values of the draw:fill-image-height attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

20.124 draw:fill-image-name

The draw:fill-image-name attribute specifies a fill image that is used for filling. It is used only if the draw:fill 20.118 attribute has the value bitmap.

The draw:fill-image-name attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The draw:fill-image-name attribute has the data type styleNameRef 18.3.32.

20.125 draw:fill-image-ref-point

The draw:fill-image-ref-point attribute specifies an alignment of an image in the filling area.

If an alignment (draw:fill-image-ref-point) and a movement (draw:fill-image-ref-point-x 20.126, draw:fill-image-ref-point-y 20.127) are specified at the same time, the image first is aligned and then moved.

This attribute is only interpreted if the value of the current style:repeat 20.341 attribute is repeat.

The defined values for the draw:fill-image-ref-point attribute are:

  • bottom: image aligned with the bottom of the filling area. 

  • bottom-left: image aligned with the bottom-left of the filling area. 

  • bottom-right: image aligned with the bottom-right of the filling area. 

  • center: image aligned with the center of the filling area. 

  • left: image aligned with the left of the filling area. 

  • right: image aligned with the right of the filling area. 

  • top: image aligned with the top of the filling area. 

  • top-left: image aligned with the top-left of the filling area. 

  • top-right: image aligned with the top-right of the filling area. 

The draw:fill-image-ref-point attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The values of the draw:fill-image-ref-point attribute are top-left, top, top-right, left, center, right, bottom-left, bottom or bottom-right.

20.126 draw:fill-image-ref-point-x

The draw:fill-image-ref-point-x attribute specifies the horizontal movement of an image as a percentage value, where the percentage value is relative to the image width.

If an alignment (draw:fill-image-ref-point 20.125) and a movement (draw:fill-image-ref-point-x, draw:fill-image-ref-point-y 20.127) is specified at the same time, the image first is aligned and then moved.

This attribute is only interpreted if the value of the current style:repeat 20.341 attribute is repeat.

The draw:fill-image-ref-point-x attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The draw:fill-image-ref-point-x attribute has the data type percent 18.3.23.

20.127 draw:fill-image-ref-point-y

The draw:fill-image-ref-point-y attribute specifies the vertical movement of an image as a percentage value, where the percentage value is relative to the image width.

If an alignment (draw:fill-image-ref-point 20.125) and a movement (draw:fill-image-ref-point-x 20.126, draw:fill-image-ref-point-y) is specified at the same time, the image first is aligned and then moved.

This attribute is only interpreted if the value of the current style:repeat 20.341 attribute is repeat.

The draw:fill-image-ref-point-y attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The draw:fill-image-ref-point-y attribute has the data type percent 18.3.23.

20.128 draw:fill-image-width

The draw:fill-image-width attribute overrides the logical width of a source image that is used for filling. If the value of the style:repeat 20.341 attribute is stretch, this attribute is ignored.

The draw:fill-image-width attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The values of the draw:fill-image-width attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

20.129 draw:fit-to-contour

The draw:fit-to-contour attribute specifies whether to stretch the text content of a drawing object to fill the contour of an object.

The defined values for the draw:fit-to-contour attribute are:

The draw:fit-to-contour attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:fit-to-contour attribute has the data type boolean 18.3.3.

20.130 draw:fit-to-size

The draw:fit-to-size attribute specifies whether to stretch the text content of a drawing object to fill an entire object.

The defined values for the draw:fit-to-size attribute are:

The draw:fit-to-size attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:fit-to-size attribute has the data type boolean 18.3.3.

20.131 draw:frame-display-border

The draw:frame-display-border attribute specifies whether a border is displayed on a floating frame. This attribute can be used with automatic styles only.

The defined values for the draw:frame-display-border attribute are:

The draw:frame-display-border attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:frame-display-border attribute has the data type boolean 18.3.3.

20.132 draw:frame-margin-horizontal

The draw:frame-margin-horizontal attribute specifies the horizontal margin between the border and the content of the floating frame. If this attribute is not specified, the default margin is used. This attribute can be used with automatic styles only. The value of this attribute shall be a length in pixels.

The draw:frame-margin-horizontal attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:frame-margin-horizontal attribute has the data type nonNegativePixelLength 18.3.21.

20.133 draw:frame-display-scrollbar

The draw:frame-display-scrollbar attribute specifies whether vertical and horizontal scrollbars are displayed. This attribute can be assigned to automatic styles only.

The defined values for the draw:frame-display-scrollbar attribute are:

The draw:frame-display-scrollbar attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:frame-display-scrollbar attribute has the data type boolean 18.3.3.

20.134 draw:frame-margin-vertical

The draw:frame-margin-vertical attribute specifies the vertical margin between the border and the content of the floating frame. If this attribute is not specified, the default margin is used. This attribute can be used with automatic styles only. The value of this attribute shall be a length in pixels.

The draw:frame-margin-vertical attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:frame-margin-vertical attribute has the data type nonNegativePixelLength 18.3.21.

20.135 draw:gamma

The draw:gamma attribute specifies a value that sets the output gamma of a bitmap or raster graphic.

The draw:gamma attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:gamma attribute has the data type percent 18.3.23.

20.136 draw:green

The draw:green attribute specifies together with the attributes draw:blue 20.101 and draw:red 20.156 a non destructive filter for a linear transformation of the white balance of a pixel image.

The draw:green attribute specifies the offset for the green color channel.

The draw:green attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:green attribute has the data type signedZeroToHundredPercent 18.3.30.

20.137 draw:gradient-step-count

The draw:gradient-step-count attribute specifies the gradient step count of a color interpolation.

A gradient step count of color interpolation may be above 256.

The draw:gradient-step-count attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The draw:gradient-step-count attribute has the data type nonNegativeInteger 18.2.

20.138 draw:guide-distance

The draw:guide-distance attribute specifies the distance between the reference points and the start point of extension lines.

Note: This distance may be further modified for the start and end extensions lines individually with the draw:start-guide 20.164 and draw:end-guide 20.115 attributes.

The draw:guide-distance attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:guide-distance attribute has the data type distance 18.3.15.

20.139 draw:guide-overhang

The draw:guide-overhang attribute specifies the length of extension lines after their intersection with a dimension line.

The draw:guide-overhang attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:guide-overhang attribute has the data type length 18.3.18.

20.140 draw:image-opacity

The draw:image-opacity attribute specifies the opacity of an image.

The draw:image-opacity attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:image-opacity attribute has the data type zeroToHundredPercent 18.3.41.

20.141 draw:line-distance

The draw:line-distance attribute specifies the distance between a reference line (as defined by the reference points) and a dimension line.

The draw:line-distance attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:line-distance attribute has the data type distance 18.3.15.

20.142 draw:luminance

The draw:luminance attribute specifies a signed percentage value that sets the output luminance of a bitmap or raster graphic.

The draw:luminance attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:luminance attribute has the data type signedZeroToHundredPercent 18.3.30.

20.143 draw:marker-end

The draw:marker-end attribute specifies a stroke end marker, which is a path that can be connected to the end of a stroke.

The draw:marker-end attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:marker-end attribute has the data type styleNameRef 18.3.32.

20.144 draw:marker-end-center

The draw:marker-end-center attribute specifies whether an end marker is centered at the end of a stroke.

The defined values for the draw:marker-end-center attribute are:

The draw:marker-end-center attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:marker-end-center attribute has the data type boolean 18.3.3.

20.145 draw:marker-end-width

The draw:marker-end-width attribute specifies the width of the marker at the end of a stroke.

The draw:marker-end-width attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:marker-end-width attribute has the data type length 18.3.18.

20.146 draw:marker-start

The draw:marker-start attribute specifies a stroke start marker, which is a path that can be connected to the start of a stroke.

The draw:marker-start attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:marker-start attribute has the data type styleNameRef 18.3.32.

20.147 draw:marker-start-center

The draw:marker-start-center attribute specifies whether a start marker is centered at the start of a stroke.

The defined values for the draw:marker-start-center attribute are:

The draw:marker-start-center attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:marker-start-center attribute has the data type boolean 18.3.3.

20.148 draw:marker-start-width

The draw:marker-start-width attribute specifies the width of the marker at the start of a stroke.

The draw:marker-start-width attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:marker-start-width attribute has the data type length 18.3.18.

20.149 draw:measure-align

The draw:measure-align attribute specifies the horizontal alignment of a measure text relative to its measure line.

The defined values for the draw:measure-align attribute are:

The draw:measure-align attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:measure-align attribute are automatic, left-outside, inside or right-outside.

20.150 draw:measure-vertical-align

The draw:measure-vertical-align attribute specifies the vertical alignment of a measure text relative to its measure line. If the value of this attribute is automatic, the consumer chooses the best position.

The defined values for the draw:measure-vertical-align attribute are:

The draw:measure-vertical-align attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:measure-vertical-align attribute are automatic, above, below or center.

20.151 draw:ole-draw-aspect (deprecated)

The draw:ole-draw-aspect attribute specifies the display of embedded objects. See [OLE].

The use of this attribute is deprecated. The draw:draw-aspect 20.114 attribute should be used instead.

The draw:ole-draw-aspect attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:ole-draw-aspect attribute has the data type nonNegativeInteger 18.2.

20.152 draw:opacity

The draw:opacity attribute specifies the opacity for an image or graphic object. The value is a percentage, where 0% is transparent and 100% is opaque.

The defined value range for the draw:opacity attribute is 0% to 100%, inclusive.

Use of the draw:opacity attribute disables any transparency effect and set the opacity for the fill area of a graphic object.

The draw:opacity attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The draw:opacity attribute has the data type zeroToHundredPercent 18.3.41.

20.153 draw:opacity-name

The draw:opacity-name attribute specifies an opacity gradient that defines the opacity for the fill area of a graphic object. When applying an opacity gradient, the opacity is interpolated as defined in the referenced opacity gradient style. Opacity is applied after other fill styles have been applied to an image or graphic object.

The value of this attribute overrides the draw:opacity 20.152 attribute.

The draw:opacity-name attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The draw:opacity-name attribute has the data type styleNameRef 18.3.32.

20.154 draw:parallel

The draw:parallel attribute specifies whether a measure text is displayed parallel to its measure line or perpendicular to it.

The defined values for the draw:parallel attribute are:

The draw:parallel attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:parallel attribute has the data type boolean 18.3.3.

20.155 draw:placing

The draw:placing attribute specifies whether the measure line is rendered below or above the edge defined by the two reference points.

The defined values for the draw:placing attribute are:

The draw:placing attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:placing attribute are below or above.

20.156 draw:red

The draw:red attribute specifies together with the attributes draw:blue 20.101 and draw:green 20.136 a non destructive filter for a linear transformation of the white balance of a pixel image.

The draw:red attribute specifies the offset for the red color channel.

The draw:red attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:red attribute has the data type signedZeroToHundredPercent 18.3.30.

20.157 draw:secondary-fill-color

The draw:secondary-fill-color attribute specifies a secondary fill color. It may be used as fill color for the extrusion.

The draw:secondary-fill-color attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The draw:secondary-fill-color attribute has the data type color 18.3.9.

20.158 draw:shadow

The draw:shadow attribute enables or disables the visibility of a shadow.

The defined values for the draw:shadow attribute are:

The draw:shadow attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:shadow attribute are visible or hidden.

20.159 draw:shadow-color

The draw:shadow-color attribute specifies the color in which a shadow is rendered.

The draw:shadow-color attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:shadow-color attribute has the data type color 18.3.9.

20.160 draw:shadow-offset-x

The draw:shadow-offset-x attribute along with the draw:shadow-offset-y 20.161 attribute are used to render a shadow.

A copy of the shape is rendered in the single shadow color (specified by draw:shadow-color 20.159) behind the shape. The offset attributes specify the offset between the top left edge of the shape and the top left edge of the border.

The draw:shadow-offset-x attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:shadow-offset-x attribute has the data type length 18.3.18.

20.161 draw:shadow-offset-y

The draw:shadow-offset-y attribute along with the draw:shadow-offset-x 20.160 attribute are used to render a shadow.

The draw:shadow-offset-y attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:shadow-offset-y attribute has the data type length 18.3.18.

20.162 draw:shadow-opacity

The draw:shadow-opacity attribute specifies the opacity in which the shadow is rendered.

The draw:shadow-opacity attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:shadow-opacity attribute has the data type zeroToHundredPercent 18.3.41.

20.163 draw:show-unit

The draw:show-unit attribute specifies the visibility of a unit in the textual presentation of a measure shape.

The defined values for the draw:show-unit attribute are:

The draw:show-unit attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:show-unit attribute has the data type boolean 18.3.3.

20.164 draw:start-guide

The draw:start-guide attribute specifies a length that is added to the length of a start extension line. The extension line is extended by this length towards the start reference point.

The draw:start-guide attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:start-guide attribute has the data type length 18.3.18.

20.165 draw:start-line-spacing-horizontal

The draw:start-line-spacing-horizontal attribute increments the length of the leaving line from the start shape for standard connectors. For lines connectors, these attributes specify the absolute length of the leaving line from the start shape. For other connector types, they are ignored.

The draw:start-line-spacing-horizontal attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:start-line-spacing-horizontal attribute has the data type distance 18.3.15.

20.166 draw:start-line-spacing-vertical

The draw:start-line-spacing-vertical attribute increments the length of the leaving line from the start shape for standard connectors. For lines connectors, these attributes specify the absolute length of the leaving line from the start shape. For other connector types, they are ignored.

The draw:start-line-spacing-vertical attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:start-line-spacing-vertical attribute has the data type distance 18.3.15.

20.167 draw:stroke

The draw:stroke attribute specifies the style of the stroke on the current object.

The defined values for the draw:stroke attribute are:

The draw:stroke attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:stroke attribute are none, dash or solid.

20.168 draw:stroke-dash

The draw:stroke-dash attribute specifies the dash style that is used for a stroke.

The draw:stroke-dash attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:stroke-dash attribute has the data type styleNameRef 18.3.32.

20.169 draw:stroke-dash-names

The draw:stroke-dash-names attribute specifies a list of dash styles that are used for the stroke in addition to the dash specified by the draw:stroke-dash 20.168 attribute.

For each dash style referenced by the attribute a stroke using that dash style is drawn on top of the already drawn strokes.

The draw:stroke-dash-names attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:stroke-dash-names attribute has the data type styleNameRefs 18.3.33.

20.170 draw:stroke-linejoin

The draw:stroke-linejoin attribute specifies the shape at the corners of paths or other vector shapes when they are stroked.

The defined values for the draw:stroke-linejoin attribute are:

The draw:stroke-linejoin attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:stroke-linejoin attribute are miter, round, bevel, middle or none.

20.171 svg:stroke-linecap

The svg:stroke-linecap attribute specifies the shape of the end of open subpaths when they are stroked.

For a dashed line, caps are applied to each dash. The values of the draw:dots1-length 19.136, draw:dots2-length 19.138 and draw:distance 19.134 attributes of the referenced <draw:stroke-dash> 20.168 element refer to the dashes without cap.

If the referenced <draw:stroke-dash> element has an attribute draw:style 19.218, the attribute draw:style is ignored.

The defined values for the svg:stroke-linecap attribute are:

  • butt: See §11.4 of [SVG]. 

  • round: See §11.4 of [SVG]. 

  • square: See §11.4 of [SVG]. 

The svg:stroke-linecap attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the svg:stroke-linecap attribute are butt, square or round.

20.172 draw:symbol-color

The draw:symbol-color attribute defines the color to be used to draw symbols contained on the drawing object.

The draw:symbol-color attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:symbol-color attribute has the data type color 18.3.9.

20.173 draw:textarea-horizontal-align

The draw:textarea-horizontal-align attribute specifies the horizontal alignment of the text area inside a shape.

The defined values for the draw:textarea-horizontal-align attribute are:

The draw:textarea-horizontal-align attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:textarea-horizontal-align attribute are left, center, right or justify.

20.174 draw:textarea-vertical-align

The draw:textarea-vertical-align attribute specifies the vertical alignment of the text area inside a shape.

The defined values for the draw:textarea-vertical-align attribute are:

The draw:textarea-vertical-align attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:textarea-vertical-align attribute are top, middle, bottom or justify.

20.175 draw:tile-repeat-offset

The draw:tile-repeat-offset attribute specifies for tiling the translation of each tile in relation to the previous tile. This attribute is only interpreted if the value of the current style:repeat 20.341 attribute is repeat. The value of this attribute is a percentage value representing the tiles repeat offset relative to the tiles height or width, followed by either the word horizontal or vertical.

The defined values for the draw:tile-repeat-offset attribute are:

  • horizontal: images are tiled horizontally with regard to the previous tile. 

  • vertical: images are tiled vertically with regard to the previous tile. 

The draw:tile-repeat-offset attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The draw:tile-repeat-offset attribute has two white space separated values. The first value is of type zeroToHundredPercent 18.3.41. The second value is one of: horizontal or vertical.

20.176 draw:visible-area-height

The visible area of an object may be specified by the draw:visible-area-height attribute along with the draw:visible-area-left 20.177, draw:visible-area-top 20.178, draw:visible-area-width 20.179 attributes. It is implementation-defined whether these attributes are used to specify the visible area, or whether the producer of the object stores the visible area within the object itself.

When the entire object is visible, the values of the draw:visible-area-left and draw:visible-area-top attributes are 0 and the draw:visible-area-width and draw:visible-area-height attributes specify the size of the object. These attributes can be assigned to automatic styles only.

The draw:visible-area-height attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:visible-area-height attribute has the data type positiveLength 18.3.26.

20.177 draw:visible-area-left

The visible area of an object may be specified by the draw:visible-area-left attribute along with the draw:visible-area-height 20.176, draw:visible-area-top 20.178, draw:visible-area-width 20.179 attributes. It is implementation-defined whether these attributes are used to specify the visible area, or whether the producer of the object stores the visible area within the object itself.

When the entire object is visible, the values of the draw:visible-area-left and draw:visible-area-top attributes are 0 and the draw:visible-area-width and draw:visible-area-height attributes specify the size of the object. These attributes can be assigned to automatic styles only.

The draw:visible-area-left attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:visible-area-left attribute has the data type nonNegativeLength 18.3.20.

20.178 draw:visible-area-top

The visible area of an object may be specified by the draw:visible-area-top attribute along with the draw:visible-area-left 20.177, draw:visible-area-height 20.176, draw:visible-area-width 20.179 attributes. It is implementation-defined whether these attributes are used to specify the visible area, or whether the producer of the object stores the visible area within the object itself.

When the entire object is visible, the values of the draw:visible-area-left and draw:visible-area-top attributes are 0 and the draw:visible-area-width and draw:visible-area-height attributes specify the size of the object. These attributes can be assigned to automatic styles only.

The draw:visible-area-top attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:visible-area-top attribute has the data type nonNegativeLength 18.3.20.

20.179 draw:visible-area-width

The visible area of an object may be specified by the draw:visible-area-width attribute along with the draw:visible-area-left 20.177, draw:visible-area-top 20.178, draw:visible-area-height 20.176 attributes. It is implementation-defined whether these attributes are used to specify the visible area, or whether the producer of the object stores the visible area within the object itself.

When the entire object is visible, the values of the draw:visible-area-left and draw:visible-area-top attributes are 0 and the draw:visible-area-width and draw:visible-area-height attributes specify the size of the object. These attributes can be assigned to automatic styles only.

The draw:visible-area-width attribute is usable with the following element: <style:graphic-properties> 17.21.

The draw:visible-area-width attribute has the data type positiveLength 18.3.26.

20.180 draw:unit

The draw:unit attribute specifies the unit of measurement used in the textual presentation of a measure shape.

The defined values for the draw:unit attribute are:

The draw:unit attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:unit attribute are automatic, mm, cm, m, km, pt, pc, inch, ft or mi.

20.181 draw:wrap-influence-on-position

The draw:wrap-influence-on-position attribute specifies placement options for two or more frames or graphic objects with style:wrap 20.400 properties that influence the placement of the other object. It is intended as a hint to the layout algorithm to help determine the placement of frames in cases where several correct placements are possible.

The situation in which this attribute makes a difference is when the anchor, position and wrapping mode of a frame influence each other. For example, consider a paragraph of text with two images positioned above the anchor. Without wrapping, the images overlie the text and can simply be placed at the given offset from the anchor.

If wrap-around is enabled, the text hidden behind the images now should flow around the images, making the first paragraph use more space than previously. This moves the anchor position further down. If the placement is only done once and concurrently for all objects, this is the final result. This corresponds to the option once-concurrent.

If one image is processed at a time, the position shown Figure 5 results. This corresponds to the option once-successive.

If the images are placed iteratively, until a position is found which corresponds to the given offset from the anchor, a placement that fully satisfies all the given layout formatting properties can be achieved. This corresponds to the option iterative.

The defined values for the draw:wrap-influence-on-position attribute are:

The draw:wrap-influence-on-position attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the draw:wrap-influence-on-position attribute are iterative, once-concurrent or once-successive.

20.182 fo:background-color

The fo:background-color attribute specifies a background color for characters, paragraphs, text sections, frames, page bodies, headers, footers, table cells, table rows and tables. This can be transparent or a color. If the value is set to transparent, it switches off any background image that is specified by a <style:background-image> 17.3.

If a value for a draw:fill attribute is provided in a style, any background image that is specified by a <style:background-image> element and any background color that is specified with the fo:background-color attribute are switched off.

The fo:background-color attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6, <style:section-properties> 17.11, <style:table-cell-properties> 17.18, <style:table-properties> 17.15, <style:table-row-properties> 17.17 and <style:text-properties> 16.29.29.

The values of the fo:background-color attribute are transparent or a value of type color 18.3.9.

20.183 fo Border Properties

20.183.1 General

The fo:border, fo:border-top, fo:border-bottom, fo:border-left and fo:border-right attributes specify border properties for these elements:

20.183.2 fo:border

See §7.29.3 of [XSL].

The fo:border attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The fo:border attribute has the data type string 18.2.

20.183.3 fo:border-bottom

See §7.29.4 of [XSL].

The fo:border-bottom attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The fo:border-bottom attribute has the data type string 18.2.

20.183.4 fo:border-left

See §7.29.6 of [XSL].

The fo:border-left attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The fo:border-left attribute has the data type string 18.2.

20.183.5 fo:border-right

See §7.29.7 of [XSL].

The fo:border-right attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The fo:border-right attribute has the data type string 18.2.

20.183.6 fo:border-top

See §7.29.10 of [XSL].

The fo:border-top attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The fo:border-top attribute has the data type string 18.2.

20.184 fo:break-after

See §7.19.1 of [XSL]. The values odd-page and even-page are not supported.

This attribute shall not be used at the same time as fo:break-before.

In the OpenDocument XSL-compatible namespace, the fo:break-after attribute does not support even-page, inherit and odd-page values.

The fo:break-after attribute is usable with the following elements: <style:paragraph-properties> 17.6, <style:table-column-properties> 17.16, <style:table-properties> 17.15 and <style:table-row-properties> 17.17.

The values of the fo:break-after attribute are auto, column or page.

20.185 fo:break-before

See §7.19.2 of [XSL]. The values odd-page and even-page are not supported.

This attribute shall not be used at the same time as fo:break-after.

In the OpenDocument XSL-compatible namespace, the fo:break-before attribute does not support even-page, inherit and odd-page values.

The fo:break-before attribute is usable with the following elements: <style:paragraph-properties> 17.6, <style:table-column-properties> 17.16, <style:table-properties> 17.15 and <style:table-row-properties> 17.17.

The values of the fo:break-before attribute are auto, column or page.

20.186 fo:clip

See §7.20.1 of [XSL].

In the OpenDocument XSL-compatible namespace, the fo:clip attribute does not support em and px values.

The defined value for the fo:clip attribute is a value of type clipShape 18.3.8.

The fo:clip attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the fo:clip attribute are auto or a value of type clipShape 18.3.8.

20.187 fo:color

See §7.17.1 of [XSL].

In the OpenDocument XSL-compatible namespace, the fo:color attribute does not support the inherit value.

The fo:color attribute is usable with the following element: <style:text-properties> 16.29.29.

The fo:color attribute has the data type color 18.3.9.

20.188 fo:country

See §7.9.1 of [XSL].

The attribute is evaluated for any [UNICODE] characters whose script type is latin. 20.358

It may be ignored if is not specified together with a fo:language 20.202 attribute.

In the OpenDocument XSL-compatible namespace, the fo:country attribute does not support none or inherit values.

The fo:country attribute is usable with the following element: <style:text-properties> 16.29.29.

The fo:country attribute has the data type countryCode 18.3.11.

20.189 fo:font-family

See §7.8.2 of [XSL].

The fo:font-family attribute is evaluated for any [UNICODE] character whose script type is latin. 20.358

Instead of this attribute, the style:font-name 20.277 attribute should be used to specify the properties of a font.

The fo:font-family attribute is usable with the following element: <style:text-properties> 16.29.29.

The fo:font-family attribute has the data type string 18.2.

20.190 fo:font-size

See §7.8.4 of [XSL].

This attribute is evaluated for any [UNICODE] character whose script type is latin. 20.358

The value of this attribute is either an absolute length or a percentage as described in §7.8.4 of [XSL]. In contrast to XSL, percentage values can be used within common styles only and are based on the font height of the parent style rather than to the font height of the attributes neighborhood. Absolute font heights and relative font heights are not supported.

Note: The style:font-size-asian attribute (20.284) is evaluated for [UNICODE] characters whose type is asian. 20.358 The style:font-size-complex attribute (20.285) is evaluated for [UNICODE] characters whose type is complex. 20.358

In the OpenDocument XSL-compatible namespace, the fo:font-size attribute does not support absolute-size, inherit and relative-size values.

The fo:font-size attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the fo:font-size attribute are a value of type positiveLength 18.3.26 or a value of type percent 18.3.23.

20.191 fo:font-style

See §7.8.7 of [XSL].

This attribute is evaluated for any [UNICODE] character whose script type is latin. 20.358

In the OpenDocument XSL-compatible namespace, the fo:font-style attribute does not support backslant and inherit values.

The fo:font-style attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the fo:font-style attribute are normal, italic or oblique.

20.192 fo:font-variant

See §7.8.8 of [XSL].

In the OpenDocument XSL-compatible namespace, the fo:font-variant attribute does not support the inherit value.

The fo:font-variant attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the fo:font-variant attribute are normal or small-caps.

20.193 fo:font-weight

See §7.8.9 of [XSL].

This attribute is evaluated for any [UNICODE] character whose script type is latin. 20.358

In the OpenDocument XSL-compatible namespace, the fo:font-weight attribute does not support bolder, inherit and lighter values.

The fo:font-weight attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the fo:font-weight attribute are normal, bold, 100, 200, 300, 400, 500, 600, 700, 800 or 900.

20.194 fo:height

See §7.14.4 of [XSL].

The fo:height attribute is used with fo:width 20.229 to set the size of a bullet image.

In the OpenDocument XSL-compatible namespace, the fo:height attribute does not support auto, inherit and percentage values.

The fo:height attribute is usable with the following element: <style:list-level-properties> 17.19.

The fo:height attribute has the data type positiveLength 18.3.26.

20.195 fo:hyphenate

See §7.9.4 of [XSL].

In the OpenDocument XSL-compatible namespace, the fo:hyphenate attribute does not support the inherit value.

The fo:hyphenate attribute is usable with the following element: <style:text-properties> 16.29.29.

The fo:hyphenate attribute has the data type boolean 18.3.3.

20.196 fo:hyphenation-keep

See §7.15.1 of [XSL].

The fo:hyphenation-keep attribute is usable with the following element: <style:paragraph-properties> 17.6.

The values of the fo:hyphenation-keep attribute are auto or page.

20.197 fo:hyphenation-ladder-count

See §7.15.2 of [XSL].

The defined values for the fo:hyphenation-ladder-count attribute are:

  • no-limit: 

  • a value of type positiveInteger 

The fo:hyphenation-ladder-count attribute is usable with the following element: <style:paragraph-properties> 17.6.

The values of the fo:hyphenation-ladder-count attribute are no-limit or a value of type positiveInteger 18.2.

20.198 fo:hyphenation-push-char-count

See §7.9.6 of [XSL].

The fo:hyphenation-push-char-count attribute is usable with the following element: <style:text-properties> 16.29.29.

The fo:hyphenation-push-char-count attribute has the data type positiveInteger 18.2.

20.199 fo:hyphenation-remain-char-count

See §7.9.7 of [XSL].

The fo:hyphenation-remain-char-count attribute is usable with the following element: <style:text-properties> 16.29.29.

The fo:hyphenation-remain-char-count attribute has the data type positiveInteger 18.2.

20.200 fo:keep-together

See §7.19.3 of [XSL].

In the OpenDocument XSL-compatible namespace, the fo:keep-together attribute does not support the integer value.

The fo:keep-together attribute is usable with the following elements: <style:paragraph-properties> 17.6 and <style:table-row-properties> 17.17.

The values of the fo:keep-together attribute are auto or always.

20.201 fo:keep-with-next

See §7.19.4 of [XSL].

In the OpenDocument XSL-compatible namespace, the fo:keep-with-next attribute does not support the integer value.

The fo:keep-with-next attribute is usable with the following elements: <style:paragraph-properties> 17.6 and <style:table-properties> 17.15.

The values of the fo:keep-with-next attribute are auto or always.

20.202 fo:language

See §7.9.2 of [XSL]. Compared to the XSL language attribute, the value range of this attribute is extended to additional parts of ISO 639. See 18.3.17.

This attribute is evaluated for any [UNICODE] character whose script type is latin. 20.358

This attribute may be ignored if it is not specified together with a fo:country 20.188 attribute.

In the OpenDocument XSL-compatible namespace, the fo:language attribute does not support the inherit and none values.

The fo:language attribute is usable with the following element: <style:text-properties> 16.29.29.

The fo:language attribute has the data type languageCode 18.3.17.

20.203 fo:letter-spacing

See §7.16.2 of [XSL].

In the OpenDocument XSL-compatible namespace, the fo:letter-spacing attribute does not support the inherit and space values.

The defined value for the fo:letter-spacing attribute is a value of type length 18.3.18.

The fo:letter-spacing attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the fo:letter-spacing attribute are a value of type length 18.3.18 or normal.

20.204 fo:line-height

 See §7.15.4 of [XSL].

The value normal activates the default line height calculation. The value of this attribute can be a length, a percentage, normal.

In the OpenDocument XSL-compatible namespace, the fo:line-height attribute does not support the inherit, number, and space values.

The defined values for the fo:line-height attribute are:

  • a value of type nonNegativeLength 18.3.20 

  • normal: disables the effects of style:line-height-at-least 20.317 and style:line-spacing 20.318.  

  • a value of type percent 18.3.23 

The fo:line-height attribute is usable with the following element: <style:paragraph-properties> 17.6.

The values of the fo:line-height attribute are normal, a value of type nonNegativeLength 18.3.20 or a value of type percent 18.3.23.

20.205 fo:margin

See §7.29.14 of [XSL].

In the OpenDocument XSL-compatible namespace, the fo:margin attribute does not support auto and inherit values.

The fo:margin attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-properties> 17.15.

The values of the fo:margin attribute are a value of type nonNegativeLength 18.3.20 or a value of type percent 18.3.23.

20.206 fo:margin-bottom

See §7.10.2 of [XSL].

If this attribute is contained in a <style:paragraph-properties> 17.6 element, its value may be a percentage that refers to the corresponding margin of a parent style.

In the OpenDocument XSL-compatible namespace, the fo:margin-bottom attribute does not support the auto and inherit values.

The fo:margin-bottom attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-properties> 17.15.

The values of the fo:margin-bottom attribute are a value of type nonNegativeLength 18.3.20 or a value of type percent 18.3.23.

20.207 fo:margin-left

See §7.10.3 of [XSL].

If this attribute is contained in a <style:paragraph-properties> 17.6 element, its value may be a percentage that refers to the corresponding margin of a parent style.

Tables that align to the left or to the center ignore right margins, and tables that align to the right or to the center ignore left margins.

The fo:margin-left attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6, <style:section-properties> 17.11 and <style:table-properties> 17.15.

The values of the fo:margin-left attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

20.208 fo:margin-right

See §7.10.4 of [XSL].

If this attribute is contained in a <style:paragraph-properties> 17.6 element, its value may be a percentage that refers to the corresponding margin of a parent style.

Tables that align to the left or to the center ignore right margins, and tables that align to the right or to the center ignore left margins.

The fo:margin-right attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6, <style:section-properties> 17.11 and <style:table-properties> 17.15.

The values of the fo:margin-right attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

20.209 fo:margin-top

See §7.10.1 of [XSL].

If this attribute is contained in a <style:paragraph-properties> 17.6 element, its value may be a percentage that refers to the corresponding margin of a parent style.

In the OpenDocument XSL-compatible namespace, the fo:margin-top attribute does not support the inherit value.

The fo:margin-top attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-properties> 17.15.

The values of the fo:margin-top attribute are a value of type nonNegativeLength 18.3.20 or a value of type percent 18.3.23.

20.210 fo:max-height

The fo:max-height attribute specifies a default maximum height for new frames that are created using a graphics style. See 19.238.

The fo:max-height attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the fo:max-height attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

20.211 fo:max-width

The fo:max-width attribute specifies a default maximum width for new frames that are created using a graphics style. See 19.239.

The fo:max-width attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the fo:max-width attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

20.212 fo:min-height

20.212.1 <style:graphic-properties>

The fo:min-height attribute specifies a default minimum height for new frames that are created using a graphics style. See 19.240.

The fo:min-height attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the fo:min-height attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

20.212.2 <style:header-footer-properties>

The fo:min-height attribute specifies a minimum height for a header or footer.

The fo:min-height attribute is usable with the following element: <style:header-footer-properties> 17.5.

The fo:min-height attribute has the data type length 18.3.18.

20.213 fo:min-width

The fo:min-width attribute specifies a default minimum width for new frames that are created using a graphics style. See 19.241.

The fo:min-width attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the fo:min-width attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

20.214 fo:orphans

See §7.19.6 of [XSL].

The fo:orphans attribute is usable with the following element: <style:paragraph-properties> 17.6.

The fo:orphans attribute has the data type nonNegativeInteger 18.2.

20.215 fo:page-height

See §7.25.13 of [XSL].

The fo:page-height attribute is usable with the following element: <style:page-layout-properties> 17.2.

The fo:page-height attribute has the data type length 18.3.18.

20.216 fo:page-width

See §7.25.15 of [XSL].

The fo:page-width attribute is usable with the following element: <style:page-layout-properties> 17.2.

The fo:page-width attribute has the data type length 18.3.18.

20.217 fo:padding

See §7.29.15 of [XSL].

The fo:padding attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The fo:padding attribute has the data type nonNegativeLength 18.3.20.

20.218 fo:padding-bottom

See §7.7.36 of [XSL].

The fo:padding-bottom attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The fo:padding-bottom attribute has the data type nonNegativeLength 18.3.20.

20.219 fo:padding-left

See §7.7.37 of [XSL].

The fo:padding-left attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The fo:padding-left attribute has the data type nonNegativeLength 18.3.20.

20.220 fo:padding-right

See §7.7.38 of [XSL].

The fo:padding-right attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The fo:padding-right attribute has the data type nonNegativeLength 18.3.20.

20.221 fo:padding-top

See §7.7.35 of [XSL].

The fo:padding-top attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The fo:padding-top attribute has the data type nonNegativeLength 18.3.20.

20.222 fo:script

See §7.9.3 of [XSL]. The attribute should be used only if necessary according to the rules of §2.2.3 of [RFC5646], or its successors.

The attribute is evaluated for any [UNICODE] character whose script type is latin. 20.358

It may be ignored if is not specified together with a fo:language 20.202 attribute.

In the OpenDocument XSL-compatible namespace, the fo:script attribute does not support the inherit or none values.

The fo:script attribute is usable with the following element: <style:text-properties> 16.29.29.

The fo:script attribute has the data type scriptCode 18.3.29.

20.223 fo:text-align

See §7.15.9 of [XSL].

If there are no values specified for the fo:text-align and style:justify-single-word 20.301 attributes within the same formatting properties element, the values of those attributes is set to start and false respectively.

In the OpenDocument XSL-compatible namespace, the fo:text-align attribute does not support the inherit, inside, outside, or string values.

The fo:text-align attribute is usable with the following elements: <style:list-level-properties> 17.19 and <style:paragraph-properties> 17.6.

The values of the fo:text-align attribute are start, end, left, right, center or justify.

20.223.1 <style:paragraph-properties>

The fo:text-align attribute when used with the <style:paragraph-properties> 17.6 element specifies the alignment of text in a paragraph.

The values of start and end are interpreted according to the writing direction of the text.

The fo:text-align attribute is usable with the following element: <style:paragraph-properties> 17.6.

The values of the fo:text-align attribute are start, end, left, right, center or justify.

20.223.2 <style:list-level-properties>

The fo:text-align attribute when used with the <style:list-level-properties> 17.20 element specifies the alignment of list labels.

If the text:list-level-position-and-space-mode 20.431 attribute on the same <style:list-level-properties> element has the value label-width-and-position, the fo:text-align attribute specifies the horizontal alignment of the list label within the width specified by the text:min-label-width 20.433 attribute. If the actual width of the list label is greater than the specified minimum width no alignment takes place.

If the text:list-level-position-and-space-mode attribute on the same <style:list-level-properties> element has the value label-alignment, the value of the text:min-label-width attribute is treated as 0 and the fo:text-align attribute specifies the horizontal alignment of the list label at the alignment position. The alignment position is specified by the fo:margin-left 20.207 and fo:text-indent 20.225 attributes of its child element <style:list-level-label-alignment> 17.20.

The defined values for the fo:text-align attribute are:

  • center: center of the list label is positioned at the alignment position. 

  • end: interpreted as fo:text-align=”right 

  • justify: label is justified. 

  • left: list label starts at the alignment position. 

  • right: list label ends at the alignment position. 

  • start: interpreted as fo:text-align=”left”. 

The fo:text-align attribute is usable with the following element: <style:list-level-properties> 17.19.

The values of the fo:text-align attribute are start, end, left, right, center or justify.

20.224 fo:text-align-last

See §7.15.10 of [XSL].

This attribute is ignored if it not accompanied by an fo:text-align 20.223 attribute.

If no value is specified for this attribute, the value is set to start.

The fo:text-align-last attribute is usable with the following element: <style:paragraph-properties> 17.6.

The values of the fo:text-align-last attribute are start, center or justify.

20.225 fo:text-indent

The fo:text-indent attribute specifies a positive or negative indent for the first line of a paragraph. See §7.15.11 of [XSL]. The attribute value is a length. If the attribute is contained in a common style, the attribute value may be also a percentage that refers to the corresponding text indent of a parent style.

The fo:text-indent attribute is usable with the following element: <style:paragraph-properties> 17.6.

The values of the fo:text-indent attribute are a value of type length 18.3.18 or a value of type percent 18.3.23.

20.226 fo:text-shadow

The fo:text-shadow attribute specifies the text shadow style to use.

The defined values for this attribute are those defined in §7.16.5 of [XSL], except the value inherit.

The fo:text-shadow attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the fo:text-shadow attribute are none or a value of type string 18.2.

20.227 fo:text-transform

See §7.16.6 of [XSL].

If fo:text-transform and fo:font-variant 20.192 attributes are used simultaneously and have different values than normal and none, the result is undefined.

Note: In consumers, the fo:text-transform and fo:font-variant attributes are mutually exclusive.

The fo:text-transform attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the fo:text-transform attribute are none, lowercase, uppercase or capitalize.

20.228 fo:widows

See §7.19.7 of [XSL].

The fo:widows attribute specifies the minimum number of lines that shall be displayed at the top of a page to avoid paragraph widows.

In the OpenDocument XSL-compatible namespace, the fo:widows attribute does not support the inherit value.

The fo:widows attribute is usable with the following element: <style:paragraph-properties> 17.6.

The fo:widows attribute has the data type nonNegativeInteger 18.2.

20.229 fo:width

See §7.14.12 of [XSL].

The fo:width attribute is used with fo:height 20.194 to set the size of a bullet image.

In the OpenDocument XSL-compatible namespace, the fo:width attribute does not support the auto or inherit values.

The fo:width attribute is usable with the following element: <style:list-level-properties> 17.19.

The fo:width attribute has the data type positiveLength 18.3.26.

20.230 fo:wrap-option

See §7.15.13 of [XSL].

If wrapping is disabled, it is implementation-defined whether the overflow text is visible or hidden. If the text is hidden consumers may support a scrolling to access the text.

The fo:wrap-option attribute is usable with the following elements: <style:graphic-properties> 17.21 and <style:table-cell-properties> 17.18.

The values of the fo:wrap-option attribute are no-wrap or wrap.

20.231 presentation:background-objects-visible

The presentation:background-objects-visible attribute specifies whether to display objects in the background of a master page when displaying a presentation page.

The defined values for the presentation:background-objects-visible attribute are:

The presentation:background-objects-visible attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The presentation:background-objects-visible attribute has the data type boolean 18.3.3.

20.232 presentation:background-visible

The presentation:background-visible attribute specifies whether to display the background of a master page when displaying a presentation page.

The defined values for the presentation:background-visible attribute are:

The presentation:background-visible attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The presentation:background-visible attribute has the data type boolean 18.3.3.

20.233 presentation:display-date-time

The presentation:display-date-time attribute specifies the visibility of a drawing shape from a <style:master-page> 16.9 element, where the shape has the presentation class date-time.

The defined values for the presentation:display-date-time attribute are:

  • false: drawing shape from a <style:master-page> element with the presentation class date-time should not be visible. 

  • true: drawing shape from a <style:master-page> element with the presentation class date-time should be visible. 

The presentation:display-date-time attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The presentation:display-date-time attribute has the data type boolean 18.3.3.

20.234 presentation:display-footer

The presentation:display-footer attribute specifies the visibility of a drawing shape used as a footer in a <style:master-page> 16.9 element.

The defined values for the presentation:display-footer attribute are:

  • false: drawing shape used as a footer of a <style:master-page> element should not be visible. 

  • true: drawing shape used as a footer of a <style:master-page> element should be visible. 

The presentation:display-footer attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The presentation:display-footer attribute has the data type boolean 18.3.3.

20.235 presentation:display-header

The presentation:display-header attribute specifies the visibility of a drawing shape used as a header in a <style:master-page> 16.9 element.

The defined values for the presentation:display-header attribute are:

  • false: drawing shape used as a header of a <style:master-page> element should not be visible. 

  • true: drawing shape used as a header of a <style:master-page> element should be visible. 

The presentation:display-header attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The presentation:display-header attribute has the data type boolean 18.3.3.

20.236 presentation:display-page-number

The presentation:display-page-number attribute specifies the visibility of a drawing shape from a <style:master-page> 16.9 element, where the shape has the presentation class page-number.

The defined values for the presentation:display-page-number attribute are:

  • false: drawing shape from a <style:master-page> element with the presentation class page-number should not be visible. 

  • true: drawing shape from a <style:master-page> element with the presentation class page-number should be visible. 

Note: Presentation class 19.393 defines presentation class values.

The presentation:display-page-number attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The presentation:display-page-number attribute has the data type boolean 18.3.3.

20.237 presentation:duration

The presentation:duration attribute specifies the amount of time that a presentation page is displayed.

The presentation:duration attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The presentation:duration attribute has the data type duration 18.2.

20.238 presentation:transition-speed

The presentation:transition-speed attribute specifies the speed at which a presentation page is removed from display, and replaced by a new presentation page.

The defined values for the presentation:transition-speed attribute are:

The presentation:transition-speed attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The values of the presentation:transition-speed attribute are slow, medium or fast.

20.239 presentation:transition-style

The presentation:transition-style attribute specifies the way that each presentation page replaces the previous presentation page.

The defined values for the presentation:transition-style attribute are:

The presentation:transition-style attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The values of the presentation:transition-style attribute are none, fade-from-left, fade-from-top, fade-from-right, fade-from-bottom, fade-from-upperleft, fade-from-upperright, fade-from-lowerleft, fade-from-lowerright, move-from-left, move-from-top, move-from-right, move-from-bottom, move-from-upperleft, move-from-upperright, move-from-lowerleft, move-from-lowerright, uncover-to-left, uncover-to-top, uncover-to-right, uncover-to-bottom, uncover-to-upperleft, uncover-to-upperright, uncover-to-lowerleft, uncover-to-lowerright, fade-to-center, fade-from-center, vertical-stripes, horizontal-stripes, clockwise, counterclockwise, open-vertical, open-horizontal, close-vertical, close-horizontal, wavyline-from-left, wavyline-from-top, wavyline-from-right, wavyline-from-bottom, spiralin-left, spiralin-right, spiralout-left, spiralout-right, roll-from-top, roll-from-left, roll-from-right, roll-from-bottom, stretch-from-left, stretch-from-top, stretch-from-right, stretch-from-bottom, vertical-lines, horizontal-lines, dissolve, random, vertical-checkerboard, horizontal-checkerboard, interlocking-horizontal-left, interlocking-horizontal-right, interlocking-vertical-top, interlocking-vertical-bottom, fly-away, open, close or melt.

20.240 presentation:transition-type

The presentation:transition-type attribute specifies the mode of a transition.

The defined values for the presentation:transition-type attribute are:

The smil:type attribute should be used for presentations. The presentation:transition-type and presentation:transition-style 20.239 attributes are retained for legacy compatibility only.

The presentation:transition-type attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The values of the presentation:transition-type attribute are manual, automatic or semi-automatic.

20.241 presentation:visibility

The presentation:visibility attribute specifies if the content of a <draw:page> element is visible during a presentation.

The defined values for the presentation:transition-speed attribute are:

The presentation:visibility attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The values of the presentation:visibility attribute are visible or hidden.

20.242 smil:direction

See §12.4.1 of [SMIL20].

The smil:direction attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The values of the smil:direction attribute are forward or reverse.

20.243 smil:fadeColor

See §12.4.1 of [SMIL20].

The smil:fadeColor attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The smil:fadeColor attribute has the data type color 18.3.9.

20.244 smil:subtype

See §12.4.1 of [SMIL20].

Note: See §12.8 of [SMIL20] for a list of supported subtypes.

The smil:subtype attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The smil:subtype attribute has the data type string 18.2.

20.245 smil:type

The [SMIL20] smil:type attribute specifies a transition type or family.

See §12.8 of [SMIL20] for a list of supported types.

If this attribute is present, the attributes presentation:transition-type 20.240 and presentation:transition-style 20.239 attributes should be ignored.

The smil:type attribute is usable with the following element: <style:drawing-page-properties> 17.25.

The smil:type attribute has the data type string 18.2.

20.246 style:auto-text-indent

The style:auto-text-indent attribute specifies that the first line of a paragraph is indented by a value that is based on the current font size.

If this attribute has a value of true and is used together with a fo:text-indent 20.225 attribute the fo:text-indent attribute is ignored.

The style:auto-text-indent attribute is usable with the following element: <style:paragraph-properties> 17.6.

The style:auto-text-indent attribute has the data type boolean 18.3.3.

20.247 style:background-transparency

The style:background-transparency attribute specifies the transparency of a paragraph's background color.

The style:background-transparency attribute is usable with the following elements: <style:graphic-properties> 17.21 and <style:paragraph-properties> 17.6.

The style:background-transparency attribute has the data type zeroToHundredPercent 18.3.41.

20.248 style:border-line-width

The style:border-line-width attribute specifies the widths of borders defined by the FO border properties (see 20.183) for borders where the value of these properties is double.

The value of the style:border-line-width attribute is a list of three white space-separated lengths, as follows:

  • The first value specifies the width of the inner line 

  • The second value specifies the distance between the two lines 

  • The third value specifies the width of the outer line 

The style:border-line-width attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The values of the style:border-line-width attribute are three white space separated values of type positiveLength 18.3.26.

20.249 style:border-line-width-bottom

The style:border-line-width-bottom attribute specifies the widths of the bottom border for borders defined by the FO border properties (see 20.183) if the property for the bottom border has the value double.

The value of the style:border-line-width-bottom attribute is a list of three white space-separated lengths, as follows:

  • The first value specifies the width of the inner line 

  • The second value specifies the distance between the two lines 

  • The third value specifies the width of the outer line 

The style:border-line-width-bottom attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The values of the style:border-line-width-bottom attribute are three white space separated values of type positiveLength 18.3.26.

20.250 style:border-line-width-left

The style:border-line-width-left attribute specifies the widths of the left border for borders defined by the FO border properties (see 20.183) if the property for the left border has the value double.

The value of the style:border-line-width-left attribute is a list of three white space-separated lengths, as follows:

  • The first value specifies the width of the inner line 

  • The second value specified the distance between the two lines 

  • The third value specifies the width of the outer line 

The style:border-line-width-left attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The values of the style:border-line-width-left attribute are three white space separated values of type positiveLength 18.3.26.

20.251 style:border-line-width-right

The style:border-line-width-right attribute specifies the widths of the right border for borders defined by the FO border properties (see 20.183) if the property for the right border has the value double.

The value of the style:border-line-width-right attribute is a list of three white space-separated lengths, as follows:

  • The first value specifies the width of the inner line 

  • The second value specified the distance between the two lines 

  • The third value specifies the width of the outer line 

The style:border-line-width-right attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The values of the style:border-line-width-right attribute are three white space separated values of type positiveLength 18.3.26.

20.252 style:border-line-width-top

The style:border-line-width-top attribute specifies the widths of the top border for borders defined by the FO border properties (see 20.183) if the property for the top border has the value double.

The value of the style:border-line-width-top attribute is a list of three white space-separated lengths, as follows:

  • The first value specifies the width of the inner line 

  • The second value specified the distance between the two lines 

  • The third value specifies the width of the outer line 

The style:border-line-width-top attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6 and <style:table-cell-properties> 17.18.

The values of the style:border-line-width-top attribute are three white space separated values of type positiveLength 18.3.26.

20.253 style:cell-protect

The style:cell-protect attribute specifies how a cell is protected.

This attribute is only evaluated if the current table is protected.

The defined values for the style:cell-protect attribute are:

Note: Replacement of cell content includes replacement with another formula or other cell content.

The style:cell-protect attribute is usable with the following element: <style:table-cell-properties> 17.18.

The values of the style:cell-protect attribute are none, hidden-and-protected, or white space separated non-empty lists of one of these values: protected, or formula-hidden..

20.254 style:column-width

The style:column-width attribute specifies a fixed width for a column.

The style:column-width attribute is usable with the following element: <style:table-column-properties> 17.16.

The style:column-width attribute has the data type positiveLength 18.3.26.

20.255 style:contextual-spacing

The fo:margin-bottom 20.206 attribute of a paragraph and the fo:margin-top 20.209 attribute of the next paragraph are ignored, so that the space between the paragraphs is zero, if all of the following conditions hold:

The default value for this attribute is false.

The style:contextual-spacing attribute is usable with the following element: <style:paragraph-properties> 17.6.

The style:contextual-spacing attribute has the data type boolean 18.3.3.

20.256 style:country-asian

The style:country-asian attribute specifies the country of a text.

It is evaluated for [UNICODE] characters whose script type is asian. 20.358

It may be ignored if it is not specified together with a style:language-asian 20.302 attribute.

The style:country-asian attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:country-asian attribute has the data type countryCode 18.3.11.

20.257 style:country-complex

The style:country-complex attribute specifies the country of a text. See §7.9.1 of [XSL].

It is evaluated for [UNICODE] characters whose script type is complex. 20.358

It may be ignored if it is not specified together with a style:language-complex 20.303 attribute.

The style:country-complex attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:country-complex attribute has the data type countryCode 18.3.11.

20.258 style:decimal-places

The style:decimal-places attribute specifies the maximum number of decimal places that are displayed if numbers are formatted by a data style that has no setting for number of decimal places itself.

This attribute is only evaluated if it is contained in a default style.

The style:decimal-places attribute is usable with the following element: <style:table-cell-properties> 17.18.

The style:decimal-places attribute has the data type nonNegativeInteger 18.2.

20.259 style:diagonal-bl-tr

The style:diagonal-bl-tr attribute specifies the style of border to use for a bottom-left to top-right diagonal in a spreadsheet cell.

The style:diagonal-bl-tr attribute is usable with the following element: <style:table-cell-properties> 17.18.

The style:diagonal-bl-tr attribute has the data type string 18.2.

20.260 style:diagonal-bl-tr-widths

The style:diagonal-bl-tr-widths attribute specifies the width between a double line border to use for a bottom-left to top-right diagonal in a spreadsheet cell.

The style:diagonal-bl-tr-widths attribute is usable with the following element: <style:table-cell-properties> 17.18.

The values of the style:diagonal-bl-tr-widths attribute are three white space separated values of type positiveLength 18.3.26.

20.261 style:diagonal-tl-br

The style:diagonal-tl-br attribute specifies the style of border to use for a left-top to bottom-right diagonal in a spreadsheet cell.

The style:diagonal-tl-br attribute is usable with the following element: <style:table-cell-properties> 17.18.

The style:diagonal-tl-br attribute has the data type string 18.2.

20.262 style:diagonal-tl-br-widths

The style:diagonal-tl-br-widths attribute specifies the width between a double line border to use for a top-left to bottom-right diagonal in a spreadsheet cell.

The style:diagonal-tl-br-widths attribute is usable with the following element: <style:table-cell-properties> 17.18.

The values of the style:diagonal-tl-br-widths attribute are three white space separated values of type positiveLength 18.3.26.

20.263 style:direction

The style:direction attribute specifies the direction of characters.

The style:direction attribute modifies the direction of text rendering as specified by a style:writing-mode attribute. 20.404 

The defined values for the style:direction attribute are:

  • ltr – left to right, text is rendered in the direction specified by the style:writing-mode attribute  

  • ttb – top to bottom, characters are vertically stacked but not rotated 

The style:direction attribute is usable with the following elements: <style:chart-properties> 17.22 and <style:table-cell-properties> 17.18.

The values of the style:direction attribute are ltr or ttb.

20.264 style:dynamic-spacing

The style:dynamic-spacing attribute specifies whether the header or footer grows into the space between the page body and the header or footer before the height of the page body becomes smaller.

The defined values for the style:dynamic-spacing attribute are:

The style:dynamic-spacing attribute is usable with the following element: <style:header-footer-properties> 17.5.

The style:dynamic-spacing attribute has the data type boolean 18.3.3.

20.265 style:editable

The style:editable attribute specifies if a text section or box can be edited within a read-only document.

The defined values for the style:editable attribute are:

The style:editable attribute is usable with the following elements: <style:graphic-properties> 17.21 and <style:section-properties> 17.11.

The style:editable attribute has the data type boolean 18.3.3.

20.266 style:first-page-number

The style:first-page-number attribute specifies the number of a document.

The value of this attribute can be an integer or continue. If the value is continue, the page number is the preceding page number incremented by 1. The default first page number is 1.

The style:first-page-number attribute is usable with the following element: <style:page-layout-properties> 17.2.

The values of the style:first-page-number attribute are a value of type positiveInteger 18.2 or continue.

20.267 style:flow-with-text

The style:flow-with-text attribute specifies whether a drawing shape flows with the text of its layout environment or not. The layout environment of a drawing shape is determined by the location of its anchor. The following layout environments are defined:

The innermost enclosing area of the anchor defines the layout environment of the drawing shape.

If the value of the attribute is true, the following conditions shall hold:

When a drawing shape leaves its layout environment due to its position and/or size in the forward text flow direction, it flows with the text flow to the next layout environment. If there is no next layout environment, the position of the layout environment is adjusted. If the drawing shape is larger than its layout environment, the size of the layout environment is adjusted.

If due to its position a drawing shape would leave its layout environment in the backward text flow direction, the position is adjusted to the beginning of its layout environment.

A drawing object may leave its layout environment in the other (non text flow) directions. Exceptions from this rule are the layout environments table cell area and frame area. For these layout environments it shall be ensured that the drawing shape is laid out inside its layout environment by adjusting the position and (if necessary) the size.

If the value of the attribute is false, the drawing shape does not have to flow with the text of its layout environment. It can be laid out anywhere on the page its anchor is on.

This attribute is not applicable to drawing shapes that are anchored with text:anchor-type="as-char" 20.418, because such drawing shapes are treated as characters. For drawing shapes, which are anchored to a specific page with text:anchor-type="page", the attribute is also not applicable, because such drawing shapes are to be laid out on the page they are anchored to.

The style:flow-with-text attribute is usable with the following element: <style:graphic-properties> 17.21.

The style:flow-with-text attribute has the data type boolean 18.3.3.

20.268 style:font-charset

The style:font-charset attribute specifies whether a font defines glyphs according to the semantics of [UNICODE] or not.

The value of this attributes can be x-symbol or a character encoding in the notation described in the §4.3.3 of [XML1.0]. If the value is x-symbol, the font does not define glyphs according to the semantics of [UNICODE]. If the value is one of the encodings or transformations of [UNICODE], the font does define glyphs according to the semantics of [UNICODE]. The use of other values is deprecated.

Note: Fonts for which the attribute has the value x-symbol may define glyphs for code points in the private use area of [UNICODE]

This attribute is evaluated for any [UNICODE] character whose script type is latin. 20.358

This attribute is ignored if there is no fo:font-family attribute attached to the same formatting property element.

Instead of this attribute, the style:font-name attribute should be used to specify the properties of a font.

The style:font-charset attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:font-charset attribute has the data type textEncoding 18.3.35.

20.269 style:font-charset-asian

The style:font-charset-asian attribute specifies whether a font defines glyphs according to the semantics of [UNICODE] or not.

The value of this attributes can be x-symbol or a character encoding in the notation described in the §4.3.3 of [XML1.0]. If the value is x-symbol, the font does not define glyphs according to the semantics of [UNICODE]. If the value is one of the encodings or transformations of [UNICODE], the font does define glyphs according to the semantics of [UNICODE]. The use of other values is deprecated.

Note: Fonts for which the attribute has the value x-symbol may define glyphs for code points in the private use area of [UNICODE]

This attribute is evaluated for [UNICODE] characters whose script type is asian. 20.358

This attribute is ignored if there is no style:font-family-asian 20.271 attribute attached to the same formatting property element.

Instead of this attribute, the style:font-name-asian 20.278 attribute should be used to specify the properties of a font.

The style:font-charset-asian attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:font-charset-asian attribute has the data type textEncoding 18.3.35.

20.270 style:font-charset-complex

The style:font-charset-complex attribute specifies whether a font defines glyphs according to the semantics of [UNICODE] or not.

The value of this attributes can be x-symbol or a character encoding in the notation described in the §4.3.3 of [XML1.0]. If the value is x-symbol, the font does not define glyphs according to the semantics of [UNICODE]. If the value is one of the encodings or transformations of [UNICODE], the font does define glyphs according to the semantics of [UNICODE]. The use of other values is deprecated.

Note: Fonts for which the attribute has the value x-symbol may define glyphs for code points in the private use area of [UNICODE]

The style:font-charset-complex attribute is evaluated for [UNICODE] characters whose script type is complex. 20.358

This attribute is ignored if there is no style:font-family-complex 20.272 attribute attached to the same formatting properties element.

Instead of this attribute, the style:font-name-complex 20.279 attribute should be used to specify the properties of a font.

The style:font-charset-complex attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:font-charset-complex attribute has the data type textEncoding 18.3.35.

20.271 style:font-family-asian

The style:font-family-asian attribute specifies the font family for a text. See §7.8.2 of [XSL].

This is evaluated for [UNICODE] characters whose script type is asian. 20.285

Instead of this attribute, the style:font-name-asian 20.278 attribute should be used to specify the properties of a font.

The style:font-family-asian attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:font-family-asian attribute has the data type string 18.2.

20.272 style:font-family-complex

The style:font-family-complex attribute specifies the font family for a text. See §7.8.2 of [XSL].

This attribute is evaluated for [UNICODE] characters whose script type is complex. 20.358

Instead of this attribute, the style:font-name-complex 20.279 attribute should be used to specify the properties of a font.

The style:font-family-complex attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:font-family-complex attribute has the data type string 18.2.

20.273 style:font-family-generic

The style:font-family-generic attribute specifies a generic font family name.

This attribute is evaluated for any [UNICODE] character whose script type is latin. 20.358

This attribute is ignored if there is no corresponding fo:font-family 20.189 attribute attached to the same formatting property element.

Instead of this attribute, the style:font-name 20.277 attribute should be used to specify the properties of a font.

The defined values for the style:font-family-generic attribute are:

  • decorative: the family of decorative fonts.  

  • modern: the family of modern fonts.  

  • roman: the family roman fonts (with serifs).  

  • script: the family of script fonts.  

  • swiss: the family roman fonts (without serifs).  

  • system: the family system fonts.  

The style:font-family-generic attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:font-family-generic attribute are roman, swiss, modern, decorative, script or system.

20.274 style:font-family-generic-asian

The style:font-family-generic-asian attribute specifies a generic Asian font family name.

The style:font-family-generic-asian attribute is evaluated for [UNICODE] characters whose script type is asian. 20.285

This attribute is ignored if there is no corresponding fo:font-family 20.189 attribute attached to the same formatting property element.

Instead of this attribute, the style:font-name-asian 20.278 attribute should be used to specify the properties of a font.

The defined values for the style:font-family-generic-asian attribute are:

  • decorative: the family of decorative fonts.  

  • modern: the family of modern fonts.  

  • roman: the family roman fonts (with serifs).  

  • script: the family of script fonts.  

  • swiss: the family roman fonts (without serifs).  

  • system: the family system fonts.  

The style:font-family-generic-asian attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:font-family-generic-asian attribute are roman, swiss, modern, decorative, script or system.

20.275 style:font-family-generic-complex

The style:font-family-generic-complex attribute specifies a generic font family name.

This attribute is ignored if there is no corresponding fo:font-family 20.189 attribute attached to the same formatting property element.

Instead of this attribute, the style:font-name-complex 20.279 attribute should be used to specify the properties of a font.

The defined values for the style:font-family-generic-complex attribute are:

  • decorative: the family of decorative fonts.  

  • modern: the family of modern fonts.  

  • roman: the family roman fonts (with serifs).  

  • script: the family of script fonts.  

  • swiss: the family roman fonts (without serifs).  

  • system: the family system fonts.  

The style:font-family-generic-complex attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:font-family-generic-complex attribute are roman, swiss, modern, decorative, script or system.

20.276 style:font-independent-line-spacing

The style:font-independent-line-spacing attribute specifies if font independent line spacing is used.

The defined values for the style:font-independent-line-spacing attribute are:

The style:font-independent-line-spacing attribute is usable with the following element: <style:paragraph-properties> 17.6.

The style:font-independent-line-spacing attribute has the data type boolean 18.3.3.

20.277 style:font-name

The style:font-name attribute specifies a font that is declared by a <style:font-face> 16.23 element with a style:name 19.502 attribute whose name is the same as that of the style:font-name attribute value.

This attribute is evaluated for any [UNICODE] character whose script type is latin. 20.358

The style:font-name attribute is usable with the following elements: <style:list-level-properties> 17.19 and <style:text-properties> 16.29.29.

The style:font-name attribute has the data type string 18.2.

20.278 style:font-name-asian

The style:font-name-asian attribute specifies a font that is declared by a <style:font-face> 16.23 element with a style:name 19.502 attribute whose name is the same as that of the style:font-name-asian attribute value.

This attribute is evaluated for [UNICODE] characters whose script type is asian. 20.285

The style:font-name-asian attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:font-name-asian attribute has the data type string 18.2.

20.279 style:font-name-complex

The style:font-name-complex attribute specifies a font that is declared by a <style:font-face> 16.23 element with a style:name 19.502 attribute whose name is the same as that of the style:font-name-complex attribute value.

The style:font-name-complex attribute is evaluated for [UNICODE] characters whose script type is complex. 20.358

The style:font-name-complex attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:font-name-complex attribute has the data type string 18.2.

20.280 style:font-pitch

The style:font-pitch attribute specifies whether a font has a fixed or variable width.

This attribute is evaluated for any [UNICODE] character whose script type is latin. 20.358

This attribute is ignored if there is no corresponding fo:font-family attribute attached to the same formatting property element.

Instead of this attribute, the style:font-name 20.277 attribute should be used to specify the properties of a font.

The defined values for the style:font-pitch attribute are:

  • fixed: font pitch is fixed. 

  • variable: font pitch is variable. 

The style:font-pitch attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:font-pitch attribute are fixed or variable.

20.281 style:font-pitch-asian

The style:font-pitch-asian attribute specifies whether a font has a fixed or variable width.

This attribute is evaluated for [UNICODE] characters whose script type is asian. 20.358

This attribute is ignored if there is no corresponding fo:font-family 20.189 attribute attached to the same formatting property element.

Instead of this attribute, the style:font-name-asian 20.189 attribute should be used to specify the properties of a font.

The defined values for the style:font-pitch-asian attribute are:

  • fixed: font width is fixed. 

  • variable: font width is variable. 

The style:font-pitch-asian attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:font-pitch-asian attribute are fixed or variable.

20.282 style:font-pitch-complex

The style:font-pitch-complex attribute specifies whether a font has a fixed or variable width.

This attribute is evaluated for [UNICODE] characters whose script type is complex. 20.358

This attribute is ignored if there is no corresponding fo:font-family 20.189 attribute attached to the same formatting property element.

Instead of this attribute, the style:font-name-complex 20.279 attribute should be used to specify the properties of a font.

The defined values for the style:font-pitch-complex attribute are:

  • fixed: font width is fixed. 

  • variable: font width is variable. 

The style:font-pitch-complex attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:font-pitch-complex attribute are fixed or variable.

20.283 style:font-relief

The style:font-relief attribute specifies whether a font should be embossed, engraved, or neither.

The defined values for the style:font-relief attribute are:

The style:font-relief attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:font-relief attribute are none, embossed or engraved.

20.284 style:font-size-asian

The style:font-size-asian attribute specifies the size of a font.

This attribute is evaluated for [UNICODE] characters whose script type is asian. 20.358

The value of this attribute is either an absolute length or a percentage as described in §7.8.4 of [XSL]. In contrast to XSL, percentage values can be used within common styles only and are based on the font height of the parent style rather than to the font height of the attributes neighborhood. Absolute font heights and relative font heights are not supported.

The style:font-size-asian attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:font-size-asian attribute are a value of type positiveLength 18.3.26 or a value of type percent 18.3.23.

20.285 style:font-size-complex

The style:font-size-complex attribute specifies the size of a font.

This attribute is evaluated for [UNICODE] characters whose script type is complex. 20.358

The value of this attribute is either an absolute length or a percentage as described in §7.8.4 of [XSL]. In contrast to XSL, percentage values can be used within common styles only and are based on the font height of the parent style rather than to the font height of the attributes neighborhood. Absolute font heights and relative font heights are not supported.

The style:font-size-complex attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:font-size-complex attribute are a value of type positiveLength 18.3.26 or a value of type percent 18.3.23.

20.286 style:font-size-rel

The style:font-size-rel attribute specifies a relative font size change.

This attribute is evaluated for any [UNICODE] character whose script type is latin. 20.358

This attribute specifies a relative font size change as a length. It cannot be used within automatic styles. This attribute changes the font size based on the font size of the parent style.

The style:font-size-rel attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:font-size-rel attribute has the data type length 18.3.18.

20.287 style:font-size-rel-asian

The style:font-size-rel-asian attributes specifies a relative font size change.

This attribute is evaluated for [UNICODE] characters whose script type is asian. 20.358

This attribute specifies a relative font size change as a length. It cannot be used within automatic styles. This attribute changes the font size based on the font size of the parent style.

The style:font-size-rel-asian attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:font-size-rel-asian attribute has the data type length 18.3.18.

20.288 style:font-size-rel-complex

The style:font-size-rel-complex attribute specifies a relative font size change.

The style:font-size-rel-complex attribute is evaluated for [UNICODE] characters whose script type is complex. 20.358

This attribute specifies a relative font size change as a length. It cannot be used within automatic styles. This attribute changes the font size based on the font size of the parent style.

The style:font-size-rel-complex attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:font-size-rel-complex attribute has the data type length 18.3.18.

20.289 style:font-style-asian

The style:font-style-asian attribute specifies whether to use normal or italic font face. See §7.8.7 of [XSL].

This attribute is evaluated for [UNICODE] characters whose script type is asian. 20.358

The defined values for the style:font-style-asian attribute are:

  • italic: characters displayed in an italic font face. 

  • normal: characters displayed in normal font face. 

  • oblique: characters displayed in an oblique font face. 

The style:font-style-asian attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:font-style-asian attribute are normal, italic or oblique.

20.290 style:font-style-complex

The style:font-style-complex attribute specifies whether to use normal or italic font face. See §7.8.7 of [XSL].

This attribute is evaluated for [UNICODE] characters whose script type is complex. 20.358

The fo:font-style attribute is evaluated for any other [UNICODE] character.

The defined values for the style:font-style-complex attribute are:

  • italic: characters displayed in an italic font face. 

  • normal: characters displayed in normal font face. 

  • oblique: characters displayed in an oblique font face. 

The style:font-style-complex attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:font-style-complex attribute are normal, italic or oblique.

20.291 style:font-style-name

The style:font-style-name attribute specifies a font style name.

This attribute is evaluated for any [UNICODE] character whose script type is latin. 20.358

This attribute is ignored if there is no corresponding fo:font-family 20.189 attribute attached to the same formatting property element.

Instead of this attribute, the style:font-name 20.277 attribute should be used to specify the properties of a font.

The style:font-style-name attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:font-style-name attribute has the data type string 18.2.

20.292 style:font-style-name-asian

The style:font-style-name-asian attribute specifies a font style name.

The style:font-style-name-asian attribute is evaluated for [UNICODE] characters whose script type is asian. 20.358

This attribute is ignored if there is no corresponding fo:font-family 20.189 attribute attached to the same formatting property element.

Instead of this attribute, the style:font-name-asian 20.278 attribute should be used to specify the properties of a font.

The style:font-style-name-asian attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:font-style-name-asian attribute has the data type string 18.2.

20.293 style:font-style-name-complex

The style:font-style-name-complex attribute specifies a font style name.

The style:font-style-name-complex attribute is evaluated for [UNICODE] characters whose script type is complex. 20.358

This attribute is ignored if there is no corresponding fo:font-family 20.189 attribute attached to the same formatting property element.

Instead of this attribute, the style:font-name-complex 20.279 attribute should be used to specify the properties of a font.

The style:font-style-name-complex attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:font-style-name-complex attribute has the data type string 18.2.

20.294 style:font-weight-asian

The style:font-weight-asian attribute specifies the weight of a font. See §7.8.9 of [XSL].

This attribute is evaluated for [UNICODE] characters whose script type is asian. 20.358

The style:font-weight-asian attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:font-weight-asian attribute are normal, bold, 100, 200, 300, 400, 500, 600, 700, 800 or 900.

20.295 style:font-weight-complex

The style:font-weight-complex attributes specify the weight of a font. See §7.8.9 of [XSL].

This attribute is evaluated for [UNICODE] characters whose script type is complex. 20.358

The fo:font-weight 20.193 attribute is evaluated for any other [UNICODE] character.

The style:font-weight-complex attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:font-weight-complex attribute are normal, bold, 100, 200, 300, 400, 500, 600, 700, 800 or 900.

20.296 style:footnote-max-height

The style:footnote-max-height attribute specifies the maximum amount of space on a page that a footnote can occupy. The value of the attribute is a length, which determines the maximum height of a footnote area.

If the value of this attribute is set to 0cm, there is no limit to the amount of space that the footnote can occupy.

The style:footnote-max-height attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:footnote-max-height attribute has the data type length 18.3.18.

20.297 style:glyph-orientation-vertical

The style:glyph-orientation-vertical attribute specifies a vertical glyph orientation. See §10.7.3 of [SVG]. The attribute specifies an angle or automatic mode. The only defined angle is 0 degrees, which disables this feature.

Note: OpenDocument v1.1 did not support angle specifications that contain an angle unit identifier. Angle unit identifiers should be omitted for compatibility with OpenDocument v1.1.

The style:glyph-orientation-vertical attribute is usable with the following element: <style:table-cell-properties> 17.18.

The values of the style:glyph-orientation-vertical attribute are auto, 0, 0deg, 0rad or 0grad.

20.298 style:horizontal-pos

The style:horizontal-pos attribute specifies the horizontal alignment of a frame in relation to an area specified by the style:horizontal-rel 20.299 attribute.

The defined values for the style:horizontal-pos attribute are:

  • center: horizontal alignment of a frame should be centered relative to the specified area. 

  • from-inside: on pages with an odd page number the left edge of the specific area is taken as the horizontal alignment of a frame. On pages with an even page number the right edge of the specified area is taken. Attribute svg:x 19.577 associated with the frame element specifies the horizontal position of the frame from the edge which is taken.  

  • from-left: the svg:x attribute associated with the frame element specifies the horizontal position of the frame from the left edge of the specified area. 

  • inside: on pages with an odd page number the horizontal alignment of a frame is the same as for the attribute value left. On pages with an even page number the horizontal alignment of a frame is the same as for the attribute value right.  

  • left: horizontal alignment of a frame should be left aligned relative to the specified area. 

  • outside: on pages with an odd page number the horizontal alignment of a frame is the same as for the attribute value right. On pages with an even page number the horizontal alignment of a frame is the same as for the attribute value left.  

  • right: horizontal alignment of a frame should be right aligned relative to the specified area. 

If the attribute value is not from-left and not from-inside, the svg:x attribute associated with the frame element is ignored for text documents.

Tables 19 and 20 display the defined combinations of values of the attributes style:horizontal-pos and style:horizontal-rel 20.299. The values of these alignment attributes are listed in the first column on the left, and an alignment attribute value/anchor type value match is indicated by an X.

Table 19 - Horizontal position values

Value of style:horizontal-pos

Value of text:anchor-type

page

frame

paragraph

char

as-char

any

X

X

X

X

 

Table 20 - Horizontal relation values

 

Value of style:horizontal-rel

Value of text:anchor-type

page

frame

paragraph

char

as-char

char

 

 

 

X

 

frame

 

X

 

 

 

frame-content

 

X

 

 

 

frame-end-margin

 

X

 

 

 

frame-start-margin

 

X

 

 

 

page

X

 

X

X

 

page-content

X

 

X

X

 

page-end-margin

X

 

X

X

 

page-start-margin

X

 

X

X

 

paragraph

 

 

X

X

 

paragraph-content

 

 

X

X

 

paragraph-end-margin

 

 

X

X

 

paragraph-start-margin

 

 

X

X

 

The style:horizontal-pos attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the style:horizontal-pos attribute are left, center, right, from-left, inside, outside or from-inside.

20.299 style:horizontal-rel

The style:horizontal-rel attribute specifies the area against which the horizontal position of a frame is positioned.

The value start-margin determines the left margin, except when the horizontal position is from-inside, inside or outside and the anchor for the frame is on a page with an even page number, in which case it determines the right margin. The value end-margin determines the opposite margin to the start-margin values.

The defined values for the style:horizontal-rel attribute are:

The style:horizontal-rel attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the style:horizontal-rel attribute are page, page-content, page-start-margin, page-end-margin, frame, frame-content, frame-start-margin, frame-end-margin, paragraph, paragraph-content, paragraph-start-margin, paragraph-end-margin or char.

20.300 style:join-border

The style:join-border property specifies whether a border for one paragraph is to be extended around the following paragraph.

In addition to the value of this attribute, joining of borders requires meeting these conditions:

  1. 1)Values of attributes fo:border-top 20.183.6, fo:border-bottom 20.183.3, fo:border-left 20.183.4 and fo:border-right 20.183.5 are the same. These values can also be given by the fo:border 20.183.2 attribute. 

  2. 2)Values of attributes style:border-line-width-top 20.252, style:border-line-width-bottom 20.249, style:border-line-width-left 20.250 and style:border-line-width-right 20.251 are the same. These values can also be given by the style:border-line-width 20.248 attribute. 

  3. 3)Values of attributes fo:padding-left 20.219 and fo:padding-right 20.220 are the same. These values can also be given by the fo:padding 20.217 attribute. 

  4. 4)Values of the fo:margin-right 20.208 attributes are the same. These values can also be given by the fo:margin 20.205 attribute. 

  5. 5)Values of the fo:margin-left 20.207 attribute, which can also be given by the fo:margin, and fo:text-indent 19.246 attributes, that meet one of these conditions: 

    1. 1.All values are the same. 

    2. 2.Values of the fo:margin-left attributes are the same and values of the fo:text-indent attributes are non-negative. 

    3. 3.Value of the fo:margin-left attribute of one paragraph whose value of the fo:text-indent attribute is non-negative is the same as the sum of values of the fo:margin-left and fo:text-indent attributes of the other paragraph whose value of the fo:text-indent attribute is negative. 

    4. 4.Both values of the fo:text-indent attributes are negative and the sums of values of the fo:margin-left and fo:text-indent attributes are equal. 

The default value of this attribute is true.

The defined values for the style:join-border attribute are:

  • false: borders should not be joined. 

  • true: borders should be joined. 

The style:join-border attribute is usable with the following element: <style:paragraph-properties> 17.6.

The style:join-border attribute has the data type boolean 18.3.3.

20.301 style:justify-single-word

The style:justify-single-word attribute specifies whether a single word should be justified when the last line in a paragraph is justified.

Specifying a style:justify-single-word attribute without specifying a fo:text-align 20.223 and fo:text-align-last 20.224 attribute has no effect. Unspecified, both fo:text-align and fo:text-align-last have the value start.

The defined values for the style:justify-single-word attribute are:

  • false: single word should not be justified when the last line in a paragraph is justified. 

  • true: single word should be justified when last line in a paragraph is justified. 

The style:justify-single-word attribute is usable with the following element: <style:paragraph-properties> 17.6.

The style:justify-single-word attribute has the data type boolean 18.3.3.

20.302 style:language-asian

The style:language-asian attribute specifies the language of a text.

This attribute is evaluated for [UNICODE] characters whose script type is asian. 20.358

This attribute may be ignored if it is not specified together with a style:country-asian 20.256 attribute.

The style:language-asian attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:language-asian attribute has the data type languageCode 18.3.17.

20.303 style:language-complex

The style:language-complex attribute specifies the language of a text.

The style:language-asian attribute is evaluated for [UNICODE] characters whose script type is asian. 20.358

This attribute is evaluated for [UNICODE] characters whose script type is complex. 20.358

This attribute may be ignored if it is not specified together with a style:country-complex 20.257 attribute.

The style:language-complex attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:language-complex attribute has the data type languageCode 18.3.17.

20.304 style:layout-grid-base-height

The style:layout-grid-base-height attribute specifies the height reserved in layout grid lines for non-ruby text.

The style:layout-grid-base-height attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:layout-grid-base-height attribute has the data type length 18.3.18.

20.305 style:layout-grid-base-width

The style:layout-grid-base-width attribute specifies a grid's base width. This attribute is only evaluated if style:layout-grid-standard-mode 20.314 attribute has the value true.

The style:layout-grid-base-width attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:layout-grid-base-width attribute has the data type length 18.3.18.

20.306 style:layout-grid-color

The style:layout-grid-color attribute specifies the color of layout grid border lines.

The style:layout-grid-color attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:layout-grid-color attribute has the data type color 18.3.9.

20.307 style:layout-grid-display

The style:layout-grid-display attribute specifies whether layout grid border lines are displayed.

The defined values for the style:layout-grid-display attribute are:

The style:layout-grid-display attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:layout-grid-display attribute has the data type boolean 18.3.3.

20.308 style:layout-grid-lines

The style:layout-grid-lines attribute specifies the number of layout grid lines per page. The number of lines displayed may be smaller than specified if the page does not have space to display the specified number of lines with the specified line height.

The style:layout-grid-lines attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:layout-grid-lines attribute has the data type positiveInteger 18.2.

20.309 style:layout-grid-mode

The style:layout-grid-mode attribute enables Asian layout grids.

The defined values for the style:layout-grid-mode attribute are:

The style:layout-grid-mode attribute is usable with the following element: <style:page-layout-properties> 17.2.

The values of the style:layout-grid-mode attribute are none, line or both.

20.310 style:layout-grid-print

The style:layout-grid-print attribute specifies whether layout grid border lines are printed.

The defined values for the style:layout-grid-print attribute are:

The style:layout-grid-print attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:layout-grid-print attribute has the data type boolean 18.3.3.

20.311 style:layout-grid-ruby-below

The style:layout-grid-ruby-below attribute specifies whether ruby text is displayed above or below the base text.

The defined values for the style:layout-grid-ruby-below attribute are:

The style:layout-grid-ruby-below attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:layout-grid-ruby-below attribute has the data type boolean 18.3.3.

20.312 style:layout-grid-ruby-height

The style:layout-grid-ruby-height attribute specifies the height reserved in layout grid lines for ruby text.

The style:layout-grid-ruby-height attribute appears on a <style:page-layout-properties> 17.2 element only if a style:layout-grid-standard-mode 20.314 attribute, with the value false, appears on the same <style:page-layout-properties> element.

The style:layout-grid-ruby-height attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:layout-grid-ruby-height attribute has the data type length 18.3.18.

20.313 style:layout-grid-snap-to

The style:layout-grid-snap-to attribute specifies whether the text is snapped to the grid or not. It is evaluated only if the style:layout-grid-mode 20.309 attribute has the value both and the style:layout-grid-standard-mode 20.314 attribute has the value true.

The defined values for the style:layout-grid-snap-to attribute are:

  • false: text should not be snapped to grid. 

  • true: text should be snapped to grid. 

The style:layout-grid-snap-to attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:layout-grid-snap-to attribute has the data type boolean 18.3.3.

20.314 style:layout-grid-standard-mode

The style:layout-grid-standard-mode attribute specifies how the rectangular grid cells are calculated if the style:layout-grid-mode 20.309 attribute has the value both.

The style:layout-grid-standard-mode attribute can only be used in the default page layout. If the style:layout-grid-standard-mode attribute appears inside a <style:page-layout> 16.5 element it shall be ignored.

The defined values for the style:layout-grid-standard-mode attribute are:

  • false: the page is divided in a fixed number of lines, and the lines are divided into square cells. The number of cells per grid line depends on the line height, where the line height is the sum of the base height and the ruby height as specified by the style:layout-grid-base-height 20.304 and style:layout-grid-ruby-height 20.312 attributes. 

  • true: the page is divided into a fixed numbers of lines, and the lines are divided into rectangular cells. The line height is specified by the style:layout-grid-base-height attribute, and the cell width is specified by style:layout-grid-base-width 20.305 attribute. The number of cells per line depends on the grid base width. This mode is also called standard paper mode. The style:layout-grid-ruby-height attribute is ignored in this mode. 

The style:layout-grid-standard-mode attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:layout-grid-standard-mode attribute has the data type boolean 18.3.3.

20.315 style:line-break

The style:line-break attribute specifies line breaking rules.

The defined values for the style:line-break attribute are:

The style:line-break attribute is usable with the following element: <style:paragraph-properties> 17.6.

The values of the style:line-break attribute are normal or strict.

20.316 style:letter-kerning

The style:letter-kerning attribute specifies whether kerning between characters is enabled or disabled.

The defined values for the style:letter-kerning attribute are:

The style:letter-kerning attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:letter-kerning attribute has the data type boolean 18.3.3.

20.317 style:line-height-at-least

The style:line-height-at-least attribute specifies a minimum line height. The value of this attribute is a length.

The effect of this attribute is disabled when fo:line-height 20.204 has the value of normal.

The style:line-height-at-least attribute is usable with the following element: <style:paragraph-properties> 17.6.

The style:line-height-at-least attribute has the data type nonNegativeLength 18.3.20.

20.318 style:line-spacing

The style:line-spacing attribute specifies a fixed distance between two lines.

The effect of this attribute is disabled when fo:line-height 20.204 has the value of normal.

The style:line-spacing attribute is usable with the following element: <style:paragraph-properties> 17.6.

The style:line-spacing attribute has the data type length 18.3.18.

20.319 style:may-break-between-rows

The style:may-break-between-rows attribute specifies that a page break may occur inside a table.

The defined values for the style:may-break-between-rows attribute are:

The style:may-break-between-rows attribute is usable with the following element: <style:table-properties> 17.15.

The style:may-break-between-rows attribute has the data type boolean 18.3.3.

20.320 style:min-row-height

The style:min-row-height attribute specifies a fixed minimum height for a row.

The style:min-row-height attribute is usable with the following element: <style:table-row-properties> 17.17.

The style:min-row-height attribute has the data type nonNegativeLength 18.3.20.

20.321 style:mirror

The style:mirror attribute specifies whether an image is mirrored before it is displayed. The mirroring can be vertical or horizontal or both.

The defined values for the style:mirror attribute are:

The value vertical and the horizontal values can be specified together, separated by a white space.

The style:mirror attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the style:mirror attribute are none, vertical, or two white space separated values, that may appear in any order. One of these values is always vertical. The other value is one of: horizontal, horizontal-on-odd or horizontal-on-even.

20.322 style:num-format

The style:num-format attribute specifies a numbering sequence.

If no value is given, no number sequence is displayed.

The defined values for the style:num-format attribute are:

The style:num-format attribute is usable with the following element: <style:page-layout-properties> 17.2.

The values of the style:num-format attribute are 1, i, I, a value of type string 18.2, an empty string, a or A.

20.323 style:num-letter-sync

The style:num-letter-sync attribute specifies whether letter synchronization shall take place. If letters are used in alphabetical order for numbering, there are two ways to process overflows within a digit, as follows:

The style:num-letter-sync attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:num-letter-sync attribute has the data type boolean 18.3.3.

20.324 style:num-prefix

The style:num-prefix attribute specifies what to display before a number.

If the style:num-prefix and style:num-suffix 19.507 values do not contain any character that has a [UNICODE] category of Nd, Nl, No, Lu, Ll, Lt, Lm or Lo, an [XSLT] format attribute can be created from the OpenDocument attributes by concatenating the values of the style:num-prefix, style:num-format 19.504, and style:num-suffix 19.507 attributes.

The style:num-prefix attribute can also specify a character before the value of a text:bullet-char 19.765 attribute.

The style:num-prefix attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:num-prefix attribute has the data type string 18.2.

20.325 style:num-suffix

The style:num-prefix and style:num-suffix style:num-suffix attributes specify what to display before and after a number.

If the style:num-prefix and style:num-suffix values do not contain any character that has a [UNICODE] category of Nd, Nl, No, Lu, Ll, Lt, Lm or Lo, an [XSLT] format attribute can be created from the OpenDocument attributes by concatenating the values of the style:num-prefix, style:num-format 19.504, and style:num-suffix 19.507 attributes.

The style:num-suffix attribute can also specify a character after the value of a text:bullet-char 19.765 attribute.

The style:num-suffix attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:num-suffix attribute has the data type string 18.2.

20.326 style:number-wrapped-paragraphs

The style:number-wrapped-paragraphs attribute specifies the number of paragraphs that can wrap around a frame if the anchor position of a frame or drawing shape is a paragraph or a character, and the wrap mode specified by the style:wrap 20.400 attribute is left, right, parallel, or dynamic.

This attribute is only recognized in frames or styles that have a style:wrap attribute attached with a value of left, right, parallel, or dynamic.

The defined values for the style:number-wrapped-paragraphs attribute are:

  • no-limit: there is no limit on the number of paragraphs that may wrap around a frame. 

  • a value of type positiveInteger 

The style:number-wrapped-paragraphs attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the style:number-wrapped-paragraphs attribute are no-limit or a value of type positiveInteger 18.2.

20.327 style:overflow-behavior

The style:overflow-behavior attribute specifies the behavior of text boxes where the containing text does not fit into a text box.

If the style:overflow-behavior attribute value is auto-create-new-frame and the text box has a minimum width or height specified the text box will grow as long as there is space left on the page. If no space is left, a new frame will be created on the next page, with the same position and dimensions of the original frame.

The defined values for the style:overflow-behavior attribute are:

The style:overflow-behavior attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the style:overflow-behavior attribute are clip or auto-create-new-frame.

20.328 style:page-number

The style:page-number attribute specifies the page number that should be used for a new page when either a paragraph or table style specifies a master page that should be applied beginning from the start of a paragraph or table.

The defined values for the style:page-number attribute are:

The style:page-number attribute is usable with the following elements: <style:paragraph-properties> 17.6 and <style:table-properties> 17.15.

The values of the style:page-number attribute are a value of type nonNegativeInteger 18.2 or auto.

20.329 style:paper-tray-name

The style:paper-tray-name attribute specifies the paper tray to use when printing a document. The names assigned to the paper trays depends upon the printer.

The defined values for the style:paper-tray-name attribute are:

The style:paper-tray-name attribute is usable with the following element: <style:page-layout-properties> 17.2.

The values of the style:paper-tray-name attribute are default or a value of type string 18.2.

20.330 style:print

The style:print attribute specifies the components in a spreadsheet document to print.

The value of the style:print attribute is a white space separated list of one or more of these values:

The style:print attribute is usable with the following element: <style:page-layout-properties> 17.2.

The value of the style:print attribute is a white space separated lists of one of these values: headers, grid, annotations, objects, charts, drawings, formulas, or zero-values, including the empty list.

20.331 style:print-content

20.331.1 General

The style:print-content attribute specifies if content is printed.

20.331.2 <style:graphic-properties>

The style:print-content attribute specifies if frame content is printed.

The style:print-content attribute is usable with the following element: <style:graphic-properties> 17.21.

The style:print-content attribute has the data type boolean 18.3.3.

20.331.3 <style:table-cell-properties>

The style:print-content attribute specifies if cell content is printed.

The style:print-content attribute is usable with the following element: <style:table-cell-properties> 17.18.

The style:print-content attribute has the data type boolean 18.3.3.

20.332 style:print-page-order

The style:print-page-order attribute specifies the order in which data in a spreadsheet is numbered and printed when the data does not fit on one printed page.

The defined values for the style:print-page-order attribute are:

The style:print-page-order attribute is usable with the following element: <style:page-layout-properties> 17.2.

The values of the style:print-page-order attribute are ttb or ltr.

20.333 style:print-orientation

The style:print-orientation attribute specifies the orientation of the printed page. The value of this attribute can be portrait or landscape.

The defined values for the style:print-orientation attribute are:

The style:print-orientation attribute is usable with the following element: <style:page-layout-properties> 17.2.

The values of the style:print-orientation attribute are portrait or landscape.

20.334 style:protect

20.334.1 General

The style:protect attribute specifies the protection of content.

20.334.2 <style:graphic-properties>

The style:protect attribute specifies whether the content, size, or position of a frame is protected. The value of this attribute can be either none or a white space separated list that consists of any of the values content, position, or size.

The defined values for the style:protect attribute are:

The style:protect attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the style:protect attribute are none, or white space separated non-empty lists of one of these values: content, position, or size..

20.334.3 <style:section-properties>

The style:protect attribute specifies that sections should not be changed. The user interface should prevent the user from manually making any changes. The style:protect attribute should be set to true by default for linked sections or indexes. Removing the protection from linked sections or indexes leaves them unprotected from editing, but any edits will be over-written by updates to those sections.

The defined values for the style:protect attribute are:

The style:protect attribute is usable with the following element: <style:section-properties> 17.11.

The style:protect attribute has the data type boolean 18.3.3.

20.335 style:punctuation-wrap

The style:punctuation-wrap attribute specifies whether a punctuation mark, if one is present, can be hanging, that is, whether it can placed in the margin area at the end of a full line of text.

The defined values for the style:punctuation-wrap attribute are:

The style:punctuation-wrap attribute is usable with the following element: <style:paragraph-properties> 17.6.

The values of the style:punctuation-wrap attribute are simple or hanging.

20.336 style:register-true

The style:register-true attribute specifies whether the lines on both sides of a printed page align. The text baselines of text in page columns or text box columns also align.

The defined values for the style:register-true attribute are:

The style:register-true attribute is usable with the following element: <style:paragraph-properties> 17.6.

The style:register-true attribute has the data type boolean 18.3.3.

20.337 style:register-truth-ref-style-name

The style:register-truth-ref-style-name attribute specifies a paragraph style. The line distance specified of the paragraph style is used as the reference line distance for all paragraphs that have the register-truth feature enabled.

The style:register-truth-ref-style-name attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:register-truth-ref-style-name attribute has the data type styleNameRef 18.3.32.

20.338 style:rel-column-width

The style:rel-column-width attribute specifies a relative width of a column with a number value, followed by a ”*” (U+002A, ASTERISK) character. If rc is the relative with of the column, rs the sum of all relative columns widths, and ws the absolute width that is available for these columns the absolute width wc of the column is wc=rcws/rs.

The style:rel-column-width attribute is usable with the following element: <style:table-column-properties> 17.16.

The style:rel-column-width attribute has the data type relativeLength 18.3.27.

20.339 style:rel-height

The style:rel-height attribute specifies the height of a drawing object as a relative value within a frame.

The defined values for the style:rel-width attribute are:

The interpretation of relative values depends on the anchor of the drawing object. If the anchor for the drawing object is in a table cell, the percentage value is relative to the surrounding table box. If the anchor for the drawing object is in a text box, the percentage value is relative to the surrounding text box. In other cases, the percentage values is relative to the width of the page or window.

To support consumers that do not support relative width and heights, producers should also provide the height in svg:height 19.543 and fo:min-height 19.240 attributes.

The style:rel-height attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the style:rel-height attribute are a value of type percent 18.3.23, scale or scale-min.

20.340 style:rel-width

20.340.1 <style:graphic-properties>

The style:rel-width attribute specifies the relative width of a drawing object.

The defined values for the style:rel-width attribute are:

The interpretation of the percent value depends on the anchor of the drawing object. If the anchor for the drawing object is in a table cell, the percent value of the surrounding table box. If the anchor for the drawing object is in a text box, the percentage value of the surrounding text box. In all other cases, the percent value of the containing page or window

To support consumers that do not support relative width, producers should also provide the width in a svg:width 19.575 attribute.

The style:rel-width attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the style:rel-width attribute are a value of type percent 18.3.23, scale or scale-min.

20.340.2 <style:table-properties>

The style:rel-width attribute specifies the width of a table relative to the width of the area that the table is in.

The style:rel-width attribute is usable with the following element: <style:table-properties> 17.15.

The style:rel-width attribute has the data type percent 18.3.23.

20.341 style:repeat

The style:repeat attribute specifies if an image can be repeated or stretched over an area.

The defined values for the style:repeat attribute are:

The style:repeat attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The values of the style:repeat attribute are no-repeat, repeat or stretch.

20.342 style:repeat-content

The style:repeat-content attribute specifies whether text content of a cell is displayed as many times as there is space left in the cell's writing direction. The attribute has no effect for cell content that contains a line break.

The defined values for the style:repeat-content attribute are:

The style:repeat-content attribute is usable with the following element: <style:table-cell-properties> 17.18.

The style:repeat-content attribute has the data type boolean 18.3.3.

20.343 style:rfc-language-tag

The style:rfc-language-tag attribute specifies a language identifier according to the rules of [RFC5646], or its successors.

It shall only be used if its value cannot be expressed as a valid combination of the fo:language 20.202, fo:script 20.222 and fo:country 20.188 attributes.

Producers may add support for consumers that don't support the style:rfc-language-tag attribute by specifying fo:language, fo:script and fo:country attributes with values that are implementation-dependent.

The attribute is evaluated for any [UNICODE] characters that are not of type asian or complex. 20.358

The style:rfc-language-tag attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:rfc-language-tag attribute has the data type language 18.3.16.

20.344 style:rfc-language-tag-asian

The style:rfc-language-tag-asian attribute specifies a language identifier according to the rules of [RFC5646], or its successors.

It shall only be used if its value cannot be expressed as a valid combination of the style:language-asian 20.302, style:script-asian 20.356 and style:country-asian 20.256 attributes.

Producers may add support for consumers that don't support the style:rfc-language-tag-asian attribute by specifying style:language-asian, style:script-asian and style:country-asian attributes with values that are implementation-dependent.

This attribute is evaluated for [UNICODE] characters that are of type asian. 20.358.

The style:rfc-language-tag-asian attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:rfc-language-tag-asian attribute has the data type language 18.3.16.

20.345 style:rfc-language-tag-complex

The style:rfc-language-tag-complex attribute specifies a language identifier according to the rules of [RFC5646], or its successors.

It shall only be used if its value cannot be expressed as a valid combination of the style:language-complex 20.303, style:script-complex 20.357 and style:country-complex 20.257 attributes.

Producers may add support for consumers that don't support the style:rfc-language-tag-complex attribute by specifying style:language-complex, style:script-complex and style:country-complex attributes with values that are implementation-dependent.

This attribute is evaluated for [UNICODE] characters that are of type complex..

The style:rfc-language-tag-complex attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:rfc-language-tag-complex attribute has the data type language 18.3.16.

20.346 style:rotation-align

The style:rotation-align attribute specifies how the edge of the text in a cell is aligned after a rotation.

The defined values for the style:rotation-align attribute are shown in Table 21:

Table 21 - Rotation align values

Alignment

Text is...

Borders and background are...

None.

Rotated and aligned within the cell.

Unchanged.

Bottom

Center

Top

Rotated and may overlap with other cells if the text is longer than the length of the cell.

Positioned parallel to the text, whereby the edge that is named by the attribute value aligns with the corresponding edge of the cell's original position.

The style:rotation-align attribute is usable with the following element: <style:table-cell-properties> 17.18.

The values of the style:rotation-align attribute are none, bottom, top or center.

20.347 style:rotation-angle

The style:rotation-angle attribute specifies the rotation angle of content. The attribute value is an angle.

If used with a chart style applied to a <chart:axis> 11.9 element the attribute specifies the rotation of the axis labels, each tick label is rotated, the axis title is not affected in this case.

If used with a chart style applied to a <chart:data-label> 11.15, <chart:data-point>11.14, <chart:series> 11.12 or <chart:plot-area> 11.5 element the attribute specifies the rotation angle of the according data labels.

If used with a chart style applied to a <chart:title> 11.2.1 element the attribute specifies the rotation angle of the title.

The style:rotation-angle attribute is usable with the following elements: <style:chart-properties> 17.22 and <style:table-cell-properties> 17.18.

The style:rotation-angle attribute has the data type angle 18.3.1.

20.348 style:row-height

The style:row-height attribute specifies a fixed row height.

The style:row-height attribute is usable with the following element: <style:table-row-properties> 17.17.

The style:row-height attribute has the data type positiveLength 18.3.26.

20.349 style:ruby-align

The style:ruby-align attribute specifies the horizontal alignment of the ruby text in relationship to the ruby base.

The defined values for the style:ruby-align attribute are:

The style:ruby-align attribute is usable with the following element: <style:ruby-properties> 17.10.

The values of the style:ruby-align attribute are left, center, right, distribute-letter or distribute-space.

20.350 style:ruby-position

The style:ruby-position attribute specifies the vertical position of the ruby text in relationship to the ruby base.

The defined values for the style:ruby-position attribute are:

The style:ruby-position attribute is usable with the following element: <style:ruby-properties> 17.10.

The values of the style:ruby-position attribute are above or below.

20.351 style:run-through

The style:run-through attribute specifies whether content of a frame is displayed in the background or foreground.

The defined values for the style:run-through attribute are:

The default value for this attribute is foreground.

Use of this attribute depends upon the presence of a style:wrap 20.400 attribute with the value run-through.

The style:run-through attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the style:run-through attribute are foreground or background.

20.352 style:scale-to

The style:scale-to attribute specifies that a document is to be scaled to a percentage value. A value of 100% means no scaling.

If style:scale-to, style:scale-to-pages 20.353, style:scale-to-X 20.354 and style:scale-to-Y 20.355 attributes are absent, a document is not scaled.

The style:scale-to attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:scale-to attribute has the data type percent 18.3.23.

20.353 style:scale-to-pages

The style:scale-to-pages attribute specifies the number of pages on which a document should be printed. The document is scaled to fit a specified number of pages.

If style:scale-to-pages, style:scale-to 20.352, style:scale-to-X 20.354 and style:scale-to-Y 20.355 attributes are absent, a document is not scaled.

The style:scale-to-pages attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:scale-to-pages attribute has the data type positiveInteger 18.2.

20.354  style:scale-to-X

The style:scale-to-X attribute specifies the number of pages on which a document should be printed. The document is scaled to fit up to style:scale-to-X pages horizontally. If style:scale-to-X, style:scale-to-Y 20.355, style:scale-to-pages 20.353 and style:scale-to 20.352 are absent, a document is not scaled.

The style:scale-to-X attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:scale-to-X attribute has the data type positiveInteger 18.2.

20.355 style:scale-to-Y

The style:scale-to-Y attribute specifies the number of pages on which a document should be printed. The document is scaled to fit up to style:scale-to-Y pages vertically. If style:scale-to-Y, style:scale-to-X 20.354, style:scale-to-pages 20.353 and style:scale-to 20.352 are absent, a document is not scaled.

The style:scale-to-Y attribute is usable with the following element: <style:page-layout-properties> 17.2.

The style:scale-to-Y attribute has the data type positiveInteger 18.2.

20.356 style:script-asian

The style:script-asian attribute specifies the script code of a text. The attribute should be used only if necessary according to the rules of §2.2.3 of [RFC5646], or its successors.

This attribute is evaluated for [UNICODE] characters whose script type is asian. 20.358

It may be ignored if is not specified together with a style:language-asian 20.302 attribute.

The style:script-asian attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:script-asian attribute has the data type scriptCode 18.3.29.

20.357 style:script-complex

The style:script-complex attribute specifies the script code of a text. The attribute should be used only if necessary according to the rules of §2.2.3 of [RFC5646], or its successors.

This attribute is evaluated for [UNICODE] characters whose script type is complex. 20.358

It may be ignored if is not specified together with a style:language-complex 20.303 attribute.

The style:script-complex attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:script-complex attribute has the data type scriptCode 18.3.29.

20.358 style:script-type

The style:script-type attribute specifies which script type dependent attributes ( fo:font-family 20.189, style:font-family-asian 20.302, style:font-family-complex 20.303) are currently active for a portion of text. The attribute may be evaluated by consumers that cannot determine the script types of Unicode characters to select the correct script type dependent formatting properties. Consumers that can determine script types of Unicode characters may also evaluate the attribute and overwrite the script type they determine for certain character with the value of the attribute.

Note: The usage of this attribute simplifies transformations from and to [CSS2]/[XSL] and other formats that do not have script-dependent attributes, and also can be used to assign script-types to weak [UNICODE] characters, where consumers may choose different script types.

The value ignore can be used only within default styles. If it is set, all script-dependent attributes are applied to all script types. This would mean that a fo:font-family would be applied to all script types as well as a style:font-family-asian or style:font-family-complex.

Note: Use of the ignore value simplifies saving documents with producers that do not support a script type.

The defined values for the style:script-type attribute are:

  • asian: all asian script type dependent attributes are active. 

  • complex: all complex script type dependent attributes are active. 

  • ignore: all script type dependent attributes are applied to all script types. This is available on default styles only. 

  • latin: all latin script type dependent attributes are active. 

The mapping of Unicode code points to script types is defined by table 22. Consumers should apply this mapping. For Unicode code points for which no mapping is defined, the mapping is implementation-dependent.

Table 22 - Unicode Code Point to Script Type Mapping

Unicode Code Point Ranges

Script Type

U+0003..U+001F, U+0021..U+009F, U+00A1..U+04FF, U+0530..U+058F, U+10A0..U+10FF, U+13A0..U+16FF, U+1E00..U+1FFF, U+2C60..U+2C7F, U+2C80..U+2CE3, U+A720..U+A7FF

latin

U+0590..U+074F, U+0780..U+07BF, U+0900..U+109F, U+1200..U+137F, U+1780..U+18AF, U+FB50..U+FDFF, U+FE70..U+FEFF

complex

U+1100..U+11FF, U+2E80..U+31BF, U+31C0..U+31EF, U+3200..U+4DBF, U+4E00..U+A4CF, U+AC00..U+D7AF, U+F900..U+FAFF, U+FE30..U+FE4F, U+FF00..U+FFEF, U+20000..U+2A6DF, U+2F800..U+2FA1F

asian

The style:script-type attribute specifies which script type dependent attributes are currently active for a portion of text. The attribute may be evaluated by consumers that do not support script types to select the correct script dependent formatting properties. Consumers that support script types may also evaluate the attribute and overwrite the script type they would evaluate for a specific character.

The style:script-type attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:script-type attribute are latin, asian, complex or ignore.

20.359 style:shadow

The style:shadow attribute specifies a shadow effect.

The defined values for this attribute are those defined in §7.16.5 of [XSL], except the value inherit.

The shadow effect is not applied to the text content of an element, but depending on the element where the attribute appears, to a paragraph, a text box, a page body, a header, a footer, a table or a table cell.

The style:shadow attribute is usable with the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6, <style:table-cell-properties> 17.18 and <style:table-properties> 17.15.

The values of the style:shadow attribute are none or a value of type string 18.2.

20.360 style:shrink-to-fit

The style:shrink-to-fit attribute specifies whether content is reduced in size to fit within a cell or drawing object. Shrinking means that the font size of the content is decreased to fit the content into a cell or drawing object. The attribute has no effect on cells where the cell content already fits into the cell.

The defined values for the style:shrink-to-fit attribute are:

The style:shrink-to-fit attribute is usable with the following elements: <style:graphic-properties> 17.21 and <style:table-cell-properties> 17.18.

The style:shrink-to-fit attribute has the data type boolean 18.3.3.

20.361 style:snap-to-layout-grid

The style:snap-to-layout-grid attribute specifies whether the layout of a paragraph should consider the layout grid settings of the page where it appears.

The defined values for the style:snap-to-layout-grid attribute are:

The style:snap-to-layout-grid attribute is usable with the following element: <style:paragraph-properties> 17.6.

The style:snap-to-layout-grid attribute has the data type boolean 18.3.3.

20.362 style:tab-stop-distance

The style:tab-stop-distance attribute specifies the distance between default tab stops. A default tab stop is repeated automatically after the specified distance. Default tab stops are only evaluated if they are specified within a default style.

The style:tab-stop-distance attribute is usable with the following element: <style:paragraph-properties> 17.6.

The style:tab-stop-distance attribute has the data type nonNegativeLength 18.3.20.

20.363 style:table-centering

The style:table-centering attribute specifies whether tables are centered horizontally and/or vertically on the page. This attribute only applies to spreadsheet documents.

The default is to align the table to the top-left or top-right corner of the page, depending of its writing direction.

The defined values for the style:table-centering attribute are:

The style:table-centering attribute is usable with the following element: <style:page-layout-properties> 17.2.

The values of the style:table-centering attribute are horizontal, vertical, both or none.

20.364 style:text-align-source

The style:text-align-source attribute specifies the source of a text-align attribute.

The defined values for the style:text-align-source attribute are:

The default alignment for a cell value-type string is left, for other value-types it is right.

The style:text-align-source attribute is usable with the following element: <style:table-cell-properties> 17.18.

The values of the style:text-align-source attribute are fix or value-type.

20.365 style:text-autospace

The style:text-autospace attribute specifies whether to add space between portions of Asian, Western, and complex texts.

The defined values for the style:text-autospace attribute are:

The style:text-autospace attribute is usable with the following element: <style:paragraph-properties> 17.6.

The values of the style:text-autospace attribute are none or ideograph-alpha.

20.366 style:text-blinking

The style:text-blinking attribute specifies whether text blinks.

The defined values for the style:text-blinking attribute are:

The style:text-blinking attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:text-blinking attribute has the data type boolean 18.3.3.

20.367 style:text-combine

The style:text-combine attribute specifies whether to combine characters so that they are displayed within two lines.

The defined values for the style:text-combine attribute are:

The style:text-combine attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:text-combine attribute are none, letters or lines.

20.368 style:text-combine-start-char

The style:text-combine-start-char attribute specifies the start character that is displayed before a portion of text whose style:text-combine 20.367 attribute has a value of lines.

The style:text-combine-start-char attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:text-combine-start-char attribute has the data type character 18.3.7.

20.369 style:text-combine-end-char

The style:text-combine-end-char attribute specifies the end character that is displayed after a portion of text whose style:text-combine 20.367 attribute has a value of lines.

The style:text-combine-end-char attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:text-combine-end-char attribute has the data type character 18.3.7.

20.370 style:text-emphasize

The style:text-emphasize attribute specifies emphasis in a text composed of [UNICODE] characters whose script type is asian. 20.358

The value of this attribute consists of two white space-separated values.

The first value represents the style to use for emphasis.

The second value represents the position of the emphasis and it can be above or below. If the first value is none, the second value can be omitted.

The defined values for the style:text-emphasize attribute are:

  • accent: calligraphic accent strokes. 

  • circle: hollow circles. 

  • disc: filled circles. 

  • dot: calligraphic dot. 

  • none: no emphasis marks. 

The style:text-emphasize attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:text-emphasize attribute are none, or two white space separated values. The first of these values is one of: none, accent, dot, circle or disc. The second of these values is one of: above or below.

20.371 style:text-line-through-color

The style:text-line-through-color attribute specifies the color that is used for line-through text.

The defined values for the style:text-line-through-color attribute are:

The style:text-line-through-color attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:text-line-through-color attribute are font-color or a value of type color 18.3.9.

20.372 style:text-line-through-mode

The style:text-line-through-mode attribute specifies whether lining through is applied to words only or to portions of text.

The defined values for the style:text-line-through-mode attribute are:

The style:text-line-through-mode attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:text-line-through-mode attribute are continuous or skip-white-space.

20.373 style:text-line-through-style

The style:text-line-through-style attribute specifies a style for rendering a line-through text.

The defined values for the style:text-line-through-style attribute are:

Note: The definitions of the values of the style:text-line-through-style attribute are based on the text decoration style 'text-line-through-style' from [CSS3Text], §9.2.

The style:text-line-through-style attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:text-line-through-style attribute are none, solid, dotted, dash, long-dash, dot-dash, dot-dot-dash or wave.

20.374 style:text-line-through-text

The style:text-line-through-text attribute specifies a text that is used for line-through. The attribute will be evaluated only if the value of style:text-line-through-style 20.373 attribute is different than none.

If the attribute value is not empty, the attribute value string is used for line-through instead of the line style that has been specified by the style:text-line-through-style attribute. Consumers that do not support line-through with text should ignore the attribute, and should use the line style specified by the style:text-line-through-style attribute.

Consumers that support line-through with single characters only, should use the first character of the value for line-through, if the style:text-line-through-text attribute value has more than one character. Consumers that support line-through with specific characters only (like ”x” or ”/” (U+002F, SOLIDUS) should use one of these characters if the attribute specifies characters that are not supported.

The style:text-line-through-text attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:text-line-through-text attribute has the data type string 18.2.

20.375 style:text-line-through-text-style

The style:text-line-through-text-style specifies a text style that is applied to text-line-through characters. It is not applied to line-through lines. If the attribute appears in an automatic style, it may reference either an automatic text style or a common style. If the attribute appears in a common style, it may reference a common style only.

The style:text-line-through-text-style attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:text-line-through-text-style attribute has the data type styleNameRef 18.3.32.

20.376 style:text-line-through-type

The style:text-line-through-type attribute specifies whether text is lined through, and if so, whether a single or double line will be used.

The defined values for the style:text-line-through-type attribute are:

Every occurrence of the style:text-line-through-type attribute should be accompanied by an occurrence of the style:text-line-through-style 20.373 attribute on the same element. There should not be an occurrence of the style:text-line-through-type attribute if the value of the style:text-line-through-style attribute is none.

The style:text-line-through-type attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:text-line-through-type attribute are none, single or double.

20.377 style:text-line-through-width

The style:text-line-through-width attribute specifies the width of a line-through line. The value bold specifies a line width that is calculated from the font sizes like an auto width, but is wider than an auto width.

The defined values for the style:text-line-through-width attribute are:

The line-through text styles referenced by the values dash, medium, thick and thin, are implementation-defined. Thin shall be smaller width than medium and medium shall be a smaller width than thick.

The style:text-line-through-width attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:text-line-through-width attribute are auto, normal, bold, thin, medium, thick, a value of type positiveInteger 18.2, a value of type percent 18.3.23 or a value of type positiveLength 18.3.26.

20.378 style:text-outline

The style:text-outline attribute specifies whether to display an outline of text or the text itself.

The defined values for the style:text-outline attribute are:

The style:text-outline attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:text-outline attribute has the data type boolean 18.3.3.

20.379 style:text-overline-color

The style:text-overline-color attribute specifies a color that is used to overline text.

The defined values for the style:text-overline-color attribute are:

The style:text-overline-color attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:text-overline-color attribute are font-color or a value of type color 18.3.9.

20.380 style:text-overline-mode

The style:text-overline-mode attribute specifies whether overlining is applied to words only or to portions of text.

The defined values for the style:text-line-through-mode attribute are:

The style:text-overline-mode attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:text-overline-mode attribute are continuous or skip-white-space.

20.381 style:text-overline-style

The style:text-overline-style attribute specifies a style for rendering a line over text.

The defined values for the style:text-overline-style attribute are:

Note: The definitions of the values of the style:text-overline-style attribute are based on the text decoration style 'text-overline-style' from [CSS3Text], §9.2.

The style:text-overline-style attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:text-overline-style attribute are none, solid, dotted, dash, long-dash, dot-dash, dot-dot-dash or wave.

20.382 style:text-overline-type

The style:text-overline-type attribute specifies the type of overlining applied to a text.

The defined values for the style:text-overline-type attribute are:

Every occurrence of the style:text-overline-type attribute should be accompanied by an occurrence of the style:text-overline-style 20.381 attribute on the same element. There should not be an occurrence of the style:text-overline-type attribute if the value of the style:text-overline-style attribute is none.

The style:text-overline-type attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:text-overline-type attribute are none, single or double.

20.383 style:text-overline-width

The style:text-overline-width attribute specifies the width of an overline. The value bold specifies a line width that is calculated from the font sizes like an auto width, but is wider than an auto width.

The defined values for the style:text-overline-width attribute are:

The overline text styles referenced by the values dash, medium, thick and thin, are implementation-defined. Thin shall be smaller width than medium and medium shall be a smaller width than thick.

The style:text-overline-width attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:text-overline-width attribute are auto, normal, bold, thin, medium, thick, a value of type positiveInteger 18.2, a value of type percent 18.3.23 or a value of type positiveLength 18.3.26.

20.384 style:text-position

The style:text-position attribute specifies whether text is positioned above or below the baseline and to specify the relative font height that is used for this text.

This attribute can have one or two values.

The first value shall be present and specifies the vertical text position as a percentage of the current font height or it takes one of the values sub or super. Negative percentages or the sub value place the text below the baseline. Positive percentages or the super value place the text above the baseline. If sub or super is specified, the consumer chooses an appropriate text position.

The second value may be present and specifies the font height as a percentage of the current font-height. If this value is not specified, an appropriate font height is used.

The style:text-position attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:text-position attribute has one or two white space separated values. The first values is of type percent 18.3.23, or is one of: super or sub. The second value is of type percent 18.3.23.

20.385 style:text-rotation-angle

The style:text-rotation-angle attribute specifies an angle to which text is rotated. The value of this attribute can be any integer, which specifies the rotation angle in degrees, or an angle as specified in angle. 18.3.1

If more than one character is selected, the entire selection is rotated as a block.

The style:text-rotation-angle attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:text-rotation-angle attribute has the data type angle 18.3.1.

20.386 style:text-rotation-scale

The style:text-rotation-scale attribute specifies whether for rotated text the width of the text should be scaled to fit into the current line height or the width of the text should remain fixed, therefore changing the current line height.

The defined values for the style:text-rotation-scale attribute are:

The style:text-rotation-scale attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:text-rotation-scale attribute are fixed or line-height.

20.387 style:text-scale

The style:text-scale attribute specifies whether to decrease or increase the width of text by scaling the font width.

The style:text-scale attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:text-scale attribute has the data type percent 18.3.23.

20.388 style:text-underline-color

The style:text-underline-color attribute specifies a color that is used to underline text.

The defined values for the style:text-underline-color attribute are:

The style:text-underline-color attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:text-underline-color attribute are font-color or a value of type color 18.3.9.

20.389 style:text-underline-mode

The style:text-underline-mode attribute specifies whether underlining is applied to words only or to portions of text. If underlining is applied to text portions, the spaces between words and the words are underlined.

The defined values for the style:text-underline-mode attribute are:

The style:text-underline-mode attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:text-underline-mode attribute are continuous or skip-white-space.

20.390 style:text-underline-style

The style:text-underline-style attribute specifies a style for underlining text.

The defined values for the style:text-underline-style attribute are:

Note: The definitions of the values of the style:text-underline-style attribute are based on the text decoration style 'text-underline-style' from [CSS3Text], §9.2.

The style:text-underline-style attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:text-underline-style attribute are none, solid, dotted, dash, long-dash, dot-dash, dot-dot-dash or wave.

20.391 style:text-underline-type

The style:text-underline-type attribute specifies the type of underlining applied to a text.

The defined values for the style:text-underline-type attribute are:

Every occurrence of the style:text-underline-type attribute should be accompanied by an occurrence of the style:text-underline-style 20.390 attribute on the same element. There should not be an occurrence of the style:text-underline-type attribute if the value of the style:text-underline-style attribute is none.

The style:text-underline-type attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:text-underline-type attribute are none, single or double.

20.392 style:text-underline-width

The style:text-underline-width attribute specifies the width of an underline. The value bold specifies a line width that is calculated from the font sizes like an auto width, but is wider than an auto width.

The defined values for the style:text-underline-width attribute are:

The underline text styles referenced by the values dash, medium, thick and thin, are implementation-defined. Thin shall be smaller width than medium and medium shall be a smaller width than thick.

The style:text-underline-width attribute is usable with the following element: <style:text-properties> 16.29.29.

The values of the style:text-underline-width attribute are auto, normal, bold, thin, medium, thick, a value of type positiveInteger 18.2, a value of type percent 18.3.23 or a value of type positiveLength 18.3.26.

20.393 style:use-optimal-column-width

The style:use-optimal-column-width attribute specifies that a column width should be recalculated automatically if content in the column changes.

The defined values for the style:use-optimal-column-width attribute are:

The style:use-optimal-column-width attribute is usable with the following element: <style:table-column-properties> 17.16.

The style:use-optimal-column-width attribute has the data type boolean 18.3.3.

20.394 style:use-optimal-row-height

The style:use-optimal-row-height attribute specifies that a row height should be recalculated automatically if content in the row changes.

The defined values for the style:use-optimal-row-height attribute are:

The style:use-optimal-row-height attribute is usable with the following element: <style:table-row-properties> 17.17.

The style:use-optimal-row-height attribute has the data type boolean 18.3.3.

20.395 style:use-window-font-color

The style:use-window-font-color attribute specifies whether the window foreground color should be used as the foreground color for a light background color and white for a dark background color. The determination of light or dark color is implementation-defined.

The defined values for the style:use-window-font-color attribute are:

The style:use-window-font-color attribute is usable with the following element: <style:text-properties> 16.29.29.

The style:use-window-font-color attribute has the data type boolean 18.3.3.

20.396 style:vertical-align

20.396.1 <style:paragraph-properties>

The style:vertical-align attribute specifies the vertical position of a character. By default characters are aligned according to their baseline.

The defined values for the style:vertical-align attribute are:

The style:vertical-align attribute is usable with the following element: <style:paragraph-properties> 17.6.

The values of the style:vertical-align attribute are top, middle, bottom, auto or baseline.

20.396.2 <style:table-cell-properties>

The style:vertical-align attribute specifies the vertical alignment of text in a table cell. The options for the vertical alignment attribute are as follows:

The defined values for the style:vertical-align attribute are:

The style:vertical-align attribute is usable with the following element: <style:table-cell-properties> 17.18.

The values of the style:vertical-align attribute are top, middle, bottom or automatic.

20.397 style:vertical-pos

The style:vertical-pos attribute specifies the vertical alignment of a frame relative to a specific area.

The defined values for the style:vertical-pos attribute are:

The style:vertical-pos attribute is usable with the following elements: <style:graphic-properties> 17.21 and <style:list-level-properties> 17.19.

The values of the style:vertical-pos attribute are top, middle, bottom, from-top or below.

20.398 style:vertical-rel

The style:vertical-rel attribute specifies the area against which the vertical position of a frame is positioned.

The defined values for the style:vertical-rel attribute are:

baseline: vertical position of frame positioned relative to a baseline.

char: vertical position of frame positioned relative to a character.

frame: vertical position of frame positioned relative to a frame.

frame-content: vertical position of frame positioned relative to frame content.

line: vertical position of frame positioned relative to a line.

page: vertical position of frame positioned relative to a page.

page-content: vertical position of frame positioned relative to page content.

paragraph: vertical position of frame positioned relative to a paragraph.

paragraph-content: vertical position of frame positioned relative to paragraph content.

text: vertical position of frame positioned relative to text.

Table 23 displays the defined values of style:vertical-rel and text:anchor-type attributes. Value combinations that can appear in a document are marked with an X.

Table 23 - Vertical Relation Values

Value of style:vertical-rel

Value of text:anchor-type

page

frame

paragraph

char

as-char

baseline

 

 

 

 

X

char

 

 

 

X

X

frame

 

X

 

 

 

frame-content

 

X

 

 

 

line

 

 

 

 

X

page

X

 

X

X

 

page-content

X

 

X

X

 

paragraph

 

 

X

X

 

paragraph-content

 

 

X

X

 

text

 

 

 

 

X

The style:vertical-rel attribute is usable with the following elements: <style:graphic-properties> 17.21 and <style:list-level-properties> 17.19.

The values of the style:vertical-rel attribute are page, page-content, frame, frame-content, paragraph, paragraph-content, char, line, baseline or text.

20.399 style:width

The style:width attribute specifies the fixed width of a table. Every table shall have a fixed width.

The style:width attribute is usable with the following element: <style:table-properties> 17.15.

The style:width attribute has the data type positiveLength 18.3.26.

20.400 style:wrap

The style:wrap attribute specifies how text is displayed around a frame or graphic object.

The defined values for the style:wrap attribute are:

The style:wrap attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the style:wrap attribute are none, left, right, parallel, dynamic, run-through or biggest.

20.401 style:wrap-contour

The style:wrap-contour attribute specifies whether text wraps around an object or the bounding box of the object.

The defined values for the style:wrap-contour attribute are:

This is called contour wrapping.

The style:wrap-contour attribute is usable with the following element: <style:graphic-properties> 17.21.

The style:wrap-contour attribute has the data type boolean 18.3.3.

20.402 style:wrap-contour-mode

The style:wrap-contour-mode attribute specifies the nature of the wrapping of text around the contour of a shape.

This attribute shall be evaluated only by frames/drawing shapes or styles with non-empty style:wrap 20.400 and style:wrap-contour 20.401 attributes.

The defined values for the style:wrap-contour-mode attribute are:

  • full: text wraps around the shape and fills any spaces and indentations in the shape. 

  • outside: text wraps around the general area to the left and right of the shape. 

The style:wrap-contour-mode attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the style:wrap-contour-mode attribute are full or outside.

20.403 style:wrap-dynamic-threshold

The style:wrap-dynamic-threshold attribute specifies the minimum distance between the page or column border and the object for which wrapping will be enabled. It is evaluated only if a style:wrap 20.400 attribute, with the value dynamic, appears on the same <style:graphic-properties> 17.21 element.

The style:wrap-dynamic-threshold attribute is usable with the following element: <style:graphic-properties> 17.21.

The style:wrap-dynamic-threshold attribute has the data type nonNegativeLength 18.3.20.

20.404 style:writing-mode

20.404.1 General

The style:writing-mode attribute specifies a writing mode for an element.

20.404.2 <style:graphic-properties>

See §7.27.7 of [XSL] with the additional value of page.

The defined value of style:writing-mode attribute is page: writing mode is inherited from the page that contains the element where this attribute appears.

The style:writing-mode attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the style:writing-mode attribute are lr-tb, rl-tb, tb-rl, tb-lr, lr, rl, tb or page.

20.404.3 <style:page-layout-properties>

See §7.27.7 of [XSL].

The defined value for the style:writing-mode attribute is page: writing mode is inherited from the page that contains the element where this attribute appears.

The style:writing-mode attribute is usable with the following element: <style:page-layout-properties> 17.2.

The values of the style:writing-mode attribute are lr-tb, rl-tb, tb-rl, tb-lr, lr, rl, tb or page.

20.404.4 <style:paragraph-properties>

See §7.27.7 of [XSL] with the additional value of page.

The defined value for the style:writing-mode attribute is page: writing mode is inherited from the page that contains the element where this attribute appears.

The style:writing-mode attribute is usable with the following element: <style:paragraph-properties> 17.6.

The values of the style:writing-mode attribute are lr-tb, rl-tb, tb-rl, tb-lr, lr, rl, tb or page.

20.404.5 <style:section-properties>

See §7.27.7 of [XSL] with the additional value of page.

The defined value for the style:writing-mode attribute is page: writing mode is inherited from the page that contains the element where this attribute appears.

The style:writing-mode attribute is usable with the following element: <style:section-properties> 17.11.

The values of the style:writing-mode attribute are lr-tb, rl-tb, tb-rl, tb-lr, lr, rl, tb or page.

20.404.6 <style:table-cell-properties>

See §7.27.7 of [XSL] with the additional value of page.

The defined value for the style:writing-mode attribute is page: writing mode is inherited from the page that contains the element where this attribute appears.

The style:writing-mode attribute is usable with the following element: <style:table-cell-properties> 17.18.

The values of the style:writing-mode attribute are lr-tb, rl-tb, tb-rl, tb-lr, lr, rl, tb or page.

20.404.7 <style:table-properties>

See §7.27.7 of [XSL] with the additional value of page.

The defined value for the style:writing-mode attribute is page: writing mode is inherited from the page that contains the element where this attribute appears.

The style:writing-mode attribute is usable with the following element: <style:table-properties> 17.15.

The values of the style:writing-mode attribute are lr-tb, rl-tb, tb-rl, tb-lr, lr, rl, tb or page.

20.405 style:writing-mode-automatic

The style:writing-mode-automatic attribute specifies whether a consumer may recalculate the writing mode of a paragraph based on its content whenever the content is edited.

The writing-mode should be specified in a style:writing-mode attribute.

If the fo:text-align with value start, text alignment can be adapted to the writing mode.

The defined values for the style:writing-mode-automatic attribute are:

The style:writing-mode-automatic attribute is usable with the following element: <style:paragraph-properties> 17.6.

The style:writing-mode-automatic attribute has the data type boolean 18.3.3.

20.406 svg:fill-rule

See §11.3 of [SVG].

OpenDocument does not support the value inherit.

The svg:fill-rule attribute is usable with the following elements: <style:drawing-page-properties> 17.25 and <style:graphic-properties> 17.21.

The values of the svg:fill-rule attribute are nonzero or evenodd.

20.407 svg:height

20.407.1 <style:graphic-properties>

The svg:height attribute specifies a default height for new frames that are created using the graphics style. See 19.543.

The svg:height attribute is usable with the following element: <style:graphic-properties> 17.21.

The svg:height attribute has the data type length 18.3.18.

20.407.2 <style:header-footer-properties>

The svg:height attribute specifies the height of a header or footer.

The svg:height attribute is usable with the following element: <style:header-footer-properties> 17.5.

The svg:height attribute has the data type length 18.3.18.

20.408 svg:stroke-color

The svg:stroke-color attribute specifies the color of a stroke.

The svg:stroke-color attribute is usable with the following element: <style:graphic-properties> 17.21.

The svg:stroke-color attribute has the data type color 18.3.9.

20.409 svg:stroke-opacity

The svg:stroke-opacity attribute specifies the opacity of a stroke. The value of this attribute can be a number between 0 (transparent) and 1 (opaque) or a percentage value in the range 0% to 100%.

The svg:stroke-opacity attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the svg:stroke-opacity attribute are a value of type double 18.2 in the range [0,1] or a value of type zeroToHundredPercent 18.3.41.

20.410 svg:stroke-width

The svg:stroke-width attribute specifies the width of a stroke.

The svg:stroke-width attribute is usable with the following element: <style:graphic-properties> 17.21.

The svg:stroke-width attribute has the data type length 18.3.18.

20.411 svg:x

The svg:x attribute specifies a default horizontal position for new frames that are created using the graphics style. See 19.577.

The svg:x attribute is usable with the following element: <style:graphic-properties> 17.21.

The svg:x attribute has the data type coordinate 18.3.10.

20.412 svg:y

20.412.1 <style:graphic-properties>

The svg:y attribute specifies a default vertical position for new frames that are created using the graphics style. See 19.581.

The svg:y attribute is usable with the following element: <style:graphic-properties> 17.21.

The svg:y attribute has the data type coordinate 18.3.10.

20.412.2 <style:list-level-properties>

The svg:y attribute specifies the vertical position of a bullet image.

The svg:y attribute is usable with the following element: <style:list-level-properties> 17.19.

The svg:y attribute has the data type coordinate 18.3.10.

20.413 svg:width

The svg:width attribute specifies a default width for new frames that are created using the graphics style. See 19.575.

The svg:width attribute is usable with the following element: <style:graphic-properties> 17.21.

The svg:width attribute has the data type length 18.3.18.

20.414 table:align

The table:align attribute specifies the horizontal alignment of a table.

The defined values for the table:align attribute are:

Consumers that do not support the margins value, may treat this value as left.

The table:align attribute is usable with the following element: <style:table-properties> 17.15.

The values of the table:align attribute are left, center, right or margins.

20.415 table:border-model

The table:border-model attribute specifies what border model to use when creating a table with a border.

The defined values for the table:border-model attribute are:

In OpenDocument, a row height or column width includes any space required to display borders or padding. This means that, while the width and height of the content area is less than the column width and row height, the sum of the widths of all columns is equal to the total width of the table.

The table:border-model attribute is usable with the following element: <style:table-properties> 17.15.

The values of the table:border-model attribute are collapsing or separating.

20.416 table:display

The table:display attribute specifies whether a table is displayed.

The defined values for the table:display attribute are:

The table:display attribute is usable with the following element: <style:table-properties> 17.15.

The table:display attribute has the data type boolean 18.3.3.

20.417 text:anchor-page-number

The text:anchor-page-number attribute specifies the physical page number of an anchor if the drawing object is bound to a page within a text document.

The text:anchor-page-number attribute is usable with the following element: <style:graphic-properties> 17.21.

The text:anchor-page-number attribute has the data type positiveInteger 18.2.

20.418 text:anchor-type

The text:anchor-type attribute specifies how a drawing shape is bound to a text document. The anchor position is the point at which a drawing shape is bound to a text document.

The same attribute is available as an element attribute text:anchor-type 19.759.

The defined values for the text:anchor-type attribute are shown in Table 24.

Table 24 - Text anchor positions

If the value of the text:anchor-type attribute is ...

The anchor position is...

The drawing shape element shall be located in the file text ...

Notes

as-char

There is no anchor position. The drawing shape behaves like a character.

At the position where the character appears in the document.

 

char

The character after the drawing shape element.

Just before the character.

 

frame

The parent text box that the current drawing shape element is contained in.

In the element representing the text box to which the drawing object is bound.

If an image is bound to a text box, the image element is located in the text box element.

 

page

The page that has the same physical page number as the value of the text:anchor-page-number attribute that is attached to the drawing shape element. If no text:anchor-page-number attribute is given, the anchor position is the page at which the character behind the drawing object element appears.

Either

  • At the start of the document body, outside any paragraph or frame, provided a text:anchor-page-number attribute is given. 

Or

  • Inside any paragraph element that is not contained in a header, footer, footnote, or text box, if a text:anchor-page-number attribute is not given. 

The physical page number is the number assigned to the page if all pages in the document are counted starting with page 1.

paragraph

The paragraph that the current drawing shape element is contained in.

At the start of the paragraph element.

 

The text:anchor-type attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the text:anchor-type attribute are page, frame, paragraph, char or as-char.

20.419 text:animation

The text:animation attribute specifies the type of animation that is used for a text.

The defined values for the text:animation attribute are:

The text:animation attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the text:animation attribute are none, scroll, alternate or slide.

20.420 text:animation-delay

The text:animation-delay attribute specifies a delay before an animation is started.

The text:animation-delay attribute is usable with the following element: <style:graphic-properties> 17.21.

The text:animation-delay attribute has the data type duration 18.2.

20.421 text:animation-direction

The text:animation-direction attribute specifies the scroll direction of animated text.

The defined values for the text:animation-direction attribute are:

The text:animation-direction attribute is usable with the following element: <style:graphic-properties> 17.21.

The values of the text:animation-direction attribute are left, right, up or down.

20.422 text:animation-repeat

The text:animation-repeat attribute specifies the number of times an animation is repeated. If the value of the attribute is 0, the animation is repeated indefinitely.

The text:animation-repeat attribute is usable with the following element: <style:graphic-properties> 17.21.

The text:animation-repeat attribute has the data type nonNegativeInteger 18.2.

20.423 text:animation-start-inside

The text:animation-start-inside attribute specifies if a text animation starts inside or outside a shape.

The defined values for the text:animation-start-inside attribute are:

The text:animation-start-inside attribute is usable with the following element: <style:graphic-properties> 17.21.

The text:animation-start-inside attribute has the data type boolean 18.3.3.

20.424 text:animation-steps

The text:animation-steps attribute specifies the distance by which text is moved within a scrolling step.

The text:animation-steps attribute is usable with the following element: <style:graphic-properties> 17.21.

The text:animation-steps attribute has the data type length 18.3.18.

20.425 text:animation-stop-inside

The text:animation-stop-inside attribute specifies if a text animation stops inside or outside a shape.

The defined values for the text:animation-stop-inside attribute are:

The text:animation-stop-inside attribute is usable with the following element: <style:graphic-properties> 17.21.

The text:animation-stop-inside attribute has the data type boolean 18.3.3.

20.426 text:condition

The text:condition attribute specifies the display of text.

The defined value of the text:condition attribute is none, which means text is hidden.

The text:condition attribute is usable with the following element: <style:text-properties> 16.29.29.

The only value of the text:condition attribute is none.

20.427 text:display

The text:display attribute specifies whether text is hidden.

The defined values for the text:display attribute are:

The text:display attribute is usable with the following element: <style:text-properties> 16.29.29.

20.428 text:dont-balance-text-columns

The text:dont-balance-text-columns attribute specifies whether the text column content should be evenly distributed over all text columns or not.

The defined values for the text:dont-balance-text-columns attribute are:

The text:dont-balance-text-columns attribute is usable with the following element: <style:section-properties> 17.11.

The text:dont-balance-text-columns attribute has the data type boolean 18.3.3.

20.429 text:line-break

The text:line-break attribute specifies whether word wrapping is allowed for axis labels.

This attribute is evaluated for a chart style that is applied to a <chart:axis> 11.9 element.

The defined values for the text:line-break attribute are:

  • false: word wrapping should not be allowed for axis labels. 

  • true: word wrapping should be allowed for axis labels. 

The text:line-break attribute is usable with the following element: <style:chart-properties> 17.22.

The text:line-break attribute has the data type boolean 18.3.3.

20.430 text:line-number

The text:line-number attribute specifies a new start value for line numbering, if a text:number-lines 20.434 attribute, with the value true, appears on the same <style:paragraph-properties> 17.6 element. Otherwise, this attribute shall be ignored.

The text:line-number attribute is usable with the following element: <style:paragraph-properties> 17.6.

The text:line-number attribute has the data type nonNegativeInteger 18.2.

20.431 text:list-level-position-and-space-mode

The text:list-level-position-and-space-mode attribute specifies how the position and spacing of the list labels (numbers or bullets) is defined.

The defined values for the text:list-level-position-and-space-mode attribute are:

  • label-alignment: The <style:list-level-label-alignment> 17.20 element and the fo:text-align 20.223 attribute are used to define the position and spacing of the list label and the list item. The values of the attributes for text:space-before 20.435, text:min-label-width 20.433 and text:min-label-distance 20.432 are assumed to be 0. 

  • label-width-and-position: The text:space-before, text:min-label-width, text:min-label-distance and fo:text-align attributes are used to define the position and spacing of the list label and the list item. 

The default value of the text:list-level-position-and-space-mode attribute is label-width-and-position.

The text:list-level-position-and-space-mode attribute is usable with the following element: <style:list-level-properties> 17.19.

The values of the text:list-level-position-and-space-mode attribute are label-width-and-position or label-alignment.

20.432 text:min-label-distance

The text:min-label-distance attribute specifies the minimum distance between a number and a list item.

The content of a list label is rendered inside a specified minimum width - text:min-label-width. 20.433 The text of a list item is rendered following the label width area. If the distance between a list label and the text of a list item is smaller than the value of the text:min-label-distance attribute, the following actions are performed. First, the content of the list label is moved inside the specified minimum label width up to the value of the text:min-label-distance attribute. If that does not result in a value equal to the text:min-label-distance attribute, the text of the list item is moved until the distance between the list label and text of list item equals the value of the text:min-label-distance attribute.

This attribute can be associated with a formatting properties element that is contained in a <text:list-level-style-*> element.

The attribute will be evaluated only if the text:list-level-position-and-space-mode attribute has the value label-width-and-position or is not present.

The text:min-label-distance attribute is usable with the following element: <style:list-level-properties> 17.19.

The text:min-label-distance attribute has the data type nonNegativeLength 18.3.20.

20.433 text:min-label-width

The text:min-label-width attribute specifies the minimum width of a list label.

This attribute can be associated with a formatting properties element that is contained in a <text:list-level-style-*> element.

The list label can be aligned horizontally within the specified minimum width using the fo:text-align 20.223 attribute. If the actual width of the list label is greater than the specified minimum width no alignment takes place.

The attribute will be evaluated only if the text:list-level-position-and-space-mode 20.431 attribute has the value label-width-and-position or is not present.

The text:min-label-width attribute is usable with the following element: <style:list-level-properties> 17.19.

The text:min-label-width attribute has the data type nonNegativeLength 18.3.20.

20.434 text:number-lines

The text:number-lines attribute specifies whether lines are numbered.

The defined values for the text:number-lines attribute are:

The text:number-lines attribute is usable with the following element: <style:paragraph-properties> 17.6.

The text:number-lines attribute has the data type boolean 18.3.3.

20.435 text:space-before

The text:space-before attribute specifies the space to include before a number for all paragraphs at a specified level. If a paragraph has a left margin greater than 0, the position of the list label box is the left margin width plus the start indent value.

This attribute can be associated with a formatting properties element that is contained in a <text:list-level-style-*> element.

This attribute is evaluated only if the text:list-level-position-and-space-mode 20.431 attribute has the value label-width-and-position or is not present.

The text:space-before attribute is usable with the following element: <style:list-level-properties> 17.19.

The text:space-before attribute has the data type length 18.3.18.

  1. Appendix AOpenDocument Relax NG Schema 

The OpenDocument Relax-NG (see [RNG]) schema is defined by a separate document, whose location can be found in the Additional artifacts section on the introductory pages.

  1. Appendix BOpenDocument Metadata Manifest Ontology 

The OpenDocument metadata manifest ontology is defined by a separate document, whose location can be found in the Additional artifacts section on the introductory pages.

  1. Appendix CMIME Types and File Name Extensions (Non Normative) 

The following table contains a list of MIME types and file name extensions for OpenDocument documents, that, at the time this specification is published, have been registered according to [RFC6838]. Please see [MIMETYPES] for a current list of registered MIME types.

Registered MIME types are for use with documents contained in OpenDocument packages.

Table 25 - Registered MIME types

MIME type

Ext.

Description

application/vnd.oasis.opendocument.text

odt

Text document

application/
 vnd.oasis.opendocument.text-template

ott

Text document used as template

application/vnd.oasis.opendocument.graphics

odg

Graphics document (Drawing)

application/
 vnd.oasis.opendocument.graphics-template

otg

Drawing document used as template

application/vnd.oasis.opendocument.presentation

odp

Presentation document

application/
 vnd.oasis.opendocument.presentation-template

otp

Presentation document used as template

application/vnd.oasis.opendocument.spreadsheet

ods

Spreadsheet document

application/
 vnd.oasis.opendocument.spreadsheet-template

ots

Spreadsheet document used as template

application/vnd.oasis.opendocument.chart

odc

Chart document

application/
 vnd.oasis.opendocument.chart-template

otc

Chart document used as template

application/vnd.oasis.opendocument.image

(deprecated)

odi

Image document

application/
 vnd.oasis.opendocument.image-template

(deprecated)

oti

Image document used as template

application/vnd.oasis.opendocument.formula

odf

Formula document

application/
 vnd.oasis.opendocument.formula-template

otf

Formula document used as template

application/vnd.oasis.opendocument.text-master

odm

Global Text document. See section 19.812.

application/vnd.oasis.opendocument.text-master-template

otm

Global text document used as template

application/vnd.oasis.opendocument.text-web

oth

Text document used as template for HTML documents

The following table contains a list of MIME types and file name extensions for office documents that conform to this specification where a registration according to [RFC6838] is in progress at the time this specification is published.

Please check [MIMETYPES] before using these MIME types. If a MIME type is not listed there, the MIME type that is the result of inserting "x-" behind the "/" (U+002F, SOLIDUS) character (application/x-vnd.oasis.opendocument.text) should be used.

Table 26 - Recommended MIME types

MIME type

Ext.

Description

application/vnd.oasis.opendocument.base

odb

Database front end document

  1. Appendix DAccessibility Guidelines (Non Normative) 

    1. Appendix D.1Title, Description and Caption of Graphical Elements 

OpenDocument provides conventions to support accessible names, descriptions and captions for graphical elements.

Accessible names, if available, are represented by the <svg:title> 10.3.17 element.  If the <svg:title> element is not available, any text referenced by a draw:caption-id 19.115 attribute is used as the title.

When transforming from another document format to OpenDocument the short names, like HTML's alt text on the <img> elements shall be mapped to the <svg:title> element.

User agents shall not manufacture names for the <svg:title> element, such as using the drawing object name followed by a cardinal number in a string as it is used for accessibility. Such name assignments provide no semantic meaning to the user.

Accessible descriptions, if available, are represented by the <svg:desc> 10.3.18 element.

If a user agent supports relationships between graphic elements and their captions, the value of the draw:caption-id attribute for a graphical element should be used to for that relationship. 19.115

      1. Appendix D.1.1Guidance for authors 

Authors should not assign names to objects having no semantic value. If no name is assigned the caption text will be used in its place. The <svg:title> element shall take precedence over the caption text for accessible name assignment by the user agent.

Assignment of the long description should only be necessary when a drawing object is significantly complex and the user needs more information to describe it. Long descriptions would be more applicable to drawing groupings than basic drawing shapes.

      1. Appendix D.1.2Authoring tool responsibility for presenting and prompting for the <svg:title> and <svg:desc> elements 

Authoring tools should provide an option from an objects context menu to allow the user to enter the text for either of these elements as a minimum. More proactive authoring tools should have a facility for prompting the author for this text. Since the <svg:desc> element is a long description, a text area vs. a text field should be used to prompt the user accordingly in GUI-based authoring tools like office applications.

Navigation tools used to list the objects in the view should provide the type of object followed by the contents of <svg:title> element.

For <draw:g> 10.3.15 elements the drawing objects which are members of the group should visible only when the group is expanded.

    1. Appendix D.2Hyperlink Titles 

When transforming from another document format to OpenDocument the alt text of hyperlinks, shall be mapped to the office:title attribute of <text:a> 6.1.8 elements or <draw:a> 10.4.12 elements. When exporting OpenDocument documents to HTML, the contents of title text should be mapped to title attribute text on HTML anchor tags. As a minimum, authoring tools should provide a mechanism to provide the hint text.

The title text should be made accessible to the assistive technology and user. The user agent should allow for programmatic access through standard accessibility APIs such as the accessible description. Users should experience visible access to the hint text via the keyboard or mouse.

    1. Appendix D.3Tables in Presentations 

Users importing non-OpenDocument slides that contain tables need access to the table structure via their assistive technology. Therefore tables imported into an OpenDocument application from another file format must have their structure preserved, and when saved as OpenDocument should be saved as as embedded spreadsheets.

    1. Appendix D.4Further Guidelines 

Additional, non-normative Accessibility Guidelines are available at: https://docs.oasis-open.org/office/office-accessibility/v1.0/ODF_Accessibility_Guidelines-v1.0.html. That more comprehensive document will be the up-to-date set of recommendations for what all OpenDocument applications should do in order to fully support accessibility.

  1. Appendix EBidirectional (BiDi) Scripts, Numeric Digits Presentation and Calendars (Non Normative) 

This appendix specifies how bidirectional (BiDi) scripts and related information are represented in OpenDocument.

    1. Appendix E.1Paragraph and Layout Direction 

In OpenDocument, the direction of text runs inside a paragraph is calculated using the Unicode BiDi Algorithm. See [UAX9]. The paragraph direction, as required by the BiDi Algorithm (see BD5 of [UAX9]), and the display direction of layout objects like table or page columns (in the following called layout direction) is controlled by a writing mode attribute (style:writing-mode) that can be used within styles.

The writing mode attribute can be applied individually to paragraph styles, page styles, section styles, table styles, table cell styles, graphic styles and chart styles. If present within a paragraph style, it controls the paragraph direction of those paragraphs, to which the style is applied. If present within a page style, section style, table style, table cell style, graphic style or chart style, it controls the layout direction of those pages, text sections, tables, table cells, text-boxes and chart objects to which the styles is applied.

Section 20.404 specifies the style:writing-mode attribute for page styles. It may, among other values, take the values lr-tb (left-to-right, top-to-bottom) and rl-tb (right-to-left, top-to-bottom). The writing-mode attribute of a page style specifies the layout direction of page columns (left-to-right or right-to-left) for pages that are formatted using the page style.

Section 20.404 specifies the style:writing-mode attribute for paragraph styles. It specifies the paragraph direction as defined in BD5 of [UAX9] for all paragraphs that have the paragraph style assigned. For paragraphs that are contained in lists, it further specifies whether the list numbers and bullets are displayed on the left or on the right of the paragraph.

The writing mode attribute for paragraph styles takes the same values as the writing mode attribute for page styles, but may also take the value page. This value specifies that the paragraph direction is inherited from the layout direction of the closest layout object (section, table or text-box) in which the paragraph is contained, and which has a layout direction other than page. If the paragraph is not contained in any of these layout objects, the paragraph direction is inherited from the page on which the paragraph appears.

The paragraph direction specifies the default bidirectional orientation of the text in that paragraph. The result of the BiDi Algorithm can be manually changed by inserting BiDi embedding control characters (U+202A ... U+202E) and implicit directional marks (U+200E ...U+200F) into the text. See [UTR20].

OpenDocument further has a style:writing-mode-automatic attribute (described in section 20.405) that specifies that a consumer is allowed to recalculate the value of the paragraph's writing-mode attribute based on its content whenever the content changes.

Section 20.404 specifies the style:writing-mode attribute for section styles. It may take the same values as the writing mode attribute for paragraph styles.

The writing-mode attribute of a section style specifies the layout direction of section columns (left-to-right or right-to-left) for text sections that have the section style assigned. If the attribute value is page the layout direction is inherited from the layout direction of the closest layout object (section, table, table-cell or text-box) in which the section is contained, and which has a layout direction other than page.

Section 20.404 specifies the style:writing-mode attribute for table styles. It may take the same values as the writing mode attribute for paragraph styles.

The writing-mode attribute of a table style specifies the layout direction of table cells (left-to-right or right-to-left) for tables that have the table style assigned. If the attribute value is page the layout direction is inherited from the layout direction of the closest layout object (section, table, table-cell or text-box) in which the table is contained, and which has a layout direction other than page.

Section 20.404 specifies the style:writing-mode attribute for table cell styles. It may take the same values as the writing mode attribute for paragraph styles.

The writing-mode attribute of a table cell style specifies the layout direction of table cells (left-to-right or right-to-left) that have the table style assigned. If the attribute value is page the layout direction is inherited from the layout direction of the closest layout object (table, section or text-box) in which the table is contained, and which has a layout direction other than page.

Section 20.404 specifies the style:writing-mode attribute for graphic styles. It may take the same values as the writing mode attribute for paragraph styles.

The writing-mode attribute of a graphic style specifies the layout direction of columns (left-to-right or right-to-left) for text-boxes that have the graphic style assigned. If the attribute value is page the layout direction for text-boxes that are anchored to a page is inherited from the layout direction of the page on which the text-box is displayed. For text-boxes that have a different anchor type, the layout direction is inherited from the paragraph direction of the paragraph that contains the text-box.

The writing mode for chart styles is described by the same attribute as for paragraph styles. See 20.404.

    1. Appendix E.2Numeric Digits Presentation and Calendars 

All digits that have a Unicode code point can be included in an OpenDocument document.

Note 1:  office application have a feature that allows the user to specify whether the ASCII digits U+0030 ... U+0039 should be displayed as Latin-Indic digits or as Arabic-Indic digits (U+0660 ... U+0669). Since this feature effects only what digits are displayed and does not influence the representation of digits in the document itself, OpenDocument only allows storing this setting as an implementation-dependent setting, not as document or style content.

For list numbers, that are calculated automatically, OpenDocument provides a generic mechanism to specify the applicable numbering systems. See 19.504.

Note 2: The specification currently mentions only "1, 2, 3...", "I, II, III...", and "i, ii, iii" explicitly, but the schema also allows a generic string value.

OpenDocument further supports data styles, which describe how different types of data are displayed, for example, a number or a date. Data styles are described in section 16.29. The presentation of numeric digits can be controlled by the transliteration attributes described in sections 19.365-19.368. The presentation of date information can be controlled by the number:calendar attribute specified in section 19.348.

The text:space-before attribute is usable with the following element: <style:list-level-properties> 17.19.

The text:space-before attribute has the data type length 18.3.18.

  1. Appendix FRecommended Usage of SMIL 

The following sections describe the usage of SMIL animation elements that enables an office application to present the animation elements in a simple and easy to use UI to the user. This UI may contain a single main sequence of effects, and in addition to this, multiple sequences of effects that are started as interactions on drawing shapes. An effect is a combination of one or more animation elements that animate a single shape and or a shape's paragraphs.

In user interfaces, effects should be creatable by using presets that have localized and meaningful names. This way, the user will not work on a hierarchy of SMIL animation elements, but on one dimensional lists of effects, which are much easier to handle for the office application users.

    1. Appendix F.1Slide Animation 

Each <draw:page> 10.2.4 element may have an <anim:par> 15.4.2 element that defines the animation of that page during a running slideshow. This <anim:par> element should contain one <anim:seq> 15.4.3 element which is the main sequence for shape effects and zero or more <anim:seq> elements that define interactive sequences for shapes that contain animation interactions. The animation elements are executed after the slide has executed its initial transition.

The <anim:par> element may further contain an <anim:par> element that defines the slide transition. Its smil:begin 19.441 attribute shall have the value <id>.begin, where <id> is the id of the slide's <draw:page> element itself. This <anim:par> element can contain basic animation elements as defined in chapter 15. These elements shall specify the <draw:page> element itself as target. If such an <anim:par> element for slide transitions is present, it overrides the following presentation page formatting properties:

  • <presentation:sound>. See 10.8.2. 

  • presentation:transition-speed. See 20.238. 

  • presentation:transition-style. See 20.239. 

  • presentation:transition-type. See 20.240. 

For backward compatibility reasons, producers that use an <anim:par> element to define the slide transition should also add the above presentation page formatting properties. This also enables consumers without SMIL support to display the slide transitions.

Example: The following example defines a slide wipe transition.

<draw:page draw:id="id1">

 <anim:par presentation:node-type="timing-root">

  <anim:par smil:begin="id1.begin">

   <anim:transitionFilter smil:dur="2s" smil:targetElement="id1"

    smil:type="slideWipe" smil:subtype="fromBottom"

    smil:direction="reverse"/>

  </anim:par>

 </anim:par>

</draw:page>

    1. Appendix F.2Main Sequence 

The main sequence is a <anim:seq> 15.4.3 element which contains the effects that should start after the slide has executed its initial transition. Since this is a sequential container, its child nodes are executed one after each other. If a child node's smil:begin 19.441 attribute has the value indefinite execution is stalled until the user advances the slideshow by a mouse or key interaction.

The first level of child nodes in the main sequence should be <anim:par> 15.4.2 elements that group animation elements that are started with the same user interaction. The second level of child nodes should be <anim:par> elements that group animations elements that start at the same time. The third level of child nodes should be <anim:par> elements that group the animation elements for a single effect.

Example: The following example shows a main sequence with the effects A, B, C and D. Effect A is started on user interaction, effect B is started simultaneously with A. Effect C is started 4 seconds after the effects A and B. Effect D is started on the next user interaction:

<amin:par> <!-- timing root-->

 <anim:seq> <!-- main sequence-->

  <anim:par smil:begin="indefinite">

   <!-- first user interaction -->

   <anim:par smil:begin="0s" smil:dur="4s">

    <!-- first group of effects to execute -->

    <anim:par> <!-- effect a -->

     <!-- nodes for effect a-->

    </anim:par>

    <anim:par> <!-- effect b -->

     <!-- nodes for effect b-->

    </anim:par>

   </anim:par>

   <anim:par smil:begin="4s">

    <!-- second group of effects to execute -->

    <anim:par> <!-- effect c -->

     <!-- nodes for effect c--> 

    </anim:par>

   </anim:par>

  </anim:par>

  <anim:par> 

   <!-- second user interaction-->

   <anim:par smil:begin="indefinite">

    <!-- first group of effects to execute -->

    <anim:par> <!-- effect d -->

     <!--- nodes for effect d-->

    </anim:par>

   </anim:par>

  </anim:par>

 </anim:seq>

</anim:par>

    1. Appendix F.3Interactive Sequence 

An interactive sequence is a <anim:seq> 15.4.3 element that should have the same structure as a main sequence. The only difference is that the <anim:par> 15.4.2 element in the first level has a smil:begin 15.4.3 attribute with a value like [shape-id].click, where [shape-id] identifies a drawing shapes by its draw:id 19.187 attribute. These animation elements are triggered when the user interacts with the element defined by [shape-id].

The text:space-before attribute is usable with the following element: <style:list-level-properties> 17.19.

The text:space-before attribute has the data type length 18.3.18.

  1. Appendix GChanges From ODF 1.2 (Non Normative) 

The OpenDocument specification has been divided into four parts and has been restructured.

This appendix describes changes that are related to Part 3 of this specification.

 

The following descriptions are new:

Change Tracking General 5.5.1 Office-3873

 

The following descriptions have changed:

Document Fields – General 7.3.1 Office-3783

Drawing Page Style 16.41 Office-3937

Foreign elements and attributes 3.17 Office-3950 , Office-4034

List Item Style Rules 5.3.5 Office-3782

Normative References 1.3 Office-3868

Open Document Drawing Document 2.2.5 Office-3744

Open Document Drawing Document 2.2.5 Office-3746

OpenDocument Text Document 2.2.3 Office-2580

Styles General 3.15.1 Office-3697

White Space Characters 6.1.2 Office-2102

White Space Processing and EOL Handling 3.18 Office-2102

 

The following elements are new:

<chart:coordinate-region> 11.3 Office-3928

<meta:creator-initials> 14.4 Office-3776

<number:fill-character> 16.29.5 Office-3765

<style:footer-first> 16.13 Office-3789

<style:header-first> 16.11 Office-3789

<text:drop-down> 7.4.16 Office-3881

<text:label> 7.4.17 Office-3881

 

The following elements have changed:

<chart:legend> 11.4 Office-3883

<config:config-item-set> 3.10.2 Office-3684

<draw:applet> 10.4.7 Office-2044

<draw:fill-image> 16.42.6 Office-3933

<draw:image> 10.4.4 Office-3922

<dr3d:scene> 10.5.2 Office-3932

<number:date-style> 16.29.11 Office-1832

<number:fill-character> 16.29.1 Office-3765

<number:fraction> 16.29.7 Office-3695

<number:number> 16.29.3 Office-3860

<number:scientific-number> 16.29.6 Office-3860

<office:automatic-styles> 3.15.3 Office-3683

<style:default-page-layout> 16.8 Office-3696

<style:drawing-page-properties> 17.25 Office-3937

<style:master-page> 16.9 Office-3679

<style:style> 16.2 Office-3935

<style:tab-stops> 17.7 Office-3845

<style:text-properties> 16.29.29 Office-3895

<table:covered-table-cells> 9.1.5 Office-3877

<table:source-cell-range> 9.6.5 Office-3665

<table:table-columns> 9.1.12 Office-3839

<table:table-rows> 9.1.8 Office-3838

<text:numbered-paragraph> 5.3.6 Office-1437

<text:sheet-name> 7.3.11 Office-3698

 

The following attributes are new:

chart:data-label-series 20.9 Office-2117, Office-3956

chart:regression-force-intercept 20.44 Office-3958

chart:regression-intercept-value 20.45 Office-3958

chart:regression-max-degree 20.46 Office-3958

chart:regression-moving-type 20.47 Office-3959

chart:regression-name 20.48 Office-3958

chart:regression-period 20.49 Office-3959

number:exponent-interval 19.347 Office-1828

number:forced-exponent-sign 19.349 Office-3860

number:max-denominator-value 19.352 of <number:fraction> 16.29.7 Office-3695

number:min-decimal-places 19.356 of <number:number> 19.343.2 , <number:scientific-number> 19.356.3, Office-3860

style:contextual-spacing 20.255 Office-3767

style:scale-to-X 20.354 Office-3857

style:scale-to-Y 20.355 Office-3857

table:tab-color 19.731 of <style:table-properties> 17.15 Office-2173

text:current-selected 19.790 Office-3881

 

The following attributes changed

chart:interpolation 20.27 Office-3692

chart:regression-type 20.50 Office-3958, Office-3959

dr3d:transform 19.107 Office-3848

draw:color-inversion 20.110 Office-3827

draw:concave 19.123 Office-3849

draw:corners 19.128 Office-3849

draw:enhanced-path 19.145 Office-3711

draw:formula 19.171 Office-3822

draw:formula 19.171 Office-3823

draw:formula 19.171 Office-3826

draw:formula 19.171 Office-3778

draw:gradient-step-count 20.137 Office-3934

draw:handle-position 19.179 Office-3778

draw:mime-type 19.191 Office-3943

draw:sharpness 19.211 Office-3849

draw:style 19.218.5 of <draw:stroke-dash> 16.42.9 Office-3742

draw:style 19.218.2 of <draw:gradient> 16.42.1 Office-3718

draw:style 19.219.27 of <style:master-page> 16.9 Office-3937

draw:transform 19.228 Office-3755

draw:z-index 19.231 Office-2122

fo:background-color 20.182 Office-3927

fo:keep-with-next 20.201 Office-3924

fo:min-height 19.240 of <draw:text-box> 10.4.3 Office-3735

fo:text-align 20.223.1 of <style:paragraph-properties> 17.6 Office-3820

number:grouping 19.350 Office-3888

number:style 19.362.9 of <number:seconds> 16.29.22 Office-3752

office:value-type 19.389 Office-3555

presentation:display-date-time 20.233 Office-3931

presentation:display-page-number 20.236 Office-3931

presentation:source 19.420 Office-4013

smil:accelerate 19.436 Office-3726

smil:accumulate 19.437 Office-3725

smil:additive 19.438 Office-3725

smil:attributeName 19.439 Office-2523

style:class 19.470 Office-3863

style:condition 19.472 of <style-map> 16.3 Office-3882

style:page-number 20.328 of <style:paragraph-properties> 17.6 and <style:table-properties> 17.15 Office-3923

style:run-through 20.351 Office-2122

style:scale-to 20.352 Office-3857

style:scale-to-pages 20.353 Office-3857

style:text-line-through-text 20.374 Office-3722

style:text-line-through-text 20.374 Office-3723

svg:height 19.543.2 of <chart:legend> 11.4 Office-3883

svg:height 19.543.5 of <dr3d:scene> 10.5.2 Office-3932

svg:stroke-linecap 20.171 Office-3742

svg:viewBox 19.574 Office-3996

svg:width 19.575.4 of <chart:legend> 11.4 Office-3883

svg:width 19.575.7 of <dr3d:scene> 10.5.2 Office-3932

svg:x 19.577.5 of <dr3d:scene> 10.5.2 Office-3932

svg:y 19.581.5 of <dr3d:scene> 10.5.2 Office-3932

table:name 19.677.11 of <table:operation> 9.3.3 Office-3728

table:condition 19.600 of <table:content-validation> 9.4.5 Office-3882

table:display 19.621 Office-3754

table:display 19.621 Office-4019

table:end-cell-address 19.631 of <dr3d:scene> 10.5.2, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:annotation> 14.1. Office-2697

table:expression 19.639 of <table:named-expression> 9.4.13 Office-3882

table:number-rows-spanned 19.682 of <table:table-cell> 9.1.4 Office-3876

table:orientation 19.690.2 of <table:data-pilot-field> 9.6.7 Office-3729

table:style-name 19.730.2 of <table:background> 16.22 Office-3925

table:table-background 19.733 Office-3954

text:anchor-type 19.759 Office-3945

text:anchor-type 20.418 Office-3945

text:display 19.802.3 of <text:expression> 7.4.14 Office-3929

text:list-id 19.835 Office-1437

text:relative-tab-stop-position 19.861 Office-3946

text:start-value 19.874.6 of <text:numbered-paragraph> 5.3.6 Office-1437

text:style-name 19.880.18 of <text:index-source-style> 8.11 Office-3675

text:style-name 19.880.25 of <text:numbered-paragraph> 5.3.6 Office-1437

text:name 19.841 Office-3881

text:value 19.906 Office-3881

text:track-changes 19.889 Office-3763

 

Removed elements, attributes and values

The deprecated attribute 'office:process-content' (19.377 in ODF 1.2.) has been removed. Office-4034

 

Deprecated MIME Types

odi Table 25 - Registered MIME types Office-2002

oti Table 25 - Registered MIME types Office-2002

 

Declared Namespace Change

urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0

\ No newline at end of file diff --git a/odfdom/src/main/resources/OdfChartDocument.odc b/odfdom/src/main/resources/OdfChartDocument.odc index 0860e0b24c5ae212374fd0d1b02b6273354a0b27..1eac6939c3f0586cd76bd3f4601e825bfa9c9a9e 100644 GIT binary patch delta 1985 zcmY+Fdo(DRwm`Vv4e(-~M*n=kw3!e4cZj&+|U#ecrEm=_P5v2`wTj0f7M7 zfP)Z_?S_B?0Hm`q&ow*G2&@>T)@YeKcJAps=AD|0aGrI$xS{nkQu^rC5;)kg1vec( z2@5JOj}3N^^5nukB5~#(zKH#9J%)FGFU%X%o3j8(`H>* zOPHZEP<7;MK~X(Nkl^h6u73Xr%lV83w*9LArmShss}we>W3&7-)Cmm*%4UARc0nKz zrVs?OtxpC52vju+R0$scDL`<;`-l7KMdL5zxp{|-o5;jHZ)j%wc&hxm*@(@^2b-72 zM2+(gThG?a|^gdAia<3s;ZWos^@fb8YKF*M{;HT5(Jm=aMlqX)VxSr7q$fp%_8AV1a z1=rJZ5cD8#SndF>wAX{GS`>Xqp;x26ba|2i#LU~>t+FB;yA12a(LUuwRi%z-KXN(c zT;?WLN*QWLFWvDDrkfpf#2Pyo1s?FB^DZK;*&Aa_$0RPqn;F)eG_g`m2k8w~%&E8R zt=JgEbglCS>dl>rw`aZSPFpt}^&>&OOwaYoI%6KQ!NSz@b4&d9t?_w>Yv%y?jOJ29 zXsczpPDXP5$9;ePakqbgU{WaO%4Ok)0yZ%+?W2it6*_V1gz*+#%IF%y0{Dai!VOk; zb`b|(H2*;>?~ZISHw~BvGg@}{E%C(L8eg9XxPe+cyjHCdxNok1+$n0eqX@NQmN<>N zJ;7^@e;AfqQ|L-qgeg8Ri^b<@`y_rC31qn{O0q&tFMbJ`k(^2D9iwI<=t(x;#rM@l zC|NoIPn{?m?Qor-^gkKpKj4fflBZX%yz-TOA@#5xtN0ns88bN!s=loA44ax=4$hzK zfO?kiP?r|2EOSXLdqb?J1xdiJk0{^q!o`g5gkWq!VtLKQAcJ^cGxbT*`BQUk(vjAH zAJzGjSdB#|LVf_QgZ$aO!6X%l8@Lx!!ouHwzJJQYNooOWQojETnruS=VLkWGohIkb z`fyTY4v#9^G+zZf#>sn_#C>g-uDnv4-kAES>1@o6N5Wc@jp?m09dyD~O5#!dLh1Dz z9G0c+`mFC!ny%`h6?=A+jr@+sN54l_vkG<&H!%%p{DfSuTT$7P#z3im0`m$J3@Wo{ zbCf-76V3+Trus@D?7bagD_Id0_CAGYj`(KYf9E#mT7d&ya(|IWY8zcmy4a=~py2 zGQ2ht2Z15{u6Kzb9H$t<8lnM3ifdTt!WKy;VR?M|Y3-tJJqg8S2Q}K{u^(To%`#u* zuC&M7rhM+FoIlMHolcf2VKdI5VxryMW8{2^pf*tZW0_~9`5_MnSj1Cl2lMIFfS%Q( zQ^MJ;`Giy?R*aNgQuCowx;z@CH1P;$pv*BFq+s$-o={rsNk3;E{+^+suugQ9#AOv2 z>E;5|?z&zH4cf%=j2E@!bz``0zydH{G)vP;I_SuuCB$(FFKSTNE-RdF;~b&fwd)64 zjy>7k7itiUZ5`=%75?E2OYbQXcrG2EIr!kH<4zNUE;nh~a%olpmm8 zY?+A0yFZrtA6KViwNqoc|e%G!lUsg^?Ym#)S=F zL(*m~f)mZ<&p=h;Fv97C%i_)!6<}{=bDCfivcB0n)~$NpoZ}3M8(*TWkOR-0RCC3E zKaqDF9P4o5EGZ$OArJkZEWYqdxfFooM|n)adDzn9zQyzfem%WIHe$J<%GMhG;5_Mp zJM;N7iR&j7ihEnCy0bp!_}|uo@9ps0*t_ipoxY*4AptZ*q1$c%goGs^+iWDYLXCw0 z5)Wzu`QA!_l_KzWs08V*eIh>_3Kc ULW}L#Zi)%cUcta-!GaLTU$nNEQvd(} delta 1955 zcmZvdc{J4f8^^zcVVcRk)Ck#^Y|&W9lCq7FJ4s~>vddaCmP^z~-(QJr*>^>xL1ZRN z7|Y;_kP$-3l3m15U8Zb5?(hD7-9LWMIiGW$^PKZJ&+|UdbKb9I{yBcwc^oGf8~}hM zm<0q#BIxh{FhDx)j6qVG2B>iyspZjeAd}O!1d((|{>mua*8qAz!T1cVa+bBhnDq>e zF|yD^=DlmRY~(imd~yD}%cLKp6ip-9SYXyq38>W=_k=pEJc|f$Nujabgk%I{n1yFY zk7;Aw)OyK**XSX!0OQd}8d+%l^m#4L$gd{j2~v3BS#KkhLXutrnD#)!uK7WDh=PW- z<>=tB_n+z)mg99`3x1;xZgpkMj)pY>z38Sm#uWC@7T?H1hI7^Kc^nTcIu2LRyeFw0 z0s#B+kb9E;BWkbszkuy!B#$816W2+^G=i(&V;#P2CRHfF`BDkj8Nx`aMFrSJ5+PNQ zDwMtvHv1s=Y!PU$oaC)dksMhZ{aKs2wbJJe&vw5#VY$2w4+sjcB*%Ws%X1r%S|oj0 zKabwq*(y?>=f%VjYm}c{kn5)xI)ok@#)Y?953=!xgi_nrZiPpsMPNx ztJGzApkzO-y#lVMOd^^Uno+L$N#8k9mNpP|- zcHOtSCAhBcb;Xo2VL&t7(|z_RcgriY!Sjx+h`u@MVNQ9EjU!SGV58V(Lah%dF2TGm z`nG9Mm{_Cdlp&(D+bgROR*N(vZuY-KFS3iO31GRFn>LltEA3#u>4U=Uk2SsWLB~p3 zy@&3G1qSPmy;e#qTU;JJ64rvU>&ve@JD9 z7*6sETs=djL$k)+Nhy`(#f4e24%GL)lCv97RAizCmU5O;^_N z^K9F(-pjD(eO!HQ;v5FTbXCctqC9$EF~qE3%DIj&66ZUuZ?dv3ip^&U;uRCWO=O!R zg93qzu2Lmxe8@tGOv$I{Wlf5&Y*+VJ5&yR(;P6=d*3bf8Ah#M}m%`fwW^*lzZ^*Zh!c1L*wo62L?<~ zQ)i^)YTkQU+++O3rE;-J5o}u3Y9O z%yw2p$4zQF>bac?sil%-t_nLHKW$U^b*GI{YqeF=g!S5m?7IYOre$)069BsR-0%Op zL`oYJ30ik2e~{#BVA&MEvTIN1&b}1tr|aR@$s=iq7T{7cOy6K>7^7nymY#N+s%wm$ zn!b(oV+}L$g0tbl>xSr3t&&uMb5}z35)ByO5Orpo{bg>1fOuJW*rbS97E#GRKB(dZ zBbq~#(W<`JLL|d$UavjktZcBlZQ9~M{p=V8hPmG0f~M5C91*lwz1)QBCnQ|$ zapWc1%vIHEOD+@j;^?PpR}`oF>`%GkRyuJ$Uuf+C4)^Od%a_TGk5#oYeZ%^$Yz25V zgXX%R*}Kmh)Nh>0pVronPg~EtTahEae<()Be&5wSAa(1+z3EHJW7TD=y+jp#ZQn-d`=tQDCPo`F~Hr!{W&Et-7|LR#%Pqkkuwhv*3V%pHet+xdbb#p zJ9Ss3Zn#r-GTQ1z&^fPF-QWp2{A@*$BAAnp{lMtWw@Mdve!95B`_Uw5z(ZwGbJDQe zeR^iTYA2>J_Qo$p{!NsDO8PchznPIO$h$EU-?K1YYa2+_=~1tGQ?care9@0Kken!k*hyNmGzY7xhiK2f_fcW`kFDp*zgo$%M-~53^0`B44u-Ubayj|q@?uFC81Ix4Fb}j(t6=N z&pqmU^mm{0=Uwy6%-Z|e>+{XM_FC(+HC52iaR2};06-d%tdold?BN6e05{+3Qve5B z2dJx;GZfP6>gWozhC!TdY%SoLzX4uj z{I^hDYY&|qt!%B`VE;hD`FXBQ-OM2{p1)h&`Gb`+%*h%Cg~R`|CC#5Kot)jAZyNm% zE&i#Wu1-$&|NGY9t`JwZ|3@$H{h^n(4iIZ7oJZEy)dAuR|6g|1%H9d$3jI%0`lpGx z8K5)75o-S*TKm&dKrAev_R#C~bo#Fr$pBbbSpV#$>v8?JT<R*zX#f z!snWZ1I7?bnR%h|#4p{oMYC_n*!kg92_G%Vv{TU-0+k%QjsMgpzl#nE!Lg z&x;Ls+jqIy-Z-B7Ey%!(%=q`igOQ~?Qcw1%9mU^1%sCa72od{?yb#B}KewQ)I)Z?BoP$NZ6VWl;u7laOtwl;*_pNdL_7VxhH zNv<9&KZr$PDdXDYe-XoxRi?ke6r-X)TO9630h#%Dae`IpKmLFp6)sFAU_)D;$!>Y# zVy0hE#K-o$u`5|Rie?ONqkc_u`)U0to{y7>m-mZwNW;j8H2M{lywWJ!!jmnWu$93v z-;ucm!yrI+idUPJ8MsPh*IifraDz7#oo|}X6B``P_)yRs!<$ggw8Xip!{ZBKgjc=h z=mp-}R!~ew5Z*?>+)83}e`;lfCf+y2hGknio%T_7BU*K?{YJ7H2TXg0oKJoneEXUp z=NRkv7k4jFwTdGQeKnXD6jWWV-qXae@;CCBAuGWQG4yw+6L=!z==T|oymFJo*E{VG z@8ac5Uk%ZfbZ35)##K9|h^)Y%ljnNuy^^TCYMsQyyEn*EFJ^fG#)`1D@FAs0CmnGo zlN#xXWvJPFf)#)2a-NseC8&@jLyU(JP$QoFNLqZOkPwqE>tzW$3*X`(Z;n6dgYQ_F z0hdW+nr^XLIm~9eb6h!ci>NqUmzbbAtZW0~ieFyq%S(#0_T-4_~l7Lq2ttBs%!u zGe4e&%&JD8nabCz_d_{6tHVtrIjj((&PU_lJkppvbr99v6QB*M7*=L+4F%ol;ECg{ zOD`1uv=(n7DlPX32EHK>VPjhjHLt;3u8~}JnkDCFP>lk6v+fu(ohf}yy{`&ZE?2wJ zLH3D8+LpiphKcAw7~1S;Or;0P6P3%SBET-Bh_zhQG9FpvP~2vyY=t=9jC~+O`x~Ll zvNvN`bNr-HGeJG!gX~DtWtO67V867+kLT%A>SS5VndB`=u>xKaOZSS*yo>ON=;Yyj zBuxHg$1*Z5IVd@UGJHJ=?&!WyfsK9LjS4oLuaSuDxgLQ799R zgfh;iqF#-k*$fUWrkxKaI#g<-(sURs_GIO@?iA57Lve`OmzIDXqbchR#<<50-Xg8O zcyBlrz%yk?!QDC8NAF8B4o+fQERMSkQST{xn3+p=Yl;`;1INGRg?$-|9l}3n_BT5V z-=!pR{Iq6^r}%OE6E}yZvj=3l3p>iE0kcALBoRN@W|k9P9(bx1!;BWhQy8=7$+u?g zu|+IkLHnp^R~%15P{)IEqOwT9<4Ga1vQUFXOE57eCos+0#_toYZwTF;V?M4fvPVP5 z6wo^KQ8vU55mp8dS5%K1ig~<)tV`=`X@q?4t|eUY3R71pwF$^r&Jy0g*IQ18TpC}B?l>;)`oxE+2^XAy0NPVat}Uy2S=Z8 zt~Cs;rq5ZaTb1dr$xvv1OBLgq;^+i1JYvw#2B~k{3Ezys9l{i{)_BGgl8+no?5s;y zshtcVr0SaOaH!`+=C+~TXH z%OEqE;ouBGvxy;^DP=c&h5D|rVp-_Js>jViax)Z0R=9N0uKg-lszh1rL5UJ`xq{vA zq#z*O2wGA?P6d-?5A2m7avGx9T2mY$M$ zpL~khwp<3D)x#&A?B6_{V%^q%G~U0f-wexn1s=uoJvNx2|%0MQi_Lz#Z z&QK0>Zu!bn2s0YR|Gu3QfjPL@v#T9Hu3omjo)knn&}Lp3yGXIB&gYil-S8_!~V9fFnyB(b*(x5-#t4DDUNLJaMbM&97RLLpF2QKzy0 zOfYP;z%F6`vW(>Ai?VeC>a%ZeVClK;C=Vy^Oyw;*OQ79>U8ZKaR* z*^?eC-Crh6dr_HHj?xYF!jMP;^oOqLrdL03WLq$mcH?Uz$RN{t!0@PutRi+M;kqH2!yz6pXmYoIGq+!*FqC+OUoveSK@NfuX`YwXWCx$xLV2?U55U1qK9hQYt}jvq-j#hm6I0mUv6#zsl+ zyzgFLl$LkkNviEV3_oTGsQ|xV%TUd6eVnnz#U!hd`BHSN+GkWTOMrwmW?qcZD?->|ny@ANA0_CNuOQ)uC%9NE?>rZpmMz(Q z6(HoDka2=~ptVQzhuU@BoO{A219Rt-|LgDtt#;ZZ%iN{qfGGq0U z-MSV5SSDfC8bC-T^H%W>Xp&oWv~qO!pCr1l8?aX^0Hak(vEarrAm#SS%H8!-J-P2UT#0p$@#BIa{0KPc@05>_?pTqs@ z3jh{Qj;=R(;dQ*JC_7LXRMZ*l=6@Lnzwi-kK$~K5x4ez| z!@qwNEu7@@!#P}{F%f}9iMu5pEex>@szZRpGC;vB?3;d)wFd)!cXNDMMx#Tz0rQ2!gR|;F z!Ecv`qKEEAk@UcWszEkl%`TLzm3d67m59$5<^*IO79k8DA32NZ}@;ith$O@xHsX& z(m@Tf3I~4`oSmJj?9!ct$!fifzEPwSJw*z)JA+U>cZj9)=Q<2YyTuwxv`|YnO3t&w!R7NiMY)<)c*%)s=O1EH{dp2jZJVb60cf#p?#@Bbyv75IWk0-5>TPMK|4wt9% zwtjhkp)L8ocXm%BrIt_nR7FX=M-s9=!!oTpgg@a)9O#|*<$Wb>DMOmtQ^X3@Tl~z* zTheqF-LI?cmA7hpnhE=<*QXJ z-FyBLE%?i19mt)h*k;8iAF5ZbY~;p*x?3o4^QX$mZpp4Z_f zFpZ{kEPk}+p*4uPpQ{FV(_#r;nT#JJO)*5MD4mRIUEC`XHjgcM;ip*fdf=+;!JPHM zu6ow%9*Z?~Tu*k3p+g(X4!tmu*S4QSOwK;X*okBIOh}c@{kXZcoQUi&8PEWLMEw7{ zwSHD*`V5)wQKJ9=H{YA$gtm>FgSjKb)*jB|`hQiRv!ivSrn&+?4$V!njjyB#0s{aj zb^rh>0P7kRkQF%PeEo;5sj4mawI&4T{!sqn6^f+Dxu!LJHE-S?xj7d8e*++L>B4`PgGxw$4T_qFHF-L)C197o=uYbD+jg z8<;!u><5p>7}dH4&jsS$*76t8kA`AWQjOh+;fk0gMsanY>fXJ{;4>03NmlVX4RQ9D z`{hGmTBt2Ft&Lg1Q&O4wm2Lw=mbYzhS{vs^1YXC=zQxPKEwiop;zur9OAN1iS8_=v zm#7if%VtHr?HA{5x!Tkf86*SJr&CAyITxpKFb5%J*2!aBpGTva z>mHCI3lt9P$YF|0M-cTzQCIh>GeUOhZodtG=R-6YcF zX;poRAF7N}8op%%yo+gZw<~6rkDBClN%TD+d)uM%*b0N=MvEq9nCfc|nxV@bFhQjBYwA7!Qy$S~ZkNOCYHw60 z)A*>bdU=jm9@M2QnF(IYfsR3U0&JD|_f~H~2OWoL?oB`UP9nvBfc%tC-_n$qi6IE= z)hSzt3BM60eg-#QLjcn)l8qJUanv<{hiouMA;*%h-V{Z&EMT<-%$J;5tj->2v$nSu zB1`&|dAUZ3Jyw)?YrH-V+_R5;We2PbzMwi0aUaTV-PDCsXE`-eUTx6xgBi)8zgzj&k&s`~z^G5lc_ ziO;JYC0ah5!nPk+%k#%+D>;U8_ApEp;--?L1*zaWe0;lIX`;thM5{UFYIjK*L8Q^n zuH=mhf&TCGp41QxR1fXvI5BJJe2^u0v5l&*LWh0Coxc6N_?bOZ1ikY_Qtz9!B~IeB zTBZRic}OEa== zyIYGAqLr{h&`F$}UQT=6##Nn83u>La)8EQ(V<6@?j%+43&ls&+@$SK#P3d};oC$11 zP%lvlCi+>7#0e-r+YBPcNJ2I!Cr~O+q%>m-)J#}*)JPj-2~Xb2*#2-E^~hn&ns@tt z!g(`y!}B`W#3nd`6~kw=^PTPcUW4I9{oIP+D~Uj0^GEhuxWrDb7KF+5TM*kl7$?w!3(_uNEuN8KX?0;g5DO0%-E zbF>F6SB@U;o^?3LhZksb-%Y+F(D4jJ83=Pi|%=vgauAHW<;&wh)sppI$$I_MYu~Y?56Kj9Te^}5c7@L0rWB(;u7q! z_gk2Na-&zv_V*V|H&n`MqEDS^2v4S)wl3_yN5JCe6U}Wjga~)0M0@ymKA?sdwcVSu4<{QVMqm+ zIN?(tT9b*Dz^+ctR-vX_1*q7uzN@hj6Su@im%K2K*QZd$FK3JWlgfquaB~Ss12wqFOM<9Q;@2cwLIrwp&iTTlR|BYRH~5nJD^|1 zd4fkt#1zMnw!T*W<6AkI6KyKH)y9sMVm#{RLTUmwEGCtQ&Z3b@LST^(IQITx{H2eC zr5K-AR!Q|OZjS%(^$}fup>-j@Q9ZwDXCLO|BAhi&h4_p57bjgf-2EVJ^occ;-@`JD{ zmdR z7V#$3R)4LP*!>|EBv0%7R;fg%DCHku+j3jqqJ#A7903V3JXhM?9_& zRt_|jg*Dv+G8gMO}TgzkY~`{ns*Ysh{r0x@eY)}gX|h%G4vY#&KI?!Q&B2WdD(LFOL! zrgBPyBR(#T8kh9-vSs-W+*gBt+0W=o?a@xdrU5Fed=eTahRNlcz5NObZ6@oR9M|;B zYR)6uC3m1Z)ld)aHgfAn2pCAH@JIVEjHD<%W0`yZh3-RU6Wlcnp@rP?6s1)tbP=TG zR_I_(RN}u}qW*qh4vW9w2hB+*3-UXoCxCoxW&BNX6h?w{~OZ|IbNPg`v)a0~fxRuo9c^n{)wpLL1Kgn!GqMBVd zFHz`;Sm?w8I6zpgXRu(Lv7pBTGwOK6~nyNn@b_XvJ=mP{YiPKRTTlAcNe{f@$rvNfJv9Bx-p-JEtKDV{;; zu(#+UUYfnbu8z2{>c_8cxF`nNZsI;RX-5kMIe3wz^}a(-c{DbRHNQuQ^VjtCBN&5? z2}s4;BQd{Pu$YW)P`@@InTqUpZ6Hz@zdNg4K)&ip-XN-M!7%oTHsz1LH%se*!v1NfQH z{F`R})i?hno&Rn1>s2>t&`;62R{zc{|K9dbD*)hz(EKUk*XqAferKBhj&wt*{uJc3 z`ah6INy^iQ$=1J3_os{ao5`_PL1 z0QQr){yWO=L;LUtlwXY06&Xezm~yn((Rw3dX4mx>Au;* zzuNtp Dv(Iga literal 5848 zcmaJ_1yod9+a{!k?vTzQM`}O>k&&1f!zA4tbU=8PYP-=ma08C?4J)_OLdoU{ahf8{WkO^fChdr~tF7wEIgtBfRsO&=FmktXi;cUOwM@M({hH`+deOgLsa8 zp*r^;haJrzM(1r5o?-b38Vzix#I{1czt-zW@Dpdr*8$++6 z!d7$V$)xG78!HTQ&OZ}gqPR2Gn^0_{Pwhb&KMZCgaYSQo#f@qH*z9<(d?s2i-uCtN zCH{3!gym)Lj9k5Oz*S@Zy(hoF4%FNFx(#W@*05qQ#raSbgU2KDH#hE^G^J|3|Ln@_ z>h1a-cwmef!HzK{k+RQ$pJAADUhuRUFTMiO9tDXnN&f_(Q8DksO@Or2!K=~5?RcLJ zl0o^X*$mrt?OBwUJ<#`d`Y1oOqosajE8Gd^^+(pAEu5YuAZKoxI5J(1N*P4!p|4N7 zEse9>_7@;%>9O%*fi;(EMR z02cvr+6puKz|PEr4&j&$@p4{aBIu}iUS8PrRj_yvb`zHmddbSs(wuXm+u#_M&x-PA z87mxTbZL`)m|+3DL~-+nw9u$+MUQ?I**JY&H{o6>`B zBa9@b7QYtx7HWQ1rvcN7A3h!GubpgsmPg5+e8|!X^zaN$W_B1c9vyI}EQGr)aqb z212@1AAD1usWZ_Z8$GLW=EN1gyDK0BgfF(4Zh0$lN0pQX*!412((V6X z+Dq1;$bHJior(iGDQ$O{VcL9Blt{pxQQJDDh6O5-Itfg9`$4WfiMDSj)5$Ee#X9gg zVd+cCAADAP;kJz8j_TM6ITN)iVEC$XHa)1cA_=|{L|UXMGnQ|ZDF}*rmSM?JPC8TC zEzYVEB71MQmXFeHVfUznbP0lGg1?Z<({j<}sp)w`MB?RQYu~|(Q4O0ytLP6_k+1vi zV-1;#xd`YWd4s9(Ox zQdUH&vD4DQnQ#>qnZ)4P`BOSJ8>&Sua&6dZKCL@`%NeScM*b7>SVo*vWPX%gK;LgD zm6kZz0tR^66rjF)-fgrx#WNAw+m_0FwT*b7q+gxz#e*pI6NoSGbBV0M>I;O zy-8*~b(mnz7HMN7o}n@tNiEFUGnK1S*WsW)srxvnWoVeLmBk7a673S;Hw$7GbieQ_ z9r>gaf*E*i##90~_uD3#zr|S^3LD%i=31NmB@Sq@f=9NgA(4>1PdM9lo0{2X$*l*O zkHc2K3C!oLXu23{TI`)!P$fKNPndr(gfX~W)Y+fMFy&p6T$4ipEA_qaxL8>ISDgLt z~Y^dTRGlpV|lyoS2RtpjcS93-)3&mRDTf`Zmmb)lJ?PKxCr_?Cu*0UUP zHaohg>)^r)(Eh8BpJP*5&ymg&YfUXVmuBxAl%S`u=2mz>BuP`9BvYt(SfrY4#M!w7 z7U`+$HR*>YhL=r!ROhUi)b_P)*C`sc9hihu#<8a%fhNI{mgB%Os*$d0*4t7(#Wf^d z)o+eo<&@@pnqX2)`X*FPV!!k~24`dAOiK?YCAx;C8Ya`Cl5YlQ&a*+UEwd+SUFyy; z1m*Cm)irvKFTR?&$F=GlGE<5H($*~Bc;f%+h=dqLq^-~`u#>}{!vcC{vHusM5^0U}?#V(~EcsL3r z4^v`#ks!n8iXKk@#*I}>6=%uW=Ta;cZFJv0@aRb*EdvVbjdXQ}Z97)sfbcyyEgzVrRO3>?w4tGwrehoTh@bFo0z!yl0YVn*&EvT?uuX1 z9)cl8|GwC+{~o-&16-h9*K2M2fu-9Fm?CuEfB_gM{|Qd}Ix!Kf zLLVREL?7=Ogk@eNBn9VxVMudKg=sjRN!fZaMh@*aFM&*t>5<$Z`pz8p)5ESTYq&8q zsGz&%_5iqWy~ljO(mC3o0H1r#^)0F(6j}8aDc$w}EygYXkYEf&olBe(AChqTmPP8| zjx)Y^X>g)G+~sXr*MDWeV|V1ks6DAT%v?j^xFAqeD+kLTuymf&vg z*dTV@Aebp^!lrVF2fI09m<6dgEpF?i*ZAvv86pZM=rsj;+Jhc}CDVB&8~Eb_JPH@` zH$_pnLNuW6OMzn?yfqa#_N`po^Y{Gg`Xj!}coT(6gA=h2x~bSzNFP1LLDue{ zThZ}MjJ0Nf26VgMes}O7O;R3ZoTsQ1R8x0$&>EdV>j~7km3wKjnMhCGLMUojAu|WZ zjz{5%he;rFQ}LHD(od3R4dRp0qV#UdjgJl+w191+m_)qyS$xoRFRuz|!FG<%OF#5- z*Q+U>C~QejBozvAelW5Y?|#8lBaXiXQe0pVHsWV_%T4-@+lckO6>fb%bg&OY4F4*{ z6DEYRMKq;eJ091EGH$c{Uz{d|R`h%9FH*SUowXYkq(0-NQAccZw;PHQel&{&W&$+) z-{uWt-38TrtgpvD!*wZPB*4!_+l{-QDtAr4a54~#dlfW=*v! zUlBm=Wo=hCj)WX?3fzgDJ6iQ=3|oq#wjfOWs!9s1cqelznzgg zSPQ<=wISxqv689JwuH%q*3E@L^vE{LmT*e2A1iK~@O(a?rG3Q_%OT*-l+x~`S}xgY zS`n-O(2ON>W9IBT;)q`Mcz{1t*uefISknDFeduUtn?RB4kKrKnU}_U7*ZH`1zhgw-&VDF zF;;nEzLQKz5ANv3u{Rdf~T9&**gt*O`r)_l0>5l=1z&p2;=j>tGin1+K(?hPD&4q4Tjznl_Arx`VCs25N^`{irV~O z7#}?fCAcyEQSmhW5m|9FKS>qL0!=_gyn7co$VNK6 z1$RvYObb?KehGSG@GwQ}IPmfvn6YE=1!?|yyUxJgk@}qBojKEy=3%r+fLHmK{dc_G z!5(j@(f3_8(<3tahh`W`H}ms}qk1cKRloFUIt9%+AZACc zE-j6x!)|2QZ#&;d+n62ld|zM!pCnD>1)h(zEj;@~rbFB)M75(PZqT+a*P48;jgA;k z_#(R<&?G+}b``F@hQIk~8l&!x+nuYa*?jP!)>m|=9`Zk6$T##tqP zVbEzCeVPV-sk4T`pxpSt?+F!G_{J{ZY4tzT#k!N-5}KI20sd-!g`)n^o}x%7D{+vT}N|JlZXC zl6GyVgU_{}ZG}L4rNDP@TSG6ovCEx!$5F&Q_wuw*Mu}9bEzF0NC4MNPxSt#WI&9ha z`W87li7MZR8*KNj{9?e?=jR&i9T)$6L#cbY_g#_odS<%*3wDt)`JEh;V8nYCcrWZ{ z&FMb$PIIswGC2Nh=4NpK6QE;l^WmAq7{Mbei51ajV>+OsFOlGCo2~Nyi8$a|#G&5aj&An9 zWqifl!fR2ACUm!|&;O_}g#GTl(MX~#cOudnZfo2xz8K!E2nd%Zt2)`Yc@rvLXon69 zqmL|FZuzn1ykFALNMkYrB}yq1h%X{mEL;`(;Ac|!FQIk`mw@MJ#g$IX?8SQA;P< zRF4{SOOcG;ezZ+bm(%%=AMc&Mx~2E9L_WPYO86kbJqRULfm&mUQGrY#kjLUZ52GfS zC*l}8be-x{ea?^V>Yj-Sd@h+Z4yOC4vC4S*?JdPe2!x^4S99}V0XYz|SSMXSmsuN< z25h>3bWm}+?iL?ZuQ~^49IlE-uORsR%`l;}KS@a{v|@0x-%ri7q#{gPyA1=kHI@zz z%A215%V5c`bNvuiv89%xw9p0r$WJ8#Bb$am6s3Xr*L9oMwAXW&+{%GxuE z`^3)ji}S`dC`z!i%i6{olg*hlSNzl?aB zdAtcVMtpIqL9KKuzqzC8P;zTtM4rn1>l%>bF0Ntk8rmMtTKLSQ6JC7beR0lWXB z)D4WD-&-!Dvw}vkg`1n8&Lb6}-7Rt=>fXufU-6&2nzKAR8k%I&kL_@jRU`-{ zP86TSbT)Jfld!OS)bsYp>`~_{tVU5myI4Ce&@>O1eZsxGf*FMYim)dRgyb%BhG0GW zd+u0|0cTHyYg`{R(9IIFE5RohDBj8|3&Rlrepvk## z|JKfnV)E3iMUk8m<%pBd`{$2_mztUHM0e7RWv^y$1d1W8g;JDhnj)Icb$g0}vLPWf zeN~L)$nRtURcMIn5f1kIlQE}r_HVo%VYb2Ju{Q4mY1%ROi@NCPEQQjF47Q1%lNaZH z`uw_pnx|b^3gpf!eED1s5OTx~P&P*+hZ7#V%3TlN|f@03}lMu+w2ij4MQL zS~TMgPoadBiMX2rrwfX{V%6IQrk$3}K> z&E+VRKvP%lc7XM%2E!3&Y=r|C!=C&S#!%%xNJ}O+WEt4Nr28wI{pre1bw(B$qv?WD zn#>{J0+26h*eOh_cAvL1oz`gW7TiHn6Jj^Jv52P}2g1(UGLB=r*{VA%9&8a-7N#2% zNks4Gv&euCO(L#M@J zI*IYHupGFqITRa*80+6H(<>tVBmQfkUZZHR{;x0kU*q%I7yUaRSLt6a=|5qAdV|-l z=-&}{mHq|$(lUNgGrLG*5jnjpr67~L>BK@0{Fy+@0ZPxM}*6GR<-)M(Lyh%SZ@ zHG0kCTkpLu>s#;t_Fea^bMC!+uXXl1cbA_Q1P7N003ZMW92*k#7LsP3@&EvU+xzAb z0AY`?arbhuv2by5w70Tww|90D@^G>ibhdD_cN27Wv2n6?wt9)MadH>5M_4?!(Ymn) z1P~Aq{B7;V!2b&I&CJT#$^G_IPlRJ)qEbydD@EY$6?Lo}qvd$ln|G`8-rmx6nHz}! zUL7oaVXoh8#QMRR>wK-8chA~}o3=Xlj|7{xdTW=}vwpeO42y9^=9x$qUG|++_CT(^ zuibTD4ilCYvxk_E(@wxRKIB}qPuy<(EEN{CDqRP=;zV3p%$(N9Ube8=Gn6ah2v#ugYJ$2hSddcA z@n@aYps)-|go&{^rm)tyWQtiS#zH8H@%i`lnZP!O#k&Jt%Xo0}u>g|=>=Ay=;m_4b z4_69BhR(I;v2pT4l*m+ansxNl6K=auan_Vlomwgplj1mEy%AM8h7I}y4;7_>FZd^Jig5Io5WD(bz$=pT)+c#kpnNTO)(BQsbgQ z*}}i2OkC{wlY}YP&zv%v`f~OFPjkX$w^Y$$1}H)k`>PUF?+XO9hju%E;HqZq+^n9)bWeG{1Lza?GGO7=jbOJ{RYefQ3wsyZrl8jjv{Y=0ML(@Oe^2 z3R=v=gVCwHA|CX?0Zx+e*($5YFoz?}Q=G1cyF6=ep^d<2?MY3cLb8PJgrHx=dHk!w zh$-FyT_b3&K3-P(SSw_^3hwklT1eAULPN}s%k;y(3n&sSp)K`|$kAU~v{*+{fg}1u zr9$uGkI~=0KA`0i=!NQf)%*`@_y?`u*_y&00fMoxlY%md{oYDhDcBXtpQ716QKn>- zKwyPuyAs(fpT`#yR({5|^|NMh!&@?yMsK$tG4}jY8`wG%>X*;wci(#!#h*TN+$KwK zu1er8a!8I28Ts1yvm&p{1NBhq`C1H$p>KPiu%#OF?D<>OO_}2&ZacQs!C9?W44ODO z?cYO|RZHjhoBcao6N*#yyf;bcr*nM~iM*zvM^kqFdi2EoNGX?V=N00W*FE2IVnH8X zE0g*6mAqt>*CH6#O223o;B$!HYRkK8B{3hid>FW7PW_d%v)q#Y3Nrak@+rq$8O(L@ z`<_$MLOVVz@6LTn?1Eg~(A@Qq@(KqclBg->DibT8S#p53va|1gV@5z*NF7ha@N0Xc z)fP&R#{?ER&~v94h$#9^|46|}$aQkdBQ*Q`ci(B9l=kmp(T!XdG+X3tc3)RuhBz%yd;PlW( z!l{%eZzucZRZhN}KdRv85I+EqzEY;WGxUf;v8X?Ve4?ROq~bIv!Q}m`zlbFWvTTBS z1A7A;a>1jM%!VpK)=s54=AV9&4Z^8Bptvat}s9#JY@ODV{f#4W`lvYuLpN#((}dI z{|*sCK|l7laR30yo80=JLj=i95OK3{cei(X?sgj{Ffe1c6-l7~ZsjM><6J*h#Yf|z zgj+6zq&1utI5Qp>Tw5Vf4hS=tY^Gmz>zVeAw@GA>Ds{(^PT0YQo&l zkff(F6n_wzjnM?$Y!kI#g-yp*YY|6Sp$O$Cie|aSoL-}T>bj>(P6nX;mD0=iWhdR}lS0}c05yB4!3a0ga zX?oPx=+BnRDSDt#x>gU!&%>pLA-~N!srvbpTE9fzrfVpgiXE|=e^|Zt!b|;VO)Lyk z#_efz;XijkN?h?Y94GDL*V&eYGQ-wxUGHu6?}vw_O>qZoTa-gKT%K3&kAE83pDrR< zX^l=}YTg~Z8Q+r%>{2PbEUG(D&FAsI{|JdU0Wf9#iV3!FV=016|FjuIR=lnWPh2Y-JU30`XI&pzzMdP61*jrXDSKWJ)iXJGXj- z%BG7MeLVp*U40qo=H^Q;K%(RvWJf^mIIj!Rdj7}-U`cWrBv6AeX{4DW+}$*+4dT{L z#omXHh_lU)`$>+zdb*Q(O40bu%P`)E$v7$fcSzFeI1*y{piS^E9}*-MYJB=d{p%iu zrL&L8k6DVxK?W{AgY7~xgkC+3FHjCS9oWAz8~xtQ zC>PcV{F1how&^Y0V8Q=R8Q2ukboHz^&nFG)2mDk?Pu{Rj=2bZXRXxVW`gr=q;fi&c z3mIVTI~i&9(Hq!tp_bQ0O9SUm%+uK>iX+d@=pQJ`zI(qz=z)^nd+AHVs?>XBrB)#A zI?ml{wK(vRxl1VzIZQuoWgaHB7+V|H-I*ppS4ZYf}NocNp5GT8@O_KEflLmC~OKL}J++qQ}Y|!=aw( zId3kxX$3YV`_gN6#yNRun^N5v4zZG)_2@B#PEUc8Oq!}2VUP0{Q4C1Num@aA#~FoR zBQIrwOBEgNX*$}|6EOquqT}bg-3cn3up&ddIOfw83TzTEifE8F)o@_hB}?wm^{6Y4 zxW0|@CumCwCv=s!k>S~S8f!3Sr#d;6jNWkRaia7Q_YyC6?5IP))7pKm&LnERAENPg z5)i2E+~x|Na+C;G>Xv>K%e~fTqhh|s0mT8&d_oCnU%g!6z;^Psz`3&Jb0)l`!{=2f zA)(V?i|S`YZCa6**@Mb_euJRH7gDLmi??N#)jnYf5gq_w$MOHg(3=Jc;O6e-X!Caj z-8O+c&4MWW7j@`(qvRjN+Z4sbfK+JT_&LzNLHGb*dHj;`Ja2V@CsY@WC$sOi-U5%T z24MxzZ(p>CaS7KMqYjX^#i^qxf1m8`nukN6+>PEev&JcsB6(7^rdh*mg)1jBBWGuS zRH22MZwpy*HaCb`lJP^w!w=W#CNwMJLHi0^N({R=tQk!k za+-(L!2+2NIl8+?>4A*}8WV4~?v(Ml>nMCBns#ra>Mw!?gi8-&F`YFe~RN!`35W%$d&dMhnZ-X09Ii1!b%iPL<$Msue$jK zZMM~i1wJAtg7@3l-XMA2uc~!?65LEu%#m7)M`yYBy(6c9)H-C6hJI zHz%xTZ-DVdRqOC~x;Lp*o4bg!5AD_0SL@CYaz4-(=Bd%p1Iqf{@A5O_r@|BbLS|$! zfo&N11-eSnLJ@Em=W7i$hdw*v_yKCOK{@S5i3{5TVF%QVk#4Fa0;;wIriCNXxtJd$ z@J#y0$sA&V1G>2F%NX&mBdU#|8vr+aJJuC~JWg7E&6ouJ9Jrq?*9ub5}b=yc_ zGI*oBjR~t{CmAEE{ByILcOZ3kJa7+1Ej^|L=QE6p5p6BLhQ=uKPKiT7Ns8lfmrJ~gTC@3t>wTSNPIlD; zxNh?*R>az)6|yFG^@PXn!t(rp=sqZb%a$%sfaX4q;URKJK@`c>{nYVXZo*0#!If`h*})}&LZa8Ao4GJ^)Q zC98B^+1YMNWfn<&Y`6EWN)s_IlB=9vU(m{ceb544G{m}VIs{o$@ z&}`-4I`X~rF8ikB0(m80@}S73y8XDXY`Uf?vuj*4U))xor{5LbZgIiUUY`ERNSIT& z)He@LE5s8O8@lsrha<_k1 zzOZF1gZRVd%jJUi4pFhL8?#P)_UANKm!;yJJa4BJv(S}lam6QVneKx4m@3MjPrJq< z5`WjQm-w|0n^=bglB(uA)$(4UpbcA%3~IQzsNc%bTy*;xavCjDv?Ve^>UDyKlX5XZ zwB<75UbtuS&m!&M%?@T|3{8}#200J$vugzc5?I6&1HPdfVmjWUx?G5M>;+*Nzt3{z zA2X)-|K5}Zt!3grNoGkCIg)jAo-*F}`P{Z;RrjGQN?tV(IG}cgJc<@YQ`rBSsLHe5 zNJ-Lu%PROqe&^>1U&u$M_&(<=w}bD4-X3Q|PG>Y{4G&ch#OZ>^rdv<#i^v)YguHitF)_H*cqW$f`>9sF=QNbY(m$D}{$Htbf7 zxtrODr~jcR_(bvrty`daD>6KfR`2_wpGl4k14(4jK+OC%*RbKMKe2PI4s z;?v<#He$-NU&W2TY#Uh^R?KG`=~BF>b@Us)??e!X650tWhQ~U_7>(zm3OpVcy}L)T z0?ihmM1N}EYgU%0{=CBx`td?qO2m>*2P%Sa8o~vWk1(X&>&)tOpoT}&7gXtwr^DbL zHj?5Wo7-wG(wz5nVj=u7y!Mk@W!UGhE;0&a7|l_5aX+^XX`kAuJHivJ)0;X;_iS$(4!y;AH4)) zB+5H83OlF0*=Lm`(*Y0BtfFsG#AxoyP_yl)h8yeim(!G+*&Y1=Ga@VlJwHOgRiRzW zI-j)oNAw~|PFmJd;T+=%GA76tLN;iMGw=D`iRSoYNVcEX`=1>hfyGQz>r9(hQN#lA zoRnN^m#qveOE%h)cZ&7D7!*Gfgg&Xz3nU|RJ8JqI0KcG>xJ{Y!oh0n&(RL4-;O>Gv z5Gr=7jWM?XLC&9Bl$LXT$)J6$F*mMt1Mpj8e!u*uA-a}e6+H!h^+&3LzlQx$tYx?~ zCGxu4`&zkZ{vPIH1%ukzdj3|i>f~-%j}S@ZzKqJce~wETkK?e5R-J4}+HG1M_o9B4 zZ+k=!Bcp|up zFHKRz8YSH}?4Df2nVw&7B6N=vqE4Pvn@Kwc_VR}Ysf=-^+c+_8hSs3W;oz?Rc#bn~ z2iByv{==ZU(a@KD-sfMu&vE`703`0AoEewaU=|Jlz;=Cfgx3e)VhgwWZB_=$u9HIK zLHic&Hw5qSgH4~(7xLbVi;1aL(Ii-#01H&8SQ9K5&tJW4nDizp)-8di?d`X-EHBMv z1ufD^$rOHo#4xzZF#3kDr4!N3#hf>3N7(=P`!nGI=NL5<3@IaikL--oPz|O$(b-5pIO}!nO(3CMqF<0 zWP@w8j(>92YCr;w%oHIBd#(Fj`xW2AHGpTMGE-dCrY%uaNBin6xR5Rr8O?(i$vgWF{KFG^j zyX^B%HTtgLV5Y^%!V8~ZpPmKPJ%+r#=3*-SdX?!67n|u#6pdPG;I;^<>Ct4IL9jq! zdk{jV@(B^?8pmFHfpICvunlIRoqGtj;L04{b8O8 zmOJj0A@pO#ZKFSrl3xj)ZQZXf>T7=Ef8YMR2LcY;JR?D8v2_XQ?&J9QMQ%baI|;qY z(4Wr?TA|tCC6Mi1ZDICl=fL(>vt@$f)#I=8FAR?MCuWW}kDmaUFN*8sZn zLE!?&4zE6xU*bL%5W;Hz6!GTZ%OC=U5%bsLt3^pfB|mD^fgkub;4AR4cYh||}Re6S$WozVX-OO2Q;Di zZKr*=h`2?=^ z<1Xkml|sW@&T~a6s9J`0<{qe=?m8&KNZEm&>L_j{ocmCFOQ8@0Ibpie-HOL1-Ap`h zVmi;L?-jDBB$$Nv$k7;bU`_y4d_>L!gdPUrdNo{N#E@5YD=ST{Wr0=`On<#p`ty%gC6=+oEag%}NWQ zvu4PWIhMy^!NUjsu8s`sEr(Vfj@kBCH9Qb?c(ibtRZ*j|K|Kj;%C{y?XRXxo8#OMZ zV$U+P>8NvIHZ9B@gHTCQ^SE*6+i+E}vt>2(=imP8kDEiM&w=hMz8ERt%hq}T9ylIs~gZQ*bz%--{tL)b7`_M{Xh4?3;IES?pReJemXW`(_fVSTIKy6~qTaR#2X z=MXqK<#4%ON?xHr7RNoep3G%6d4FLH_Bw}5zz~rP&MZeYd<)zH%OMxh^8$d;haQrP!NM3^mgSxQw zr;fWv6O~7ZRJr(Os?7x3$b9P94Y!|uQYHg&TN|%!h?C-|8hr<6KE@EzZau5FG3+qs zyVPja3Y!;c9!dNtK%0QPqRtGR?Z0sNDgCJuALF-iKYV)}MA$rLntzl8-36Ip-5TUD zdH`&|Wf8FoGbs%4^P_;RT~c_{soL>A-7Yyhbap+{ipw4nzdW29iZ%3qZ-K?2)jS_; z5}+fn)hF1?!6T%w%8c2E2u*h*r7~q4(+8|Gy)mwKj>SSWVcFm~U31MD_vO2)_x+;Il3=}n1ESJs6Jx}HLF`ajY7Zq!kLUa3V^+n~N-0cHB3kn4(jC6i-*1)%>irA}0>RYGomF`~?u`+V|K;$^G zL-up8y$(npx4;*Wh!4i~nEt5=CkR@x@wr;YsJzPx6{+AbDNu1N%p~(-OMiMS{iP!J zP?t5>P}N7CMS?ScamVB%>B}o67OakR@DSoK@v{UE!LdWP`#_8Ru_>4My$$7ii_!@f zrDTj+zyjLKf_F@Lh@SiEvV1CP60?%`xn*h6(m}$JU}RA{)?$w4a2%PSNZ4k?bK%9o z?}(o8`+>;280K;YsU_x5i*Hw?>&$2wRyw=2$yFp0;HTe=6)iMz=5cDk%vms(1g3?t zs}&88PKnF+hLmbYF0qTL%FtP8U~2bC5M9(iVCI_WVns>(xEmOLNQ9 zRTO6g+3wBN_qzSo?@Fc9ESj>rl3rE0T}21zYf(OEpDr-zO_cMw6h6Zj#bDl*_UwUu zqFx_5GO4R4Bxm79>}%>@IyvGxZ0BnD_KCR&u+ zYdwNO{f)wW=N$S`>La9w;2MmymVY`?=f;}-*@@w|wpmo^2>;tR22;Y-IU-G$_q9zk zVC5{)*2vj}R@SQ8at zrro0_;=?-HgOoh+Q3Z8B2c8@SVFYd**TvKGCWFqQj2F_72GDsTC35t0$c{FCESrGA zqYEO*kIK}-86p#Q;_g!Xmc_ijj!TQNls--VIQ8!^;p!=}h|>q(Z?bH$>~ztA1)5&G zoqs_{Am_76BHcdBLVqS+Xp~=v-H-E}>d|PZK-Jtc(Z#bh<N?CFO)=`aSmxW z!ufPPC^w=$ZyBun8d#-G^susei@|@hVE{QQ{Wc(o>RE%+sAS>6$GR_avv)3fyK+pObx%GpQ9H;XH;c#Y~P6grUX4T;}QkC4V;5fEX ziJm1C?tqG1&W%{yZ*@BO7*z>*5XqiGD8oGPWGJYvO>ySS79= zTLp$KNvEa*rS-l?MwM!TGgOH{y8^vqu-TPoto2??vPT_tQPqg1mUT$x46Z#HF{zQE zLPpqIa|LaRa`qf8LP~2gyVhs9WAr6FEl>4)baOOZ!e)< zJd`wIsFUS2M;@-cf$|dt$v$Pkad<&gr$Q=$^{%DyV9b)1v$@8f-6r$2x5@_UPIOb5 z`Xpj^UiSm#?c_5jK|S^O%C*H01Jl!p#c4}TOAFzgq2)Ag(@%IdKv6sSWqk3OLGw{s zu1g~UZ2JRn%LsUb^X=U2J2_Iic1DI7ey?Rd7XwGh`m$h06jf30KhBD#;`WN&a1Nu_ zb+PLSk>w)Xe0Jkmcv>%WddaX7ZNNJ&t;EWkHZ0E=8KexNy-C;$LWor%IuDb9-YTyY zyGJeWB&OUYA_j}eacSVCF@^8@x6aRLxT1o%}! zEdcWbqtlON^V4BP1Njee$M)UCFXY*&<-|1zxtA^B_G#2#rp3TUv3K!*NK|Ob056_f zKe%9|q5}mjKJ%&Iz~1~yb;GhiV32u$es=LT$ixFzhXhFmS-}w2(Kk_Lldtw1z~kwY zglE#XtrA#cewt>+C@e*9)^qZG%UMgc5oIS|$l^%?+~CP|4nxdpH=xbW`rs_F*h{%; zOmufo$d87-(uy6OR0t}xddOFR94~d6sKsR=wPrJ?3c7eLL=;cj$dxiTLMJK1{a*$E zjYczIQ>kHAphaC*oHpqdtivg&n#}VRRU7D+KEDof)G#QO& z)Yhn@Cxc(g$$`lZ3%=NAZG63*iOK09Nr5Q-Pt=WBGk~@;bUgEBaKE=wXa}34G%~zjs|>`BzPs)nfp5+zzhgG814pJgYUxfng zNUBxsF>9mrej*}D$N(=p5?Q9K!i}thBWLFzBrLy^KC5tgZf|mT;+Awv;JkSpXd)#T zR$S9-0^ko+*QrcJ0nKLcv8z}xdwpw3K$B7de@eq4tTPL-%8nK9;$b3_Y7v(5`FDJgvNzOUuPZf}__8ZudN@0P0R>4f& zostG>4zU}xZ#;yZ_(nf|C=xauT z^zP<%B5hOSopl4J;~h2<{G$BpzYS7A@|v`$gtHATbZ=_n_@83T#y@HOBuGg7yjqfI zM{y;TowK99#Y}5j>EPF!t)p3%_hRNsO~L)%o0y7qKQ^VuL;4`j8LC^^8a0oHj)9S- z$(5NJHQXY=G|0ZL$6FW7Yc7ilA>|TkHnv8NR7xwZ`tOK zURdNO-XE`dfXxPKZ@i~0m-I}QEUY|^iM2Jcu&Dum7@mJqhu7EkbqV?1{uhz>5AaWF z^`8;H#V-cwpF(~uM6SuAzxbs8Uhm(G(m$|}YhnC1>~DVQ?=Al?PUfE}?pzC#Yo_M^ z8Jd6Z_ur}DKd6vvaqBu{arsYT`1e}>E9LuxvcE?CodEtD`R`!p4>IaHcl;9?X=~!) S|LP;Su1Qz`fYh&l1Nc8)EegE= diff --git a/odfdom/src/main/resources/OdfPresentationDocument.odp b/odfdom/src/main/resources/OdfPresentationDocument.odp index db7ad191ecd1bfffa57f78c75680cbc71c1e8175..fa6c5ade51202194c624dea2547e423ac7f81370 100644 GIT binary patch literal 11149 zcmdUVbyQqSvoFrz1PKHPF2OChJA=EsySuvucMtCFPH;$YcXtWy5FVU+-_1GSJLjyo z-hZ!V&FtEHbxHT`sqU)&$%unPz=D7PKtNOr6BHRq%Zg}0KtSHUua7`1O)U)_Tx|?> zZEP$|^>rOgt*vOCtPE(Zb?r^DwtqiR79W4#59B6Fp4DDa9f3%VLi_%v;|3f&h zoPf2Jk*Tqx-5*Wu8E9?ntc_oV?e%o+X#ZIf^KT?y4Lkn36xQEJ*;v~++PsPWi?zR# zvw!WJ@O~Zx!_~;c;)BD`CRI&aO81FUMEDv>ZFt0Q2Wj=GEXjRT56=%k z;ZBt&HJxux1vP|+Mma=B>8GM1lZ8Z2cLUZO-dC_W^Kkx!)fHx2?*QrJ*M1{Ych
U28A(65_x}OW^obo>dTS^~vW_K=88qH$y89QAu0DL#a#fVs{j~ zv%-}6yFE@IJj4YliBvnR>ZHv$>Cyys@PvV3A_jOu>ijiTjOP)}6VvFG+>VUM?N$Mx zZYv5+s|$-UbP6i0{f9SEB)~fne6^W^yCt}) zHNPatKBeBHnNotx<_SiEb{3|`i>25wG+G%+Q4}9)ML0)|9*D=4@eKg(S=r{ceh00j zkLQcY48`#oc2*DS+>xQ`m{S`Q?UOov{P8!`8~E6rtE@{9mV1eTuN~Oc#YP{yO^qx$ zcx`>R2C59MM1%O%7zn*{nZNe)2xlTx2j*tN@RqMhjop_N2`>162;$;k$u`ychxe|E z?YW(K^0}($5H}0d@i1AoxH>(C&Zs(FWs8)U$TXXjGBZ)+}+gt$(xML%RI~-5G zU`Ab*v8Wa&W}tAV&(=O1Qz1@rx`y!?rxb-hCY-eaXaqH%I58{sdiJnNn;yJFrr$#ZuCC9*}LHPUHfV8S?|c?2jEbUd$qu_$C*xen#6WU zoT~WBrI|1+_Hz|6n@vc-4M_=|o_fZAos+$Qm^jXTx$Sr^I3pygcxr2h>rvw{ypb|y z)VEskYv&OGfpCPn1Ot0dt2FANq*rZ4wHss$_ud=GVNu+!jdi`(%;Egwq1JGpy$RC% z1<`|tbM`}e4081XBx7msZbGw)+3vN)FH7@NzVvz`FexyetM$Tu*0s$3+B&|yh!;w8 z6H?OiAfudlp`grqdt(u8zSpU)k49jeeE?S8_JYRmUKhj6P&c7KG`2B&tr|S$AtZv- z7Hosye%4A*7OlMkQBZ7+IE}gwa)>%n%qQ&6lD; zeFIJ5oJWy+Z1CiZ$9c};pkp&$aba5oW<^gFkmTB;o&zlvEFzE_XRae zpE2S&dbxw+Wd~AvtOo?+hi2t^KU8)PP}q1IKr4P(jiWO2ABs)<)KEvSbn}>)Fs`K9 z<^4;}0^4%cBm^pimvLVqFhBkr#L^-u*%`fN@K*XT^1M?c2pN-- zipX3|pyB5-dAKm}l^PslNvMZar*{IS-!^>J#v?wM`BSO{0{vXR)G*+cp(@CI3TYcj zq$Fsvvc#yB%sk3`PjQzGrd&fW8gH#iR2yiWA2^(sAM{Iq3pXyd1H)L~xFQN!Rcju) z@*A0A{0yj6%TNef&Yq1HW*iSN#&5r^@VxWoy7M?rWo(oCXu6q{E!)FE*Vor^VNGZ3 z?!>YYR=z)*`NCi;j4iho717xdiW#b_2?9b6eGL9PY*`Orr2G(v4L#|&jraTny)5p= zRpCynD$OY(qXG*LlB3rBI1vxBRdsIuL&?2tRho0e%2h6Y<33Jv6r(&~RNkwPnG~d|(#4&20mpO!Nur3dcmS#ZkPcScCC`@xf>~ zcR%Og`{;*&9zSXNWLzV$5R;%m(-GVCunhvfhyr)%3IJuCMebSE0!92bTz8i6C)cGt z16JHX-1c2}ehjjj=3m*g1ZM2|$t=_d zz{reV{+T7Ah?y0=n2wFQlDUN+;+DE<$=Y%f2$xF?)&V_RhcA$sK{nDo!{Zx=({2Da zz_=M&GS4WyvM8I{SQu|hVGLmAm#Uw*s#KA8Q1h!3dVwN%;CT?dqE*L zBzt`LvnZp>pFSCrM#SmrAhwJOQ(l`S+`PG)2GULvI=-^l=DHdED;>V|1q;iIogml~ z&#e{TJrhX{>zM- z?!n-sg^PBTv6yftDc|_EbGOA&3#?}&IWyH`6*;ql@i`*75BN-e0%T!ZPYuCWAg6^H zg`)WMv|Xv(^QddHMS26M|1QpKR!mG27*5`Ekjt`yh1p3uZ6Sej2CpmAfQPQXjgQrL z1~T(+gJBw=NF}_T(N77;4bMTFmoN$?4bwugMKn5LMcLQy(t!2h3*@QPv2;MK=AuT| zb0_?1!9%pb#OenyOp}`CPw;In9GDdPda(SZMJ}KapTRZJz_i*vLO6EO31wTdqCxUU zd*l@#=B%G>ZmxR-!6Mb!R5sM*HU-y?#w775*Q}`+Ts5OlNM@l_Cy!Z6#%-80=tsm( z&rZ6f1gQ9nLnB0eCpbfK^O$|#`1ROD9i0eZry9y#rQhBcNL|k}Tzvo;5MvXv-iE*bVxHwX>cKdt}gb?k*Bm%vt8Dg5%xefe5E9^?+ z(GitsQ{B35O2i9i@6e(-YSKeZJ;i;X2J%I_&2I086#L`rWxPU_%ob5Wx z%s3LppF5V2uId{VRdJ2z+kdc`(f`ACygj{G*Sv4wzp3ehsen@Fh$nXBNSps@k6P{f zP)}7hJU;;-nvV8lIGiu!*ZuG~9YBqLthH7gKhG!ZjYz?T#MMqpkR-Chn#fe7EC@jG z8?O@Vmkib%5)~ER?5~as4=^AmCbE?t1Pb#rpv1;B(H_6vQiel(sJv(SROHsjfi~$E zi(q^?_sM`Dt$}rJ4Q#1B;>V!hXx3e-F#5NkRrq>lcjutRnY)CeoTHlSX1E{T!Ra*j|r$6m2bY`P|W=oniuz+ppGr`63%At+XTo|2`M8oyt zFF|{GCiT1=ba*Fovzheegs?a)Fno7+7va2n)>js`J1_ZYrFshzbGnSZ2c`J7H9nrI z)Iil5hhwNlEK#wh>^30XK$YYNh3f2Mw^U78Pi+}-NvNS0Ij3H|du!BFfvP~9b?V8L zWG#eD2Xa*0?Nh-5Y@GG$efUjQZu7TE?WhnSQwtPEoH3T!-0Ez(v=Bz^=a)-wjN?S} zxz!)p)#}Ud#4mN7Ja%wKAlrY=I#F}ow2ZQ)x@)^=$K|GY;}m4uCmNmGI{nC~{X8qe zS79G1JZEK55=}hfPH1}NF{%EA7FEs|Jv@@+Lxz3$=yY_rRAD$G=#>CHJ38qabgsN8 z`Y;{)%!0+vXNkCRkuf(~I8P&?ef3N@Pd2^AvukNipsJb+;gwpO8+Y((9X1)}NCq93 zy(s>6fawxyVC>a~7+L&#qt51E3}k2>Q+XMv1tS@}W1zJ5eiJdMuvZS$n%a2{wD#R) z*ks8g8RK27<7QMg0^?tM+8BZyn_U_o_(aDURm-ECmTaDQity;e#DZSA=sa|h?Xr#5sun6)m~B`j)64lRL@qboeN#!BBSsYp3qNQ`_Z zBp*S3>$Lo1dYow{6`Lh1IG<+k^5`hW8BXK;upgmmN6l?}#g2sQ!phe?HQx)|syPwY zwXts6AF`)peU6j+kXEhqY*5AGeBDGs@n{-7#Z%s~fO@fen1oBov319RJTI6#kd?*f z-WH`|E>mESq%O!a59wF{jO+kHs^4_N)KUFskoMPljYV?`Px_)bD-S8`}3 zc*VWCuUVCWdnf?DPoU7)S=+@IoqgOd4VDv@asLc5P`+lWbm^eN1YMYhy^hv1zwJ&H zce=`kptd?FC3@G59^Tm+_Q4Dg{Zm$4XjV5l{au$Nm_GBsZ3mC6@ZXw97idKl_Pq_d8B7VK3Zxz}Y6^|i_rRU2!LvmkAIkk?iSP4H=M z(kgi;RE}nF(1z_xJtmfl{|Ids)BWy^QRC26OXm8O_;u;Mua0!k@GSs1MxCRk}?hnKBOQy48*w2flVwOsN}wBOc|xki%R!&6EO zuV#JM;y(fcFq1reJ4`Mx=!K=j{ai}Hxuun>_#XxQ?>n+3?KS+ zsdZfXge8b($tL>YZDu|z)NSUC_wVA~opke5H7TJmV_IT*lUxHun#5W3K}NzUL+RetXqgmd1}xu;5wClyLp-bPB1v! zO&_P2NtSyUH58}Tex}CVb5Vz*>044@!jYGzu5Ar?$ch155Z&9?QUIle_Yg#_FRU!U+l3L}wY>V*j@vlA!OAu3SUk-A^lygTx~en_I~a{Lxs(didO^Dd zDQ%9WH0>TU`B88g1mLW+neNZ&E*Nx1C06K0+^?mhQD@MZZSeG#befVUX{Mri`s@9lN(Xj7q$8|jc5AUY;IK20BO(D0i3JaJ?o z*(WuF@1Hgqg)uTT>@}FKjG46*(~N9(3kOGT7S@wrZHHgxWnL<@%?J$M`*9o#z^|>@_Vf93dRx*jNHXHk051=ha#U0h zkWX-+AaAwMzb~c1y_VASt*sp1>aMS~v=J3a>m^p?_B~|)MHLG$G2?S6vy`k(^}K)_ zS~=V?u4!0oQ-Yvxo`tcuXK>yp`3A#MUMvelm_gT`6xT~WdL%q2#RE$KM*NI852A60 zh}p25+Mf8!(&53Nji%i( zz+#%8Ni-lUq@XM-{ekUD3eNJ53}LHg&p-D>K^zutW*bZVo-m`LLlhd#@?r?W@*-w> z3+#MI!Su|>xGpo31i`8Ps6h>to6UoGLN+H`v%&b$@JBK6vhP-{O}N;yJW(%y=3&@O zlIReaBAaJ*t%ci^0K{bnFq%qO?Ucq1D*M;3bQ>$aE$m#QZXLbdEg2$Y~gZ+#oTYg7_9p*<=ynWq%=d zx2v@=X>D6RiaO}2A37mIq6(*lrxnqPY~0KV)BN_C1!UPedhfabft!fT@fK^U5kaWg zgYggSsfqN;#?iN7iE*`v^D(NvX6(&ZXtU?Jl<0eIns-skne7si#i4@>-`CX;7y^LN zC>pTQE=UE>?xDuB-y`y0V&owldh%*P0NaM0rzI4?=r}Cc_x+&8=q1o0L1OTd&3svK zICm35N787dDUoxJVP>}7QEM_iy{FKuwf9Hu=Jb*ikYhK=Fj}D)1i))IE7vtM*flkS zF!%S5N><$R!znr`SHJkY-?1NVg8nRDe(WXY__~ODF1*vg4=G=JJ(!_&_Jv%vi;K8T z+Th6Zpqou{81(1NzH5kZaPmj%q67&9QJnqS<@*9}q)lL2Q{w{UxTiQ2!uQbBy!Hl4 z09KP5OcGiS&N6~|K<8e1y(4T=WYzKRTnWK`5X)vW4hvwqfy>E z=bJ}bfqYEx?mkg4Af@>PF^^qx%eUnx$CO$xbclQmy(heh=*wKN?`&qUVbJgn?p9~Q zAlN9ANGHITN7Jp5YFidzN^@l8G1GQH_%0r?fF-#Y22{PxvR?TgZ|p^Ew$u~I7J8IX~n6H zA@gJUfNqu#R=gcIruV7y?&KL?~#E!3p7a-&||L5Kl>8ypC(Xsp_=yp`Bvg284L2kvYKQeDP zB8s}nc5aS}jI%yuJRD*=B9Ip>q2WkwL^p?ASYtO5b{cVRL3;3lp-ef{-1jgo%lW`Tly3NDK$ zUG%ROK)SQ8r7aPVvR>K$kI4rE9JCw+l$2%d?5!6-At}KMejUGmUR2;;TiF{rIG9=) z|8YVyqo!`Z$cpB5S~=*_!gvC1D=L~w=ZgrFtt*Dg9R1Tto4uP`$I@VkXvlV6yHf;8 z4UCz7epEusE+%TU(0-zMVeji#kA_=-oNO1ilH<#_Mev`1qzhnA3!W22;q2aStMi^7 zX9420=0*UwjiziC(_|6X@|dFMO_Oe5>>Q-5!VKFv-%Pzc2IyH|!vljOmvCAoV4{k% z+`q*#4S_MtlYs1Iql<4O^SLw2OD~@1DJLq&goi!MwA9$x*y+iE?-0OU5LX7BCQFM) z6`gg)Hc{Mq*O zl8I7e=CHYa)Y$wN7v_RIT_Z2pQOIf zjSXKTyop>$DJ~w)cAUk>YR;*VlW8J(iJH<+f?dE9uqeVprAv0R&lmXD^wDM)>?&Lv zoIZ~X(HRLF5hkX?5V;rdwnQ|Ls7C|T-y=@>p=zEW48U%bhv!O7r%_Q(g)6?$g9K&6 zYk;NTuzI%^EFpTHm>kz&lAgCf z-Va#_Vdx)23IukEFmS&PP|!eh%m!6_I<2cDlLX;XOfJD3uCYrHG8?CBm}vV zk&Roh^(NyIx&$bOJc`~SRmPg2?UzHT*9OY;n|dw5C}Z~%8@P!IgJ+~emIeg~Y@V8R$&o`BHA2%qeK-=q;hU|2=IiWVr>P*72P#E-+~e1ylSE*LwwT);rj zu8?FBOX&@v@^}yGU+7C@n#G~lEYp*%!}%|PB3`dL0U9r; zPp!?f4FWhwnY7haY8+g}ilKYW9@>vx(rFVhML5ccl#w4uM^t})A#2yEOuQRIG^C6; z2o-hKhH-Xw-8z^_L!BSm;1G-rCH7?jc=8Nb?Cj{0I=Lz@d)l{*5L_@#j4riut^NdC zgQj`UQQ(FRwp)M@DBa<6D}<7yXMeHlz%i5|VHL1?y|VfR8ACx|{B}2!Ob^BYvwC`~o0AdnJ-Cqa^o>#S@-TXN#B^>ik5Qk#$Ww|LgWUE_lG}t?A~&e{V9p#rK$4!Dj~~&*v1VLI(SgSf~M$u%e%I= zDDI%I1zizpl|n%<%Bq?4iWuC2e0Ni&)Y72Ohm=vaHJj)+qoeM%{DZVSH%4RD;W~NQFi=R|! zT2-*oO6f64GMbQTRh-+fh60)7SQcR|yx16u(O;b8q7N>Ow> zg#R#??O~Zfp%rjFYcizx0dB~a#pajwCfsIV-(prIYek?SqSrvNBR01TU{WUSv7MUI zEd0152UVYGC1~TyXI%$<9-+HT@58hB%p$V{(Q>Jp-P+cfRpM$Vv|0`n$vd$8Y=waA zJ^!+DGg$brS==fOefK3K5II3>kMpK>RhkVTx|STRPa zDS1VeE15%h^+)U6Glned=LpwSWDpMYm~#lV#ghcxyy1K6jMS6jx3p%0(byMo1)Kaj zmy&S${R!Iaeb$LL9@n@U4cw!@gORURhquC0iu?Md1@P0Qyt|E_8R8bY-O}MNry}}% z2^@D8#DE&+N9HXYN=BM$?58ik^NrWYbB=*y0%RKc_WSgEn`HyXXK+=7d=0EhvUCtw zftr#Y`9qGmK&=#QKAp(=pGw<`x%vw6<`}#b^b{hj;<}kZX9H9jh01519ZwH;Z2_mX zg@p@xY@Om8=P=wnG#$f9mjjUHKXn`KK)b$P_9apB%7rYik7^e5_kBwD803(&zdB9r zPU=-ihQXo{6W?X}@y<@@tIp)LU|e#F+n!=2f$Cp5M5K4#zYu2aZCj_xaJ=)Ua$IaHGo-ZRi&CQ{JIfzZ$ zI*cQ4q$`~mglJaf%0oGLvOD7PS1TI{YBh#XY|wLl|4Os^czg~&syG4W522ImHj{b`4hPA|5nfQ-{|=>*zTY8yk&#GiRtw{ z{HH&^!FT_xG+h{j-+84)p5ZX!$c(@1OPjbppMA z&4>SUfc^^J0|i3^`CW7Tb2aiUtNu+gubO^?`QE1RpXL6X%D>ere^c6P#L@p2E0Yo-?UBg5Ajt-91`lS8S?9g^0nw8LH2g{zX0!n0igf@ literal 7715 zcmaJ`1yEc~w#J>{?h<71KyV2jAV`40ZIHp;Wk@o?f&>Zf65Mrwz~GYL4#5fTA-F#H z-`m}Pw`$+H)wlar_jhjfxz%6aKA(mPG71*LlQBlVmf~kAE8=-BjM z1#)q5u(ber*g8A$csW^eJA>S9-MO7zteh;JEj%5qoIJQ)+^pOm>%YcmJUS(Qbb#@f z(?>u5G|b1As=T%|my((S4>E#=3i{J)5Rm?Fz<&pl{2k~BaHSu!g|dO`5VMizqHR z%db{+v03%KL{VVjVTeW8taf|d!p1LZ3$643{ZT6APKHK>L@22dJD(40LW#OSoqe5G zS`inKn}jazw&EKIOB4QX+IZjFWb!h4A$B5Q%sJ> zL_EeGXAF4^%zux`Uth?|1N0Pz1Raobo-qF1a3#5`sX;NyYu)B}m6{)pRE{2wHGor{ zn=!;tJ#0biw7Aj62%GS_()teHA!{^2uU`K z@ zcC%mv)^{Z>wM~8NZoff^-ccT1lGD7zkvHT_gUo96K+DkbE$vdh(e_;??T8QcWX=?Y zLz}2ck|E$>gqaP}LaewSGTy_zdsSFJ?Nag5T&fb^Isqp~-eWxQWPadV#9 zbcmW%t@86yG%=XG>9L9q4w&iuV{u&uIrWy~{N&!s0CEmp{Cl#lV?xeLs4Ct^punu; zg;_v>KYUIkxk&;jMf8gJuZ*~&>DG2UPv)Z!ZbJt>5eyA zm7A~E)tsE1=)>}kPxSfS^oNKMnd{XNJ0~D+txa#=LzX!>zsMKdM^Qog`-Jj1RvAAX z%ETOx#CKWHZZl80_aQe5ojIwlbyg99FJJJ|?@Jk6y!|st|8TOMesT-QFB+pDo8W}i zjP<=G1;4ElVr1HMoxE_|rd%o+UqSijxD9{YTxpTXOkgqxUuam8F+&ONd_gxqtvp0j z=BSR9z-i^^JRkShTLfLSmGtK=_g!u(ZYbOW*=w!+r!nKo7CB}iaI>Joeu<1-YP!-J zS1g8xRQl9e*%ekmg350 znktpMjRI?)5I7c}lX9#lUa6$UKz3Q*GxSDVJMm2lEr64!i=9p1pNhlf-o0S#yBg$X zuuz{eKhD7W0CV{TV?m(v(0(4%_QEwkPK#MwP@5tQ_V)NY(gAo+B~?GR^)%W1-R3I$ za@vN9gN};f@vR|YB$PgKIcE4q>tRjp_wo&8#sl^fIr!2N$!sAbAPhY6_J1b_>__^r zaCY)|;^rrQ&{h31&xYT6RO!NQ9b~2c!eVN+$>D(AU0JhUH!`Lh?E_Yf)lsE7a$+P) zV%}hf;Hm#8U8P~_%*d8Pnc5qwign5FQ*Aq8OtlWgz+CZOziQJB)XTQE2 z^V-3r6$f$XpV;v&=2--~8vWo3d#-3c8>D)ngO7~1creVHyMTqx08pgwvsb4cG78=$1#n|2Q zTHV89-zt?F$emyMBD$GNV9l+9 za0tg|x36Q|$6Sp%Atx0UVg34*`Xw$|#N7Lgw=IF|!OPDPr;N_Od;ZK#)E>3$*o?zT z6jVV2N6M6ktlJNy=&P>3V?I^P2eM*+{rtdZhl?ZE1-U9eT)7mvWYX(U<>*K47&Y%d z+2kwH{?RObiLhotjs{i=0%3lArpWFWU#a}1VbdeEM0r`$6SZ3(3vIS4CLUsb`S8xe zin`}?iS&?0jrC_M?G-B4beq1CC@40_e~9V9$n#Gewvc=fv@C$_&a?&qTyptj*IP;{ zKGI;DC^5FFd-S{Pv?3%A!2OHy^Y-y>r8f}sv%s-~`L#iTa18ToWzI*DZ-?E|=u>J~ zN59%a7nsL3`lquol^QWLV#0|q0*aj){TMU+VPXt#fQqPmERERtqQI+U6(6GcK&a96 zVkX(4BZI%PX{JfY&>zXUg1xQiF3P$pB_X;jSwxvBfd&7WReuwd=WkR;iQ=b}iTNFg zLdi}^(fKgU3A+nVePI#M*{}M z&~N)-^dOZpF;sFeS7fF4pOUv3AlRHc6{cm{~?Jw5b0?lKg0FLjCowhvpE0X zLVo%?bNBFduyTJ|#|Oqkae2ao@FOkZuk)aQdt^cd-el-^ee z+`2=y%Vv1~vlsKMbMYwTyc%W$f*Wr=DDTJgl1zWGVnc#C>3!br1DiTM|qdoM!COG;rPb+ zVU4pPS-#CDLL=J)apg3DDB6Mv8?qZ^^2)*r{vJsd+%LriHWM;}3#6SlcP4XG+D5uS zM=Zh@fh?+6JF_nS_GmRE<>qxq%cKXOXYpy3o$x4ALQ|9A8X_kq^6C8O(xgxR>Nt#s zPTxKo&p1mDBqR0mlAhFtUP!HTnVC4IQra{)s!GW|zdQO?B!f?5T45=Ze_dt!hl8dfvE|_ zwW;>!-OH}xIc;Au#g*H7T^o~F5SEdJXUYrIv?=cSC!;FvJAQo9y0X7KVUu2zWAz+A z-C?5QB&!@99wF_)#*^=N%M51MYWu1zw z8)*C6)>;gE(5=l!H$L-t7eimFX8QF$w`R_3gg?mFlnR*iypBgY3~GmZy9WSE;~|FY zh}~*Z;zz`a)d{Cjo+LU?+0(H6~4biaUXsQ@$sI5b^Dwq7Z zF>$qfTpFefG&t41rSg9W!DgmfADcXc16T-Kj zvGv-`8Q0^gj7>spmCcobW2Y3cJX2Rb32~`;;j@O$srK!oDl?4mn8oJp80B{WpoqZe z+76R3K>$y&Xn&rF3;rL5^|O?!mW3-xHP*VgJMJ%f4{xuR-#u_un**LTg-*__1_ZC( zTsIqs1TIb_*V5e>yh>``@>bvx)oOlStfK9;hguVzsG;?yM}&gOKxy$?OLrA~tp)6- zh(VD~05!WF#(&YoWVuKo!#|9%6Ygt`F(krdxj-R_y>z*dk<}o~WV!TMH8FWO2O4OJ z$O=$p%fb>{StT=3&1TNphN(~edPQx5?CR5{wQV5PEu4A)k(Z}zdui2K|Gbm19;#7x2dE24f!cp8|)kmv9 z3P2swv0i zPeUf=OM{LXEV#~bJ+u-c6>xxn)u0U9gm1M>_Nw4fuMBae0^b^H?9Lt{$X zXQ1f#GsU#+Sx%rXLQN)YOGVZhr7Ve=4kn*vp8xJI+{WhMQKh%q~|RK2UY%b0i|anv#LOO zlghKyy4anYn?b4t* zD_VC=SVeUQnhEW466kPhkv2I0(5kyVcY?T+V=50v*$2OyjaseRQ?05+N1yrF8VjXv zS2saA*MB!Vv|1$u57};ZheT$N+ns*9lTrunVyD1hB3V&x}eufAlP*mdWBLa z)?{(W;Juuf%Q^jFzpp&}wSa#&PZqFPdNV5jt1Sb?{f3oa8+G*>$)`F2**CB`GHrKW zaXrG$*#QFI_y7bcR}F2jJAk)!%HMIY6~;a94Pl0ipfxS|m)BmrB`@SV89y8rlDCNB z`DWB-wA7?LsBY4?3g0$X&=WlJEr#F*-3q{6KDJ|!lbXs|o9+u=pl0nQ4-9DXOl}<} zMOI;cM@%`N72i!KEX>+#o~GtgO`{`*gdGsbf?U%{ApM(TuUvCUaM3x{WlC)zJ9qIG zm$0tut#ku2-z6jc_4J<_CoQO9OCvNPnGSs)ZVo$k?mXVlR6nGxP1M()5iJjuG0ob! zI$3w~X}J!b8U_7TdpL-xFW($Gxej`;$*d(83xoZKJXguImMKjN5sVk^28>L7s^TcJ(ph(4{e)6W+t_(Ros)y z*}NVf5cTh0$Llqar+LNr?C#m8ee48FG3JES>6?zxA+PQJvWY9Lnwhnn45}SXPiOV{ z2CAl-s45>Ey-MpeyKRV#Rr8!<65`42cj*omHkMEp#5#Hz15eY~;^bO$?6-nI>u|@} zghk+aZe4M|_T=DRM)v5azdio8KCHQ^0)Tx37OKpx*!l4$YZ2#yV;TPWcI-fxk6fX0 z&Q$PCGkc*A)Yy0QUcNM?>{lK$C<~DV@AikpDDhOCy#xYoIkGv=+(g$KNWIG)n~NZb zv#^qYTdH-?PrlwDgl7&wVl^NS9Qqk3Q((3_nYUn1Q}I%Q-iz;a_Zg4uh&=lsp>u>f zf<_ugVu3N5eCucPoNdqdlc8!|K=J}>b=e`E{W;V^My-=+jD|NoQ^mTUZ?D z3;z6BNw}_=o;p&~MVr?E@3sieUcVXJ|FKq>Yz52H>os3_t*)NAtLkIP>LE<8Nlj8| z@IFVcwi&bKLwNCQs_#qf5RrlLl8JDP`AB_N3>=wK|-8x0H~wgV?XcVs2k@OYwNgTEn=83z^j)(4WqI(!WWa z+i?*P*arT;bKm2k5W(Hb!^76e`mdAUqJg2-FG1qKqe?Szhz*?#cRT3|W-*4CxH-kzVk@AB!7$XO0ec9vW_P!+1__ep$wzR97|#JffASddW3D(wq~ zrQwxh$SnZlJ;pCKCwZ0}4!HG1NU1u>}A*VXmy$dXfHFVfc#MgUPG z_3C-1qXFGjdWh9qol@8Z(^}~$xJ$YE&9P3NtAXiVt3DUgj~{L+^)Ko2^ajK&meWaA z1pwF<(@wUnl9ycWu$IH#2C6S!JTu`Hfs;kh{@ELwyV+w;@p8YL6q)N?Op_(J^F=_; zINJo#s{(TWv?M!Srz_Q*P?SYuNzJmGd(2mc^nwSTeCNr1v6Nk)! zBm(3=&V2XVNAM}|4?VYnl!~BI`2F4^m-ySVBCE`qxgd6^E@N?+Bnv|T3*%R#W+uL6 z#dukU9>mW(f#+nGcJ!yRTbve?N&QhTEE4+-JCV_9`ZQ}iw&A^=XFM~|AR@?=UbXMO z#7f9mm|Lz{q(chL{A(!<3E3pFq*UvukaEErBknhK4Sivpo@?_xtb~&3CbkUS<9pL8 z?=rmiEh+Z!i~HZnrxIMN;|G|=Uti=LRuy{OW;OAy(45Dv!o#LA?ifJyMl94sWl}qG zEolHUw$sJx7GWYY(XY~G?RZ$?@hLn3z3r-}&AF?hnxY@tdgTnOM~WT51*?l=e$ScNo=LOel^n@3^ml1 zqgppF=8#T<3KLyNe`7|HCdLY-o@wVRJv`9|c!X6_n?9gQz?;V`*lNRnjxM-p;gfnr z0^PzCyfqphK9Mi}N#D(r^BeMQl<;BmYt6J;=ZVSwp4qAy@l|J+#@V@Yv!LznG43FGjAt(pX=Aq|%U?O9?xk zfev`;TRj*~v-2_*+kUt`j%bq^q&%Uf9r$w0AwwViIiUtbrOXrSz{mO1$pM}lh>Aw) z!-|9wCLQa7?x#|KKU?kRTdd!oKBT3r2zHSC&N8ZFo~L$J6XN)?y|PsxWR!y)M;Yz* z{O)}TY+T0^^+YUQmT;8*J?DjJ$~~Cc_h23o*r-lCAzvYe%3^ z-;uVT%wz6+_t&BSk~N$0LUEt)sM6cQMH{TQgG;Ytj_f098VcYSzXMvgv-q0dAwO}S zqdy+B69oZbnBj^05RtGD{=544NPvH{e`t|UC}MFk`d(|1p diff --git a/odfdom/src/main/resources/OdfSpreadsheetDocument.ods b/odfdom/src/main/resources/OdfSpreadsheetDocument.ods index 1bc08dceb1db3171bdcb32a6cc76498fac62ad33..e2391f1b6eaefa32fb5c980ce6c73cd54fa06246 100644 GIT binary patch literal 9435 zcmd6NWmFtnvo-{G*AUzZ65K5iAOsB_AlTqAFvH;P?jD@r?yf-s1P=~D27*J706{-E z@46>B=gm3mTld$kSv^xdGxhB1-QCr@o+@Q|ICxYT7-Se2gMtM00BeCzHW(O~hwc6= z7#j;4fP;%2z|hXl+QQh-!2)Q@?r3Ym1~dd)fZ2d{09zBFF~kO7>%a!K0|5+8z~%se zgYsW6?_vHFvU}}0(ALz#3pc0V`T@l zgV;To{>x~;vjaOAIzavxUOE7Q*8lD$#c#Z{urV|PfY~K29Bd5j!2jav?P0Pes=;5jg0};fcx_a{LhH^Fv!Tre_T%Y$MvV6-)lC8wic!U zumc;&#B?}r*w&8&+y78F05CEu&W?ZpVjOI;%h^1gT{^E0&k z1=n(9?Yn(LvX5cag+EdBB_nVX$#nFZb^ z2C(v>TaVV{FgmB62rIQxcTMrz%cA$yMk1q-M@U+HUw0=J7+FIx)l_lV&5Cw8rxXcW z5-iH9Mm4NgZ40WWjPVhVKzTLj@8Cz)tSH~hm3X2e(3QQv)^E@@>6asH@Qo#MboNUy zdj5v~N?YZDuHUkIg1PH~u`6V<_h^|W-XM+hKxwB%$mMSHmTmNoWUZpsQOa6;B-iXR zdb9SJLS3dpSsn?w_S}2|0Tu?v4-N+A;rjpm^xfa1FklB4YXF$d*~WTU=MFf@kAIim zL5+&rd_^Tc&uIYI?|EXE29M{PJ$d7=+b_o&%U_-D2(9Qa6H<)hm76R#)}*b!@W@y` zPcm~#(rmC;D@7)X2XHw#5H?~CaG+TbjxGZE4%;*jrmhF#m5T0NXJx}TtT}E}9Nuq_0j8a`GD4;5(C7v_$vfYRyn5)m&iwu6$ zj436G$&Maq0 zm9o<m z{<@2xT5LBjCn7i%E3#gKuR0;mrr3A$g(#(PwW>(g4zqj;{gR%v3M=Rp!GClY($i@)bAXAJHmaX)pygWw>{}%_SRuh#I@(hhHC-v438K`^5nWg z*OJZX9KW`&;`=Bl+Ym-itlQS;o2lco)03>?tE!e3VPi-s(gpTtQLO|t+uyWJh^ZFR z+oYWk0CJ?G%oxqqz7vi-6>W7y$fugmokQf3DiNZRa}}&h1Cj*Hh>+xD^xiV_h^c%^ zF^F-vm8L-6SF=YuFZtXeA)lB-SjODlM$mXF6gH7qLegV77)UEAt*U6QAzqZ?`Pe0y zHl+9>6i~CbLFS5_gl{U;@+6<>k>sO^-cL^+k7`Ym+2e!b*_{LoHI;og^koC2Qb@5^ z3G5;#zhdqLR1cM6*m5Tar$|e96{q{^?$p5p?0t;1ROQgok_l4Q4fYnC4$e%;Yvto1 z1f7T_CR(L2CczrXc{jQ`FPWxrZ(F}4l$pl(FV=qzBGiJ_k=FQ3w?wEDbKA~#G7TI+ zP~d>d2n2A0dibvd8M$&{9R>^HP05F8Lwxw&KTC+lreUcD>>5(bbPbLA)LHc6nonAG z#J5ADl;b3lf;HAJPjfdiJ9!(}7a-mA=!o3~D)^oKgfdMv-J@+UVQ((H z>_X}oq+JriwPlA*swL$lJg;uFpS~R}?#vMm!YuSUC-qr|8hvQnoo}FTSUMowJU{lL zluZY@U8EQHsx#MogM~t)d$CW^=)&7`1 z+{Z-($Mx!_Z5UD#($4spZ58@C#zJ zx062HYItO*U&QJdznv+fAy#T}^>^yVAZe&)SYJU+p;$06h}t#29evGjSB`fRt$JOipp`xa8BtYtPD6 z;8sbI>4ZCFAbWdTG zEW9nWw#h6w1PSFM>RfB+=%fk_C(p{kvo{`h$cHBE0IF~Fi*aG5OsuQ%Z#vfJ=%wtk zd?^p5~c%WoKT%V@X z4GH0Y(fCw8BdMkol(@CfBO6obSZpTURL;BC;#;yQB{NU_HsN5>%RhQ_SgDG(r*gQW zyqxW3zZXOY3{jUiW$NdBW4T+Git%K_2zk-Dx#-4hBmP)o4tT)6NmBx}DVy@2&lr|^ zY%Uq{#mtvL6Ad83R8Rf340zKvdM)myCEDnb3v<-oo2#{v`J zVEFJrOVH2*F7V=e%v3av>FZEdUsoALBsPAVhv!KYe7;_~MZ>B;Bt@%A!!&ez-tyjB z=8RN)$PX@db1@2hNC!Ew&?Kysw(*Z`ST*NBhXv#}M*pz6Xl;!W4b05%iqNT$4n)z^ z*2}3?2}$fStoe}PFMjr3E*XErM$0ON(bQj#mSvolS6(gP*qqL#ms6e)_pp8G6Yr~q zc0%Ec@UnHC^|o#DrHvEyw`^vKWyxJ!j*gFQOUq*U%PsZL<424$dbP4>Qk}Vpdl^bI zzI|y&cKa$*lP{LUqc+LrQFa;Ylpj3JJgBCvlC6P|@ov0Le!o)Bwp@T+(TGQZ%bZ@n z{K$?!M2<(5Zywd!Q-HJZHLn;=czK0b-}2Vjox2J3SmB-n~;-#Y&&u&nBVT!uz4m!z9w!2LNv%dfL zY4ZVf60`w(KD%4s8roVw?|fDye|dlure}W<auVpk?Sc+r%#&NIE%)bU2Ulveo>vH~mV>EK$)zr^zdI zjolWoU{s}m?njMjUhRH$jKRYJ7TW8rIF8Se4YO1(5ekJn`H4nYS;S>ED|my&jYn$T z(g$qnW~i67lrgrAcyp-V$|p&=dZG8!n!ZVjhw4uS;S0`@OEvm-EF_Wj`BAlky;o>g zua-p`Ox&UeA2EHY3U5JYk@xX^=P${Tf^!}{H6SW|4mFT0drHH7A~)tFMTGcC5?j1r zAQ@}2q3>DQg-^Whd#4yQ9^?#wPoH<6mu0rx*c7>zw2z5xah3rFznq?ed)@#fS580W zt%N~j-GRosdakirycLl+^D|}{etE-;z;FFe(+f1ed9+_&UbOlj))W-X83}aAuO6X@ zim|nSN;>IBC_6B$zkuz^Jn2nh5myafTp7{J@9SkubN?u$06slT?M~`ZOGY7Odnx~w zX9x!*ooO)fT`Hg%zi(9dvPWoYyNPx8ICFF;|>YbE3JZiZVgLZ1u~OM>$r%|g4NebKL_w_AN!*5Zz{=R_)dhF%W*xanC zP0vqTw5E<3K&MMUc=y6wKiQvvdbuZo4YxO(L#_+N5wa1&oV{fo%ay2&p2R)gI@Xf8 zn?r{;&r%n1KAnh?H_}N%`0{XT=kgNo`?8Qj{?`|Rq;i}Ab6@E|Uj`+{a`Af`M6LB^ z!d#d9b-yevjlWosc>M)B_;Ls_0fdUH%kexZjBdYDK#Mmi^Fv^KxX8d9z`8TLE+9AE zYOgZ8jBTHV!R|Rv{L6)Q^3*9Xjlfg=eh#hTnQiwIh#=#*AzzDl&{EI%iO6J){FFBm zK8VT;EWQViGE{$p)dCwdEu8?A7%iu+*=xD-)zj>lcdR2Mbb#5c=oW};t*CrvB{Z$e z?xj*dbMR>5L1XHP%=;`7#%J^dUr%uA5bP)2D71P&Z`)N%n99k+B2VL~( z4manMP_E_YBO?Y!yu{#Vi3FQeo{I~*ib`(__Opc2^K+HatMd6njzDpK-j@ZpXGPR_ zHJko2ST9>Vl#FdsNKVy@x*Bt9hjWETmCT_Ybwsqzi!( z#&6^<3_0+aJWu`T<@Ad82&lvHlrwSw)BD4YLt;?A;&Vsk6`o!y153kCFe<1+RRmb* zHukE$r^8!Ok2W>qfTy2Oxw@fd8q6oV2qS2BUXBDrOm2R2BwRsL16m*NgmlJdBvH9GVpsSQe>^NaEyCiB*8QMS_>e`FwYK3*PZeIH$V; zybCARDj4J>tx8y&y%6yrw?60^6sbM{sM#0_SXWabE_UDBIc%BAIH8ti8=>e2j{re_ z{N86yE0JaZp;u5e+2#s;V(RQZ|8_e>hO~BfsqCdvgv~iA^lDhO2B|V5lVQTW{=GZl zD5h_bn>I8Fp5SOr75cRygo_^I!W{{7A)n-E{8dOjV!N)tUp#G(1LQqTd&8rLzszVgLq~(se=V!9O`^MX7R01K)q97arIdFu=jV!q)5$f?@xS4S1d( z`_{9AI<6v}JUZVZ)&g7;8-Rnt-c9^yIo#eqtcqlz=Y7Ym2Jd^60RQurrd`D+#@h2T zI)|b?<0v$I-#XF>Z$D*b@V7rX)qCqH#PhBH4UDW@WXjE`8V2 zK8?{mrnV}G!QHot3U4O09UTCCR z9a;H6ZW(ad#yoyU+t;So+QH{m9uBAgC|M|jTBPdxoxMqy~dbxX%U zj{$w6O6m>bvJT@ErRdX6%)O&>&%Aet`q*rcqM9%zGqX(gv$HWQ)BIS1RYrQ64jfv# z{vD_)R9U%~l1xE3Olx&Q*oAOYXq+I*GLCpgKk|rs2SMM2KaA1sF-Ft`4AZKtFb^rM z?pGEz{cU?88Tu&nWl}!BK!VRp6ShNBp%oz!JBvh9w zuJ=4{GaW#s&(2G;ojhk<$!6L~{?NOTCBwSx*jh&3eI*X9IyZTtSg2hEp$wKIQy!{` z`2kJPt$qyuL@OJRyE$RNjhQYR(9avP-Xd=O8GMP|lo&NvDHIu&OakQ7D@V%fg9=PS zz1xcJ_CLPCTER44l?^QUQS^qw;Z+Nrw~YL!Y1o%DA&t?(*pDa-NyCN`krMKb z)nP<9y9K%Sz3klKZE25lUm!i+KU7ZU}Kdy#} zhv!!936E%3his3w{e+NEQbf)4d$+gbP8q>l2|8lVG3E+oC)JjZy z7fX=LoqjoS{KkM_3z-x42GI4OCj1zGVHJWB8oQQ~pD-oXm*t9_+eTO9a#4!L2vV2Mfy`%8 zxb284&5I4q?Risoxd~7m6v4m5g(hwg?G0LQ<qWB!c3`u zM)!nhC-M19I?c1s++CKGY&?jquo#M3zFpiL7AnVX#Ig!Ri@p+4@|{;4`~`Xb@^&N} zv0g};W7R7(b~dhP?&!ASKs-X97zU?U5lK8*=}HE34Os#$*wiPg3Ks(0LACThh%Pe5 znpY@RuILDq=?y^4vDC~A(!`GDG)!P(%<=UN2Qm|0OtRc+p1jT~l}__+7O4OeP`L$4 zYEu_Cy$c?qFFpeBLubC=H#YP~#SG?Bv1W8ko?pk3~V^cf%EHvz&EmUxr1h&Y;W!|2q7=FG-)#$mVB#wfHE zrt=lcx{E@KL`vM;cb)NADy|e0gYp#z94P^}Nr5!tleT0BK@-8J+p*uXVxnUWFuB?4 z*gP!YOcN2vaj`a##>88OU@xuUvUtwvBxzZ)54ZIQFt;+9#|o+YYPb{Yxa;v=)8KkM zULyP9PCiLIkwBgIieX}!$zf0mQBXmUfcm7F-sMTYc*+VQi5f>=+vfs_ul9??29IoU z@Ssh(OqhN#$44m&xY>EUayO4`sNquQ;LWE;2U|0lF=a`SjQUs}?NgmNf3gXO#IUKk zn=ZzK`mGmZKW&|oxkMLIXm??cg`9*^*d2(^%QK`geBXqdg=ud6kU8n2Rg*DbY2J+K z&t&0rdMXvj{!y5q7Ns6wA!fiEFtOQ$8KXwxCEGXH`;e%gTtg$TH zSI<|6g0)x3YV)#~LRgP8Sx=By7BNH=N;7tslh)L%T%o3U7K-RK#cka<;qPxRmWht9 zOEQLT{O(y=S?xT+_hrXguW|80byeKuH#7s4U8Z?q6XoRB@Vzf}n5`tp%~4cgdDY_k z8#FF+#6E;4A;z3wmUa#S)SQn)?^3PVB2ih(g?3c z(iUvYxjY9y@gP%iUYI-w{$Q0!)Xa{Hk>BaK-h?n)P{ssYaZy=}TzumqpzPT6U9Nr^ zEUQ_(!JR4Zk(cAXGj*wpS1Rfzv+6TW#r|co7B*=>8s%}i*N}uiImC8J*R!0WN8%z_ z{00})@zlqY0p^a+FxGt7T_RWmnyq3TLT?2*I0hBqqadnH zrDJyL>dV<(LSxc!sLX7!vwuV=(sI7@H-*r{!;pIN^sfe-J3kWLvRLg=a}qr4v`>nN zq=Jr%(s>IhoV{+I@fJ`(pZlLb%ebCRCEd;s4LqrIulR^b5oEfc{Mj=!pNsSmjJ95U z__PMYk()KuMoe!LJT5)ialL+ggOMz;>|$Io=$1*fUkyC}5mvQ@w_)NR%e-QtXpGDEZAaFg*Fgzq&fg;Tw!kr^$Lzt%Ke zJ$Do<3|H{Yr^A|E#(AdroigwQAP1-NV=~IL4d>4D`i$sd*4tkV^>W=;G@rsh%sT8N zRG6QM+TS}29@3Ma@<06sf4BPi4;Yw-67)||yI23cqu{UO|Fry1qWE(^@;697I}H9A z<)M`RQ+n>z|MKUTj)VVSoa^7<{Mv!=&o~e1?@!^rKM#NR=VwR4KchVKB>WW1-=O?g zhr&OD{ne#{-+=w>Somj@zfSbhZ%}^iVEAX8zg|EDkN$gt{@T$1`v@QAXHovwa{WWr z{8Name@yGlNsrvVO?eA2|Ps1kMe>ozI)KI?tJCKf*0tuaTd$b>qINAlnJw15{w zb@O(CTDrJ6+CePc>|o9U9?sVMFiW@{oFC=_b+(2<+?}A#Zv1c;SE!{m+!hLT)4qvG zeuKyTBj!z*zYOoj(@+G<@~LVn31FgW195KOf`;**2mT#+|97C1rL&z46z<0F<>dG_ zzQg{5AYs_PKmMxkiWACm<*1Hhn*PajpM52ijO(@cd1GiTHKbAwb}zp5nsT&KX1y>* z49>fD1ivo4A1}Z(iW+0shs~EQ#J*?3?8YJwF+Sx&a!Z)`w(!^@0oG?vjK31QcO<03Px+md5HIAZ6=xov9#|NXT~Pv3%^8FP z&~JrML6C@I zhDhc#3iOU&rgvXwyWO-3>1jHU0@KL-r_!m;pZx>s==ui3*^TqJumM?(zHiGu zos=0-urR@8fc{3>^56h5{7WJI1)E?v(@*AD)RnnE4=z+!UY?XeUFKd#teG$?kxsN8RimqH2bck!_+?)C9!B;t|+Gk!|G1GTnN12WvYB{`JHgV_*Fk>3xrk0D^D!iP4r!-F1pK!6=us0S)5gLe zT2SbO6yzF8<}_udssqwu;F;4gTIt>#(h4W6L2E%(7OO;FTUCwSjU!La-$;K|?5i2M0^NgGCjB2SpdB6#*+->)&8Qz@j!cyCn>zx+=ZHhBJ;Yxec8rf7OI^p8>=I-%g&0KG9)PmnYs> z02e9QtQ8o-Y@04@I30mtMNpVcC*+`+T|CreX^KKrNJq!;5!9!+vY8N-YrW_6ru}p{ zO^E|=yeE`nW0$CAKVQq?*B_pG*7CSIHYOLoGc5QWse121yo?t z`6RUOOb&}M)^Vr$mSL_nI7Iq(NdBb3)O!;WPSJhB)txqxdKN-GLZ-nqv`~Sk8zb_Q zTw5=jtv`1AY_*fs>4#1$jse_04cAxAWs289DcBubHG!Mk(W6ZdUGoNGHZqY|S~YHs zPe)11%1Gzx_VQb{mdXwf*%Yx5EvRT)c$_ki{H{WhrITbz?KBos%ShGQGal8vDqty1 ze^Zj6J0$Qe=sXpJ_$*d%u^;TX(_z)4cgf66i<*utKUZ& zv(ToZn?0y3t^p8PoshY9ni@JQ(D{cQZQ-@udzAiiIxS|uly+~^9XRcO^e}9M8qZ6i z8+enwh@|qf&o>`eonr|Qs^*yyh+P`h(|PacigivYfF{K^AJPv`}B3?p`*AV|fG>h4n{ z++(y~7NfWJwF#*hs@&kI(hSTeB@13Bp1sPZL}i!pm&(s7WW@w!N^!K?^V zNFi=!35}Ygojr7@?#?vX7Yt3Tc)zWVLDGfDIdhw`?(K78Gxsx0aRvvWrYw9RSO^oV zQBqGbqX%2|-OZ?e7^NStCIqoHvuu#X$~2I6NBXU=i_x+>Uf8%JPT|xw0sf?l=zJoi zLiE04vFP~&92sYoP}2s@*G$eC?3X1e1jay*)C9F>4^|s0Cr+2w)!U;Y*6XlbGBOqd zPb5EXA4~sQUngl3k+aOlXXhiV-dvbGrsLlJpjUH*2tf@PDnr+l>|6&D#+Qzg>de zhV#y|BIK=$AlyF1SpviOYL6;Q0F@x&d)ugd2Zo>`&NNOoeAe|GsY@bNRSLe|#5Aeh{*|Fk>KNVE^qG}n2nHO2GH}Lr0)m~rD=5!=nH=jbg#}cjHsf(4n z>J~pKC1V*a>!!PG+(&fF@$1MQ)|y9H^~M#t8s=txdff>$i_fpBmW0G%5CG-d@ehdb z9#0_A0W-}ib|QxJx$n<1$lWoY)q^zk@B74`iYj3Q6DJ! z4=Mb_Xl-67W9BI9&|)w%`o0~_?}j`|qqd;a$Dk|P$;VuKVj#5+N{Wrg<{}mx2IB4{ zlTJmaW>V42P7ErT6ij}Cf?<2NP%=W^_SGrfYF0i6DW>K+x*_^^jSsy*V z+}CSmTgh&I2pxaiF;=oIY3flrNU`E(3aXp;7l*YJ-sjDKzE_dw|1I}GPfUr>v;9Tc zQgCi$_#HERW<*INQBgLkY)mSt3z?j-PZH&E1n*;a!1Q2U)kx%+ZB)l=%<+4P?iPY! zqBF)tRau}Blh9IJWjbF_ZYi!?eK^8jzm(O7v-6mF;i zPuW=&@0a1kg(*3Wt-*ruAOV;%QAph~ui?`9VvU}Rz-dP*%3-NK^N8^# zGvk^)9>%XN_dcd!On=nZ2RCoOM?$i zFEyQzdu~Lwq0VbBRHm|&gUv$!^r@$}b3nIyE$kX(a>cCDrm{em%5ze~$R<1U{?!t; z0*j*hy`C2&wQq1)D?(ahKt9dS6XgAdeH<8q4XG5A_xDABTQX;L*V^3IepilvJJ&4&*PK4sZ^OH<9NtLY~PYA zyq9?OdAI(g%IU|l*z5HE7GaLKD&17cxmA<(tsi*4It_Hqr`IISe4R3G1w8Q^KK|`- zSC2RrT;sOt_iQPoq?YG|3`$Q((qgYmJEnfzWBVCvT^UGtUVrtqGHfF&&aCKY=q$hF zNKVst8SKXwJFmIxa@1N%>B?$M_CxXkbzYsYSdrJI(Uv(p`O*ez7SVr(nj^L9$k^Q6 z)brwc!?qqu%r95*VeBZ7+frKc@ui>}8EXDAN?PqQ*KoGiiA?m|-C7F&C0Ea;0au8W z=)#X(16|kW6IF-Vkc>vgF+TOf#<8gd<0ufgioZ*`ZRfP(OD}0!U&Fv`4z-ZLF2+Oh zgc)86)7+#MUB?g0R`@TjVU?$pw~TBvFNS7>jfUn)^}iVThOW`zP&YR_=VyO#@}AK= zXj_ataIp>fb?n@)@-nO{!`gZ2=&Bvo~PUzN{?38sZiE zrl+Qs=8*Ez#rZfKPSzz>v?j+zPnk%|%w8*4C6M^yYW;J`kCv+*ak|*52z!dhn8c*d zyW&V(@rG4hI~@*=LhlLc7QBL(v5d$!vk%Z5lN!cP=o?IJ46JZ~C=)gbx=A}L)(Q zmZxXOhuFalfKCkWIA_5+MG2KkhNy)T5M1@KdE8q5wP-FEVh4X}U(%&XVWmbL}0tneM_d%UK5)XpMBW5#0JduA!1z7eC~lP;B8 z?2b|PYLY7t}TPJqJu88;tS>3&n2xC7T(cPEw#LpWSOH|(-IUD=r zvR=%ndmDJMP#Jn5y-R;lBPu8ZjK?CDJILV>CG{6NNb?bj7~6hF3mxHdbH=EP!3yjZ z9Q5GNcLLV~mPkYcsvDk1^&SSpWD%nT{Xdvk>EuS4ST84;z6xnFl7NHDsT)T1tce2! z`oX94bmA%{7N`X-)aqOgM5)CjPx}q{W2F&SR`x|LnX-3&@R~+1uItS-n)*Zpv@NrH zwRrlDrD-awmjqLSb+7jm+OlbZ;g-qWtRb1RH?xBN-(~DRvQ-|BQZpnOdt7h-fc_e9 zrI!Bc(Idw9^R8YXu6c?y#t7Cm^8NZ#?DmJ&i#2OKrd3mPA$+;$wHW32xdh{sF7EhY zB9#c6ezPpa)j0m1yCiw)vhp}|xjsv!coHIA7FWuPegf{eaJOI`q`la&)LYz{vdG#J^$>U>n9$3| zl9?-e0rW_*MA6U!esH4K0o7miEvw@X`KV&AZ{g-|SCq?-oUl_TPHl zpMu=2UiY_wZ`{AsyMMxdm#l8py1(t^jr$kuckS+G~(? z_pSKt(EGQw-L!+>M&N$}fA1LoU$j4=@;7<^y>I^~?)Q@4_LIMDg6O}yi#8DZ&h1^C OnS|)_!uAo70=kRayMMNl_%E!qwl}skcV!l}2G|=rx&DKxe>E@`c8v2t4$HoMs z(G6w&Y8+2m~Jl@GISPM-Rz+rxZ*DZ-)^eSI@egm9wi)wdx z3rS+2NGz=UcnBbvphHn^h&}aEg}1-pcx%L{doH+8!03!VZfa>Q0-@xG!A5u8iC*x! zZ;F-oiK(~S+|crhNH91E$lLt?>*0G{oFJ|MFFSKrCQp02WBt{*BI(qg(^3(KYiXZA#9?(A%rj&f5aySg=(9I7MZ(rkpQoD7x^9QVI2`Mr4Ww~2f1 z4|F{m>j9TDPS@LO0I+3b1N*tOjn%jpX}CN|sVOf&pyRK2q@}E9(|q9$=($J-?@z_V z&ib2}-~8~7gEr21GV<{wJ}+Ijd@L{gLbY=$?Y)gvy+73YBbNT~AkC*T#F2QkD(kd+k^bxn7+06mMKtlnUoi0J@$tlyRHw($iy>y{ctt*o1uQG# zdTuRCz2^ z!JE162Q^hW7##I@C>%dHjE9x42r(q~P}-oUN$)t$-~ke?`a{&TAKZuAeYals z#-$>-%e*Vxqwj*Fp0aw=PMSix({QN0vr2VB;gRmLH6XJFcLM&0Jvl6~)NJ%pBF%x+PPE~NrOE}oHaPGrIuZ@!B7d*RWVDy&;#^_0LB zbU?7hxXLdJgAnprd+mBJV#7e!CGG*nF#RP3XPG57({--Ou?umh5L8->g%vgGKFXw{ zdyXiNkyRo0f#aM)0NY?z$%0Kc3T^Taw8Qq%RE&t->ua`Cs|3;e>QGe8_TPy{GK{b! z4vK6tuUhepf~;`Eo~zjAuZQbw5k1z$qPvstD{iE!9*2LH>d4=CL1Q$*LFkpfSq!7BzZR>bW=KMnQm)iEufDj0YwD{;fmNglIng| z6}mprcsG7c`@#yVi3e|{fuClfp3OipxIi&D4zCj+e^h3WBS1hX$OC3}!`9%9!`yfB zu6jaK2LqBUOLP*I(ex%=Tgj-uca{^@8&uD;68Mn9IYd? zcKR_Cp-3;WBbhto)#bMbwOohwPBU5x_7V!(;BI=ATLsE998Q$vKXJm$9L3S5cSGrcRt3Rh%`(06Z> zswrWX5_I#6hBzzxDRUPhvq*jcHjMTuqc49elw4Q6g^2Q$fCl!8)Y5eFfwnj!yiI)!X81GndUcP z*p{J)v?OTFoLJ^9T&YH_w*<=tSZRdtk=mrknz(}`i3w_`b8_1Dq!ZC(bhkJgGy`0D zDhOpiwJnCDL8`M49=bmVY;|TjEH?4k+rv&g@w7qf7`v-xio^A13+gz$Kh>#N z2n#Y<3imPzPTzUwH&;RHxL+Agx`H`)Lg_eoo#7MR`#TUJYEJ)O}5 zkFskaE>lyC42sZT>h&YPX142`wd*u}St!KQY{f(uJZty1%BTzvtYp`e6VjYWZP!84 z%W2m+Z`W!5vT$(Hejh;%X}km`URLI(~1SN{>vDUkA%m&1P1d-%j1hKQIsZ0XOjp9^L>-~SYF&=ADkU&H;OYWsm?tT zfpU!#YM=CY6e1_i8uZEs)tE8DUZSTyV3#QLhMjRW^*44jmU$NJ;WOo8%kGep=5Zad z_u?ffpQ0(4CX~z==@raaPiinMAIDe(=5D|8g_g%CP4O~E)T6Nh#ClL_6OE%xv~23t zJV*6#*zu-iG9@cwe7RYA7NghjoyvH-)mZ!^E=npssc~{!(1MZnsxt0O^>mwzzCZ=; zLI{m?ktg;yJvab4zQvdovM-A+i*q&z;!kPlgyZDJ?OtWco#I&TkPn5xQ&KEguQpGa zsW+c#*D_`&dSF~KCVQ&UuU9TK$obx;+e*%=erZ--RE^cEoKEfdd`%Gd!zTWh#SZn5 zFFYm9!uYMt^)zh{ra92G2bWiobzM|Ok@G?@^rm|cWu4t>UFWT>%v)R8x3-+880%4N zhpg){dX?#p1!k3azZUcTruaU$LLGNb`LbU$oAiXDwb=adSt$2#LF(j01r@}sp!Zlf@_in%8=-t)XQ@HU5 zX?fX+`D9l^0TBF{-iP4;q?F}tFC0?jZLf8jAD{I}OU1q~V5@HXrJ&XmS6x!I(i)iZ zMq+g=Dmr;iJ)rsLy)26jbh@fyMT)fH(`n>>G>70nknyB_AJp5-`>R^qD+$^t0bIFI zLp;78Ri?|w#gh|3YBtT8dltJ0xKLj~1UBXrZ!3N9O%C$Okc$TP;jS_oRCEga&VX7F zQ%Z_H!`!*9frhxUtM#~u*mD5CHcIJbnp2ASOOI0$r?pq4Z!g;?`x}1ykL6&Gj%iGo z##)ALBiEtdQMaL>VO1h*8;??^geZpaZ8D$VdDu;RZQmWH&Rg!-rHK@Z^!xPABD5V zgV2&X$8&JBJ|S6bRGT`TmySQg__vAqP{)Ggd>CGVlu1ED^UE(NAv~{@fh4~lM1X+| zXg02mD}4mq3v~usqjIwxf55j&3;o&E$FUACuX_u2{b5~&nuT!-qJ+>1?1$D~0kTmS z&;%@G&CWK&zxew}=Le0?uvR%vVAZqJ+1S$;-5(Y~nU&%13EjYTP`UHn1`v}A3&Q78fBrHsTI;|rgMEtY2=sb= zfYT57G%{kyPa;==T;UN-(un&b=5tDN#5k+p&-xYQ2R%8x+SsF8WZPOYiO#_%4Wi=$ zzn;g{pVa}@1hCsNzO&yUB2J_&_Qj}K>00sYwSVOZlVjsyg;$Vz2%I>k;-HW=Hsj20 z$5F+{qsp%vBuXN{yZQDg51kp&(mkY5!msC|GOCRbiTrIVB=O0q#6&vKDl>3k(nLDU z3aER=PG&^~yv1rw$8wgDB=umWkk*UEkWBrY5lyOIXbc9|8BJ ziqJ~i8u~(X@D*;AeSy8f(CxR+>OZM}nbcD?_`=UF2^_V1bwUKeMRv-U$=PynNg3(t zQm;Mp_|Df#3Db5=};wprxeL1707OfzMh}!((qe=D|u~xSAtO6jzcdHOt z;_s=_F@jAw!%gHIf8VIYbrg`t&Oq939Db06lfp!+dBLlxL*)mxj?@7d-UkSjnx6Ti zO-XZ=diHkfCszU=s$Om;NAZiTUW*0vvuhsXxaEczKSbLNIaO;UOMd`DE_ewx7JB9; zN4N5=uw}Q)Qf?Na@+t!CfrH@Q_wo;9X*UuRO-cpL%zWYx2s)jM9zbFj>j0~qw`K^= z_CQSY*Q&JkCT86d{ouvPsf;eBW4xxDwYi@0V!s8x<4VQuM%!s1^JM-h{_%Hp;;6^X zyE>n2k>|^q7KQBW>wPz5;yx`BN)uICs##Qs`G|0Wg+0&qd2-}VdHpdu@`PF*Sn4bN zWNEhb5K?j1WNj$~*4|WsdWyWti+%jfCP5($ALv*aWcm1hEgCxgaZ0UirJDdt2ZoVx zKCH&kuL%KNL7qSR@sqY?|9 z*Ix+@9(wbz*!<8Gp5odhp3<;_L8rjfew2RbUZL3O(V+ww+kuYY7kv%GwG(9ivTr{S zxmx&V5$Qo%imBaj<6jD9SSC!(ktxSp)>#R-`{)b%W<08j7DZWUY2Uj5$TUrNPl=7| zISl>Z7knKfCF%THZd}*~+T{ldvvOd1etijpE9QCY0@ay?rKL){-tM3*PEXG3-24c` zK%LkR63lwa*~vwLU&2iBNf!CNJ=MV@Obd?21*VLuN{!j^lFxDsQQJS?LW_b;z?aVqw09~{tdR2H#vuqn#C;NsxIWD{fF za+jU?p9vUWLA%V6yYGfxs;Be$)29eCkqJf4M9+CX?1?iFDFxLV!jJ7>U+O2EX6$n- zWxbcU8@AT;-4;L1nsDfK7A2{Vntm*fHSY) zsfll?h6zI!z76x(_Aii}QqVWQj+;h3aaSoZ@p<6+T$vwFl%e(}a!P0DcxQ)(gsPUs zb*cL{ZNkMiXA`5K1B$bvG;>IT0Jej+*z3lLqY_k=epeUYE^p2$bpSyx{@q%YQ7)*Z zaNF5o6G=|!;n9clR7e1gWmv9Ij`5bSp59b?Yoejha|zpA4|`9#E!Ewa)5r-k&>yC! zw^CSCuL#iM!I-6MeA;NvkIYP5%}b+^z)ICnnc=2enj z#J1nq&knw8X%m3KLi3=-g<||{bxN1M#mUaG6qR}wl@)c9hFSU9XdT{~fGG;twEm=O zG_mvXvQ)*z5BK;MbuDkPTyPetE{t+|39QVR>L9*Fd_K%J4qby?mcs=YE@|UuwNr&0 zn|)i57%jwcQGgt)cT-a+cLF+EHBF2(ci%gpwHXT=xF>>fiRx4i++X#HR zhf~YZ;x))cRMe5<5llcX_YR(`!pxpOZ_=dssw-+eL!XRQozFo?FNmK-q%$CMxV+S4 z2U}`htE|%;l(g80N&q=m-Pg1?upus&48Ma*Jhv_4@4YJWyj}@$q4N!+L5IYUAR6$Y z;=HNel|~(Ydq`yq${<(zFHI9RSj!W=i3 zMEw5kZs6Q3Zij#F6n`SF82lHXW{2+RhoEi z-MwT{4Y;2#&+A+L0?QtSQqt;hdya~ZbdV<=#oQ^Pw^?&pvY_|+`wGPV>#U#I)4s!7{*HB*~``E+FnW7)G+FJ9U(br_=GQDv`zT$aW09G(;0z zNd0=&BPdbO6^LRiwhHjF;svp$%9VI(2rRhk3c29&&m$i>A=6v2<#K&6R^bJj?92Vc zpGADxcr3{Z%Io;HcV3`l#UwS%Src@F5rAV%*2YMEXl^Q zznzD5tY^@;%*fvIqf68n-SXDvBf9mnqkiJEFMi2^C0_8Ne>#0VwP7-T;eCK#_1@!A z*WC}WBpcbUN_qC6vB?$^fv~tHQD!wW^YwH`!u@5Kw}8RsV(GoU{-w%Hk=r(>qASDv zR9;VGDUqr@p)i}_jY6poe~{VrG;Hyf_)#2wx)7hKhpBx$k&u~o6uj9g zR8PEOhzIzU$0iHg0Ds4fl+?4%-sYa!dUZzINMuC9%q4=R@X3r<@5iKA4#MCCN&3!M zHN?IAAy@ten}JZaq|5E#MCZuPBe8Q(LWEX?<_K~EeN znGe%DY5m+A%rhS0v#%E;;L|$F(K#ZUFsWBXrs7XOGHS5TV0g~p(AY-N9fvw%#Gf_s z+z7$Ip7Nb*o`G!YFFcI5&3|dR{$6A{+H(yl@;C@>RR4~1d9dz&Zhzo8*q88qNC!eW>? z_Ziu#YtuA_;(|0+)B3ZLRmjg)u;?9b(|%h?0gX>kA$Q(QAlNC7!f&aa3OHi7BHY)! zS19NoQail$DeC`Di@h@c%CMRPjNcMFDH{5YD_j_U-)h^Y4RlBv9_vkFQ`^pf5S*!e zVmnoP*|UZ3d<|$kJYJ_2!qws)-P;QiA?P`ZXC=F5xMy!laBGjUduLv#v(+9f_{dA zOHM8H!iv&sh)oU)?X+k03zz2=1PO!bb=PWL|1>W@oxLnh1A>hykgcXxb;s_G=3 z8XJ9to$94J+HN4DwD8LzCJvg zcikjzjnP24*G;d7IPZd&rT!9q9& z-!hSSTTt&x8o_WdX_xDV4T{Z&b-`9MpM-HR+O_(aP6T?nz@V%UQI-tU+k}NNA&J{< zBhhLGa*j)xX%BI1s4t=@BBf*L$aAg3tkrjc$$FnW65%;va?JyWKMV)h6v#|35NSyS znmJVD8zJ(@=qvaZkGU1e7-Sf}Gm2|I(b!QhGF3~q#TKDsrIX^3GtLb=8)3*P)jad- zdAz^t3OQ{oEnPO@?Uma+hZPcL>iLp(IRaUIV%%~E+MjnhltwS28u5K&Qom$)h$h>2 zlwZO1>NIm8?Xy}sEFP1r+)vI4R2PXnquFcm&<>2@g=uBa?2delV@!LJJ0->7K|QyT zQg$5yIks5;wJ)hM(Nrt*S0uo!HdjDcsY?I8Cl8TSkuwJoqf{^DM;W%q4czB56PLsX zHt}VlA~;2<@Cc@sb&_+Phwmi;jN!qXdt%=GLOHFPs=n^jIjNTGO>+UDZ!Us4aPR#1 zHS>!K|4-T9x8%92IRIeoVEM27Z?~@QdptQ5|EbzKPi_N~FR;ZWAe5UBp0RbJB*jt;0FilFSJ{fC0eot;wPUrSXWx>>SigOf;#_J;+Aew{$8-haHNN0Y>1%LYweh_2Qsd+HLLVdJhmqnHN~sYd_`<--4r0L9Mzc2YLLiF_i@TTKCXdD} zS7!1{X28>dPsjd8=S#pTcF+5I5^pNTuP1lbQ69-NgR=|gLo*j>j=CMN;8V>v!7)!( zKekE@h4TE?^!tz#24@bYgaw6!e>HW7oQ%fsqnPr%v!}R1`5u(q!wMI|q>mWlQrDdy zR-?o2?qqASloc^3{wZ8_geA~(*+t^2+7H!rK=D$F%T>8KR~k zenFm6?@`xX#}~dQU*CompyCatU7~&#^Rv6!lJD{4{pW#s{XDHKxiY*{g$6DUkA`PQ z()Fp)VP*$67edCY#=?8qm% zK>5aKVDx^QS_Ft{fX4+ZY=(eL-gTmidQPi4gNjGAMI`SF|7%197ox8qqU2EAJFA<- zc_9Zf!SF#^MFea@`x+rBgPS$~QPg5g>AqU6%szHRqyoP)0{5Zfvwf8|(b1|)Hr9_L zt4246B%#l&pT7-6_c+yE1~q@t0erI)ykFtW(2p8utprN!)Sgc zs;A{|$^KM0p(UCtsPqrKW<#UP2iUUo?d+(Q(-n>saAqK#zr*pcA4;DIqbExoiCd!4 znmVq6WGTy_K=np^Swn$^+c*rG!h)rY znF2rD5vg23rTPtu;RzT`nw{56JzNDNBHx=c5YKQ&Pu$Q9P{3{NMI9CWiWDJ_GZRdq zZnsAeM3}R~4zIST^Aw;j*E*xA7sX2=i-1K*Dww-@4A1F6%+MZvNPo9-)gC11w0APU z8QU>qr}v451kny)MIw(&06gK`u1X|`Lqd(KKc^-?Rh7>yM0Q=;AQw9A+f^R_3K3ft zY7-Q(ytGj5!@^Y(}#HM8WlS&})KK!m{I~7N{ z0vrcJJcfQvH=HC$mG)cP-JCK$yqh(lx{OtbovoFFI=yU$v$U&tW#%+0OJX1|%18Iw zCfo;WD>za?biOP+nr5ycj}v5>HTEH{#P-?&$&Yo=^s~uR`9qRQtR|vnFR*e64HD#P z?7*?RcqqnL2|Rj^k68VbgzP2SG>c&EY>_;n(f$c;jpz(gZn4}3pjyCMrCh9K}R zT=AO0eRS`Wz(o3d8>YXS1OjC?A~>1k+RC(&kssy)_=Ikxtt9Qy=q8oSQ*s3}PK3O(SNH~PXd5HBO_Dag^yDHdjMYAi;5PRBXYbO^#FX*?l|=^$ z?g%*YNe`4zT-R0P2mGey0~~hhG70HYqk$T&#FAEH_$X{R&-!Z1cNoFBkDtWS7c~eF z8?~TYGY~t)*cSWR@e6d*Rq1K3C znEvW%O!+v%fs_)LnY3smqB1C)U1e+_my_{jbx+HbdxV<@p_+_vN`}QIeF!3XC+QrV z_MSklLS$DV9Wj+ptBa@RV; z@x)2&CRMT`7L*ZdaP3O0;ORty2bQE;`Z!kDz%cv#)&Px-T;>HT%mZrdrQ!``1W;vd zmAI-@tk+EpeUMJml_+x|YS;)CJ?2`<(f!OI;XH>92>*0O-23zvo=PckJE)H&J-{gMgH>8uJclbw$D1Oq^iV}5`9T@P8r7SMdX*m7MMR%`Fl+&S^S*5I> zX{r9VZr8+bJ9Vss$eI&02nZk7Kkd}7+c=1+qXXa#3;7z)H*2mtu8^SkpBfr_&8`t- zT71-Dw&t|2;3!`mOp^7X{D97ZK(w*+>(nEC$ytYA!sa#!;^g5Z?g27meW5+VT^_$? zhb&i-X*)uukR~ll;<2eisb;%#B|5r&oJ~5LFmKXYCV+qvAlqHdEa zg~yVrnL-`%BP0EB(cJKou~fN4S96OrstZJXI!*UG&9t<<1jE)n`B0sTSZOxM$)Aud zzKn`7i$N2@Im;ClR0~zCyxr~X?_!%mRcAM&RHLCJU`>K}O`#O1-_M)4S~!;lAgy?e zEp@{nnS!4*GFIBtEE_-Q=`XS4-o;?= zo_mqgAdl((gCOgZJuQ*!zyz91N`kN=jiCrJwI5=Z;cD`UbA9d(WdPIhnXfRLa9+;P zTmZG}(~)q>>(|N__@|Kpk7S80=0bszQR5UhWr~KUuyQoy10N_dA2jwU5)C``7`JLOO`Q-+MBzuR!GTYCwwwn_<&68T<|50XxK6Pnocv> zns-NI*j5tU*P8~mlt;(Jx{!Ko6KGk~gJ=Zq%i&|H{X9I)$hbJ+*P|h}db&W;_uWvfye!$6bf!g1c0~czxq;>iVjon^X9q!=ydW>( zdrw0odKy{;DgPK=@9ozm;F02@niLEwA?Hy_tv2L*2U5A?((QBQvr*@&)}%zp^g4eiA>QUMC>R{b-$UvDJg@!-SpT0=e{A&zx&BQGuk1e~ z=>OdRZ^{2&LBGr4f1&9&qW7~(fcziRro<9J2%zfIylO8)Wm^UX8=rtnv{{2R>v zN4dAN(LWxEyq%5yCKJNf9{)w|G53Ug>S!!nf6b? z+?(JZ*Yi1 B{onuq literal 9897 zcmaKS1yCH#);117f(Ca9&f*YUgF|q4cXxMpw-7YAy9W1##ogT&f+k3Qc(1+Rt-Al2 znw`^U`gx}2OxNkH?&pgPGz=odn~}#z3hE89B2&NmZzsa*X=`a~>f-5OYUto#V`*&Y zVrg#&aI-UEvNv?LbY`-5FtszWH+Ho(wR2%|G4*iy@=AvF3Pkve>=plSd-v+eiK_@R zO38l)Ktp_yfq$cifcj^L{|)@`cc87Iou!$nvkQ}ltxZ)@uT?)Yav0bbvCw;`>AT_1 z%>wli@egik^IB6(`eM(=Pk|+P#?vD97)jlKaFm=oVFA_LCOA_4-7gS2`S z6rBTrmXEj6+>?1z$dB?N< z>}UMhM2hn-Dmx)g`*1T8CiMw0{Po_IrVYiPPWeaZw|tDS7Xc<;-`4dtDgQeke|;5G z7sIy{q^cR(7jmOL18Z>W^tH-hB<);j(@j!WIae%JO;nGn?h2vb*J0ZLIjMf#b8$+g zxoAfwm#Zv+Cu24z*klFH$D#B}Rb(&A2;M{C&?txxc?h`XC5Ljk2~OrjF4<{H7s?j7 zO10fdm%k&#;XTVo!i}$pa8Q$9*ZL`mHmEWnC8b(4E2)x_S0L6?D`p%rQeuxYOO)7d z4};WgfYfd3Y2PmH{%g4ez(tW|6H$P3=5lh;SWUiJW2K24GV#oCYblJP_-mW=W=iAJ znAf4mnK-dj){D-JfkMYk)sf6bMc*nS;Dc#s>Ixxw%fRxFux98IIzpF z5_phOOZPgzDAJIBH!4TR#o0|Yvt5>4<#(sCGD@wH<==LWEq*t_y&lYWJM&N4Po}v# zD8bA(LDK|qqs$Q^*Y5mR`iiSxnhIvdkJ22o0(DvXWY^(kM?c6n>Uxuj%kle`I!IVX z;^gu2lCw@j-Nf~ElGDCK52|sADQQGxnY-m|TM+}QAxX+$dTF^uL}<~1?Ga;|%j$?} zRy>59q*kMSA<&eqf@>B=e_r$3Xa=6el%<7^5|p?{7$D-4`9rxuNv5$Rr(ykQwUpBi zp|F%M@ zGujhr08{oq6u;}a^Zt}6R95v^V1iI3UwZFO+|TN^4fgDevEO=R{Z;QLzxDWZY}qZH zcF$6ow{`91+9I2F`ayuvp!+u@aB=_S0*;0*#PVokEqiQkB*usR6nT=i2M=)-Llu;g zpLwalS0g1)hV#%gI4P^5k|vu;OveD|r=`*KCZKol-b_YUtF?+^?(_@zJ6D$PLAPQ)GTetC*VxzB5CssO}V&FUQZt{tow6a9{>MIi@ zjOG`kp9p-!{Ier}wfP%A_Zj}JIuHbA1|C5}K#ac@>;GLHkY4MDvAvzkTS0y;5KU=Q z_N$~=!{A4H2JkdyzNNcG6=j!f@<%G(%Cbg!$eeG6mk`6F{yp&WI%`8js!cM4{fCcF zPkx!p{rO4DUkT_NvkqrRUB5btb6{HWPUS6ZPV2tZKCsW4($WAjO5_GpMOEnG7tb1r z@mfdOn9FR0Q%Vm!jaBj^KQw!`~ z;`z;(f3?U8&(TDbfu!`9Z}XEn4(?)XBBpI~hT;U(y-4);WZDZ&-CKv%=HxrhEw05y zWn`EgZ@{so^LP?JwA)rHnQePo;}@8^&bhLk;MCH&FI1{1mg|xN?8Zq*{S9?)*0{+O zp!PvD;}O^uqzyj-`ft^4=`gd8kG!2hla~!zcYN-Y^So0-8)YRc4%c7X>n^yF^Pht{9wSQZcTyzrd(X2StV4DWViv=+FWF;)=k6mp zuCz6+#B%vWdAz>WgvhEv^D14DjgPwNrG>0h$Fm4Y=memrUWf$1Tlq=G6_^{J_ukhM z9WN8C+1_6QRdF5(R&I&I*NIa_o{1%%?c%jKc?|ul(&Al)>3fUOs0a7kw#i;TLS>%g#C)y|O#+SE<%MT-(bsQAi{4of)y(i~ajGyU@ne`aP*ZJ*^#VLyAs;ut zR*lL(+VnUbG(sv28{_d+B@bEp>*dqn#yNF^&XzVGN}B=mZwY&lyEv{u2mw8?0~p3^+vWWUiS4$9d@ zzd_)7UbCQqfB#SN(Ya7o+EWpCddT+jfzw~z{rwa_zdRk>1H9dDkb|eMy29&NK*JPA zn%(Cf3aGpK0)91BLp^`)^182Dw1-ye38ig2tYzn>0Ycn_0kfkNqA(g?QArQY75}c%KwgU^;ghqqM%0Z!3R5;VlAY~*5t#Jh$^G~pZ`AIj zokjc;`$J50QCn~(;~HBE*K7qu&cJvO<_u)>!vYTD6Gr>W!Xksezfhx{PDa&7G&SU$ zbjC-lrRH&AYff=o3Z_PL_^;j4(xhE0sUMgZPUml+r78dTc;p>~qobV@0mtuvycb-| z2_OR2m?gTWDho${@2MD09<;&nB*XFM(??qAR*1<&A>O>1p3F5hQ#Yhm?Bri6nZK~O z(UFtR!Xd&+zYh>bjP<7(79&>u_=K>Emc^^=2X5^vR@93d!b}T29jy?1V6Ykbq9%`% z5QzbX8qJ|a(GO7^@LaA3cp!)8uvp7mI%Rp{oXZSz;a8v1O35{}$K4YM(#sS1XHRHr zlT2!A8wgK^r4jf&qKJR;9U z=i`Dl+nNiSa_ki`chWTB#rm4Vj0K)1neJ!RJ8~W^(eFpN7+m%9ZzLp$Ar8ce^SdJ4 zqv~Z9lCGBuCSPudHwdo<9LweeXyyG36M4$`oxr^a zIL~9BJ4E}uf+T-H)qQ{g`VlMksGQVRB*DVKWOcnK#v7Y8O2gg9whoU50fmNyDq69- zj7Fe%rqXau)&Q}_T%1X13x$v{ibPRFp_mjzF#m()r=xHYVjPO^3aJAsZ-PmGG6Obr zc7Avrfd%Lz722}5Sff8eUDjnsuGugn>x_->o?wT7lTY`|sK4=3gd`4+zi1WS0om9Q zt6yb)CX7d?7+-YTC6&CuJ$+$1`B)YrE4D#M{Lk$pO;92??#jClpD|G{zoLCp2RT3} z#FXpA(@&Y1J5!FNXE*3V>r8?>1Y^$ zf7F%#&}$bpw?;hkBP4v9=JdnbzV~F8!2S4@0w^`|qu}sJ6LZH83}eXNM-xZL>WL5~ zH)h!8sQARD-3}9o{3VE{)qy}!Gc!E!y3zP6hP8zDu*2ly>2*rfa9rBxbWXvO(0MbV zjbnZqB-;SwEDSom?A0&$NJ77(X|9XPFxGuK{$Tt@oghM}>`Z-r1_GP|I5=jO&4JkK z2m<&uOb?V{R%35gE^{pYix41i<9cS9*R%K72nf6<#w;{Ep#L_auDx15w;EI;`=Ej$4JL{X}N$Fg0p7O-I19|=wazQqLT^a+w8)dv}XrH~qma321>~C#!+Y;Kj7`WMLjm(LN z<)z&Q>jHUV7A! z(*3HfYN)x}GZ!s&W%k-jcne}(! ztQIXa)stxR?LlI$6R*1+P3;y*wzfCbZwCFuMM8-$e!A39Lyh-w>gcB^B*XFWA3jh8 zQlZbgf>5S9(+EB!DVuoB*(vHTibJCd6Dss@*2^8z9C63OsmLo?Dub6a`wcRQWgoj^vy=v?d zHdGq*3f8WTsm?ZY@r?!-u(5x}dF|Jt-usj1OnL1>AasJ~QhVy|sdQAXQ%eS|U>J5) zhws3VzE*neJ=Z2kK}XdgxpGIHs5Z^=%6rq?ZGd;BIVqlBiwZnd*%s@5{T)ZAF>tc6b(l6hq863zZ=q-8x?#}9v4l9T0UzQ#X#_~B1Y{~D$=qxIE@ zaHNyHIfPKXIfJnI9cX2SPH_yQHk@oM!P|W3fnydzr7@j%Ry|Q8V2PJ*w@5*wI}kw> zbOIY^Y7PDY*15<1+*@4Z7ukuR&X7@8l>jXW=nGV{0qyNgjib318_cP`8+AG@)F}@i zoLSXns8YiHBvU;J=?S2uGGTKdRI0^V#@80l)VWT5K z@RS<(sjuS)`ZHhDG;N_}x znx->W7uWB>G^p6Bs5_sj2U=+?Xdb5BV$V0lS?1mvXcgD0 z4mC#+f0Iq9;^AAS`F3EU=!-ALubaEbT6GPSJH4HDv(!A~U^wkG9`{Nf(;BV?{`)!c zEYv^Lhz#wprj`dx&TFgaf@&vn^anha3_gf!xukOhU)9cgy_^5dwpx2k7h*4m z#AnkJ1*NkJfl5%vDinP&WJXHdYy#-h+Jr#OZZLvaZ2ZyBS;gGfBzIYBNFUmGRBa2l zYj}ExQGWXxiKPDr#o<3GI^HNQ-Y7i&NzwHWisqVsP(U&`{kT!c*3bWt$g4IOe?2QQ zdRu-%a`p$K=O~fPjk?KQR|IUwt>@P;JpRiOMG)5E6y7`F)+Z!h42cdw`@J>1c4Od= z(79=+gOYX<$D%IJT@q+`xI&WcvV^QJUoxrp1Jf(I;>GJ#^tO(sBm~LzcP&|qigpO} zRqJ>^1Bi1bzBdx*FAhl1k0+dLx9j1J3I@sT?}KLYKtSEyxQcWX7K%{(*r*ejW7g6A zf+3||fIqM}0z@@Q87y_@1ui*Mxp-P$rBzU!xGR!_)?x(~IfxkKW1e&=68lKrj_3^!qX*Q6DvszZoeRZ}7u;CU3(AtRd(~q} zW5CgYf;_Mg_EXbRn)k(uL;D?Xy_;l36#^X8!=UMiY0RNfamDbHba$}!u=B$yaM{i; zoEtCS4c05XA?aB(NBi4J5BJE3Fo7l}Wmx#lQP=LXTU%x;ZWC3bi4Vbwz3Pd{uj=^E zV0C(;Kj~S@Iad)aC!@IWZ0K>L;2fViT2$Y~x=)%TRmP~sHX33n!2s~;vtjt$7lX=a z`A_H$MD!Ka1EoXl6LJc-pMYdlGgr3<6kD1dJM$P+NuZ~Uu2uvEu{%p1jxdQ7KCQ~` z>do1;TAX7`9WkfrE?-F8H6*BJViigh6({c+W+kaWnJ=cvCluPwrtN!N*zS9F>F)vKKa-&Lm;;U)LEr>ZFsA+Bkk3!Vt7fOt ziZN3wY4Pt83n^}Vf-^XLEdC6>`4r2rF}^3@wxHX*Tt4;b(SD{4X?|+JA9QZixX!(h zQBzU}Kjgl)2#BS_WI&(2Wu_=Vigxt)kQztBA)EnfkKQ({=H|D7$T%CqbgkHD+BN9K zd4_}MT^`nkXn<|onLQysZB@ZI5PT~Up$F7QZP_YP>m)LoTvqW|8S7+xhIJo-x+on& zlN`EH3j}E*xe!uMnS@ljXP5uEEK< z=^oW9NXfH9%!*H4{yKi4(j*b@>8T$^Dy1&~g&tiS*$Y!kn*G7eowWZ9|01S5)E2|! z6K2Qx=vV{l7e?JR;m0=j!X+p}+)mDO1o_0g5T8OWeZyjZBA@e&D9for_PQ`1vwn{9 z%Z$3SF0tr2c)jFX^rS`Ioyvp!s<6%%wLpG&UL8c^AM3iPCL=p1a6i;A3}sZsT7KH- zqfgv4I51}9vugn&Eyqp*Id7&~>0T<5u-vYAB{0IXp@xsW>60>bC9%02g}|XJaCvuB zCnC_$-icld>2qCDd|i{!(O?xG=do-V1b6NQt|jqI?R$0V-} z>cy~)yrlvYw$Ua+-iE$9HtSDrd7-H47uA6ffYc6&r3%!=*trJQGVR-K(UVil9qD9BZc`-zR!-YNqddqDm_2cPzHsYmT^`s%5|Fs- z!UWi1VOZ1@u83Mmph?w4B0r+6{iaO`8LZ*+a+JABn`^|s3=_jQ}x z^UmeVBTUK}Cz~3HD4@jeiS-Y?tI3&Nz;Ji<==86F7sJDjhPMFQUA^gBpxXrS*h>Dz z1#Em*-}YC)9KhQx@>K~{pbY=JxKi(@vVUv4-GpGu9HFb}Nrt=dg z#WtC=6IHR|b5*Ts@5)+=r8_6aKdHjHvMYKW`|SbkW1Pk3rfX3+aG|!+tMu(UDrzT2 zGj}sgf{og`vRe8(`$6?Kv!y!Q@3Z$WnE%LrfnCbuaSb;|EL;9Aziz1K5j~U9c!qq< zqBuJEYp#rbV%Vg3&g7*`**t^bo|{GGbMbkT5fhzrs-mTLaYpo*bXj_cLT-Ei+U3|o zLQFwvW0&-VxOkO#d1v~<9X^YHg}79>huQ_&b-emj{>zmA=>nOWr3`rUPltATMh9j- zE|X`j#VVtk)Lp0i4L03h?ITJR5%lG29+0+Vh*9gFYe8}Xg1E`lshGVXYSebpVx)W@ zF;*gf4d!zwXCv~&hw9VLHP?L-uHF7;eSIs7{y)#p`r*@I7%DHO2)3;;V`wX1222oa zX^dDyI8*Zf^@GKNCqfXFft-)x>F%L;@%}o#?P`77|7jTKc@a%wLT zlM!oczqstbTB4>7;n5k$7Y>o(cj9gR4+6Vrn_R7~U*jO#4C;5rZB`%P_7d9WA0WOO z900N3Nm6@-k`~ZQ9{Y@*~u4~Ci=$Q;xhWPNc=P^@im=1 z?lM>i!wpaokA7d%EvfLU0kQx)6J=n+wl(uEyMG6YVal^KzSn`qRa5MC%jSUpj<$m$ z389P(hQ&Sei{!B0vvG>2^{2C`MHW_1jaa&k<;Y>v?QY;&|3fu!P1#Ao{AWyKOEj2; zYcZMXIY25Y$p;hPzcr7NvRqE}^J;KGkT6)^+S`CnCC@XxZm43cc)-=~4 znucW5Bm@vPqLw|%F?4V$U7AVXzEB@Jr)zKhQWB^j+fMwLApxw z8^SIrqW!5;R7KUnkVHT*x@*EhEA`<2wv?`pTPHq4KbIicakT<@owED*4f#4!{rWho<2=WYW z2ovpeR#+)!7Ly8vx9@JT5_>|KBnM2iFo(Ic}?gdni)mxCF+)=-jCX$pWMKpw3i7I_E zmOrJCI<@JKfcs*L=@{Sj>&=q38#KnQ>mKp)*5rI>X{XS&N(H2+_O&X5GJ=zB>e6zH zTATQmGHLaz-?OiaRIvc#U7riorXK(U9%3b&WL%In%hp429%lc{c@MR`hVi#<`_reYHq&SU2LJj+%MBnk=)tG7} zFh35kdqI2-HcSqS6CUYOAs7ND!N2Ik@TtUG^1=P;HG6-#P)v6~`z{lR8Nh*!iZIv0 z4H_4C6zYh|8(3HQ79vlXT4MWy2=dDj?>4JWQGZfBwh6(mSP-k}5~!^g&Q6kG>k@jH zNlcLUDvr`9n0x!CrI7Eq0jB7R4JOx)Zj8lEgx21(nky4cu{9!fJse$2f<{l(!#6U^ zBKy(>bzBZ0+q>^ck0Hy{_4BJtGsBTV*GJgKJgW(zJp^uB$|m6pgXaal5gj2vRv;dv z;lAGZ09xa${uCM!1LqBX<}ddc4+-rK=2}vJmajgRZMT z<2))`z`d3o3wfjsP+2+JHgI5+9Y%I&6x-R zywl$VivzMYGa{M4Up1xM!dA$8UkWM}7mm&p#d^ivoCQXvT&2O>?Xb#4vL4?ol3&0r z(QmLXVjW~Blm#qd%*stv)zq7d1yH?1^t4)VK``#LQZ##>SP>2x!TLbl46aQxaQbfI>ups`g*y&$trZ=(Ee@yPx{kQb#zhQqD z{k%z?{$pXU?!RGw7e4(r#ov_ye~GI8&5;KAs^I#kR_MP`f8SeuQw{vb8e#vBhTy+} zf1gSIk+gq7OJAS - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. ---> - - + 4.0.0 org.odftoolkit odftoolkit @@ -30,17 +22,19 @@ org.apache apache 28 - + - Copyright © {inceptionYear}–2018 Apache Software Foundation; Copyright © 2018–{currentYear} {organizationName}. All rights reserved. + Copyright © {inceptionYear}–2018 Apache Software Foundation; Copyright © + 2018–{currentYear} {organizationName}. All rights reserved. UTF-8 11 11 11 - + ${basedir}/target/release ${release.dir}/${project.version}/binaries ${release.dir}/${project.version}/docs @@ -53,7 +47,7 @@ odftoolkit-${project.version}-doc.zip odftoolkit-${project.version}-src.zip [1.0,2) - 1.2 + 1.3 false ${skipTests} @@ -62,8 +56,8 @@ yyyy-MM-dd'T'HH:mm:ss - + @@ -133,7 +127,7 @@ 3.12.0 - + org.json json @@ -284,11 +278,9 @@ - + dev@odftoolkit.org dev+subscribe@odftoolkit.org dev+unsubscribe@odftoolkit.org @@ -306,8 +298,7 @@ maven-surefire-plugin 2.22.2 - + -Dfile.encoding=${project.build.sourceEncoding} ${project.version} @@ -332,18 +323,10 @@ true 512m 1024m - - + + @@ -371,10 +354,8 @@ com.cosium.code git-code-format-maven-plugin 2.7 - + @@ -383,8 +364,8 @@ install-hooks - + validate-code-format @@ -412,11 +393,15 @@ ** - - - - - + + + + + @@ -473,7 +458,8 @@ - + org.apache.maven.plugins maven-resources-plugin 3.3.0 @@ -512,14 +498,17 @@ src/site/**/* src/test/resources/examples/odf/*.ref - src/main/resources/examples/odf/odfdom-python/OdfTextDocument.odt + + src/main/resources/examples/odf/odfdom-python/OdfTextDocument.odt src/main/resources/examples/odf/odf-schemas/*.rng src/main/resources/examples/odf/graphml/*.graphml src/main/resources/** src/test/resources/** - src/main/javadoc/resources/OpenDocument-v1.2-part1.html - src/main/javadoc/resources/OpenDocument-v1.2-part3.html + + src/main/javadoc/resources/OpenDocument-v1.3-os-part2-packages.html + + src/main/javadoc/resources/OpenDocument-v1.3-os-part3-schema.html src/codegen/resources/dom/*.rng src/codegen/resources/pkg/*.rng @@ -538,22 +527,15 @@ - + release-sign-artifacts + gpg.keyname --> @@ -569,8 +551,9 @@ default-sign verify - + ${gpg.keyname} ${gpg.passphraseServerId} @@ -581,32 +564,16 @@ - + prepare-release @@ -625,96 +592,102 @@ - - - - - - + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - + - - - - - + + + + + - + - + - - - - - - - - - + + + + + + + + + - - - + + + - - - + + + - + - + - + - - + + - *** The release has been prepared in: ${release.dir} *** + *** The release has been prepared in: ${release.dir} + *** diff --git a/src/site/site/content/odftoolkit_website/ReleaseNotes.mdtext b/src/site/site/content/odftoolkit_website/ReleaseNotes.mdtext index 1ad8fbccf4..cc624bf473 100644 --- a/src/site/site/content/odftoolkit_website/ReleaseNotes.mdtext +++ b/src/site/site/content/odftoolkit_website/ReleaseNotes.mdtext @@ -1,5 +1,18 @@ # ODF Toolkit Release Notes +## Release 0.12.0 + +[ODFDOM 0.12.0](https://repo1.maven.org/maven2/org/odftoolkit/odfdom-java/0.12.0/) is released on December 22th, 2022. Git tag: "odftoolkit-0.12.0". + +### GitHub issues fixed in this release 0.12.0 + +* [#26](https://github.com/tdf/odftoolkit/issues/26) Adding ODF 1.3 support to the ODF Toolkit + +### Major updates with 0.12.0 + +The typed ODFDOM DOM model is now based on the XML grammar of the [OASIS ODF 1.3 standard](https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=office). +[All deliverables of the OASIS 1.3 standard are downloadable from OASIS](https://docs.oasis-open.org/office/OpenDocument/v1.3/os/). + ## Release 0.11.0 [ODFDOM 0.11.0](https://repo1.maven.org/maven2/org/odftoolkit/odfdom-java/0.11.0/) is released on December 21th, 2022. Git tag: "odftoolkit-0.11.0". @@ -19,7 +32,7 @@ * [#189](https://github.com/tdf/odftoolkit/issues/189) org.odftoolkit.odfdom.pkg.OdfName declares static StringBuilder -> potential problem in multi-threaded environments * [#198](https://github.com/tdf/odftoolkit/pull/198) clean up static Map/Set/etc to avoid races and leaks -### Major updates with this version +### Major updates with 0.11.0 #### Generation & Templates diff --git a/src/site/site/content/odftoolkit_website/downloads.mdtext b/src/site/site/content/odftoolkit_website/downloads.mdtext index 66f0fe748e..4e343f01e7 100644 --- a/src/site/site/content/odftoolkit_website/downloads.mdtext +++ b/src/site/site/content/odftoolkit_website/downloads.mdtext @@ -2,16 +2,51 @@ ## Current Version -The current version is the 0.11.0 supporting ODF 1.2. The future development is based on the [master branch](https://github.com/tdf/odftoolkit).
-The releases of 0.11.0 was on December 21th, 2022. +The current version is the 0.12.0 supporting ODF 1.3. The future development is based on the [master branch](https://github.com/tdf/odftoolkit).
+The releases of 0.12.0 was on December 22th, 2022. ## Releases (latest) +The release 0.12.0 is using JDK 11 implementing [ODF 1.3](http://docs.oasis-open.org/office/v1.3/os/).
The release 0.11.0 is using JDK 11 implementing [ODF 1.2](http://docs.oasis-open.org/office/v1.2/os/).
+ For more details see the [release notes](./ReleaseNotes.html). People interested should also follow the [mail list](mailing-lists.html) to track progress. ## Project Releases for Maven (latest) +### Project Releases for Maven on ODF 1.3 + +* **[ODFDOM](./odfdom/index.html): [0.12.0](https://repo1.maven.org/maven2/org/odftoolkit/odfdom-java/0.12.0/)** + +```shell + + org.odftoolkit + odfdom-java + 0.12.0 + +``` + +* **[ODF Validator](./conformance/ODFValidator.html): [0.12.0](https://repo1.maven.org/maven2/org/odftoolkit/odfvalidator/0.12.0/)** + +```shell + + org.odftoolkit + odfvalidator + 0.12.0 + +``` + +* **[XSLT Runner](./xsltrunner/ODFXSLTRunner.html): [0.12.0](https://repo1.maven.org/maven2/org/odftoolkit/xslt-runner/0.12.0/)** + +```shell + + org.odftoolkit + xslt-runner + 0.12.0 + + +``` + ### Project Releases for Maven on ODF 1.2 * **[ODFDOM](./odfdom/index.html): [0.11.0](https://repo1.maven.org/maven2/org/odftoolkit/odfdom-java/0.11.0/)** @@ -47,6 +82,12 @@ For more details see the [release notes](./ReleaseNotes.html). People interested ## ODF Toolkit Release Bundles (latest) +### ODF Toolkit 0.12.0 Release Bundle (ODF 1.3 using JDK 11) + +* Sources: [odftoolkit-0.12.0-src.zip](https://github.com/tdf/odftoolkit/releases/download/v0.12.0/odftoolkit-0.12.0-src.zip) [[sha](https://github.com/tdf/odftoolkit/releases/download/v0.12.0/odftoolkit-0.12.0-src.zip.sha)] +* Binaries: [odftoolkit-0.12.0-bin.zip](https://github.com/tdf/odftoolkit/releases/download/v0.12.0/odftoolkit-0.12.0-bin.zip) [[sha](https://github.com/tdf/odftoolkit/releases/download/v0.12.0/odftoolkit-0.12.0-bin.zip.sha)] +* Documentation: [odftoolkit-0.12.0-doc.zip](https://github.com/tdf/odftoolkit/releases/download/v0.12.0/odftoolkit-0.12.0-doc.zip) [[sha](https://github.com/tdf/odftoolkit/releases/download/v0.12.0/odftoolkit-0.12.0-doc.zip.sha)] + ### ODF Toolkit 0.11.0 Release Bundle (ODF 1.2 using JDK 11) * Sources: [odftoolkit-0.11.0-src.zip](https://github.com/tdf/odftoolkit/releases/download/v0.11.0/odftoolkit-0.11.0-src.zip) [[sha](https://github.com/tdf/odftoolkit/releases/download/v0.11.0/odftoolkit-0.11.0-src.zip.sha)] diff --git a/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfAttributeTaglet.java b/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfAttributeTaglet.java index 38b4e6428a..65de611de5 100644 --- a/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfAttributeTaglet.java +++ b/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfAttributeTaglet.java @@ -40,7 +40,7 @@ * In case nothing is been a default path within the JavaDoc resources directory is being used. * *

For example the taglet {@odf.attribute xml:id} would be resolved without - * variable settings to JAVA_DOC_BASE/resources/OpenDocument-v1.2-part1.html#attribute-xml_id + * variable settings to JAVA_DOC_BASE/resources/OpenDocument-v1.3-os-part3-schema.html#attribute-xml_id * . */ public class OdfAttributeTaglet implements Taglet { @@ -48,9 +48,9 @@ public class OdfAttributeTaglet implements Taglet { private static final Logger LOG = Logger.getLogger(OdfAttributeTaglet.class.getName()); private static final String NAME = "odf.attribute"; private static final String ODF_SPEC_PART1_PATH = - "../../../../../../resources/OpenDocument-v1.2-part1.html"; + "../../../../../../resources/OpenDocument-v1.3-os-part3-schema.html"; private static final String ODF_SPEC_PART3_PATH = - "../../../../../resources/OpenDocument-v1.2-part3.html"; + "../../../../../resources/OpenDocument-v1.3-os-part2-packages.html"; private static String mOdfSpecPart1Path = null; private static String mOdfSpecPart3Path = null; private static Set mNS_IN_PART3 = new HashSet(); diff --git a/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfDatatypeTaglet.java b/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfDatatypeTaglet.java index b18911b158..2350384b46 100644 --- a/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfDatatypeTaglet.java +++ b/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfDatatypeTaglet.java @@ -40,13 +40,13 @@ * *

For example the taglet {@odf.datatype countryCode} would be resolved without * variable settings to - * JAVA_DOC_BASE/resources/OpenDocument-v1.2-part1.html#datatype-countryCode. + * JAVA_DOC_BASE/resources/OpenDocument-v1.3-os-part3-schema.html#datatype-countryCode. */ public class OdfDatatypeTaglet implements Taglet { private static final Logger LOG = Logger.getLogger(OdfDatatypeTaglet.class.getName()); private static final String NAME = "odf.datatype"; - private static final String ODF_SPEC_PATH = "../../../../resources/OpenDocument-v1.2-part1.html"; + private static final String ODF_SPEC_PATH = "../../../../resources/OpenDocument-v1.3-os-part3-schema.html"; private static String mOdfSpecPath = null; /* FINDING THE ABSOLUTE PATH TO THE ODF SPEC IN HTML: diff --git a/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfElementTaglet.java b/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfElementTaglet.java index d99d4deb51..8236dcdbba 100644 --- a/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfElementTaglet.java +++ b/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfElementTaglet.java @@ -40,7 +40,7 @@ * In case nothing is been a default path within the JavaDoc resources directory is being used. * *

For example the taglet {@odf.element text:span} would be resolved without - * variable settings to JAVA_DOC_BASE/resources/OpenDocument-v1.2-part1.html#element-text_span + * variable settings to JAVA_DOC_BASE/resources/OpenDocument-v1.3-os-part3-schema.html#element-text_span * . */ public class OdfElementTaglet implements Taglet { @@ -48,9 +48,9 @@ public class OdfElementTaglet implements Taglet { private static final Logger LOG = Logger.getLogger(OdfElementTaglet.class.getName()); private static final String NAME = "odf.element"; private static final String ODF_SPEC_PART1_PATH = - "../../../../../../resources/OpenDocument-v1.2-part1.html"; + "../../../../../../resources/OpenDocument-v1.3-os-part3-schema.html"; private static final String ODF_SPEC_PART3_PATH = - "../../../../../resources/OpenDocument-v1.2-part3.html"; + "../../../../../resources/OpenDocument-v1.3-os-part2-packages.html"; private static String mOdfSpecPart1Path = null; private static String mOdfSpecPart3Path = null; private static Set mNS_IN_PART3 = new HashSet(); From c05d3264f4e7029cdcb1154a6cef10295686a964 Mon Sep 17 00:00:00 2001 From: Svante Schubert Date: Thu, 22 Dec 2022 01:02:24 +0100 Subject: [PATCH 02/15] New generated typed DOM of ODFDOM based on ODF 1.3 --- .../odfdom/dom/DefaultElementVisitor.java | 70 +++ .../chart/ChartDataLabelSeriesAttribute.java | 106 ++++ .../chart/ChartInterpolationAttribute.java | 6 +- ...hartRegressionForceInterceptAttribute.java | 109 ++++ ...hartRegressionInterceptValueAttribute.java | 109 ++++ .../ChartRegressionMaxDegreeAttribute.java | 106 ++++ .../ChartRegressionMovingTypeAttribute.java | 132 +++++ .../chart/ChartRegressionNameAttribute.java | 95 ++++ .../chart/ChartRegressionPeriodAttribute.java | 106 ++++ .../chart/ChartRegressionTypeAttribute.java | 2 + .../NumberExponentIntervalAttribute.java | 106 ++++ .../NumberForcedExponentSignAttribute.java | 106 ++++ .../NumberMaxDenominatorValueAttribute.java | 106 ++++ .../NumberMinDecimalPlacesAttribute.java | 106 ++++ .../office/OfficeVersionAttribute.java | 2 +- .../StyleContextualSpacingAttribute.java | 106 ++++ .../style/StyleScaleToXAttribute.java | 106 ++++ .../style/StyleScaleToYAttribute.java | 106 ++++ .../table/TableTabColorAttribute.java | 95 ++++ .../text/TextCurrentSelectedAttribute.java | 106 ++++ .../attribute/text/TextValueAttribute.java | 11 - .../dom/element/chart/ChartChartElement.java | 313 +++++++++++ .../chart/ChartCoordinateRegionElement.java | 190 +++++++ .../dom/element/chart/ChartLegendElement.java | 57 ++ .../element/chart/ChartPlotAreaElement.java | 14 + .../element/draw/DrawFillImageElement.java | 19 +- .../dom/element/draw/DrawImageElement.java | 29 + .../meta/MetaCreatorInitialsElement.java | 84 +++ .../number/NumberCurrencyStyleElement.java | 14 + .../number/NumberDateStyleElement.java | 14 + .../number/NumberFillCharacterElement.java | 84 +++ .../element/number/NumberFractionElement.java | 31 ++ .../element/number/NumberNumberElement.java | 31 ++ .../number/NumberNumberStyleElement.java | 14 + .../number/NumberPercentageStyleElement.java | 14 + .../number/NumberScientificNumberElement.java | 93 ++++ .../number/NumberTextStyleElement.java | 14 + .../number/NumberTimeStyleElement.java | 14 + .../office/OfficeAnnotationElement.java | 15 + .../element/office/OfficeStylesElement.java | 9 +- .../style/StyleChartPropertiesElement.java | 255 +++++++++ .../style/StyleFooterFirstElement.java | 499 ++++++++++++++++++ .../style/StyleHeaderFirstElement.java | 499 ++++++++++++++++++ .../element/style/StyleMasterPageElement.java | 28 + .../StylePageLayoutPropertiesElement.java | 68 +++ .../StyleParagraphPropertiesElement.java | 36 ++ .../style/StyleTablePropertiesElement.java | 34 ++ .../table/TableDataPilotFieldElement.java | 8 +- .../table/TableDataPilotGroupsElement.java | 4 - .../table/TableDataPilotTableElement.java | 7 +- .../table/TableSourceCellRangeElement.java | 31 +- .../odfdom/dom/element/text/TextAElement.java | 15 + .../text/TextDatabaseRowNumberElement.java | 16 +- .../dom/element/text/TextDropDownElement.java | 128 +++++ ...IllustrationIndexEntryTemplateElement.java | 28 + .../dom/element/text/TextLabelElement.java | 136 +++++ .../dom/element/text/TextMetaElement.java | 15 + .../element/text/TextMetaFieldElement.java | 15 + .../TextObjectIndexEntryTemplateElement.java | 28 + .../text/TextParagraphElementBase.java | 15 + .../dom/element/text/TextRubyBaseElement.java | 15 + .../dom/element/text/TextSpanElement.java | 15 + .../TextTableIndexEntryTemplateElement.java | 28 + .../TextUserIndexEntryTemplateElement.java | 28 + .../odfdom/dom/style/OdfStyleFamily.java | 17 +- .../dom/style/props/OdfChartProperties.java | 28 + .../style/props/OdfPageLayoutProperties.java | 8 + .../style/props/OdfParagraphProperties.java | 4 + .../dom/style/props/OdfTableProperties.java | 4 + .../odfdom/pkg/dsig/VersionAttribute.java | 2 +- .../pkg/manifest/CipherDataElement.java | 75 +++ .../pkg/manifest/CipherValueElement.java | 61 +++ .../pkg/manifest/EncryptedKeyElement.java | 103 ++++ .../pkg/manifest/EncryptionDataElement.java | 12 +- .../pkg/manifest/EncryptionMethodElement.java | 92 ++++ .../pkg/manifest/KeyDerivationElement.java | 4 - .../manifest/KeyDerivationNameAttribute.java | 3 +- .../odfdom/pkg/manifest/KeyinfoElement.java | 74 +++ .../odfdom/pkg/manifest/ManifestElement.java | 12 + .../pkg/manifest/PGPAlgorithmAttribute.java | 96 ++++ .../odfdom/pkg/manifest/PGPDataElement.java | 87 +++ .../odfdom/pkg/manifest/PGPKeyIDElement.java | 61 +++ .../pkg/manifest/PGPKeyPacketElement.java | 61 +++ .../odfdom/pkg/manifest/VersionAttribute.java | 2 +- 84 files changed, 5538 insertions(+), 69 deletions(-) create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartDataLabelSeriesAttribute.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartRegressionForceInterceptAttribute.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartRegressionInterceptValueAttribute.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartRegressionMaxDegreeAttribute.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartRegressionMovingTypeAttribute.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartRegressionNameAttribute.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartRegressionPeriodAttribute.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/number/NumberExponentIntervalAttribute.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/number/NumberForcedExponentSignAttribute.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/number/NumberMaxDenominatorValueAttribute.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/number/NumberMinDecimalPlacesAttribute.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/style/StyleContextualSpacingAttribute.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/style/StyleScaleToXAttribute.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/style/StyleScaleToYAttribute.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/table/TableTabColorAttribute.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/text/TextCurrentSelectedAttribute.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartCoordinateRegionElement.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/meta/MetaCreatorInitialsElement.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberFillCharacterElement.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleFooterFirstElement.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHeaderFirstElement.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDropDownElement.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextLabelElement.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/CipherDataElement.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/CipherValueElement.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/EncryptedKeyElement.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/EncryptionMethodElement.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/KeyinfoElement.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/PGPAlgorithmAttribute.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/PGPDataElement.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/PGPKeyIDElement.java create mode 100644 odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/PGPKeyPacketElement.java diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/DefaultElementVisitor.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/DefaultElementVisitor.java index 11e93bf4fd..2590506eca 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/DefaultElementVisitor.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/DefaultElementVisitor.java @@ -43,6 +43,7 @@ import org.odftoolkit.odfdom.dom.element.chart.ChartAxisElement; import org.odftoolkit.odfdom.dom.element.chart.ChartCategoriesElement; import org.odftoolkit.odfdom.dom.element.chart.ChartChartElement; +import org.odftoolkit.odfdom.dom.element.chart.ChartCoordinateRegionElement; import org.odftoolkit.odfdom.dom.element.chart.ChartDataLabelElement; import org.odftoolkit.odfdom.dom.element.chart.ChartDataPointElement; import org.odftoolkit.odfdom.dom.element.chart.ChartDomainElement; @@ -208,6 +209,7 @@ import org.odftoolkit.odfdom.dom.element.math.MathMathElement; import org.odftoolkit.odfdom.dom.element.meta.MetaAutoReloadElement; import org.odftoolkit.odfdom.dom.element.meta.MetaCreationDateElement; +import org.odftoolkit.odfdom.dom.element.meta.MetaCreatorInitialsElement; import org.odftoolkit.odfdom.dom.element.meta.MetaDateStringElement; import org.odftoolkit.odfdom.dom.element.meta.MetaDocumentStatisticElement; import org.odftoolkit.odfdom.dom.element.meta.MetaEditingCyclesElement; @@ -230,6 +232,7 @@ import org.odftoolkit.odfdom.dom.element.number.NumberDayOfWeekElement; import org.odftoolkit.odfdom.dom.element.number.NumberEmbeddedTextElement; import org.odftoolkit.odfdom.dom.element.number.NumberEraElement; +import org.odftoolkit.odfdom.dom.element.number.NumberFillCharacterElement; import org.odftoolkit.odfdom.dom.element.number.NumberFractionElement; import org.odftoolkit.odfdom.dom.element.number.NumberHoursElement; import org.odftoolkit.odfdom.dom.element.number.NumberMinutesElement; @@ -306,12 +309,14 @@ import org.odftoolkit.odfdom.dom.element.style.StyleDropCapElement; import org.odftoolkit.odfdom.dom.element.style.StyleFontFaceElement; import org.odftoolkit.odfdom.dom.element.style.StyleFooterElement; +import org.odftoolkit.odfdom.dom.element.style.StyleFooterFirstElement; import org.odftoolkit.odfdom.dom.element.style.StyleFooterLeftElement; import org.odftoolkit.odfdom.dom.element.style.StyleFooterStyleElement; import org.odftoolkit.odfdom.dom.element.style.StyleFootnoteSepElement; import org.odftoolkit.odfdom.dom.element.style.StyleGraphicPropertiesElement; import org.odftoolkit.odfdom.dom.element.style.StyleHandoutMasterElement; import org.odftoolkit.odfdom.dom.element.style.StyleHeaderElement; +import org.odftoolkit.odfdom.dom.element.style.StyleHeaderFirstElement; import org.odftoolkit.odfdom.dom.element.style.StyleHeaderFooterPropertiesElement; import org.odftoolkit.odfdom.dom.element.style.StyleHeaderLeftElement; import org.odftoolkit.odfdom.dom.element.style.StyleHeaderStyleElement; @@ -484,6 +489,7 @@ import org.odftoolkit.odfdom.dom.element.text.TextDdeConnectionElement; import org.odftoolkit.odfdom.dom.element.text.TextDeletionElement; import org.odftoolkit.odfdom.dom.element.text.TextDescriptionElement; +import org.odftoolkit.odfdom.dom.element.text.TextDropDownElement; import org.odftoolkit.odfdom.dom.element.text.TextEditingCyclesElement; import org.odftoolkit.odfdom.dom.element.text.TextEditingDurationElement; import org.odftoolkit.odfdom.dom.element.text.TextExecuteMacroElement; @@ -513,6 +519,7 @@ import org.odftoolkit.odfdom.dom.element.text.TextInitialCreatorElement; import org.odftoolkit.odfdom.dom.element.text.TextInsertionElement; import org.odftoolkit.odfdom.dom.element.text.TextKeywordsElement; +import org.odftoolkit.odfdom.dom.element.text.TextLabelElement; import org.odftoolkit.odfdom.dom.element.text.TextLineBreakElement; import org.odftoolkit.odfdom.dom.element.text.TextLinenumberingConfigurationElement; import org.odftoolkit.odfdom.dom.element.text.TextLinenumberingSeparatorElement; @@ -776,6 +783,15 @@ public void visit(ChartChartElement ele) { visit((OdfElement) ele); } + /** + * A method to visit "chart:coordinate-region" elements + * + * @param ele - an instance of ChartCoordinateRegionElement + */ + public void visit(ChartCoordinateRegionElement ele) { + visit((OdfElement) ele); + } + /** * A method to visit "chart:data-label" elements * @@ -2261,6 +2277,15 @@ public void visit(MetaCreationDateElement ele) { visit((OdfElement) ele); } + /** + * A method to visit "meta:creator-initials" elements + * + * @param ele - an instance of MetaCreatorInitialsElement + */ + public void visit(MetaCreatorInitialsElement ele) { + visit((OdfElement) ele); + } + /** * A method to visit "meta:date-string" elements * @@ -2459,6 +2484,15 @@ public void visit(NumberEraElement ele) { visit((OdfElement) ele); } + /** + * A method to visit "number:fill-character" elements + * + * @param ele - an instance of NumberFillCharacterElement + */ + public void visit(NumberFillCharacterElement ele) { + visit((OdfElement) ele); + } + /** * A method to visit "number:fraction" elements * @@ -3143,6 +3177,15 @@ public void visit(StyleFooterElement ele) { visit((OdfElement) ele); } + /** + * A method to visit "style:footer-first" elements + * + * @param ele - an instance of StyleFooterFirstElement + */ + public void visit(StyleFooterFirstElement ele) { + visit((OdfElement) ele); + } + /** * A method to visit "style:footer-left" elements * @@ -3197,6 +3240,15 @@ public void visit(StyleHeaderElement ele) { visit((OdfElement) ele); } + /** + * A method to visit "style:header-first" elements + * + * @param ele - an instance of StyleHeaderFirstElement + */ + public void visit(StyleHeaderFirstElement ele) { + visit((OdfElement) ele); + } + /** * A method to visit "style:header-footer-properties" elements * @@ -4745,6 +4797,15 @@ public void visit(TextDescriptionElement ele) { visit((OdfElement) ele); } + /** + * A method to visit "text:drop-down" elements + * + * @param ele - an instance of TextDropDownElement + */ + public void visit(TextDropDownElement ele) { + visit((OdfElement) ele); + } + /** * A method to visit "text:editing-cycles" elements * @@ -5006,6 +5067,15 @@ public void visit(TextKeywordsElement ele) { visit((OdfElement) ele); } + /** + * A method to visit "text:label" elements + * + * @param ele - an instance of TextLabelElement + */ + public void visit(TextLabelElement ele) { + visit((OdfElement) ele); + } + /** * A method to visit "text:line-break" elements * diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartDataLabelSeriesAttribute.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartDataLabelSeriesAttribute.java new file mode 100644 index 0000000000..198bb68baf --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartDataLabelSeriesAttribute.java @@ -0,0 +1,106 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved. + * + *

Use is subject to license terms. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0. You can also obtain a copy of the License at + * http://odftoolkit.org/docs/license.txt + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.dom.attribute.chart; + +import org.odftoolkit.odfdom.dom.OdfDocumentNamespace; +import org.odftoolkit.odfdom.pkg.OdfAttribute; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; + +/** DOM implementation of OpenDocument attribute {@odf.attribute chart:data-label-series}. */ +public class ChartDataLabelSeriesAttribute extends OdfAttribute { + + public static final OdfName ATTRIBUTE_NAME = + OdfName.newName(OdfDocumentNamespace.CHART, "data-label-series"); + + /** + * Create the instance of OpenDocument attribute {@odf.attribute chart:data-label-series}. + * + * @param ownerDocument The type is OdfFileDom + */ + public ChartDataLabelSeriesAttribute(OdfFileDom ownerDocument) { + super(ownerDocument, ATTRIBUTE_NAME); + } + + /** + * Returns the attribute name. + * + * @return the OdfName for {@odf.attribute chart:data-label-series}. + */ + @Override + public OdfName getOdfName() { + return ATTRIBUTE_NAME; + } + + /** @return Returns the name of this attribute. */ + @Override + public String getName() { + return ATTRIBUTE_NAME.getLocalName(); + } + + /** @param value The boolean value of the attribute. */ + public void setBooleanValue(boolean value) { + super.setValue(String.valueOf(value)); + } + + /** @return Returns the boolean value of the attribute */ + public boolean booleanValue() { + String val = super.getValue(); + return Boolean.parseBoolean(val); + } + + /** + * Returns the default value of {@odf.attribute chart:data-label-series}. + * + * @return the default value as String dependent of its element name return + * null if the default value does not exist + */ + @Override + public String getDefault() { + return null; + } + + /** + * Default value indicator. As the attribute default value is dependent from its element, the + * attribute has only a default, when a parent element exists. + * + * @return true if {@odf.attribute chart:data-label-series} has an element parent + * otherwise return false as undefined. + */ + @Override + public boolean hasDefault() { + return false; + } + + /** @return Returns whether this attribute is known to be of type ID (i.e. xml:id ?) */ + @Override + public boolean isId() { + return false; + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartInterpolationAttribute.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartInterpolationAttribute.java index 5c13bb8389..ac33c2be9e 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartInterpolationAttribute.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartInterpolationAttribute.java @@ -68,7 +68,11 @@ public String getName() { public enum Value { B_SPLINE("b-spline"), CUBIC_SPLINE("cubic-spline"), - NONE("none"); + NONE("none"), + STEP_CENTER_X("step-center-x"), + STEP_CENTER_Y("step-center-y"), + STEP_END("step-end"), + STEP_START("step-start"); private String mValue; diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartRegressionForceInterceptAttribute.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartRegressionForceInterceptAttribute.java new file mode 100644 index 0000000000..444b11f35f --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartRegressionForceInterceptAttribute.java @@ -0,0 +1,109 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved. + * + *

Use is subject to license terms. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0. You can also obtain a copy of the License at + * http://odftoolkit.org/docs/license.txt + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.dom.attribute.chart; + +import org.odftoolkit.odfdom.dom.OdfDocumentNamespace; +import org.odftoolkit.odfdom.pkg.OdfAttribute; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; + +/** + * DOM implementation of OpenDocument attribute {@odf.attribute chart:regression-force-intercept}. + */ +public class ChartRegressionForceInterceptAttribute extends OdfAttribute { + + public static final OdfName ATTRIBUTE_NAME = + OdfName.newName(OdfDocumentNamespace.CHART, "regression-force-intercept"); + + /** + * Create the instance of OpenDocument attribute {@odf.attribute + * chart:regression-force-intercept}. + * + * @param ownerDocument The type is OdfFileDom + */ + public ChartRegressionForceInterceptAttribute(OdfFileDom ownerDocument) { + super(ownerDocument, ATTRIBUTE_NAME); + } + + /** + * Returns the attribute name. + * + * @return the OdfName for {@odf.attribute chart:regression-force-intercept}. + */ + @Override + public OdfName getOdfName() { + return ATTRIBUTE_NAME; + } + + /** @return Returns the name of this attribute. */ + @Override + public String getName() { + return ATTRIBUTE_NAME.getLocalName(); + } + + /** @param value The boolean value of the attribute. */ + public void setBooleanValue(boolean value) { + super.setValue(String.valueOf(value)); + } + + /** @return Returns the boolean value of the attribute */ + public boolean booleanValue() { + String val = super.getValue(); + return Boolean.parseBoolean(val); + } + + /** + * Returns the default value of {@odf.attribute chart:regression-force-intercept}. + * + * @return the default value as String dependent of its element name return + * null if the default value does not exist + */ + @Override + public String getDefault() { + return null; + } + + /** + * Default value indicator. As the attribute default value is dependent from its element, the + * attribute has only a default, when a parent element exists. + * + * @return true if {@odf.attribute chart:regression-force-intercept} has an element + * parent otherwise return false as undefined. + */ + @Override + public boolean hasDefault() { + return false; + } + + /** @return Returns whether this attribute is known to be of type ID (i.e. xml:id ?) */ + @Override + public boolean isId() { + return false; + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartRegressionInterceptValueAttribute.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartRegressionInterceptValueAttribute.java new file mode 100644 index 0000000000..35afe4a40d --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartRegressionInterceptValueAttribute.java @@ -0,0 +1,109 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved. + * + *

Use is subject to license terms. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0. You can also obtain a copy of the License at + * http://odftoolkit.org/docs/license.txt + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.dom.attribute.chart; + +import org.odftoolkit.odfdom.dom.OdfDocumentNamespace; +import org.odftoolkit.odfdom.pkg.OdfAttribute; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; + +/** + * DOM implementation of OpenDocument attribute {@odf.attribute chart:regression-intercept-value}. + */ +public class ChartRegressionInterceptValueAttribute extends OdfAttribute { + + public static final OdfName ATTRIBUTE_NAME = + OdfName.newName(OdfDocumentNamespace.CHART, "regression-intercept-value"); + + /** + * Create the instance of OpenDocument attribute {@odf.attribute + * chart:regression-intercept-value}. + * + * @param ownerDocument The type is OdfFileDom + */ + public ChartRegressionInterceptValueAttribute(OdfFileDom ownerDocument) { + super(ownerDocument, ATTRIBUTE_NAME); + } + + /** + * Returns the attribute name. + * + * @return the OdfName for {@odf.attribute chart:regression-intercept-value}. + */ + @Override + public OdfName getOdfName() { + return ATTRIBUTE_NAME; + } + + /** @return Returns the name of this attribute. */ + @Override + public String getName() { + return ATTRIBUTE_NAME.getLocalName(); + } + + /** @param value The double value of the attribute. */ + public void setDoubleValue(double value) { + super.setValue(String.valueOf(value)); + } + + /** @return Returns the double value of the attribute */ + public double doubleValue() { + String val = super.getValue(); + return Double.parseDouble(val); + } + + /** + * Returns the default value of {@odf.attribute chart:regression-intercept-value}. + * + * @return the default value as String dependent of its element name return + * null if the default value does not exist + */ + @Override + public String getDefault() { + return null; + } + + /** + * Default value indicator. As the attribute default value is dependent from its element, the + * attribute has only a default, when a parent element exists. + * + * @return true if {@odf.attribute chart:regression-intercept-value} has an element + * parent otherwise return false as undefined. + */ + @Override + public boolean hasDefault() { + return false; + } + + /** @return Returns whether this attribute is known to be of type ID (i.e. xml:id ?) */ + @Override + public boolean isId() { + return false; + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartRegressionMaxDegreeAttribute.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartRegressionMaxDegreeAttribute.java new file mode 100644 index 0000000000..0bf118dcc1 --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartRegressionMaxDegreeAttribute.java @@ -0,0 +1,106 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved. + * + *

Use is subject to license terms. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0. You can also obtain a copy of the License at + * http://odftoolkit.org/docs/license.txt + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.dom.attribute.chart; + +import org.odftoolkit.odfdom.dom.OdfDocumentNamespace; +import org.odftoolkit.odfdom.pkg.OdfAttribute; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; + +/** DOM implementation of OpenDocument attribute {@odf.attribute chart:regression-max-degree}. */ +public class ChartRegressionMaxDegreeAttribute extends OdfAttribute { + + public static final OdfName ATTRIBUTE_NAME = + OdfName.newName(OdfDocumentNamespace.CHART, "regression-max-degree"); + + /** + * Create the instance of OpenDocument attribute {@odf.attribute chart:regression-max-degree}. + * + * @param ownerDocument The type is OdfFileDom + */ + public ChartRegressionMaxDegreeAttribute(OdfFileDom ownerDocument) { + super(ownerDocument, ATTRIBUTE_NAME); + } + + /** + * Returns the attribute name. + * + * @return the OdfName for {@odf.attribute chart:regression-max-degree}. + */ + @Override + public OdfName getOdfName() { + return ATTRIBUTE_NAME; + } + + /** @return Returns the name of this attribute. */ + @Override + public String getName() { + return ATTRIBUTE_NAME.getLocalName(); + } + + /** @param value The int value of the attribute. */ + public void setIntValue(int value) { + super.setValue(String.valueOf(value)); + } + + /** @return Returns the int value of the attribute */ + public int intValue() { + String val = super.getValue(); + return Integer.parseInt(val); + } + + /** + * Returns the default value of {@odf.attribute chart:regression-max-degree}. + * + * @return the default value as String dependent of its element name return + * null if the default value does not exist + */ + @Override + public String getDefault() { + return null; + } + + /** + * Default value indicator. As the attribute default value is dependent from its element, the + * attribute has only a default, when a parent element exists. + * + * @return true if {@odf.attribute chart:regression-max-degree} has an element parent + * otherwise return false as undefined. + */ + @Override + public boolean hasDefault() { + return false; + } + + /** @return Returns whether this attribute is known to be of type ID (i.e. xml:id ?) */ + @Override + public boolean isId() { + return false; + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartRegressionMovingTypeAttribute.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartRegressionMovingTypeAttribute.java new file mode 100644 index 0000000000..77e2cbf362 --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartRegressionMovingTypeAttribute.java @@ -0,0 +1,132 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved. + * + *

Use is subject to license terms. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0. You can also obtain a copy of the License at + * http://odftoolkit.org/docs/license.txt + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.dom.attribute.chart; + +import org.odftoolkit.odfdom.dom.OdfDocumentNamespace; +import org.odftoolkit.odfdom.pkg.OdfAttribute; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; + +/** DOM implementation of OpenDocument attribute {@odf.attribute chart:regression-moving-type}. */ +public class ChartRegressionMovingTypeAttribute extends OdfAttribute { + + public static final OdfName ATTRIBUTE_NAME = + OdfName.newName(OdfDocumentNamespace.CHART, "regression-moving-type"); + + /** + * Create the instance of OpenDocument attribute {@odf.attribute chart:regression-moving-type}. + * + * @param ownerDocument The type is OdfFileDom + */ + public ChartRegressionMovingTypeAttribute(OdfFileDom ownerDocument) { + super(ownerDocument, ATTRIBUTE_NAME); + } + + /** + * Returns the attribute name. + * + * @return the OdfName for {@odf.attribute chart:regression-moving-type}. + */ + @Override + public OdfName getOdfName() { + return ATTRIBUTE_NAME; + } + + /** @return Returns the name of this attribute. */ + @Override + public String getName() { + return ATTRIBUTE_NAME.getLocalName(); + } + + /** The value set of {@odf.attribute chart:regression-moving-type}. */ + public enum Value { + AVERAGED_ABSCISSA("averaged-abscissa"), + CENTRAL("central"), + PRIOR("prior"); + + private String mValue; + + Value(String value) { + mValue = value; + } + + @Override + public String toString() { + return mValue; + } + + public static Value enumValueOf(String value) { + for (Value aIter : values()) { + if (value.equals(aIter.toString())) { + return aIter; + } + } + return null; + } + } + + /** @param attrValue The Enum value of the attribute. */ + public void setEnumValue(Value attrValue) { + setValue(attrValue.toString()); + } + + /** @return Returns the Enum value of the attribute */ + public Value getEnumValue() { + return Value.enumValueOf(this.getValue()); + } + + /** + * Returns the default value of {@odf.attribute chart:regression-moving-type}. + * + * @return the default value as String dependent of its element name return + * null if the default value does not exist + */ + @Override + public String getDefault() { + return null; + } + + /** + * Default value indicator. As the attribute default value is dependent from its element, the + * attribute has only a default, when a parent element exists. + * + * @return true if {@odf.attribute chart:regression-moving-type} has an element + * parent otherwise return false as undefined. + */ + @Override + public boolean hasDefault() { + return false; + } + + /** @return Returns whether this attribute is known to be of type ID (i.e. xml:id ?) */ + @Override + public boolean isId() { + return false; + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartRegressionNameAttribute.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartRegressionNameAttribute.java new file mode 100644 index 0000000000..b1bc245bf2 --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartRegressionNameAttribute.java @@ -0,0 +1,95 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved. + * + *

Use is subject to license terms. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0. You can also obtain a copy of the License at + * http://odftoolkit.org/docs/license.txt + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.dom.attribute.chart; + +import org.odftoolkit.odfdom.dom.OdfDocumentNamespace; +import org.odftoolkit.odfdom.pkg.OdfAttribute; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; + +/** DOM implementation of OpenDocument attribute {@odf.attribute chart:regression-name}. */ +public class ChartRegressionNameAttribute extends OdfAttribute { + + public static final OdfName ATTRIBUTE_NAME = + OdfName.newName(OdfDocumentNamespace.CHART, "regression-name"); + + /** + * Create the instance of OpenDocument attribute {@odf.attribute chart:regression-name}. + * + * @param ownerDocument The type is OdfFileDom + */ + public ChartRegressionNameAttribute(OdfFileDom ownerDocument) { + super(ownerDocument, ATTRIBUTE_NAME); + } + + /** + * Returns the attribute name. + * + * @return the OdfName for {@odf.attribute chart:regression-name}. + */ + @Override + public OdfName getOdfName() { + return ATTRIBUTE_NAME; + } + + /** @return Returns the name of this attribute. */ + @Override + public String getName() { + return ATTRIBUTE_NAME.getLocalName(); + } + + /** + * Returns the default value of {@odf.attribute chart:regression-name}. + * + * @return the default value as String dependent of its element name return + * null if the default value does not exist + */ + @Override + public String getDefault() { + return null; + } + + /** + * Default value indicator. As the attribute default value is dependent from its element, the + * attribute has only a default, when a parent element exists. + * + * @return true if {@odf.attribute chart:regression-name} has an element parent + * otherwise return false as undefined. + */ + @Override + public boolean hasDefault() { + return false; + } + + /** @return Returns whether this attribute is known to be of type ID (i.e. xml:id ?) */ + @Override + public boolean isId() { + return false; + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartRegressionPeriodAttribute.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartRegressionPeriodAttribute.java new file mode 100644 index 0000000000..0e7c4affd4 --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartRegressionPeriodAttribute.java @@ -0,0 +1,106 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved. + * + *

Use is subject to license terms. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0. You can also obtain a copy of the License at + * http://odftoolkit.org/docs/license.txt + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.dom.attribute.chart; + +import org.odftoolkit.odfdom.dom.OdfDocumentNamespace; +import org.odftoolkit.odfdom.pkg.OdfAttribute; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; + +/** DOM implementation of OpenDocument attribute {@odf.attribute chart:regression-period}. */ +public class ChartRegressionPeriodAttribute extends OdfAttribute { + + public static final OdfName ATTRIBUTE_NAME = + OdfName.newName(OdfDocumentNamespace.CHART, "regression-period"); + + /** + * Create the instance of OpenDocument attribute {@odf.attribute chart:regression-period}. + * + * @param ownerDocument The type is OdfFileDom + */ + public ChartRegressionPeriodAttribute(OdfFileDom ownerDocument) { + super(ownerDocument, ATTRIBUTE_NAME); + } + + /** + * Returns the attribute name. + * + * @return the OdfName for {@odf.attribute chart:regression-period}. + */ + @Override + public OdfName getOdfName() { + return ATTRIBUTE_NAME; + } + + /** @return Returns the name of this attribute. */ + @Override + public String getName() { + return ATTRIBUTE_NAME.getLocalName(); + } + + /** @param value The int value of the attribute. */ + public void setIntValue(int value) { + super.setValue(String.valueOf(value)); + } + + /** @return Returns the int value of the attribute */ + public int intValue() { + String val = super.getValue(); + return Integer.parseInt(val); + } + + /** + * Returns the default value of {@odf.attribute chart:regression-period}. + * + * @return the default value as String dependent of its element name return + * null if the default value does not exist + */ + @Override + public String getDefault() { + return null; + } + + /** + * Default value indicator. As the attribute default value is dependent from its element, the + * attribute has only a default, when a parent element exists. + * + * @return true if {@odf.attribute chart:regression-period} has an element parent + * otherwise return false as undefined. + */ + @Override + public boolean hasDefault() { + return false; + } + + /** @return Returns whether this attribute is known to be of type ID (i.e. xml:id ?) */ + @Override + public boolean isId() { + return false; + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartRegressionTypeAttribute.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartRegressionTypeAttribute.java index c00205012f..704a8c401c 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartRegressionTypeAttribute.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/chart/ChartRegressionTypeAttribute.java @@ -69,7 +69,9 @@ public enum Value { EXPONENTIAL("exponential"), LINEAR("linear"), LOGARITHMIC("logarithmic"), + MOVING_AVERAGE("moving-average"), NONE("none"), + POLYNOMIAL("polynomial"), POWER("power"); private String mValue; diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/number/NumberExponentIntervalAttribute.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/number/NumberExponentIntervalAttribute.java new file mode 100644 index 0000000000..58c568a3f8 --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/number/NumberExponentIntervalAttribute.java @@ -0,0 +1,106 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved. + * + *

Use is subject to license terms. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0. You can also obtain a copy of the License at + * http://odftoolkit.org/docs/license.txt + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.dom.attribute.number; + +import org.odftoolkit.odfdom.dom.OdfDocumentNamespace; +import org.odftoolkit.odfdom.pkg.OdfAttribute; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; + +/** DOM implementation of OpenDocument attribute {@odf.attribute number:exponent-interval}. */ +public class NumberExponentIntervalAttribute extends OdfAttribute { + + public static final OdfName ATTRIBUTE_NAME = + OdfName.newName(OdfDocumentNamespace.NUMBER, "exponent-interval"); + + /** + * Create the instance of OpenDocument attribute {@odf.attribute number:exponent-interval}. + * + * @param ownerDocument The type is OdfFileDom + */ + public NumberExponentIntervalAttribute(OdfFileDom ownerDocument) { + super(ownerDocument, ATTRIBUTE_NAME); + } + + /** + * Returns the attribute name. + * + * @return the OdfName for {@odf.attribute number:exponent-interval}. + */ + @Override + public OdfName getOdfName() { + return ATTRIBUTE_NAME; + } + + /** @return Returns the name of this attribute. */ + @Override + public String getName() { + return ATTRIBUTE_NAME.getLocalName(); + } + + /** @param value The int value of the attribute. */ + public void setIntValue(int value) { + super.setValue(String.valueOf(value)); + } + + /** @return Returns the int value of the attribute */ + public int intValue() { + String val = super.getValue(); + return Integer.parseInt(val); + } + + /** + * Returns the default value of {@odf.attribute number:exponent-interval}. + * + * @return the default value as String dependent of its element name return + * null if the default value does not exist + */ + @Override + public String getDefault() { + return null; + } + + /** + * Default value indicator. As the attribute default value is dependent from its element, the + * attribute has only a default, when a parent element exists. + * + * @return true if {@odf.attribute number:exponent-interval} has an element parent + * otherwise return false as undefined. + */ + @Override + public boolean hasDefault() { + return false; + } + + /** @return Returns whether this attribute is known to be of type ID (i.e. xml:id ?) */ + @Override + public boolean isId() { + return false; + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/number/NumberForcedExponentSignAttribute.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/number/NumberForcedExponentSignAttribute.java new file mode 100644 index 0000000000..f18d3a9899 --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/number/NumberForcedExponentSignAttribute.java @@ -0,0 +1,106 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved. + * + *

Use is subject to license terms. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0. You can also obtain a copy of the License at + * http://odftoolkit.org/docs/license.txt + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.dom.attribute.number; + +import org.odftoolkit.odfdom.dom.OdfDocumentNamespace; +import org.odftoolkit.odfdom.pkg.OdfAttribute; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; + +/** DOM implementation of OpenDocument attribute {@odf.attribute number:forced-exponent-sign}. */ +public class NumberForcedExponentSignAttribute extends OdfAttribute { + + public static final OdfName ATTRIBUTE_NAME = + OdfName.newName(OdfDocumentNamespace.NUMBER, "forced-exponent-sign"); + + /** + * Create the instance of OpenDocument attribute {@odf.attribute number:forced-exponent-sign}. + * + * @param ownerDocument The type is OdfFileDom + */ + public NumberForcedExponentSignAttribute(OdfFileDom ownerDocument) { + super(ownerDocument, ATTRIBUTE_NAME); + } + + /** + * Returns the attribute name. + * + * @return the OdfName for {@odf.attribute number:forced-exponent-sign}. + */ + @Override + public OdfName getOdfName() { + return ATTRIBUTE_NAME; + } + + /** @return Returns the name of this attribute. */ + @Override + public String getName() { + return ATTRIBUTE_NAME.getLocalName(); + } + + /** @param value The boolean value of the attribute. */ + public void setBooleanValue(boolean value) { + super.setValue(String.valueOf(value)); + } + + /** @return Returns the boolean value of the attribute */ + public boolean booleanValue() { + String val = super.getValue(); + return Boolean.parseBoolean(val); + } + + /** + * Returns the default value of {@odf.attribute number:forced-exponent-sign}. + * + * @return the default value as String dependent of its element name return + * null if the default value does not exist + */ + @Override + public String getDefault() { + return null; + } + + /** + * Default value indicator. As the attribute default value is dependent from its element, the + * attribute has only a default, when a parent element exists. + * + * @return true if {@odf.attribute number:forced-exponent-sign} has an element parent + * otherwise return false as undefined. + */ + @Override + public boolean hasDefault() { + return false; + } + + /** @return Returns whether this attribute is known to be of type ID (i.e. xml:id ?) */ + @Override + public boolean isId() { + return false; + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/number/NumberMaxDenominatorValueAttribute.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/number/NumberMaxDenominatorValueAttribute.java new file mode 100644 index 0000000000..4609671dc4 --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/number/NumberMaxDenominatorValueAttribute.java @@ -0,0 +1,106 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved. + * + *

Use is subject to license terms. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0. You can also obtain a copy of the License at + * http://odftoolkit.org/docs/license.txt + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.dom.attribute.number; + +import org.odftoolkit.odfdom.dom.OdfDocumentNamespace; +import org.odftoolkit.odfdom.pkg.OdfAttribute; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; + +/** DOM implementation of OpenDocument attribute {@odf.attribute number:max-denominator-value}. */ +public class NumberMaxDenominatorValueAttribute extends OdfAttribute { + + public static final OdfName ATTRIBUTE_NAME = + OdfName.newName(OdfDocumentNamespace.NUMBER, "max-denominator-value"); + + /** + * Create the instance of OpenDocument attribute {@odf.attribute number:max-denominator-value}. + * + * @param ownerDocument The type is OdfFileDom + */ + public NumberMaxDenominatorValueAttribute(OdfFileDom ownerDocument) { + super(ownerDocument, ATTRIBUTE_NAME); + } + + /** + * Returns the attribute name. + * + * @return the OdfName for {@odf.attribute number:max-denominator-value}. + */ + @Override + public OdfName getOdfName() { + return ATTRIBUTE_NAME; + } + + /** @return Returns the name of this attribute. */ + @Override + public String getName() { + return ATTRIBUTE_NAME.getLocalName(); + } + + /** @param value The int value of the attribute. */ + public void setIntValue(int value) { + super.setValue(String.valueOf(value)); + } + + /** @return Returns the int value of the attribute */ + public int intValue() { + String val = super.getValue(); + return Integer.parseInt(val); + } + + /** + * Returns the default value of {@odf.attribute number:max-denominator-value}. + * + * @return the default value as String dependent of its element name return + * null if the default value does not exist + */ + @Override + public String getDefault() { + return null; + } + + /** + * Default value indicator. As the attribute default value is dependent from its element, the + * attribute has only a default, when a parent element exists. + * + * @return true if {@odf.attribute number:max-denominator-value} has an element + * parent otherwise return false as undefined. + */ + @Override + public boolean hasDefault() { + return false; + } + + /** @return Returns whether this attribute is known to be of type ID (i.e. xml:id ?) */ + @Override + public boolean isId() { + return false; + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/number/NumberMinDecimalPlacesAttribute.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/number/NumberMinDecimalPlacesAttribute.java new file mode 100644 index 0000000000..dc7fc85726 --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/number/NumberMinDecimalPlacesAttribute.java @@ -0,0 +1,106 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved. + * + *

Use is subject to license terms. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0. You can also obtain a copy of the License at + * http://odftoolkit.org/docs/license.txt + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.dom.attribute.number; + +import org.odftoolkit.odfdom.dom.OdfDocumentNamespace; +import org.odftoolkit.odfdom.pkg.OdfAttribute; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; + +/** DOM implementation of OpenDocument attribute {@odf.attribute number:min-decimal-places}. */ +public class NumberMinDecimalPlacesAttribute extends OdfAttribute { + + public static final OdfName ATTRIBUTE_NAME = + OdfName.newName(OdfDocumentNamespace.NUMBER, "min-decimal-places"); + + /** + * Create the instance of OpenDocument attribute {@odf.attribute number:min-decimal-places}. + * + * @param ownerDocument The type is OdfFileDom + */ + public NumberMinDecimalPlacesAttribute(OdfFileDom ownerDocument) { + super(ownerDocument, ATTRIBUTE_NAME); + } + + /** + * Returns the attribute name. + * + * @return the OdfName for {@odf.attribute number:min-decimal-places}. + */ + @Override + public OdfName getOdfName() { + return ATTRIBUTE_NAME; + } + + /** @return Returns the name of this attribute. */ + @Override + public String getName() { + return ATTRIBUTE_NAME.getLocalName(); + } + + /** @param value The int value of the attribute. */ + public void setIntValue(int value) { + super.setValue(String.valueOf(value)); + } + + /** @return Returns the int value of the attribute */ + public int intValue() { + String val = super.getValue(); + return Integer.parseInt(val); + } + + /** + * Returns the default value of {@odf.attribute number:min-decimal-places}. + * + * @return the default value as String dependent of its element name return + * null if the default value does not exist + */ + @Override + public String getDefault() { + return null; + } + + /** + * Default value indicator. As the attribute default value is dependent from its element, the + * attribute has only a default, when a parent element exists. + * + * @return true if {@odf.attribute number:min-decimal-places} has an element parent + * otherwise return false as undefined. + */ + @Override + public boolean hasDefault() { + return false; + } + + /** @return Returns whether this attribute is known to be of type ID (i.e. xml:id ?) */ + @Override + public boolean isId() { + return false; + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/office/OfficeVersionAttribute.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/office/OfficeVersionAttribute.java index bedbdc8e73..96eba49f4f 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/office/OfficeVersionAttribute.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/office/OfficeVersionAttribute.java @@ -66,7 +66,7 @@ public String getName() { /** The value set of {@odf.attribute office:version}. */ public enum Value { - _1_2("1.2"); + _1_3("1.3"); private String mValue; diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/style/StyleContextualSpacingAttribute.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/style/StyleContextualSpacingAttribute.java new file mode 100644 index 0000000000..50ac9833c4 --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/style/StyleContextualSpacingAttribute.java @@ -0,0 +1,106 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved. + * + *

Use is subject to license terms. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0. You can also obtain a copy of the License at + * http://odftoolkit.org/docs/license.txt + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.dom.attribute.style; + +import org.odftoolkit.odfdom.dom.OdfDocumentNamespace; +import org.odftoolkit.odfdom.pkg.OdfAttribute; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; + +/** DOM implementation of OpenDocument attribute {@odf.attribute style:contextual-spacing}. */ +public class StyleContextualSpacingAttribute extends OdfAttribute { + + public static final OdfName ATTRIBUTE_NAME = + OdfName.newName(OdfDocumentNamespace.STYLE, "contextual-spacing"); + + /** + * Create the instance of OpenDocument attribute {@odf.attribute style:contextual-spacing}. + * + * @param ownerDocument The type is OdfFileDom + */ + public StyleContextualSpacingAttribute(OdfFileDom ownerDocument) { + super(ownerDocument, ATTRIBUTE_NAME); + } + + /** + * Returns the attribute name. + * + * @return the OdfName for {@odf.attribute style:contextual-spacing}. + */ + @Override + public OdfName getOdfName() { + return ATTRIBUTE_NAME; + } + + /** @return Returns the name of this attribute. */ + @Override + public String getName() { + return ATTRIBUTE_NAME.getLocalName(); + } + + /** @param value The boolean value of the attribute. */ + public void setBooleanValue(boolean value) { + super.setValue(String.valueOf(value)); + } + + /** @return Returns the boolean value of the attribute */ + public boolean booleanValue() { + String val = super.getValue(); + return Boolean.parseBoolean(val); + } + + /** + * Returns the default value of {@odf.attribute style:contextual-spacing}. + * + * @return the default value as String dependent of its element name return + * null if the default value does not exist + */ + @Override + public String getDefault() { + return null; + } + + /** + * Default value indicator. As the attribute default value is dependent from its element, the + * attribute has only a default, when a parent element exists. + * + * @return true if {@odf.attribute style:contextual-spacing} has an element parent + * otherwise return false as undefined. + */ + @Override + public boolean hasDefault() { + return false; + } + + /** @return Returns whether this attribute is known to be of type ID (i.e. xml:id ?) */ + @Override + public boolean isId() { + return false; + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/style/StyleScaleToXAttribute.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/style/StyleScaleToXAttribute.java new file mode 100644 index 0000000000..57f9f2ce63 --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/style/StyleScaleToXAttribute.java @@ -0,0 +1,106 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved. + * + *

Use is subject to license terms. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0. You can also obtain a copy of the License at + * http://odftoolkit.org/docs/license.txt + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.dom.attribute.style; + +import org.odftoolkit.odfdom.dom.OdfDocumentNamespace; +import org.odftoolkit.odfdom.pkg.OdfAttribute; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; + +/** DOM implementation of OpenDocument attribute {@odf.attribute style:scale-to-X}. */ +public class StyleScaleToXAttribute extends OdfAttribute { + + public static final OdfName ATTRIBUTE_NAME = + OdfName.newName(OdfDocumentNamespace.STYLE, "scale-to-X"); + + /** + * Create the instance of OpenDocument attribute {@odf.attribute style:scale-to-X}. + * + * @param ownerDocument The type is OdfFileDom + */ + public StyleScaleToXAttribute(OdfFileDom ownerDocument) { + super(ownerDocument, ATTRIBUTE_NAME); + } + + /** + * Returns the attribute name. + * + * @return the OdfName for {@odf.attribute style:scale-to-X}. + */ + @Override + public OdfName getOdfName() { + return ATTRIBUTE_NAME; + } + + /** @return Returns the name of this attribute. */ + @Override + public String getName() { + return ATTRIBUTE_NAME.getLocalName(); + } + + /** @param value The int value of the attribute. */ + public void setIntValue(int value) { + super.setValue(String.valueOf(value)); + } + + /** @return Returns the int value of the attribute */ + public int intValue() { + String val = super.getValue(); + return Integer.parseInt(val); + } + + /** + * Returns the default value of {@odf.attribute style:scale-to-X}. + * + * @return the default value as String dependent of its element name return + * null if the default value does not exist + */ + @Override + public String getDefault() { + return null; + } + + /** + * Default value indicator. As the attribute default value is dependent from its element, the + * attribute has only a default, when a parent element exists. + * + * @return true if {@odf.attribute style:scale-to-X} has an element parent otherwise + * return false as undefined. + */ + @Override + public boolean hasDefault() { + return false; + } + + /** @return Returns whether this attribute is known to be of type ID (i.e. xml:id ?) */ + @Override + public boolean isId() { + return false; + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/style/StyleScaleToYAttribute.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/style/StyleScaleToYAttribute.java new file mode 100644 index 0000000000..2094776720 --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/style/StyleScaleToYAttribute.java @@ -0,0 +1,106 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved. + * + *

Use is subject to license terms. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0. You can also obtain a copy of the License at + * http://odftoolkit.org/docs/license.txt + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.dom.attribute.style; + +import org.odftoolkit.odfdom.dom.OdfDocumentNamespace; +import org.odftoolkit.odfdom.pkg.OdfAttribute; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; + +/** DOM implementation of OpenDocument attribute {@odf.attribute style:scale-to-Y}. */ +public class StyleScaleToYAttribute extends OdfAttribute { + + public static final OdfName ATTRIBUTE_NAME = + OdfName.newName(OdfDocumentNamespace.STYLE, "scale-to-Y"); + + /** + * Create the instance of OpenDocument attribute {@odf.attribute style:scale-to-Y}. + * + * @param ownerDocument The type is OdfFileDom + */ + public StyleScaleToYAttribute(OdfFileDom ownerDocument) { + super(ownerDocument, ATTRIBUTE_NAME); + } + + /** + * Returns the attribute name. + * + * @return the OdfName for {@odf.attribute style:scale-to-Y}. + */ + @Override + public OdfName getOdfName() { + return ATTRIBUTE_NAME; + } + + /** @return Returns the name of this attribute. */ + @Override + public String getName() { + return ATTRIBUTE_NAME.getLocalName(); + } + + /** @param value The int value of the attribute. */ + public void setIntValue(int value) { + super.setValue(String.valueOf(value)); + } + + /** @return Returns the int value of the attribute */ + public int intValue() { + String val = super.getValue(); + return Integer.parseInt(val); + } + + /** + * Returns the default value of {@odf.attribute style:scale-to-Y}. + * + * @return the default value as String dependent of its element name return + * null if the default value does not exist + */ + @Override + public String getDefault() { + return null; + } + + /** + * Default value indicator. As the attribute default value is dependent from its element, the + * attribute has only a default, when a parent element exists. + * + * @return true if {@odf.attribute style:scale-to-Y} has an element parent otherwise + * return false as undefined. + */ + @Override + public boolean hasDefault() { + return false; + } + + /** @return Returns whether this attribute is known to be of type ID (i.e. xml:id ?) */ + @Override + public boolean isId() { + return false; + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/table/TableTabColorAttribute.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/table/TableTabColorAttribute.java new file mode 100644 index 0000000000..558a6fbd6d --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/table/TableTabColorAttribute.java @@ -0,0 +1,95 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved. + * + *

Use is subject to license terms. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0. You can also obtain a copy of the License at + * http://odftoolkit.org/docs/license.txt + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.dom.attribute.table; + +import org.odftoolkit.odfdom.dom.OdfDocumentNamespace; +import org.odftoolkit.odfdom.pkg.OdfAttribute; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; + +/** DOM implementation of OpenDocument attribute {@odf.attribute table:tab-color}. */ +public class TableTabColorAttribute extends OdfAttribute { + + public static final OdfName ATTRIBUTE_NAME = + OdfName.newName(OdfDocumentNamespace.TABLE, "tab-color"); + + /** + * Create the instance of OpenDocument attribute {@odf.attribute table:tab-color}. + * + * @param ownerDocument The type is OdfFileDom + */ + public TableTabColorAttribute(OdfFileDom ownerDocument) { + super(ownerDocument, ATTRIBUTE_NAME); + } + + /** + * Returns the attribute name. + * + * @return the OdfName for {@odf.attribute table:tab-color}. + */ + @Override + public OdfName getOdfName() { + return ATTRIBUTE_NAME; + } + + /** @return Returns the name of this attribute. */ + @Override + public String getName() { + return ATTRIBUTE_NAME.getLocalName(); + } + + /** + * Returns the default value of {@odf.attribute table:tab-color}. + * + * @return the default value as String dependent of its element name return + * null if the default value does not exist + */ + @Override + public String getDefault() { + return null; + } + + /** + * Default value indicator. As the attribute default value is dependent from its element, the + * attribute has only a default, when a parent element exists. + * + * @return true if {@odf.attribute table:tab-color} has an element parent otherwise + * return false as undefined. + */ + @Override + public boolean hasDefault() { + return false; + } + + /** @return Returns whether this attribute is known to be of type ID (i.e. xml:id ?) */ + @Override + public boolean isId() { + return false; + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/text/TextCurrentSelectedAttribute.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/text/TextCurrentSelectedAttribute.java new file mode 100644 index 0000000000..97fcbd7ebc --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/text/TextCurrentSelectedAttribute.java @@ -0,0 +1,106 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved. + * + *

Use is subject to license terms. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0. You can also obtain a copy of the License at + * http://odftoolkit.org/docs/license.txt + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.dom.attribute.text; + +import org.odftoolkit.odfdom.dom.OdfDocumentNamespace; +import org.odftoolkit.odfdom.pkg.OdfAttribute; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; + +/** DOM implementation of OpenDocument attribute {@odf.attribute text:current-selected}. */ +public class TextCurrentSelectedAttribute extends OdfAttribute { + + public static final OdfName ATTRIBUTE_NAME = + OdfName.newName(OdfDocumentNamespace.TEXT, "current-selected"); + + /** + * Create the instance of OpenDocument attribute {@odf.attribute text:current-selected}. + * + * @param ownerDocument The type is OdfFileDom + */ + public TextCurrentSelectedAttribute(OdfFileDom ownerDocument) { + super(ownerDocument, ATTRIBUTE_NAME); + } + + /** + * Returns the attribute name. + * + * @return the OdfName for {@odf.attribute text:current-selected}. + */ + @Override + public OdfName getOdfName() { + return ATTRIBUTE_NAME; + } + + /** @return Returns the name of this attribute. */ + @Override + public String getName() { + return ATTRIBUTE_NAME.getLocalName(); + } + + /** @param value The boolean value of the attribute. */ + public void setBooleanValue(boolean value) { + super.setValue(String.valueOf(value)); + } + + /** @return Returns the boolean value of the attribute */ + public boolean booleanValue() { + String val = super.getValue(); + return Boolean.parseBoolean(val); + } + + /** + * Returns the default value of {@odf.attribute text:current-selected}. + * + * @return the default value as String dependent of its element name return + * null if the default value does not exist + */ + @Override + public String getDefault() { + return null; + } + + /** + * Default value indicator. As the attribute default value is dependent from its element, the + * attribute has only a default, when a parent element exists. + * + * @return true if {@odf.attribute text:current-selected} has an element parent + * otherwise return false as undefined. + */ + @Override + public boolean hasDefault() { + return false; + } + + /** @return Returns whether this attribute is known to be of type ID (i.e. xml:id ?) */ + @Override + public boolean isId() { + return false; + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/text/TextValueAttribute.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/text/TextValueAttribute.java index 653e2e7bd4..1e93a85ac7 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/text/TextValueAttribute.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/attribute/text/TextValueAttribute.java @@ -63,17 +63,6 @@ public String getName() { return ATTRIBUTE_NAME.getLocalName(); } - /** @param value The int value of the attribute. */ - public void setIntValue(int value) { - super.setValue(String.valueOf(value)); - } - - /** @return Returns the int value of the attribute */ - public int intValue() { - String val = super.getValue(); - return Integer.parseInt(val); - } - /** * Returns the default value of {@odf.attribute text:value}. * diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartChartElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartChartElement.java index 445de259d3..54cf8f8840 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartChartElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartChartElement.java @@ -40,6 +40,24 @@ import org.odftoolkit.odfdom.dom.attribute.xlink.XlinkTypeAttribute; import org.odftoolkit.odfdom.dom.attribute.xml.XmlIdAttribute; import org.odftoolkit.odfdom.dom.element.OdfStylableElement; +import org.odftoolkit.odfdom.dom.element.dr3d.Dr3dSceneElement; +import org.odftoolkit.odfdom.dom.element.draw.DrawAElement; +import org.odftoolkit.odfdom.dom.element.draw.DrawCaptionElement; +import org.odftoolkit.odfdom.dom.element.draw.DrawCircleElement; +import org.odftoolkit.odfdom.dom.element.draw.DrawConnectorElement; +import org.odftoolkit.odfdom.dom.element.draw.DrawControlElement; +import org.odftoolkit.odfdom.dom.element.draw.DrawCustomShapeElement; +import org.odftoolkit.odfdom.dom.element.draw.DrawEllipseElement; +import org.odftoolkit.odfdom.dom.element.draw.DrawFrameElement; +import org.odftoolkit.odfdom.dom.element.draw.DrawGElement; +import org.odftoolkit.odfdom.dom.element.draw.DrawLineElement; +import org.odftoolkit.odfdom.dom.element.draw.DrawMeasureElement; +import org.odftoolkit.odfdom.dom.element.draw.DrawPageThumbnailElement; +import org.odftoolkit.odfdom.dom.element.draw.DrawPathElement; +import org.odftoolkit.odfdom.dom.element.draw.DrawPolygonElement; +import org.odftoolkit.odfdom.dom.element.draw.DrawPolylineElement; +import org.odftoolkit.odfdom.dom.element.draw.DrawRectElement; +import org.odftoolkit.odfdom.dom.element.draw.DrawRegularPolygonElement; import org.odftoolkit.odfdom.dom.element.table.TableTableElement; import org.odftoolkit.odfdom.dom.style.OdfStyleFamily; import org.odftoolkit.odfdom.pkg.ElementVisitor; @@ -397,6 +415,301 @@ public ChartTitleElement newChartTitleElement() { return chartTitle; } + /** + * Create child element {@odf.element dr3d:scene}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element dr3d:scene} + */ + public Dr3dSceneElement newDr3dSceneElement() { + Dr3dSceneElement dr3dScene = + ((OdfFileDom) this.ownerDocument).newOdfElement(Dr3dSceneElement.class); + this.appendChild(dr3dScene); + return dr3dScene; + } + + /** + * Create child element {@odf.element draw:a}. + * + * @param xlinkHrefValue the String value of XlinkHrefAttribute, see + * {@odf.attribute xlink:href} at specification + * @param xlinkTypeValue the String value of XlinkTypeAttribute, see + * {@odf.attribute xlink:type} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element draw:a} + */ + public DrawAElement newDrawAElement(String xlinkHrefValue, String xlinkTypeValue) { + DrawAElement drawA = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawAElement.class); + drawA.setXlinkHrefAttribute(xlinkHrefValue); + drawA.setXlinkTypeAttribute(xlinkTypeValue); + this.appendChild(drawA); + return drawA; + } + + /** + * Create child element {@odf.element draw:caption}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element draw:caption} + */ + public DrawCaptionElement newDrawCaptionElement() { + DrawCaptionElement drawCaption = + ((OdfFileDom) this.ownerDocument).newOdfElement(DrawCaptionElement.class); + this.appendChild(drawCaption); + return drawCaption; + } + + /** + * Create child element {@odf.element draw:circle}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element draw:circle} + */ + public DrawCircleElement newDrawCircleElement() { + DrawCircleElement drawCircle = + ((OdfFileDom) this.ownerDocument).newOdfElement(DrawCircleElement.class); + this.appendChild(drawCircle); + return drawCircle; + } + + /** + * Create child element {@odf.element draw:connector}. + * + * @param svgViewBoxValue the Integer value of SvgViewBoxAttribute, see + * {@odf.attribute svg:viewBox} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element draw:connector} + */ + public DrawConnectorElement newDrawConnectorElement(int svgViewBoxValue) { + DrawConnectorElement drawConnector = + ((OdfFileDom) this.ownerDocument).newOdfElement(DrawConnectorElement.class); + drawConnector.setSvgViewBoxAttribute(svgViewBoxValue); + this.appendChild(drawConnector); + return drawConnector; + } + + /** + * Create child element {@odf.element draw:control}. + * + * @param drawControlValue the String value of DrawControlAttribute, see + * {@odf.attribute draw:control} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element draw:control} + */ + public DrawControlElement newDrawControlElement(String drawControlValue) { + DrawControlElement drawControl = + ((OdfFileDom) this.ownerDocument).newOdfElement(DrawControlElement.class); + drawControl.setDrawControlAttribute(drawControlValue); + this.appendChild(drawControl); + return drawControl; + } + + /** + * Create child element {@odf.element draw:custom-shape}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element draw:custom-shape} + */ + public DrawCustomShapeElement newDrawCustomShapeElement() { + DrawCustomShapeElement drawCustomShape = + ((OdfFileDom) this.ownerDocument).newOdfElement(DrawCustomShapeElement.class); + this.appendChild(drawCustomShape); + return drawCustomShape; + } + + /** + * Create child element {@odf.element draw:ellipse}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element draw:ellipse} + */ + public DrawEllipseElement newDrawEllipseElement() { + DrawEllipseElement drawEllipse = + ((OdfFileDom) this.ownerDocument).newOdfElement(DrawEllipseElement.class); + this.appendChild(drawEllipse); + return drawEllipse; + } + + /** + * Create child element {@odf.element draw:frame}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element draw:frame} + */ + public DrawFrameElement newDrawFrameElement() { + DrawFrameElement drawFrame = + ((OdfFileDom) this.ownerDocument).newOdfElement(DrawFrameElement.class); + this.appendChild(drawFrame); + return drawFrame; + } + + /** + * Create child element {@odf.element draw:g}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element draw:g} + */ + public DrawGElement newDrawGElement() { + DrawGElement drawG = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGElement.class); + this.appendChild(drawG); + return drawG; + } + + /** + * Create child element {@odf.element draw:line}. + * + * @param svgX1Value the String value of SvgX1Attribute, see + * {@odf.attribute svg:x1} at specification + * @param svgX2Value the String value of SvgX2Attribute, see + * {@odf.attribute svg:x2} at specification + * @param svgY1Value the String value of SvgY1Attribute, see + * {@odf.attribute svg:y1} at specification + * @param svgY2Value the String value of SvgY2Attribute, see + * {@odf.attribute svg:y2} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element draw:line} + */ + public DrawLineElement newDrawLineElement( + String svgX1Value, String svgX2Value, String svgY1Value, String svgY2Value) { + DrawLineElement drawLine = + ((OdfFileDom) this.ownerDocument).newOdfElement(DrawLineElement.class); + drawLine.setSvgX1Attribute(svgX1Value); + drawLine.setSvgX2Attribute(svgX2Value); + drawLine.setSvgY1Attribute(svgY1Value); + drawLine.setSvgY2Attribute(svgY2Value); + this.appendChild(drawLine); + return drawLine; + } + + /** + * Create child element {@odf.element draw:measure}. + * + * @param svgX1Value the String value of SvgX1Attribute, see + * {@odf.attribute svg:x1} at specification + * @param svgX2Value the String value of SvgX2Attribute, see + * {@odf.attribute svg:x2} at specification + * @param svgY1Value the String value of SvgY1Attribute, see + * {@odf.attribute svg:y1} at specification + * @param svgY2Value the String value of SvgY2Attribute, see + * {@odf.attribute svg:y2} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element draw:measure} + */ + public DrawMeasureElement newDrawMeasureElement( + String svgX1Value, String svgX2Value, String svgY1Value, String svgY2Value) { + DrawMeasureElement drawMeasure = + ((OdfFileDom) this.ownerDocument).newOdfElement(DrawMeasureElement.class); + drawMeasure.setSvgX1Attribute(svgX1Value); + drawMeasure.setSvgX2Attribute(svgX2Value); + drawMeasure.setSvgY1Attribute(svgY1Value); + drawMeasure.setSvgY2Attribute(svgY2Value); + this.appendChild(drawMeasure); + return drawMeasure; + } + + /** + * Create child element {@odf.element draw:page-thumbnail}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element draw:page-thumbnail} + */ + public DrawPageThumbnailElement newDrawPageThumbnailElement() { + DrawPageThumbnailElement drawPageThumbnail = + ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPageThumbnailElement.class); + this.appendChild(drawPageThumbnail); + return drawPageThumbnail; + } + + /** + * Create child element {@odf.element draw:path}. + * + * @param svgDValue the String value of SvgDAttribute, see + * {@odf.attribute svg:d} at specification + * @param svgViewBoxValue the Integer value of SvgViewBoxAttribute, see + * {@odf.attribute svg:viewBox} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element draw:path} + */ + public DrawPathElement newDrawPathElement(String svgDValue, int svgViewBoxValue) { + DrawPathElement drawPath = + ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPathElement.class); + drawPath.setSvgDAttribute(svgDValue); + drawPath.setSvgViewBoxAttribute(svgViewBoxValue); + this.appendChild(drawPath); + return drawPath; + } + + /** + * Create child element {@odf.element draw:polygon}. + * + * @param drawPointsValue the String value of DrawPointsAttribute, see + * {@odf.attribute draw:points} at specification + * @param svgViewBoxValue the Integer value of SvgViewBoxAttribute, see + * {@odf.attribute svg:viewBox} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element draw:polygon} + */ + public DrawPolygonElement newDrawPolygonElement(String drawPointsValue, int svgViewBoxValue) { + DrawPolygonElement drawPolygon = + ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPolygonElement.class); + drawPolygon.setDrawPointsAttribute(drawPointsValue); + drawPolygon.setSvgViewBoxAttribute(svgViewBoxValue); + this.appendChild(drawPolygon); + return drawPolygon; + } + + /** + * Create child element {@odf.element draw:polyline}. + * + * @param drawPointsValue the String value of DrawPointsAttribute, see + * {@odf.attribute draw:points} at specification + * @param svgViewBoxValue the Integer value of SvgViewBoxAttribute, see + * {@odf.attribute svg:viewBox} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element draw:polyline} + */ + public DrawPolylineElement newDrawPolylineElement(String drawPointsValue, int svgViewBoxValue) { + DrawPolylineElement drawPolyline = + ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPolylineElement.class); + drawPolyline.setDrawPointsAttribute(drawPointsValue); + drawPolyline.setSvgViewBoxAttribute(svgViewBoxValue); + this.appendChild(drawPolyline); + return drawPolyline; + } + + /** + * Create child element {@odf.element draw:rect}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element draw:rect} + */ + public DrawRectElement newDrawRectElement() { + DrawRectElement drawRect = + ((OdfFileDom) this.ownerDocument).newOdfElement(DrawRectElement.class); + this.appendChild(drawRect); + return drawRect; + } + + /** + * Create child element {@odf.element draw:regular-polygon}. + * + * @param drawConcaveValue the Boolean value of DrawConcaveAttribute, + * see {@odf.attribute draw:concave} at specification + * @param drawCornersValue the Integer value of DrawCornersAttribute, + * see {@odf.attribute draw:corners} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element draw:regular-polygon} + */ + public DrawRegularPolygonElement newDrawRegularPolygonElement( + boolean drawConcaveValue, int drawCornersValue) { + DrawRegularPolygonElement drawRegularPolygon = + ((OdfFileDom) this.ownerDocument).newOdfElement(DrawRegularPolygonElement.class); + drawRegularPolygon.setDrawConcaveAttribute(drawConcaveValue); + drawRegularPolygon.setDrawCornersAttribute(drawCornersValue); + this.appendChild(drawRegularPolygon); + return drawRegularPolygon; + } + /** * Create child element {@odf.element table:table}. * diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartCoordinateRegionElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartCoordinateRegionElement.java new file mode 100644 index 0000000000..c62e3d9205 --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartCoordinateRegionElement.java @@ -0,0 +1,190 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved. + * + *

Use is subject to license terms. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0. You can also obtain a copy of the License at + * http://odftoolkit.org/docs/license.txt + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.dom.element.chart; + +import org.odftoolkit.odfdom.dom.DefaultElementVisitor; +import org.odftoolkit.odfdom.dom.OdfDocumentNamespace; +import org.odftoolkit.odfdom.dom.attribute.svg.SvgHeightAttribute; +import org.odftoolkit.odfdom.dom.attribute.svg.SvgWidthAttribute; +import org.odftoolkit.odfdom.dom.attribute.svg.SvgXAttribute; +import org.odftoolkit.odfdom.dom.attribute.svg.SvgYAttribute; +import org.odftoolkit.odfdom.pkg.ElementVisitor; +import org.odftoolkit.odfdom.pkg.OdfElement; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; + +/** DOM implementation of OpenDocument element {@odf.element chart:coordinate-region}. */ +public class ChartCoordinateRegionElement extends OdfElement { + + public static final OdfName ELEMENT_NAME = + OdfName.newName(OdfDocumentNamespace.CHART, "coordinate-region"); + + /** + * Create the instance of ChartCoordinateRegionElement + * + * @param ownerDoc The type is OdfFileDom + */ + public ChartCoordinateRegionElement(OdfFileDom ownerDoc) { + super(ownerDoc, ELEMENT_NAME); + } + + /** + * Get the element name + * + * @return return OdfName the name of element {@odf.element chart:coordinate-region}. + */ + public OdfName getOdfName() { + return ELEMENT_NAME; + } + + /** + * Receives the value of the ODFDOM attribute representation SvgHeightAttribute , See + * {@odf.attribute svg:height} + * + * @return - the String , the value or null, if the attribute is not set + * and no default value defined. + */ + public String getSvgHeightAttribute() { + SvgHeightAttribute attr = + (SvgHeightAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "height"); + if (attr != null) { + return String.valueOf(attr.getValue()); + } + return null; + } + + /** + * Sets the value of ODFDOM attribute representation SvgHeightAttribute , See + * {@odf.attribute svg:height} + * + * @param svgHeightValue The type is String + */ + public void setSvgHeightAttribute(String svgHeightValue) { + SvgHeightAttribute attr = new SvgHeightAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setValue(svgHeightValue); + } + + /** + * Receives the value of the ODFDOM attribute representation SvgWidthAttribute , See + * {@odf.attribute svg:width} + * + * @return - the String , the value or null, if the attribute is not set + * and no default value defined. + */ + public String getSvgWidthAttribute() { + SvgWidthAttribute attr = (SvgWidthAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "width"); + if (attr != null) { + return String.valueOf(attr.getValue()); + } + return null; + } + + /** + * Sets the value of ODFDOM attribute representation SvgWidthAttribute , See + * {@odf.attribute svg:width} + * + * @param svgWidthValue The type is String + */ + public void setSvgWidthAttribute(String svgWidthValue) { + SvgWidthAttribute attr = new SvgWidthAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setValue(svgWidthValue); + } + + /** + * Receives the value of the ODFDOM attribute representation SvgXAttribute , See + * {@odf.attribute svg:x} + * + * @return - the String , the value or null, if the attribute is not set + * and no default value defined. + */ + public String getSvgXAttribute() { + SvgXAttribute attr = (SvgXAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "x"); + if (attr != null) { + return String.valueOf(attr.getValue()); + } + return null; + } + + /** + * Sets the value of ODFDOM attribute representation SvgXAttribute , See + * {@odf.attribute svg:x} + * + * @param svgXValue The type is String + */ + public void setSvgXAttribute(String svgXValue) { + SvgXAttribute attr = new SvgXAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setValue(svgXValue); + } + + /** + * Receives the value of the ODFDOM attribute representation SvgYAttribute , See + * {@odf.attribute svg:y} + * + * @return - the String , the value or null, if the attribute is not set + * and no default value defined. + */ + public String getSvgYAttribute() { + SvgYAttribute attr = (SvgYAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "y"); + if (attr != null) { + return String.valueOf(attr.getValue()); + } + return null; + } + + /** + * Sets the value of ODFDOM attribute representation SvgYAttribute , See + * {@odf.attribute svg:y} + * + * @param svgYValue The type is String + */ + public void setSvgYAttribute(String svgYValue) { + SvgYAttribute attr = new SvgYAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setValue(svgYValue); + } + + /** + * Accept an visitor instance to allow the visitor to do some operations. Refer to visitor design + * pattern to get a better understanding. + * + * @param visitor an instance of DefaultElementVisitor + */ + @Override + public void accept(ElementVisitor visitor) { + if (visitor instanceof DefaultElementVisitor) { + DefaultElementVisitor defaultVisitor = (DefaultElementVisitor) visitor; + defaultVisitor.visit(this); + } else { + visitor.visit(this); + } + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartLegendElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartLegendElement.java index 76c8786666..bcaa6e410e 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartLegendElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartLegendElement.java @@ -35,6 +35,8 @@ import org.odftoolkit.odfdom.dom.attribute.chart.ChartStyleNameAttribute; import org.odftoolkit.odfdom.dom.attribute.style.StyleLegendExpansionAspectRatioAttribute; import org.odftoolkit.odfdom.dom.attribute.style.StyleLegendExpansionAttribute; +import org.odftoolkit.odfdom.dom.attribute.svg.SvgHeightAttribute; +import org.odftoolkit.odfdom.dom.attribute.svg.SvgWidthAttribute; import org.odftoolkit.odfdom.dom.attribute.svg.SvgXAttribute; import org.odftoolkit.odfdom.dom.attribute.svg.SvgYAttribute; import org.odftoolkit.odfdom.dom.element.OdfStylableElement; @@ -224,6 +226,61 @@ public void setStyleLegendExpansionAspectRatioAttribute( attr.setDoubleValue(styleLegendExpansionAspectRatioValue.doubleValue()); } + /** + * Receives the value of the ODFDOM attribute representation SvgHeightAttribute , See + * {@odf.attribute svg:height} + * + * @return - the String , the value or null, if the attribute is not set + * and no default value defined. + */ + public String getSvgHeightAttribute() { + SvgHeightAttribute attr = + (SvgHeightAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "height"); + if (attr != null) { + return String.valueOf(attr.getValue()); + } + return null; + } + + /** + * Sets the value of ODFDOM attribute representation SvgHeightAttribute , See + * {@odf.attribute svg:height} + * + * @param svgHeightValue The type is String + */ + public void setSvgHeightAttribute(String svgHeightValue) { + SvgHeightAttribute attr = new SvgHeightAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setValue(svgHeightValue); + } + + /** + * Receives the value of the ODFDOM attribute representation SvgWidthAttribute , See + * {@odf.attribute svg:width} + * + * @return - the String , the value or null, if the attribute is not set + * and no default value defined. + */ + public String getSvgWidthAttribute() { + SvgWidthAttribute attr = (SvgWidthAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "width"); + if (attr != null) { + return String.valueOf(attr.getValue()); + } + return null; + } + + /** + * Sets the value of ODFDOM attribute representation SvgWidthAttribute , See + * {@odf.attribute svg:width} + * + * @param svgWidthValue The type is String + */ + public void setSvgWidthAttribute(String svgWidthValue) { + SvgWidthAttribute attr = new SvgWidthAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setValue(svgWidthValue); + } + /** * Receives the value of the ODFDOM attribute representation SvgXAttribute , See * {@odf.attribute svg:x} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java index 7c0933e7e8..c7ce264d9c 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java @@ -628,6 +628,20 @@ public ChartAxisElement newChartAxisElement(String chartDimensionValue) { return chartAxis; } + /** + * Create child element {@odf.element chart:coordinate-region}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element chart:coordinate-region} + */ + public ChartCoordinateRegionElement newChartCoordinateRegionElement() { + ChartCoordinateRegionElement chartCoordinateRegion = + ((OdfFileDom) this.ownerDocument).newOdfElement(ChartCoordinateRegionElement.class); + this.appendChild(chartCoordinateRegion); + return chartCoordinateRegion; + } + /** * Create child element {@odf.element chart:floor}. * diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawFillImageElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawFillImageElement.java index b22346d915..9624cc83af 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawFillImageElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawFillImageElement.java @@ -38,6 +38,7 @@ import org.odftoolkit.odfdom.dom.attribute.xlink.XlinkHrefAttribute; import org.odftoolkit.odfdom.dom.attribute.xlink.XlinkShowAttribute; import org.odftoolkit.odfdom.dom.attribute.xlink.XlinkTypeAttribute; +import org.odftoolkit.odfdom.dom.element.office.OfficeBinaryDataElement; import org.odftoolkit.odfdom.pkg.ElementVisitor; import org.odftoolkit.odfdom.pkg.OdfElement; import org.odftoolkit.odfdom.pkg.OdfFileDom; @@ -211,8 +212,6 @@ public void setXlinkActuateAttribute(String xlinkActuateValue) { * Receives the value of the ODFDOM attribute representation XlinkHrefAttribute , See * {@odf.attribute xlink:href} * - *

Attribute is mandatory. - * * @return - the String , the value or null, if the attribute is not set * and no default value defined. */ @@ -269,8 +268,6 @@ public void setXlinkShowAttribute(String xlinkShowValue) { * Receives the value of the ODFDOM attribute representation XlinkTypeAttribute , See * {@odf.attribute xlink:type} * - *

Attribute is mandatory. - * * @return - the String , the value or null, if the attribute is not set * and no default value defined. */ @@ -295,6 +292,20 @@ public void setXlinkTypeAttribute(String xlinkTypeValue) { attr.setValue(xlinkTypeValue); } + /** + * Create child element {@odf.element office:binary-data}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element office:binary-data} + */ + public OfficeBinaryDataElement newOfficeBinaryDataElement() { + OfficeBinaryDataElement officeBinaryData = + ((OdfFileDom) this.ownerDocument).newOdfElement(OfficeBinaryDataElement.class); + this.appendChild(officeBinaryData); + return officeBinaryData; + } + /** * Accept an visitor instance to allow the visitor to do some operations. Refer to visitor design * pattern to get a better understanding. diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawImageElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawImageElement.java index 7b505d7dd6..f53605134a 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawImageElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawImageElement.java @@ -31,6 +31,7 @@ import org.odftoolkit.odfdom.dom.DefaultElementVisitor; import org.odftoolkit.odfdom.dom.OdfDocumentNamespace; import org.odftoolkit.odfdom.dom.attribute.draw.DrawFilterNameAttribute; +import org.odftoolkit.odfdom.dom.attribute.draw.DrawMimeTypeAttribute; import org.odftoolkit.odfdom.dom.attribute.xlink.XlinkActuateAttribute; import org.odftoolkit.odfdom.dom.attribute.xlink.XlinkHrefAttribute; import org.odftoolkit.odfdom.dom.attribute.xlink.XlinkShowAttribute; @@ -95,6 +96,34 @@ public void setDrawFilterNameAttribute(String drawFilterNameValue) { attr.setValue(drawFilterNameValue); } + /** + * Receives the value of the ODFDOM attribute representation DrawMimeTypeAttribute , + * See {@odf.attribute draw:mime-type} + * + * @return - the String , the value or null, if the attribute is not set + * and no default value defined. + */ + public String getDrawMimeTypeAttribute() { + DrawMimeTypeAttribute attr = + (DrawMimeTypeAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "mime-type"); + if (attr != null) { + return String.valueOf(attr.getValue()); + } + return null; + } + + /** + * Sets the value of ODFDOM attribute representation DrawMimeTypeAttribute , See + * {@odf.attribute draw:mime-type} + * + * @param drawMimeTypeValue The type is String + */ + public void setDrawMimeTypeAttribute(String drawMimeTypeValue) { + DrawMimeTypeAttribute attr = new DrawMimeTypeAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setValue(drawMimeTypeValue); + } + /** * Receives the value of the ODFDOM attribute representation XlinkActuateAttribute , * See {@odf.attribute xlink:actuate} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/meta/MetaCreatorInitialsElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/meta/MetaCreatorInitialsElement.java new file mode 100644 index 0000000000..8990f7fe73 --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/meta/MetaCreatorInitialsElement.java @@ -0,0 +1,84 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved. + * + *

Use is subject to license terms. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0. You can also obtain a copy of the License at + * http://odftoolkit.org/docs/license.txt + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.dom.element.meta; + +import org.odftoolkit.odfdom.dom.DefaultElementVisitor; +import org.odftoolkit.odfdom.dom.OdfDocumentNamespace; +import org.odftoolkit.odfdom.pkg.ElementVisitor; +import org.odftoolkit.odfdom.pkg.OdfElement; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; + +/** DOM implementation of OpenDocument element {@odf.element meta:creator-initials}. */ +public class MetaCreatorInitialsElement extends OdfElement { + + public static final OdfName ELEMENT_NAME = + OdfName.newName(OdfDocumentNamespace.META, "creator-initials"); + + /** + * Create the instance of MetaCreatorInitialsElement + * + * @param ownerDoc The type is OdfFileDom + */ + public MetaCreatorInitialsElement(OdfFileDom ownerDoc) { + super(ownerDoc, ELEMENT_NAME); + } + + /** + * Get the element name + * + * @return return OdfName the name of element {@odf.element meta:creator-initials}. + */ + public OdfName getOdfName() { + return ELEMENT_NAME; + } + + /** + * Accept an visitor instance to allow the visitor to do some operations. Refer to visitor design + * pattern to get a better understanding. + * + * @param visitor an instance of DefaultElementVisitor + */ + @Override + public void accept(ElementVisitor visitor) { + if (visitor instanceof DefaultElementVisitor) { + DefaultElementVisitor defaultVisitor = (DefaultElementVisitor) visitor; + defaultVisitor.visit(this); + } else { + visitor.visit(this); + } + } + + /** Add text content. Only elements which are allowed to have text content offer this method. */ + public void newTextNode(String content) { + if (content != null && !content.equals("")) { + this.appendChild(this.getOwnerDocument().createTextNode(content)); + } + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberCurrencyStyleElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberCurrencyStyleElement.java index b67c00e587..b471321184 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberCurrencyStyleElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberCurrencyStyleElement.java @@ -101,6 +101,20 @@ public NumberCurrencySymbolElement newNumberCurrencySymbolElement() { return numberCurrencySymbol; } + /** + * Create child element {@odf.element number:fill-character}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element number:fill-character} + */ + public NumberFillCharacterElement newNumberFillCharacterElement() { + NumberFillCharacterElement numberFillCharacter = + ((OdfFileDom) this.ownerDocument).newOdfElement(NumberFillCharacterElement.class); + this.appendChild(numberFillCharacter); + return numberFillCharacter; + } + /** * Create child element {@odf.element number:number}. * diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberDateStyleElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberDateStyleElement.java index 2077d5a25f..b2ed01e868 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberDateStyleElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberDateStyleElement.java @@ -167,6 +167,20 @@ public NumberEraElement newNumberEraElement() { return numberEra; } + /** + * Create child element {@odf.element number:fill-character}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element number:fill-character} + */ + public NumberFillCharacterElement newNumberFillCharacterElement() { + NumberFillCharacterElement numberFillCharacter = + ((OdfFileDom) this.ownerDocument).newOdfElement(NumberFillCharacterElement.class); + this.appendChild(numberFillCharacter); + return numberFillCharacter; + } + /** * Create child element {@odf.element number:hours}. * diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberFillCharacterElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberFillCharacterElement.java new file mode 100644 index 0000000000..7dbb09134c --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberFillCharacterElement.java @@ -0,0 +1,84 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved. + * + *

Use is subject to license terms. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0. You can also obtain a copy of the License at + * http://odftoolkit.org/docs/license.txt + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.dom.element.number; + +import org.odftoolkit.odfdom.dom.DefaultElementVisitor; +import org.odftoolkit.odfdom.dom.OdfDocumentNamespace; +import org.odftoolkit.odfdom.pkg.ElementVisitor; +import org.odftoolkit.odfdom.pkg.OdfElement; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; + +/** DOM implementation of OpenDocument element {@odf.element number:fill-character}. */ +public class NumberFillCharacterElement extends OdfElement { + + public static final OdfName ELEMENT_NAME = + OdfName.newName(OdfDocumentNamespace.NUMBER, "fill-character"); + + /** + * Create the instance of NumberFillCharacterElement + * + * @param ownerDoc The type is OdfFileDom + */ + public NumberFillCharacterElement(OdfFileDom ownerDoc) { + super(ownerDoc, ELEMENT_NAME); + } + + /** + * Get the element name + * + * @return return OdfName the name of element {@odf.element number:fill-character}. + */ + public OdfName getOdfName() { + return ELEMENT_NAME; + } + + /** + * Accept an visitor instance to allow the visitor to do some operations. Refer to visitor design + * pattern to get a better understanding. + * + * @param visitor an instance of DefaultElementVisitor + */ + @Override + public void accept(ElementVisitor visitor) { + if (visitor instanceof DefaultElementVisitor) { + DefaultElementVisitor defaultVisitor = (DefaultElementVisitor) visitor; + defaultVisitor.visit(this); + } else { + visitor.visit(this); + } + } + + /** Add text content. Only elements which are allowed to have text content offer this method. */ + public void newTextNode(String content) { + if (content != null && !content.equals("")) { + this.appendChild(this.getOwnerDocument().createTextNode(content)); + } + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberFractionElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberFractionElement.java index 9601bcd13a..b5c38c930f 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberFractionElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberFractionElement.java @@ -32,6 +32,7 @@ import org.odftoolkit.odfdom.dom.OdfDocumentNamespace; import org.odftoolkit.odfdom.dom.attribute.number.NumberDenominatorValueAttribute; import org.odftoolkit.odfdom.dom.attribute.number.NumberGroupingAttribute; +import org.odftoolkit.odfdom.dom.attribute.number.NumberMaxDenominatorValueAttribute; import org.odftoolkit.odfdom.dom.attribute.number.NumberMinDenominatorDigitsAttribute; import org.odftoolkit.odfdom.dom.attribute.number.NumberMinIntegerDigitsAttribute; import org.odftoolkit.odfdom.dom.attribute.number.NumberMinNumeratorDigitsAttribute; @@ -122,6 +123,36 @@ public void setNumberGroupingAttribute(Boolean numberGroupingValue) { attr.setBooleanValue(numberGroupingValue.booleanValue()); } + /** + * Receives the value of the ODFDOM attribute representation + * NumberMaxDenominatorValueAttribute , See {@odf.attribute number:max-denominator-value} + * + * @return - the Integer , the value or null, if the attribute is not + * set and no default value defined. + */ + public Integer getNumberMaxDenominatorValueAttribute() { + NumberMaxDenominatorValueAttribute attr = + (NumberMaxDenominatorValueAttribute) + getOdfAttribute(OdfDocumentNamespace.NUMBER, "max-denominator-value"); + if (attr != null && !attr.getValue().isEmpty()) { + return Integer.valueOf(attr.intValue()); + } + return null; + } + + /** + * Sets the value of ODFDOM attribute representation NumberMaxDenominatorValueAttribute + * , See {@odf.attribute number:max-denominator-value} + * + * @param numberMaxDenominatorValueValue The type is Integer + */ + public void setNumberMaxDenominatorValueAttribute(Integer numberMaxDenominatorValueValue) { + NumberMaxDenominatorValueAttribute attr = + new NumberMaxDenominatorValueAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setIntValue(numberMaxDenominatorValueValue.intValue()); + } + /** * Receives the value of the ODFDOM attribute representation * NumberMinDenominatorDigitsAttribute , See {@odf.attribute number:min-denominator-digits} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberNumberElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberNumberElement.java index 0bc7ded887..2cfd312acc 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberNumberElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberNumberElement.java @@ -34,6 +34,7 @@ import org.odftoolkit.odfdom.dom.attribute.number.NumberDecimalReplacementAttribute; import org.odftoolkit.odfdom.dom.attribute.number.NumberDisplayFactorAttribute; import org.odftoolkit.odfdom.dom.attribute.number.NumberGroupingAttribute; +import org.odftoolkit.odfdom.dom.attribute.number.NumberMinDecimalPlacesAttribute; import org.odftoolkit.odfdom.dom.attribute.number.NumberMinIntegerDigitsAttribute; import org.odftoolkit.odfdom.pkg.ElementVisitor; import org.odftoolkit.odfdom.pkg.OdfElement; @@ -181,6 +182,36 @@ public void setNumberGroupingAttribute(Boolean numberGroupingValue) { attr.setBooleanValue(numberGroupingValue.booleanValue()); } + /** + * Receives the value of the ODFDOM attribute representation NumberMinDecimalPlacesAttribute + * , See {@odf.attribute number:min-decimal-places} + * + * @return - the Integer , the value or null, if the attribute is not + * set and no default value defined. + */ + public Integer getNumberMinDecimalPlacesAttribute() { + NumberMinDecimalPlacesAttribute attr = + (NumberMinDecimalPlacesAttribute) + getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-decimal-places"); + if (attr != null && !attr.getValue().isEmpty()) { + return Integer.valueOf(attr.intValue()); + } + return null; + } + + /** + * Sets the value of ODFDOM attribute representation NumberMinDecimalPlacesAttribute + * , See {@odf.attribute number:min-decimal-places} + * + * @param numberMinDecimalPlacesValue The type is Integer + */ + public void setNumberMinDecimalPlacesAttribute(Integer numberMinDecimalPlacesValue) { + NumberMinDecimalPlacesAttribute attr = + new NumberMinDecimalPlacesAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setIntValue(numberMinDecimalPlacesValue.intValue()); + } + /** * Receives the value of the ODFDOM attribute representation NumberMinIntegerDigitsAttribute * , See {@odf.attribute number:min-integer-digits} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberNumberStyleElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberNumberStyleElement.java index bc6b9e520e..b56e955ae3 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberNumberStyleElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberNumberStyleElement.java @@ -58,6 +58,20 @@ public OdfName getOdfName() { return ELEMENT_NAME; } + /** + * Create child element {@odf.element number:fill-character}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element number:fill-character} + */ + public NumberFillCharacterElement newNumberFillCharacterElement() { + NumberFillCharacterElement numberFillCharacter = + ((OdfFileDom) this.ownerDocument).newOdfElement(NumberFillCharacterElement.class); + this.appendChild(numberFillCharacter); + return numberFillCharacter; + } + /** * Create child element {@odf.element number:fraction}. * diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberPercentageStyleElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberPercentageStyleElement.java index 0b1bef2528..26225b8e1d 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberPercentageStyleElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberPercentageStyleElement.java @@ -58,6 +58,20 @@ public OdfName getOdfName() { return ELEMENT_NAME; } + /** + * Create child element {@odf.element number:fill-character}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element number:fill-character} + */ + public NumberFillCharacterElement newNumberFillCharacterElement() { + NumberFillCharacterElement numberFillCharacter = + ((OdfFileDom) this.ownerDocument).newOdfElement(NumberFillCharacterElement.class); + this.appendChild(numberFillCharacter); + return numberFillCharacter; + } + /** * Create child element {@odf.element number:number}. * diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberScientificNumberElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberScientificNumberElement.java index 954c0f1592..7615edaef8 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberScientificNumberElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberScientificNumberElement.java @@ -31,7 +31,10 @@ import org.odftoolkit.odfdom.dom.DefaultElementVisitor; import org.odftoolkit.odfdom.dom.OdfDocumentNamespace; import org.odftoolkit.odfdom.dom.attribute.number.NumberDecimalPlacesAttribute; +import org.odftoolkit.odfdom.dom.attribute.number.NumberExponentIntervalAttribute; +import org.odftoolkit.odfdom.dom.attribute.number.NumberForcedExponentSignAttribute; import org.odftoolkit.odfdom.dom.attribute.number.NumberGroupingAttribute; +import org.odftoolkit.odfdom.dom.attribute.number.NumberMinDecimalPlacesAttribute; import org.odftoolkit.odfdom.dom.attribute.number.NumberMinExponentDigitsAttribute; import org.odftoolkit.odfdom.dom.attribute.number.NumberMinIntegerDigitsAttribute; import org.odftoolkit.odfdom.pkg.ElementVisitor; @@ -94,6 +97,66 @@ public void setNumberDecimalPlacesAttribute(Integer numberDecimalPlacesValue) { attr.setIntValue(numberDecimalPlacesValue.intValue()); } + /** + * Receives the value of the ODFDOM attribute representation NumberExponentIntervalAttribute + * , See {@odf.attribute number:exponent-interval} + * + * @return - the Integer , the value or null, if the attribute is not + * set and no default value defined. + */ + public Integer getNumberExponentIntervalAttribute() { + NumberExponentIntervalAttribute attr = + (NumberExponentIntervalAttribute) + getOdfAttribute(OdfDocumentNamespace.NUMBER, "exponent-interval"); + if (attr != null && !attr.getValue().isEmpty()) { + return Integer.valueOf(attr.intValue()); + } + return null; + } + + /** + * Sets the value of ODFDOM attribute representation NumberExponentIntervalAttribute + * , See {@odf.attribute number:exponent-interval} + * + * @param numberExponentIntervalValue The type is Integer + */ + public void setNumberExponentIntervalAttribute(Integer numberExponentIntervalValue) { + NumberExponentIntervalAttribute attr = + new NumberExponentIntervalAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setIntValue(numberExponentIntervalValue.intValue()); + } + + /** + * Receives the value of the ODFDOM attribute representation + * NumberForcedExponentSignAttribute , See {@odf.attribute number:forced-exponent-sign} + * + * @return - the Boolean , the value or null, if the attribute is not + * set and no default value defined. + */ + public Boolean getNumberForcedExponentSignAttribute() { + NumberForcedExponentSignAttribute attr = + (NumberForcedExponentSignAttribute) + getOdfAttribute(OdfDocumentNamespace.NUMBER, "forced-exponent-sign"); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); + } + return null; + } + + /** + * Sets the value of ODFDOM attribute representation NumberForcedExponentSignAttribute + * , See {@odf.attribute number:forced-exponent-sign} + * + * @param numberForcedExponentSignValue The type is Boolean + */ + public void setNumberForcedExponentSignAttribute(Boolean numberForcedExponentSignValue) { + NumberForcedExponentSignAttribute attr = + new NumberForcedExponentSignAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setBooleanValue(numberForcedExponentSignValue.booleanValue()); + } + /** * Receives the value of the ODFDOM attribute representation NumberGroupingAttribute * , See {@odf.attribute number:grouping} @@ -122,6 +185,36 @@ public void setNumberGroupingAttribute(Boolean numberGroupingValue) { attr.setBooleanValue(numberGroupingValue.booleanValue()); } + /** + * Receives the value of the ODFDOM attribute representation NumberMinDecimalPlacesAttribute + * , See {@odf.attribute number:min-decimal-places} + * + * @return - the Integer , the value or null, if the attribute is not + * set and no default value defined. + */ + public Integer getNumberMinDecimalPlacesAttribute() { + NumberMinDecimalPlacesAttribute attr = + (NumberMinDecimalPlacesAttribute) + getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-decimal-places"); + if (attr != null && !attr.getValue().isEmpty()) { + return Integer.valueOf(attr.intValue()); + } + return null; + } + + /** + * Sets the value of ODFDOM attribute representation NumberMinDecimalPlacesAttribute + * , See {@odf.attribute number:min-decimal-places} + * + * @param numberMinDecimalPlacesValue The type is Integer + */ + public void setNumberMinDecimalPlacesAttribute(Integer numberMinDecimalPlacesValue) { + NumberMinDecimalPlacesAttribute attr = + new NumberMinDecimalPlacesAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setIntValue(numberMinDecimalPlacesValue.intValue()); + } + /** * Receives the value of the ODFDOM attribute representation * NumberMinExponentDigitsAttribute , See {@odf.attribute number:min-exponent-digits} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberTextStyleElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberTextStyleElement.java index 21a96730f8..a4279ff279 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberTextStyleElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberTextStyleElement.java @@ -58,6 +58,20 @@ public OdfName getOdfName() { return ELEMENT_NAME; } + /** + * Create child element {@odf.element number:fill-character}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element number:fill-character} + */ + public NumberFillCharacterElement newNumberFillCharacterElement() { + NumberFillCharacterElement numberFillCharacter = + ((OdfFileDom) this.ownerDocument).newOdfElement(NumberFillCharacterElement.class); + this.appendChild(numberFillCharacter); + return numberFillCharacter; + } + /** * Create child element {@odf.element number:text-content}. * diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberTimeStyleElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberTimeStyleElement.java index 4950284130..5d06a84ab9 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberTimeStyleElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberTimeStyleElement.java @@ -131,6 +131,20 @@ public NumberAmPmElement newNumberAmPmElement() { return numberAmPm; } + /** + * Create child element {@odf.element number:fill-character}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element number:fill-character} + */ + public NumberFillCharacterElement newNumberFillCharacterElement() { + NumberFillCharacterElement numberFillCharacter = + ((OdfFileDom) this.ownerDocument).newOdfElement(NumberFillCharacterElement.class); + this.appendChild(numberFillCharacter); + return numberFillCharacter; + } + /** * Create child element {@odf.element number:hours}. * diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeAnnotationElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeAnnotationElement.java index f98ef7cbf2..42b36176d2 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeAnnotationElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeAnnotationElement.java @@ -45,6 +45,7 @@ import org.odftoolkit.odfdom.dom.element.dc.DcCreatorElement; import org.odftoolkit.odfdom.dom.element.dc.DcDateElement; import org.odftoolkit.odfdom.dom.element.draw.DrawShapeElementBase; +import org.odftoolkit.odfdom.dom.element.meta.MetaCreatorInitialsElement; import org.odftoolkit.odfdom.dom.element.meta.MetaDateStringElement; import org.odftoolkit.odfdom.dom.element.text.TextListElement; import org.odftoolkit.odfdom.dom.element.text.TextPElement; @@ -435,6 +436,20 @@ public DcDateElement newDcDateElement() { return dcDate; } + /** + * Create child element {@odf.element meta:creator-initials}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element meta:creator-initials} + */ + public MetaCreatorInitialsElement newMetaCreatorInitialsElement() { + MetaCreatorInitialsElement metaCreatorInitials = + ((OdfFileDom) this.ownerDocument).newOdfElement(MetaCreatorInitialsElement.class); + this.appendChild(metaCreatorInitials); + return metaCreatorInitials; + } + /** * Create child element {@odf.element meta:date-string}. * diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeStylesElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeStylesElement.java index 4df87c6468..676b285949 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeStylesElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeStylesElement.java @@ -88,19 +88,12 @@ public OdfName getOdfName() { * * @param drawNameValue the String value of DrawNameAttribute, see * {@odf.attribute draw:name} at specification - * @param xlinkHrefValue the String value of XlinkHrefAttribute, see - * {@odf.attribute xlink:href} at specification - * @param xlinkTypeValue the String value of XlinkTypeAttribute, see - * {@odf.attribute xlink:type} at specification * @return the element {@odf.element draw:fill-image} */ - public DrawFillImageElement newDrawFillImageElement( - String drawNameValue, String xlinkHrefValue, String xlinkTypeValue) { + public DrawFillImageElement newDrawFillImageElement(String drawNameValue) { DrawFillImageElement drawFillImage = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawFillImageElement.class); drawFillImage.setDrawNameAttribute(drawNameValue); - drawFillImage.setXlinkHrefAttribute(xlinkHrefValue); - drawFillImage.setXlinkTypeAttribute(xlinkTypeValue); this.appendChild(drawFillImage); return drawFillImage; } diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleChartPropertiesElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleChartPropertiesElement.java index c871e60e3d..027863d60b 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleChartPropertiesElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleChartPropertiesElement.java @@ -37,6 +37,7 @@ import org.odftoolkit.odfdom.dom.attribute.chart.ChartAxisPositionAttribute; import org.odftoolkit.odfdom.dom.attribute.chart.ChartConnectBarsAttribute; import org.odftoolkit.odfdom.dom.attribute.chart.ChartDataLabelNumberAttribute; +import org.odftoolkit.odfdom.dom.attribute.chart.ChartDataLabelSeriesAttribute; import org.odftoolkit.odfdom.dom.attribute.chart.ChartDataLabelSymbolAttribute; import org.odftoolkit.odfdom.dom.attribute.chart.ChartDataLabelTextAttribute; import org.odftoolkit.odfdom.dom.attribute.chart.ChartDeepAttribute; @@ -71,6 +72,12 @@ import org.odftoolkit.odfdom.dom.attribute.chart.ChartOverlapAttribute; import org.odftoolkit.odfdom.dom.attribute.chart.ChartPercentageAttribute; import org.odftoolkit.odfdom.dom.attribute.chart.ChartPieOffsetAttribute; +import org.odftoolkit.odfdom.dom.attribute.chart.ChartRegressionForceInterceptAttribute; +import org.odftoolkit.odfdom.dom.attribute.chart.ChartRegressionInterceptValueAttribute; +import org.odftoolkit.odfdom.dom.attribute.chart.ChartRegressionMaxDegreeAttribute; +import org.odftoolkit.odfdom.dom.attribute.chart.ChartRegressionMovingTypeAttribute; +import org.odftoolkit.odfdom.dom.attribute.chart.ChartRegressionNameAttribute; +import org.odftoolkit.odfdom.dom.attribute.chart.ChartRegressionPeriodAttribute; import org.odftoolkit.odfdom.dom.attribute.chart.ChartRegressionTypeAttribute; import org.odftoolkit.odfdom.dom.attribute.chart.ChartReverseDirectionAttribute; import org.odftoolkit.odfdom.dom.attribute.chart.ChartRightAngledAxesAttribute; @@ -166,6 +173,11 @@ public OdfName getOdfName() { OdfStylePropertiesSet.ChartProperties, OdfName.newName(OdfDocumentNamespace.CHART, "data-label-number")); + public static final OdfStyleProperty DataLabelSeries = + OdfStyleProperty.get( + OdfStylePropertiesSet.ChartProperties, + OdfName.newName(OdfDocumentNamespace.CHART, "data-label-series")); + public static final OdfStyleProperty DataLabelSymbol = OdfStyleProperty.get( OdfStylePropertiesSet.ChartProperties, @@ -336,6 +348,36 @@ public OdfName getOdfName() { OdfStylePropertiesSet.ChartProperties, OdfName.newName(OdfDocumentNamespace.CHART, "pie-offset")); + public static final OdfStyleProperty RegressionForceIntercept = + OdfStyleProperty.get( + OdfStylePropertiesSet.ChartProperties, + OdfName.newName(OdfDocumentNamespace.CHART, "regression-force-intercept")); + + public static final OdfStyleProperty RegressionInterceptValue = + OdfStyleProperty.get( + OdfStylePropertiesSet.ChartProperties, + OdfName.newName(OdfDocumentNamespace.CHART, "regression-intercept-value")); + + public static final OdfStyleProperty RegressionMaxDegree = + OdfStyleProperty.get( + OdfStylePropertiesSet.ChartProperties, + OdfName.newName(OdfDocumentNamespace.CHART, "regression-max-degree")); + + public static final OdfStyleProperty RegressionMovingType = + OdfStyleProperty.get( + OdfStylePropertiesSet.ChartProperties, + OdfName.newName(OdfDocumentNamespace.CHART, "regression-moving-type")); + + public static final OdfStyleProperty RegressionName = + OdfStyleProperty.get( + OdfStylePropertiesSet.ChartProperties, + OdfName.newName(OdfDocumentNamespace.CHART, "regression-name")); + + public static final OdfStyleProperty RegressionPeriod = + OdfStyleProperty.get( + OdfStylePropertiesSet.ChartProperties, + OdfName.newName(OdfDocumentNamespace.CHART, "regression-period")); + public static final OdfStyleProperty RegressionType = OdfStyleProperty.get( OdfStylePropertiesSet.ChartProperties, @@ -673,6 +715,36 @@ public void setChartDataLabelNumberAttribute(String chartDataLabelNumberValue) { attr.setValue(chartDataLabelNumberValue); } + /** + * Receives the value of the ODFDOM attribute representation ChartDataLabelSeriesAttribute + * , See {@odf.attribute chart:data-label-series} + * + * @return - the Boolean , the value or null, if the attribute is not + * set and no default value defined. + */ + public Boolean getChartDataLabelSeriesAttribute() { + ChartDataLabelSeriesAttribute attr = + (ChartDataLabelSeriesAttribute) + getOdfAttribute(OdfDocumentNamespace.CHART, "data-label-series"); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); + } + return null; + } + + /** + * Sets the value of ODFDOM attribute representation ChartDataLabelSeriesAttribute , + * See {@odf.attribute chart:data-label-series} + * + * @param chartDataLabelSeriesValue The type is Boolean + */ + public void setChartDataLabelSeriesAttribute(Boolean chartDataLabelSeriesValue) { + ChartDataLabelSeriesAttribute attr = + new ChartDataLabelSeriesAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setBooleanValue(chartDataLabelSeriesValue.booleanValue()); + } + /** * Receives the value of the ODFDOM attribute representation ChartDataLabelSymbolAttribute * , See {@odf.attribute chart:data-label-symbol} @@ -1663,6 +1735,189 @@ public void setChartPieOffsetAttribute(Integer chartPieOffsetValue) { attr.setIntValue(chartPieOffsetValue.intValue()); } + /** + * Receives the value of the ODFDOM attribute representation + * ChartRegressionForceInterceptAttribute , See {@odf.attribute + * chart:regression-force-intercept} + * + * @return - the Boolean , the value or null, if the attribute is not + * set and no default value defined. + */ + public Boolean getChartRegressionForceInterceptAttribute() { + ChartRegressionForceInterceptAttribute attr = + (ChartRegressionForceInterceptAttribute) + getOdfAttribute(OdfDocumentNamespace.CHART, "regression-force-intercept"); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); + } + return null; + } + + /** + * Sets the value of ODFDOM attribute representation ChartRegressionForceInterceptAttribute + * , See {@odf.attribute chart:regression-force-intercept} + * + * @param chartRegressionForceInterceptValue The type is Boolean + */ + public void setChartRegressionForceInterceptAttribute( + Boolean chartRegressionForceInterceptValue) { + ChartRegressionForceInterceptAttribute attr = + new ChartRegressionForceInterceptAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setBooleanValue(chartRegressionForceInterceptValue.booleanValue()); + } + + /** + * Receives the value of the ODFDOM attribute representation + * ChartRegressionInterceptValueAttribute , See {@odf.attribute + * chart:regression-intercept-value} + * + * @return - the Double , the value or null, if the attribute is not set + * and no default value defined. + */ + public Double getChartRegressionInterceptValueAttribute() { + ChartRegressionInterceptValueAttribute attr = + (ChartRegressionInterceptValueAttribute) + getOdfAttribute(OdfDocumentNamespace.CHART, "regression-intercept-value"); + if (attr != null && !attr.getValue().isEmpty()) { + return Double.valueOf(attr.doubleValue()); + } + return null; + } + + /** + * Sets the value of ODFDOM attribute representation ChartRegressionInterceptValueAttribute + * , See {@odf.attribute chart:regression-intercept-value} + * + * @param chartRegressionInterceptValueValue The type is Double + */ + public void setChartRegressionInterceptValueAttribute(Double chartRegressionInterceptValueValue) { + ChartRegressionInterceptValueAttribute attr = + new ChartRegressionInterceptValueAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setDoubleValue(chartRegressionInterceptValueValue.doubleValue()); + } + + /** + * Receives the value of the ODFDOM attribute representation + * ChartRegressionMaxDegreeAttribute , See {@odf.attribute chart:regression-max-degree} + * + * @return - the Integer , the value or null, if the attribute is not + * set and no default value defined. + */ + public Integer getChartRegressionMaxDegreeAttribute() { + ChartRegressionMaxDegreeAttribute attr = + (ChartRegressionMaxDegreeAttribute) + getOdfAttribute(OdfDocumentNamespace.CHART, "regression-max-degree"); + if (attr != null && !attr.getValue().isEmpty()) { + return Integer.valueOf(attr.intValue()); + } + return null; + } + + /** + * Sets the value of ODFDOM attribute representation ChartRegressionMaxDegreeAttribute + * , See {@odf.attribute chart:regression-max-degree} + * + * @param chartRegressionMaxDegreeValue The type is Integer + */ + public void setChartRegressionMaxDegreeAttribute(Integer chartRegressionMaxDegreeValue) { + ChartRegressionMaxDegreeAttribute attr = + new ChartRegressionMaxDegreeAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setIntValue(chartRegressionMaxDegreeValue.intValue()); + } + + /** + * Receives the value of the ODFDOM attribute representation + * ChartRegressionMovingTypeAttribute , See {@odf.attribute chart:regression-moving-type} + * + * @return - the String , the value or null, if the attribute is not set + * and no default value defined. + */ + public String getChartRegressionMovingTypeAttribute() { + ChartRegressionMovingTypeAttribute attr = + (ChartRegressionMovingTypeAttribute) + getOdfAttribute(OdfDocumentNamespace.CHART, "regression-moving-type"); + if (attr != null) { + return String.valueOf(attr.getValue()); + } + return null; + } + + /** + * Sets the value of ODFDOM attribute representation ChartRegressionMovingTypeAttribute + * , See {@odf.attribute chart:regression-moving-type} + * + * @param chartRegressionMovingTypeValue The type is String + */ + public void setChartRegressionMovingTypeAttribute(String chartRegressionMovingTypeValue) { + ChartRegressionMovingTypeAttribute attr = + new ChartRegressionMovingTypeAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setValue(chartRegressionMovingTypeValue); + } + + /** + * Receives the value of the ODFDOM attribute representation ChartRegressionNameAttribute + * , See {@odf.attribute chart:regression-name} + * + * @return - the String , the value or null, if the attribute is not set + * and no default value defined. + */ + public String getChartRegressionNameAttribute() { + ChartRegressionNameAttribute attr = + (ChartRegressionNameAttribute) + getOdfAttribute(OdfDocumentNamespace.CHART, "regression-name"); + if (attr != null) { + return String.valueOf(attr.getValue()); + } + return null; + } + + /** + * Sets the value of ODFDOM attribute representation ChartRegressionNameAttribute , + * See {@odf.attribute chart:regression-name} + * + * @param chartRegressionNameValue The type is String + */ + public void setChartRegressionNameAttribute(String chartRegressionNameValue) { + ChartRegressionNameAttribute attr = + new ChartRegressionNameAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setValue(chartRegressionNameValue); + } + + /** + * Receives the value of the ODFDOM attribute representation ChartRegressionPeriodAttribute + * , See {@odf.attribute chart:regression-period} + * + * @return - the Integer , the value or null, if the attribute is not + * set and no default value defined. + */ + public Integer getChartRegressionPeriodAttribute() { + ChartRegressionPeriodAttribute attr = + (ChartRegressionPeriodAttribute) + getOdfAttribute(OdfDocumentNamespace.CHART, "regression-period"); + if (attr != null && !attr.getValue().isEmpty()) { + return Integer.valueOf(attr.intValue()); + } + return null; + } + + /** + * Sets the value of ODFDOM attribute representation ChartRegressionPeriodAttribute , + * See {@odf.attribute chart:regression-period} + * + * @param chartRegressionPeriodValue The type is Integer + */ + public void setChartRegressionPeriodAttribute(Integer chartRegressionPeriodValue) { + ChartRegressionPeriodAttribute attr = + new ChartRegressionPeriodAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setIntValue(chartRegressionPeriodValue.intValue()); + } + /** * Receives the value of the ODFDOM attribute representation ChartRegressionTypeAttribute * , See {@odf.attribute chart:regression-type} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleFooterFirstElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleFooterFirstElement.java new file mode 100644 index 0000000000..ef781fb546 --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleFooterFirstElement.java @@ -0,0 +1,499 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved. + * + *

Use is subject to license terms. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0. You can also obtain a copy of the License at + * http://odftoolkit.org/docs/license.txt + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.dom.element.style; + +import org.odftoolkit.odfdom.dom.DefaultElementVisitor; +import org.odftoolkit.odfdom.dom.OdfDocumentNamespace; +import org.odftoolkit.odfdom.dom.attribute.style.StyleDisplayAttribute; +import org.odftoolkit.odfdom.dom.element.table.TableTableElement; +import org.odftoolkit.odfdom.dom.element.text.TextAlphabeticalIndexAutoMarkFileElement; +import org.odftoolkit.odfdom.dom.element.text.TextAlphabeticalIndexElement; +import org.odftoolkit.odfdom.dom.element.text.TextBibliographyElement; +import org.odftoolkit.odfdom.dom.element.text.TextChangeElement; +import org.odftoolkit.odfdom.dom.element.text.TextChangeEndElement; +import org.odftoolkit.odfdom.dom.element.text.TextChangeStartElement; +import org.odftoolkit.odfdom.dom.element.text.TextDdeConnectionDeclsElement; +import org.odftoolkit.odfdom.dom.element.text.TextHElement; +import org.odftoolkit.odfdom.dom.element.text.TextIllustrationIndexElement; +import org.odftoolkit.odfdom.dom.element.text.TextIndexTitleElement; +import org.odftoolkit.odfdom.dom.element.text.TextListElement; +import org.odftoolkit.odfdom.dom.element.text.TextObjectIndexElement; +import org.odftoolkit.odfdom.dom.element.text.TextPElement; +import org.odftoolkit.odfdom.dom.element.text.TextSectionElement; +import org.odftoolkit.odfdom.dom.element.text.TextSequenceDeclsElement; +import org.odftoolkit.odfdom.dom.element.text.TextTableIndexElement; +import org.odftoolkit.odfdom.dom.element.text.TextTableOfContentElement; +import org.odftoolkit.odfdom.dom.element.text.TextTrackedChangesElement; +import org.odftoolkit.odfdom.dom.element.text.TextUserFieldDeclsElement; +import org.odftoolkit.odfdom.dom.element.text.TextUserIndexElement; +import org.odftoolkit.odfdom.dom.element.text.TextVariableDeclsElement; +import org.odftoolkit.odfdom.pkg.ElementVisitor; +import org.odftoolkit.odfdom.pkg.OdfElement; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; + +/** DOM implementation of OpenDocument element {@odf.element style:footer-first}. */ +public class StyleFooterFirstElement extends OdfElement { + + public static final OdfName ELEMENT_NAME = + OdfName.newName(OdfDocumentNamespace.STYLE, "footer-first"); + + /** + * Create the instance of StyleFooterFirstElement + * + * @param ownerDoc The type is OdfFileDom + */ + public StyleFooterFirstElement(OdfFileDom ownerDoc) { + super(ownerDoc, ELEMENT_NAME); + } + + /** + * Get the element name + * + * @return return OdfName the name of element {@odf.element style:footer-first}. + */ + public OdfName getOdfName() { + return ELEMENT_NAME; + } + + /** + * Receives the value of the ODFDOM attribute representation StyleDisplayAttribute , + * See {@odf.attribute style:display} + * + * @return - the Boolean , the value or null, if the attribute is not + * set and no default value defined. + */ + public Boolean getStyleDisplayAttribute() { + StyleDisplayAttribute attr = + (StyleDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "display"); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); + } + return Boolean.valueOf(StyleDisplayAttribute.DEFAULT_VALUE); + } + + /** + * Sets the value of ODFDOM attribute representation StyleDisplayAttribute , See + * {@odf.attribute style:display} + * + * @param styleDisplayValue The type is Boolean + */ + public void setStyleDisplayAttribute(Boolean styleDisplayValue) { + StyleDisplayAttribute attr = new StyleDisplayAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setBooleanValue(styleDisplayValue.booleanValue()); + } + + /** + * Create child element {@odf.element style:region-center}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element style:region-center} + */ + public StyleRegionCenterElement newStyleRegionCenterElement() { + StyleRegionCenterElement styleRegionCenter = + ((OdfFileDom) this.ownerDocument).newOdfElement(StyleRegionCenterElement.class); + this.appendChild(styleRegionCenter); + return styleRegionCenter; + } + + /** + * Create child element {@odf.element style:region-left}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element style:region-left} + */ + public StyleRegionLeftElement newStyleRegionLeftElement() { + StyleRegionLeftElement styleRegionLeft = + ((OdfFileDom) this.ownerDocument).newOdfElement(StyleRegionLeftElement.class); + this.appendChild(styleRegionLeft); + return styleRegionLeft; + } + + /** + * Create child element {@odf.element style:region-right}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element style:region-right} + */ + public StyleRegionRightElement newStyleRegionRightElement() { + StyleRegionRightElement styleRegionRight = + ((OdfFileDom) this.ownerDocument).newOdfElement(StyleRegionRightElement.class); + this.appendChild(styleRegionRight); + return styleRegionRight; + } + + /** + * Create child element {@odf.element table:table}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element table:table} + */ + public TableTableElement newTableTableElement() { + TableTableElement tableTable = + ((OdfFileDom) this.ownerDocument).newOdfElement(TableTableElement.class); + this.appendChild(tableTable); + return tableTable; + } + + /** + * Create child element {@odf.element text:alphabetical-index}. + * + * @param textNameValue the String value of TextNameAttribute, see + * {@odf.attribute text:name} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:alphabetical-index} + */ + public TextAlphabeticalIndexElement newTextAlphabeticalIndexElement(String textNameValue) { + TextAlphabeticalIndexElement textAlphabeticalIndex = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextAlphabeticalIndexElement.class); + textAlphabeticalIndex.setTextNameAttribute(textNameValue); + this.appendChild(textAlphabeticalIndex); + return textAlphabeticalIndex; + } + + /** + * Create child element {@odf.element text:alphabetical-index-auto-mark-file}. + * + * @param xlinkHrefValue the String value of XlinkHrefAttribute, see + * {@odf.attribute xlink:href} at specification + * @param xlinkTypeValue the String value of XlinkTypeAttribute, see + * {@odf.attribute xlink:type} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:alphabetical-index-auto-mark-file} + */ + public TextAlphabeticalIndexAutoMarkFileElement newTextAlphabeticalIndexAutoMarkFileElement( + String xlinkHrefValue, String xlinkTypeValue) { + TextAlphabeticalIndexAutoMarkFileElement textAlphabeticalIndexAutoMarkFile = + ((OdfFileDom) this.ownerDocument) + .newOdfElement(TextAlphabeticalIndexAutoMarkFileElement.class); + textAlphabeticalIndexAutoMarkFile.setXlinkHrefAttribute(xlinkHrefValue); + textAlphabeticalIndexAutoMarkFile.setXlinkTypeAttribute(xlinkTypeValue); + this.appendChild(textAlphabeticalIndexAutoMarkFile); + return textAlphabeticalIndexAutoMarkFile; + } + + /** + * Create child element {@odf.element text:bibliography}. + * + * @param textNameValue the String value of TextNameAttribute, see + * {@odf.attribute text:name} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:bibliography} + */ + public TextBibliographyElement newTextBibliographyElement(String textNameValue) { + TextBibliographyElement textBibliography = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextBibliographyElement.class); + textBibliography.setTextNameAttribute(textNameValue); + this.appendChild(textBibliography); + return textBibliography; + } + + /** + * Create child element {@odf.element text:change}. + * + * @param textChangeIdValue the String value of TextChangeIdAttribute, + * see {@odf.attribute text:change-id} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:change} + */ + public TextChangeElement newTextChangeElement(String textChangeIdValue) { + TextChangeElement textChange = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextChangeElement.class); + textChange.setTextChangeIdAttribute(textChangeIdValue); + this.appendChild(textChange); + return textChange; + } + + /** + * Create child element {@odf.element text:change-end}. + * + * @param textChangeIdValue the String value of TextChangeIdAttribute, + * see {@odf.attribute text:change-id} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:change-end} + */ + public TextChangeEndElement newTextChangeEndElement(String textChangeIdValue) { + TextChangeEndElement textChangeEnd = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextChangeEndElement.class); + textChangeEnd.setTextChangeIdAttribute(textChangeIdValue); + this.appendChild(textChangeEnd); + return textChangeEnd; + } + + /** + * Create child element {@odf.element text:change-start}. + * + * @param textChangeIdValue the String value of TextChangeIdAttribute, + * see {@odf.attribute text:change-id} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:change-start} + */ + public TextChangeStartElement newTextChangeStartElement(String textChangeIdValue) { + TextChangeStartElement textChangeStart = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextChangeStartElement.class); + textChangeStart.setTextChangeIdAttribute(textChangeIdValue); + this.appendChild(textChangeStart); + return textChangeStart; + } + + /** + * Create child element {@odf.element text:dde-connection-decls}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element text:dde-connection-decls} + */ + public TextDdeConnectionDeclsElement newTextDdeConnectionDeclsElement() { + TextDdeConnectionDeclsElement textDdeConnectionDecls = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextDdeConnectionDeclsElement.class); + this.appendChild(textDdeConnectionDecls); + return textDdeConnectionDecls; + } + + /** + * Create child element {@odf.element text:h}. + * + * @param textOutlineLevelValue the Integer value of TextOutlineLevelAttribute + * , see {@odf.attribute text:outline-level} at specification Child element was added + * in ODF 1.3 + * @return the element {@odf.element text:h} + */ + public TextHElement newTextHElement(int textOutlineLevelValue) { + TextHElement textH = ((OdfFileDom) this.ownerDocument).newOdfElement(TextHElement.class); + textH.setTextOutlineLevelAttribute(textOutlineLevelValue); + this.appendChild(textH); + return textH; + } + + /** + * Create child element {@odf.element text:illustration-index}. + * + * @param textNameValue the String value of TextNameAttribute, see + * {@odf.attribute text:name} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:illustration-index} + */ + public TextIllustrationIndexElement newTextIllustrationIndexElement(String textNameValue) { + TextIllustrationIndexElement textIllustrationIndex = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextIllustrationIndexElement.class); + textIllustrationIndex.setTextNameAttribute(textNameValue); + this.appendChild(textIllustrationIndex); + return textIllustrationIndex; + } + + /** + * Create child element {@odf.element text:index-title}. + * + * @param textNameValue the String value of TextNameAttribute, see + * {@odf.attribute text:name} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:index-title} + */ + public TextIndexTitleElement newTextIndexTitleElement(String textNameValue) { + TextIndexTitleElement textIndexTitle = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextIndexTitleElement.class); + textIndexTitle.setTextNameAttribute(textNameValue); + this.appendChild(textIndexTitle); + return textIndexTitle; + } + + /** + * Create child element {@odf.element text:list}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element text:list} + */ + public TextListElement newTextListElement() { + TextListElement textList = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextListElement.class); + this.appendChild(textList); + return textList; + } + + /** + * Create child element {@odf.element text:object-index}. + * + * @param textNameValue the String value of TextNameAttribute, see + * {@odf.attribute text:name} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:object-index} + */ + public TextObjectIndexElement newTextObjectIndexElement(String textNameValue) { + TextObjectIndexElement textObjectIndex = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextObjectIndexElement.class); + textObjectIndex.setTextNameAttribute(textNameValue); + this.appendChild(textObjectIndex); + return textObjectIndex; + } + + /** + * Create child element {@odf.element text:p}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element text:p} + */ + public TextPElement newTextPElement() { + TextPElement textP = ((OdfFileDom) this.ownerDocument).newOdfElement(TextPElement.class); + this.appendChild(textP); + return textP; + } + + /** + * Create child element {@odf.element text:section}. + * + * @param textDisplayValue the String value of TextDisplayAttribute, see + * {@odf.attribute text:display} at specification + * @param textNameValue the String value of TextNameAttribute, see + * {@odf.attribute text:name} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:section} + */ + public TextSectionElement newTextSectionElement(String textDisplayValue, String textNameValue) { + TextSectionElement textSection = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextSectionElement.class); + textSection.setTextDisplayAttribute(textDisplayValue); + textSection.setTextNameAttribute(textNameValue); + this.appendChild(textSection); + return textSection; + } + + /** + * Create child element {@odf.element text:sequence-decls}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element text:sequence-decls} + */ + public TextSequenceDeclsElement newTextSequenceDeclsElement() { + TextSequenceDeclsElement textSequenceDecls = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextSequenceDeclsElement.class); + this.appendChild(textSequenceDecls); + return textSequenceDecls; + } + + /** + * Create child element {@odf.element text:table-index}. + * + * @param textNameValue the String value of TextNameAttribute, see + * {@odf.attribute text:name} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:table-index} + */ + public TextTableIndexElement newTextTableIndexElement(String textNameValue) { + TextTableIndexElement textTableIndex = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextTableIndexElement.class); + textTableIndex.setTextNameAttribute(textNameValue); + this.appendChild(textTableIndex); + return textTableIndex; + } + + /** + * Create child element {@odf.element text:table-of-content}. + * + * @param textNameValue the String value of TextNameAttribute, see + * {@odf.attribute text:name} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:table-of-content} + */ + public TextTableOfContentElement newTextTableOfContentElement(String textNameValue) { + TextTableOfContentElement textTableOfContent = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextTableOfContentElement.class); + textTableOfContent.setTextNameAttribute(textNameValue); + this.appendChild(textTableOfContent); + return textTableOfContent; + } + + /** + * Create child element {@odf.element text:tracked-changes}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element text:tracked-changes} + */ + public TextTrackedChangesElement newTextTrackedChangesElement() { + TextTrackedChangesElement textTrackedChanges = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextTrackedChangesElement.class); + this.appendChild(textTrackedChanges); + return textTrackedChanges; + } + + /** + * Create child element {@odf.element text:user-field-decls}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element text:user-field-decls} + */ + public TextUserFieldDeclsElement newTextUserFieldDeclsElement() { + TextUserFieldDeclsElement textUserFieldDecls = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextUserFieldDeclsElement.class); + this.appendChild(textUserFieldDecls); + return textUserFieldDecls; + } + + /** + * Create child element {@odf.element text:user-index}. + * + * @param textNameValue the String value of TextNameAttribute, see + * {@odf.attribute text:name} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:user-index} + */ + public TextUserIndexElement newTextUserIndexElement(String textNameValue) { + TextUserIndexElement textUserIndex = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextUserIndexElement.class); + textUserIndex.setTextNameAttribute(textNameValue); + this.appendChild(textUserIndex); + return textUserIndex; + } + + /** + * Create child element {@odf.element text:variable-decls}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element text:variable-decls} + */ + public TextVariableDeclsElement newTextVariableDeclsElement() { + TextVariableDeclsElement textVariableDecls = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextVariableDeclsElement.class); + this.appendChild(textVariableDecls); + return textVariableDecls; + } + + /** + * Accept an visitor instance to allow the visitor to do some operations. Refer to visitor design + * pattern to get a better understanding. + * + * @param visitor an instance of DefaultElementVisitor + */ + @Override + public void accept(ElementVisitor visitor) { + if (visitor instanceof DefaultElementVisitor) { + DefaultElementVisitor defaultVisitor = (DefaultElementVisitor) visitor; + defaultVisitor.visit(this); + } else { + visitor.visit(this); + } + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHeaderFirstElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHeaderFirstElement.java new file mode 100644 index 0000000000..366549f0d9 --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHeaderFirstElement.java @@ -0,0 +1,499 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved. + * + *

Use is subject to license terms. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0. You can also obtain a copy of the License at + * http://odftoolkit.org/docs/license.txt + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.dom.element.style; + +import org.odftoolkit.odfdom.dom.DefaultElementVisitor; +import org.odftoolkit.odfdom.dom.OdfDocumentNamespace; +import org.odftoolkit.odfdom.dom.attribute.style.StyleDisplayAttribute; +import org.odftoolkit.odfdom.dom.element.table.TableTableElement; +import org.odftoolkit.odfdom.dom.element.text.TextAlphabeticalIndexAutoMarkFileElement; +import org.odftoolkit.odfdom.dom.element.text.TextAlphabeticalIndexElement; +import org.odftoolkit.odfdom.dom.element.text.TextBibliographyElement; +import org.odftoolkit.odfdom.dom.element.text.TextChangeElement; +import org.odftoolkit.odfdom.dom.element.text.TextChangeEndElement; +import org.odftoolkit.odfdom.dom.element.text.TextChangeStartElement; +import org.odftoolkit.odfdom.dom.element.text.TextDdeConnectionDeclsElement; +import org.odftoolkit.odfdom.dom.element.text.TextHElement; +import org.odftoolkit.odfdom.dom.element.text.TextIllustrationIndexElement; +import org.odftoolkit.odfdom.dom.element.text.TextIndexTitleElement; +import org.odftoolkit.odfdom.dom.element.text.TextListElement; +import org.odftoolkit.odfdom.dom.element.text.TextObjectIndexElement; +import org.odftoolkit.odfdom.dom.element.text.TextPElement; +import org.odftoolkit.odfdom.dom.element.text.TextSectionElement; +import org.odftoolkit.odfdom.dom.element.text.TextSequenceDeclsElement; +import org.odftoolkit.odfdom.dom.element.text.TextTableIndexElement; +import org.odftoolkit.odfdom.dom.element.text.TextTableOfContentElement; +import org.odftoolkit.odfdom.dom.element.text.TextTrackedChangesElement; +import org.odftoolkit.odfdom.dom.element.text.TextUserFieldDeclsElement; +import org.odftoolkit.odfdom.dom.element.text.TextUserIndexElement; +import org.odftoolkit.odfdom.dom.element.text.TextVariableDeclsElement; +import org.odftoolkit.odfdom.pkg.ElementVisitor; +import org.odftoolkit.odfdom.pkg.OdfElement; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; + +/** DOM implementation of OpenDocument element {@odf.element style:header-first}. */ +public class StyleHeaderFirstElement extends OdfElement { + + public static final OdfName ELEMENT_NAME = + OdfName.newName(OdfDocumentNamespace.STYLE, "header-first"); + + /** + * Create the instance of StyleHeaderFirstElement + * + * @param ownerDoc The type is OdfFileDom + */ + public StyleHeaderFirstElement(OdfFileDom ownerDoc) { + super(ownerDoc, ELEMENT_NAME); + } + + /** + * Get the element name + * + * @return return OdfName the name of element {@odf.element style:header-first}. + */ + public OdfName getOdfName() { + return ELEMENT_NAME; + } + + /** + * Receives the value of the ODFDOM attribute representation StyleDisplayAttribute , + * See {@odf.attribute style:display} + * + * @return - the Boolean , the value or null, if the attribute is not + * set and no default value defined. + */ + public Boolean getStyleDisplayAttribute() { + StyleDisplayAttribute attr = + (StyleDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "display"); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); + } + return Boolean.valueOf(StyleDisplayAttribute.DEFAULT_VALUE); + } + + /** + * Sets the value of ODFDOM attribute representation StyleDisplayAttribute , See + * {@odf.attribute style:display} + * + * @param styleDisplayValue The type is Boolean + */ + public void setStyleDisplayAttribute(Boolean styleDisplayValue) { + StyleDisplayAttribute attr = new StyleDisplayAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setBooleanValue(styleDisplayValue.booleanValue()); + } + + /** + * Create child element {@odf.element style:region-center}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element style:region-center} + */ + public StyleRegionCenterElement newStyleRegionCenterElement() { + StyleRegionCenterElement styleRegionCenter = + ((OdfFileDom) this.ownerDocument).newOdfElement(StyleRegionCenterElement.class); + this.appendChild(styleRegionCenter); + return styleRegionCenter; + } + + /** + * Create child element {@odf.element style:region-left}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element style:region-left} + */ + public StyleRegionLeftElement newStyleRegionLeftElement() { + StyleRegionLeftElement styleRegionLeft = + ((OdfFileDom) this.ownerDocument).newOdfElement(StyleRegionLeftElement.class); + this.appendChild(styleRegionLeft); + return styleRegionLeft; + } + + /** + * Create child element {@odf.element style:region-right}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element style:region-right} + */ + public StyleRegionRightElement newStyleRegionRightElement() { + StyleRegionRightElement styleRegionRight = + ((OdfFileDom) this.ownerDocument).newOdfElement(StyleRegionRightElement.class); + this.appendChild(styleRegionRight); + return styleRegionRight; + } + + /** + * Create child element {@odf.element table:table}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element table:table} + */ + public TableTableElement newTableTableElement() { + TableTableElement tableTable = + ((OdfFileDom) this.ownerDocument).newOdfElement(TableTableElement.class); + this.appendChild(tableTable); + return tableTable; + } + + /** + * Create child element {@odf.element text:alphabetical-index}. + * + * @param textNameValue the String value of TextNameAttribute, see + * {@odf.attribute text:name} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:alphabetical-index} + */ + public TextAlphabeticalIndexElement newTextAlphabeticalIndexElement(String textNameValue) { + TextAlphabeticalIndexElement textAlphabeticalIndex = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextAlphabeticalIndexElement.class); + textAlphabeticalIndex.setTextNameAttribute(textNameValue); + this.appendChild(textAlphabeticalIndex); + return textAlphabeticalIndex; + } + + /** + * Create child element {@odf.element text:alphabetical-index-auto-mark-file}. + * + * @param xlinkHrefValue the String value of XlinkHrefAttribute, see + * {@odf.attribute xlink:href} at specification + * @param xlinkTypeValue the String value of XlinkTypeAttribute, see + * {@odf.attribute xlink:type} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:alphabetical-index-auto-mark-file} + */ + public TextAlphabeticalIndexAutoMarkFileElement newTextAlphabeticalIndexAutoMarkFileElement( + String xlinkHrefValue, String xlinkTypeValue) { + TextAlphabeticalIndexAutoMarkFileElement textAlphabeticalIndexAutoMarkFile = + ((OdfFileDom) this.ownerDocument) + .newOdfElement(TextAlphabeticalIndexAutoMarkFileElement.class); + textAlphabeticalIndexAutoMarkFile.setXlinkHrefAttribute(xlinkHrefValue); + textAlphabeticalIndexAutoMarkFile.setXlinkTypeAttribute(xlinkTypeValue); + this.appendChild(textAlphabeticalIndexAutoMarkFile); + return textAlphabeticalIndexAutoMarkFile; + } + + /** + * Create child element {@odf.element text:bibliography}. + * + * @param textNameValue the String value of TextNameAttribute, see + * {@odf.attribute text:name} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:bibliography} + */ + public TextBibliographyElement newTextBibliographyElement(String textNameValue) { + TextBibliographyElement textBibliography = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextBibliographyElement.class); + textBibliography.setTextNameAttribute(textNameValue); + this.appendChild(textBibliography); + return textBibliography; + } + + /** + * Create child element {@odf.element text:change}. + * + * @param textChangeIdValue the String value of TextChangeIdAttribute, + * see {@odf.attribute text:change-id} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:change} + */ + public TextChangeElement newTextChangeElement(String textChangeIdValue) { + TextChangeElement textChange = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextChangeElement.class); + textChange.setTextChangeIdAttribute(textChangeIdValue); + this.appendChild(textChange); + return textChange; + } + + /** + * Create child element {@odf.element text:change-end}. + * + * @param textChangeIdValue the String value of TextChangeIdAttribute, + * see {@odf.attribute text:change-id} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:change-end} + */ + public TextChangeEndElement newTextChangeEndElement(String textChangeIdValue) { + TextChangeEndElement textChangeEnd = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextChangeEndElement.class); + textChangeEnd.setTextChangeIdAttribute(textChangeIdValue); + this.appendChild(textChangeEnd); + return textChangeEnd; + } + + /** + * Create child element {@odf.element text:change-start}. + * + * @param textChangeIdValue the String value of TextChangeIdAttribute, + * see {@odf.attribute text:change-id} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:change-start} + */ + public TextChangeStartElement newTextChangeStartElement(String textChangeIdValue) { + TextChangeStartElement textChangeStart = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextChangeStartElement.class); + textChangeStart.setTextChangeIdAttribute(textChangeIdValue); + this.appendChild(textChangeStart); + return textChangeStart; + } + + /** + * Create child element {@odf.element text:dde-connection-decls}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element text:dde-connection-decls} + */ + public TextDdeConnectionDeclsElement newTextDdeConnectionDeclsElement() { + TextDdeConnectionDeclsElement textDdeConnectionDecls = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextDdeConnectionDeclsElement.class); + this.appendChild(textDdeConnectionDecls); + return textDdeConnectionDecls; + } + + /** + * Create child element {@odf.element text:h}. + * + * @param textOutlineLevelValue the Integer value of TextOutlineLevelAttribute + * , see {@odf.attribute text:outline-level} at specification Child element was added + * in ODF 1.3 + * @return the element {@odf.element text:h} + */ + public TextHElement newTextHElement(int textOutlineLevelValue) { + TextHElement textH = ((OdfFileDom) this.ownerDocument).newOdfElement(TextHElement.class); + textH.setTextOutlineLevelAttribute(textOutlineLevelValue); + this.appendChild(textH); + return textH; + } + + /** + * Create child element {@odf.element text:illustration-index}. + * + * @param textNameValue the String value of TextNameAttribute, see + * {@odf.attribute text:name} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:illustration-index} + */ + public TextIllustrationIndexElement newTextIllustrationIndexElement(String textNameValue) { + TextIllustrationIndexElement textIllustrationIndex = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextIllustrationIndexElement.class); + textIllustrationIndex.setTextNameAttribute(textNameValue); + this.appendChild(textIllustrationIndex); + return textIllustrationIndex; + } + + /** + * Create child element {@odf.element text:index-title}. + * + * @param textNameValue the String value of TextNameAttribute, see + * {@odf.attribute text:name} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:index-title} + */ + public TextIndexTitleElement newTextIndexTitleElement(String textNameValue) { + TextIndexTitleElement textIndexTitle = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextIndexTitleElement.class); + textIndexTitle.setTextNameAttribute(textNameValue); + this.appendChild(textIndexTitle); + return textIndexTitle; + } + + /** + * Create child element {@odf.element text:list}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element text:list} + */ + public TextListElement newTextListElement() { + TextListElement textList = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextListElement.class); + this.appendChild(textList); + return textList; + } + + /** + * Create child element {@odf.element text:object-index}. + * + * @param textNameValue the String value of TextNameAttribute, see + * {@odf.attribute text:name} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:object-index} + */ + public TextObjectIndexElement newTextObjectIndexElement(String textNameValue) { + TextObjectIndexElement textObjectIndex = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextObjectIndexElement.class); + textObjectIndex.setTextNameAttribute(textNameValue); + this.appendChild(textObjectIndex); + return textObjectIndex; + } + + /** + * Create child element {@odf.element text:p}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element text:p} + */ + public TextPElement newTextPElement() { + TextPElement textP = ((OdfFileDom) this.ownerDocument).newOdfElement(TextPElement.class); + this.appendChild(textP); + return textP; + } + + /** + * Create child element {@odf.element text:section}. + * + * @param textDisplayValue the String value of TextDisplayAttribute, see + * {@odf.attribute text:display} at specification + * @param textNameValue the String value of TextNameAttribute, see + * {@odf.attribute text:name} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:section} + */ + public TextSectionElement newTextSectionElement(String textDisplayValue, String textNameValue) { + TextSectionElement textSection = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextSectionElement.class); + textSection.setTextDisplayAttribute(textDisplayValue); + textSection.setTextNameAttribute(textNameValue); + this.appendChild(textSection); + return textSection; + } + + /** + * Create child element {@odf.element text:sequence-decls}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element text:sequence-decls} + */ + public TextSequenceDeclsElement newTextSequenceDeclsElement() { + TextSequenceDeclsElement textSequenceDecls = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextSequenceDeclsElement.class); + this.appendChild(textSequenceDecls); + return textSequenceDecls; + } + + /** + * Create child element {@odf.element text:table-index}. + * + * @param textNameValue the String value of TextNameAttribute, see + * {@odf.attribute text:name} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:table-index} + */ + public TextTableIndexElement newTextTableIndexElement(String textNameValue) { + TextTableIndexElement textTableIndex = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextTableIndexElement.class); + textTableIndex.setTextNameAttribute(textNameValue); + this.appendChild(textTableIndex); + return textTableIndex; + } + + /** + * Create child element {@odf.element text:table-of-content}. + * + * @param textNameValue the String value of TextNameAttribute, see + * {@odf.attribute text:name} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:table-of-content} + */ + public TextTableOfContentElement newTextTableOfContentElement(String textNameValue) { + TextTableOfContentElement textTableOfContent = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextTableOfContentElement.class); + textTableOfContent.setTextNameAttribute(textNameValue); + this.appendChild(textTableOfContent); + return textTableOfContent; + } + + /** + * Create child element {@odf.element text:tracked-changes}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element text:tracked-changes} + */ + public TextTrackedChangesElement newTextTrackedChangesElement() { + TextTrackedChangesElement textTrackedChanges = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextTrackedChangesElement.class); + this.appendChild(textTrackedChanges); + return textTrackedChanges; + } + + /** + * Create child element {@odf.element text:user-field-decls}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element text:user-field-decls} + */ + public TextUserFieldDeclsElement newTextUserFieldDeclsElement() { + TextUserFieldDeclsElement textUserFieldDecls = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextUserFieldDeclsElement.class); + this.appendChild(textUserFieldDecls); + return textUserFieldDecls; + } + + /** + * Create child element {@odf.element text:user-index}. + * + * @param textNameValue the String value of TextNameAttribute, see + * {@odf.attribute text:name} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:user-index} + */ + public TextUserIndexElement newTextUserIndexElement(String textNameValue) { + TextUserIndexElement textUserIndex = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextUserIndexElement.class); + textUserIndex.setTextNameAttribute(textNameValue); + this.appendChild(textUserIndex); + return textUserIndex; + } + + /** + * Create child element {@odf.element text:variable-decls}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element text:variable-decls} + */ + public TextVariableDeclsElement newTextVariableDeclsElement() { + TextVariableDeclsElement textVariableDecls = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextVariableDeclsElement.class); + this.appendChild(textVariableDecls); + return textVariableDecls; + } + + /** + * Accept an visitor instance to allow the visitor to do some operations. Refer to visitor design + * pattern to get a better understanding. + * + * @param visitor an instance of DefaultElementVisitor + */ + @Override + public void accept(ElementVisitor visitor) { + if (visitor instanceof DefaultElementVisitor) { + DefaultElementVisitor defaultVisitor = (DefaultElementVisitor) visitor; + defaultVisitor.visit(this); + } else { + visitor.visit(this); + } + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleMasterPageElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleMasterPageElement.java index 008ec85eb3..cc41e9a3d9 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleMasterPageElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleMasterPageElement.java @@ -742,6 +742,20 @@ public StyleFooterElement newStyleFooterElement() { return styleFooter; } + /** + * Create child element {@odf.element style:footer-first}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element style:footer-first} + */ + public StyleFooterFirstElement newStyleFooterFirstElement() { + StyleFooterFirstElement styleFooterFirst = + ((OdfFileDom) this.ownerDocument).newOdfElement(StyleFooterFirstElement.class); + this.appendChild(styleFooterFirst); + return styleFooterFirst; + } + /** * Create child element {@odf.element style:footer-left}. * @@ -766,6 +780,20 @@ public StyleHeaderElement newStyleHeaderElement() { return styleHeader; } + /** + * Create child element {@odf.element style:header-first}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element style:header-first} + */ + public StyleHeaderFirstElement newStyleHeaderFirstElement() { + StyleHeaderFirstElement styleHeaderFirst = + ((OdfFileDom) this.ownerDocument).newOdfElement(StyleHeaderFirstElement.class); + this.appendChild(styleHeaderFirst); + return styleHeaderFirst; + } + /** * Create child element {@odf.element style:header-left}. * diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StylePageLayoutPropertiesElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StylePageLayoutPropertiesElement.java index e734ba1e21..292566fe1f 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StylePageLayoutPropertiesElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StylePageLayoutPropertiesElement.java @@ -77,6 +77,8 @@ import org.odftoolkit.odfdom.dom.attribute.style.StyleRegisterTruthRefStyleNameAttribute; import org.odftoolkit.odfdom.dom.attribute.style.StyleScaleToAttribute; import org.odftoolkit.odfdom.dom.attribute.style.StyleScaleToPagesAttribute; +import org.odftoolkit.odfdom.dom.attribute.style.StyleScaleToXAttribute; +import org.odftoolkit.odfdom.dom.attribute.style.StyleScaleToYAttribute; import org.odftoolkit.odfdom.dom.attribute.style.StyleShadowAttribute; import org.odftoolkit.odfdom.dom.attribute.style.StyleTableCenteringAttribute; import org.odftoolkit.odfdom.dom.attribute.style.StyleWritingModeAttribute; @@ -342,6 +344,16 @@ public OdfName getOdfName() { OdfStylePropertiesSet.PageLayoutProperties, OdfName.newName(OdfDocumentNamespace.STYLE, "scale-to")); + public static final OdfStyleProperty ScaleToX = + OdfStyleProperty.get( + OdfStylePropertiesSet.PageLayoutProperties, + OdfName.newName(OdfDocumentNamespace.STYLE, "scale-to-X")); + + public static final OdfStyleProperty ScaleToY = + OdfStyleProperty.get( + OdfStylePropertiesSet.PageLayoutProperties, + OdfName.newName(OdfDocumentNamespace.STYLE, "scale-to-Y")); + public static final OdfStyleProperty ScaleToPages = OdfStyleProperty.get( OdfStylePropertiesSet.PageLayoutProperties, @@ -1701,6 +1713,62 @@ public void setStyleScaleToAttribute(String styleScaleToValue) { attr.setValue(styleScaleToValue); } + /** + * Receives the value of the ODFDOM attribute representation StyleScaleToXAttribute , + * See {@odf.attribute style:scale-to-X} + * + * @return - the Integer , the value or null, if the attribute is not + * set and no default value defined. + */ + public Integer getStyleScaleToXAttribute() { + StyleScaleToXAttribute attr = + (StyleScaleToXAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "scale-to-X"); + if (attr != null && !attr.getValue().isEmpty()) { + return Integer.valueOf(attr.intValue()); + } + return null; + } + + /** + * Sets the value of ODFDOM attribute representation StyleScaleToXAttribute , See + * {@odf.attribute style:scale-to-X} + * + * @param styleScaleToXValue The type is Integer + */ + public void setStyleScaleToXAttribute(Integer styleScaleToXValue) { + StyleScaleToXAttribute attr = new StyleScaleToXAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setIntValue(styleScaleToXValue.intValue()); + } + + /** + * Receives the value of the ODFDOM attribute representation StyleScaleToYAttribute , + * See {@odf.attribute style:scale-to-Y} + * + * @return - the Integer , the value or null, if the attribute is not + * set and no default value defined. + */ + public Integer getStyleScaleToYAttribute() { + StyleScaleToYAttribute attr = + (StyleScaleToYAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "scale-to-Y"); + if (attr != null && !attr.getValue().isEmpty()) { + return Integer.valueOf(attr.intValue()); + } + return null; + } + + /** + * Sets the value of ODFDOM attribute representation StyleScaleToYAttribute , See + * {@odf.attribute style:scale-to-Y} + * + * @param styleScaleToYValue The type is Integer + */ + public void setStyleScaleToYAttribute(Integer styleScaleToYValue) { + StyleScaleToYAttribute attr = new StyleScaleToYAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setIntValue(styleScaleToYValue.intValue()); + } + /** * Receives the value of the ODFDOM attribute representation StyleScaleToPagesAttribute * , See {@odf.attribute style:scale-to-pages} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleParagraphPropertiesElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleParagraphPropertiesElement.java index c011224710..a49a9bb033 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleParagraphPropertiesElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleParagraphPropertiesElement.java @@ -65,6 +65,7 @@ import org.odftoolkit.odfdom.dom.attribute.style.StyleBorderLineWidthLeftAttribute; import org.odftoolkit.odfdom.dom.attribute.style.StyleBorderLineWidthRightAttribute; import org.odftoolkit.odfdom.dom.attribute.style.StyleBorderLineWidthTopAttribute; +import org.odftoolkit.odfdom.dom.attribute.style.StyleContextualSpacingAttribute; import org.odftoolkit.odfdom.dom.attribute.style.StyleFontIndependentLineSpacingAttribute; import org.odftoolkit.odfdom.dom.attribute.style.StyleJoinBorderAttribute; import org.odftoolkit.odfdom.dom.attribute.style.StyleJustifySingleWordAttribute; @@ -290,6 +291,11 @@ public OdfName getOdfName() { OdfStylePropertiesSet.ParagraphProperties, OdfName.newName(OdfDocumentNamespace.STYLE, "border-line-width-top")); + public static final OdfStyleProperty ContextualSpacing = + OdfStyleProperty.get( + OdfStylePropertiesSet.ParagraphProperties, + OdfName.newName(OdfDocumentNamespace.STYLE, "contextual-spacing")); + public static final OdfStyleProperty FontIndependentLineSpacing = OdfStyleProperty.get( OdfStylePropertiesSet.ParagraphProperties, @@ -1377,6 +1383,36 @@ public void setStyleBorderLineWidthTopAttribute(String styleBorderLineWidthTopVa attr.setValue(styleBorderLineWidthTopValue); } + /** + * Receives the value of the ODFDOM attribute representation StyleContextualSpacingAttribute + * , See {@odf.attribute style:contextual-spacing} + * + * @return - the Boolean , the value or null, if the attribute is not + * set and no default value defined. + */ + public Boolean getStyleContextualSpacingAttribute() { + StyleContextualSpacingAttribute attr = + (StyleContextualSpacingAttribute) + getOdfAttribute(OdfDocumentNamespace.STYLE, "contextual-spacing"); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); + } + return null; + } + + /** + * Sets the value of ODFDOM attribute representation StyleContextualSpacingAttribute + * , See {@odf.attribute style:contextual-spacing} + * + * @param styleContextualSpacingValue The type is Boolean + */ + public void setStyleContextualSpacingAttribute(Boolean styleContextualSpacingValue) { + StyleContextualSpacingAttribute attr = + new StyleContextualSpacingAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setBooleanValue(styleContextualSpacingValue.booleanValue()); + } + /** * Receives the value of the ODFDOM attribute representation * StyleFontIndependentLineSpacingAttribute , See {@odf.attribute diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleTablePropertiesElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleTablePropertiesElement.java index 5540a94478..b14b634217 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleTablePropertiesElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleTablePropertiesElement.java @@ -48,6 +48,7 @@ import org.odftoolkit.odfdom.dom.attribute.table.TableAlignAttribute; import org.odftoolkit.odfdom.dom.attribute.table.TableBorderModelAttribute; import org.odftoolkit.odfdom.dom.attribute.table.TableDisplayAttribute; +import org.odftoolkit.odfdom.dom.attribute.table.TableTabColorAttribute; import org.odftoolkit.odfdom.dom.element.OdfStylePropertiesBase; import org.odftoolkit.odfdom.dom.style.props.OdfStylePropertiesSet; import org.odftoolkit.odfdom.dom.style.props.OdfStyleProperty; @@ -169,6 +170,11 @@ public OdfName getOdfName() { OdfStylePropertiesSet.TableProperties, OdfName.newName(OdfDocumentNamespace.TABLE, "display")); + public static final OdfStyleProperty TabColor = + OdfStyleProperty.get( + OdfStylePropertiesSet.TableProperties, + OdfName.newName(OdfDocumentNamespace.TABLE, "tab-color")); + /** * Receives the value of the ODFDOM attribute representation FoBackgroundColorAttribute * , See {@odf.attribute fo:background-color} @@ -675,6 +681,34 @@ public void setTableDisplayAttribute(Boolean tableDisplayValue) { attr.setBooleanValue(tableDisplayValue.booleanValue()); } + /** + * Receives the value of the ODFDOM attribute representation TableTabColorAttribute , + * See {@odf.attribute table:tab-color} + * + * @return - the String , the value or null, if the attribute is not set + * and no default value defined. + */ + public String getTableTabColorAttribute() { + TableTabColorAttribute attr = + (TableTabColorAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "tab-color"); + if (attr != null) { + return String.valueOf(attr.getValue()); + } + return null; + } + + /** + * Sets the value of ODFDOM attribute representation TableTabColorAttribute , See + * {@odf.attribute table:tab-color} + * + * @param tableTabColorValue The type is String + */ + public void setTableTabColorAttribute(String tableTabColorValue) { + TableTabColorAttribute attr = new TableTabColorAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setValue(tableTabColorValue); + } + /** * Create child element {@odf.element style:background-image}. * diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotFieldElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotFieldElement.java index 5adb25dd0b..73b0be21fc 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotFieldElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotFieldElement.java @@ -268,22 +268,16 @@ public TableDataPilotFieldReferenceElement newTableDataPilotFieldReferenceElemen /** * Create child element {@odf.element table:data-pilot-groups}. * - * @param tableGroupedByValue the String value of TableGroupedByAttribute - * , see {@odf.attribute table:grouped-by} at specification * @param tableSourceFieldNameValue the String value of * TableSourceFieldNameAttribute, see {@odf.attribute table:source-field-name} at * specification - * @param tableStepValue the Double value of TableStepAttribute, see - * {@odf.attribute table:step} at specification * @return the element {@odf.element table:data-pilot-groups} */ public TableDataPilotGroupsElement newTableDataPilotGroupsElement( - String tableGroupedByValue, String tableSourceFieldNameValue, double tableStepValue) { + String tableSourceFieldNameValue) { TableDataPilotGroupsElement tableDataPilotGroups = ((OdfFileDom) this.ownerDocument).newOdfElement(TableDataPilotGroupsElement.class); - tableDataPilotGroups.setTableGroupedByAttribute(tableGroupedByValue); tableDataPilotGroups.setTableSourceFieldNameAttribute(tableSourceFieldNameValue); - tableDataPilotGroups.setTableStepAttribute(tableStepValue); this.appendChild(tableDataPilotGroups); return tableDataPilotGroups; } diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotGroupsElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotGroupsElement.java index 4910f404fb..3735b3a37e 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotGroupsElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotGroupsElement.java @@ -153,8 +153,6 @@ public void setTableEndAttribute(Double tableEndValue) { * Receives the value of the ODFDOM attribute representation TableGroupedByAttribute * , See {@odf.attribute table:grouped-by} * - *

Attribute is mandatory. - * * @return - the String , the value or null, if the attribute is not set * and no default value defined. */ @@ -243,8 +241,6 @@ public void setTableStartAttribute(Double tableStartValue) { * Receives the value of the ODFDOM attribute representation TableStepAttribute , See * {@odf.attribute table:step} * - *

Attribute is mandatory. - * * @return - the Double , the value or null, if the attribute is not set * and no default value defined. */ diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotTableElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotTableElement.java index ad8dd994a4..bf5dd5a8b7 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotTableElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotTableElement.java @@ -418,16 +418,11 @@ public TableDatabaseSourceTableElement newTableDatabaseSourceTableElement( /** * Create child element {@odf.element table:source-cell-range}. * - * @param tableCellRangeAddressValue the String value of - * TableCellRangeAddressAttribute, see {@odf.attribute table:cell-range-address} at - * specification * @return the element {@odf.element table:source-cell-range} */ - public TableSourceCellRangeElement newTableSourceCellRangeElement( - String tableCellRangeAddressValue) { + public TableSourceCellRangeElement newTableSourceCellRangeElement() { TableSourceCellRangeElement tableSourceCellRange = ((OdfFileDom) this.ownerDocument).newOdfElement(TableSourceCellRangeElement.class); - tableSourceCellRange.setTableCellRangeAddressAttribute(tableCellRangeAddressValue); this.appendChild(tableSourceCellRange); return tableSourceCellRange; } diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableSourceCellRangeElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableSourceCellRangeElement.java index dd5ff38f93..e157efa3f5 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableSourceCellRangeElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableSourceCellRangeElement.java @@ -31,6 +31,7 @@ import org.odftoolkit.odfdom.dom.DefaultElementVisitor; import org.odftoolkit.odfdom.dom.OdfDocumentNamespace; import org.odftoolkit.odfdom.dom.attribute.table.TableCellRangeAddressAttribute; +import org.odftoolkit.odfdom.dom.attribute.table.TableNameAttribute; import org.odftoolkit.odfdom.pkg.ElementVisitor; import org.odftoolkit.odfdom.pkg.OdfElement; import org.odftoolkit.odfdom.pkg.OdfFileDom; @@ -64,8 +65,6 @@ public OdfName getOdfName() { * Receives the value of the ODFDOM attribute representation TableCellRangeAddressAttribute * , See {@odf.attribute table:cell-range-address} * - *

Attribute is mandatory. - * * @return - the String , the value or null, if the attribute is not set * and no default value defined. */ @@ -92,6 +91,34 @@ public void setTableCellRangeAddressAttribute(String tableCellRangeAddressValue) attr.setValue(tableCellRangeAddressValue); } + /** + * Receives the value of the ODFDOM attribute representation TableNameAttribute , See + * {@odf.attribute table:name} + * + * @return - the String , the value or null, if the attribute is not set + * and no default value defined. + */ + public String getTableNameAttribute() { + TableNameAttribute attr = + (TableNameAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "name"); + if (attr != null) { + return String.valueOf(attr.getValue()); + } + return null; + } + + /** + * Sets the value of ODFDOM attribute representation TableNameAttribute , See + * {@odf.attribute table:name} + * + * @param tableNameValue The type is String + */ + public void setTableNameAttribute(String tableNameValue) { + TableNameAttribute attr = new TableNameAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setValue(tableNameValue); + } + /** * Create child element {@odf.element table:filter}. * diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAElement.java index 674158e0e9..f5cf7084b6 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAElement.java @@ -1119,6 +1119,21 @@ public TextDescriptionElement newTextDescriptionElement() { return textDescription; } + /** + * Create child element {@odf.element text:drop-down}. + * + * @param textNameValue the String value of TextNameAttribute, see + * {@odf.attribute text:name} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:drop-down} + */ + public TextDropDownElement newTextDropDownElement(String textNameValue) { + TextDropDownElement textDropDown = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextDropDownElement.class); + textDropDown.setTextNameAttribute(textNameValue); + this.appendChild(textDropDown); + return textDropDown; + } + /** * Create child element {@odf.element text:editing-cycles}. * diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowNumberElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowNumberElement.java index 0b567588ce..530fae72b4 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowNumberElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowNumberElement.java @@ -217,14 +217,14 @@ public void setTextTableTypeAttribute(String textTableTypeValue) { * Receives the value of the ODFDOM attribute representation TextValueAttribute , See * {@odf.attribute text:value} * - * @return - the Integer , the value or null, if the attribute is not - * set and no default value defined. + * @return - the String , the value or null, if the attribute is not set + * and no default value defined. */ - public Integer getTextValueAttribute() { + public String getTextValueAttribute() { TextValueAttribute attr = (TextValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "value"); - if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + if (attr != null) { + return String.valueOf(attr.getValue()); } return null; } @@ -233,12 +233,12 @@ public Integer getTextValueAttribute() { * Sets the value of ODFDOM attribute representation TextValueAttribute , See * {@odf.attribute text:value} * - * @param textValueValue The type is Integer + * @param textValueValue The type is String */ - public void setTextValueAttribute(Integer textValueValue) { + public void setTextValueAttribute(String textValueValue) { TextValueAttribute attr = new TextValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textValueValue.intValue()); + attr.setValue(textValueValue); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDropDownElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDropDownElement.java new file mode 100644 index 0000000000..a83e6fc41f --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDropDownElement.java @@ -0,0 +1,128 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved. + * + *

Use is subject to license terms. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0. You can also obtain a copy of the License at + * http://odftoolkit.org/docs/license.txt + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.dom.element.text; + +import org.odftoolkit.odfdom.dom.DefaultElementVisitor; +import org.odftoolkit.odfdom.dom.OdfDocumentNamespace; +import org.odftoolkit.odfdom.dom.attribute.text.TextNameAttribute; +import org.odftoolkit.odfdom.pkg.ElementVisitor; +import org.odftoolkit.odfdom.pkg.OdfElement; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; + +/** DOM implementation of OpenDocument element {@odf.element text:drop-down}. */ +public class TextDropDownElement extends OdfElement { + + public static final OdfName ELEMENT_NAME = + OdfName.newName(OdfDocumentNamespace.TEXT, "drop-down"); + + /** + * Create the instance of TextDropDownElement + * + * @param ownerDoc The type is OdfFileDom + */ + public TextDropDownElement(OdfFileDom ownerDoc) { + super(ownerDoc, ELEMENT_NAME); + } + + /** + * Get the element name + * + * @return return OdfName the name of element {@odf.element text:drop-down}. + */ + public OdfName getOdfName() { + return ELEMENT_NAME; + } + + /** + * Receives the value of the ODFDOM attribute representation TextNameAttribute , See + * {@odf.attribute text:name} + * + *

Attribute is mandatory. + * + * @return - the String , the value or null, if the attribute is not set + * and no default value defined. + */ + public String getTextNameAttribute() { + TextNameAttribute attr = (TextNameAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "name"); + if (attr != null) { + return String.valueOf(attr.getValue()); + } + return null; + } + + /** + * Sets the value of ODFDOM attribute representation TextNameAttribute , See + * {@odf.attribute text:name} + * + * @param textNameValue The type is String + */ + public void setTextNameAttribute(String textNameValue) { + TextNameAttribute attr = new TextNameAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setValue(textNameValue); + } + + /** + * Create child element {@odf.element text:label}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element text:label} + */ + public TextLabelElement newTextLabelElement() { + TextLabelElement textLabel = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextLabelElement.class); + this.appendChild(textLabel); + return textLabel; + } + + /** + * Accept an visitor instance to allow the visitor to do some operations. Refer to visitor design + * pattern to get a better understanding. + * + * @param visitor an instance of DefaultElementVisitor + */ + @Override + public void accept(ElementVisitor visitor) { + if (visitor instanceof DefaultElementVisitor) { + DefaultElementVisitor defaultVisitor = (DefaultElementVisitor) visitor; + defaultVisitor.visit(this); + } else { + visitor.visit(this); + } + } + + /** Add text content. Only elements which are allowed to have text content offer this method. */ + public void newTextNode(String content) { + if (content != null && !content.equals("")) { + this.appendChild(this.getOwnerDocument().createTextNode(content)); + } + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexEntryTemplateElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexEntryTemplateElement.java index 9ace04b481..5fd00261fd 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexEntryTemplateElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexEntryTemplateElement.java @@ -112,6 +112,34 @@ public TextIndexEntryChapterElement newTextIndexEntryChapterElement() { return textIndexEntryChapter; } + /** + * Create child element {@odf.element text:index-entry-link-end}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element text:index-entry-link-end} + */ + public TextIndexEntryLinkEndElement newTextIndexEntryLinkEndElement() { + TextIndexEntryLinkEndElement textIndexEntryLinkEnd = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextIndexEntryLinkEndElement.class); + this.appendChild(textIndexEntryLinkEnd); + return textIndexEntryLinkEnd; + } + + /** + * Create child element {@odf.element text:index-entry-link-start}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element text:index-entry-link-start} + */ + public TextIndexEntryLinkStartElement newTextIndexEntryLinkStartElement() { + TextIndexEntryLinkStartElement textIndexEntryLinkStart = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextIndexEntryLinkStartElement.class); + this.appendChild(textIndexEntryLinkStart); + return textIndexEntryLinkStart; + } + /** * Create child element {@odf.element text:index-entry-page-number}. * diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextLabelElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextLabelElement.java new file mode 100644 index 0000000000..b3e11f881c --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextLabelElement.java @@ -0,0 +1,136 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved. + * + *

Use is subject to license terms. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0. You can also obtain a copy of the License at + * http://odftoolkit.org/docs/license.txt + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.dom.element.text; + +import org.odftoolkit.odfdom.dom.DefaultElementVisitor; +import org.odftoolkit.odfdom.dom.OdfDocumentNamespace; +import org.odftoolkit.odfdom.dom.attribute.text.TextCurrentSelectedAttribute; +import org.odftoolkit.odfdom.dom.attribute.text.TextValueAttribute; +import org.odftoolkit.odfdom.pkg.ElementVisitor; +import org.odftoolkit.odfdom.pkg.OdfElement; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; + +/** DOM implementation of OpenDocument element {@odf.element text:label}. */ +public class TextLabelElement extends OdfElement { + + public static final OdfName ELEMENT_NAME = OdfName.newName(OdfDocumentNamespace.TEXT, "label"); + + /** + * Create the instance of TextLabelElement + * + * @param ownerDoc The type is OdfFileDom + */ + public TextLabelElement(OdfFileDom ownerDoc) { + super(ownerDoc, ELEMENT_NAME); + } + + /** + * Get the element name + * + * @return return OdfName the name of element {@odf.element text:label}. + */ + public OdfName getOdfName() { + return ELEMENT_NAME; + } + + /** + * Receives the value of the ODFDOM attribute representation TextCurrentSelectedAttribute + * , See {@odf.attribute text:current-selected} + * + * @return - the Boolean , the value or null, if the attribute is not + * set and no default value defined. + */ + public Boolean getTextCurrentSelectedAttribute() { + TextCurrentSelectedAttribute attr = + (TextCurrentSelectedAttribute) + getOdfAttribute(OdfDocumentNamespace.TEXT, "current-selected"); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); + } + return null; + } + + /** + * Sets the value of ODFDOM attribute representation TextCurrentSelectedAttribute , + * See {@odf.attribute text:current-selected} + * + * @param textCurrentSelectedValue The type is Boolean + */ + public void setTextCurrentSelectedAttribute(Boolean textCurrentSelectedValue) { + TextCurrentSelectedAttribute attr = + new TextCurrentSelectedAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setBooleanValue(textCurrentSelectedValue.booleanValue()); + } + + /** + * Receives the value of the ODFDOM attribute representation TextValueAttribute , See + * {@odf.attribute text:value} + * + * @return - the String , the value or null, if the attribute is not set + * and no default value defined. + */ + public String getTextValueAttribute() { + TextValueAttribute attr = + (TextValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "value"); + if (attr != null) { + return String.valueOf(attr.getValue()); + } + return null; + } + + /** + * Sets the value of ODFDOM attribute representation TextValueAttribute , See + * {@odf.attribute text:value} + * + * @param textValueValue The type is String + */ + public void setTextValueAttribute(String textValueValue) { + TextValueAttribute attr = new TextValueAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setValue(textValueValue); + } + + /** + * Accept an visitor instance to allow the visitor to do some operations. Refer to visitor design + * pattern to get a better understanding. + * + * @param visitor an instance of DefaultElementVisitor + */ + @Override + public void accept(ElementVisitor visitor) { + if (visitor instanceof DefaultElementVisitor) { + DefaultElementVisitor defaultVisitor = (DefaultElementVisitor) visitor; + defaultVisitor.visit(this); + } else { + visitor.visit(this); + } + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextMetaElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextMetaElement.java index 5e9c907378..2cbe75abe1 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextMetaElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextMetaElement.java @@ -1038,6 +1038,21 @@ public TextDescriptionElement newTextDescriptionElement() { return textDescription; } + /** + * Create child element {@odf.element text:drop-down}. + * + * @param textNameValue the String value of TextNameAttribute, see + * {@odf.attribute text:name} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:drop-down} + */ + public TextDropDownElement newTextDropDownElement(String textNameValue) { + TextDropDownElement textDropDown = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextDropDownElement.class); + textDropDown.setTextNameAttribute(textNameValue); + this.appendChild(textDropDown); + return textDropDown; + } + /** * Create child element {@odf.element text:editing-cycles}. * diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextMetaFieldElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextMetaFieldElement.java index 10e3a1c2e3..be19f1e86f 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextMetaFieldElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextMetaFieldElement.java @@ -956,6 +956,21 @@ public TextDescriptionElement newTextDescriptionElement() { return textDescription; } + /** + * Create child element {@odf.element text:drop-down}. + * + * @param textNameValue the String value of TextNameAttribute, see + * {@odf.attribute text:name} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:drop-down} + */ + public TextDropDownElement newTextDropDownElement(String textNameValue) { + TextDropDownElement textDropDown = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextDropDownElement.class); + textDropDown.setTextNameAttribute(textNameValue); + this.appendChild(textDropDown); + return textDropDown; + } + /** * Create child element {@odf.element text:editing-cycles}. * diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexEntryTemplateElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexEntryTemplateElement.java index c3e3a65944..a66bd59408 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexEntryTemplateElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexEntryTemplateElement.java @@ -110,6 +110,34 @@ public TextIndexEntryChapterElement newTextIndexEntryChapterElement() { return textIndexEntryChapter; } + /** + * Create child element {@odf.element text:index-entry-link-end}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element text:index-entry-link-end} + */ + public TextIndexEntryLinkEndElement newTextIndexEntryLinkEndElement() { + TextIndexEntryLinkEndElement textIndexEntryLinkEnd = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextIndexEntryLinkEndElement.class); + this.appendChild(textIndexEntryLinkEnd); + return textIndexEntryLinkEnd; + } + + /** + * Create child element {@odf.element text:index-entry-link-start}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element text:index-entry-link-start} + */ + public TextIndexEntryLinkStartElement newTextIndexEntryLinkStartElement() { + TextIndexEntryLinkStartElement textIndexEntryLinkStart = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextIndexEntryLinkStartElement.class); + this.appendChild(textIndexEntryLinkStart); + return textIndexEntryLinkStart; + } + /** * Create child element {@odf.element text:index-entry-page-number}. * diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextParagraphElementBase.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextParagraphElementBase.java index 891af62c24..ca55f320fa 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextParagraphElementBase.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextParagraphElementBase.java @@ -1101,6 +1101,21 @@ public TextDescriptionElement newTextDescriptionElement() { return textDescription; } + /** + * Create child element {@odf.element text:drop-down}. + * + * @param textNameValue the String value of TextNameAttribute, see + * {@odf.attribute text:name} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:drop-down} + */ + public TextDropDownElement newTextDropDownElement(String textNameValue) { + TextDropDownElement textDropDown = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextDropDownElement.class); + textDropDown.setTextNameAttribute(textNameValue); + this.appendChild(textDropDown); + return textDropDown; + } + /** * Create child element {@odf.element text:editing-cycles}. * diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextRubyBaseElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextRubyBaseElement.java index e022db47c7..593f767edd 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextRubyBaseElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextRubyBaseElement.java @@ -850,6 +850,21 @@ public TextDescriptionElement newTextDescriptionElement() { return textDescription; } + /** + * Create child element {@odf.element text:drop-down}. + * + * @param textNameValue the String value of TextNameAttribute, see + * {@odf.attribute text:name} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:drop-down} + */ + public TextDropDownElement newTextDropDownElement(String textNameValue) { + TextDropDownElement textDropDown = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextDropDownElement.class); + textDropDown.setTextNameAttribute(textNameValue); + this.appendChild(textDropDown); + return textDropDown; + } + /** * Create child element {@odf.element text:editing-cycles}. * diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSpanElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSpanElement.java index 12690fca76..b013a830af 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSpanElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSpanElement.java @@ -912,6 +912,21 @@ public TextDescriptionElement newTextDescriptionElement() { return textDescription; } + /** + * Create child element {@odf.element text:drop-down}. + * + * @param textNameValue the String value of TextNameAttribute, see + * {@odf.attribute text:name} at specification Child element was added in ODF 1.3 + * @return the element {@odf.element text:drop-down} + */ + public TextDropDownElement newTextDropDownElement(String textNameValue) { + TextDropDownElement textDropDown = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextDropDownElement.class); + textDropDown.setTextNameAttribute(textNameValue); + this.appendChild(textDropDown); + return textDropDown; + } + /** * Create child element {@odf.element text:editing-cycles}. * diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTableIndexEntryTemplateElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTableIndexEntryTemplateElement.java index 25c9509c40..f09ddc2ec8 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTableIndexEntryTemplateElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTableIndexEntryTemplateElement.java @@ -110,6 +110,34 @@ public TextIndexEntryChapterElement newTextIndexEntryChapterElement() { return textIndexEntryChapter; } + /** + * Create child element {@odf.element text:index-entry-link-end}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element text:index-entry-link-end} + */ + public TextIndexEntryLinkEndElement newTextIndexEntryLinkEndElement() { + TextIndexEntryLinkEndElement textIndexEntryLinkEnd = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextIndexEntryLinkEndElement.class); + this.appendChild(textIndexEntryLinkEnd); + return textIndexEntryLinkEnd; + } + + /** + * Create child element {@odf.element text:index-entry-link-start}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element text:index-entry-link-start} + */ + public TextIndexEntryLinkStartElement newTextIndexEntryLinkStartElement() { + TextIndexEntryLinkStartElement textIndexEntryLinkStart = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextIndexEntryLinkStartElement.class); + this.appendChild(textIndexEntryLinkStart); + return textIndexEntryLinkStart; + } + /** * Create child element {@odf.element text:index-entry-page-number}. * diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserIndexEntryTemplateElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserIndexEntryTemplateElement.java index f3da920a9c..0c24e8a674 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserIndexEntryTemplateElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserIndexEntryTemplateElement.java @@ -139,6 +139,34 @@ public TextIndexEntryChapterElement newTextIndexEntryChapterElement() { return textIndexEntryChapter; } + /** + * Create child element {@odf.element text:index-entry-link-end}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element text:index-entry-link-end} + */ + public TextIndexEntryLinkEndElement newTextIndexEntryLinkEndElement() { + TextIndexEntryLinkEndElement textIndexEntryLinkEnd = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextIndexEntryLinkEndElement.class); + this.appendChild(textIndexEntryLinkEnd); + return textIndexEntryLinkEnd; + } + + /** + * Create child element {@odf.element text:index-entry-link-start}. + * + *

Child element was added in ODF 1.3 + * + * @return the element {@odf.element text:index-entry-link-start} + */ + public TextIndexEntryLinkStartElement newTextIndexEntryLinkStartElement() { + TextIndexEntryLinkStartElement textIndexEntryLinkStart = + ((OdfFileDom) this.ownerDocument).newOdfElement(TextIndexEntryLinkStartElement.class); + this.appendChild(textIndexEntryLinkStart); + return textIndexEntryLinkStart; + } + /** * Create child element {@odf.element text:index-entry-page-number}. * diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/style/OdfStyleFamily.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/style/OdfStyleFamily.java index 58dd2f7b8b..60a70e0fd0 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/style/OdfStyleFamily.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/style/OdfStyleFamily.java @@ -102,6 +102,7 @@ public Set getProperties() { StyleChartPropertiesElement.AxisPosition, StyleChartPropertiesElement.ConnectBars, StyleChartPropertiesElement.DataLabelNumber, + StyleChartPropertiesElement.DataLabelSeries, StyleChartPropertiesElement.DataLabelSymbol, StyleChartPropertiesElement.DataLabelText, StyleChartPropertiesElement.Deep, @@ -136,6 +137,12 @@ public Set getProperties() { StyleChartPropertiesElement.Overlap, StyleChartPropertiesElement.Percentage, StyleChartPropertiesElement.PieOffset, + StyleChartPropertiesElement.RegressionForceIntercept, + StyleChartPropertiesElement.RegressionInterceptValue, + StyleChartPropertiesElement.RegressionMaxDegree, + StyleChartPropertiesElement.RegressionMovingType, + StyleChartPropertiesElement.RegressionName, + StyleChartPropertiesElement.RegressionPeriod, StyleChartPropertiesElement.RegressionType, StyleChartPropertiesElement.ReverseDirection, StyleChartPropertiesElement.RightAngledAxes, @@ -372,6 +379,7 @@ public Set getProperties() { StyleParagraphPropertiesElement.BorderLineWidthLeft, StyleParagraphPropertiesElement.BorderLineWidthRight, StyleParagraphPropertiesElement.BorderLineWidthTop, + StyleParagraphPropertiesElement.ContextualSpacing, StyleParagraphPropertiesElement.FontIndependentLineSpacing, StyleParagraphPropertiesElement.JoinBorder, StyleParagraphPropertiesElement.JustifySingleWord, @@ -729,6 +737,7 @@ public Set getProperties() { StyleParagraphPropertiesElement.BorderLineWidthLeft, StyleParagraphPropertiesElement.BorderLineWidthRight, StyleParagraphPropertiesElement.BorderLineWidthTop, + StyleParagraphPropertiesElement.ContextualSpacing, StyleParagraphPropertiesElement.FontIndependentLineSpacing, StyleParagraphPropertiesElement.JoinBorder, StyleParagraphPropertiesElement.JustifySingleWord, @@ -872,6 +881,7 @@ public Set getProperties() { StyleParagraphPropertiesElement.BorderLineWidthLeft, StyleParagraphPropertiesElement.BorderLineWidthRight, StyleParagraphPropertiesElement.BorderLineWidthTop, + StyleParagraphPropertiesElement.ContextualSpacing, StyleParagraphPropertiesElement.FontIndependentLineSpacing, StyleParagraphPropertiesElement.JoinBorder, StyleParagraphPropertiesElement.JustifySingleWord, @@ -1189,6 +1199,7 @@ public Set getProperties() { StyleParagraphPropertiesElement.BorderLineWidthLeft, StyleParagraphPropertiesElement.BorderLineWidthRight, StyleParagraphPropertiesElement.BorderLineWidthTop, + StyleParagraphPropertiesElement.ContextualSpacing, StyleParagraphPropertiesElement.FontIndependentLineSpacing, StyleParagraphPropertiesElement.JoinBorder, StyleParagraphPropertiesElement.JustifySingleWord, @@ -1334,7 +1345,8 @@ public Set getProperties() { StyleTablePropertiesElement.WritingMode, StyleTablePropertiesElement.Align, StyleTablePropertiesElement.BorderModel, - StyleTablePropertiesElement.Display + StyleTablePropertiesElement.Display, + StyleTablePropertiesElement.TabColor }); public static final OdfStyleFamily TableCell = @@ -1410,6 +1422,7 @@ public Set getProperties() { StyleParagraphPropertiesElement.BorderLineWidthLeft, StyleParagraphPropertiesElement.BorderLineWidthRight, StyleParagraphPropertiesElement.BorderLineWidthTop, + StyleParagraphPropertiesElement.ContextualSpacing, StyleParagraphPropertiesElement.FontIndependentLineSpacing, StyleParagraphPropertiesElement.JoinBorder, StyleParagraphPropertiesElement.JustifySingleWord, @@ -1682,6 +1695,8 @@ public Set getProperties() { StylePageLayoutPropertiesElement.PrintPageOrder, StylePageLayoutPropertiesElement.RegisterTruthRefStyleName, StylePageLayoutPropertiesElement.ScaleTo, + StylePageLayoutPropertiesElement.ScaleToX, + StylePageLayoutPropertiesElement.ScaleToY, StylePageLayoutPropertiesElement.ScaleToPages, StylePageLayoutPropertiesElement.Shadow, StylePageLayoutPropertiesElement.TableCentering, diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/style/props/OdfChartProperties.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/style/props/OdfChartProperties.java index b896ca9853..879bd4b524 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/style/props/OdfChartProperties.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/style/props/OdfChartProperties.java @@ -57,6 +57,10 @@ public interface OdfChartProperties { OdfStyleProperty.get( OdfStylePropertiesSet.ChartProperties, OdfName.newName(OdfDocumentNamespace.CHART, "data-label-number")); + public static final OdfStyleProperty DataLabelSeries = + OdfStyleProperty.get( + OdfStylePropertiesSet.ChartProperties, + OdfName.newName(OdfDocumentNamespace.CHART, "data-label-series")); public static final OdfStyleProperty DataLabelSymbol = OdfStyleProperty.get( OdfStylePropertiesSet.ChartProperties, @@ -193,6 +197,30 @@ public interface OdfChartProperties { OdfStyleProperty.get( OdfStylePropertiesSet.ChartProperties, OdfName.newName(OdfDocumentNamespace.CHART, "pie-offset")); + public static final OdfStyleProperty RegressionForceIntercept = + OdfStyleProperty.get( + OdfStylePropertiesSet.ChartProperties, + OdfName.newName(OdfDocumentNamespace.CHART, "regression-force-intercept")); + public static final OdfStyleProperty RegressionInterceptValue = + OdfStyleProperty.get( + OdfStylePropertiesSet.ChartProperties, + OdfName.newName(OdfDocumentNamespace.CHART, "regression-intercept-value")); + public static final OdfStyleProperty RegressionMaxDegree = + OdfStyleProperty.get( + OdfStylePropertiesSet.ChartProperties, + OdfName.newName(OdfDocumentNamespace.CHART, "regression-max-degree")); + public static final OdfStyleProperty RegressionMovingType = + OdfStyleProperty.get( + OdfStylePropertiesSet.ChartProperties, + OdfName.newName(OdfDocumentNamespace.CHART, "regression-moving-type")); + public static final OdfStyleProperty RegressionName = + OdfStyleProperty.get( + OdfStylePropertiesSet.ChartProperties, + OdfName.newName(OdfDocumentNamespace.CHART, "regression-name")); + public static final OdfStyleProperty RegressionPeriod = + OdfStyleProperty.get( + OdfStylePropertiesSet.ChartProperties, + OdfName.newName(OdfDocumentNamespace.CHART, "regression-period")); public static final OdfStyleProperty RegressionType = OdfStyleProperty.get( OdfStylePropertiesSet.ChartProperties, diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/style/props/OdfPageLayoutProperties.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/style/props/OdfPageLayoutProperties.java index 362981a518..6581358c82 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/style/props/OdfPageLayoutProperties.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/style/props/OdfPageLayoutProperties.java @@ -213,6 +213,14 @@ public interface OdfPageLayoutProperties { OdfStyleProperty.get( OdfStylePropertiesSet.PageLayoutProperties, OdfName.newName(OdfDocumentNamespace.STYLE, "scale-to")); + public static final OdfStyleProperty ScaleToX = + OdfStyleProperty.get( + OdfStylePropertiesSet.PageLayoutProperties, + OdfName.newName(OdfDocumentNamespace.STYLE, "scale-to-X")); + public static final OdfStyleProperty ScaleToY = + OdfStyleProperty.get( + OdfStylePropertiesSet.PageLayoutProperties, + OdfName.newName(OdfDocumentNamespace.STYLE, "scale-to-Y")); public static final OdfStyleProperty ScaleToPages = OdfStyleProperty.get( OdfStylePropertiesSet.PageLayoutProperties, diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/style/props/OdfParagraphProperties.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/style/props/OdfParagraphProperties.java index dfe734e612..a801d44c2a 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/style/props/OdfParagraphProperties.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/style/props/OdfParagraphProperties.java @@ -169,6 +169,10 @@ public interface OdfParagraphProperties { OdfStyleProperty.get( OdfStylePropertiesSet.ParagraphProperties, OdfName.newName(OdfDocumentNamespace.STYLE, "border-line-width-top")); + public static final OdfStyleProperty ContextualSpacing = + OdfStyleProperty.get( + OdfStylePropertiesSet.ParagraphProperties, + OdfName.newName(OdfDocumentNamespace.STYLE, "contextual-spacing")); public static final OdfStyleProperty FontIndependentLineSpacing = OdfStyleProperty.get( OdfStylePropertiesSet.ParagraphProperties, diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/style/props/OdfTableProperties.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/style/props/OdfTableProperties.java index a42e94255b..7614104896 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/style/props/OdfTableProperties.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/style/props/OdfTableProperties.java @@ -101,4 +101,8 @@ public interface OdfTableProperties { OdfStyleProperty.get( OdfStylePropertiesSet.TableProperties, OdfName.newName(OdfDocumentNamespace.TABLE, "display")); + public static final OdfStyleProperty TabColor = + OdfStyleProperty.get( + OdfStylePropertiesSet.TableProperties, + OdfName.newName(OdfDocumentNamespace.TABLE, "tab-color")); } diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/dsig/VersionAttribute.java b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/dsig/VersionAttribute.java index 19c4eb30d9..c2fa1edf90 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/dsig/VersionAttribute.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/dsig/VersionAttribute.java @@ -66,7 +66,7 @@ public String getName() { /** The value set of {@odf.attribute dsig:version}. */ public enum Value { - _1_2("1.2"); + _1_3("1.3"); private String mValue; diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/CipherDataElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/CipherDataElement.java new file mode 100644 index 0000000000..38de662fd8 --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/CipherDataElement.java @@ -0,0 +1,75 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Use is subject to license terms. + * + *

Licensed to the Apache Software Foundation (ASF) under one or more contributor license + * agreements. See the NOTICE file distributed with this work for additional information regarding + * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the License. You may obtain a + * copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.pkg.manifest; + +import org.odftoolkit.odfdom.pkg.OdfElement; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; +import org.odftoolkit.odfdom.pkg.OdfPackageNamespace; + +/** Manifest implementation of OpenDocument element {@odf.element manifest:CipherData}. */ +public class CipherDataElement extends OdfElement { + + public static final OdfName ELEMENT_NAME = + OdfName.newName(OdfPackageNamespace.MANIFEST, "CipherData"); + + /** + * Create the instance of CipherDataElement + * + * @param ownerDoc The type is OdfFileDom + */ + public CipherDataElement(OdfFileDom ownerDoc) { + super(ownerDoc, ELEMENT_NAME); + } + + /** + * Get the element name + * + * @return return OdfName the name of element {@odf.element manifest:CipherData}. + */ + @Override + public OdfName getOdfName() { + return ELEMENT_NAME; + } + + /** + * Create child element {@odf.element manifest:CipherValue}. + * + *

Child element is mandatory. + * + * @return the element {@odf.element manifest:CipherValue} + */ + public CipherValueElement newCipherValueElement() { + CipherValueElement cipherValue = + ((OdfFileDom) this.ownerDocument).newOdfElement(CipherValueElement.class); + this.appendChild(cipherValue); + return cipherValue; + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/CipherValueElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/CipherValueElement.java new file mode 100644 index 0000000000..42317df7d2 --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/CipherValueElement.java @@ -0,0 +1,61 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Use is subject to license terms. + * + *

Licensed to the Apache Software Foundation (ASF) under one or more contributor license + * agreements. See the NOTICE file distributed with this work for additional information regarding + * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the License. You may obtain a + * copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.pkg.manifest; + +import org.odftoolkit.odfdom.pkg.OdfElement; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; +import org.odftoolkit.odfdom.pkg.OdfPackageNamespace; + +/** Manifest implementation of OpenDocument element {@odf.element manifest:CipherValue}. */ +public class CipherValueElement extends OdfElement { + + public static final OdfName ELEMENT_NAME = + OdfName.newName(OdfPackageNamespace.MANIFEST, "CipherValue"); + + /** + * Create the instance of CipherValueElement + * + * @param ownerDoc The type is OdfFileDom + */ + public CipherValueElement(OdfFileDom ownerDoc) { + super(ownerDoc, ELEMENT_NAME); + } + + /** + * Get the element name + * + * @return return OdfName the name of element {@odf.element manifest:CipherValue}. + */ + @Override + public OdfName getOdfName() { + return ELEMENT_NAME; + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/EncryptedKeyElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/EncryptedKeyElement.java new file mode 100644 index 0000000000..ef4650646f --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/EncryptedKeyElement.java @@ -0,0 +1,103 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Use is subject to license terms. + * + *

Licensed to the Apache Software Foundation (ASF) under one or more contributor license + * agreements. See the NOTICE file distributed with this work for additional information regarding + * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the License. You may obtain a + * copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.pkg.manifest; + +import org.odftoolkit.odfdom.pkg.OdfElement; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; +import org.odftoolkit.odfdom.pkg.OdfPackageNamespace; + +/** Manifest implementation of OpenDocument element {@odf.element manifest:encrypted-key}. */ +public class EncryptedKeyElement extends OdfElement { + + public static final OdfName ELEMENT_NAME = + OdfName.newName(OdfPackageNamespace.MANIFEST, "encrypted-key"); + + /** + * Create the instance of EncryptedKeyElement + * + * @param ownerDoc The type is OdfFileDom + */ + public EncryptedKeyElement(OdfFileDom ownerDoc) { + super(ownerDoc, ELEMENT_NAME); + } + + /** + * Get the element name + * + * @return return OdfName the name of element {@odf.element manifest:encrypted-key}. + */ + @Override + public OdfName getOdfName() { + return ELEMENT_NAME; + } + + /** + * Create child element {@odf.element manifest:CipherData}. + * + *

Child element is mandatory. + * + * @return the element {@odf.element manifest:CipherData} + */ + public CipherDataElement newCipherDataElement() { + CipherDataElement cipherData = + ((OdfFileDom) this.ownerDocument).newOdfElement(CipherDataElement.class); + this.appendChild(cipherData); + return cipherData; + } + + /** + * Create child element {@odf.element manifest:encryption-method}. + * + * @param pGPAlgorithmValue the String value of PGPAlgorithmAttribute, + * see {@odf.attribute manifest:PGPAlgorithm} at specification + * @return the element {@odf.element manifest:encryption-method} + */ + public EncryptionMethodElement newEncryptionMethodElement(String pGPAlgorithmValue) { + EncryptionMethodElement encryptionMethod = + ((OdfFileDom) this.ownerDocument).newOdfElement(EncryptionMethodElement.class); + encryptionMethod.setPGPAlgorithmAttribute(pGPAlgorithmValue); + this.appendChild(encryptionMethod); + return encryptionMethod; + } + + /** + * Create child element {@odf.element manifest:keyinfo}. + * + *

Child element is mandatory. + * + * @return the element {@odf.element manifest:keyinfo} + */ + public KeyinfoElement newKeyinfoElement() { + KeyinfoElement keyinfo = ((OdfFileDom) this.ownerDocument).newOdfElement(KeyinfoElement.class); + this.appendChild(keyinfo); + return keyinfo; + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/EncryptionDataElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/EncryptionDataElement.java index 2476e8bad7..5f76b1bb9d 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/EncryptionDataElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/EncryptionDataElement.java @@ -142,21 +142,15 @@ public AlgorithmElement newAlgorithmElement( /** * Create child element {@odf.element manifest:key-derivation}. * - * @param iterationCountValue the Integer value of IterationCountAttribute - * , see {@odf.attribute manifest:iteration-count} at specification * @param keyDerivationNameValue the String value of KeyDerivationNameAttribute - * , see {@odf.attribute manifest:key-derivation-name} at specification - * @param saltValue the String value of SaltAttribute, see - * {@odf.attribute manifest:salt} at specification Child element is mandatory. + * , see {@odf.attribute manifest:key-derivation-name} at specification Child element + * is mandatory. * @return the element {@odf.element manifest:key-derivation} */ - public KeyDerivationElement newKeyDerivationElement( - int iterationCountValue, String keyDerivationNameValue, String saltValue) { + public KeyDerivationElement newKeyDerivationElement(String keyDerivationNameValue) { KeyDerivationElement keyDerivation = ((OdfFileDom) this.ownerDocument).newOdfElement(KeyDerivationElement.class); - keyDerivation.setIterationCountAttribute(iterationCountValue); keyDerivation.setKeyDerivationNameAttribute(keyDerivationNameValue); - keyDerivation.setSaltAttribute(saltValue); this.appendChild(keyDerivation); return keyDerivation; } diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/EncryptionMethodElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/EncryptionMethodElement.java new file mode 100644 index 0000000000..6264d45608 --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/EncryptionMethodElement.java @@ -0,0 +1,92 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Use is subject to license terms. + * + *

Licensed to the Apache Software Foundation (ASF) under one or more contributor license + * agreements. See the NOTICE file distributed with this work for additional information regarding + * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the License. You may obtain a + * copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.pkg.manifest; + +import org.odftoolkit.odfdom.pkg.OdfElement; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; +import org.odftoolkit.odfdom.pkg.OdfPackageNamespace; + +/** Manifest implementation of OpenDocument element {@odf.element manifest:encryption-method}. */ +public class EncryptionMethodElement extends OdfElement { + + public static final OdfName ELEMENT_NAME = + OdfName.newName(OdfPackageNamespace.MANIFEST, "encryption-method"); + + /** + * Create the instance of EncryptionMethodElement + * + * @param ownerDoc The type is OdfFileDom + */ + public EncryptionMethodElement(OdfFileDom ownerDoc) { + super(ownerDoc, ELEMENT_NAME); + } + + /** + * Get the element name + * + * @return return OdfName the name of element {@odf.element + * manifest:encryption-method}. + */ + @Override + public OdfName getOdfName() { + return ELEMENT_NAME; + } + + /** + * Receives the value of the ODFDOM attribute representation PGPAlgorithmAttribute , + * See {@odf.attribute manifest:PGPAlgorithm} + * + *

Attribute is mandatory. + * + * @return - the String , the value or null, if the attribute is not set + * and no default value defined. + */ + public String getPGPAlgorithmAttribute() { + PGPAlgorithmAttribute attr = + (PGPAlgorithmAttribute) getOdfAttribute(PGPAlgorithmAttribute.ATTRIBUTE_NAME); + if (attr != null) { + return String.valueOf(attr.getValue()); + } + return null; + } + + /** + * Sets the value of ODFDOM attribute representation PGPAlgorithmAttribute , See + * {@odf.attribute manifest:PGPAlgorithm} + * + * @param pGPAlgorithmValue The type is String + */ + public void setPGPAlgorithmAttribute(String pGPAlgorithmValue) { + PGPAlgorithmAttribute attr = new PGPAlgorithmAttribute((OdfFileDom) this.ownerDocument); + setOdfAttribute(attr); + attr.setValue(pGPAlgorithmValue); + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/KeyDerivationElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/KeyDerivationElement.java index dafd06cb6e..0bb7bf3fa6 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/KeyDerivationElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/KeyDerivationElement.java @@ -63,8 +63,6 @@ public OdfName getOdfName() { * Receives the value of the ODFDOM attribute representation IterationCountAttribute * , See {@odf.attribute manifest:iteration-count} * - *

Attribute is mandatory. - * * @return - the Integer , the value or null, if the attribute is not * set and no default value defined. */ @@ -151,8 +149,6 @@ public void setKeySizeAttribute(Integer keySizeValue) { * Receives the value of the ODFDOM attribute representation SaltAttribute , See * {@odf.attribute manifest:salt} * - *

Attribute is mandatory. - * * @return - the String , the value or null, if the attribute is not set * and no default value defined. */ diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/KeyDerivationNameAttribute.java b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/KeyDerivationNameAttribute.java index 1db3d46648..974fec45d6 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/KeyDerivationNameAttribute.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/KeyDerivationNameAttribute.java @@ -69,7 +69,8 @@ public String getName() { /** The value set of {@odf.attribute manifest:key-derivation-name}. */ public enum Value { - PBKDF2("PBKDF2"); + PBKDF2("PBKDF2"), + PGP("PGP"); private String mValue; diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/KeyinfoElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/KeyinfoElement.java new file mode 100644 index 0000000000..90a39cce92 --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/KeyinfoElement.java @@ -0,0 +1,74 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Use is subject to license terms. + * + *

Licensed to the Apache Software Foundation (ASF) under one or more contributor license + * agreements. See the NOTICE file distributed with this work for additional information regarding + * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the License. You may obtain a + * copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.pkg.manifest; + +import org.odftoolkit.odfdom.pkg.OdfElement; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; +import org.odftoolkit.odfdom.pkg.OdfPackageNamespace; + +/** Manifest implementation of OpenDocument element {@odf.element manifest:keyinfo}. */ +public class KeyinfoElement extends OdfElement { + + public static final OdfName ELEMENT_NAME = + OdfName.newName(OdfPackageNamespace.MANIFEST, "keyinfo"); + + /** + * Create the instance of KeyinfoElement + * + * @param ownerDoc The type is OdfFileDom + */ + public KeyinfoElement(OdfFileDom ownerDoc) { + super(ownerDoc, ELEMENT_NAME); + } + + /** + * Get the element name + * + * @return return OdfName the name of element {@odf.element manifest:keyinfo}. + */ + @Override + public OdfName getOdfName() { + return ELEMENT_NAME; + } + + /** + * Create child element {@odf.element manifest:PGPData}. + * + *

Child element is mandatory. + * + * @return the element {@odf.element manifest:PGPData} + */ + public PGPDataElement newPGPDataElement() { + PGPDataElement pGPData = ((OdfFileDom) this.ownerDocument).newOdfElement(PGPDataElement.class); + this.appendChild(pGPData); + return pGPData; + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/ManifestElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/ManifestElement.java index f3a8c88b3c..971350184f 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/ManifestElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/ManifestElement.java @@ -88,6 +88,18 @@ public void setVersionAttribute(String versionValue) { attr.setValue(versionValue); } + /** + * Create child element {@odf.element manifest:encrypted-key}. + * + * @return the element {@odf.element manifest:encrypted-key} + */ + public EncryptedKeyElement newEncryptedKeyElement() { + EncryptedKeyElement encryptedKey = + ((OdfFileDom) this.ownerDocument).newOdfElement(EncryptedKeyElement.class); + this.appendChild(encryptedKey); + return encryptedKey; + } + /** * Create child element {@odf.element manifest:file-entry}. * diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/PGPAlgorithmAttribute.java b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/PGPAlgorithmAttribute.java new file mode 100644 index 0000000000..2942d49790 --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/PGPAlgorithmAttribute.java @@ -0,0 +1,96 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Use is subject to license terms. + * + *

Licensed to the Apache Software Foundation (ASF) under one or more contributor license + * agreements. See the NOTICE file distributed with this work for additional information regarding + * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the License. You may obtain a + * copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.pkg.manifest; + +import org.odftoolkit.odfdom.pkg.OdfAttribute; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; +import org.odftoolkit.odfdom.pkg.OdfPackageNamespace; + +/** Manifest implementation of OpenDocument attribute {@odf.attribute manifest:PGPAlgorithm}. */ +public class PGPAlgorithmAttribute extends OdfAttribute { + + public static final OdfName ATTRIBUTE_NAME = + OdfName.newName(OdfPackageNamespace.MANIFEST, "PGPAlgorithm"); + + /** + * Create the instance of OpenDocument attribute {@odf.attribute manifest:PGPAlgorithm}. + * + * @param ownerDocument The type is OdfFileDom + */ + public PGPAlgorithmAttribute(OdfFileDom ownerDocument) { + super(ownerDocument, ATTRIBUTE_NAME); + } + + /** + * Returns the attribute name. + * + * @return the OdfName for {@odf.attribute manifest:PGPAlgorithm}. + */ + @Override + public OdfName getOdfName() { + return ATTRIBUTE_NAME; + } + + /** @return Returns the name of this attribute. */ + @Override + public String getName() { + return ATTRIBUTE_NAME.getLocalName(); + } + + /** + * Returns the default value of {@odf.attribute manifest:PGPAlgorithm}. + * + * @return the default value as String dependent of its element name return + * null if the default value does not exist + */ + @Override + public String getDefault() { + return null; + } + + /** + * Default value indicator. As the attribute default value is dependent from its element, the + * attribute has only a default, when a parent element exists. + * + * @return true if {@odf.attribute manifest:PGPAlgorithm} has an element parent + * otherwise return false as undefined. + */ + @Override + public boolean hasDefault() { + return false; + } + + /** @return Returns whether this attribute is known to be of type ID (i.e. xml:id ?) */ + @Override + public boolean isId() { + return false; + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/PGPDataElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/PGPDataElement.java new file mode 100644 index 0000000000..a156665f22 --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/PGPDataElement.java @@ -0,0 +1,87 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Use is subject to license terms. + * + *

Licensed to the Apache Software Foundation (ASF) under one or more contributor license + * agreements. See the NOTICE file distributed with this work for additional information regarding + * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the License. You may obtain a + * copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.pkg.manifest; + +import org.odftoolkit.odfdom.pkg.OdfElement; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; +import org.odftoolkit.odfdom.pkg.OdfPackageNamespace; + +/** Manifest implementation of OpenDocument element {@odf.element manifest:PGPData}. */ +public class PGPDataElement extends OdfElement { + + public static final OdfName ELEMENT_NAME = + OdfName.newName(OdfPackageNamespace.MANIFEST, "PGPData"); + + /** + * Create the instance of PGPDataElement + * + * @param ownerDoc The type is OdfFileDom + */ + public PGPDataElement(OdfFileDom ownerDoc) { + super(ownerDoc, ELEMENT_NAME); + } + + /** + * Get the element name + * + * @return return OdfName the name of element {@odf.element manifest:PGPData}. + */ + @Override + public OdfName getOdfName() { + return ELEMENT_NAME; + } + + /** + * Create child element {@odf.element manifest:PGPKeyID}. + * + *

Child element is mandatory. + * + * @return the element {@odf.element manifest:PGPKeyID} + */ + public PGPKeyIDElement newPGPKeyIDElement() { + PGPKeyIDElement pGPKeyID = + ((OdfFileDom) this.ownerDocument).newOdfElement(PGPKeyIDElement.class); + this.appendChild(pGPKeyID); + return pGPKeyID; + } + + /** + * Create child element {@odf.element manifest:PGPKeyPacket}. + * + * @return the element {@odf.element manifest:PGPKeyPacket} + */ + public PGPKeyPacketElement newPGPKeyPacketElement() { + PGPKeyPacketElement pGPKeyPacket = + ((OdfFileDom) this.ownerDocument).newOdfElement(PGPKeyPacketElement.class); + this.appendChild(pGPKeyPacket); + return pGPKeyPacket; + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/PGPKeyIDElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/PGPKeyIDElement.java new file mode 100644 index 0000000000..5704db7486 --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/PGPKeyIDElement.java @@ -0,0 +1,61 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Use is subject to license terms. + * + *

Licensed to the Apache Software Foundation (ASF) under one or more contributor license + * agreements. See the NOTICE file distributed with this work for additional information regarding + * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the License. You may obtain a + * copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.pkg.manifest; + +import org.odftoolkit.odfdom.pkg.OdfElement; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; +import org.odftoolkit.odfdom.pkg.OdfPackageNamespace; + +/** Manifest implementation of OpenDocument element {@odf.element manifest:PGPKeyID}. */ +public class PGPKeyIDElement extends OdfElement { + + public static final OdfName ELEMENT_NAME = + OdfName.newName(OdfPackageNamespace.MANIFEST, "PGPKeyID"); + + /** + * Create the instance of PGPKeyIDElement + * + * @param ownerDoc The type is OdfFileDom + */ + public PGPKeyIDElement(OdfFileDom ownerDoc) { + super(ownerDoc, ELEMENT_NAME); + } + + /** + * Get the element name + * + * @return return OdfName the name of element {@odf.element manifest:PGPKeyID}. + */ + @Override + public OdfName getOdfName() { + return ELEMENT_NAME; + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/PGPKeyPacketElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/PGPKeyPacketElement.java new file mode 100644 index 0000000000..9acfd2c6eb --- /dev/null +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/PGPKeyPacketElement.java @@ -0,0 +1,61 @@ +/** + * ********************************************************************** + * + *

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER + * + *

Use is subject to license terms. + * + *

Licensed to the Apache Software Foundation (ASF) under one or more contributor license + * agreements. See the NOTICE file distributed with this work for additional information regarding + * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the License. You may obtain a + * copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. + * + *

See the License for the specific language governing permissions and limitations under the + * License. + * + *

********************************************************************** + */ + +/* + * This file is automatically generated. + * Don't edit manually. + */ +package org.odftoolkit.odfdom.pkg.manifest; + +import org.odftoolkit.odfdom.pkg.OdfElement; +import org.odftoolkit.odfdom.pkg.OdfFileDom; +import org.odftoolkit.odfdom.pkg.OdfName; +import org.odftoolkit.odfdom.pkg.OdfPackageNamespace; + +/** Manifest implementation of OpenDocument element {@odf.element manifest:PGPKeyPacket}. */ +public class PGPKeyPacketElement extends OdfElement { + + public static final OdfName ELEMENT_NAME = + OdfName.newName(OdfPackageNamespace.MANIFEST, "PGPKeyPacket"); + + /** + * Create the instance of PGPKeyPacketElement + * + * @param ownerDoc The type is OdfFileDom + */ + public PGPKeyPacketElement(OdfFileDom ownerDoc) { + super(ownerDoc, ELEMENT_NAME); + } + + /** + * Get the element name + * + * @return return OdfName the name of element {@odf.element manifest:PGPKeyPacket}. + */ + @Override + public OdfName getOdfName() { + return ELEMENT_NAME; + } +} diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/VersionAttribute.java b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/VersionAttribute.java index 3ac60dcd3a..a95ed73f78 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/VersionAttribute.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/VersionAttribute.java @@ -67,7 +67,7 @@ public String getName() { /** The value set of {@odf.attribute manifest:version}. */ public enum Value { - _1_2("1.2"); + _1_3("1.3"); private String mValue; From 8a241ba58a51b4b15d35b3ac103991e19e258584 Mon Sep 17 00:00:00 2001 From: Svante Schubert Date: Thu, 22 Dec 2022 01:04:04 +0100 Subject: [PATCH 03/15] Currently one manual adoptions is still required to compile due to constructor change based on RelaxNG XML grammar adoption --- .../src/main/java/org/odftoolkit/odfdom/pkg/OdfPackage.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/OdfPackage.java b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/OdfPackage.java index 1f72649ecb..1056733666 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/OdfPackage.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/OdfPackage.java @@ -1984,7 +1984,10 @@ private byte[] encryptData(byte[] data, OdfFileEntry fileEntry) { if (keyDerivationElement != null) { encryptionDataElement.removeChild(keyDerivationElement); } - keyDerivationElement = encryptionDataElement.newKeyDerivationElement(1024, "PBKDF2", saltStr); + keyDerivationElement = encryptionDataElement.newKeyDerivationElement("PBKDF2"); + keyDerivationElement.setIterationCountAttribute(1024); + keyDerivationElement.setSaltAttribute(saltStr); + StartKeyGenerationElement startKeyGenerationElement = OdfElement.findFirstChildNode(StartKeyGenerationElement.class, encryptionDataElement); if (startKeyGenerationElement != null) { From 5f826124f0b1978eefcb83676708c4d006c4f8b5 Mon Sep 17 00:00:00 2001 From: Svante Schubert Date: Thu, 22 Dec 2022 01:19:36 +0100 Subject: [PATCH 04/15] Documentation update --- docs/ReleaseNotes.html | 10 +++- docs/downloads.html | 46 ++++++++++++++++++- docs/index.html | 1 + docs/source.html | 4 +- docs/xsltrunner/ODFXSLTRunner.html | 2 +- .../content/odftoolkit_website/index.mdtext | 2 + .../content/odftoolkit_website/source.mdtext | 4 +- .../xsltrunner/ODFXSLTRunner.mdtext | 2 +- 8 files changed, 62 insertions(+), 9 deletions(-) diff --git a/docs/ReleaseNotes.html b/docs/ReleaseNotes.html index e2a39d917f..618f6ca851 100644 --- a/docs/ReleaseNotes.html +++ b/docs/ReleaseNotes.html @@ -48,6 +48,14 @@

TDF

ODF Toolkit Release Notes

+

Release 0.12.0

+

ODFDOM 0.12.0 is released on December 22th, 2022. Git tag: "odftoolkit-0.12.0".

+

GitHub issues fixed in this release 0.12.0

+
    +
  • #26 Adding ODF 1.3 support to the ODF Toolkit
  • +
+

Major updates with 0.12.0

+

The typed ODFDOM DOM model is now based on the XML grammar of the OASIS ODF 1.3 standard. All deliverables of the OASIS 1.3 standard are downloadable from OASIS.

Release 0.11.0

ODFDOM 0.11.0 is released on December 21th, 2022. Git tag: "odftoolkit-0.11.0".

GitHub issues fixed in this release 0.11.0

@@ -65,7 +73,7 @@

GitHub issues fixed in this
  • #189 org.odftoolkit.odfdom.pkg.OdfName declares static StringBuilder -> potential problem in multi-threaded environments
  • #198 clean up static Map/Set/etc to avoid races and leaks
  • -

    Major updates with this version

    +

    Major updates with 0.11.0

    Generation & Templates

    • ODFDOM source generation (generator project) was completely refactored, allowing to trigger generation from the ODFDOM project (mvn install -Dcodegen) to generate, copy and format the Java classes of the 3 XML grammars: diff --git a/docs/downloads.html b/docs/downloads.html index c523b56144..3635a9d0d4 100644 --- a/docs/downloads.html +++ b/docs/downloads.html @@ -49,10 +49,46 @@

      TDF

      Downloads

      Current Version

      -

      The current version is the 0.11.0 supporting ODF 1.2. The future development is based on the master branch.
      The releases of 0.11.0 was on December 21th, 2022.

      +

      The current version is the 0.12.0 supporting ODF 1.3. The future development is based on the master branch.
      The releases of 0.12.0 was on December 22th, 2022.

      Releases (latest)

      -

      The release 0.11.0 is using JDK 11 implementing ODF 1.2.
      For more details see the release notes. People interested should also follow the mail list to track progress.

      +

      The release 0.12.0 is using JDK 11 implementing ODF 1.3.
      The release 0.11.0 is using JDK 11 implementing ODF 1.2.

      +

      For more details see the release notes. People interested should also follow the mail list to track progress.

      Project Releases for Maven (latest)

      +

      Project Releases for Maven on ODF 1.3

      + +
      +
      <dependency>
      +    <groupId>org.odftoolkit</groupId>
      +    <artifactId>odfdom-java</artifactId>
      +    <version>0.12.0</version>
      +</dependency>
      +
      +
      + +
      +
      <dependency>
      +    <groupId>org.odftoolkit</groupId>
      +    <artifactId>odfvalidator</artifactId>
      +    <version>0.12.0</version>
      +</dependency>
      +
      +
      + +
      +
      <dependency>
      +    <groupId>org.odftoolkit</groupId>
      +    <artifactId>xslt-runner</artifactId>
      +    <version>0.12.0</version>
      +</dependency>
      +
      +
      +

      Project Releases for Maven on ODF 1.2

      • ODFDOM: 0.11.0
      • @@ -89,6 +125,12 @@

        Project Releases for Maven on ODF

      ODF Toolkit Release Bundles (latest)

      +

      ODF Toolkit 0.12.0 Release Bundle (ODF 1.3 using JDK 11)

      +

      ODF Toolkit 0.11.0 Release Bundle (ODF 1.2 using JDK 11)

      • Sources: odftoolkit-0.11.0-src.zip [sha]
      • diff --git a/docs/index.html b/docs/index.html index 27797c1b33..f81978515c 100644 --- a/docs/index.html +++ b/docs/index.html @@ -60,6 +60,7 @@

        Components of the ODF Toolkit (Jav

        Find our sources on GitHub. People interested should follow the mail list to track progress.

        History

        +

        2021-12-22 - ODF Toolkit releases of 0.12.0

        2021-12-21 - ODF Toolkit releases of 0.11.0

        2021-11-26 - ODF Toolkit releases of 0.9.0 and 0.10.0

        See the downloads page for more details on the releases.

        diff --git a/docs/source.html b/docs/source.html index 539900cf2a..0e36e0a9df 100644 --- a/docs/source.html +++ b/docs/source.html @@ -62,13 +62,13 @@

        ODF Toolkit == 0.9.0 using JDK 8

        sudo apt-get install maven
    -

    ODF Toolkit >= 0.10.0 using JDK >= 9

    +

    ODF Toolkit >= 0.10.0 using JDK >=11

    sudo apt-get install openjdk-11-jdk
     sudo apt-get install maven
     
    -

    Note: The previous instructions has been tested with an Ubuntu 20.04 installation. Other distros and versions should work fine, but might require some slight modifications.

    +

    Note: The previous instructions has been tested with an Ubuntu 22.04 installation. Other distros and versions should work fine, but might require some slight modifications.

    Build Setup (Windows)

    For the setup of the build environment, please see Java JDK download for Windows and Maven setup on Windows

    Building (Linux & Windows)

    diff --git a/docs/xsltrunner/ODFXSLTRunner.html b/docs/xsltrunner/ODFXSLTRunner.html index 5b4bb58699..0734b254e4 100644 --- a/docs/xsltrunner/ODFXSLTRunner.html +++ b/docs/xsltrunner/ODFXSLTRunner.html @@ -99,7 +99,7 @@

    URI resolution/document() function

    Requirements

    -

    ODF XSLT Runner requires Java RE 5, or a later version of Java.

    +

    ODF XSLT Runner requires Java 11, or a later version of Java.

    It further requires ODFDOM. This former NetBeans project is pre-configured to build ODFDOM while building ODF XSLT Runner. This requires that the ODFDOM sources are located in a folder odfdom next to the folder of the ODF XSLT Runner project.

    Alternatively, the reference to the ODFDOM project in the compile time classpath of the ODF XSLT Runner project may be replaced with a reference to an already compiled odfdom.jar.

    At run time, the odfdom.jar file must be either located in folder called lib next to the odfxsltrunner.jar file, or it must be in the classpath.

    diff --git a/src/site/site/content/odftoolkit_website/index.mdtext b/src/site/site/content/odftoolkit_website/index.mdtext index 89885ccdc3..cd4676eec3 100644 --- a/src/site/site/content/odftoolkit_website/index.mdtext +++ b/src/site/site/content/odftoolkit_website/index.mdtext @@ -28,6 +28,8 @@ People interested should follow the [mail list](mailing-lists.html) to track pro ## History +### 2021-12-22 - ODF Toolkit releases of 0.12.0 + ### 2021-12-21 - ODF Toolkit releases of 0.11.0 ### 2021-11-26 - ODF Toolkit releases of 0.9.0 and 0.10.0 diff --git a/src/site/site/content/odftoolkit_website/source.mdtext b/src/site/site/content/odftoolkit_website/source.mdtext index fc35de793f..16ee12d552 100644 --- a/src/site/site/content/odftoolkit_website/source.mdtext +++ b/src/site/site/content/odftoolkit_website/source.mdtext @@ -19,7 +19,7 @@ sudo apt-get install openjdk-8-jdk sudo apt-get install maven ``` -### ODF Toolkit >= 0.10.0 using JDK >= 9 +### ODF Toolkit >= 0.10.0 using JDK >=11 ```shell sudo apt-get install openjdk-11-jdk @@ -27,7 +27,7 @@ sudo apt-get install maven ``` **Note:** -The previous instructions has been tested with an Ubuntu 20.04 installation. +The previous instructions has been tested with an Ubuntu 22.04 installation. Other distros and versions should work fine, but might require some slight modifications. diff --git a/src/site/site/content/odftoolkit_website/xsltrunner/ODFXSLTRunner.mdtext b/src/site/site/content/odftoolkit_website/xsltrunner/ODFXSLTRunner.mdtext index 3f0187d2ff..e69d13573c 100644 --- a/src/site/site/content/odftoolkit_website/xsltrunner/ODFXSLTRunner.mdtext +++ b/src/site/site/content/odftoolkit_website/xsltrunner/ODFXSLTRunner.mdtext @@ -99,7 +99,7 @@ relative to a file within an ODF package. ## Requirements -**ODF XSLT Runner** requires [Java RE 5][6], or a later version of Java. +**ODF XSLT Runner** requires [Java 11][6], or a later version of Java. It further requires ODFDOM. This former NetBeans project is pre-configured to build ODFDOM while building **ODF XSLT Runner**. This requires that the ODFDOM From 104caa3da24e76a5ea704e16cfe1f5fd0a63d252 Mon Sep 17 00:00:00 2001 From: Svante Schubert Date: Thu, 22 Dec 2022 03:05:01 +0100 Subject: [PATCH 05/15] Update README.md --- README.md | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 94f643bd88..bf65130deb 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ documents. Unlike other approaches which rely on runtime manipulation of heavy-w editors via an automation interface, the ODF Toolkit is lightweight and ideal for server use. -The ODF Toolkit consists of four subcomponents: +The ODF Toolkit consists of three subcomponents: 1. ODFDOM (odfdom-java-*.jar) This is an Open Document Format (ODF) framework. Its purpose is to provide @@ -17,20 +17,13 @@ The ODF Toolkit consists of four subcomponents: provide the ODF developer community with an easy, lightweight programming API portable to any object-oriented language. -2. Simple API (deprecated) - (simple-odf-*.jar) - The Simple Java API for ODF is an easy-to-use, high-level Java API - for creating, modifying and extracting data from ODF 1.2 documents. - It is written in pure Java and does not require that you install any - document editor on your system. The Simple Java API for ODF is a high - level abstraction of the lower-level ODFDOM API - -3. ODF Validator (odfvalidator-*.war) +2. ODF Validator (odfvalidator-*.war) This is a tool that validates Open Document Format (ODF) files and checks them for conformance according to the ODF Standard. ODF Validator is available as an online service and as a command line tool. This page primarily describes the command line tool. Please visit the [ODF Validator documentation](https://tdf.github.io/odftoolkit/conformance/ODFValidator.html) for details. -4. ODF XSLT Runner(xslt-runner-*.jar, xslt-runner-task-*.jar) +3. ODF XSLT Runner(xslt-runner-*.jar, xslt-runner-task-*.jar) ODF XSLT Runner is a small Java application that allows you to apply XSLT stylesheets to XML streams included in ODF packages without extracting them from the package. It can be used from the command line. A driver to use it @@ -67,12 +60,12 @@ For more details see the [release notes](https://tdf.github.io/odftoolkit/Releas * [The Home Page for the ODF Toolkit](https://tdf.github.io/odftoolkit) * [ODFDOM Getting Start Guide](https://tdf.github.io/odftoolkit/odfdom/index.html) +* [ODF Validator Getting Start Guide](https://tdf.github.io/odftoolkit/conformance/ODFValidator.html) +* [ODF XSLT Runner Getting Start Guide](https://tdf.github.io/odftoolkit/xsltrunner/ODFXSLTRunner.html) * [Simple API (deprecated) - Getting Start Guide](https://tdf.github.io/odftoolkit/simple/gettingstartguide.html) * [Simple API (deprecated) - Cookbook](https://tdf.github.io/odftoolkit/simple/document/cookbook/index.html) * [Simple API (deprecated) - Demos](https://tdf.github.io/odftoolkit/simple/demo/index.html) * [Simple API (deprecated) - Online JavaDoc](https://tdf.github.io/odftoolkit/simple/document/javadoc/index.html) -* [ODF Validator Getting Start Guide](https://tdf.github.io/odftoolkit/conformance/ODFValidator.html) -* [ODF XSLT Runner Getting Start Guide](https://tdf.github.io/odftoolkit/xsltrunner/ODFXSLTRunner.html) ## Mailing Lists From 69b46d27523324996e12c5916d143bc0109b9fe1 Mon Sep 17 00:00:00 2001 From: Svante Schubert Date: Thu, 22 Dec 2022 18:24:31 +0100 Subject: [PATCH 06/15] Postponing release to 1st February 2023 - just before FOSDEM --- docs/downloads.html | 2 +- docs/index.html | 4 ++-- src/site/site/content/odftoolkit_website/downloads.mdtext | 2 +- src/site/site/content/odftoolkit_website/index.mdtext | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/downloads.html b/docs/downloads.html index 3635a9d0d4..f3fcce51bb 100644 --- a/docs/downloads.html +++ b/docs/downloads.html @@ -49,7 +49,7 @@

    TDF

    Downloads

    Current Version

    -

    The current version is the 0.12.0 supporting ODF 1.3. The future development is based on the master branch.
    The releases of 0.12.0 was on December 22th, 2022.

    +

    The current version is the 0.12.0 supporting ODF 1.3. The future development is based on the master branch.
    The releases of 0.12.0 was on February 1st, 2022.

    Releases (latest)

    The release 0.12.0 is using JDK 11 implementing ODF 1.3.
    The release 0.11.0 is using JDK 11 implementing ODF 1.2.

    For more details see the release notes. People interested should also follow the mail list to track progress.

    diff --git a/docs/index.html b/docs/index.html index f81978515c..fa25b2cb53 100644 --- a/docs/index.html +++ b/docs/index.html @@ -60,8 +60,8 @@

    Components of the ODF Toolkit (Jav

    Find our sources on GitHub. People interested should follow the mail list to track progress.

    History

    -

    2021-12-22 - ODF Toolkit releases of 0.12.0

    -

    2021-12-21 - ODF Toolkit releases of 0.11.0

    +

    2023-02-01 - ODF Toolkit releases of 0.12.0

    +

    2022-12-21 - ODF Toolkit releases of 0.11.0

    2021-11-26 - ODF Toolkit releases of 0.9.0 and 0.10.0

    See the downloads page for more details on the releases.

    2020-01-29 - ODF Toolkit releases of 0.9.0-rc and 0.10.0-beta (earlier/yet named 1.0.0-beta)

    diff --git a/src/site/site/content/odftoolkit_website/downloads.mdtext b/src/site/site/content/odftoolkit_website/downloads.mdtext index 4e343f01e7..72b9ff4d53 100644 --- a/src/site/site/content/odftoolkit_website/downloads.mdtext +++ b/src/site/site/content/odftoolkit_website/downloads.mdtext @@ -3,7 +3,7 @@ ## Current Version The current version is the 0.12.0 supporting ODF 1.3. The future development is based on the [master branch](https://github.com/tdf/odftoolkit).
    -The releases of 0.12.0 was on December 22th, 2022. +The releases of 0.12.0 was on February 1st, 2022. ## Releases (latest) diff --git a/src/site/site/content/odftoolkit_website/index.mdtext b/src/site/site/content/odftoolkit_website/index.mdtext index cd4676eec3..d00dbd912a 100644 --- a/src/site/site/content/odftoolkit_website/index.mdtext +++ b/src/site/site/content/odftoolkit_website/index.mdtext @@ -28,9 +28,9 @@ People interested should follow the [mail list](mailing-lists.html) to track pro ## History -### 2021-12-22 - ODF Toolkit releases of 0.12.0 +### 2023-02-01 - ODF Toolkit releases of 0.12.0 -### 2021-12-21 - ODF Toolkit releases of 0.11.0 +### 2022-12-21 - ODF Toolkit releases of 0.11.0 ### 2021-11-26 - ODF Toolkit releases of 0.9.0 and 0.10.0 From fddc3034e5e3c3b24ce82715eeffb1f1f02462a1 Mon Sep 17 00:00:00 2001 From: Svante Schubert Date: Wed, 1 Feb 2023 12:02:14 +0100 Subject: [PATCH 07/15] Adding manually three constructors of encryptionDataElement.newKeyDerivationElement(..) to generated code - an generic approach for this RNG pattern is desired - like moving mandatory descendant data to constructors in general --- .../template/pkg-manifest-element-template.vm | 57 ++++++++++++++++++- .../pkg/manifest/EncryptionDataElement.java | 48 ++++++++++++++-- .../pkg/manifest/EncryptionDataElement.java | 45 ++++++++++++++- 3 files changed, 141 insertions(+), 9 deletions(-) diff --git a/generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/template/pkg-manifest-element-template.vm b/generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/template/pkg-manifest-element-template.vm index baded7afff..4a02ea613e 100644 --- a/generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/template/pkg-manifest-element-template.vm +++ b/generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/template/pkg-manifest-element-template.vm @@ -221,7 +221,62 @@ public class $className extends $baseClassName { ## --------------------------------------------------- ## #foreach($ch in $children) -#if ($ch != "*") +#if ($ch == "manifest:key-derivation") + /** + * Create child element {@odf.element manifest:key-derivation}. + * + * @return the element {@odf.element manifest:key-derivation} + */ + public KeyDerivationElement newKeyDerivationElement() { + KeyDerivationElement keyDerivation = + ((OdfFileDom) this.ownerDocument).newOdfElement(KeyDerivationElement.class); + keyDerivation.setKeyDerivationNameAttribute("PGP"); + this.appendChild(keyDerivation); + return keyDerivation; + } + + /** + Create child element {@odf.element manifest:key-derivation} with keyDerivationNameValue="PGPBKDF2" + * + * @param iterationCountValue the Integer value of IterationCountAttribute + * , see {@odf.attribute manifest:iteration-count} at specification + * @param saltValue the String value of SaltAttribute, see + * {@odf.attribute manifest:salt} at specification Child element is mandatory. + * @return the element {@odf.element manifest:key-derivation} + */ + public KeyDerivationElement newKeyDerivationElement(int iterationCountValue, String saltValue) { + KeyDerivationElement keyDerivation = + ((OdfFileDom) this.ownerDocument).newOdfElement(KeyDerivationElement.class); + keyDerivation.setIterationCountAttribute(iterationCountValue); + keyDerivation.setKeyDerivationNameAttribute("PBKDF2"); + keyDerivation.setSaltAttribute(saltValue); + this.appendChild(keyDerivation); + return keyDerivation; + } + + /** + * Create child element {@odf.element manifest:key-derivation}. + * + * @param iterationCountValue the Integer value of IterationCountAttribute + * , see {@odf.attribute manifest:iteration-count} at specification + * @param keyDerivationNameValue the String value of KeyDerivationNameAttribute + * , see {@odf.attribute manifest:key-derivation-name} at specification + * @param saltValue the String value of SaltAttribute, see + * {@odf.attribute manifest:salt} at specification Child element is mandatory. + * @return the element {@odf.element manifest:key-derivation} + */ + public KeyDerivationElement newKeyDerivationElement(int iterationCountValue, String keyDerivationNameValue, String saltValue) { + KeyDerivationElement keyDerivation = + ((OdfFileDom) this.ownerDocument).newOdfElement(KeyDerivationElement.class); + keyDerivation.setIterationCountAttribute(iterationCountValue); + keyDerivation.setKeyDerivationNameAttribute(keyDerivationNameValue); + keyDerivation.setSaltAttribute(saltValue); + this.appendChild(keyDerivation); + return keyDerivation; + } + +#end +#if ($ch != "*" && $ch != "manifest:key-derivation") #set ($child = ${ch.withMultiples()}) #set ($cClassName = "${xmlModel.camelCase(${child.getLocalName()})}Element") #set ($cVar = ${xmlModel.javaCase(${child.getLocalName()})}) diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-package-manifest-1.3/org/odftoolkit/odfdom/pkg/manifest/EncryptionDataElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-package-manifest-1.3/org/odftoolkit/odfdom/pkg/manifest/EncryptionDataElement.java index 11fb64084a..d97c38ae0a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-package-manifest-1.3/org/odftoolkit/odfdom/pkg/manifest/EncryptionDataElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-package-manifest-1.3/org/odftoolkit/odfdom/pkg/manifest/EncryptionDataElement.java @@ -132,17 +132,55 @@ public AlgorithmElement newAlgorithmElement(String algorithmNameValue, String in /** * Create child element {@odf.element manifest:key-derivation}. * - * @param keyDerivationNameValue the String value of KeyDerivationNameAttribute, see {@odf.attribute manifest:key-derivation-name} at specification - * Child element is mandatory. + * @return the element {@odf.element manifest:key-derivation} + */ + public KeyDerivationElement newKeyDerivationElement() { + KeyDerivationElement keyDerivation = + ((OdfFileDom) this.ownerDocument).newOdfElement(KeyDerivationElement.class); + keyDerivation.setKeyDerivationNameAttribute("PGP"); + this.appendChild(keyDerivation); + return keyDerivation; + } + + /** + Create child element {@odf.element manifest:key-derivation} with keyDerivationNameValue="PGPBKDF2" + * + * @param iterationCountValue the Integer value of IterationCountAttribute + * , see {@odf.attribute manifest:iteration-count} at specification + * @param saltValue the String value of SaltAttribute, see + * {@odf.attribute manifest:salt} at specification Child element is mandatory. + * @return the element {@odf.element manifest:key-derivation} + */ + public KeyDerivationElement newKeyDerivationElement(int iterationCountValue, String saltValue) { + KeyDerivationElement keyDerivation = + ((OdfFileDom) this.ownerDocument).newOdfElement(KeyDerivationElement.class); + keyDerivation.setIterationCountAttribute(iterationCountValue); + keyDerivation.setKeyDerivationNameAttribute("PBKDF2"); + keyDerivation.setSaltAttribute(saltValue); + this.appendChild(keyDerivation); + return keyDerivation; + } + + /** + * Create child element {@odf.element manifest:key-derivation}. * + * @param iterationCountValue the Integer value of IterationCountAttribute + * , see {@odf.attribute manifest:iteration-count} at specification + * @param keyDerivationNameValue the String value of KeyDerivationNameAttribute + * , see {@odf.attribute manifest:key-derivation-name} at specification + * @param saltValue the String value of SaltAttribute, see + * {@odf.attribute manifest:salt} at specification Child element is mandatory. * @return the element {@odf.element manifest:key-derivation} */ - public KeyDerivationElement newKeyDerivationElement(String keyDerivationNameValue) { - KeyDerivationElement keyDerivation = ((OdfFileDom) this.ownerDocument).newOdfElement(KeyDerivationElement.class); + public KeyDerivationElement newKeyDerivationElement(int iterationCountValue, String keyDerivationNameValue, String saltValue) { + KeyDerivationElement keyDerivation = + ((OdfFileDom) this.ownerDocument).newOdfElement(KeyDerivationElement.class); + keyDerivation.setIterationCountAttribute(iterationCountValue); keyDerivation.setKeyDerivationNameAttribute(keyDerivationNameValue); + keyDerivation.setSaltAttribute(saltValue); this.appendChild(keyDerivation); return keyDerivation; - } + } /** * Create child element {@odf.element manifest:start-key-generation}. diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/EncryptionDataElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/EncryptionDataElement.java index 5f76b1bb9d..748e45426d 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/EncryptionDataElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/manifest/EncryptionDataElement.java @@ -142,15 +142,54 @@ public AlgorithmElement newAlgorithmElement( /** * Create child element {@odf.element manifest:key-derivation}. * + * @return the element {@odf.element manifest:key-derivation} + */ + public KeyDerivationElement newKeyDerivationElement() { + KeyDerivationElement keyDerivation = + ((OdfFileDom) this.ownerDocument).newOdfElement(KeyDerivationElement.class); + keyDerivation.setKeyDerivationNameAttribute("PGP"); + this.appendChild(keyDerivation); + return keyDerivation; + } + + /** + * Create child element {@odf.element manifest:key-derivation} with + * keyDerivationNameValue="PGPBKDF2" + * + * @param iterationCountValue the Integer value of IterationCountAttribute + * , see {@odf.attribute manifest:iteration-count} at specification + * @param saltValue the String value of SaltAttribute, see + * {@odf.attribute manifest:salt} at specification Child element is mandatory. + * @return the element {@odf.element manifest:key-derivation} + */ + public KeyDerivationElement newKeyDerivationElement(int iterationCountValue, String saltValue) { + KeyDerivationElement keyDerivation = + ((OdfFileDom) this.ownerDocument).newOdfElement(KeyDerivationElement.class); + keyDerivation.setIterationCountAttribute(iterationCountValue); + keyDerivation.setKeyDerivationNameAttribute("PBKDF2"); + keyDerivation.setSaltAttribute(saltValue); + this.appendChild(keyDerivation); + return keyDerivation; + } + + /** + * Create child element {@odf.element manifest:key-derivation}. + * + * @param iterationCountValue the Integer value of IterationCountAttribute + * , see {@odf.attribute manifest:iteration-count} at specification * @param keyDerivationNameValue the String value of KeyDerivationNameAttribute - * , see {@odf.attribute manifest:key-derivation-name} at specification Child element - * is mandatory. + * , see {@odf.attribute manifest:key-derivation-name} at specification + * @param saltValue the String value of SaltAttribute, see + * {@odf.attribute manifest:salt} at specification Child element is mandatory. * @return the element {@odf.element manifest:key-derivation} */ - public KeyDerivationElement newKeyDerivationElement(String keyDerivationNameValue) { + public KeyDerivationElement newKeyDerivationElement( + int iterationCountValue, String keyDerivationNameValue, String saltValue) { KeyDerivationElement keyDerivation = ((OdfFileDom) this.ownerDocument).newOdfElement(KeyDerivationElement.class); + keyDerivation.setIterationCountAttribute(iterationCountValue); keyDerivation.setKeyDerivationNameAttribute(keyDerivationNameValue); + keyDerivation.setSaltAttribute(saltValue); this.appendChild(keyDerivation); return keyDerivation; } From 3a6422252e547013e2b5407b098439adfa3b661e Mon Sep 17 00:00:00 2001 From: Svante Schubert Date: Wed, 1 Feb 2023 12:08:38 +0100 Subject: [PATCH 08/15] Undoing previously manual adoption of OdfPackage.java after code generation due to missing - now added encryptionDataElement.newKeyDerivationElement(..) constructors --- .../src/main/java/org/odftoolkit/odfdom/pkg/OdfPackage.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/OdfPackage.java b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/OdfPackage.java index 1056733666..409ff0b2c7 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/OdfPackage.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/pkg/OdfPackage.java @@ -1984,9 +1984,7 @@ private byte[] encryptData(byte[] data, OdfFileEntry fileEntry) { if (keyDerivationElement != null) { encryptionDataElement.removeChild(keyDerivationElement); } - keyDerivationElement = encryptionDataElement.newKeyDerivationElement("PBKDF2"); - keyDerivationElement.setIterationCountAttribute(1024); - keyDerivationElement.setSaltAttribute(saltStr); + keyDerivationElement = encryptionDataElement.newKeyDerivationElement(1024, "PBKDF2", saltStr); StartKeyGenerationElement startKeyGenerationElement = OdfElement.findFirstChildNode(StartKeyGenerationElement.class, encryptionDataElement); From f59e10a8d46efd0dfdab0e468d0408a1ffd13440 Mon Sep 17 00:00:00 2001 From: Svante Schubert Date: Wed, 1 Feb 2023 12:09:14 +0100 Subject: [PATCH 09/15] Adding new indented code after running: mvn git-code-format:format-code -D"gcf.globPattern=**/*" --- .../java/org/odftoolkit/odfdom/taglet/OdfAttributeTaglet.java | 3 ++- .../java/org/odftoolkit/odfdom/taglet/OdfDatatypeTaglet.java | 3 ++- .../java/org/odftoolkit/odfdom/taglet/OdfElementTaglet.java | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfAttributeTaglet.java b/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfAttributeTaglet.java index 65de611de5..85dfdc2838 100644 --- a/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfAttributeTaglet.java +++ b/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfAttributeTaglet.java @@ -40,7 +40,8 @@ * In case nothing is been a default path within the JavaDoc resources directory is being used. * *

    For example the taglet {@odf.attribute xml:id} would be resolved without - * variable settings to JAVA_DOC_BASE/resources/OpenDocument-v1.3-os-part3-schema.html#attribute-xml_id + * variable settings to + * JAVA_DOC_BASE/resources/OpenDocument-v1.3-os-part3-schema.html#attribute-xml_id * . */ public class OdfAttributeTaglet implements Taglet { diff --git a/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfDatatypeTaglet.java b/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfDatatypeTaglet.java index 2350384b46..3f3b51256e 100644 --- a/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfDatatypeTaglet.java +++ b/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfDatatypeTaglet.java @@ -46,7 +46,8 @@ public class OdfDatatypeTaglet implements Taglet { private static final Logger LOG = Logger.getLogger(OdfDatatypeTaglet.class.getName()); private static final String NAME = "odf.datatype"; - private static final String ODF_SPEC_PATH = "../../../../resources/OpenDocument-v1.3-os-part3-schema.html"; + private static final String ODF_SPEC_PATH = + "../../../../resources/OpenDocument-v1.3-os-part3-schema.html"; private static String mOdfSpecPath = null; /* FINDING THE ABSOLUTE PATH TO THE ODF SPEC IN HTML: diff --git a/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfElementTaglet.java b/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfElementTaglet.java index 8236dcdbba..bc344f427f 100644 --- a/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfElementTaglet.java +++ b/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfElementTaglet.java @@ -40,7 +40,8 @@ * In case nothing is been a default path within the JavaDoc resources directory is being used. * *

    For example the taglet {@odf.element text:span} would be resolved without - * variable settings to JAVA_DOC_BASE/resources/OpenDocument-v1.3-os-part3-schema.html#element-text_span + * variable settings to + * JAVA_DOC_BASE/resources/OpenDocument-v1.3-os-part3-schema.html#element-text_span * . */ public class OdfElementTaglet implements Taglet { From 99b98ea88cdca1de78a3208dfaadebad36094ae5 Mon Sep 17 00:00:00 2001 From: Svante Schubert Date: Wed, 1 Feb 2023 12:36:44 +0100 Subject: [PATCH 10/15] Generating three constructors for encryptionDataElement.newKeyDerivationElement(..) only for ODF 1.3! --- .../pkg/template/pkg-manifest-element-template.vm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/template/pkg-manifest-element-template.vm b/generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/template/pkg-manifest-element-template.vm index 4a02ea613e..98fb2a69ff 100644 --- a/generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/template/pkg-manifest-element-template.vm +++ b/generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/pkg/template/pkg-manifest-element-template.vm @@ -221,7 +221,10 @@ public class $className extends $baseClassName { ## --------------------------------------------------- ## #foreach($ch in $children) -#if ($ch == "manifest:key-derivation") +## There should be three constructors generated for +## As there are three possible values for @manifest:key-derivation-name - twice strings or URI! +## see https://docs.oasis-open.org/office/OpenDocument/v1.3/os/schemas/OpenDocument-v1.3-manifest-schema-rng.html#key-derivation-attlist +#if ($ch == "manifest:key-derivation" && "1.3" == ${xmlModel.getGrammarVersion()}) /** * Create child element {@odf.element manifest:key-derivation}. * @@ -276,7 +279,8 @@ public class $className extends $baseClassName { } #end -#if ($ch != "*" && $ch != "manifest:key-derivation") +## Do not create the any attribute and neither create the already added constructors of +#if ($ch != "*" && !($ch == "manifest:key-derivation" && "1.3" == ${xmlModel.getGrammarVersion()})) #set ($child = ${ch.withMultiples()}) #set ($cClassName = "${xmlModel.camelCase(${child.getLocalName()})}Element") #set ($cVar = ${xmlModel.javaCase(${child.getLocalName()})}) From 723a24a9db0a3dca0a7bb54020d4b3b4cb21cf5e Mon Sep 17 00:00:00 2001 From: Svante Schubert Date: Wed, 8 Feb 2023 16:28:09 +0100 Subject: [PATCH 11/15] Fixes #207 - Adding a parent Expression to PuzzlePiece to allow a context for attribute, which have different types depending on the element context --- .../schema2template/grammar/OdfModel.java | 5 +- .../schema2template/grammar/PuzzlePiece.java | 48 +- .../grammar/PuzzlePieceSet.java | 2 + .../schema2template/grammar/XMLModel.java | 39 +- .../grammar/GenerationOdfdomJavaTest.java | 4 +- .../template/java-odfdom-element-template.vm | 3 +- .../OdfReference.html | 12 +- .../OdfReference.html | 6 +- .../odf-schema-1.0/OdfReference.html | 1204 +++++++------- .../odf-schema-1.1/OdfReference.html | 930 +++++------ .../odf-schema-1.2/OdfReference.html | 1392 ++++++++--------- .../odf-schema-1.3/OdfReference.html | 1370 ++++++++-------- .../element/draw/DrawGluePointElement.java | 14 +- .../draw/DrawRegularPolygonElement.java | 14 +- .../dom/element/form/FormNumberElement.java | 56 +- .../TableCalculationSettingsElement.java | 16 +- .../table/TableDatabaseRangeElement.java | 14 +- .../dom/element/table/TableSortElement.java | 16 +- .../table/TableSubtotalRulesElement.java | 16 +- ...AlphabeticalIndexEntryTemplateElement.java | 14 +- .../element/draw/DrawGluePointElement.java | 14 +- .../draw/DrawRegularPolygonElement.java | 14 +- .../dom/element/form/FormNumberElement.java | 56 +- .../TableCalculationSettingsElement.java | 16 +- .../table/TableDatabaseRangeElement.java | 14 +- .../dom/element/table/TableSortElement.java | 16 +- .../table/TableSubtotalRulesElement.java | 16 +- ...AlphabeticalIndexEntryTemplateElement.java | 14 +- .../element/chart/ChartPlotAreaElement.java | 14 +- .../dom/element/dr3d/Dr3dSceneElement.java | 14 +- .../element/draw/DrawGluePointElement.java | 14 +- .../draw/DrawRegularPolygonElement.java | 14 +- .../dom/element/form/FormNumberElement.java | 56 +- .../element/form/FormValueRangeElement.java | 28 +- .../style/StyleSectionPropertiesElement.java | 14 +- .../TableCalculationSettingsElement.java | 16 +- .../table/TableDatabaseRangeElement.java | 14 +- .../dom/element/table/TableSortElement.java | 16 +- .../table/TableSubtotalRulesElement.java | 16 +- ...AlphabeticalIndexEntryTemplateElement.java | 14 +- .../element/chart/ChartPlotAreaElement.java | 14 +- .../dom/element/dr3d/Dr3dSceneElement.java | 14 +- .../element/draw/DrawGluePointElement.java | 14 +- .../draw/DrawRegularPolygonElement.java | 14 +- .../dom/element/form/FormNumberElement.java | 56 +- .../element/form/FormValueRangeElement.java | 28 +- .../style/StyleSectionPropertiesElement.java | 14 +- .../TableCalculationSettingsElement.java | 16 +- .../table/TableDatabaseRangeElement.java | 14 +- .../dom/element/table/TableSortElement.java | 16 +- .../table/TableSubtotalRulesElement.java | 16 +- ...AlphabeticalIndexEntryTemplateElement.java | 14 +- .../text/TextDatabaseRowNumberElement.java | 14 +- .../odfdom-python/odf-schema-1.0/hierarchy.py | 8 +- .../odfdom-python/odf-schema-1.1/hierarchy.py | 10 +- .../odfdom-python/odf-schema-1.2/hierarchy.py | 12 +- .../odfdom-python/odf-schema-1.3/hierarchy.py | 12 +- 57 files changed, 2949 insertions(+), 2902 deletions(-) diff --git a/generator/schema2template/src/main/java/schema2template/grammar/OdfModel.java b/generator/schema2template/src/main/java/schema2template/grammar/OdfModel.java index 1dad77f05d..03b12a3539 100644 --- a/generator/schema2template/src/main/java/schema2template/grammar/OdfModel.java +++ b/generator/schema2template/src/main/java/schema2template/grammar/OdfModel.java @@ -155,9 +155,6 @@ public SortedSet getStyleFamilies() { */ public String getDefaultAttributeValue(String attributeName, String parentElementName) { String defaultValue = null; - if (parentElementName.equals("table:table-cell") && attributeName.equals("table:protect")) { - System.err.println("YEAH!"); - } if (mAttributeDefaults == null || attributeName == null || attributeName.isBlank()) { return null; } else { @@ -165,6 +162,8 @@ public String getDefaultAttributeValue(String attributeName, String parentElemen if (defaultValueByElementParents == null) { return null; } + // Not for ODF, but need extension if there are two attributes (same name) + // with different defaults in same named parent? defaultValue = defaultValueByElementParents.get(parentElementName); if (defaultValue == null) { defaultValue = defaultValueByElementParents.get(ALL_ELEMENTS); diff --git a/generator/schema2template/src/main/java/schema2template/grammar/PuzzlePiece.java b/generator/schema2template/src/main/java/schema2template/grammar/PuzzlePiece.java index 98ccb95043..438396725f 100644 --- a/generator/schema2template/src/main/java/schema2template/grammar/PuzzlePiece.java +++ b/generator/schema2template/src/main/java/schema2template/grammar/PuzzlePiece.java @@ -71,6 +71,8 @@ public class PuzzlePiece implements Comparable, PuzzleComponent { private PuzzlePieceSet mMultiples = new PuzzlePieceSet(); // definitions of elements which can have this as children private PuzzlePieceSet mParents = new PuzzlePieceSet(); + private Expression mParentExpression = null; + // DEFINITION CONTENT // ns:local tagname private String mName; @@ -182,7 +184,7 @@ public boolean equals(Object b) { * a distinct Hash Code. */ public int hashCode() { - return (31 * mName.hashCode()) + mExpression.hashCode(); + return (mName.hashCode()) ^ mExpression.hashCode(); } /** @@ -355,6 +357,15 @@ public PuzzlePieceSet getParents() { return mParents; } + /** + * Gets the Parent Expression which can contain this PuzzlePiece as a child + * + * @return The parent expression + */ + public Expression getParent() { + return mParentExpression; + } + /** * Gets the child elements of this PuzzlePiece. Please note that only Definitions of type ELEMENT * can have child elements. @@ -550,7 +561,6 @@ private static void extractTypedPuzzlePieces( } } } - // Fills multiple information Iterator defIter = setToBeFilled.iterator(); while (defIter.hasNext()) { @@ -664,59 +674,59 @@ private static void addChildExpression( // Handle Element Definitions Iterator iter = elements.iterator(); while (iter.hasNext()) { - PuzzlePiece puzzlePiece = iter.next(); - MSVExpressionIterator childFinder = + PuzzlePiece ppElement = iter.next(); + MSVExpressionIterator childIterator = new MSVExpressionIterator( - puzzlePiece.getExpression(), + ppElement.getExpression(), NameClassAndExpression.class, MSVExpressionIterator.DIRECT_CHILDREN_ONLY); - while (childFinder.hasNext()) { - Expression child_exp = childFinder.next(); + while (childIterator.hasNext()) { + Expression child_exp = childIterator.next(); List child_defs = null; PuzzlePieceSet whereToAdd = null; if (child_exp instanceof ElementExp) { child_defs = reverseElementMap.get(child_exp); - whereToAdd = puzzlePiece.mChildElements; + whereToAdd = ppElement.mChildElements; } else if (child_exp instanceof AttributeExp) { child_defs = reverseAttributeMap.get(child_exp); - whereToAdd = puzzlePiece.mAttributes; + whereToAdd = ppElement.mAttributes; } if (child_defs != null) { whereToAdd.addAll(child_defs); for (PuzzlePiece child_def : child_defs) { - child_def.mParents.add(puzzlePiece); + child_def.mParents.add(ppElement); } } } if (graphMLTargetDir != null) { TinkerPopGraph tinkerPopGraph = - new TinkerPopGraph(puzzlePiece.getExpression(), schemaFileName); + new TinkerPopGraph(ppElement.getExpression(), schemaFileName); File f = new File(graphMLTargetDir); f.mkdirs(); tinkerPopGraph.exportAsGraphML(f.getAbsolutePath()); } MSVExpressionInformation elementInfo = - new MSVExpressionInformation(puzzlePiece.getExpression(), schemaFileName); - puzzlePiece.mCanHaveText = elementInfo.canHaveText(); + new MSVExpressionInformation(ppElement.getExpression(), schemaFileName); + ppElement.mCanHaveText = elementInfo.canHaveText(); - Map> atnameToDefs = buildNameExpressionsMap(puzzlePiece.mAttributes); + Map> atnameToDefs = buildNameExpressionsMap(ppElement.mAttributes); for (String name : atnameToDefs.keySet()) { if (elementInfo.isMandatory(atnameToDefs.get(name))) { - puzzlePiece.mMandatoryChildAttributeNames.add(name); + ppElement.mMandatoryChildAttributeNames.add(name); } } Map> elnameToDefs = - buildNameExpressionsMap(puzzlePiece.mChildElements); + buildNameExpressionsMap(ppElement.mChildElements); for (String name : elnameToDefs.keySet()) { if (elementInfo.isMandatory(elnameToDefs.get(name))) { - puzzlePiece.mMandatoryChildElementNames.add(name); + ppElement.mMandatoryChildElementNames.add(name); } } - puzzlePiece.mSingletonChildExpressions = elementInfo.getSingletons(); - puzzlePiece.mMultipleChildExpressions = elementInfo.getMultiples(); + ppElement.mSingletonChildExpressions = elementInfo.getSingletons(); + ppElement.mMultipleChildExpressions = elementInfo.getMultiples(); } // Handle Attribute Definitions diff --git a/generator/schema2template/src/main/java/schema2template/grammar/PuzzlePieceSet.java b/generator/schema2template/src/main/java/schema2template/grammar/PuzzlePieceSet.java index a8ab77faff..2d7d1067a5 100644 --- a/generator/schema2template/src/main/java/schema2template/grammar/PuzzlePieceSet.java +++ b/generator/schema2template/src/main/java/schema2template/grammar/PuzzlePieceSet.java @@ -91,10 +91,12 @@ private void assertMultiples(String plannedAction) { } } + @Override public boolean equals(Object o) { return (o instanceof PuzzlePieceSet && ((PuzzlePieceSet) o).mDefinitions.equals(mDefinitions)); } + @Override public int hashCode() { return mDefinitions.hashCode(); } diff --git a/generator/schema2template/src/main/java/schema2template/grammar/XMLModel.java b/generator/schema2template/src/main/java/schema2template/grammar/XMLModel.java index 346e76e8ce..0aed7f19a7 100644 --- a/generator/schema2template/src/main/java/schema2template/grammar/XMLModel.java +++ b/generator/schema2template/src/main/java/schema2template/grammar/XMLModel.java @@ -25,12 +25,15 @@ import com.sun.msv.grammar.Expression; import com.sun.msv.grammar.Grammar; +import com.sun.msv.grammar.NameClassAndExpression; import com.sun.msv.reader.trex.ng.RELAXNGReader; import com.sun.msv.reader.xmlschema.XMLSchemaReader; import com.sun.msv.writer.relaxng.RELAXNGWriter; import java.io.File; import java.util.Collection; import java.util.HashMap; +import java.util.Iterator; +import java.util.List; import java.util.Map; import java.util.Set; import java.util.SortedSet; @@ -42,6 +45,7 @@ import org.apache.xml.serialize.OutputFormat; import org.apache.xml.serialize.XMLSerializer; import org.xml.sax.SAXException; +import static schema2template.grammar.PuzzlePiece.NAME_VISITOR; /** * The most important model, the first access to the XML Schema information. @@ -294,17 +298,46 @@ public PuzzlePiece getElement(String name, int hashCode) { * Get attribute by tag name. If there are multiple attributes sharing the same tag name, a * PuzzlePieceSet is returned. If not, a single PuzzlePiece is returned. * - * @param name + * @param qName * @return Attribute PuzzlePiece(s) */ - public PuzzleComponent getAttribute(String name) { - PuzzlePiece attribute = mNameAttributeMap.get(name); + public PuzzleComponent getAttribute(String qName) { + PuzzlePiece attribute = mNameAttributeMap.get(qName); if (attribute == null) { return null; } return attribute.withMultiples(); } + /** + * Get attribute by tag name. If there are multiple attributes sharing the same tag name, a + * PuzzlePieceSet is returned. If not, a single PuzzlePiece is returned. + * + * @param qName + * @param qParentName + * @return Attribute PuzzlePiece(s) + */ + public PuzzlePiece getAttribute(String qName, String qParentName) { + PuzzlePiece attributes = mNameAttributeMap.get(qName); + PuzzlePiece attribute = null; + if (attributes == null) { + return null; + }else { + for (PuzzlePiece ppAttribute : attributes.withMultiples().getCollection()) { + // If there is more than one name for this expression, create more than one PuzzlePiece + for (PuzzlePiece ppElement : ppAttribute.getParents().getCollection()) { + List names = + (List) ((NameClassAndExpression) ppElement.getExpression()).getNameClass().visit(NAME_VISITOR); + if(names != null && names.contains(qParentName)){ + attribute = ppAttribute; + break; + } + } + } + } + return attribute; + } + /** * Get attribute by tag name and hash code. The hash code distincts Attributes sharing the same * tag name. diff --git a/generator/schema2template/src/test/java/schema2template/grammar/GenerationOdfdomJavaTest.java b/generator/schema2template/src/test/java/schema2template/grammar/GenerationOdfdomJavaTest.java index a1c594e066..6af9c9d7e1 100644 --- a/generator/schema2template/src/test/java/schema2template/grammar/GenerationOdfdomJavaTest.java +++ b/generator/schema2template/src/test/java/schema2template/grammar/GenerationOdfdomJavaTest.java @@ -22,10 +22,13 @@ package schema2template.grammar; import java.io.File; +import java.io.IOException; import java.util.ArrayList; import java.util.logging.Logger; +import javax.xml.parsers.ParserConfigurationException; import org.junit.Assert; import org.junit.Test; +import org.xml.sax.SAXException; import schema2template.GenerationParameters; import schema2template.SchemaToTemplate; @@ -154,7 +157,6 @@ public void testAllExampleGenerations() { SchemaToTemplate.run(generations); } catch (Exception e) { Assert.fail("Exception during test run: " + e.toString()); - e.printStackTrace(); throw new RuntimeException(e); } DirectoryCompare.compareDirectories( diff --git a/generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/template/java-odfdom-element-template.vm b/generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/template/java-odfdom-element-template.vm index 5000ac7975..8dd7291b3b 100644 --- a/generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/template/java-odfdom-element-template.vm +++ b/generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/template/java-odfdom-element-template.vm @@ -274,7 +274,8 @@ public ${abstract}class $className extends $superClassName { ## --------------------------------------------------- ## #foreach ($attr in $remainingAttributes) -#set($attri = ${xmlModel.getAttribute($attr.getQName())}) +## receiving the attribute that has this element as parent (@text:value has different types dependent on parent element) +#set($attri = ${xmlModel.getAttribute($attr.getQName(), $element.getQName())}) #set ($valueObject = "String") #set ($simpleValue = "") #set ($dataTypes = ${attri.getDatatypes().withoutMultiples()}) diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odf-reference/odf-package-manifest-1.2/OdfReference.html b/generator/schema2template/src/test/resources/test-reference/odf/generation/odf-reference/odf-package-manifest-1.2/OdfReference.html index 99f53d5634..a4e002e539 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odf-reference/odf-package-manifest-1.2/OdfReference.html +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odf-reference/odf-package-manifest-1.2/OdfReference.html @@ -95,7 +95,7 @@

    manifest:file-entry Element

    manifest:media-type  manifest:preferred-view-mode  manifest:size  - manifest:version[1]  + manifest:version[2]    @@ -142,7 +142,7 @@

    manifest:manifest Element

    Attributes - manifest:version[2]  + manifest:version[1]    @@ -463,18 +463,18 @@

    manifest:version[1] Attribute&nbs Parent Elements - manifest:file-entry  + manifest:manifest    Datatypes - string    Values + "1.2"    @@ -485,18 +485,18 @@

    manifest:version[2] Attribute&nbs Parent Elements - manifest:manifest  + manifest:file-entry    Datatypes + string    Values - "1.2"    diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odf-reference/odf-package-manifest-1.3/OdfReference.html b/generator/schema2template/src/test/resources/test-reference/odf/generation/odf-reference/odf-package-manifest-1.3/OdfReference.html index 6d70021b05..01772ad0df 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odf-reference/odf-package-manifest-1.3/OdfReference.html +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odf-reference/odf-package-manifest-1.3/OdfReference.html @@ -515,12 +515,13 @@

    manifest:key-derivation-n Datatypes + anyURI    Values - "PGP"  + "PBKDF2"    @@ -537,13 +538,12 @@

    manifest:key-derivation-n Datatypes - anyURI    Values - "PBKDF2"  + "PGP"    diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odf-reference/odf-schema-1.0/OdfReference.html b/generator/schema2template/src/test/resources/test-reference/odf/generation/odf-reference/odf-schema-1.0/OdfReference.html index 7d214dce9c..7052a3a416 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odf-reference/odf-schema-1.0/OdfReference.html +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odf-reference/odf-schema-1.0/OdfReference.html @@ -563,7 +563,7 @@

    chart:chart Element

    Attributes - chart:class[1]  + chart:class[2]  chart:column-mapping  chart:row-mapping  chart:style-name  @@ -687,8 +687,8 @@

    chart:footer Element

    Attributes chart:style-name  - svg:x[2]  - svg:y[2]  + svg:x[1]  + svg:y[1]  table:cell-range    @@ -712,7 +712,7 @@

    chart:grid Element

    Attributes - chart:class[2]  + chart:class[1]  chart:style-name    @@ -742,8 +742,8 @@

    chart:legend Element

    style:legend-expansion[1]  style:legend-expansion[2]  style:legend-expansion-aspect-ratio  - svg:x[2]  - svg:y[2]  + svg:x[1]  + svg:y[1]    @@ -802,8 +802,8 @@

    chart:plot-area Element

    dr3d:vup  svg:height[1]  svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:x[1]  + svg:y[1]  table:cell-range-address    @@ -857,7 +857,7 @@

    chart:series Element

    Attributes chart:attached-axis  - chart:class[1]  + chart:class[2]  chart:label-cell-address  chart:style-name  chart:values-cell-range-address  @@ -954,8 +954,8 @@

    chart:subtitle Element

    Attributes chart:style-name  - svg:x[2]  - svg:y[2]  + svg:x[1]  + svg:y[1]  table:cell-range    @@ -981,8 +981,8 @@

    chart:title Element

    Attributes chart:style-name  - svg:x[2]  - svg:y[2]  + svg:x[1]  + svg:y[1]  table:cell-range    @@ -1360,8 +1360,8 @@

    dr3d:scene Element

    presentation:style-name  svg:height[1]  svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:x[1]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -1442,9 +1442,9 @@

    draw:a Element

    office:name  office:server-map  office:target-frame-name  - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  - xlink:show[1]  + xlink:show[2]  xlink:type    @@ -1472,9 +1472,9 @@

    draw:applet Element

    draw:code  draw:may-script  draw:object  - xlink:actuate[2]  + xlink:actuate[1]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type    @@ -1501,11 +1501,11 @@

    draw:area-circle Element

    draw:nohref  office:name  office:target-frame-name  - svg:cx[1]  - svg:cy[1]  + svg:cx[2]  + svg:cy[2]  svg:r[1]  xlink:href  - xlink:show[1]  + xlink:show[2]  xlink:type    @@ -1537,10 +1537,10 @@

    draw:area-polygon Element

    svg:height[1]  svg:viewBox  svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:x[1]  + svg:y[1]  xlink:href  - xlink:show[1]  + xlink:show[2]  xlink:type    @@ -1570,10 +1570,10 @@

    draw:area-rectangle Element

    office:target-frame-name  svg:height[1]  svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:x[1]  + svg:y[1]  xlink:href  - xlink:show[1]  + xlink:show[2]  xlink:type    @@ -1623,7 +1623,7 @@

    draw:caption Element

    draw:corner-radius  draw:id[1]  draw:layer  - draw:name[3]  + draw:name[1]  draw:style-name  draw:text-style-name  draw:transform  @@ -1632,8 +1632,8 @@

    draw:caption Element

    presentation:style-name  svg:height[1]  svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:x[1]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -1689,7 +1689,7 @@

    draw:circle Element

    draw:id[1]  draw:kind  draw:layer  - draw:name[3]  + draw:name[1]  draw:start-angle  draw:style-name  draw:text-style-name  @@ -1697,13 +1697,13 @@

    draw:circle Element

    draw:z-index  presentation:class-names  presentation:style-name  - svg:cx[1]  - svg:cy[1]  + svg:cx[2]  + svg:cy[2]  svg:height[1]  svg:r[1]  svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:x[1]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -1760,18 +1760,18 @@

    draw:connector Element

    draw:id[1]  draw:layer  draw:line-skew  - draw:name[3]  + draw:name[1]  draw:start-glue-point  draw:start-shape  draw:style-name  draw:text-style-name  draw:transform  - draw:type[1]  + draw:type[2]  draw:z-index  presentation:class-names  presentation:style-name  - svg:x1[1]  - svg:x2[2]  + svg:x1[2]  + svg:x2[1]  svg:y1[2]  svg:y2[2]  table:end-cell-address  @@ -1880,7 +1880,7 @@

    draw:control Element

    draw:control  draw:id[1]  draw:layer  - draw:name[3]  + draw:name[1]  draw:style-name  draw:text-style-name  draw:transform  @@ -1889,8 +1889,8 @@

    draw:control Element

    presentation:style-name  svg:height[1]  svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:x[1]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -1943,7 +1943,7 @@

    draw:custom-shape Element

    draw:engine  draw:id[1]  draw:layer  - draw:name[3]  + draw:name[1]  draw:style-name  draw:text-style-name  draw:transform  @@ -1952,8 +1952,8 @@

    draw:custom-shape Element

    presentation:style-name  svg:height[1]  svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:x[1]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -2010,7 +2010,7 @@

    draw:ellipse Element

    draw:id[1]  draw:kind  draw:layer  - draw:name[3]  + draw:name[1]  draw:start-angle  draw:style-name  draw:text-style-name  @@ -2018,14 +2018,14 @@

    draw:ellipse Element

    draw:z-index  presentation:class-names  presentation:style-name  - svg:cx[1]  - svg:cy[1]  + svg:cx[2]  + svg:cy[2]  svg:height[1]  svg:rx  svg:ry  svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:x[1]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -2098,7 +2098,7 @@

    draw:enhanced-geometry Elementdraw:text-path-same-letter-heights  draw:text-path-scale  draw:text-rotate-angle  - draw:type[2]  + draw:type[1]  svg:viewBox    @@ -2124,7 +2124,7 @@

    draw:equation Element

    Attributes draw:formula  - draw:name[3]  + draw:name[1]    @@ -2147,12 +2147,12 @@

    draw:fill-image Element

    Attributes draw:display-name  - draw:name[1]  + draw:name[2]  svg:height[1]  svg:width[1]  - xlink:actuate[2]  + xlink:actuate[1]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type    @@ -2176,9 +2176,9 @@

    draw:floating-frame Element

    Attributes draw:frame-name  - xlink:actuate[2]  + xlink:actuate[1]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type    @@ -2226,7 +2226,7 @@

    draw:frame Element

    draw:copy-of  draw:id[1]  draw:layer  - draw:name[3]  + draw:name[1]  draw:style-name  draw:text-style-name  draw:transform  @@ -2240,8 +2240,8 @@

    draw:frame Element

    style:rel-width  svg:height[1]  svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:x[1]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -2303,12 +2303,12 @@

    draw:g Element

    draw:class-names  draw:id[1]  - draw:name[3]  + draw:name[1]  draw:style-name  draw:z-index  presentation:class-names  presentation:style-name  - svg:y[2]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -2371,8 +2371,8 @@

    draw:glue-point Element

    draw:align  draw:id[2]  - svg:x[1]  - svg:y[1]  + svg:x[2]  + svg:y[2]    @@ -2401,10 +2401,10 @@

    draw:gradient Element

    draw:display-name  draw:end-color  draw:end-intensity  - draw:name[1]  + draw:name[2]  draw:start-color  draw:start-intensity  - draw:style[3]  + draw:style[2]    @@ -2461,9 +2461,9 @@

    draw:hatch Element

    draw:color  draw:display-name  draw:distance  - draw:name[1]  + draw:name[2]  draw:rotation  - draw:style[2]  + draw:style[1]    @@ -2486,9 +2486,9 @@

    draw:image Element

    Attributes draw:filter-name  - xlink:actuate[2]  + xlink:actuate[1]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type    @@ -2539,7 +2539,7 @@

    draw:layer Element

    Attributes draw:display  - draw:name[3]  + draw:name[1]  draw:protected    @@ -2606,15 +2606,15 @@

    draw:line Element

    draw:class-names  draw:id[1]  draw:layer  - draw:name[3]  + draw:name[1]  draw:style-name  draw:text-style-name  draw:transform  draw:z-index  presentation:class-names  presentation:style-name  - svg:x1[1]  - svg:x2[2]  + svg:x1[2]  + svg:x2[1]  svg:y1[2]  svg:y2[2]  table:end-cell-address  @@ -2649,7 +2649,7 @@

    draw:marker Element

    Attributes draw:display-name  - draw:name[1]  + draw:name[2]  svg:d  svg:viewBox    @@ -2695,15 +2695,15 @@

    draw:measure Element

    draw:class-names  draw:id[1]  draw:layer  - draw:name[3]  + draw:name[1]  draw:style-name  draw:text-style-name  draw:transform  draw:z-index  presentation:class-names  presentation:style-name  - svg:x1[1]  - svg:x2[2]  + svg:x1[2]  + svg:x2[1]  svg:y1[2]  svg:y2[2]  table:end-cell-address  @@ -2738,9 +2738,9 @@

    draw:object Element

    Attributes draw:notify-on-update-of-ranges  - xlink:actuate[2]  + xlink:actuate[1]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type    @@ -2766,9 +2766,9 @@

    draw:object-ole Element

    Attributes draw:class-id  - xlink:actuate[2]  + xlink:actuate[1]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type    @@ -2798,9 +2798,9 @@

    draw:opacity Element

    draw:cy  draw:display-name  draw:end  - draw:name[1]  + draw:name[2]  draw:start  - draw:style[3]  + draw:style[2]    @@ -2825,7 +2825,7 @@

    draw:page Element

    draw:id[1]  draw:master-page-name  - draw:name[3]  + draw:name[1]  draw:style-name  presentation:presentation-page-layout-name  presentation:use-date-time-name  @@ -2905,7 +2905,7 @@

    draw:page-thumbnail Element

    draw:class-names  draw:id[1]  draw:layer  - draw:name[3]  + draw:name[1]  draw:page-number  draw:style-name  draw:transform  @@ -2917,8 +2917,8 @@

    draw:page-thumbnail Element

    presentation:user-transformed  svg:height[1]  svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:x[1]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -2947,7 +2947,7 @@

    draw:param Element

    Attributes - draw:name[2]  + draw:name[3]  draw:value    @@ -2992,7 +2992,7 @@

    draw:path Element

    draw:class-names  draw:id[1]  draw:layer  - draw:name[3]  + draw:name[1]  draw:style-name  draw:text-style-name  draw:transform  @@ -3003,8 +3003,8 @@

    draw:path Element

    svg:height[1]  svg:viewBox  svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:x[1]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -3037,9 +3037,9 @@

    draw:plugin Element

    Attributes draw:mime-type  - xlink:actuate[2]  + xlink:actuate[1]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type    @@ -3085,7 +3085,7 @@

    draw:polygon Element

    draw:class-names  draw:id[1]  draw:layer  - draw:name[3]  + draw:name[1]  draw:points  draw:style-name  draw:text-style-name  @@ -3096,8 +3096,8 @@

    draw:polygon Element

    svg:height[1]  svg:viewBox  svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:x[1]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -3151,7 +3151,7 @@

    draw:polyline Element

    draw:class-names  draw:id[1]  draw:layer  - draw:name[3]  + draw:name[1]  draw:points  draw:style-name  draw:text-style-name  @@ -3162,8 +3162,8 @@

    draw:polyline Element

    svg:height[1]  svg:viewBox  svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:x[1]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -3218,7 +3218,7 @@

    draw:rect Element

    draw:corner-radius  draw:id[1]  draw:layer  - draw:name[3]  + draw:name[1]  draw:style-name  draw:text-style-name  draw:transform  @@ -3227,8 +3227,8 @@

    draw:rect Element

    presentation:style-name  svg:height[1]  svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:x[1]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -3285,7 +3285,7 @@

    draw:regular-polygon Elementdraw:corners  draw:id[1]  draw:layer  - draw:name[3]  + draw:name[1]  draw:sharpness  draw:style-name  draw:text-style-name  @@ -3295,8 +3295,8 @@

    draw:regular-polygon Elementpresentation:style-name  svg:height[1]  svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:x[1]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -3334,8 +3334,8 @@

    draw:stroke-dash Element

    draw:dots1-length  draw:dots2  draw:dots2-length  - draw:name[1]  - draw:style[1]  + draw:name[2]  + draw:style[3]    @@ -3435,7 +3435,7 @@

    form:button Element

    form:tab-stop  form:title  form:toggle  - form:value[2]  + form:value[4]  form:xforms-submission  office:target-frame  xforms:bind  @@ -3480,7 +3480,7 @@

    form:checkbox Element

    form:tab-index  form:tab-stop  form:title  - form:value[2]  + form:value[4]  form:visual-effect  xforms:bind    @@ -3543,7 +3543,7 @@

    form:combobox Element

    form:auto-complete  form:control-implementation  form:convert-empty-to-null  - form:current-value[4]  + form:current-value[3]  form:data-field  form:disabled  form:dropdown  @@ -3558,7 +3558,7 @@

    form:combobox Element

    form:tab-index  form:tab-stop  form:title  - form:value[2]  + form:value[4]  xforms:bind    @@ -3614,13 +3614,13 @@

    form:date Element

    form:control-implementation  form:convert-empty-to-null  - form:current-value[1]  + form:current-value[4]  form:data-field  form:disabled  form:id  form:max-length  - form:max-value[4]  - form:min-value[2]  + form:max-value[3]  + form:min-value[3]  form:name  form:printable  form:readonly  @@ -3653,7 +3653,7 @@

    form:file Element

    Attributes form:control-implementation  - form:current-value[4]  + form:current-value[3]  form:disabled  form:id  form:max-length  @@ -3663,7 +3663,7 @@

    form:file Element

    form:tab-index  form:tab-stop  form:title  - form:value[2]  + form:value[4]  xforms:bind    @@ -3742,7 +3742,7 @@

    form:form Element

    form:order  form:tab-cycle  office:target-frame  - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  xlink:type    @@ -3794,13 +3794,13 @@

    form:formatted-text Element

    form:control-implementation  form:convert-empty-to-null  - form:current-value[4]  + form:current-value[3]  form:data-field  form:disabled  form:id  form:max-length  - form:max-value[2]  - form:min-value[3]  + form:max-value[1]  + form:min-value[2]  form:name  form:printable  form:readonly  @@ -3808,7 +3808,7 @@

    form:formatted-text Element

    form:tab-stop  form:title  form:validation  - form:value[2]  + form:value[4]  xforms:bind    @@ -3928,7 +3928,7 @@

    form:hidden Element

    form:control-implementation  form:id  form:name  - form:value[2]  + form:value[4]  xforms:bind    @@ -3963,7 +3963,7 @@

    form:image Element

    form:tab-index  form:tab-stop  form:title  - form:value[2]  + form:value[4]  office:target-frame  xforms:bind  xlink:href  @@ -4049,12 +4049,12 @@

    form:list-property Element

    form:property-name  office:value-type[1]  office:value-type[2]  - office:value-type[3]  office:value-type[4]  office:value-type[5]  office:value-type[6]  office:value-type[7]  office:value-type[8]  + office:value-type[9]    @@ -4084,7 +4084,7 @@

    form:list-value[1] Element

    Attributes - office:value  + office:time-value    @@ -4131,7 +4131,7 @@

    form:list-value[3] Element

    Attributes - office:time-value  + office:value    @@ -4154,7 +4154,7 @@

    form:list-value[4] Element

    Attributes - office:string-value  + office:date-value    @@ -4177,7 +4177,7 @@

    form:list-value[5] Element

    Attributes - office:value  + office:boolean-value    @@ -4200,7 +4200,7 @@

    form:list-value[6] Element

    Attributes - office:boolean-value  + office:value    @@ -4223,7 +4223,7 @@

    form:list-value[7] Element

    Attributes - office:date-value  + office:string-value    @@ -4290,12 +4290,12 @@

    form:number Element

    form:control-implementation  form:convert-empty-to-null  - form:current-value[3]  + form:current-value[1]  form:data-field  form:disabled  form:id  form:max-length  - form:max-value[3]  + form:max-value[2]  form:min-value[1]  form:name  form:printable  @@ -4303,7 +4303,7 @@

    form:number Element

    form:tab-index  form:tab-stop  form:title  - form:value[4]  + form:value[3]  xforms:bind    @@ -4332,7 +4332,7 @@

    form:option Element

    form:current-selected  form:label  form:selected  - form:value[2]  + form:value[4]    @@ -4365,7 +4365,7 @@

    form:password Element

    form:tab-index  form:tab-stop  form:title  - form:value[2]  + form:value[4]  xforms:bind    @@ -4443,12 +4443,12 @@

    form:property Element

    office:value  office:value-type[1]  office:value-type[2]  - office:value-type[3]  office:value-type[4]  office:value-type[5]  office:value-type[6]  office:value-type[7]  office:value-type[8]  + office:value-type[9]    @@ -4485,7 +4485,7 @@

    form:radio Element

    form:tab-index  form:tab-stop  form:title  - form:value[2]  + form:value[4]  form:visual-effect  xforms:bind    @@ -4514,7 +4514,7 @@

    form:text Element

    form:control-implementation  form:convert-empty-to-null  - form:current-value[4]  + form:current-value[3]  form:data-field  form:disabled  form:id  @@ -4525,7 +4525,7 @@

    form:text Element

    form:tab-index  form:tab-stop  form:title  - form:value[2]  + form:value[4]  xforms:bind    @@ -4553,7 +4553,7 @@

    form:textarea Element

    form:control-implementation  form:convert-empty-to-null  - form:current-value[4]  + form:current-value[3]  form:data-field  form:disabled  form:id  @@ -4564,7 +4564,7 @@

    form:textarea Element

    form:tab-index  form:tab-stop  form:title  - form:value[2]  + form:value[4]  xforms:bind    @@ -4597,7 +4597,7 @@

    form:time Element

    form:disabled  form:id  form:max-length  - form:max-value[1]  + form:max-value[4]  form:min-value[4]  form:name  form:printable  @@ -4605,7 +4605,7 @@

    form:time Element

    form:tab-index  form:tab-stop  form:title  - form:value[3]  + form:value[2]  xforms:bind    @@ -4634,8 +4634,8 @@

    form:value-range Element

    form:delay-for-repeat  form:disabled  form:id  - form:max-value[2]  - form:min-value[3]  + form:max-value[1]  + form:min-value[2]  form:name  form:orientation  form:page-step-size  @@ -4644,7 +4644,7 @@

    form:value-range Element

    form:tab-index  form:tab-stop  form:title  - form:value[2]  + form:value[4]  xforms:bind    @@ -4765,7 +4765,7 @@

    number:boolean-style Elementnumber:transliteration-format  number:transliteration-language  number:transliteration-style  - style:name[1]  + style:name[2]  style:volatile    @@ -4801,7 +4801,7 @@

    number:currency-style Element< number:transliteration-format  number:transliteration-language  number:transliteration-style  - style:name[1]  + style:name[2]  style:volatile    @@ -4863,7 +4863,7 @@

    number:date-style Element

    number:transliteration-format  number:transliteration-language  number:transliteration-style  - style:name[1]  + style:name[2]  style:volatile    @@ -5126,7 +5126,7 @@

    number:number-style Element

    number:transliteration-format  number:transliteration-language  number:transliteration-style  - style:name[1]  + style:name[2]  style:volatile    @@ -5163,7 +5163,7 @@

    number:percentage-style Element< number:transliteration-format  number:transliteration-language  number:transliteration-style  - style:name[1]  + style:name[2]  style:volatile    @@ -5319,7 +5319,7 @@

    number:text-style Element

    number:transliteration-format  number:transliteration-language  number:transliteration-style  - style:name[1]  + style:name[2]  style:volatile    @@ -5356,7 +5356,7 @@

    number:time-style Element

    number:transliteration-language  number:transliteration-style  number:truncate-on-overflow  - style:name[1]  + style:name[2]  style:volatile    @@ -5443,7 +5443,7 @@

    office:annotation Element

    draw:corner-radius  draw:id[1]  draw:layer  - draw:name[3]  + draw:name[1]  draw:style-name  draw:text-style-name  draw:transform  @@ -5453,8 +5453,8 @@

    office:annotation Element

    presentation:style-name  svg:height[1]  svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:x[1]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -6121,7 +6121,7 @@

    office:spreadsheet Element

    Attributes - table:protection-key[1]  + table:protection-key[2]  table:structure-protected    @@ -6413,9 +6413,9 @@

    presentation:event-listener presentation:start-scale  presentation:verb  script:event-name  - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type    @@ -6642,8 +6642,8 @@

    presentation:placeholder Elemen presentation:object  svg:height[2]  svg:width[2]  - svg:x[1]  - svg:y[1]  + svg:x[2]  + svg:y[2]    @@ -6813,9 +6813,9 @@

    presentation:sound Element

    Attributes presentation:play-full  - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  - xlink:show[1]  + xlink:show[2]  xlink:type    @@ -6841,7 +6841,7 @@

    script:event-listener Element< script:event-name  script:language  script:macro-name  - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  xlink:type    @@ -6960,7 +6960,7 @@

    style:font-face Element

    style:font-charset  style:font-family-generic  style:font-pitch  - style:name[2]  + style:name[1]  svg:accent-height  svg:alphabetic  svg:ascent  @@ -7396,7 +7396,7 @@

    style:master-page Element

    draw:style-name  style:display-name  - style:name[1]  + style:name[2]  style:next-style-name  style:page-layout-name    @@ -7444,7 +7444,7 @@

    style:page-layout Element

    Attributes - style:name[1]  + style:name[2]  style:page-usage    @@ -7518,7 +7518,7 @@

    style:presentation-page-l Attributes style:display-name  - style:name[1]  + style:name[2]    @@ -7684,7 +7684,7 @@

    style:style Element

    style:family[11]  style:list-style-name  style:master-page-name  - style:name[1]  + style:name[2]  style:next-style-name  style:parent-style-name    @@ -7850,7 +7850,7 @@

    svg:definition-src Element

    Attributes - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  xlink:type    @@ -7966,7 +7966,7 @@

    svg:font-face-uri Element

    Attributes - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  xlink:type    @@ -7992,12 +7992,12 @@

    svg:linearGradient Element

    Attributes draw:display-name  - draw:name[1]  + draw:name[2]  svg:gradientTransform  svg:gradientUnits  svg:spreadMethod  - svg:x1[2]  - svg:x2[1]  + svg:x1[1]  + svg:x2[2]  svg:y1[1]  svg:y2[1]    @@ -8023,9 +8023,9 @@

    svg:radialGradient Element

    Attributes draw:display-name  - draw:name[1]  - svg:cx[2]  - svg:cy[2]  + draw:name[2]  + svg:cx[1]  + svg:cy[1]  svg:fx  svg:fy  svg:gradientTransform  @@ -8084,7 +8084,7 @@

    table:calculation-settings El Attributes table:automatic-find-labels  - table:case-sensitive[2]  + table:case-sensitive[1]  table:null-year  table:precision-as-shown  table:search-criteria-must-apply-to-whole-cell  @@ -8196,8 +8196,8 @@

    table:cell-range-source Element< table:last-column-spanned  table:last-row-spanned  table:name[1]  - table:refresh-delay[2]  - xlink:actuate[1]  + table:refresh-delay[1]  + xlink:actuate[2]  xlink:href  xlink:type    @@ -8250,13 +8250,13 @@

    table:change-track-table-c office:string-value  office:time-value  office:value  + office:value-type[1]  office:value-type[2]  - office:value-type[3]  office:value-type[4]  office:value-type[5]  - office:value-type[6]  office:value-type[7]  office:value-type[8]  + office:value-type[9]  table:cell-address  table:formula  table:matrix-covered  @@ -8376,13 +8376,13 @@

    table:covered-table-cell Elemen office:string-value  office:time-value  office:value  + office:value-type[1]  office:value-type[2]  - office:value-type[3]  office:value-type[4]  office:value-type[5]  - office:value-type[6]  office:value-type[7]  office:value-type[8]  + office:value-type[9]  table:content-validation-name  table:formula  table:number-columns-repeated  @@ -8529,7 +8529,7 @@

    table:data-pilot-field- table:member-name  table:member-type[1]  table:member-type[2]  - table:type[1]  + table:type[2]    @@ -8860,7 +8860,7 @@

    table:database-range Elementtable:on-update-keep-size  table:on-update-keep-styles  table:orientation[2]  - table:refresh-delay[1]  + table:refresh-delay[2]  table:target-range-address    @@ -9043,7 +9043,7 @@

    table:deletion Element

    table:position  table:rejecting-change-id  table:table  - table:type[2]  + table:type[1]    @@ -9268,8 +9268,8 @@

    table:filter-condition Element Attributes - table:case-sensitive[1]  - table:data-type[2]  + table:case-sensitive[2]  + table:data-type[1]  table:field-number  table:operator  table:value  @@ -9373,7 +9373,7 @@

    table:insertion Element

    table:position  table:rejecting-change-id  table:table  - table:type[2]  + table:type[1]    @@ -9763,7 +9763,7 @@

    table:sort Element

    table:algorithm  table:bind-styles-to-content  - table:case-sensitive[2]  + table:case-sensitive[1]  table:country  table:language  table:target-range-address  @@ -9789,7 +9789,7 @@

    table:sort-by Element

    Attributes - table:data-type[1]  + table:data-type[2]  table:field-number  table:order    @@ -9813,7 +9813,7 @@

    table:sort-groups Element

    Attributes - table:data-type[1]  + table:data-type[2]  table:order    @@ -9962,7 +9962,7 @@

    table:subtotal-rules ElementAttributes table:bind-styles-to-content  - table:case-sensitive[2]  + table:case-sensitive[1]  table:page-breaks-on-group-change    @@ -10007,7 +10007,7 @@

    table:table Element

    table:print  table:print-ranges  table:protected  - table:protection-key[2]  + table:protection-key[1]  table:style-name    @@ -10049,13 +10049,13 @@

    table:table-cell Element

    office:string-value  office:time-value  office:value  + office:value-type[1]  office:value-type[2]  - office:value-type[3]  office:value-type[4]  office:value-type[5]  - office:value-type[6]  office:value-type[7]  office:value-type[8]  + office:value-type[9]  table:content-validation-name  table:formula  table:number-columns-repeated  @@ -10330,9 +10330,9 @@

    table:table-source Element

    table:filter-name  table:filter-options  table:mode  - table:refresh-delay[2]  + table:refresh-delay[1]  table:table-name  - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  xlink:type    @@ -10421,9 +10421,9 @@

    text:a Element

    office:target-frame-name  text:style-name  text:visited-style-name  - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  - xlink:show[1]  + xlink:show[2]  xlink:type    @@ -10641,7 +10641,7 @@

    text:alphabetical Attributes - text:outline-level[2]  + text:outline-level[3]  text:style-name    @@ -11279,7 +11279,7 @@

    text:chapter Element

    Attributes text:display[8]  - text:outline-level[3]  + text:outline-level[1]    @@ -11893,13 +11893,13 @@

    text:expression Element

    office:string-value  office:time-value  office:value  + office:value-type[1]  office:value-type[2]  - office:value-type[3]  office:value-type[4]  office:value-type[5]  - office:value-type[6]  office:value-type[7]  office:value-type[8]  + office:value-type[9]  style:data-style-name  text:display[2]  text:formula  @@ -11929,7 +11929,7 @@

    text:file-name Element

    Attributes - text:display[5]  + text:display[6]  text:fixed    @@ -11994,9 +11994,9 @@

    text:h Element

    text:cond-style-name  text:id[1]  text:is-list-header  - text:outline-level[1]  + text:outline-level[2]  text:restart-numbering  - text:start-value[1]  + text:start-value[2]  text:style-name    @@ -12410,7 +12410,7 @@

    text:index-entry-chapter Elemen Attributes - text:display[9]  + text:display[1]  text:style-name    @@ -12615,7 +12615,7 @@

    text:index-source-styles Elemen Attributes - text:outline-level[1]  + text:outline-level[2]    @@ -12967,7 +12967,7 @@

    text:list-item Element

    Attributes - text:start-value[1]  + text:start-value[2]    @@ -13023,9 +13023,9 @@

    text:list-level-style-image Attributes text:level  - xlink:actuate[2]  + xlink:actuate[1]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type    @@ -13057,7 +13057,7 @@

    text:list-level-style-numbe style:num-suffix  text:display-levels  text:level  - text:start-value[2]  + text:start-value[1]  text:style-name    @@ -13084,7 +13084,7 @@

    text:list-style Element

    Attributes style:display-name  - style:name[1]  + style:name[2]  text:consecutive-numbering    @@ -13387,7 +13387,7 @@

    text:notes-configuration Elemen text:master-page-name  text:note-class  text:start-numbering-at  - text:start-value[1]  + text:start-value[2]    @@ -13445,7 +13445,7 @@

    text:numbered-paragraph Element< text:continue-numbering  text:level  - text:start-value[1]  + text:start-value[2]  text:style-name    @@ -13602,7 +13602,7 @@

    text:outline-level-style Elemen style:num-suffix  text:display-levels  text:level  - text:start-value[2]  + text:start-value[1]  text:style-name    @@ -13866,7 +13866,7 @@

    text:page-continuation Element Attributes - text:select-page[1]  + text:select-page[2]  text:string-value    @@ -13928,7 +13928,7 @@

    text:page-number Element

    style:num-letter-sync  text:fixed  text:page-adjust  - text:select-page[2]  + text:select-page[1]    @@ -14542,7 +14542,7 @@

    text:section Element

    Attributes text:condition  - text:display[1]  + text:display[5]  text:display[7]  text:name  text:protected  @@ -14608,7 +14608,7 @@

    text:section-source Element

    text:filter-name  text:section-name  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type    @@ -15594,7 +15594,7 @@

    text:table-of-conte Attributes - text:outline-level[1]  + text:outline-level[2]  text:style-name    @@ -15625,7 +15625,7 @@

    text:table-of-content-sourc Attributes text:index-scope  - text:outline-level[1]  + text:outline-level[2]  text:relative-tab-stop-position  text:use-index-marks  text:use-index-source-styles  @@ -15659,7 +15659,7 @@

    text:template-name Element

    Attributes - text:display[6]  + text:display[4]    @@ -15769,7 +15769,7 @@

    text:toc-mark Element

    Attributes - text:outline-level[1]  + text:outline-level[2]  text:string-value    @@ -15823,7 +15823,7 @@

    text:toc-mark-start Element

    Attributes text:id[1]  - text:outline-level[1]  + text:outline-level[2]    @@ -15908,13 +15908,13 @@

    text:user-field-decl Elementoffice:string-value  office:time-value  office:value  + office:value-type[1]  office:value-type[2]  - office:value-type[3]  office:value-type[4]  office:value-type[5]  - office:value-type[6]  office:value-type[7]  office:value-type[8]  + office:value-type[9]  text:formula  text:name    @@ -15974,7 +15974,7 @@

    text:user-field-get Element

    Attributes style:data-style-name  - text:display[4]  + text:display[9]  text:name    @@ -16065,7 +16065,7 @@

    text:user-index-entry-tem Attributes - text:outline-level[1]  + text:outline-level[2]  text:style-name    @@ -16098,7 +16098,7 @@

    text:user-index-mark ElementAttributes text:index-name  - text:outline-level[1]  + text:outline-level[2]  text:string-value    @@ -16126,7 +16126,7 @@

    text:user-index-mark-end Elemen Attributes text:id[1]  - text:outline-level[1]  + text:outline-level[2]    @@ -16154,7 +16154,7 @@

    text:user-index-mark-start El text:id[1]  text:index-name  - text:outline-level[1]  + text:outline-level[2]    @@ -16209,7 +16209,7 @@

    text:variable-decl Element

    Attributes - office:value-type[9]  + office:value-type[3]  text:name    @@ -16296,7 +16296,7 @@

    text:variable-input Element

    Attributes - office:value-type[9]  + office:value-type[3]  style:data-style-name  text:description  text:display[3]  @@ -16333,13 +16333,13 @@

    text:variable-set Element

    office:string-value  office:time-value  office:value  + office:value-type[1]  office:value-type[2]  - office:value-type[3]  office:value-type[4]  office:value-type[5]  - office:value-type[6]  office:value-type[7]  office:value-type[8]  + office:value-type[9]  style:data-style-name  text:display[3]  text:formula  @@ -16677,19 +16677,19 @@

    chart:class[1] Attribute

    Parent Elements - chart:chart  - chart:series  + chart:grid    Datatypes - string    Values + "major"  + "minor"    @@ -16700,19 +16700,19 @@

    chart:class[2] Attribute

    Parent Elements - chart:grid  + chart:chart  + chart:series    Datatypes + string    Values - "major"  - "minor"    @@ -16846,10 +16846,10 @@

    chart:legend-position[1] Attribu Values - "bottom"  - "end"  - "start"  - "top"  + "bottom-end"  + "bottom-start"  + "top-end"  + "top-start"    @@ -16871,10 +16871,10 @@

    chart:legend-position[2] Attribu Values - "bottom-end"  - "bottom-start"  - "top-end"  - "top-start"  + "bottom"  + "end"  + "start"  + "top"    @@ -17754,7 +17754,7 @@

    draw:concave[1] Attribute

    Values - "false"  + "true"    @@ -17776,7 +17776,7 @@

    draw:concave[2] Attribute

    Values - "true"  + "false"    @@ -19400,20 +19400,32 @@

    draw:name[1] Attribute

    Parent Elements - draw:fill-image  - draw:gradient  - draw:hatch  - draw:marker  - draw:opacity  - draw:stroke-dash  - svg:linearGradient  - svg:radialGradient  + draw:caption  + draw:circle  + draw:connector  + draw:control  + draw:custom-shape  + draw:ellipse  + draw:equation  + draw:frame  + draw:g  + draw:layer  + draw:line  + draw:measure  + draw:page  + draw:page-thumbnail  + draw:path  + draw:polygon  + draw:polyline  + draw:rect  + draw:regular-polygon  + office:annotation    Datatypes - NCName  + string    @@ -19429,12 +19441,20 @@

    draw:name[2] Attribute

    Parent Elements - draw:param  + draw:fill-image  + draw:gradient  + draw:hatch  + draw:marker  + draw:opacity  + draw:stroke-dash  + svg:linearGradient  + svg:radialGradient    Datatypes + NCName    @@ -19450,32 +19470,12 @@

    draw:name[3] Attribute

    Parent Elements - draw:caption  - draw:circle  - draw:connector  - draw:control  - draw:custom-shape  - draw:ellipse  - draw:equation  - draw:frame  - draw:g  - draw:layer  - draw:line  - draw:measure  - draw:page  - draw:page-thumbnail  - draw:path  - draw:polygon  - draw:polyline  - draw:rect  - draw:regular-polygon  - office:annotation  + draw:param    Datatypes - string    @@ -19882,7 +19882,7 @@

    draw:style[1] Attribute

    Parent Elements - draw:stroke-dash  + draw:hatch    @@ -19893,8 +19893,9 @@

    draw:style[1] Attribute

    Values - "rect"  - "round"  + "double"  + "single"  + "triple"    @@ -19905,7 +19906,8 @@

    draw:style[2] Attribute

    Parent Elements - draw:hatch  + draw:gradient  + draw:opacity    @@ -19916,9 +19918,12 @@

    draw:style[2] Attribute

    Values - "double"  - "single"  - "triple"  + "axial"  + "ellipsoid"  + "linear"  + "radial"  + "rectangular"  + "square"    @@ -19929,8 +19934,7 @@

    draw:style[3] Attribute

    Parent Elements - draw:gradient  - draw:opacity  + draw:stroke-dash    @@ -19941,12 +19945,8 @@

    draw:style[3] Attribute

    Values - "axial"  - "ellipsoid"  - "linear"  - "radial"  - "rectangular"  - "square"  + "rect"  + "round"    @@ -20227,21 +20227,19 @@

    draw:type[1] Attribute

    Parent Elements - draw:connector  + draw:enhanced-geometry    Datatypes + string    Values - "curve"  - "line"  - "lines"  - "standard"  + "non-primitive"    @@ -20252,19 +20250,21 @@

    draw:type[2] Attribute

    Parent Elements - draw:enhanced-geometry  + draw:connector    Datatypes - string    Values - "non-primitive"  + "curve"  + "line"  + "lines"  + "standard"    @@ -20830,13 +20830,13 @@

    form:current-value[1] Attribute Parent Elements - form:date  + form:number    Datatypes - date  + double    @@ -20874,13 +20874,17 @@

    form:current-value[3] Attribute Parent Elements - form:number  + form:combobox  + form:file  + form:formatted-text  + form:text  + form:textarea    Datatypes - double  + string    @@ -20896,17 +20900,13 @@

    form:current-value[4] Attribute Parent Elements - form:combobox  - form:file  - form:formatted-text  - form:text  - form:textarea  + form:date    Datatypes - string  + date    @@ -21355,7 +21355,10 @@

    form:image-position[1] Attribute Values - "center"  + "bottom"  + "end"  + "start"  + "top"    @@ -21379,10 +21382,7 @@

    form:image-position[2] Attribute Values - "bottom"  - "end"  - "start"  - "top"  + "center"    @@ -21542,13 +21542,14 @@

    form:max-value[1] Attribute

    Parent Elements - form:time  + form:formatted-text  + form:value-range    Datatypes - time  + string    @@ -21564,14 +21565,13 @@

    form:max-value[2] Attribute

    Parent Elements - form:formatted-text  - form:value-range  + form:number    Datatypes - string  + double    @@ -21587,13 +21587,13 @@

    form:max-value[3] Attribute

    Parent Elements - form:number  + form:date    Datatypes - double  + date    @@ -21609,13 +21609,13 @@

    form:max-value[4] Attribute

    Parent Elements - form:date  + form:time    Datatypes - date  + time    @@ -21676,13 +21676,14 @@

    form:min-value[2] Attribute

    Parent Elements - form:date  + form:formatted-text  + form:value-range    Datatypes - date  + string    @@ -21698,14 +21699,13 @@

    form:min-value[3] Attribute

    Parent Elements - form:formatted-text  - form:value-range  + form:date    Datatypes - string  + date    @@ -22319,25 +22319,13 @@

    form:value[2] Attribute

    Parent Elements - form:button  - form:checkbox  - form:combobox  - form:file  - form:formatted-text  - form:hidden  - form:image  - form:option  - form:password  - form:radio  - form:text  - form:textarea  - form:value-range  + form:time    Datatypes - string  + time    @@ -22353,13 +22341,13 @@

    form:value[3] Attribute

    Parent Elements - form:time  + form:number    Datatypes - time  + double    @@ -22375,13 +22363,25 @@

    form:value[4] Attribute

    Parent Elements - form:number  + form:button  + form:checkbox  + form:combobox  + form:file  + form:formatted-text  + form:hidden  + form:image  + form:option  + form:password  + form:radio  + form:text  + form:textarea  + form:value-range    Datatypes - double  + string    @@ -23089,7 +23089,7 @@

    office:boolean-value Attribute Parent Elements - form:list-value[6]  + form:list-value[5]  form:property  table:change-track-table-cell  table:covered-table-cell  @@ -23170,7 +23170,7 @@

    office:date-value Attribute

    Parent Elements - form:list-value[7]  + form:list-value[4]  form:property  table:change-track-table-cell  table:covered-table-cell  @@ -23358,7 +23358,7 @@

    office:string-value Attribute< Parent Elements - form:list-value[4]  + form:list-value[7]  form:property  table:change-track-table-cell  table:covered-table-cell  @@ -23443,7 +23443,7 @@

    office:time-value Attribute

    Parent Elements - form:list-value[3]  + form:list-value[1]  form:property  table:change-track-table-cell  table:covered-table-cell  @@ -23472,9 +23472,9 @@

    office:value Attribute

    Parent Elements - form:list-value[1]  form:list-value[2]  - form:list-value[5]  + form:list-value[3]  + form:list-value[6]  form:property  table:change-track-table-cell  table:covered-table-cell  @@ -23506,6 +23506,12 @@

    office:value-type[1] Attribute form:list-property  form:property  + table:change-track-table-cell  + table:covered-table-cell  + table:table-cell  + text:expression  + text:user-field-decl  + text:variable-set    @@ -23516,7 +23522,7 @@

    office:value-type[1] Attribute Values - "void"  + "percentage"    @@ -23556,14 +23562,8 @@

    office:value-type[3] Attribute Parent Elements - form:list-property  - form:property  - table:change-track-table-cell  - table:covered-table-cell  - table:table-cell  - text:expression  - text:user-field-decl  - text:variable-set  + text:variable-decl  + text:variable-input    @@ -23574,6 +23574,12 @@

    office:value-type[3] Attribute Values + "boolean"  + "currency"  + "date"  + "float"  + "percentage"  + "string"  "time"    @@ -23603,7 +23609,7 @@

    office:value-type[4] Attribute Values - "percentage"  + "time"    @@ -23632,7 +23638,7 @@

    office:value-type[5] Attribute Values - "boolean"  + "currency"    @@ -23645,12 +23651,6 @@

    office:value-type[6] Attribute form:list-property  form:property  - table:change-track-table-cell  - table:covered-table-cell  - table:table-cell  - text:expression  - text:user-field-decl  - text:variable-set    @@ -23661,7 +23661,7 @@

    office:value-type[6] Attribute Values - "float"  + "void"    @@ -23690,7 +23690,7 @@

    office:value-type[7] Attribute Values - "currency"  + "date"    @@ -23719,7 +23719,7 @@

    office:value-type[8] Attribute Values - "date"  + "float"    @@ -23730,8 +23730,14 @@

    office:value-type[9] Attribute Parent Elements - text:variable-decl  - text:variable-input  + form:list-property  + form:property  + table:change-track-table-cell  + table:covered-table-cell  + table:table-cell  + text:expression  + text:user-field-decl  + text:variable-set    @@ -23743,12 +23749,6 @@

    office:value-type[9] AttributeValues "boolean"  - "currency"  - "date"  - "float"  - "percentage"  - "string"  - "time"    @@ -25874,7 +25874,7 @@

    style:family[1] Attribute

    Values - "section"  + "table-cell"    @@ -25897,7 +25897,7 @@

    style:family[2] Attribute

    Values - "paragraph"  + "table-row"    @@ -25920,7 +25920,8 @@

    style:family[3] Attribute

    Values - "drawing-page"  + "graphic"  + "presentation"    @@ -25943,7 +25944,7 @@

    style:family[4] Attribute

    Values - "table-cell"  + "paragraph"    @@ -25966,7 +25967,7 @@

    style:family[5] Attribute

    Values - "table-row"  + "section"    @@ -25989,7 +25990,7 @@

    style:family[6] Attribute

    Values - "ruby"  + "drawing-page"    @@ -26012,7 +26013,7 @@

    style:family[7] Attribute

    Values - "table"  + "table-column"    @@ -26081,7 +26082,7 @@

    style:family[10] Attribute

    Values - "table-column"  + "ruby"    @@ -26104,8 +26105,7 @@

    style:family[11] Attribute

    Values - "graphic"  - "presentation"  + "table"    @@ -26336,24 +26336,13 @@

    style:name[1] Attribute

    Parent Elements - number:boolean-style  - number:currency-style  - number:date-style  - number:number-style  - number:percentage-style  - number:text-style  - number:time-style  - style:master-page  - style:page-layout  - style:presentation-page-layout  - style:style  - text:list-style  + style:font-face    Datatypes - NCName  + string    @@ -26369,13 +26358,24 @@

    style:name[2] Attribute

    Parent Elements - style:font-face  + number:boolean-style  + number:currency-style  + number:date-style  + number:number-style  + number:percentage-style  + number:text-style  + number:time-style  + style:master-page  + style:page-layout  + style:presentation-page-layout  + style:style  + text:list-style    Datatypes - string  + NCName    @@ -26433,15 +26433,13 @@

    style:num-format[1] Attribute

    Datatypes - string    Values - "1"  - "I"  - "i"  + "A"  + "a"    @@ -26472,13 +26470,15 @@

    style:num-format[2] Attribute

    Datatypes + string    Values - "A"  - "a"  + "1"  + "I"  + "i"    @@ -26884,15 +26884,14 @@

    svg:cx[1] Attribute

    Parent Elements - draw:area-circle  - draw:circle  - draw:ellipse  + svg:radialGradient    Datatypes string  + string    @@ -26908,14 +26907,15 @@

    svg:cx[2] Attribute

    Parent Elements - svg:radialGradient  + draw:area-circle  + draw:circle  + draw:ellipse    Datatypes string  - string    @@ -26931,15 +26931,14 @@

    svg:cy[1] Attribute

    Parent Elements - draw:area-circle  - draw:circle  - draw:ellipse  + svg:radialGradient    Datatypes string  + string    @@ -26955,14 +26954,15 @@

    svg:cy[2] Attribute

    Parent Elements - svg:radialGradient  + draw:area-circle  + draw:circle  + draw:ellipse    Datatypes string  - string    @@ -28100,30 +28100,6 @@

    svg:x[1] Attribute

    - - - - - - - - - - -
    Parent Elements - draw:glue-point  - presentation:placeholder  - 
    Datatypes - string  - string  - 
    Values
    -
    -

    svg:x[2] Attribute

    -

    There are more than one Definitions by this name.

    - - -
    Parent Elements chart:footer  chart:legend  @@ -28161,18 +28137,21 @@

    svg:x[2] Attribute


    -

    svg:x-height Attribute

    +

    svg:x[2] Attribute

    +

    There are more than one Definitions by this name.

    @@ -28182,21 +28161,18 @@

    svg:x-height Attribute

    Parent Elements - style:font-face  + draw:glue-point  + presentation:placeholder   
    Datatypes - integer  + string  + string   

    -

    svg:x1[1] Attribute

    -

    There are more than one Definitions by this name.

    +

    svg:x-height Attribute

    @@ -28206,7 +28182,7 @@

    svg:x1[1] Attribute

    Parent Elements - draw:connector  - draw:line  - draw:measure  + style:font-face   
    Datatypes - string  + integer   

    -

    svg:x1[2] Attribute

    +

    svg:x1[1] Attribute

    There are more than one Definitions by this name.

    @@ -28229,20 +28205,21 @@

    svg:x1[2] Attribute


    -

    svg:x2[1] Attribute

    +

    svg:x1[2] Attribute

    There are more than one Definitions by this name.

    @@ -28252,7 +28229,7 @@

    svg:x2[1] Attribute

    Parent Elements - svg:linearGradient  + draw:connector  + draw:line  + draw:measure   
    Datatypes string  - string   

    -

    svg:x2[2] Attribute

    +

    svg:x2[1] Attribute

    There are more than one Definitions by this name.

    @@ -28276,14 +28253,13 @@

    svg:x2[2] Attribute


    -

    svg:y[1] Attribute

    +

    svg:x2[2] Attribute

    There are more than one Definitions by this name.

    @@ -28300,7 +28276,7 @@

    svg:y[1] Attribute

    Parent Elements - draw:glue-point  - presentation:placeholder  + svg:linearGradient   

    -

    svg:y[2] Attribute

    +

    svg:y[1] Attribute

    There are more than one Definitions by this name.

    @@ -28343,6 +28319,30 @@

    svg:y[2] Attribute


    +

    svg:y[2] Attribute

    +

    There are more than one Definitions by this name.

    + + + + + + + + + + + + + +
    Parent Elements + draw:glue-point  + presentation:placeholder  + 
    Datatypes + string  + string  + 
    Values
    +

    svg:y1[1] Attribute

    There are more than one Definitions by this name.

    @@ -28665,18 +28665,21 @@

    table:case-sensitive[1] Attribute

    Parent Elements - table:filter-condition  + table:calculation-settings  + table:sort  + table:subtotal-rules   
    Datatypes - string   
    Values + "false"  + "true"   
    @@ -28687,21 +28690,18 @@

    table:case-sensitive[2] Attribute Parent Elements - table:calculation-settings  - table:sort  - table:subtotal-rules  + table:filter-condition    Datatypes + string    Values - "false"  - "true"    @@ -29107,20 +29107,17 @@

    table:data-type[1] Attribute

    Parent Elements - table:sort-by  - table:sort-groups  + table:filter-condition    Datatypes - string    Values - "automatic"  "number"  "text"    @@ -29133,17 +29130,20 @@

    table:data-type[2] Attribute

    Parent Elements - table:filter-condition  + table:sort-by  + table:sort-groups    Datatypes + string    Values + "automatic"  "number"  "text"    @@ -30858,10 +30858,7 @@

    table:orientation[1] Attribute Values - "column"  - "data"  - "hidden"  - "row"  + "page"    @@ -30907,7 +30904,10 @@

    table:orientation[3] Attribute Values - "page"  + "column"  + "data"  + "hidden"  + "row"    @@ -31118,13 +31118,12 @@

    table:protection-key[1] Attribute Parent Elements - office:spreadsheet  + table:table    Datatypes - string    @@ -31140,12 +31139,13 @@

    table:protection-key[2] Attribute Parent Elements - table:table  + office:spreadsheet    Datatypes + string    @@ -31207,19 +31207,19 @@

    table:refresh-delay[1] Attribute Parent Elements - table:database-range  + table:cell-range-source  + table:table-source    Datatypes + duration    Values - "false"  - "true"    @@ -31230,19 +31230,19 @@

    table:refresh-delay[2] Attribute Parent Elements - table:cell-range-source  - table:table-source  + table:database-range    Datatypes - duration    Values + "false"  + "true"    @@ -31955,7 +31955,8 @@

    table:type[1] Attribute

    Parent Elements - table:data-pilot-field-reference  + table:deletion  + table:insertion    @@ -31966,15 +31967,9 @@

    table:type[1] Attribute

    Values - "column-percentage"  - "index"  - "member-difference"  - "member-percentage"  - "member-percentage-difference"  - "none"  - "row-percentage"  - "running-total"  - "total-percentage"  + "column"  + "row"  + "table"    @@ -31985,8 +31980,7 @@

    table:type[2] Attribute

    Parent Elements - table:deletion  - table:insertion  + table:data-pilot-field-reference    @@ -31997,9 +31991,15 @@

    table:type[2] Attribute

    Values - "column"  - "row"  - "table"  + "column-percentage"  + "index"  + "member-difference"  + "member-percentage"  + "member-percentage-difference"  + "none"  + "row-percentage"  + "running-total"  + "total-percentage"    @@ -33266,7 +33266,7 @@

    text:display[1] Attribute

    Parent Elements - text:section  + text:index-entry-chapter    @@ -33277,8 +33277,9 @@

    text:display[1] Attribute

    Values - "none"  - "true"  + "name"  + "number"  + "number-and-name"    @@ -33338,7 +33339,7 @@

    text:display[4] Attribute

    Parent Elements - text:user-field-get  + text:template-name    @@ -33349,9 +33350,12 @@

    text:display[4] Attribute

    Values - "formula"  - "none"  - "value"  + "area"  + "full"  + "name"  + "name-and-extension"  + "path"  + "title"    @@ -33362,7 +33366,7 @@

    text:display[5] Attribute

    Parent Elements - text:file-name  + text:section    @@ -33373,10 +33377,8 @@

    text:display[5] Attribute

    Values - "full"  - "name"  - "name-and-extension"  - "path"  + "none"  + "true"    @@ -33387,7 +33389,7 @@

    text:display[6] Attribute

    Parent Elements - text:template-name  + text:file-name    @@ -33398,12 +33400,10 @@

    text:display[6] Attribute

    Values - "area"  "full"  "name"  "name-and-extension"  "path"  - "title"    @@ -33462,7 +33462,7 @@

    text:display[9] Attribute

    Parent Elements - text:index-entry-chapter  + text:user-field-get    @@ -33473,9 +33473,9 @@

    text:display[9] Attribute

    Values - "name"  - "number"  - "number-and-name"  + "formula"  + "none"  + "value"    @@ -34577,22 +34577,13 @@

    text:outline-level[1] Attribute Parent Elements - text:h  - text:index-source-styles  - text:table-of-content-entry-template  - text:table-of-content-source  - text:toc-mark  - text:toc-mark-start  - text:user-index-entry-template  - text:user-index-mark  - text:user-index-mark-end  - text:user-index-mark-start  + text:chapter    Datatypes - positiveInteger  + nonNegativeInteger    @@ -34608,21 +34599,27 @@

    text:outline-level[2] Attribute Parent Elements - text:alphabetical-index-entry-template  + text:h  + text:index-source-styles  + text:table-of-content-entry-template  + text:table-of-content-source  + text:toc-mark  + text:toc-mark-start  + text:user-index-entry-template  + text:user-index-mark  + text:user-index-mark-end  + text:user-index-mark-start    Datatypes + positiveInteger    Values - "1"  - "2"  - "3"  - "separator"    @@ -34633,18 +34630,21 @@

    text:outline-level[3] Attribute Parent Elements - text:chapter  + text:alphabetical-index-entry-template    Datatypes - nonNegativeInteger    Values + "1"  + "2"  + "3"  + "separator"    @@ -35059,7 +35059,7 @@

    text:select-page[1] Attribute

    Parent Elements - text:page-continuation  + text:page-number    @@ -35070,6 +35070,7 @@

    text:select-page[1] Attribute

    Values + "current"  "next"  "previous"    @@ -35082,7 +35083,7 @@

    text:select-page[2] Attribute

    Parent Elements - text:page-number  + text:page-continuation    @@ -35093,7 +35094,6 @@

    text:select-page[2] Attribute

    Values - "current"  "next"  "previous"    @@ -35237,16 +35237,14 @@

    text:start-value[1] Attribute

    Parent Elements - text:h  - text:list-item  - text:notes-configuration  - text:numbered-paragraph  + text:list-level-style-number  + text:outline-level-style    Datatypes - nonNegativeInteger  + positiveInteger    @@ -35262,14 +35260,16 @@

    text:start-value[2] Attribute

    Parent Elements - text:list-level-style-number  - text:outline-level-style  + text:h  + text:list-item  + text:notes-configuration  + text:numbered-paragraph    Datatypes - positiveInteger  + nonNegativeInteger    @@ -36093,16 +36093,14 @@

    xlink:actuate[1] Attribute

    Parent Elements - draw:a  - form:form  - presentation:event-listener  - presentation:sound  - script:event-listener  - svg:definition-src  - svg:font-face-uri  - table:cell-range-source  - table:table-source  - text:a  + draw:applet  + draw:fill-image  + draw:floating-frame  + draw:image  + draw:object  + draw:object-ole  + draw:plugin  + text:list-level-style-image    @@ -36113,7 +36111,7 @@

    xlink:actuate[1] Attribute

    Values - "onRequest"  + "onLoad"    @@ -36124,14 +36122,16 @@

    xlink:actuate[2] Attribute

    Parent Elements - draw:applet  - draw:fill-image  - draw:floating-frame  - draw:image  - draw:object  - draw:object-ole  - draw:plugin  - text:list-level-style-image  + draw:a  + form:form  + presentation:event-listener  + presentation:sound  + script:event-listener  + svg:definition-src  + svg:font-face-uri  + table:cell-range-source  + table:table-source  + text:a    @@ -36142,7 +36142,7 @@

    xlink:actuate[2] Attribute

    Values - "onLoad"  + "onRequest"    @@ -36201,12 +36201,16 @@

    xlink:show[1] Attribute

    Parent Elements - draw:a  - draw:area-circle  - draw:area-polygon  - draw:area-rectangle  - presentation:sound  - text:a  + draw:applet  + draw:fill-image  + draw:floating-frame  + draw:image  + draw:object  + draw:object-ole  + draw:plugin  + presentation:event-listener  + text:list-level-style-image  + text:section-source    @@ -36217,8 +36221,7 @@

    xlink:show[1] Attribute

    Values - "new"  - "replace"  + "embed"    @@ -36229,16 +36232,12 @@

    xlink:show[2] Attribute

    Parent Elements - draw:applet  - draw:fill-image  - draw:floating-frame  - draw:image  - draw:object  - draw:object-ole  - draw:plugin  - presentation:event-listener  - text:list-level-style-image  - text:section-source  + draw:a  + draw:area-circle  + draw:area-polygon  + draw:area-rectangle  + presentation:sound  + text:a    @@ -36249,7 +36248,8 @@

    xlink:show[2] Attribute

    Values - "embed"  + "new"  + "replace"    diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odf-reference/odf-schema-1.1/OdfReference.html b/generator/schema2template/src/test/resources/test-reference/odf/generation/odf-reference/odf-schema-1.1/OdfReference.html index cba0d92343..aba3254231 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odf-reference/odf-schema-1.1/OdfReference.html +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odf-reference/odf-schema-1.1/OdfReference.html @@ -774,7 +774,7 @@

    chart:footer Element

    Attributes chart:style-name  - svg:x[1]  + svg:x[2]  svg:y[2]  table:cell-range    @@ -829,7 +829,7 @@

    chart:legend Element

    style:legend-expansion[1]  style:legend-expansion[2]  style:legend-expansion-aspect-ratio  - svg:x[1]  + svg:x[2]  svg:y[2]    @@ -889,7 +889,7 @@

    chart:plot-area Element

    dr3d:vup  svg:height[1]  svg:width[1]  - svg:x[1]  + svg:x[2]  svg:y[2]  table:cell-range-address    @@ -1041,7 +1041,7 @@

    chart:subtitle Element

    Attributes chart:style-name  - svg:x[1]  + svg:x[2]  svg:y[2]  table:cell-range    @@ -1068,7 +1068,7 @@

    chart:title Element

    Attributes chart:style-name  - svg:x[1]  + svg:x[2]  svg:y[2]  table:cell-range    @@ -1448,7 +1448,7 @@

    dr3d:scene Element

    presentation:style-name  svg:height[1]  svg:width[1]  - svg:x[1]  + svg:x[2]  svg:y[2]  table:end-cell-address  table:end-x  @@ -1535,7 +1535,7 @@

    draw:a Element

    office:title  xlink:actuate[1]  xlink:href  - xlink:show[1]  + xlink:show[2]  xlink:type    @@ -1565,7 +1565,7 @@

    draw:applet Element

    draw:object  xlink:actuate[2]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type    @@ -1593,10 +1593,10 @@

    draw:area-circle Element

    office:name  office:target-frame-name  svg:cx[1]  - svg:cy[2]  - svg:r[2]  + svg:cy[1]  + svg:r[1]  xlink:href  - xlink:show[1]  + xlink:show[2]  xlink:type    @@ -1629,10 +1629,10 @@

    draw:area-polygon Element

    svg:height[1]  svg:viewBox  svg:width[1]  - svg:x[1]  + svg:x[2]  svg:y[2]  xlink:href  - xlink:show[1]  + xlink:show[2]  xlink:type    @@ -1663,10 +1663,10 @@

    draw:area-rectangle Element

    office:target-frame-name  svg:height[1]  svg:width[1]  - svg:x[1]  + svg:x[2]  svg:y[2]  xlink:href  - xlink:show[1]  + xlink:show[2]  xlink:type    @@ -1718,7 +1718,7 @@

    draw:caption Element

    draw:corner-radius  draw:id[1]  draw:layer  - draw:name[2]  + draw:name[3]  draw:style-name  draw:text-style-name  draw:transform  @@ -1727,7 +1727,7 @@

    draw:caption Element

    presentation:style-name  svg:height[1]  svg:width[1]  - svg:x[1]  + svg:x[2]  svg:y[2]  table:end-cell-address  table:end-x  @@ -1787,7 +1787,7 @@

    draw:circle Element

    draw:id[1]  draw:kind  draw:layer  - draw:name[2]  + draw:name[3]  draw:start-angle  draw:style-name  draw:text-style-name  @@ -1796,11 +1796,11 @@

    draw:circle Element

    presentation:class-names  presentation:style-name  svg:cx[1]  - svg:cy[2]  + svg:cy[1]  svg:height[1]  - svg:r[2]  + svg:r[1]  svg:width[1]  - svg:x[1]  + svg:x[2]  svg:y[2]  table:end-cell-address  table:end-x  @@ -1861,20 +1861,20 @@

    draw:connector Element

    draw:id[1]  draw:layer  draw:line-skew  - draw:name[2]  + draw:name[3]  draw:start-glue-point  draw:start-shape  draw:style-name  draw:text-style-name  draw:transform  - draw:type[1]  + draw:type[2]  draw:z-index  presentation:class-names  presentation:style-name  - svg:x1[2]  + svg:x1[1]  svg:x2[2]  - svg:y1[2]  - svg:y2[2]  + svg:y1[1]  + svg:y2[1]  table:end-cell-address  table:end-x  table:end-y  @@ -1984,7 +1984,7 @@

    draw:control Element

    draw:control  draw:id[1]  draw:layer  - draw:name[2]  + draw:name[3]  draw:style-name  draw:text-style-name  draw:transform  @@ -1993,7 +1993,7 @@

    draw:control Element

    presentation:style-name  svg:height[1]  svg:width[1]  - svg:x[1]  + svg:x[2]  svg:y[2]  table:end-cell-address  table:end-x  @@ -2050,7 +2050,7 @@

    draw:custom-shape Element

    draw:engine  draw:id[1]  draw:layer  - draw:name[2]  + draw:name[3]  draw:style-name  draw:text-style-name  draw:transform  @@ -2059,7 +2059,7 @@

    draw:custom-shape Element

    presentation:style-name  svg:height[1]  svg:width[1]  - svg:x[1]  + svg:x[2]  svg:y[2]  table:end-cell-address  table:end-x  @@ -2120,7 +2120,7 @@

    draw:ellipse Element

    draw:id[1]  draw:kind  draw:layer  - draw:name[2]  + draw:name[3]  draw:start-angle  draw:style-name  draw:text-style-name  @@ -2129,12 +2129,12 @@

    draw:ellipse Element

    presentation:class-names  presentation:style-name  svg:cx[1]  - svg:cy[2]  + svg:cy[1]  svg:height[1]  svg:rx  svg:ry  svg:width[1]  - svg:x[1]  + svg:x[2]  svg:y[2]  table:end-cell-address  table:end-x  @@ -2210,7 +2210,7 @@

    draw:enhanced-geometry Elementdraw:text-path-same-letter-heights  draw:text-path-scale  draw:text-rotate-angle  - draw:type[2]  + draw:type[1]  svg:viewBox    @@ -2236,7 +2236,7 @@

    draw:equation Element

    Attributes draw:formula  - draw:name[2]  + draw:name[3]    @@ -2259,12 +2259,12 @@

    draw:fill-image Element

    Attributes draw:display-name  - draw:name[1]  + draw:name[2]  svg:height[1]  svg:width[1]  xlink:actuate[2]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type    @@ -2290,7 +2290,7 @@

    draw:floating-frame Element

    draw:frame-name  xlink:actuate[2]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type    @@ -2339,7 +2339,7 @@

    draw:frame Element

    draw:copy-of  draw:id[1]  draw:layer  - draw:name[2]  + draw:name[3]  draw:style-name  draw:text-style-name  draw:transform  @@ -2353,7 +2353,7 @@

    draw:frame Element

    style:rel-width  svg:height[1]  svg:width[1]  - svg:x[1]  + svg:x[2]  svg:y[2]  table:end-cell-address  table:end-x  @@ -2418,7 +2418,7 @@

    draw:g Element

    draw:caption-id  draw:class-names  draw:id[1]  - draw:name[2]  + draw:name[3]  draw:style-name  draw:z-index  presentation:class-names  @@ -2488,7 +2488,7 @@

    draw:glue-point Element

    draw:align  draw:id[2]  - svg:x[2]  + svg:x[1]  svg:y[1]    @@ -2518,10 +2518,10 @@

    draw:gradient Element

    draw:display-name  draw:end-color  draw:end-intensity  - draw:name[1]  + draw:name[2]  draw:start-color  draw:start-intensity  - draw:style[1]  + draw:style[3]    @@ -2578,9 +2578,9 @@

    draw:hatch Element

    draw:color  draw:display-name  draw:distance  - draw:name[1]  + draw:name[2]  draw:rotation  - draw:style[3]  + draw:style[2]    @@ -2605,7 +2605,7 @@

    draw:image Element

    draw:filter-name  xlink:actuate[2]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type    @@ -2656,7 +2656,7 @@

    draw:layer Element

    Attributes draw:display  - draw:name[2]  + draw:name[3]  draw:protected    @@ -2726,17 +2726,17 @@

    draw:line Element

    draw:class-names  draw:id[1]  draw:layer  - draw:name[2]  + draw:name[3]  draw:style-name  draw:text-style-name  draw:transform  draw:z-index  presentation:class-names  presentation:style-name  - svg:x1[2]  + svg:x1[1]  svg:x2[2]  - svg:y1[2]  - svg:y2[2]  + svg:y1[1]  + svg:y2[1]  table:end-cell-address  table:end-x  table:end-y  @@ -2771,7 +2771,7 @@

    draw:marker Element

    Attributes draw:display-name  - draw:name[1]  + draw:name[2]  svg:d  svg:viewBox    @@ -2818,17 +2818,17 @@

    draw:measure Element

    draw:class-names  draw:id[1]  draw:layer  - draw:name[2]  + draw:name[3]  draw:style-name  draw:text-style-name  draw:transform  draw:z-index  presentation:class-names  presentation:style-name  - svg:x1[2]  + svg:x1[1]  svg:x2[2]  - svg:y1[2]  - svg:y2[2]  + svg:y1[1]  + svg:y2[1]  table:end-cell-address  table:end-x  table:end-y  @@ -2865,7 +2865,7 @@

    draw:object Element

    draw:notify-on-update-of-ranges  xlink:actuate[2]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type    @@ -2893,7 +2893,7 @@

    draw:object-ole Element

    draw:class-id  xlink:actuate[2]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type    @@ -2923,9 +2923,9 @@

    draw:opacity Element

    draw:cy  draw:display-name  draw:end  - draw:name[1]  + draw:name[2]  draw:start  - draw:style[1]  + draw:style[3]    @@ -2950,7 +2950,7 @@

    draw:page Element

    draw:id[1]  draw:master-page-name  - draw:name[2]  + draw:name[3]  draw:nav-order  draw:style-name  presentation:presentation-page-layout-name  @@ -3032,7 +3032,7 @@

    draw:page-thumbnail Element

    draw:class-names  draw:id[1]  draw:layer  - draw:name[2]  + draw:name[3]  draw:page-number  draw:style-name  draw:transform  @@ -3044,7 +3044,7 @@

    draw:page-thumbnail Element

    presentation:user-transformed  svg:height[1]  svg:width[1]  - svg:x[1]  + svg:x[2]  svg:y[2]  table:end-cell-address  table:end-x  @@ -3076,7 +3076,7 @@

    draw:param Element

    Attributes - draw:name[3]  + draw:name[1]  draw:value    @@ -3122,7 +3122,7 @@

    draw:path Element

    draw:class-names  draw:id[1]  draw:layer  - draw:name[2]  + draw:name[3]  draw:style-name  draw:text-style-name  draw:transform  @@ -3133,7 +3133,7 @@

    draw:path Element

    svg:height[1]  svg:viewBox  svg:width[1]  - svg:x[1]  + svg:x[2]  svg:y[2]  table:end-cell-address  table:end-x  @@ -3171,7 +3171,7 @@

    draw:plugin Element

    draw:mime-type  xlink:actuate[2]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type    @@ -3218,7 +3218,7 @@

    draw:polygon Element

    draw:class-names  draw:id[1]  draw:layer  - draw:name[2]  + draw:name[3]  draw:points  draw:style-name  draw:text-style-name  @@ -3229,7 +3229,7 @@

    draw:polygon Element

    svg:height[1]  svg:viewBox  svg:width[1]  - svg:x[1]  + svg:x[2]  svg:y[2]  table:end-cell-address  table:end-x  @@ -3287,7 +3287,7 @@

    draw:polyline Element

    draw:class-names  draw:id[1]  draw:layer  - draw:name[2]  + draw:name[3]  draw:points  draw:style-name  draw:text-style-name  @@ -3298,7 +3298,7 @@

    draw:polyline Element

    svg:height[1]  svg:viewBox  svg:width[1]  - svg:x[1]  + svg:x[2]  svg:y[2]  table:end-cell-address  table:end-x  @@ -3357,7 +3357,7 @@

    draw:rect Element

    draw:corner-radius  draw:id[1]  draw:layer  - draw:name[2]  + draw:name[3]  draw:style-name  draw:text-style-name  draw:transform  @@ -3366,7 +3366,7 @@

    draw:rect Element

    presentation:style-name  svg:height[1]  svg:width[1]  - svg:x[1]  + svg:x[2]  svg:y[2]  table:end-cell-address  table:end-x  @@ -3427,7 +3427,7 @@

    draw:regular-polygon Elementdraw:corners  draw:id[1]  draw:layer  - draw:name[2]  + draw:name[3]  draw:sharpness  draw:style-name  draw:text-style-name  @@ -3437,7 +3437,7 @@

    draw:regular-polygon Elementpresentation:style-name  svg:height[1]  svg:width[1]  - svg:x[1]  + svg:x[2]  svg:y[2]  table:end-cell-address  table:end-x  @@ -3478,8 +3478,8 @@

    draw:stroke-dash Element

    draw:dots1-length  draw:dots2  draw:dots2-length  - draw:name[1]  - draw:style[2]  + draw:name[2]  + draw:style[1]    @@ -3581,7 +3581,7 @@

    form:button Element

    form:tab-stop  form:title  form:toggle  - form:value[4]  + form:value[3]  form:xforms-submission  office:target-frame  xforms:bind  @@ -3626,7 +3626,7 @@

    form:checkbox Element

    form:tab-index  form:tab-stop  form:title  - form:value[4]  + form:value[3]  form:visual-effect  xforms:bind    @@ -3689,7 +3689,7 @@

    form:combobox Element

    form:auto-complete  form:control-implementation  form:convert-empty-to-null  - form:current-value[1]  + form:current-value[4]  form:data-field  form:disabled  form:dropdown  @@ -3704,7 +3704,7 @@

    form:combobox Element

    form:tab-index  form:tab-stop  form:title  - form:value[4]  + form:value[3]  xforms:bind    @@ -3765,7 +3765,7 @@

    form:date Element

    form:disabled  form:id  form:max-length  - form:max-value[2]  + form:max-value[1]  form:min-value[1]  form:name  form:printable  @@ -3773,7 +3773,7 @@

    form:date Element

    form:tab-index  form:tab-stop  form:title  - form:value[1]  + form:value[4]  xforms:bind    @@ -3799,7 +3799,7 @@

    form:file Element

    Attributes form:control-implementation  - form:current-value[1]  + form:current-value[4]  form:disabled  form:id  form:max-length  @@ -3809,7 +3809,7 @@

    form:file Element

    form:tab-index  form:tab-stop  form:title  - form:value[4]  + form:value[3]  xforms:bind    @@ -3940,13 +3940,13 @@

    form:formatted-text Element

    form:control-implementation  form:convert-empty-to-null  - form:current-value[1]  + form:current-value[4]  form:data-field  form:disabled  form:id  form:max-length  - form:max-value[1]  - form:min-value[4]  + form:max-value[3]  + form:min-value[3]  form:name  form:printable  form:readonly  @@ -3954,7 +3954,7 @@

    form:formatted-text Element

    form:tab-stop  form:title  form:validation  - form:value[4]  + form:value[3]  xforms:bind    @@ -4074,7 +4074,7 @@

    form:hidden Element

    form:control-implementation  form:id  form:name  - form:value[4]  + form:value[3]  xforms:bind    @@ -4109,7 +4109,7 @@

    form:image Element

    form:tab-index  form:tab-stop  form:title  - form:value[4]  + form:value[3]  office:target-frame  xforms:bind  xlink:href  @@ -4194,12 +4194,12 @@

    form:list-property Element

    form:property-name  office:value-type[1]  - office:value-type[2]  office:value-type[3]  office:value-type[4]  office:value-type[5]  office:value-type[6]  office:value-type[7]  + office:value-type[8]  office:value-type[9]    @@ -4230,7 +4230,7 @@

    form:list-value[1] Element

    Attributes - office:time-value  + office:string-value    @@ -4253,7 +4253,7 @@

    form:list-value[2] Element

    Attributes - office:string-value  + office:boolean-value    @@ -4276,7 +4276,7 @@

    form:list-value[3] Element

    Attributes - office:value  + office:date-value    @@ -4299,7 +4299,7 @@

    form:list-value[4] Element

    Attributes - office:boolean-value  + office:value    @@ -4322,8 +4322,7 @@

    form:list-value[5] Element

    Attributes - office:currency  - office:value  + office:time-value    @@ -4346,6 +4345,7 @@

    form:list-value[6] Element

    Attributes + office:currency  office:value    @@ -4369,7 +4369,7 @@

    form:list-value[7] Element

    Attributes - office:date-value  + office:value    @@ -4441,15 +4441,15 @@

    form:number Element

    form:disabled  form:id  form:max-length  - form:max-value[4]  - form:min-value[3]  + form:max-value[2]  + form:min-value[4]  form:name  form:printable  form:readonly  form:tab-index  form:tab-stop  form:title  - form:value[3]  + form:value[2]  xforms:bind    @@ -4478,7 +4478,7 @@

    form:option Element

    form:current-selected  form:label  form:selected  - form:value[4]  + form:value[3]    @@ -4511,7 +4511,7 @@

    form:password Element

    form:tab-index  form:tab-stop  form:title  - form:value[4]  + form:value[3]  xforms:bind    @@ -4588,12 +4588,12 @@

    form:property Element

    office:time-value  office:value  office:value-type[1]  - office:value-type[2]  office:value-type[3]  office:value-type[4]  office:value-type[5]  office:value-type[6]  office:value-type[7]  + office:value-type[8]  office:value-type[9]    @@ -4631,7 +4631,7 @@

    form:radio Element

    form:tab-index  form:tab-stop  form:title  - form:value[4]  + form:value[3]  form:visual-effect  xforms:bind    @@ -4660,7 +4660,7 @@

    form:text Element

    form:control-implementation  form:convert-empty-to-null  - form:current-value[1]  + form:current-value[4]  form:data-field  form:disabled  form:id  @@ -4671,7 +4671,7 @@

    form:text Element

    form:tab-index  form:tab-stop  form:title  - form:value[4]  + form:value[3]  xforms:bind    @@ -4699,7 +4699,7 @@

    form:textarea Element

    form:control-implementation  form:convert-empty-to-null  - form:current-value[1]  + form:current-value[4]  form:data-field  form:disabled  form:id  @@ -4710,7 +4710,7 @@

    form:textarea Element

    form:tab-index  form:tab-stop  form:title  - form:value[4]  + form:value[3]  xforms:bind    @@ -4738,12 +4738,12 @@

    form:time Element

    form:control-implementation  form:convert-empty-to-null  - form:current-value[4]  + form:current-value[1]  form:data-field  form:disabled  form:id  form:max-length  - form:max-value[3]  + form:max-value[4]  form:min-value[2]  form:name  form:printable  @@ -4751,7 +4751,7 @@

    form:time Element

    form:tab-index  form:tab-stop  form:title  - form:value[2]  + form:value[1]  xforms:bind    @@ -4780,8 +4780,8 @@

    form:value-range Element

    form:delay-for-repeat  form:disabled  form:id  - form:max-value[1]  - form:min-value[4]  + form:max-value[3]  + form:min-value[3]  form:name  form:orientation  form:page-step-size  @@ -4790,7 +4790,7 @@

    form:value-range Element

    form:tab-index  form:tab-stop  form:title  - form:value[4]  + form:value[3]  xforms:bind    @@ -5589,7 +5589,7 @@

    office:annotation Element

    draw:corner-radius  draw:id[1]  draw:layer  - draw:name[2]  + draw:name[3]  draw:style-name  draw:text-style-name  draw:transform  @@ -5599,7 +5599,7 @@

    office:annotation Element

    presentation:style-name  svg:height[1]  svg:width[1]  - svg:x[1]  + svg:x[2]  svg:y[2]  table:end-cell-address  table:end-x  @@ -6564,7 +6564,7 @@

    presentation:event-listener script:event-name  xlink:actuate[1]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type    @@ -6792,7 +6792,7 @@

    presentation:placeholder Elemen presentation:object  svg:height[2]  svg:width[2]  - svg:x[2]  + svg:x[1]  svg:y[1]    @@ -6966,7 +6966,7 @@

    presentation:sound Element

    presentation:play-full  xlink:actuate[1]  xlink:href  - xlink:show[1]  + xlink:show[2]  xlink:type    @@ -8164,14 +8164,14 @@

    svg:linearGradient Element

    Attributes draw:display-name  - draw:name[1]  + draw:name[2]  svg:gradientTransform  svg:gradientUnits  svg:spreadMethod  - svg:x1[1]  + svg:x1[2]  svg:x2[1]  - svg:y1[1]  - svg:y2[1]  + svg:y1[2]  + svg:y2[2]    @@ -8195,14 +8195,14 @@

    svg:radialGradient Element

    Attributes draw:display-name  - draw:name[1]  + draw:name[2]  svg:cx[2]  - svg:cy[1]  + svg:cy[2]  svg:fx  svg:fy  svg:gradientTransform  svg:gradientUnits  - svg:r[1]  + svg:r[2]  svg:spreadMethod    @@ -8409,8 +8409,8 @@

    table:cell-range-source Element< table:filter-options  table:last-column-spanned  table:last-row-spanned  - table:name[2]  - table:refresh-delay[2]  + table:name[1]  + table:refresh-delay[1]  xlink:actuate[1]  xlink:href  xlink:type  @@ -8465,9 +8465,9 @@

    table:change-track-table-c office:time-value  office:value  office:value-type[1]  - office:value-type[2]  office:value-type[3]  office:value-type[4]  + office:value-type[5]  office:value-type[6]  office:value-type[7]  office:value-type[9]  @@ -8532,7 +8532,7 @@

    table:content-validation Elemen table:base-cell-address  table:condition  table:display-list  - table:name[2]  + table:name[1]    @@ -8591,9 +8591,9 @@

    table:covered-table-cell Elemen office:time-value  office:value  office:value-type[1]  - office:value-type[2]  office:value-type[3]  office:value-type[4]  + office:value-type[5]  office:value-type[6]  office:value-type[7]  office:value-type[9]  @@ -8744,7 +8744,7 @@

    table:data-pilot-field- table:member-name  table:member-type[1]  table:member-type[2]  - table:type[1]  + table:type[2]    @@ -8766,7 +8766,7 @@

    table:data-pilot-group Element Attributes - table:name[2]  + table:name[1]    @@ -8789,7 +8789,7 @@

    table:data-pilot-group-mem Attributes - table:name[2]  + table:name[1]    @@ -8891,7 +8891,7 @@

    table:data-pilot-member Element< Attributes table:display  - table:name[2]  + table:name[1]  table:show-details    @@ -9011,7 +9011,7 @@

    table:data-pilot-table Elementtable:grand-total  table:identify-categories  table:ignore-empty-rows  - table:name[2]  + table:name[1]  table:show-filter-button  table:target-range-address    @@ -9071,11 +9071,11 @@

    table:database-range Elementtable:display-filter-buttons  table:has-persistent-data  table:is-selection  - table:name[2]  + table:name[1]  table:on-update-keep-size  table:on-update-keep-styles  table:orientation[1]  - table:refresh-delay[1]  + table:refresh-delay[2]  table:target-range-address    @@ -9258,7 +9258,7 @@

    table:deletion Element

    table:position  table:rejecting-change-id  table:table  - table:type[2]  + table:type[1]    @@ -9484,7 +9484,7 @@

    table:filter-condition ElementAttributes table:case-sensitive[2]  - table:data-type[2]  + table:data-type[1]  table:field-number  table:operator  table:value  @@ -9588,7 +9588,7 @@

    table:insertion Element

    table:position  table:rejecting-change-id  table:table  - table:type[2]  + table:type[1]    @@ -9765,7 +9765,7 @@

    table:named-expression Element table:base-cell-address  table:expression  - table:name[2]  + table:name[1]    @@ -9816,7 +9816,7 @@

    table:named-range Element

    table:base-cell-address  table:cell-range-address  - table:name[2]  + table:name[1]  table:range-usable-as    @@ -9863,7 +9863,7 @@

    table:operation Element

    Attributes table:index  - table:name[1]  + table:name[2]    @@ -10004,7 +10004,7 @@

    table:sort-by Element

    Attributes - table:data-type[1]  + table:data-type[2]  table:field-number  table:order    @@ -10028,7 +10028,7 @@

    table:sort-groups Element

    Attributes - table:data-type[1]  + table:data-type[2]  table:order    @@ -10104,7 +10104,7 @@

    table:source-service Element Attributes - table:name[2]  + table:name[1]  table:object-name  table:password  table:source-name  @@ -10218,7 +10218,7 @@

    table:table Element

    Attributes table:is-sub-table  - table:name[2]  + table:name[1]  table:print  table:print-ranges  table:protected  @@ -10266,9 +10266,9 @@

    table:table-cell Element

    office:time-value  office:value  office:value-type[1]  - office:value-type[2]  office:value-type[3]  office:value-type[4]  + office:value-type[5]  office:value-type[6]  office:value-type[7]  office:value-type[9]  @@ -10550,7 +10550,7 @@

    table:table-source Element

    table:filter-name  table:filter-options  table:mode  - table:refresh-delay[2]  + table:refresh-delay[1]  table:table-name  xlink:actuate[1]  xlink:href  @@ -10644,7 +10644,7 @@

    text:a Element

    text:visited-style-name  xlink:actuate[1]  xlink:href  - xlink:show[1]  + xlink:show[2]  xlink:type    @@ -11500,7 +11500,7 @@

    text:chapter Element

    Attributes - text:display[2]  + text:display[1]  text:outline-level[2]    @@ -11588,7 +11588,7 @@

    text:creation-date Element

    Attributes style:data-style-name  - text:date-value[2]  + text:date-value[1]  text:fixed    @@ -11831,7 +11831,7 @@

    text:date Element

    style:data-style-name  text:date-adjust  - text:date-value[2]  + text:date-value[1]  text:fixed    @@ -12117,14 +12117,14 @@

    text:expression Element

    office:time-value  office:value  office:value-type[1]  - office:value-type[2]  office:value-type[3]  office:value-type[4]  + office:value-type[5]  office:value-type[6]  office:value-type[7]  office:value-type[9]  style:data-style-name  - text:display[1]  + text:display[3]  text:formula    @@ -12152,7 +12152,7 @@

    text:file-name Element

    Attributes - text:display[6]  + text:display[5]  text:fixed    @@ -12219,7 +12219,7 @@

    text:h Element

    text:is-list-header  text:outline-level[1]  text:restart-numbering  - text:start-value[2]  + text:start-value[1]  text:style-name    @@ -13194,7 +13194,7 @@

    text:list-item Element

    Attributes - text:start-value[2]  + text:start-value[1]    @@ -13253,7 +13253,7 @@

    text:list-level-style-image text:level  xlink:actuate[2]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type    @@ -13285,7 +13285,7 @@

    text:list-level-style-numbe style:num-suffix  text:display-levels  text:level  - text:start-value[1]  + text:start-value[2]  text:style-name    @@ -13371,7 +13371,7 @@

    text:modification-date ElementAttributes style:data-style-name  - text:date-value[1]  + text:date-value[2]  text:fixed    @@ -13616,7 +13616,7 @@

    text:notes-configuration Elemen text:master-page-name  text:note-class  text:start-numbering-at  - text:start-value[2]  + text:start-value[1]    @@ -13674,7 +13674,7 @@

    text:numbered-paragraph Element< text:continue-numbering  text:level  - text:start-value[2]  + text:start-value[1]  text:style-name    @@ -13831,7 +13831,7 @@

    text:outline-level-style Elemen style:num-suffix  text:display-levels  text:level  - text:start-value[1]  + text:start-value[2]  text:style-name    @@ -14322,7 +14322,7 @@

    text:print-date Element

    Attributes style:data-style-name  - text:date-value[1]  + text:date-value[2]  text:fixed    @@ -14773,7 +14773,7 @@

    text:section Element

    Attributes text:condition  - text:display[4]  + text:display[6]  text:display[8]  text:name  text:protected  @@ -14840,7 +14840,7 @@

    text:section-source Element

    text:filter-name  text:section-name  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type    @@ -15712,7 +15712,7 @@

    text:table-formula Element

    Attributes style:data-style-name  - text:display[1]  + text:display[3]  text:formula    @@ -16186,9 +16186,9 @@

    text:user-field-decl Elementoffice:time-value  office:value  office:value-type[1]  - office:value-type[2]  office:value-type[3]  office:value-type[4]  + office:value-type[5]  office:value-type[6]  office:value-type[7]  office:value-type[9]  @@ -16251,7 +16251,7 @@

    text:user-field-get Element

    Attributes style:data-style-name  - text:display[3]  + text:display[2]  text:name    @@ -16486,7 +16486,7 @@

    text:variable-decl Element

    Attributes - office:value-type[8]  + office:value-type[2]  text:name    @@ -16545,7 +16545,7 @@

    text:variable-get Element

    Attributes style:data-style-name  - text:display[1]  + text:display[3]  text:name    @@ -16573,10 +16573,10 @@

    text:variable-input Element

    Attributes - office:value-type[8]  + office:value-type[2]  style:data-style-name  text:description  - text:display[5]  + text:display[4]  text:name    @@ -16611,14 +16611,14 @@

    text:variable-set Element

    office:time-value  office:value  office:value-type[1]  - office:value-type[2]  office:value-type[3]  office:value-type[4]  + office:value-type[5]  office:value-type[6]  office:value-type[7]  office:value-type[9]  style:data-style-name  - text:display[5]  + text:display[4]  text:formula  text:name    @@ -18069,7 +18069,7 @@

    draw:concave[1] Attribute

    Values - "false"  + "true"    @@ -18091,7 +18091,7 @@

    draw:concave[2] Attribute

    Values - "true"  + "false"    @@ -19714,6 +19714,27 @@

    draw:name[1] Attribute

    + + + + + + + + + + +
    Parent Elements + draw:param  + 
    Datatypes
    Values
    +
    +

    draw:name[2] Attribute

    +

    There are more than one Definitions by this name.

    + + +
    Parent Elements draw:fill-image  draw:gradient  @@ -19738,7 +19759,7 @@

    draw:name[1] Attribute


    -

    draw:name[2] Attribute

    +

    draw:name[3] Attribute

    There are more than one Definitions by this name.

    @@ -19778,27 +19799,6 @@

    draw:name[2] Attribute

     
    -
    -

    draw:name[3] Attribute

    -

    There are more than one Definitions by this name.

    - - - - - - - - - - - - - -
    Parent Elements - draw:param  - 
    Datatypes
    Values

    draw:nav-order Attribute (new in ODF 1.1)

    @@ -20218,8 +20218,7 @@

    draw:style[1] Attribute

    @@ -20230,12 +20229,8 @@

    draw:style[1] Attribute

    Parent Elements - draw:gradient  - draw:opacity  + draw:stroke-dash   
    Values - "axial"  - "ellipsoid"  - "linear"  - "radial"  - "rectangular"  - "square"  + "rect"  + "round"   
    @@ -20246,7 +20241,7 @@

    draw:style[2] Attribute

    Parent Elements - draw:stroke-dash  + draw:hatch    @@ -20257,8 +20252,9 @@

    draw:style[2] Attribute

    Values - "rect"  - "round"  + "double"  + "single"  + "triple"    @@ -20269,7 +20265,8 @@

    draw:style[3] Attribute

    Parent Elements - draw:hatch  + draw:gradient  + draw:opacity    @@ -20280,9 +20277,12 @@

    draw:style[3] Attribute

    Values - "double"  - "single"  - "triple"  + "axial"  + "ellipsoid"  + "linear"  + "radial"  + "rectangular"  + "square"    @@ -20563,21 +20563,19 @@

    draw:type[1] Attribute

    Parent Elements - draw:connector  + draw:enhanced-geometry    Datatypes + string    Values - "curve"  - "line"  - "lines"  - "standard"  + "non-primitive"    @@ -20588,19 +20586,21 @@

    draw:type[2] Attribute

    Parent Elements - draw:enhanced-geometry  + draw:connector    Datatypes - string    Values - "non-primitive"  + "curve"  + "line"  + "lines"  + "standard"    @@ -21166,17 +21166,13 @@

    form:current-value[1] Attribute Parent Elements - form:combobox  - form:file  - form:formatted-text  - form:text  - form:textarea  + form:time    Datatypes - string  + time    @@ -21236,13 +21232,17 @@

    form:current-value[4] Attribute Parent Elements - form:time  + form:combobox  + form:file  + form:formatted-text  + form:text  + form:textarea    Datatypes - time  + string    @@ -21878,14 +21878,13 @@

    form:max-value[1] Attribute

    Parent Elements - form:formatted-text  - form:value-range  + form:date    Datatypes - string  + date    @@ -21901,13 +21900,13 @@

    form:max-value[2] Attribute

    Parent Elements - form:date  + form:number    Datatypes - date  + double    @@ -21923,13 +21922,14 @@

    form:max-value[3] Attribute

    Parent Elements - form:time  + form:formatted-text  + form:value-range    Datatypes - time  + string    @@ -21945,13 +21945,13 @@

    form:max-value[4] Attribute

    Parent Elements - form:number  + form:time    Datatypes - double  + time    @@ -22034,13 +22034,14 @@

    form:min-value[3] Attribute

    Parent Elements - form:number  + form:formatted-text  + form:value-range    Datatypes - double  + string    @@ -22056,14 +22057,13 @@

    form:min-value[4] Attribute

    Parent Elements - form:formatted-text  - form:value-range  + form:number    Datatypes - string  + double    @@ -22633,13 +22633,13 @@

    form:value[1] Attribute

    Parent Elements - form:date  + form:time    Datatypes - date  + time    @@ -22655,13 +22655,13 @@

    form:value[2] Attribute

    Parent Elements - form:time  + form:number    Datatypes - time  + double    @@ -22677,13 +22677,25 @@

    form:value[3] Attribute

    Parent Elements - form:number  + form:button  + form:checkbox  + form:combobox  + form:file  + form:formatted-text  + form:hidden  + form:image  + form:option  + form:password  + form:radio  + form:text  + form:textarea  + form:value-range    Datatypes - double  + string    @@ -22699,25 +22711,13 @@

    form:value[4] Attribute

    Parent Elements - form:button  - form:checkbox  - form:combobox  - form:file  - form:formatted-text  - form:hidden  - form:image  - form:option  - form:password  - form:radio  - form:text  - form:textarea  - form:value-range  + form:date    Datatypes - string  + date    @@ -23405,7 +23405,7 @@

    office:boolean-value Attribute Parent Elements - form:list-value[4]  + form:list-value[2]  form:property  table:change-track-table-cell  table:covered-table-cell  @@ -23458,7 +23458,7 @@

    office:currency Attribute

    Parent Elements - form:list-value[5]  + form:list-value[6]  form:property  table:change-track-table-cell  table:covered-table-cell  @@ -23486,7 +23486,7 @@

    office:date-value Attribute

    Parent Elements - form:list-value[7]  + form:list-value[3]  form:property  table:change-track-table-cell  table:covered-table-cell  @@ -23674,7 +23674,7 @@

    office:string-value Attribute< Parent Elements - form:list-value[2]  + form:list-value[1]  form:property  table:change-track-table-cell  table:covered-table-cell  @@ -23759,7 +23759,7 @@

    office:time-value Attribute

    Parent Elements - form:list-value[1]  + form:list-value[5]  form:property  table:change-track-table-cell  table:covered-table-cell  @@ -23810,9 +23810,9 @@

    office:value Attribute

    Parent Elements - form:list-value[3]  - form:list-value[5]  + form:list-value[4]  form:list-value[6]  + form:list-value[7]  form:property  table:change-track-table-cell  table:covered-table-cell  @@ -23871,14 +23871,8 @@

    office:value-type[2] Attribute Parent Elements - form:list-property  - form:property  - table:change-track-table-cell  - table:covered-table-cell  - table:table-cell  - text:expression  - text:user-field-decl  - text:variable-set  + text:variable-decl  + text:variable-input    @@ -23889,7 +23883,13 @@

    office:value-type[2] Attribute Values + "boolean"  + "currency"  "date"  + "float"  + "percentage"  + "string"  + "time"    @@ -23947,7 +23947,7 @@

    office:value-type[4] Attribute Values - "currency"  + "date"    @@ -23960,6 +23960,12 @@

    office:value-type[5] Attribute form:list-property  form:property  + table:change-track-table-cell  + table:covered-table-cell  + table:table-cell  + text:expression  + text:user-field-decl  + text:variable-set    @@ -23970,7 +23976,7 @@

    office:value-type[5] Attribute Values - "void"  + "currency"    @@ -23999,7 +24005,7 @@

    office:value-type[6] Attribute Values - "percentage"  + "boolean"    @@ -24039,8 +24045,8 @@

    office:value-type[8] Attribute Parent Elements - text:variable-decl  - text:variable-input  + form:list-property  + form:property    @@ -24051,13 +24057,7 @@

    office:value-type[8] Attribute Values - "boolean"  - "currency"  - "date"  - "float"  - "percentage"  - "string"  - "time"  + "void"    @@ -24086,7 +24086,7 @@

    office:value-type[9] Attribute Values - "boolean"  + "percentage"    @@ -26299,7 +26299,7 @@

    style:family[1] Attribute

    Values - "paragraph"  + "section"    @@ -26322,7 +26322,7 @@

    style:family[2] Attribute

    Values - "table-cell"  + "table-column"    @@ -26345,7 +26345,7 @@

    style:family[3] Attribute

    Values - "section"  + "table-row"    @@ -26368,7 +26368,8 @@

    style:family[4] Attribute

    Values - "drawing-page"  + "graphic"  + "presentation"    @@ -26391,7 +26392,7 @@

    style:family[5] Attribute

    Values - "table-row"  + "paragraph"    @@ -26414,7 +26415,7 @@

    style:family[6] Attribute

    Values - "table-column"  + "text"    @@ -26437,7 +26438,7 @@

    style:family[7] Attribute

    Values - "ruby"  + "drawing-page"    @@ -26460,7 +26461,7 @@

    style:family[8] Attribute

    Values - "text"  + "table-cell"    @@ -26483,7 +26484,7 @@

    style:family[9] Attribute

    Values - "chart"  + "ruby"    @@ -26506,8 +26507,7 @@

    style:family[10] Attribute

    Values - "graphic"  - "presentation"  + "table"    @@ -26530,7 +26530,7 @@

    style:family[11] Attribute

    Values - "table"  + "chart"    @@ -26663,9 +26663,7 @@

    style:legend-expansion[1] Attri Values - "balanced"  - "high"  - "wide"  + "custom"    @@ -26687,7 +26685,9 @@

    style:legend-expansion[2] Attri Values - "custom"  + "balanced"  + "high"  + "wide"    @@ -27356,14 +27356,15 @@

    svg:cy[1] Attribute

    Parent Elements - svg:radialGradient  + draw:area-circle  + draw:circle  + draw:ellipse    Datatypes string  - string    @@ -27379,15 +27380,14 @@

    svg:cy[2] Attribute

    Parent Elements - draw:area-circle  - draw:circle  - draw:ellipse  + svg:radialGradient    Datatypes string  + string    @@ -27958,14 +27958,14 @@

    svg:r[1] Attribute

    Parent Elements - svg:radialGradient  + draw:area-circle  + draw:circle    Datatypes string  - string    @@ -27981,14 +27981,14 @@

    svg:r[2] Attribute

    Parent Elements - draw:area-circle  - draw:circle  + svg:radialGradient    Datatypes string  + string    @@ -28546,33 +28546,15 @@

    svg:x[1] Attribute

    Parent Elements - chart:footer  - chart:legend  - chart:plot-area  - chart:subtitle  - chart:title  - dr3d:scene  - draw:area-polygon  - draw:area-rectangle  - draw:caption  - draw:circle  - draw:control  - draw:custom-shape  - draw:ellipse  - draw:frame  - draw:page-thumbnail  - draw:path  - draw:polygon  - draw:polyline  - draw:rect  - draw:regular-polygon  - office:annotation  + draw:glue-point  + presentation:placeholder    Datatypes string  + string    @@ -28588,15 +28570,33 @@

    svg:x[2] Attribute

    Parent Elements - draw:glue-point  - presentation:placeholder  + chart:footer  + chart:legend  + chart:plot-area  + chart:subtitle  + chart:title  + dr3d:scene  + draw:area-polygon  + draw:area-rectangle  + draw:caption  + draw:circle  + draw:control  + draw:custom-shape  + draw:ellipse  + draw:frame  + draw:page-thumbnail  + draw:path  + draw:polygon  + draw:polyline  + draw:rect  + draw:regular-polygon  + office:annotation    Datatypes string  - string    @@ -28633,14 +28633,15 @@

    svg:x1[1] Attribute

    Parent Elements - svg:linearGradient  + draw:connector  + draw:line  + draw:measure    Datatypes string  - string    @@ -28656,15 +28657,14 @@

    svg:x1[2] Attribute

    Parent Elements - draw:connector  - draw:line  - draw:measure  + svg:linearGradient    Datatypes string  + string    @@ -28794,14 +28794,15 @@

    svg:y1[1] Attribute

    Parent Elements - svg:linearGradient  + draw:connector  + draw:line  + draw:measure    Datatypes string  - string    @@ -28817,15 +28818,14 @@

    svg:y1[2] Attribute

    Parent Elements - draw:connector  - draw:line  - draw:measure  + svg:linearGradient    Datatypes string  + string    @@ -28841,14 +28841,15 @@

    svg:y2[1] Attribute

    Parent Elements - svg:linearGradient  + draw:connector  + draw:line  + draw:measure    Datatypes string  - string    @@ -28864,15 +28865,14 @@

    svg:y2[2] Attribute

    Parent Elements - draw:connector  - draw:line  - draw:measure  + svg:linearGradient    Datatypes string  + string    @@ -29552,20 +29552,17 @@

    table:data-type[1] Attribute

    Parent Elements - table:sort-by  - table:sort-groups  + table:filter-condition    Datatypes - string    Values - "automatic"  "number"  "text"    @@ -29578,17 +29575,20 @@

    table:data-type[2] Attribute

    Parent Elements - table:filter-condition  + table:sort-by  + table:sort-groups    Datatypes + string    Values + "automatic"  "number"  "text"    @@ -30973,22 +30973,28 @@

    table:name[1] Attribute

    Parent Elements - table:operation  + table:cell-range-source  + table:content-validation  + table:data-pilot-group  + table:data-pilot-group-member  + table:data-pilot-member  + table:data-pilot-table  + table:database-range  + table:named-expression  + table:named-range  + table:source-service  + table:table    Datatypes + string    Values - "remove-dependents"  - "remove-precedents"  - "trace-dependents"  - "trace-errors"  - "trace-precedents"    @@ -30999,28 +31005,22 @@

    table:name[2] Attribute

    Parent Elements - table:cell-range-source  - table:content-validation  - table:data-pilot-group  - table:data-pilot-group-member  - table:data-pilot-member  - table:data-pilot-table  - table:database-range  - table:named-expression  - table:named-range  - table:source-service  - table:table  + table:operation    Datatypes - string    Values + "remove-dependents"  + "remove-precedents"  + "trace-dependents"  + "trace-errors"  + "trace-precedents"    @@ -31652,19 +31652,19 @@

    table:refresh-delay[1] Attribute Parent Elements - table:database-range  + table:cell-range-source  + table:table-source    Datatypes + duration    Values - "false"  - "true"    @@ -31675,19 +31675,19 @@

    table:refresh-delay[2] Attribute Parent Elements - table:cell-range-source  - table:table-source  + table:database-range    Datatypes - duration    Values + "false"  + "true"    @@ -31886,7 +31886,9 @@

    table:sort-mode[1] Attribute

    Values - "data"  + "manual"  + "name"  + "none"    @@ -31908,9 +31910,7 @@

    table:sort-mode[2] Attribute

    Values - "manual"  - "name"  - "none"  + "data"    @@ -32400,7 +32400,8 @@

    table:type[1] Attribute

    Parent Elements - table:data-pilot-field-reference  + table:deletion  + table:insertion    @@ -32411,15 +32412,9 @@

    table:type[1] Attribute

    Values - "column-percentage"  - "index"  - "member-difference"  - "member-percentage"  - "member-percentage-difference"  - "none"  - "row-percentage"  - "running-total"  - "total-percentage"  + "column"  + "row"  + "table"    @@ -32430,8 +32425,7 @@

    table:type[2] Attribute

    Parent Elements - table:deletion  - table:insertion  + table:data-pilot-field-reference    @@ -32442,9 +32436,15 @@

    table:type[2] Attribute

    Values - "column"  - "row"  - "table"  + "column-percentage"  + "index"  + "member-difference"  + "member-percentage"  + "member-percentage-difference"  + "none"  + "row-percentage"  + "running-total"  + "total-percentage"    @@ -33620,14 +33620,15 @@

    text:date-value[1] Attribute

    Parent Elements - text:modification-date  - text:print-date  + text:creation-date  + text:date    Datatypes date  + dateTime    @@ -33643,15 +33644,14 @@

    text:date-value[2] Attribute

    Parent Elements - text:creation-date  - text:date  + text:modification-date  + text:print-date    Datatypes date  - dateTime    @@ -33711,9 +33711,7 @@

    text:display[1] Attribute

    Parent Elements - text:expression  - text:table-formula  - text:variable-get  + text:chapter    @@ -33724,8 +33722,11 @@

    text:display[1] Attribute

    Values - "formula"  - "value"  + "name"  + "number"  + "number-and-name"  + "plain-number"  + "plain-number-and-name"    @@ -33736,7 +33737,7 @@

    text:display[2] Attribute

    Parent Elements - text:chapter  + text:user-field-get    @@ -33747,11 +33748,9 @@

    text:display[2] Attribute

    Values - "name"  - "number"  - "number-and-name"  - "plain-number"  - "plain-number-and-name"  + "formula"  + "none"  + "value"    @@ -33762,7 +33761,9 @@

    text:display[3] Attribute

    Parent Elements - text:user-field-get  + text:expression  + text:table-formula  + text:variable-get    @@ -33774,7 +33775,6 @@

    text:display[3] Attribute

    Values "formula"  - "none"  "value"    @@ -33786,7 +33786,8 @@

    text:display[4] Attribute

    Parent Elements - text:section  + text:variable-input  + text:variable-set    @@ -33798,7 +33799,7 @@

    text:display[4] Attribute

    Values "none"  - "true"  + "value"    @@ -33809,8 +33810,7 @@

    text:display[5] Attribute

    Parent Elements - text:variable-input  - text:variable-set  + text:file-name    @@ -33821,8 +33821,10 @@

    text:display[5] Attribute

    Values - "none"  - "value"  + "full"  + "name"  + "name-and-extension"  + "path"    @@ -33833,7 +33835,7 @@

    text:display[6] Attribute

    Parent Elements - text:file-name  + text:section    @@ -33844,10 +33846,8 @@

    text:display[6] Attribute

    Values - "full"  - "name"  - "name-and-extension"  - "path"  + "none"  + "true"    @@ -35683,14 +35683,16 @@

    text:start-value[1] Attribute

    Parent Elements - text:list-level-style-number  - text:outline-level-style  + text:h  + text:list-item  + text:notes-configuration  + text:numbered-paragraph    Datatypes - positiveInteger  + nonNegativeInteger    @@ -35706,16 +35708,14 @@

    text:start-value[2] Attribute

    Parent Elements - text:h  - text:list-item  - text:notes-configuration  - text:numbered-paragraph  + text:list-level-style-number  + text:outline-level-style    Datatypes - nonNegativeInteger  + positiveInteger    @@ -36669,12 +36669,16 @@

    xlink:show[1] Attribute

    Parent Elements - draw:a  - draw:area-circle  - draw:area-polygon  - draw:area-rectangle  - presentation:sound  - text:a  + draw:applet  + draw:fill-image  + draw:floating-frame  + draw:image  + draw:object  + draw:object-ole  + draw:plugin  + presentation:event-listener  + text:list-level-style-image  + text:section-source    @@ -36685,8 +36689,7 @@

    xlink:show[1] Attribute

    Values - "new"  - "replace"  + "embed"    @@ -36697,16 +36700,12 @@

    xlink:show[2] Attribute

    Parent Elements - draw:applet  - draw:fill-image  - draw:floating-frame  - draw:image  - draw:object  - draw:object-ole  - draw:plugin  - presentation:event-listener  - text:list-level-style-image  - text:section-source  + draw:a  + draw:area-circle  + draw:area-polygon  + draw:area-rectangle  + presentation:sound  + text:a    @@ -36717,7 +36716,8 @@

    xlink:show[2] Attribute

    Values - "embed"  + "new"  + "replace"    diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odf-reference/odf-schema-1.2/OdfReference.html b/generator/schema2template/src/test/resources/test-reference/odf/generation/odf-reference/odf-schema-1.2/OdfReference.html index 2719e1d59c..663df8e07f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odf-reference/odf-schema-1.2/OdfReference.html +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odf-reference/odf-schema-1.2/OdfReference.html @@ -674,8 +674,8 @@

    chart:chart Element

    chart:column-mapping  chart:row-mapping  chart:style-name  - svg:height[2]  - svg:width[1]  + svg:height[1]  + svg:width[2]  xlink:href  xlink:type  xml:id  @@ -708,8 +708,8 @@

    chart:data-label Element (new Attributes chart:style-name  - svg:x[2]  - svg:y[2]  + svg:x[1]  + svg:y[1]    @@ -783,8 +783,8 @@

    chart:equation Element (new in O chart:display-equation  chart:display-r-square  chart:style-name  - svg:x[2]  - svg:y[2]  + svg:x[1]  + svg:y[1]    @@ -831,7 +831,7 @@

    chart:floor Element

    Attributes chart:style-name  - svg:width[1]  + svg:width[2]    @@ -854,8 +854,8 @@

    chart:footer Element

    Attributes chart:style-name  - svg:x[2]  - svg:y[2]  + svg:x[1]  + svg:y[1]  table:cell-range    @@ -931,8 +931,8 @@

    chart:legend Element

    style:legend-expansion[1]  style:legend-expansion[2]  style:legend-expansion-aspect-ratio  - svg:x[2]  - svg:y[2]  + svg:x[1]  + svg:y[1]    @@ -990,10 +990,10 @@

    chart:plot-area Element

    dr3d:vpn  dr3d:vrp  dr3d:vup  - svg:height[2]  - svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:height[1]  + svg:width[2]  + svg:x[1]  + svg:y[1]  table:cell-range-address[2]  xml:id    @@ -1148,8 +1148,8 @@

    chart:subtitle Element

    Attributes chart:style-name  - svg:x[2]  - svg:y[2]  + svg:x[1]  + svg:y[1]  table:cell-range    @@ -1197,8 +1197,8 @@

    chart:title Element

    Attributes chart:style-name  - svg:x[2]  - svg:y[2]  + svg:x[1]  + svg:y[1]  table:cell-range    @@ -1223,7 +1223,7 @@

    chart:wall Element

    Attributes chart:style-name  - svg:width[1]  + svg:width[2]    @@ -1465,11 +1465,11 @@

    db:column Element (new in ODF 1.2) office:value  office:value-type[1]  office:value-type[2]  + office:value-type[3]  office:value-type[4]  office:value-type[5]  office:value-type[6]  office:value-type[7]  - office:value-type[9]    @@ -1507,11 +1507,11 @@

    db:column-definition Element&nb office:value  office:value-type[1]  office:value-type[2]  + office:value-type[3]  office:value-type[4]  office:value-type[5]  office:value-type[6]  office:value-type[7]  - office:value-type[9]    @@ -1584,9 +1584,9 @@

    db:component Element (new in ODF 1 db:description  db:name  db:title  - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type    @@ -1663,9 +1663,9 @@

    db:connection-resource Element Attributes - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type    @@ -2761,7 +2761,7 @@

    dr3d:cube Element

    dr3d:min-edge  dr3d:transform  draw:class-names  - draw:id[1]  + draw:id[2]  draw:layer  draw:style-name  draw:z-index  @@ -2791,7 +2791,7 @@

    dr3d:extrude Element

    dr3d:transform  draw:class-names  - draw:id[1]  + draw:id[2]  draw:layer  draw:style-name  draw:z-index  @@ -2849,7 +2849,7 @@

    dr3d:rotate Element

    dr3d:transform  draw:class-names  - draw:id[1]  + draw:id[2]  draw:layer  draw:style-name  draw:z-index  @@ -2915,16 +2915,16 @@

    dr3d:scene Element

    dr3d:vup  draw:caption-id  draw:class-names  - draw:id[1]  + draw:id[2]  draw:layer  draw:style-name  draw:z-index  presentation:class-names  presentation:style-name  - svg:height[2]  - svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:height[1]  + svg:width[2]  + svg:x[1]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -2966,7 +2966,7 @@

    dr3d:sphere Element

    dr3d:size  dr3d:transform  draw:class-names  - draw:id[1]  + draw:id[2]  draw:layer  draw:style-name  draw:z-index  @@ -3019,9 +3019,9 @@

    draw:a Element

    office:server-map  office:target-frame-name  office:title  - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  - xlink:show[1]  + xlink:show[2]  xlink:type  xml:id    @@ -3066,7 +3066,7 @@

    draw:applet Element

    draw:code  draw:may-script  draw:object  - xlink:actuate[2]  + xlink:actuate[1]  xlink:href  xlink:show[3]  xlink:type  @@ -3096,11 +3096,11 @@

    draw:area-circle Element

    draw:nohref  office:name  office:target-frame-name  - svg:cx[1]  + svg:cx[2]  svg:cy[1]  - svg:r[2]  + svg:r[1]  xlink:href  - xlink:show[1]  + xlink:show[2]  xlink:type    @@ -3130,13 +3130,13 @@

    draw:area-polygon Element

    draw:points  office:name  office:target-frame-name  - svg:height[2]  + svg:height[1]  svg:viewBox  - svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:width[2]  + svg:x[1]  + svg:y[1]  xlink:href  - xlink:show[1]  + xlink:show[2]  xlink:type    @@ -3165,12 +3165,12 @@

    draw:area-rectangle Element

    draw:nohref  office:name  office:target-frame-name  - svg:height[2]  - svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:height[1]  + svg:width[2]  + svg:x[1]  + svg:y[1]  xlink:href  - xlink:show[1]  + xlink:show[2]  xlink:type    @@ -3223,7 +3223,7 @@

    draw:caption Element

    draw:caption-point-y  draw:class-names  draw:corner-radius  - draw:id[1]  + draw:id[2]  draw:layer  draw:name[1]  draw:style-name  @@ -3232,10 +3232,10 @@

    draw:caption Element

    draw:z-index  presentation:class-names  presentation:style-name  - svg:height[2]  - svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:height[1]  + svg:width[2]  + svg:x[1]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -3295,7 +3295,7 @@

    draw:circle Element

    draw:caption-id  draw:class-names  draw:end-angle  - draw:id[1]  + draw:id[2]  draw:kind  draw:layer  draw:name[1]  @@ -3306,13 +3306,13 @@

    draw:circle Element

    draw:z-index  presentation:class-names  presentation:style-name  - svg:cx[1]  + svg:cx[2]  svg:cy[1]  - svg:height[2]  - svg:r[2]  - svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:height[1]  + svg:r[1]  + svg:width[2]  + svg:x[1]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -3373,7 +3373,7 @@

    draw:connector Element

    draw:class-names  draw:end-glue-point  draw:end-shape  - draw:id[1]  + draw:id[2]  draw:layer  draw:line-skew  draw:name[1]  @@ -3428,9 +3428,9 @@

    draw:contour-path Element

    draw:recreate-on-edit  svg:d  - svg:height[2]  + svg:height[1]  svg:viewBox  - svg:width[1]  + svg:width[2]    @@ -3454,9 +3454,9 @@

    draw:contour-polygon Element draw:points  draw:recreate-on-edit  - svg:height[2]  + svg:height[1]  svg:viewBox  - svg:width[1]  + svg:width[2]    @@ -3503,7 +3503,7 @@

    draw:control Element

    draw:caption-id  draw:class-names  draw:control  - draw:id[1]  + draw:id[2]  draw:layer  draw:name[1]  draw:style-name  @@ -3512,10 +3512,10 @@

    draw:control Element

    draw:z-index  presentation:class-names  presentation:style-name  - svg:height[2]  - svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:height[1]  + svg:width[2]  + svg:x[1]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -3573,7 +3573,7 @@

    draw:custom-shape Element

    draw:class-names  draw:data  draw:engine  - draw:id[1]  + draw:id[2]  draw:layer  draw:name[1]  draw:style-name  @@ -3582,10 +3582,10 @@

    draw:custom-shape Element

    draw:z-index  presentation:class-names  presentation:style-name  - svg:height[2]  - svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:height[1]  + svg:width[2]  + svg:x[1]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -3646,7 +3646,7 @@

    draw:ellipse Element

    draw:caption-id  draw:class-names  draw:end-angle  - draw:id[1]  + draw:id[2]  draw:kind  draw:layer  draw:name[1]  @@ -3657,14 +3657,14 @@

    draw:ellipse Element

    draw:z-index  presentation:class-names  presentation:style-name  - svg:cx[1]  + svg:cx[2]  svg:cy[1]  - svg:height[2]  - svg:rx[2]  + svg:height[1]  + svg:rx[1]  svg:ry[1]  - svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:width[2]  + svg:x[1]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -3790,9 +3790,9 @@

    draw:fill-image Element

    draw:display-name  draw:name[2]  - svg:height[2]  - svg:width[1]  - xlink:actuate[2]  + svg:height[1]  + svg:width[2]  + xlink:actuate[1]  xlink:href  xlink:show[3]  xlink:type  @@ -3818,7 +3818,7 @@

    draw:floating-frame Element

    Attributes draw:frame-name  - xlink:actuate[2]  + xlink:actuate[1]  xlink:href  xlink:show[3]  xlink:type  @@ -3870,7 +3870,7 @@

    draw:frame Element

    draw:caption-id  draw:class-names  draw:copy-of  - draw:id[1]  + draw:id[2]  draw:layer  draw:name[1]  draw:style-name  @@ -3883,11 +3883,11 @@

    draw:frame Element

    presentation:style-name  presentation:user-transformed  style:rel-height  - style:rel-width[1]  - svg:height[2]  - svg:width[1]  - svg:x[2]  - svg:y[2]  + style:rel-width[3]  + svg:height[1]  + svg:width[2]  + svg:x[1]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -3955,13 +3955,13 @@

    draw:g Element

    draw:caption-id  draw:class-names  - draw:id[1]  + draw:id[2]  draw:name[1]  draw:style-name  draw:z-index  presentation:class-names  presentation:style-name  - svg:y[2]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -4029,9 +4029,9 @@

    draw:glue-point Element

    draw:align  draw:escape-direction  - draw:id[2]  - svg:x[1]  - svg:y[1]  + draw:id[1]  + svg:x[2]  + svg:y[2]    @@ -4119,7 +4119,7 @@

    draw:hatch Element

    draw:color  draw:display-name  - draw:distance[2]  + draw:distance[1]  draw:name[2]  draw:rotation  draw:style[2]  @@ -4145,7 +4145,7 @@

    draw:image Element

    Attributes draw:filter-name  - xlink:actuate[2]  + xlink:actuate[1]  xlink:href  xlink:show[3]  xlink:type  @@ -4272,7 +4272,7 @@

    draw:line Element

    draw:caption-id  draw:class-names  - draw:id[1]  + draw:id[2]  draw:layer  draw:name[1]  draw:style-name  @@ -4368,7 +4368,7 @@

    draw:measure Element

    draw:caption-id  draw:class-names  - draw:id[1]  + draw:id[2]  draw:layer  draw:name[1]  draw:style-name  @@ -4416,7 +4416,7 @@

    draw:object Element

    Attributes draw:notify-on-update-of-ranges  - xlink:actuate[2]  + xlink:actuate[1]  xlink:href  xlink:show[3]  xlink:type  @@ -4445,7 +4445,7 @@

    draw:object-ole Element

    Attributes draw:class-id  - xlink:actuate[2]  + xlink:actuate[1]  xlink:href  xlink:show[3]  xlink:type  @@ -4503,7 +4503,7 @@

    draw:page Element

    Attributes - draw:id[1]  + draw:id[2]  draw:master-page-name  draw:name[1]  draw:nav-order  @@ -4593,7 +4593,7 @@

    draw:page-thumbnail Element

    draw:caption-id  draw:class-names  - draw:id[1]  + draw:id[2]  draw:layer  draw:name[1]  draw:page-number  @@ -4605,10 +4605,10 @@

    draw:page-thumbnail Element

    presentation:placeholder  presentation:style-name  presentation:user-transformed  - svg:height[2]  - svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:height[1]  + svg:width[2]  + svg:x[1]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -4687,7 +4687,7 @@

    draw:path Element

    draw:caption-id  draw:class-names  - draw:id[1]  + draw:id[2]  draw:layer  draw:name[1]  draw:style-name  @@ -4697,11 +4697,11 @@

    draw:path Element

    presentation:class-names  presentation:style-name  svg:d  - svg:height[2]  + svg:height[1]  svg:viewBox  - svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:width[2]  + svg:x[1]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -4737,7 +4737,7 @@

    draw:plugin Element

    Attributes draw:mime-type  - xlink:actuate[2]  + xlink:actuate[1]  xlink:href  xlink:show[3]  xlink:type  @@ -4788,7 +4788,7 @@

    draw:polygon Element

    draw:caption-id  draw:class-names  - draw:id[1]  + draw:id[2]  draw:layer  draw:name[1]  draw:points  @@ -4798,11 +4798,11 @@

    draw:polygon Element

    draw:z-index  presentation:class-names  presentation:style-name  - svg:height[2]  + svg:height[1]  svg:viewBox  - svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:width[2]  + svg:x[1]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -4861,7 +4861,7 @@

    draw:polyline Element

    draw:caption-id  draw:class-names  - draw:id[1]  + draw:id[2]  draw:layer  draw:name[1]  draw:points  @@ -4871,11 +4871,11 @@

    draw:polyline Element

    draw:z-index  presentation:class-names  presentation:style-name  - svg:height[2]  + svg:height[1]  svg:viewBox  - svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:width[2]  + svg:x[1]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -4935,7 +4935,7 @@

    draw:rect Element

    draw:caption-id  draw:class-names  draw:corner-radius  - draw:id[1]  + draw:id[2]  draw:layer  draw:name[1]  draw:style-name  @@ -4944,12 +4944,12 @@

    draw:rect Element

    draw:z-index  presentation:class-names  presentation:style-name  - svg:height[2]  - svg:rx[1]  + svg:height[1]  + svg:rx[2]  svg:ry[2]  - svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:width[2]  + svg:x[1]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -5011,7 +5011,7 @@

    draw:regular-polygon Elementdraw:concave[1]  draw:concave[2]  draw:corners  - draw:id[1]  + draw:id[2]  draw:layer  draw:name[1]  draw:sharpness  @@ -5021,10 +5021,10 @@

    draw:regular-polygon Elementdraw:z-index  presentation:class-names  presentation:style-name  - svg:height[2]  - svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:height[1]  + svg:width[2]  + svg:x[1]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -5060,7 +5060,7 @@

    draw:stroke-dash Element

    Attributes draw:display-name  - draw:distance[1]  + draw:distance[2]  draw:dots1  draw:dots1-length  draw:dots2  @@ -5092,7 +5092,7 @@

    draw:text-box Element

    draw:corner-radius  fo:max-height  fo:max-width  - fo:min-height[1]  + fo:min-height[2]  fo:min-width  text:id[1]  xml:id  @@ -5171,7 +5171,7 @@

    form:button Element

    form:tab-stop  form:title  form:toggle  - form:value[1]  + form:value[3]  form:xforms-submission  office:target-frame  xforms:bind  @@ -5218,7 +5218,7 @@

    form:checkbox Element

    form:tab-index  form:tab-stop  form:title  - form:value[1]  + form:value[3]  form:visual-effect  xforms:bind  xml:id  @@ -5283,7 +5283,7 @@

    form:combobox Element

    form:auto-complete  form:control-implementation  form:convert-empty-to-null  - form:current-value[4]  + form:current-value[1]  form:data-field  form:disabled  form:dropdown  @@ -5300,7 +5300,7 @@

    form:combobox Element

    form:tab-index  form:tab-stop  form:title  - form:value[1]  + form:value[3]  xforms:bind  xml:id    @@ -5357,14 +5357,14 @@

    form:date Element

    form:control-implementation  form:convert-empty-to-null  - form:current-value[2]  + form:current-value[4]  form:data-field  form:delay-for-repeat  form:disabled  form:id  form:linked-cell  form:max-length  - form:max-value[3]  + form:max-value[5]  form:min-value[3]  form:name  form:printable  @@ -5374,7 +5374,7 @@

    form:date Element

    form:tab-index  form:tab-stop  form:title  - form:value[2]  + form:value[4]  xforms:bind  xml:id    @@ -5401,7 +5401,7 @@

    form:file Element

    Attributes form:control-implementation  - form:current-value[4]  + form:current-value[1]  form:disabled  form:id  form:linked-cell  @@ -5412,7 +5412,7 @@

    form:file Element

    form:tab-index  form:tab-stop  form:title  - form:value[1]  + form:value[3]  xforms:bind  xml:id    @@ -5493,7 +5493,7 @@

    form:form Element

    form:order  form:tab-cycle  office:target-frame  - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  xlink:type    @@ -5545,15 +5545,15 @@

    form:formatted-text Element

    form:control-implementation  form:convert-empty-to-null  - form:current-value[4]  + form:current-value[1]  form:data-field  form:delay-for-repeat  form:disabled  form:id  form:linked-cell  form:max-length  - form:max-value[5]  - form:min-value[2]  + form:max-value[2]  + form:min-value[1]  form:name  form:printable  form:readonly  @@ -5563,7 +5563,7 @@

    form:formatted-text Element

    form:tab-stop  form:title  form:validation  - form:value[1]  + form:value[3]  xforms:bind  xml:id    @@ -5687,7 +5687,7 @@

    form:hidden Element

    form:control-implementation  form:id  form:name  - form:value[1]  + form:value[3]  xforms:bind  xml:id    @@ -5723,7 +5723,7 @@

    form:image Element

    form:tab-index  form:tab-stop  form:title  - form:value[1]  + form:value[3]  office:target-frame  xforms:bind  xlink:href  @@ -5816,7 +5816,7 @@

    form:list-property Element

    office:value-type[5]  office:value-type[6]  office:value-type[7]  - office:value-type[9]  + office:value-type[8]    @@ -5846,7 +5846,7 @@

    form:list-value[1] Element

    Attributes - office:string-value  + office:value    @@ -5869,7 +5869,7 @@

    form:list-value[2] Element

    Attributes - office:value  + office:date-value    @@ -5892,7 +5892,7 @@

    form:list-value[3] Element

    Attributes - office:value  + office:string-value    @@ -5915,7 +5915,7 @@

    form:list-value[4] Element

    Attributes - office:date-value  + office:boolean-value    @@ -5985,7 +5985,7 @@

    form:list-value[7] Element

    Attributes - office:boolean-value  + office:value    @@ -6064,7 +6064,7 @@

    form:number Element

    form:linked-cell  form:max-length  form:max-value[4]  - form:min-value[1]  + form:min-value[5]  form:name  form:printable  form:readonly  @@ -6073,7 +6073,7 @@

    form:number Element

    form:tab-index  form:tab-stop  form:title  - form:value[3]  + form:value[2]  xforms:bind  xml:id    @@ -6103,7 +6103,7 @@

    form:option Element

    form:current-selected  form:label  form:selected  - form:value[1]  + form:value[3]    @@ -6137,7 +6137,7 @@

    form:password Element

    form:tab-index  form:tab-stop  form:title  - form:value[1]  + form:value[3]  xforms:bind  xml:id    @@ -6221,7 +6221,7 @@

    form:property Element

    office:value-type[5]  office:value-type[6]  office:value-type[7]  - office:value-type[9]  + office:value-type[8]    @@ -6259,7 +6259,7 @@

    form:radio Element

    form:tab-index  form:tab-stop  form:title  - form:value[1]  + form:value[3]  form:visual-effect  xforms:bind  xml:id  @@ -6289,7 +6289,7 @@

    form:text Element

    form:control-implementation  form:convert-empty-to-null  - form:current-value[4]  + form:current-value[1]  form:data-field  form:disabled  form:id  @@ -6301,7 +6301,7 @@

    form:text Element

    form:tab-index  form:tab-stop  form:title  - form:value[1]  + form:value[3]  xforms:bind  xml:id    @@ -6330,7 +6330,7 @@

    form:textarea Element

    form:control-implementation  form:convert-empty-to-null  - form:current-value[4]  + form:current-value[1]  form:data-field  form:disabled  form:id  @@ -6342,7 +6342,7 @@

    form:textarea Element

    form:tab-index  form:tab-stop  form:title  - form:value[1]  + form:value[3]  xforms:bind  xml:id    @@ -6372,7 +6372,7 @@

    form:time Element

    form:control-implementation  form:convert-empty-to-null  - form:current-value[1]  + form:current-value[2]  form:data-field  form:delay-for-repeat  form:disabled  @@ -6389,7 +6389,7 @@

    form:time Element

    form:tab-index  form:tab-stop  form:title  - form:value[4]  + form:value[1]  xforms:bind  xml:id    @@ -6420,8 +6420,8 @@

    form:value-range Element

    form:disabled  form:id  form:linked-cell  - form:max-value[2]  - form:min-value[5]  + form:max-value[3]  + form:min-value[2]  form:name  form:orientation  form:page-step-size  @@ -6431,7 +6431,7 @@

    form:value-range Element

    form:tab-index  form:tab-stop  form:title  - form:value[1]  + form:value[3]  xforms:bind  xml:id    @@ -6483,7 +6483,7 @@

    meta:auto-reload Element (new Attributes meta:delay  - xlink:actuate[2]  + xlink:actuate[1]  xlink:href  xlink:show[4]  xlink:type  @@ -6650,7 +6650,7 @@

    meta:hyperlink-behaviour Elemen Attributes office:target-frame-name  - xlink:show[1]  + xlink:show[2]    @@ -6757,7 +6757,7 @@

    meta:template Element (new in ODF Attributes meta:date  - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  xlink:title  xlink:type  @@ -7562,7 +7562,7 @@

    office:annotation Element

    draw:caption-point-y  draw:class-names  draw:corner-radius  - draw:id[1]  + draw:id[2]  draw:layer  draw:name[1]  draw:style-name  @@ -7573,10 +7573,10 @@

    office:annotation Element

    office:name  presentation:class-names  presentation:style-name  - svg:height[2]  - svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:height[1]  + svg:width[2]  + svg:x[1]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -8625,7 +8625,7 @@

    presentation:event-listener presentation:start-scale  presentation:verb  script:event-name  - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  xlink:show[3]  xlink:type  @@ -8858,10 +8858,10 @@

    presentation:placeholder Elemen Attributes presentation:object  - svg:height[1]  - svg:width[2]  - svg:x[1]  - svg:y[1]  + svg:height[2]  + svg:width[1]  + svg:x[2]  + svg:y[2]    @@ -9033,9 +9033,9 @@

    presentation:sound Element

    Attributes presentation:play-full  - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  - xlink:show[1]  + xlink:show[2]  xlink:type  xml:id    @@ -9062,7 +9062,7 @@

    script:event-listener Element< script:event-name  script:language  script:macro-name  - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  xlink:type    @@ -9097,7 +9097,7 @@

    style:background-image Elementstyle:filter-name  style:position[1]  style:repeat  - xlink:actuate[2]  + xlink:actuate[1]  xlink:href  xlink:show[3]  xlink:type  @@ -9222,7 +9222,7 @@

    style:column Element (new in ODF 1 fo:space-after  fo:space-before  fo:start-indent  - style:rel-width[3]  + style:rel-width[1]    @@ -9247,8 +9247,8 @@

    style:column-sep Element (new style:color  style:height  style:style  - style:vertical-align[1]  - style:width[1]  + style:vertical-align[3]  + style:width[2]    @@ -9630,7 +9630,7 @@

    style:footnote-sep Element ( style:distance-before-sep  style:line-style  style:rel-width[2]  - style:width[1]  + style:width[2]    @@ -9768,12 +9768,12 @@

    style:graphic-properties Elemen fo:clip  fo:margin  fo:margin-bottom  - fo:margin-left[2]  + fo:margin-left[1]  fo:margin-right  fo:margin-top  fo:max-height  fo:max-width  - fo:min-height[1]  + fo:min-height[2]  fo:min-width  fo:padding  fo:padding-bottom  @@ -9797,7 +9797,7 @@

    style:graphic-properties Elemen style:print-content  style:protect[1]  style:rel-height  - style:rel-width[1]  + style:rel-width[3]  style:repeat  style:run-through  style:shadow  @@ -9810,14 +9810,14 @@

    style:graphic-properties Elemen style:wrap-dynamic-threshold  style:writing-mode  svg:fill-rule  - svg:height[2]  + svg:height[1]  svg:stroke-color  svg:stroke-linecap  svg:stroke-opacity  svg:stroke-width  - svg:width[1]  - svg:x[2]  - svg:y[2]  + svg:width[2]  + svg:x[1]  + svg:y[1]  text:anchor-page-number  text:anchor-type  text:animation  @@ -9952,10 +9952,10 @@

    style:header-footer-prope fo:border-top  fo:margin  fo:margin-bottom  - fo:margin-left[2]  + fo:margin-left[1]  fo:margin-right  fo:margin-top  - fo:min-height[2]  + fo:min-height[1]  fo:padding  fo:padding-bottom  fo:padding-left  @@ -9968,7 +9968,7 @@

    style:header-footer-prope style:border-line-width-top  style:dynamic-spacing  style:shadow  - svg:height[2]  + svg:height[1]    @@ -10061,8 +10061,8 @@

    style:list-level-label- Attributes - fo:margin-left[1]  - fo:text-indent[1]  + fo:margin-left[2]  + fo:text-indent[2]  text:label-followed-by  text:list-tab-stop-position    @@ -10095,7 +10095,7 @@

    style:list-level-properties style:font-name  style:vertical-pos  style:vertical-rel  - svg:y[2]  + svg:y[1]  text:list-level-position-and-space-mode  text:min-label-distance  text:min-label-width  @@ -10250,7 +10250,7 @@

    style:page-layout-propertie fo:border-top  fo:margin  fo:margin-bottom  - fo:margin-left[2]  + fo:margin-left[1]  fo:margin-right  fo:margin-top  fo:padding  @@ -10333,7 +10333,7 @@

    style:paragraph-properties El fo:line-height  fo:margin  fo:margin-bottom  - fo:margin-left[2]  + fo:margin-left[1]  fo:margin-right  fo:margin-top  fo:orphans  @@ -10344,7 +10344,7 @@

    style:paragraph-properties El fo:padding-top  fo:text-align  fo:text-align-last  - fo:text-indent[2]  + fo:text-indent[1]  fo:widows  style:auto-text-indent  style:background-transparency  @@ -10366,7 +10366,7 @@

    style:paragraph-properties El style:snap-to-layout-grid  style:tab-stop-distance  style:text-autospace  - style:vertical-align[3]  + style:vertical-align[1]  style:writing-mode  style:writing-mode-automatic  text:line-number  @@ -10520,7 +10520,7 @@

    style:section-properties Elemen Attributes fo:background-color  - fo:margin-left[2]  + fo:margin-left[1]  fo:margin-right  style:editable  style:protect[2]  @@ -10615,8 +10615,8 @@

    style:tab-stop Element (new in O style:leader-type  style:leader-width  style:position[2]  - style:type[1]  - style:type[2]  + style:type[3]  + style:type[4]    @@ -10751,14 +10751,14 @@

    style:table-properties Elementfo:keep-with-next  fo:margin  fo:margin-bottom  - fo:margin-left[2]  + fo:margin-left[1]  fo:margin-right  fo:margin-top  style:may-break-between-rows  style:page-number  style:rel-width[2]  style:shadow  - style:width[2]  + style:width[1]  style:writing-mode  table:align  table:border-model  @@ -10909,9 +10909,9 @@

    style:text-properties Element< style:text-underline-width  style:use-window-font-color  text:condition[1]  - text:display[3]  text:display[8]  text:display[9]  + text:display[10]    @@ -10933,7 +10933,7 @@

    svg:definition-src Element

    Attributes - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  xlink:type    @@ -11067,7 +11067,7 @@

    svg:font-face-uri Element

    Attributes - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  xlink:type    @@ -11125,13 +11125,13 @@

    svg:radialGradient Element

    draw:display-name  draw:name[2]  - svg:cx[2]  + svg:cx[1]  svg:cy[2]  svg:fx  svg:fy  svg:gradientTransform  svg:gradientUnits  - svg:r[1]  + svg:r[2]  svg:spreadMethod    @@ -11387,7 +11387,7 @@

    table:cell-range-source Element< table:last-row-spanned  table:name[1]  table:refresh-delay[2]  - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  xlink:type    @@ -11442,11 +11442,11 @@

    table:change-track-table-c office:value  office:value-type[1]  office:value-type[2]  + office:value-type[3]  office:value-type[4]  office:value-type[5]  office:value-type[6]  office:value-type[7]  - office:value-type[9]  table:cell-address  table:formula  table:matrix-covered  @@ -11478,7 +11478,7 @@

    table:consolidation Element

    Attributes - table:function[1]  + table:function[2]  table:link-to-source-data  table:source-cell-range-addresses  table:target-cell-address  @@ -11568,11 +11568,11 @@

    table:covered-table-cell Elemen office:value  office:value-type[1]  office:value-type[2]  + office:value-type[3]  office:value-type[4]  office:value-type[5]  office:value-type[6]  office:value-type[7]  - office:value-type[9]  table:content-validation-name  table:formula  table:number-columns-repeated  @@ -11691,9 +11691,9 @@

    table:data-pilot-field Element Attributes - table:function[2]  + table:function[1]  table:is-data-layout-field  - table:orientation[2]  + table:orientation[1]  table:orientation[3]  table:selected-page  table:source-field-name  @@ -11726,7 +11726,7 @@

    table:data-pilot-field- table:member-name  table:member-type[1]  table:member-type[2]  - table:type[1]  + table:type[2]    @@ -11943,7 +11943,7 @@

    table:data-pilot-subtotal Elem Attributes - table:function[2]  + table:function[1]    @@ -12056,7 +12056,7 @@

    table:database-range Elementtable:name[1]  table:on-update-keep-size  table:on-update-keep-styles  - table:orientation[1]  + table:orientation[2]  table:refresh-delay[1]  table:target-range-address    @@ -12240,7 +12240,7 @@

    table:deletion Element

    table:position  table:rejecting-change-id  table:table  - table:type[2]  + table:type[1]    @@ -12534,7 +12534,7 @@

    table:filter-condition ElementAttributes table:case-sensitive[1]  - table:data-type[2]  + table:data-type[1]  table:field-number  table:operator  table:value[2]  @@ -12707,7 +12707,7 @@

    table:insertion Element

    table:position  table:rejecting-change-id  table:table  - table:type[2]  + table:type[1]    @@ -12781,7 +12781,7 @@

    table:label-range Element

    table:data-cell-range-address  table:label-cell-range-address  - table:orientation[1]  + table:orientation[2]    @@ -13220,7 +13220,7 @@

    table:sort-by Element

    Attributes - table:data-type[1]  + table:data-type[2]  table:field-number  table:order    @@ -13244,7 +13244,7 @@

    table:sort-groups Element

    Attributes - table:data-type[1]  + table:data-type[2]  table:order    @@ -13347,7 +13347,7 @@

    table:subtotal-field ElementAttributes table:field-number  - table:function[1]  + table:function[2]    @@ -13496,11 +13496,11 @@

    table:table-cell Element

    office:value  office:value-type[1]  office:value-type[2]  + office:value-type[3]  office:value-type[4]  office:value-type[5]  office:value-type[6]  office:value-type[7]  - office:value-type[9]  table:content-validation-name  table:formula  table:number-columns-repeated  @@ -13789,7 +13789,7 @@

    table:table-source Element

    table:mode  table:refresh-delay[2]  table:table-name  - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  xlink:type    @@ -13938,9 +13938,9 @@

    text:a Element

    office:title  text:style-name  text:visited-style-name  - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  - xlink:show[1]  + xlink:show[2]  xlink:type    @@ -14163,7 +14163,7 @@

    text:alphabetical Attributes - text:outline-level[2]  + text:outline-level[3]  text:style-name    @@ -14630,7 +14630,7 @@

    text:bookmark-ref Element

    Attributes text:ref-name  - text:reference-format[3]  + text:reference-format[2]    @@ -14841,8 +14841,8 @@

    text:chapter Element

    Attributes - text:display[2]  - text:outline-level[3]  + text:display[1]  + text:outline-level[2]    @@ -14967,7 +14967,7 @@

    text:creation-time Element

    style:data-style-name  text:fixed  - text:time-value[2]  + text:time-value[1]    @@ -15493,13 +15493,13 @@

    text:expression Element

    office:value  office:value-type[1]  office:value-type[2]  + office:value-type[3]  office:value-type[4]  office:value-type[5]  office:value-type[6]  office:value-type[7]  - office:value-type[9]  style:data-style-name  - text:display[1]  + text:display[2]  text:formula    @@ -15529,7 +15529,7 @@

    text:file-name Element

    Attributes - text:display[6]  + text:display[4]  text:fixed    @@ -15596,7 +15596,7 @@

    text:h Element

    text:is-list-header  text:outline-level[1]  text:restart-numbering  - text:start-value[1]  + text:start-value[2]  text:style-name  xhtml:about  xhtml:content  @@ -16032,7 +16032,7 @@

    text:index-entry-chapter Elemen Attributes - text:display[2]  + text:display[1]  text:outline-level[1]  text:style-name    @@ -16164,8 +16164,8 @@

    text:index-entry-tab-stop Elem style:leader-char  style:position[2]  - style:type[3]  - style:type[4]  + style:type[1]  + style:type[2]  text:style-name    @@ -16603,7 +16603,7 @@

    text:list-item Element

    Attributes - text:start-value[1]  + text:start-value[2]  text:style-override  xml:id    @@ -16662,7 +16662,7 @@

    text:list-level-style-image Attributes text:level  - xlink:actuate[2]  + xlink:actuate[1]  xlink:href  xlink:show[3]  xlink:type  @@ -16696,7 +16696,7 @@

    text:list-level-style-numbe style:num-suffix  text:display-levels  text:level  - text:start-value[2]  + text:start-value[1]  text:style-name    @@ -17138,7 +17138,7 @@

    text:modification-time Element style:data-style-name  text:fixed  - text:time-value[1]  + text:time-value[2]    @@ -17323,7 +17323,7 @@

    text:note-ref Element

    text:note-class  text:ref-name  - text:reference-format[1]  + text:reference-format[3]    @@ -17358,7 +17358,7 @@

    text:notes-configuration Elemen text:master-page-name  text:note-class  text:start-numbering-at  - text:start-value[1]  + text:start-value[2]    @@ -17417,7 +17417,7 @@

    text:numbered-paragraph Element< text:continue-numbering  text:level  text:list-id  - text:start-value[1]  + text:start-value[2]  text:style-name  xml:id    @@ -17580,7 +17580,7 @@

    text:outline-level-style Elemen style:num-suffix  text:display-levels  text:level  - text:start-value[2]  + text:start-value[1]  text:style-name    @@ -18132,7 +18132,7 @@

    text:print-time Element

    style:data-style-name  text:fixed  - text:time-value[1]  + text:time-value[2]    @@ -18275,7 +18275,7 @@

    text:reference-ref Element

    Attributes text:ref-name  - text:reference-format[3]  + text:reference-format[2]    @@ -18572,8 +18572,8 @@

    text:section Element

    Attributes text:condition[2]  - text:display[3]  - text:display[10]  + text:display[6]  + text:display[8]  text:name  text:protected  text:protection-key  @@ -19195,7 +19195,7 @@

    text:sequence-ref Element

    Attributes text:ref-name  - text:reference-format[2]  + text:reference-format[1]    @@ -19564,7 +19564,7 @@

    text:table-formula Element

    Attributes style:data-style-name  - text:display[1]  + text:display[2]  text:formula    @@ -19852,7 +19852,7 @@

    text:time Element

    style:data-style-name  text:fixed  text:time-adjust  - text:time-value[2]  + text:time-value[1]    @@ -20060,11 +20060,11 @@

    text:user-field-decl Elementoffice:value  office:value-type[1]  office:value-type[2]  + office:value-type[3]  office:value-type[4]  office:value-type[5]  office:value-type[6]  office:value-type[7]  - office:value-type[9]  text:formula  text:name    @@ -20126,7 +20126,7 @@

    text:user-field-get Element

    Attributes style:data-style-name  - text:display[4]  + text:display[3]  text:name    @@ -20371,7 +20371,7 @@

    text:variable-decl Element

    Attributes - office:value-type[8]  + office:value-type[9]  text:name    @@ -20432,7 +20432,7 @@

    text:variable-get Element

    Attributes style:data-style-name  - text:display[1]  + text:display[2]  text:name    @@ -20462,7 +20462,7 @@

    text:variable-input Element

    Attributes - office:value-type[8]  + office:value-type[9]  style:data-style-name  text:description  text:display[7]  @@ -20503,11 +20503,11 @@

    text:variable-set Element

    office:value  office:value-type[1]  office:value-type[2]  + office:value-type[3]  office:value-type[4]  office:value-type[5]  office:value-type[6]  office:value-type[7]  - office:value-type[9]  style:data-style-name  text:display[7]  text:formula  @@ -22439,7 +22439,7 @@

    chart:symbol-type[1] Attribute&n Values - "automatic"  + "image"    @@ -22461,7 +22461,7 @@

    chart:symbol-type[2] Attribute&n Values - "named-symbol"  + "none"    @@ -22483,7 +22483,7 @@

    chart:symbol-type[3] Attribute&n Values - "none"  + "automatic"    @@ -22505,7 +22505,7 @@

    chart:symbol-type[4] Attribute&n Values - "image"  + "named-symbol"    @@ -26090,14 +26090,13 @@

    draw:distance[1] Attribute

    Parent Elements - draw:stroke-dash  + draw:hatch    Datatypes string  - string    @@ -26113,13 +26112,14 @@

    draw:distance[2] Attribute

    Parent Elements - draw:hatch  + draw:stroke-dash    Datatypes string  + string    @@ -27829,6 +27829,28 @@

    draw:id[1] Attribute

    + + + + + + + + + + +
    Parent Elements + draw:glue-point  + 
    Datatypes + nonNegativeInteger  + 
    Values
    +
    +

    draw:id[2] Attribute

    +

    There are more than one Definitions by this name.

    + + +
    Parent Elements dr3d:cube  dr3d:extrude  @@ -27867,28 +27889,6 @@

    draw:id[1] Attribute

     
    -
    -

    draw:id[2] Attribute

    -

    There are more than one Definitions by this name.

    - - - - - - - - - - - - - -
    Parent Elements - draw:glue-point  - 
    Datatypes - nonNegativeInteger  - 
    Values

    draw:image-opacity Attribute (new in ODF 1.2)

    @@ -30705,13 +30705,19 @@

    fo:margin-left[1] Attribute (n

    @@ -30727,19 +30733,13 @@

    fo:margin-left[2] Attribute (n

    @@ -30854,15 +30854,13 @@

    fo:min-height[1] Attribute

    @@ -30878,13 +30876,15 @@

    fo:min-height[2] Attribute

    @@ -31247,13 +31247,14 @@

    fo:text-indent[1] Attribute (n

    @@ -31269,14 +31270,13 @@

    fo:text-indent[2] Attribute (n

    @@ -31765,13 +31765,17 @@

    form:current-value[1] Attribute

    @@ -31787,13 +31791,13 @@

    form:current-value[2] Attribute

    @@ -31831,17 +31835,13 @@

    form:current-value[4] Attribute

    @@ -32295,7 +32295,10 @@

    form:image-position[1] Attribute

    Parent Elements - style:list-level-label-alignment  + style:graphic-properties  + style:header-footer-properties  + style:page-layout-properties  + style:paragraph-properties  + style:section-properties  + style:table-properties   
    Datatypes string  + string   
    Parent Elements - style:graphic-properties  - style:header-footer-properties  - style:page-layout-properties  - style:paragraph-properties  - style:section-properties  - style:table-properties  + style:list-level-label-alignment   
    Datatypes string  - string   
    Parent Elements - draw:text-box  - style:graphic-properties  + style:header-footer-properties   
    Datatypes string  - string   
    Parent Elements - style:header-footer-properties  + draw:text-box  + style:graphic-properties   
    Datatypes string  + string   
    Parent Elements - style:list-level-label-alignment  + style:paragraph-properties   
    Datatypes string  + string   
    Parent Elements - style:paragraph-properties  + style:list-level-label-alignment   
    Datatypes string  - string   
    Parent Elements - form:time  + form:combobox  + form:file  + form:formatted-text  + form:text  + form:textarea   
    Datatypes - time  + string   
    Parent Elements - form:date  + form:time   
    Datatypes - date  + time   
    Parent Elements - form:combobox  - form:file  - form:formatted-text  - form:text  - form:textarea  + form:date   
    Datatypes - string  + date   
    Values - "center"  + "bottom"  + "end"  + "start"  + "top"   
    @@ -32319,10 +32322,7 @@

    form:image-position[2] Attribute Values - "bottom"  - "end"  - "start"  - "top"  + "center"    @@ -32560,13 +32560,13 @@

    form:max-value[2] Attribute

    Parent Elements - form:value-range  + form:formatted-text    Datatypes - integer  + string    @@ -32582,13 +32582,13 @@

    form:max-value[3] Attribute

    Parent Elements - form:date  + form:value-range    Datatypes - date  + integer    @@ -32626,13 +32626,13 @@

    form:max-value[5] Attribute

    Parent Elements - form:formatted-text  + form:date    Datatypes - string  + date    @@ -32671,13 +32671,13 @@

    form:min-value[1] Attribute

    Parent Elements - form:number  + form:formatted-text    Datatypes - double  + string    @@ -32693,13 +32693,13 @@

    form:min-value[2] Attribute

    Parent Elements - form:formatted-text  + form:value-range    Datatypes - string  + integer    @@ -32759,13 +32759,13 @@

    form:min-value[5] Attribute

    Parent Elements - form:value-range  + form:number    Datatypes - integer  + double    @@ -33413,25 +33413,13 @@

    form:value[1] Attribute

    Parent Elements - form:button  - form:checkbox  - form:combobox  - form:file  - form:formatted-text  - form:hidden  - form:image  - form:option  - form:password  - form:radio  - form:text  - form:textarea  - form:value-range  + form:time    Datatypes - string  + time    @@ -33447,13 +33435,13 @@

    form:value[2] Attribute

    Parent Elements - form:date  + form:number    Datatypes - date  + double    @@ -33469,13 +33457,25 @@

    form:value[3] Attribute

    Parent Elements - form:number  + form:button  + form:checkbox  + form:combobox  + form:file  + form:formatted-text  + form:hidden  + form:image  + form:option  + form:password  + form:radio  + form:text  + form:textarea  + form:value-range    Datatypes - double  + string    @@ -33491,13 +33491,13 @@

    form:value[4] Attribute

    Parent Elements - form:time  + form:date    Datatypes - time  + date    @@ -33971,7 +33971,7 @@

    meta:value-type[1] Attribute  Values - "time"  + "string"    @@ -33992,33 +33992,33 @@

    meta:value-type[2] Attribute  Values - - "float"  -  - - -
    -

    meta:value-type[3] Attribute (new in ODF 1.2)

    -

    There are more than one Definitions by this name.

    - - - - - - - - - - -
    Parent Elements - meta:user-defined  - 
    Datatypes
    Values "boolean"   
    +
    +

    meta:value-type[3] Attribute (new in ODF 1.2)

    +

    There are more than one Definitions by this name.

    + + + + + + + + + + + + + +
    Parent Elements + meta:user-defined  + 
    Datatypes
    Values + "float"  + 

    meta:value-type[4] Attribute (new in ODF 1.2)

    There are more than one Definitions by this name.

    @@ -34059,7 +34059,7 @@

    meta:value-type[5] Attribute  Values - "string"  + "time"    @@ -34758,7 +34758,7 @@

    office:boolean-value Attribute db:column  db:column-definition  - form:list-value[7]  + form:list-value[4]  form:property  table:change-track-table-cell  table:covered-table-cell  @@ -34843,7 +34843,7 @@

    office:date-value Attribute

    db:column  db:column-definition  - form:list-value[4]  + form:list-value[2]  form:property  table:change-track-table-cell  table:covered-table-cell  @@ -35035,7 +35035,7 @@

    office:string-value Attribute< db:column  db:column-definition  - form:list-value[1]  + form:list-value[3]  form:property  table:change-track-table-cell  table:covered-table-cell  @@ -35176,9 +35176,9 @@

    office:value Attribute

    db:column  db:column-definition  - form:list-value[2]  - form:list-value[3]  + form:list-value[1]  form:list-value[5]  + form:list-value[7]  form:property  table:change-track-table-cell  table:covered-table-cell  @@ -35228,7 +35228,7 @@

    office:value-type[1] Attribute Values - "percentage"  + "string"    @@ -35259,7 +35259,7 @@

    office:value-type[2] Attribute Values - "time"  + "percentage"    @@ -35270,8 +35270,16 @@

    office:value-type[3] Attribute Parent Elements + db:column  + db:column-definition  form:list-property  form:property  + table:change-track-table-cell  + table:covered-table-cell  + table:table-cell  + text:expression  + text:user-field-decl  + text:variable-set    @@ -35282,7 +35290,7 @@

    office:value-type[3] Attribute Values - "void"  + "currency"    @@ -35313,7 +35321,7 @@

    office:value-type[4] Attribute Values - "string"  + "time"    @@ -35417,8 +35425,8 @@

    office:value-type[8] Attribute Parent Elements - text:variable-decl  - text:variable-input  + form:list-property  + form:property    @@ -35429,13 +35437,7 @@

    office:value-type[8] Attribute Values - "boolean"  - "currency"  - "date"  - "float"  - "percentage"  - "string"  - "time"  + "void"    @@ -35446,16 +35448,8 @@

    office:value-type[9] Attribute Parent Elements - db:column  - db:column-definition  - form:list-property  - form:property  - table:change-track-table-cell  - table:covered-table-cell  - table:table-cell  - text:expression  - text:user-field-decl  - text:variable-set  + text:variable-decl  + text:variable-input    @@ -35466,7 +35460,13 @@

    office:value-type[9] Attribute Values + "boolean"  "currency"  + "date"  + "float"  + "percentage"  + "string"  + "time"    @@ -38562,7 +38562,8 @@

    style:family[1] Attribute

    Values - "paragraph"  + "graphic"  + "presentation"    @@ -38585,7 +38586,7 @@

    style:family[2] Attribute

    Values - "table-cell"  + "table-row"    @@ -38608,7 +38609,7 @@

    style:family[3] Attribute

    Values - "section"  + "paragraph"    @@ -38631,7 +38632,7 @@

    style:family[4] Attribute

    Values - "table-row"  + "drawing-page"    @@ -38654,7 +38655,7 @@

    style:family[5] Attribute

    Values - "table"  + "table-cell"    @@ -38677,7 +38678,7 @@

    style:family[6] Attribute

    Values - "drawing-page"  + "section"    @@ -38723,7 +38724,7 @@

    style:family[8] Attribute

    Values - "chart"  + "text"    @@ -38746,7 +38747,7 @@

    style:family[9] Attribute

    Values - "text"  + "table"    @@ -38769,7 +38770,7 @@

    style:family[10] Attribute

    Values - "table-column"  + "chart"    @@ -38792,8 +38793,7 @@

    style:family[11] Attribute

    Values - "graphic"  - "presentation"  + "table-column"    @@ -40156,7 +40156,9 @@

    style:legend-expansion[1] Attri Values - "custom"  + "balanced"  + "high"  + "wide"    @@ -40178,9 +40180,7 @@

    style:legend-expansion[2] Attri Values - "balanced"  - "high"  - "wide"  + "custom"    @@ -40599,15 +40599,13 @@

    style:num-format[1] Attribute

    Datatypes - string    Values - "1"  - "I"  - "i"  + "A"  + "a"    @@ -40639,13 +40637,15 @@

    style:num-format[2] Attribute

    Datatypes + string    Values - "A"  - "a"  + "1"  + "I"  + "i"    @@ -41223,8 +41223,7 @@

    style:rel-width[1] Attribute

    Parent Elements - draw:frame  - style:graphic-properties  + style:column    @@ -41236,8 +41235,6 @@

    style:rel-width[1] Attribute

    Values - "scale"  - "scale-min"    @@ -41271,7 +41268,8 @@

    style:rel-width[3] Attribute

    Parent Elements - style:column  + draw:frame  + style:graphic-properties    @@ -41283,6 +41281,8 @@

    style:rel-width[3] Attribute

    Values + "scale"  + "scale-min"    @@ -42493,7 +42493,7 @@

    style:type[1] Attribute

    Parent Elements - style:tab-stop  + text:index-entry-tab-stop    @@ -42504,7 +42504,7 @@

    style:type[1] Attribute

    Values - "char"  + "right"    @@ -42515,7 +42515,7 @@

    style:type[2] Attribute

    Parent Elements - style:tab-stop  + text:index-entry-tab-stop    @@ -42526,9 +42526,7 @@

    style:type[2] Attribute

    Values - "center"  "left"  - "right"    @@ -42539,7 +42537,7 @@

    style:type[3] Attribute

    Parent Elements - text:index-entry-tab-stop  + style:tab-stop    @@ -42550,7 +42548,7 @@

    style:type[3] Attribute

    Values - "right"  + "char"    @@ -42561,7 +42559,7 @@

    style:type[4] Attribute

    Parent Elements - text:index-entry-tab-stop  + style:tab-stop    @@ -42572,7 +42570,9 @@

    style:type[4] Attribute

    Values + "center"  "left"  + "right"    @@ -42649,7 +42649,7 @@

    style:vertical-align[1] Attribute Parent Elements - style:column-sep  + style:paragraph-properties    @@ -42660,6 +42660,8 @@

    style:vertical-align[1] Attribute Values + "auto"  + "baseline"  "bottom"  "middle"  "top"  @@ -42698,7 +42700,7 @@

    style:vertical-align[3] Attribute Parent Elements - style:paragraph-properties  + style:column-sep    @@ -42709,8 +42711,6 @@

    style:vertical-align[3] Attribute Values - "auto"  - "baseline"  "bottom"  "middle"  "top"  @@ -42809,8 +42809,7 @@

    style:width[1] Attribute (new in Parent Elements - style:column-sep  - style:footnote-sep  + style:table-properties    @@ -42832,7 +42831,8 @@

    style:width[2] Attribute (new in Parent Elements - style:table-properties  + style:column-sep  + style:footnote-sep    @@ -43106,15 +43106,14 @@

    svg:cx[1] Attribute

    Parent Elements - draw:area-circle  - draw:circle  - draw:ellipse  + svg:radialGradient    Datatypes string  + string    @@ -43130,14 +43129,15 @@

    svg:cx[2] Attribute

    Parent Elements - svg:radialGradient  + draw:area-circle  + draw:circle  + draw:ellipse    Datatypes string  - string    @@ -43525,29 +43525,6 @@

    svg:height[1] Attribute

    - - - - - - - - - - -
    Parent Elements - presentation:placeholder  - 
    Datatypes - string  - string  - 
    Values
    -
    -

    svg:height[2] Attribute

    -

    There are more than one Definitions by this name.

    - - -
    Parent Elements chart:chart  chart:plot-area  @@ -43586,6 +43563,29 @@

    svg:height[2] Attribute

     
    +
    +

    svg:height[2] Attribute

    +

    There are more than one Definitions by this name.

    + + + + + + + + + + + + + +
    Parent Elements + presentation:placeholder  + 
    Datatypes + string  + string  + 
    Values

    svg:ideographic Attribute

    @@ -43783,14 +43783,14 @@

    svg:r[1] Attribute

    @@ -43806,14 +43806,14 @@

    svg:r[2] Attribute

    @@ -43829,7 +43829,7 @@

    svg:rx[1] Attribute

    @@ -43851,7 +43851,7 @@

    svg:rx[2] Attribute

    @@ -44419,6 +44419,29 @@

    svg:width[1] Attribute

    Parent Elements - svg:radialGradient  + draw:area-circle  + draw:circle   
    Datatypes string  - string   
    Parent Elements - draw:area-circle  - draw:circle  + svg:radialGradient   
    Datatypes string  + string   
    Parent Elements - draw:rect  + draw:ellipse   
    Parent Elements - draw:ellipse  + draw:rect   
    + + + + + + + + + + +
    Parent Elements + presentation:placeholder  + 
    Datatypes + string  + string  + 
    Values
    +
    +

    svg:width[2] Attribute

    +

    There are more than one Definitions by this name.

    + + +
    Parent Elements chart:chart  chart:floor  @@ -44458,29 +44481,6 @@

    svg:width[1] Attribute

     
    -
    -

    svg:width[2] Attribute

    -

    There are more than one Definitions by this name.

    - - - - - - - - - - - - - -
    Parent Elements - presentation:placeholder  - 
    Datatypes - string  - string  - 
    Values

    svg:widths Attribute

    @@ -44508,30 +44508,6 @@

    svg:x[1] Attribute

    - - - - - - - - - - -
    Parent Elements - draw:glue-point  - presentation:placeholder  - 
    Datatypes - string  - string  - 
    Values
    -
    -

    svg:x[2] Attribute

    -

    There are more than one Definitions by this name.

    - - -
    Parent Elements chart:data-label  chart:equation  @@ -44572,18 +44548,21 @@

    svg:x[2] Attribute


    -

    svg:x-height Attribute

    +

    svg:x[2] Attribute

    +

    There are more than one Definitions by this name.

    @@ -44593,21 +44572,18 @@

    svg:x-height Attribute

    Parent Elements - style:font-face  + draw:glue-point  + presentation:placeholder   
    Datatypes - integer  + string  + string   

    -

    svg:x1[1] Attribute

    -

    There are more than one Definitions by this name.

    +

    svg:x-height Attribute

    @@ -44617,20 +44593,21 @@

    svg:x1[1] Attribute

    Parent Elements - draw:connector  - draw:line  - draw:measure  + style:font-face   
    Datatypes - string  + integer   

    -

    svg:x1[2] Attribute

    +

    svg:x1[1] Attribute

    There are more than one Definitions by this name.

    @@ -44640,21 +44617,20 @@

    svg:x1[2] Attribute

    Parent Elements - svg:linearGradient  + draw:connector  + draw:line  + draw:measure   
    Datatypes string  - string   

    -

    svg:x2[1] Attribute

    +

    svg:x1[2] Attribute

    There are more than one Definitions by this name.

    @@ -44664,20 +44640,21 @@

    svg:x2[1] Attribute

    Parent Elements - draw:connector  - draw:line  - draw:measure  + svg:linearGradient   
    Datatypes string  + string   

    -

    svg:x2[2] Attribute

    +

    svg:x2[1] Attribute

    There are more than one Definitions by this name.

    @@ -44687,14 +44664,13 @@

    svg:x2[2] Attribute

    Parent Elements - svg:linearGradient  + draw:connector  + draw:line  + draw:measure   
    Datatypes string  - string   

    -

    svg:y[1] Attribute

    +

    svg:x2[2] Attribute

    There are more than one Definitions by this name.

    @@ -44711,7 +44687,7 @@

    svg:y[1] Attribute

    Parent Elements - draw:glue-point  - presentation:placeholder  + svg:linearGradient   

    -

    svg:y[2] Attribute

    +

    svg:y[1] Attribute

    There are more than one Definitions by this name.

    @@ -44757,6 +44733,30 @@

    svg:y[2] Attribute

     
    +
    +

    svg:y[2] Attribute

    +

    There are more than one Definitions by this name.

    + + + + + + + + + + + + + +
    Parent Elements + draw:glue-point  + presentation:placeholder  + 
    Datatypes + string  + string  + 
    Values

    svg:y1[1] Attribute

    There are more than one Definitions by this name.

    @@ -45596,20 +45596,17 @@

    table:data-type[1] Attribute

    Parent Elements - table:sort-by  - table:sort-groups  + table:filter-condition    Datatypes - string    Values - "automatic"  "number"  "text"    @@ -45622,17 +45619,20 @@

    table:data-type[2] Attribute

    Parent Elements - table:filter-condition  + table:sort-by  + table:sort-groups    Datatypes + string    Values + "automatic"  "number"  "text"    @@ -46427,8 +46427,8 @@

    table:function[1] Attribute

    Parent Elements - table:consolidation  - table:subtotal-field  + table:data-pilot-field  + table:data-pilot-subtotal    @@ -46440,6 +46440,7 @@

    table:function[1] Attribute

    Values + "auto"  "average"  "count"  "countnums"  @@ -46461,8 +46462,8 @@

    table:function[2] Attribute

    Parent Elements - table:data-pilot-field  - table:data-pilot-subtotal  + table:consolidation  + table:subtotal-field    @@ -46474,7 +46475,6 @@

    table:function[2] Attribute

    Values - "auto"  "average"  "count"  "countnums"  @@ -47484,8 +47484,7 @@

    table:orientation[1] Attribute Parent Elements - table:database-range  - table:label-range  + table:data-pilot-field    @@ -47497,6 +47496,8 @@

    table:orientation[1] AttributeValues "column"  + "data"  + "hidden"  "row"    @@ -47508,7 +47509,8 @@

    table:orientation[2] Attribute Parent Elements - table:data-pilot-field  + table:database-range  + table:label-range    @@ -47520,8 +47522,6 @@

    table:orientation[2] AttributeValues "column"  - "data"  - "hidden"  "row"    @@ -48152,7 +48152,9 @@

    table:sort-mode[1] Attribute

    Values - "data"  + "manual"  + "name"  + "none"    @@ -48174,9 +48176,7 @@

    table:sort-mode[2] Attribute

    Values - "manual"  - "name"  - "none"  + "data"    @@ -48699,7 +48699,8 @@

    table:type[1] Attribute

    Parent Elements - table:data-pilot-field-reference  + table:deletion  + table:insertion    @@ -48710,15 +48711,9 @@

    table:type[1] Attribute

    Values - "column-percentage"  - "index"  - "member-difference"  - "member-percentage"  - "member-percentage-difference"  - "none"  - "row-percentage"  - "running-total"  - "total-percentage"  + "column"  + "row"  + "table"    @@ -48729,8 +48724,7 @@

    table:type[2] Attribute

    Parent Elements - table:deletion  - table:insertion  + table:data-pilot-field-reference    @@ -48741,9 +48735,15 @@

    table:type[2] Attribute

    Values - "column"  - "row"  - "table"  + "column-percentage"  + "index"  + "member-difference"  + "member-percentage"  + "member-percentage-difference"  + "none"  + "row-percentage"  + "running-total"  + "total-percentage"    @@ -50384,9 +50384,8 @@

    text:display[1] Attribute

    Parent Elements - text:expression  - text:table-formula  - text:variable-get  + text:chapter  + text:index-entry-chapter    @@ -50397,8 +50396,11 @@

    text:display[1] Attribute

    Values - "formula"  - "value"  + "name"  + "number"  + "number-and-name"  + "plain-number"  + "plain-number-and-name"    @@ -50409,8 +50411,9 @@

    text:display[2] Attribute

    Parent Elements - text:chapter  - text:index-entry-chapter  + text:expression  + text:table-formula  + text:variable-get    @@ -50421,11 +50424,8 @@

    text:display[2] Attribute

    Values - "name"  - "number"  - "number-and-name"  - "plain-number"  - "plain-number-and-name"  + "formula"  + "value"    @@ -50436,8 +50436,7 @@

    text:display[3] Attribute

    Parent Elements - style:text-properties  - text:section  + text:user-field-get    @@ -50448,7 +50447,9 @@

    text:display[3] Attribute

    Values - "condition"  + "formula"  + "none"  + "value"    @@ -50459,7 +50460,7 @@

    text:display[4] Attribute

    Parent Elements - text:user-field-get  + text:file-name    @@ -50470,9 +50471,10 @@

    text:display[4] Attribute

    Values - "formula"  - "none"  - "value"  + "full"  + "name"  + "name-and-extension"  + "path"    @@ -50510,7 +50512,7 @@

    text:display[6] Attribute

    Parent Elements - text:file-name  + text:section    @@ -50521,10 +50523,8 @@

    text:display[6] Attribute

    Values - "full"  - "name"  - "name-and-extension"  - "path"  + "none"  + "true"    @@ -50560,6 +50560,7 @@

    text:display[8] Attribute

    Parent Elements style:text-properties  + text:section    @@ -50570,7 +50571,7 @@

    text:display[8] Attribute

    Values - "none"  + "condition"    @@ -50592,7 +50593,7 @@

    text:display[9] Attribute

    Values - "true"  + "none"    @@ -50603,7 +50604,7 @@

    text:display[10] Attribute

    Parent Elements - text:section  + style:text-properties    @@ -50614,7 +50615,6 @@

    text:display[10] Attribute

    Values - "none"  "true"    @@ -51944,21 +51944,18 @@

    text:outline-level[2] Attribute Parent Elements - text:alphabetical-index-entry-template  + text:chapter    Datatypes + nonNegativeInteger    Values - "1"  - "2"  - "3"  - "separator"    @@ -51969,18 +51966,21 @@

    text:outline-level[3] Attribute Parent Elements - text:chapter  + text:alphabetical-index-entry-template    Datatypes - nonNegativeInteger    Values + "1"  + "2"  + "3"  + "separator"    @@ -52214,7 +52214,7 @@

    text:reference-format[1] Attribu Parent Elements - text:note-ref  + text:sequence-ref    @@ -52225,10 +52225,13 @@

    text:reference-format[1] Attribu Values + "caption"  + "category-and-value"  "chapter"  "direction"  "page"  "text"  + "value"    @@ -52239,7 +52242,8 @@

    text:reference-format[2] Attribu Parent Elements - text:sequence-ref  + text:bookmark-ref  + text:reference-ref    @@ -52250,13 +52254,13 @@

    text:reference-format[2] Attribu Values - "caption"  - "category-and-value"  "chapter"  "direction"  + "number"  + "number-all-superior"  + "number-no-superior"  "page"  "text"  - "value"    @@ -52267,8 +52271,7 @@

    text:reference-format[3] Attribu Parent Elements - text:bookmark-ref  - text:reference-ref  + text:note-ref    @@ -52281,9 +52284,6 @@

    text:reference-format[3] Attribu "chapter"  "direction"  - "number"  - "number-all-superior"  - "number-no-superior"  "page"  "text"    @@ -52650,16 +52650,14 @@

    text:start-value[1] Attribute

    Parent Elements - text:h  - text:list-item  - text:notes-configuration  - text:numbered-paragraph  + text:list-level-style-number  + text:outline-level-style    Datatypes - nonNegativeInteger  + positiveInteger    @@ -52675,14 +52673,16 @@

    text:start-value[2] Attribute

    Parent Elements - text:list-level-style-number  - text:outline-level-style  + text:h  + text:list-item  + text:notes-configuration  + text:numbered-paragraph    Datatypes - positiveInteger  + nonNegativeInteger    @@ -52981,13 +52981,14 @@

    text:time-value[1] Attribute

    Parent Elements - text:modification-time  - text:print-time  + text:creation-time  + text:time    Datatypes + dateTime  time    @@ -53004,14 +53005,13 @@

    text:time-value[2] Attribute

    Parent Elements - text:creation-time  - text:time  + text:modification-time  + text:print-time    Datatypes - dateTime  time    @@ -53655,19 +53655,16 @@

    xlink:actuate[1] Attribute

    Parent Elements - db:component  - db:connection-resource  - draw:a  - form:form  - meta:template  - presentation:event-listener  - presentation:sound  - script:event-listener  - svg:definition-src  - svg:font-face-uri  - table:cell-range-source  - table:table-source  - text:a  + draw:applet  + draw:fill-image  + draw:floating-frame  + draw:image  + draw:object  + draw:object-ole  + draw:plugin  + meta:auto-reload  + style:background-image  + text:list-level-style-image    @@ -53678,7 +53675,7 @@

    xlink:actuate[1] Attribute

    Values - "onRequest"  + "onLoad"    @@ -53689,16 +53686,19 @@

    xlink:actuate[2] Attribute

    Parent Elements - draw:applet  - draw:fill-image  - draw:floating-frame  - draw:image  - draw:object  - draw:object-ole  - draw:plugin  - meta:auto-reload  - style:background-image  - text:list-level-style-image  + db:component  + db:connection-resource  + draw:a  + form:form  + meta:template  + presentation:event-listener  + presentation:sound  + script:event-listener  + svg:definition-src  + svg:font-face-uri  + table:cell-range-source  + table:table-source  + text:a    @@ -53709,7 +53709,7 @@

    xlink:actuate[2] Attribute

    Values - "onLoad"  + "onRequest"    @@ -53776,13 +53776,8 @@

    xlink:show[1] Attribute

    Parent Elements - draw:a  - draw:area-circle  - draw:area-polygon  - draw:area-rectangle  - meta:hyperlink-behaviour  - presentation:sound  - text:a  + db:component  + db:connection-resource    @@ -53793,8 +53788,7 @@

    xlink:show[1] Attribute

    Values - "new"  - "replace"  + "none"    @@ -53805,8 +53799,13 @@

    xlink:show[2] Attribute

    Parent Elements - db:component  - db:connection-resource  + draw:a  + draw:area-circle  + draw:area-polygon  + draw:area-rectangle  + meta:hyperlink-behaviour  + presentation:sound  + text:a    @@ -53817,7 +53816,8 @@

    xlink:show[2] Attribute

    Values - "none"  + "new"  + "replace"    diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odf-reference/odf-schema-1.3/OdfReference.html b/generator/schema2template/src/test/resources/test-reference/odf/generation/odf-reference/odf-schema-1.3/OdfReference.html index 9b65e04510..ee74d07519 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odf-reference/odf-schema-1.3/OdfReference.html +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odf-reference/odf-schema-1.3/OdfReference.html @@ -675,7 +675,7 @@

    chart:chart Element

    chart:row-mapping  chart:style-name  svg:height[1]  - svg:width[2]  + svg:width[1]  xlink:href  xlink:type  xml:id  @@ -725,9 +725,9 @@

    chart:coordinate-region Element< Attributes svg:height[1]  - svg:width[2]  + svg:width[1]  svg:x[1]  - svg:y[2]  + svg:y[1]    @@ -752,7 +752,7 @@

    chart:data-label Element (new chart:style-name  svg:x[1]  - svg:y[2]  + svg:y[1]    @@ -827,7 +827,7 @@

    chart:equation Element (new in O chart:display-r-square  chart:style-name  svg:x[1]  - svg:y[2]  + svg:y[1]    @@ -874,7 +874,7 @@

    chart:floor Element

    Attributes chart:style-name  - svg:width[2]  + svg:width[1]    @@ -898,7 +898,7 @@

    chart:footer Element

    chart:style-name  svg:x[1]  - svg:y[2]  + svg:y[1]  table:cell-range    @@ -975,9 +975,9 @@

    chart:legend Element

    style:legend-expansion[2]  style:legend-expansion-aspect-ratio  svg:height[1]  - svg:width[2]  + svg:width[1]  svg:x[1]  - svg:y[2]  + svg:y[1]    @@ -1027,7 +1027,7 @@

    chart:plot-area Element

    dr3d:ambient-color  dr3d:distance  dr3d:focal-length  - dr3d:lighting-mode[1]  + dr3d:lighting-mode[2]  dr3d:projection  dr3d:shade-mode  dr3d:shadow-slant  @@ -1036,9 +1036,9 @@

    chart:plot-area Element

    dr3d:vrp  dr3d:vup  svg:height[1]  - svg:width[2]  + svg:width[1]  svg:x[1]  - svg:y[2]  + svg:y[1]  table:cell-range-address[2]  xml:id    @@ -1195,7 +1195,7 @@

    chart:subtitle Element

    chart:style-name  svg:x[1]  - svg:y[2]  + svg:y[1]  table:cell-range    @@ -1244,7 +1244,7 @@

    chart:title Element

    chart:style-name  svg:x[1]  - svg:y[2]  + svg:y[1]  table:cell-range    @@ -1269,7 +1269,7 @@

    chart:wall Element

    Attributes chart:style-name  - svg:width[2]  + svg:width[1]    @@ -1512,10 +1512,10 @@

    db:column Element (new in ODF 1.2) office:value-type[1]  office:value-type[2]  office:value-type[3]  - office:value-type[4]  office:value-type[5]  office:value-type[7]  office:value-type[8]  + office:value-type[9]    @@ -1554,10 +1554,10 @@

    db:column-definition Element&nb office:value-type[1]  office:value-type[2]  office:value-type[3]  - office:value-type[4]  office:value-type[5]  office:value-type[7]  office:value-type[8]  + office:value-type[9]    @@ -1630,9 +1630,9 @@

    db:component Element (new in ODF 1 db:description  db:name  db:title  - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  - xlink:show[3]  + xlink:show[2]  xlink:type    @@ -1709,9 +1709,9 @@

    db:connection-resource Element Attributes - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  - xlink:show[3]  + xlink:show[2]  xlink:type    @@ -2807,7 +2807,7 @@

    dr3d:cube Element

    dr3d:min-edge  dr3d:transform  draw:class-names  - draw:id[1]  + draw:id[2]  draw:layer  draw:style-name  draw:z-index  @@ -2837,7 +2837,7 @@

    dr3d:extrude Element

    dr3d:transform  draw:class-names  - draw:id[1]  + draw:id[2]  draw:layer  draw:style-name  draw:z-index  @@ -2895,7 +2895,7 @@

    dr3d:rotate Element

    dr3d:transform  draw:class-names  - draw:id[1]  + draw:id[2]  draw:layer  draw:style-name  draw:z-index  @@ -2952,7 +2952,7 @@

    dr3d:scene Element

    dr3d:ambient-color  dr3d:distance  dr3d:focal-length  - dr3d:lighting-mode[1]  + dr3d:lighting-mode[2]  dr3d:projection  dr3d:shade-mode  dr3d:shadow-slant  @@ -2962,16 +2962,16 @@

    dr3d:scene Element

    dr3d:vup  draw:caption-id  draw:class-names  - draw:id[1]  + draw:id[2]  draw:layer  draw:style-name  draw:z-index  presentation:class-names  presentation:style-name  svg:height[1]  - svg:width[2]  + svg:width[1]  svg:x[1]  - svg:y[2]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -3013,7 +3013,7 @@

    dr3d:sphere Element

    dr3d:size  dr3d:transform  draw:class-names  - draw:id[1]  + draw:id[2]  draw:layer  draw:style-name  draw:z-index  @@ -3067,9 +3067,9 @@

    draw:a Element

    office:server-map  office:target-frame-name  office:title  - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  - xlink:show[1]  + xlink:show[4]  xlink:type  xml:id    @@ -3114,9 +3114,9 @@

    draw:applet Element

    draw:code  draw:may-script  draw:object  - xlink:actuate[2]  + xlink:actuate[1]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type  xml:id    @@ -3145,10 +3145,10 @@

    draw:area-circle Element

    office:name  office:target-frame-name  svg:cx[2]  - svg:cy[2]  + svg:cy[1]  svg:r[2]  xlink:href  - xlink:show[1]  + xlink:show[4]  xlink:type    @@ -3180,11 +3180,11 @@

    draw:area-polygon Element

    office:target-frame-name  svg:height[1]  svg:viewBox  - svg:width[2]  + svg:width[1]  svg:x[1]  - svg:y[2]  + svg:y[1]  xlink:href  - xlink:show[1]  + xlink:show[4]  xlink:type    @@ -3214,11 +3214,11 @@

    draw:area-rectangle Element

    office:name  office:target-frame-name  svg:height[1]  - svg:width[2]  + svg:width[1]  svg:x[1]  - svg:y[2]  + svg:y[1]  xlink:href  - xlink:show[1]  + xlink:show[4]  xlink:type    @@ -3272,7 +3272,7 @@

    draw:caption Element

    draw:caption-point-y  draw:class-names  draw:corner-radius  - draw:id[1]  + draw:id[2]  draw:layer  draw:name[2]  draw:style-name  @@ -3282,9 +3282,9 @@

    draw:caption Element

    presentation:class-names  presentation:style-name  svg:height[1]  - svg:width[2]  + svg:width[1]  svg:x[1]  - svg:y[2]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -3345,7 +3345,7 @@

    draw:circle Element

    draw:caption-id  draw:class-names  draw:end-angle  - draw:id[1]  + draw:id[2]  draw:kind  draw:layer  draw:name[2]  @@ -3357,12 +3357,12 @@

    draw:circle Element

    presentation:class-names  presentation:style-name  svg:cx[2]  - svg:cy[2]  + svg:cy[1]  svg:height[1]  svg:r[2]  - svg:width[2]  + svg:width[1]  svg:x[1]  - svg:y[2]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -3424,7 +3424,7 @@

    draw:connector Element

    draw:class-names  draw:end-glue-point  draw:end-shape  - draw:id[1]  + draw:id[2]  draw:layer  draw:line-skew  draw:name[2]  @@ -3433,7 +3433,7 @@

    draw:connector Element

    draw:style-name  draw:text-style-name  draw:transform  - draw:type[2]  + draw:type[1]  draw:z-index  presentation:class-names  presentation:style-name  @@ -3441,8 +3441,8 @@

    draw:connector Element

    svg:viewBox  svg:x1[1]  svg:x2[1]  - svg:y1[1]  - svg:y2[1]  + svg:y1[2]  + svg:y2[2]  table:end-cell-address  table:end-x  table:end-y  @@ -3481,7 +3481,7 @@

    draw:contour-path Element

    svg:d  svg:height[1]  svg:viewBox  - svg:width[2]  + svg:width[1]    @@ -3507,7 +3507,7 @@

    draw:contour-polygon Elementdraw:recreate-on-edit  svg:height[1]  svg:viewBox  - svg:width[2]  + svg:width[1]    @@ -3555,7 +3555,7 @@

    draw:control Element

    draw:caption-id  draw:class-names  draw:control  - draw:id[1]  + draw:id[2]  draw:layer  draw:name[2]  draw:style-name  @@ -3565,9 +3565,9 @@

    draw:control Element

    presentation:class-names  presentation:style-name  svg:height[1]  - svg:width[2]  + svg:width[1]  svg:x[1]  - svg:y[2]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -3626,7 +3626,7 @@

    draw:custom-shape Element

    draw:class-names  draw:data  draw:engine  - draw:id[1]  + draw:id[2]  draw:layer  draw:name[2]  draw:style-name  @@ -3636,9 +3636,9 @@

    draw:custom-shape Element

    presentation:class-names  presentation:style-name  svg:height[1]  - svg:width[2]  + svg:width[1]  svg:x[1]  - svg:y[2]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -3700,7 +3700,7 @@

    draw:ellipse Element

    draw:caption-id  draw:class-names  draw:end-angle  - draw:id[1]  + draw:id[2]  draw:kind  draw:layer  draw:name[2]  @@ -3712,13 +3712,13 @@

    draw:ellipse Element

    presentation:class-names  presentation:style-name  svg:cx[2]  - svg:cy[2]  + svg:cy[1]  svg:height[1]  - svg:rx[1]  + svg:rx[2]  svg:ry[2]  - svg:width[2]  + svg:width[1]  svg:x[1]  - svg:y[2]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -3794,7 +3794,7 @@

    draw:enhanced-geometry Elementdraw:text-path-same-letter-heights  draw:text-path-scale  draw:text-rotate-angle  - draw:type[1]  + draw:type[2]  svg:viewBox    @@ -3845,10 +3845,10 @@

    draw:fill-image Element

    draw:display-name  draw:name[1]  svg:height[1]  - svg:width[2]  - xlink:actuate[2]  + svg:width[1]  + xlink:actuate[1]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type    @@ -3873,9 +3873,9 @@

    draw:floating-frame Element

    Attributes draw:frame-name  - xlink:actuate[2]  + xlink:actuate[1]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type  xml:id    @@ -3926,7 +3926,7 @@

    draw:frame Element

    draw:caption-id  draw:class-names  draw:copy-of  - draw:id[1]  + draw:id[2]  draw:layer  draw:name[2]  draw:style-name  @@ -3941,9 +3941,9 @@

    draw:frame Element

    style:rel-height  style:rel-width[3]  svg:height[1]  - svg:width[2]  + svg:width[1]  svg:x[1]  - svg:y[2]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -4012,13 +4012,13 @@

    draw:g Element

    draw:caption-id  draw:class-names  - draw:id[1]  + draw:id[2]  draw:name[2]  draw:style-name  draw:z-index  presentation:class-names  presentation:style-name  - svg:y[2]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -4086,9 +4086,9 @@

    draw:glue-point Element

    draw:align  draw:escape-direction  - draw:id[2]  + draw:id[1]  svg:x[2]  - svg:y[1]  + svg:y[2]    @@ -4120,7 +4120,7 @@

    draw:gradient Element

    draw:name[1]  draw:start-color  draw:start-intensity  - draw:style[2]  + draw:style[1]    @@ -4179,7 +4179,7 @@

    draw:hatch Element

    draw:distance[1]  draw:name[1]  draw:rotation  - draw:style[1]  + draw:style[2]    @@ -4203,9 +4203,9 @@

    draw:image Element

    draw:filter-name  draw:mime-type  - xlink:actuate[2]  + xlink:actuate[1]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type  xml:id    @@ -4331,7 +4331,7 @@

    draw:line Element

    draw:caption-id  draw:class-names  - draw:id[1]  + draw:id[2]  draw:layer  draw:name[2]  draw:style-name  @@ -4342,8 +4342,8 @@

    draw:line Element

    presentation:style-name  svg:x1[1]  svg:x2[1]  - svg:y1[1]  - svg:y2[1]  + svg:y1[2]  + svg:y2[2]  table:end-cell-address  table:end-x  table:end-y  @@ -4428,7 +4428,7 @@

    draw:measure Element

    draw:caption-id  draw:class-names  - draw:id[1]  + draw:id[2]  draw:layer  draw:name[2]  draw:style-name  @@ -4439,8 +4439,8 @@

    draw:measure Element

    presentation:style-name  svg:x1[1]  svg:x2[1]  - svg:y1[1]  - svg:y2[1]  + svg:y1[2]  + svg:y2[2]  table:end-cell-address  table:end-x  table:end-y  @@ -4476,9 +4476,9 @@

    draw:object Element

    Attributes draw:notify-on-update-of-ranges  - xlink:actuate[2]  + xlink:actuate[1]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type  xml:id    @@ -4505,9 +4505,9 @@

    draw:object-ole Element

    Attributes draw:class-id  - xlink:actuate[2]  + xlink:actuate[1]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type  xml:id    @@ -4540,7 +4540,7 @@

    draw:opacity Element

    draw:end  draw:name[1]  draw:start  - draw:style[2]  + draw:style[1]    @@ -4563,7 +4563,7 @@

    draw:page Element

    Attributes - draw:id[1]  + draw:id[2]  draw:master-page-name  draw:name[2]  draw:nav-order  @@ -4654,7 +4654,7 @@

    draw:page-thumbnail Element

    draw:caption-id  draw:class-names  - draw:id[1]  + draw:id[2]  draw:layer  draw:name[2]  draw:page-number  @@ -4667,9 +4667,9 @@

    draw:page-thumbnail Element

    presentation:style-name  presentation:user-transformed  svg:height[1]  - svg:width[2]  + svg:width[1]  svg:x[1]  - svg:y[2]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -4749,7 +4749,7 @@

    draw:path Element

    draw:caption-id  draw:class-names  - draw:id[1]  + draw:id[2]  draw:layer  draw:name[2]  draw:style-name  @@ -4761,9 +4761,9 @@

    draw:path Element

    svg:d  svg:height[1]  svg:viewBox  - svg:width[2]  + svg:width[1]  svg:x[1]  - svg:y[2]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -4799,9 +4799,9 @@

    draw:plugin Element

    Attributes draw:mime-type  - xlink:actuate[2]  + xlink:actuate[1]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type  xml:id    @@ -4851,7 +4851,7 @@

    draw:polygon Element

    draw:caption-id  draw:class-names  - draw:id[1]  + draw:id[2]  draw:layer  draw:name[2]  draw:points  @@ -4863,9 +4863,9 @@

    draw:polygon Element

    presentation:style-name  svg:height[1]  svg:viewBox  - svg:width[2]  + svg:width[1]  svg:x[1]  - svg:y[2]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -4925,7 +4925,7 @@

    draw:polyline Element

    draw:caption-id  draw:class-names  - draw:id[1]  + draw:id[2]  draw:layer  draw:name[2]  draw:points  @@ -4937,9 +4937,9 @@

    draw:polyline Element

    presentation:style-name  svg:height[1]  svg:viewBox  - svg:width[2]  + svg:width[1]  svg:x[1]  - svg:y[2]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -5000,7 +5000,7 @@

    draw:rect Element

    draw:caption-id  draw:class-names  draw:corner-radius  - draw:id[1]  + draw:id[2]  draw:layer  draw:name[2]  draw:style-name  @@ -5010,11 +5010,11 @@

    draw:rect Element

    presentation:class-names  presentation:style-name  svg:height[1]  - svg:rx[2]  + svg:rx[1]  svg:ry[1]  - svg:width[2]  + svg:width[1]  svg:x[1]  - svg:y[2]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -5077,7 +5077,7 @@

    draw:regular-polygon Elementdraw:concave[1]  draw:concave[2]  draw:corners  - draw:id[1]  + draw:id[2]  draw:layer  draw:name[2]  draw:sharpness  @@ -5088,9 +5088,9 @@

    draw:regular-polygon Elementpresentation:class-names  presentation:style-name  svg:height[1]  - svg:width[2]  + svg:width[1]  svg:x[1]  - svg:y[2]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -5237,7 +5237,7 @@

    form:button Element

    form:tab-stop  form:title  form:toggle  - form:value[1]  + form:value[3]  form:xforms-submission  office:target-frame  xforms:bind  @@ -5284,7 +5284,7 @@

    form:checkbox Element

    form:tab-index  form:tab-stop  form:title  - form:value[1]  + form:value[3]  form:visual-effect  xforms:bind  xml:id  @@ -5366,7 +5366,7 @@

    form:combobox Element

    form:tab-index  form:tab-stop  form:title  - form:value[1]  + form:value[3]  xforms:bind  xml:id    @@ -5423,15 +5423,15 @@

    form:date Element

    form:control-implementation  form:convert-empty-to-null  - form:current-value[1]  + form:current-value[2]  form:data-field  form:delay-for-repeat  form:disabled  form:id  form:linked-cell  form:max-length  - form:max-value[5]  - form:min-value[2]  + form:max-value[2]  + form:min-value[3]  form:name  form:printable  form:readonly  @@ -5478,7 +5478,7 @@

    form:file Element

    form:tab-index  form:tab-stop  form:title  - form:value[1]  + form:value[3]  xforms:bind  xml:id    @@ -5559,7 +5559,7 @@

    form:form Element

    form:order  form:tab-cycle  office:target-frame  - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  xlink:type    @@ -5618,7 +5618,7 @@

    form:formatted-text Element

    form:id  form:linked-cell  form:max-length  - form:max-value[3]  + form:max-value[5]  form:min-value[5]  form:name  form:printable  @@ -5629,7 +5629,7 @@

    form:formatted-text Element

    form:tab-stop  form:title  form:validation  - form:value[1]  + form:value[3]  xforms:bind  xml:id    @@ -5753,7 +5753,7 @@

    form:hidden Element

    form:control-implementation  form:id  form:name  - form:value[1]  + form:value[3]  xforms:bind  xml:id    @@ -5789,7 +5789,7 @@

    form:image Element

    form:tab-index  form:tab-stop  form:title  - form:value[1]  + form:value[3]  office:target-frame  xforms:bind  xlink:href  @@ -5878,11 +5878,11 @@

    form:list-property Element

    office:value-type[1]  office:value-type[2]  office:value-type[3]  - office:value-type[4]  office:value-type[5]  office:value-type[6]  office:value-type[7]  office:value-type[8]  + office:value-type[9]    @@ -5912,7 +5912,7 @@

    form:list-value[1] Element

    Attributes - office:boolean-value  + office:value    @@ -5935,7 +5935,7 @@

    form:list-value[2] Element

    Attributes - office:time-value  + office:value    @@ -5981,7 +5981,7 @@

    form:list-value[4] Element

    Attributes - office:value  + office:date-value    @@ -6004,7 +6004,7 @@

    form:list-value[5] Element

    Attributes - office:value  + office:boolean-value    @@ -6051,7 +6051,7 @@

    form:list-value[7] Element

    Attributes - office:date-value  + office:time-value    @@ -6122,15 +6122,15 @@

    form:number Element

    form:control-implementation  form:convert-empty-to-null  - form:current-value[4]  + form:current-value[1]  form:data-field  form:delay-for-repeat  form:disabled  form:id  form:linked-cell  form:max-length  - form:max-value[4]  - form:min-value[1]  + form:max-value[1]  + form:min-value[4]  form:name  form:printable  form:readonly  @@ -6139,7 +6139,7 @@

    form:number Element

    form:tab-index  form:tab-stop  form:title  - form:value[4]  + form:value[1]  xforms:bind  xml:id    @@ -6169,7 +6169,7 @@

    form:option Element

    form:current-selected  form:label  form:selected  - form:value[1]  + form:value[3]    @@ -6203,7 +6203,7 @@

    form:password Element

    form:tab-index  form:tab-stop  form:title  - form:value[1]  + form:value[3]  xforms:bind  xml:id    @@ -6283,11 +6283,11 @@

    form:property Element

    office:value-type[1]  office:value-type[2]  office:value-type[3]  - office:value-type[4]  office:value-type[5]  office:value-type[6]  office:value-type[7]  office:value-type[8]  + office:value-type[9]    @@ -6325,7 +6325,7 @@

    form:radio Element

    form:tab-index  form:tab-stop  form:title  - form:value[1]  + form:value[3]  form:visual-effect  xforms:bind  xml:id  @@ -6367,7 +6367,7 @@

    form:text Element

    form:tab-index  form:tab-stop  form:title  - form:value[1]  + form:value[3]  xforms:bind  xml:id    @@ -6408,7 +6408,7 @@

    form:textarea Element

    form:tab-index  form:tab-stop  form:title  - form:value[1]  + form:value[3]  xforms:bind  xml:id    @@ -6438,15 +6438,15 @@

    form:time Element

    form:control-implementation  form:convert-empty-to-null  - form:current-value[2]  + form:current-value[4]  form:data-field  form:delay-for-repeat  form:disabled  form:id  form:linked-cell  form:max-length  - form:max-value[1]  - form:min-value[4]  + form:max-value[4]  + form:min-value[2]  form:name  form:printable  form:readonly  @@ -6455,7 +6455,7 @@

    form:time Element

    form:tab-index  form:tab-stop  form:title  - form:value[3]  + form:value[4]  xforms:bind  xml:id    @@ -6486,8 +6486,8 @@

    form:value-range Element

    form:disabled  form:id  form:linked-cell  - form:max-value[2]  - form:min-value[3]  + form:max-value[3]  + form:min-value[1]  form:name  form:orientation  form:page-step-size  @@ -6497,7 +6497,7 @@

    form:value-range Element

    form:tab-index  form:tab-stop  form:title  - form:value[1]  + form:value[3]  xforms:bind  xml:id    @@ -6549,9 +6549,9 @@

    meta:auto-reload Element (new Attributes meta:delay  - xlink:actuate[2]  + xlink:actuate[1]  xlink:href  - xlink:show[4]  + xlink:show[3]  xlink:type    @@ -6738,7 +6738,7 @@

    meta:hyperlink-behaviour Elemen Attributes office:target-frame-name  - xlink:show[1]  + xlink:show[4]    @@ -6845,7 +6845,7 @@

    meta:template Element (new in ODF Attributes meta:date  - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  xlink:title  xlink:type  @@ -7688,7 +7688,7 @@

    office:annotation Element

    draw:caption-point-y  draw:class-names  draw:corner-radius  - draw:id[1]  + draw:id[2]  draw:layer  draw:name[2]  draw:style-name  @@ -7700,9 +7700,9 @@

    office:annotation Element

    presentation:class-names  presentation:style-name  svg:height[1]  - svg:width[2]  + svg:width[1]  svg:x[1]  - svg:y[2]  + svg:y[1]  table:end-cell-address  table:end-x  table:end-y  @@ -8753,9 +8753,9 @@

    presentation:event-listener presentation:start-scale  presentation:verb  script:event-name  - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type    @@ -8987,9 +8987,9 @@

    presentation:placeholder Elemen presentation:object  svg:height[2]  - svg:width[1]  + svg:width[2]  svg:x[2]  - svg:y[1]  + svg:y[2]    @@ -9161,9 +9161,9 @@

    presentation:sound Element

    Attributes presentation:play-full  - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  - xlink:show[1]  + xlink:show[4]  xlink:type  xml:id    @@ -9190,7 +9190,7 @@

    script:event-listener Element< script:event-name  script:language  script:macro-name  - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  xlink:type    @@ -9225,9 +9225,9 @@

    style:background-image Elementstyle:filter-name  style:position[2]  style:repeat  - xlink:actuate[2]  + xlink:actuate[1]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type    @@ -9357,7 +9357,7 @@

    style:column Element (new in ODF 1 fo:space-after  fo:space-before  fo:start-indent  - style:rel-width[2]  + style:rel-width[1]    @@ -9382,7 +9382,7 @@

    style:column-sep Element (new style:color  style:height  style:style  - style:vertical-align[3]  + style:vertical-align[1]  style:width[1]    @@ -9811,7 +9811,7 @@

    style:footnote-sep Element ( style:distance-after-sep  style:distance-before-sep  style:line-style  - style:rel-width[1]  + style:rel-width[2]  style:width[1]    @@ -9847,7 +9847,7 @@

    style:graphic-properties Elemen dr3d:emissive-color  dr3d:end-angle  dr3d:horizontal-segments  - dr3d:lighting-mode[2]  + dr3d:lighting-mode[1]  dr3d:normals-direction  dr3d:normals-kind  dr3d:shadow  @@ -9950,7 +9950,7 @@

    style:graphic-properties Elemen fo:clip  fo:margin  fo:margin-bottom  - fo:margin-left[2]  + fo:margin-left[1]  fo:margin-right  fo:margin-top  fo:max-height  @@ -9977,7 +9977,7 @@

    style:graphic-properties Elemen style:number-wrapped-paragraphs  style:overflow-behavior  style:print-content  - style:protect[1]  + style:protect[2]  style:rel-height  style:rel-width[3]  style:repeat  @@ -9997,9 +9997,9 @@

    style:graphic-properties Elemen svg:stroke-linecap  svg:stroke-opacity  svg:stroke-width  - svg:width[2]  + svg:width[1]  svg:x[1]  - svg:y[2]  + svg:y[1]  text:anchor-page-number  text:anchor-type  text:animation  @@ -10181,7 +10181,7 @@

    style:header-footer-prope fo:border-top  fo:margin  fo:margin-bottom  - fo:margin-left[2]  + fo:margin-left[1]  fo:margin-right  fo:margin-top  fo:min-height[2]  @@ -10290,7 +10290,7 @@

    style:list-level-label- Attributes - fo:margin-left[1]  + fo:margin-left[2]  fo:text-indent[2]  text:label-followed-by  text:list-tab-stop-position  @@ -10324,7 +10324,7 @@

    style:list-level-properties style:font-name  style:vertical-pos  style:vertical-rel  - svg:y[2]  + svg:y[1]  text:list-level-position-and-space-mode  text:min-label-distance  text:min-label-width  @@ -10481,7 +10481,7 @@

    style:page-layout-propertie fo:border-top  fo:margin  fo:margin-bottom  - fo:margin-left[2]  + fo:margin-left[1]  fo:margin-right  fo:margin-top  fo:padding  @@ -10566,7 +10566,7 @@

    style:paragraph-properties El fo:line-height  fo:margin  fo:margin-bottom  - fo:margin-left[2]  + fo:margin-left[1]  fo:margin-right  fo:margin-top  fo:orphans  @@ -10760,10 +10760,10 @@

    style:section-properties Elemen Attributes fo:background-color  - fo:margin-left[2]  + fo:margin-left[1]  fo:margin-right  style:editable  - style:protect[2]  + style:protect[1]  style:writing-mode  text:dont-balance-text-columns    @@ -10856,7 +10856,7 @@

    style:tab-stop Element (new in O style:leader-width  style:position[1]  style:type[1]  - style:type[4]  + style:type[2]    @@ -10933,7 +10933,7 @@

    style:table-cell-properties style:shadow  style:shrink-to-fit  style:text-align-source  - style:vertical-align[1]  + style:vertical-align[3]  style:writing-mode    @@ -10991,12 +10991,12 @@

    style:table-properties Elementfo:keep-with-next  fo:margin  fo:margin-bottom  - fo:margin-left[2]  + fo:margin-left[1]  fo:margin-right  fo:margin-top  style:may-break-between-rows  style:page-number  - style:rel-width[1]  + style:rel-width[2]  style:shadow  style:width[2]  style:writing-mode  @@ -11149,9 +11149,9 @@

    style:text-properties Element< style:text-underline-type  style:text-underline-width  style:use-window-font-color  - text:condition[1]  + text:condition[2]  text:display[1]  - text:display[5]  + text:display[7]  text:display[10]    @@ -11174,7 +11174,7 @@

    svg:definition-src Element

    Attributes - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  xlink:type    @@ -11308,7 +11308,7 @@

    svg:font-face-uri Element

    Attributes - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  xlink:type    @@ -11340,8 +11340,8 @@

    svg:linearGradient Element

    svg:spreadMethod  svg:x1[2]  svg:x2[2]  - svg:y1[2]  - svg:y2[2]  + svg:y1[1]  + svg:y2[1]    @@ -11367,7 +11367,7 @@

    svg:radialGradient Element

    draw:display-name  draw:name[1]  svg:cx[1]  - svg:cy[1]  + svg:cy[2]  svg:fx  svg:fy  svg:gradientTransform  @@ -11514,7 +11514,7 @@

    table:calculation-settings El Attributes table:automatic-find-labels  - table:case-sensitive[2]  + table:case-sensitive[1]  table:null-year  table:precision-as-shown  table:search-criteria-must-apply-to-whole-cell  @@ -11628,7 +11628,7 @@

    table:cell-range-source Element< table:last-row-spanned  table:name[1]  table:refresh-delay[1]  - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  xlink:type    @@ -11684,10 +11684,10 @@

    table:change-track-table-c office:value-type[1]  office:value-type[2]  office:value-type[3]  - office:value-type[4]  office:value-type[5]  office:value-type[7]  office:value-type[8]  + office:value-type[9]  table:cell-address  table:formula  table:matrix-covered  @@ -11719,7 +11719,7 @@

    table:consolidation Element

    Attributes - table:function[2]  + table:function[1]  table:link-to-source-data  table:source-cell-range-addresses  table:target-cell-address  @@ -11810,10 +11810,10 @@

    table:covered-table-cell Elemen office:value-type[1]  office:value-type[2]  office:value-type[3]  - office:value-type[4]  office:value-type[5]  office:value-type[7]  office:value-type[8]  + office:value-type[9]  table:content-validation-name  table:formula  table:number-columns-repeated  @@ -11932,9 +11932,9 @@

    table:data-pilot-field Element Attributes - table:function[1]  + table:function[2]  table:is-data-layout-field  - table:orientation[1]  + table:orientation[2]  table:orientation[3]  table:selected-page  table:source-field-name  @@ -11967,7 +11967,7 @@

    table:data-pilot-field- table:member-name  table:member-type[1]  table:member-type[2]  - table:type[1]  + table:type[2]    @@ -12184,7 +12184,7 @@

    table:data-pilot-subtotal Elem Attributes - table:function[1]  + table:function[2]    @@ -12297,7 +12297,7 @@

    table:database-range Elementtable:name[1]  table:on-update-keep-size  table:on-update-keep-styles  - table:orientation[2]  + table:orientation[1]  table:refresh-delay[2]  table:target-range-address    @@ -12481,7 +12481,7 @@

    table:deletion Element

    table:position  table:rejecting-change-id  table:table  - table:type[2]  + table:type[1]    @@ -12774,11 +12774,11 @@

    table:filter-condition Element Attributes - table:case-sensitive[1]  - table:data-type[2]  + table:case-sensitive[2]  + table:data-type[1]  table:field-number  table:operator  - table:value[1]  + table:value[2]    @@ -12825,7 +12825,7 @@

    table:filter-set-item Element& Attributes - table:value[2]  + table:value[1]    @@ -12948,7 +12948,7 @@

    table:insertion Element

    table:position  table:rejecting-change-id  table:table  - table:type[2]  + table:type[1]    @@ -13022,7 +13022,7 @@

    table:label-range Element

    table:data-cell-range-address  table:label-cell-range-address  - table:orientation[2]  + table:orientation[1]    @@ -13432,7 +13432,7 @@

    table:sort Element

    table:algorithm  table:bind-styles-to-content  - table:case-sensitive[2]  + table:case-sensitive[1]  table:country  table:embedded-number-behavior  table:language  @@ -13461,7 +13461,7 @@

    table:sort-by Element

    Attributes - table:data-type[1]  + table:data-type[2]  table:field-number  table:order    @@ -13485,7 +13485,7 @@

    table:sort-groups Element

    Attributes - table:data-type[1]  + table:data-type[2]  table:order    @@ -13589,7 +13589,7 @@

    table:subtotal-field ElementAttributes table:field-number  - table:function[2]  + table:function[1]    @@ -13635,7 +13635,7 @@

    table:subtotal-rules ElementAttributes table:bind-styles-to-content  - table:case-sensitive[2]  + table:case-sensitive[1]  table:page-breaks-on-group-change    @@ -13741,10 +13741,10 @@

    table:table-cell Element

    office:value-type[1]  office:value-type[2]  office:value-type[3]  - office:value-type[4]  office:value-type[5]  office:value-type[7]  office:value-type[8]  + office:value-type[9]  table:content-validation-name  table:formula  table:number-columns-repeated  @@ -14033,7 +14033,7 @@

    table:table-source Element

    table:mode  table:refresh-delay[1]  table:table-name  - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  xlink:type    @@ -14182,9 +14182,9 @@

    text:a Element

    office:title  text:style-name  text:visited-style-name  - xlink:actuate[1]  + xlink:actuate[2]  xlink:href  - xlink:show[1]  + xlink:show[4]  xlink:type    @@ -14412,7 +14412,7 @@

    text:alphabetical Attributes - text:outline-level[2]  + text:outline-level[3]  text:style-name    @@ -15098,8 +15098,8 @@

    text:chapter Element

    Attributes - text:display[4]  - text:outline-level[3]  + text:display[5]  + text:outline-level[2]    @@ -15159,7 +15159,7 @@

    text:conditional-text Element< Attributes - text:condition[2]  + text:condition[1]  text:current-value  text:string-value-if-false  text:string-value-if-true  @@ -15224,7 +15224,7 @@

    text:creation-time Element

    style:data-style-name  text:fixed  - text:time-value[2]  + text:time-value[1]    @@ -15347,7 +15347,7 @@

    text:database-next Element

    Attributes - text:condition[2]  + text:condition[1]  text:database-name  text:table-name  text:table-type  @@ -15415,7 +15415,7 @@

    text:database-row-select Elemen Attributes - text:condition[2]  + text:condition[1]  text:database-name  text:row-number  text:table-name  @@ -15783,12 +15783,12 @@

    text:expression Element

    office:value-type[1]  office:value-type[2]  office:value-type[3]  - office:value-type[4]  office:value-type[5]  office:value-type[7]  office:value-type[8]  + office:value-type[9]  style:data-style-name  - text:display[3]  + text:display[2]  text:formula    @@ -15818,7 +15818,7 @@

    text:file-name Element

    Attributes - text:display[7]  + text:display[4]  text:fixed    @@ -15887,7 +15887,7 @@

    text:h Element

    text:is-list-header  text:outline-level[1]  text:restart-numbering  - text:start-value[1]  + text:start-value[2]  text:style-name  xhtml:about  xhtml:content  @@ -16052,7 +16052,7 @@

    text:hidden-paragraph Element< Attributes - text:condition[2]  + text:condition[1]  text:is-hidden    @@ -16082,7 +16082,7 @@

    text:hidden-text Element

    Attributes - text:condition[2]  + text:condition[1]  text:is-hidden  text:string-value    @@ -16328,7 +16328,7 @@

    text:index-entry-chapter Elemen Attributes - text:display[4]  + text:display[5]  text:outline-level[1]  text:style-name    @@ -16468,8 +16468,8 @@

    text:index-entry-tab-stop Elem style:leader-char  style:position[1]  - style:type[2]  style:type[3]  + style:type[4]  text:style-name    @@ -16934,7 +16934,7 @@

    text:list-item Element

    Attributes - text:start-value[1]  + text:start-value[2]  text:style-override  xml:id    @@ -16993,9 +16993,9 @@

    text:list-level-style-image Attributes text:level  - xlink:actuate[2]  + xlink:actuate[1]  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type    @@ -17027,7 +17027,7 @@

    text:list-level-style-numbe style:num-suffix  text:display-levels  text:level  - text:start-value[2]  + text:start-value[1]  text:style-name    @@ -17471,7 +17471,7 @@

    text:modification-time Element style:data-style-name  text:fixed  - text:time-value[1]  + text:time-value[2]    @@ -17656,7 +17656,7 @@

    text:note-ref Element

    text:note-class  text:ref-name  - text:reference-format[2]  + text:reference-format[1]    @@ -17691,7 +17691,7 @@

    text:notes-configuration Elemen text:master-page-name  text:note-class  text:start-numbering-at  - text:start-value[1]  + text:start-value[2]    @@ -17750,7 +17750,7 @@

    text:numbered-paragraph Element< text:continue-numbering  text:level  text:list-id  - text:start-value[1]  + text:start-value[2]  text:style-name  xml:id    @@ -17917,7 +17917,7 @@

    text:outline-level-style Elemen style:num-suffix  text:display-levels  text:level  - text:start-value[2]  + text:start-value[1]  text:style-name    @@ -18472,7 +18472,7 @@

    text:print-time Element

    style:data-style-name  text:fixed  - text:time-value[1]  + text:time-value[2]    @@ -18914,9 +18914,9 @@

    text:section Element

    Attributes - text:condition[2]  + text:condition[1]  text:display[1]  - text:display[2]  + text:display[3]  text:name  text:protected  text:protection-key  @@ -18984,7 +18984,7 @@

    text:section-source Element

    text:filter-name  text:section-name  xlink:href  - xlink:show[2]  + xlink:show[1]  xlink:type    @@ -19540,7 +19540,7 @@

    text:sequence-ref Element

    Attributes text:ref-name  - text:reference-format[1]  + text:reference-format[2]    @@ -19910,7 +19910,7 @@

    text:table-formula Element

    Attributes style:data-style-name  - text:display[3]  + text:display[2]  text:formula    @@ -20143,7 +20143,7 @@

    text:template-name Element

    Attributes - text:display[9]  + text:display[6]    @@ -20204,7 +20204,7 @@

    text:time Element

    style:data-style-name  text:fixed  text:time-adjust  - text:time-value[2]  + text:time-value[1]    @@ -20415,10 +20415,10 @@

    text:user-field-decl Elementoffice:value-type[1]  office:value-type[2]  office:value-type[3]  - office:value-type[4]  office:value-type[5]  office:value-type[7]  office:value-type[8]  + office:value-type[9]  text:formula  text:name    @@ -20482,7 +20482,7 @@

    text:user-field-get Element

    Attributes style:data-style-name  - text:display[6]  + text:display[9]  text:name    @@ -20731,7 +20731,7 @@

    text:variable-decl Element

    Attributes - office:value-type[9]  + office:value-type[4]  text:name    @@ -20794,7 +20794,7 @@

    text:variable-get Element

    Attributes style:data-style-name  - text:display[3]  + text:display[2]  text:name    @@ -20824,7 +20824,7 @@

    text:variable-input Element

    Attributes - office:value-type[9]  + office:value-type[4]  style:data-style-name  text:description  text:display[8]  @@ -20866,10 +20866,10 @@

    text:variable-set Element

    office:value-type[1]  office:value-type[2]  office:value-type[3]  - office:value-type[4]  office:value-type[5]  office:value-type[7]  office:value-type[8]  + office:value-type[9]  style:data-style-name  text:display[8]  text:formula  @@ -22180,10 +22180,10 @@

    chart:legend-position[1] Attribu Values - "bottom-end"  - "bottom-start"  - "top-end"  - "top-start"  + "bottom"  + "end"  + "start"  + "top"    @@ -22205,10 +22205,10 @@

    chart:legend-position[2] Attribu Values - "bottom"  - "end"  - "start"  - "top"  + "bottom-end"  + "bottom-start"  + "top-end"  + "top-start"    @@ -22980,7 +22980,7 @@

    chart:symbol-type[2] Attribute&n Values - "named-symbol"  + "none"    @@ -23002,7 +23002,7 @@

    chart:symbol-type[3] Attribute&n Values - "none"  + "automatic"    @@ -23024,7 +23024,7 @@

    chart:symbol-type[4] Attribute&n Values - "automatic"  + "named-symbol"    @@ -25148,8 +25148,7 @@

    dr3d:lighting-mode[1] Attribute Parent Elements - chart:plot-area  - dr3d:scene  + style:graphic-properties    @@ -25160,8 +25159,8 @@

    dr3d:lighting-mode[1] Attribute Values - "false"  - "true"  + "double-sided"  + "standard"    @@ -25172,7 +25171,8 @@

    dr3d:lighting-mode[2] Attribute Parent Elements - style:graphic-properties  + chart:plot-area  + dr3d:scene    @@ -25183,8 +25183,8 @@

    dr3d:lighting-mode[2] Attribute Values - "double-sided"  - "standard"  + "false"  + "true"    @@ -28348,6 +28348,28 @@

    draw:id[1] Attribute

    + + + + + + + + + + +
    Parent Elements + draw:glue-point  + 
    Datatypes + nonNegativeInteger  + 
    Values
    +
    +

    draw:id[2] Attribute

    +

    There are more than one Definitions by this name.

    + + +
    Parent Elements dr3d:cube  dr3d:extrude  @@ -28386,28 +28408,6 @@

    draw:id[1] Attribute

     
    -
    -

    draw:id[2] Attribute

    -

    There are more than one Definitions by this name.

    - - - - - - - - - - - - - -
    Parent Elements - draw:glue-point  - 
    Datatypes - nonNegativeInteger  - 
    Values

    draw:image-opacity Attribute (new in ODF 1.2)

    @@ -29789,7 +29789,8 @@

    draw:style[1] Attribute

    @@ -29800,9 +29801,12 @@

    draw:style[1] Attribute

    Parent Elements - draw:hatch  + draw:gradient  + draw:opacity   
    Values - "double"  - "single"  - "triple"  + "axial"  + "ellipsoid"  + "linear"  + "radial"  + "rectangular"  + "square"   
    @@ -29813,8 +29817,7 @@

    draw:style[2] Attribute

    Parent Elements - draw:gradient  - draw:opacity  + draw:hatch    @@ -29825,12 +29828,9 @@

    draw:style[2] Attribute

    Values - "axial"  - "ellipsoid"  - "linear"  - "radial"  - "rectangular"  - "square"  + "double"  + "single"  + "triple"    @@ -30227,19 +30227,21 @@

    draw:type[1] Attribute

    Parent Elements - draw:enhanced-geometry  + draw:connector    Datatypes - string    Values - "non-primitive"  + "curve"  + "line"  + "lines"  + "standard"    @@ -30250,21 +30252,19 @@

    draw:type[2] Attribute

    Parent Elements - draw:connector  + draw:enhanced-geometry    Datatypes + string    Values - "curve"  - "line"  - "lines"  - "standard"  + "non-primitive"    @@ -31225,13 +31225,19 @@

    fo:margin-left[1] Attribute (n Parent Elements - style:list-level-label-alignment  + style:graphic-properties  + style:header-footer-properties  + style:page-layout-properties  + style:paragraph-properties  + style:section-properties  + style:table-properties    Datatypes string  + string    @@ -31247,19 +31253,13 @@

    fo:margin-left[2] Attribute (n Parent Elements - style:graphic-properties  - style:header-footer-properties  - style:page-layout-properties  - style:paragraph-properties  - style:section-properties  - style:table-properties  + style:list-level-label-alignment    Datatypes string  - string    @@ -32285,13 +32285,13 @@

    form:current-value[1] Attribute Parent Elements - form:date  + form:number    Datatypes - date  + double    @@ -32307,13 +32307,13 @@

    form:current-value[2] Attribute Parent Elements - form:time  + form:date    Datatypes - time  + date    @@ -32355,13 +32355,13 @@

    form:current-value[4] Attribute Parent Elements - form:number  + form:time    Datatypes - double  + time    @@ -33058,13 +33058,13 @@

    form:max-value[1] Attribute

    Parent Elements - form:time  + form:number    Datatypes - time  + double    @@ -33080,13 +33080,13 @@

    form:max-value[2] Attribute

    Parent Elements - form:value-range  + form:date    Datatypes - integer  + date    @@ -33102,13 +33102,13 @@

    form:max-value[3] Attribute

    Parent Elements - form:formatted-text  + form:value-range    Datatypes - string  + integer    @@ -33124,13 +33124,13 @@

    form:max-value[4] Attribute

    Parent Elements - form:number  + form:time    Datatypes - double  + time    @@ -33146,13 +33146,13 @@

    form:max-value[5] Attribute

    Parent Elements - form:date  + form:formatted-text    Datatypes - date  + string    @@ -33191,13 +33191,13 @@

    form:min-value[1] Attribute

    Parent Elements - form:number  + form:value-range    Datatypes - double  + integer    @@ -33212,6 +33212,28 @@

    form:min-value[2] Attribute

    + + + + + + + + + + +
    Parent Elements + form:time  + 
    Datatypes + time  + 
    Values
    +
    +

    form:min-value[3] Attribute

    +

    There are more than one Definitions by this name.

    + + + @@ -33228,28 +33250,6 @@

    form:min-value[2] Attribute

     
    Parent Elements form:date   
    -
    -

    form:min-value[3] Attribute

    -

    There are more than one Definitions by this name.

    - - - - - - - - - - - - - -
    Parent Elements - form:value-range  - 
    Datatypes - integer  - 
    Values

    form:min-value[4] Attribute

    There are more than one Definitions by this name.

    @@ -33257,13 +33257,13 @@

    form:min-value[4] Attribute

    Parent Elements - form:time  + form:number    Datatypes - time  + double    @@ -33933,25 +33933,13 @@

    form:value[1] Attribute

    Parent Elements - form:button  - form:checkbox  - form:combobox  - form:file  - form:formatted-text  - form:hidden  - form:image  - form:option  - form:password  - form:radio  - form:text  - form:textarea  - form:value-range  + form:number    Datatypes - string  + double    @@ -33989,13 +33977,25 @@

    form:value[3] Attribute

    Parent Elements - form:time  + form:button  + form:checkbox  + form:combobox  + form:file  + form:formatted-text  + form:hidden  + form:image  + form:option  + form:password  + form:radio  + form:text  + form:textarea  + form:value-range    Datatypes - time  + string    @@ -34011,13 +34011,13 @@

    form:value[4] Attribute

    Parent Elements - form:number  + form:time    Datatypes - double  + time    @@ -34491,7 +34491,7 @@

    meta:value-type[1] Attribute  Values - "time"  + "string"    @@ -34513,7 +34513,7 @@

    meta:value-type[2] Attribute  Values - "float"  + "date"    @@ -34535,7 +34535,7 @@

    meta:value-type[3] Attribute  Values - "date"  + "boolean"    @@ -34557,7 +34557,7 @@

    meta:value-type[4] Attribute  Values - "string"  + "time"    @@ -34579,7 +34579,7 @@

    meta:value-type[5] Attribute  Values - "boolean"  + "float"    @@ -35364,7 +35364,7 @@

    office:boolean-value Attribute db:column  db:column-definition  - form:list-value[1]  + form:list-value[5]  form:property  table:change-track-table-cell  table:covered-table-cell  @@ -35449,7 +35449,7 @@

    office:date-value Attribute

    db:column  db:column-definition  - form:list-value[7]  + form:list-value[4]  form:property  table:change-track-table-cell  table:covered-table-cell  @@ -35729,7 +35729,7 @@

    office:time-value Attribute

    db:column  db:column-definition  - form:list-value[2]  + form:list-value[7]  form:property  table:change-track-table-cell  table:covered-table-cell  @@ -35782,8 +35782,8 @@

    office:value Attribute

    db:column  db:column-definition  - form:list-value[4]  - form:list-value[5]  + form:list-value[1]  + form:list-value[2]  form:list-value[6]  form:property  table:change-track-table-cell  @@ -35834,7 +35834,7 @@

    office:value-type[1] Attribute Values - "percentage"  + "date"    @@ -35865,7 +35865,7 @@

    office:value-type[2] Attribute Values - "string"  + "time"    @@ -35896,7 +35896,7 @@

    office:value-type[3] Attribute Values - "date"  + "boolean"    @@ -35907,16 +35907,8 @@

    office:value-type[4] Attribute Parent Elements - db:column  - db:column-definition  - form:list-property  - form:property  - table:change-track-table-cell  - table:covered-table-cell  - table:table-cell  - text:expression  - text:user-field-decl  - text:variable-set  + text:variable-decl  + text:variable-input    @@ -35928,6 +35920,12 @@

    office:value-type[4] AttributeValues "boolean"  + "currency"  + "date"  + "float"  + "percentage"  + "string"  + "time"    @@ -36012,7 +36010,7 @@

    office:value-type[7] Attribute Values - "time"  + "percentage"    @@ -36054,8 +36052,16 @@

    office:value-type[9] Attribute Parent Elements - text:variable-decl  - text:variable-input  + db:column  + db:column-definition  + form:list-property  + form:property  + table:change-track-table-cell  + table:covered-table-cell  + table:table-cell  + text:expression  + text:user-field-decl  + text:variable-set    @@ -36066,13 +36072,7 @@

    office:value-type[9] Attribute Values - "boolean"  - "currency"  - "date"  - "float"  - "percentage"  "string"  - "time"    @@ -39192,8 +39192,7 @@

    style:family[1] Attribute

    Values - "graphic"  - "presentation"  + "table-cell"    @@ -39239,7 +39238,7 @@

    style:family[3] Attribute

    Values - "table-column"  + "table-row"    @@ -39262,7 +39261,7 @@

    style:family[4] Attribute

    Values - "table-row"  + "section"    @@ -39285,7 +39284,7 @@

    style:family[5] Attribute

    Values - "table-cell"  + "drawing-page"    @@ -39308,7 +39307,8 @@

    style:family[6] Attribute

    Values - "chart"  + "graphic"  + "presentation"    @@ -39331,7 +39331,7 @@

    style:family[7] Attribute

    Values - "drawing-page"  + "table-column"    @@ -39354,7 +39354,7 @@

    style:family[8] Attribute

    Values - "table"  + "text"    @@ -39377,7 +39377,7 @@

    style:family[9] Attribute

    Values - "ruby"  + "chart"    @@ -39400,7 +39400,7 @@

    style:family[10] Attribute

    Values - "text"  + "table"    @@ -39423,7 +39423,7 @@

    style:family[11] Attribute

    Values - "section"  + "ruby"    @@ -40786,9 +40786,7 @@

    style:legend-expansion[1] Attri Values - "balanced"  - "high"  - "wide"  + "custom"    @@ -40810,7 +40808,9 @@

    style:legend-expansion[2] Attri Values - "custom"  + "balanced"  + "high"  + "wide"    @@ -41695,7 +41695,7 @@

    style:protect[1] Attribute (new Parent Elements - style:graphic-properties  + style:section-properties    @@ -41706,10 +41706,8 @@

    style:protect[1] Attribute (new Values - "content"  - "none"  - "position"  - "size"  + "false"  + "true"    @@ -41720,7 +41718,7 @@

    style:protect[2] Attribute (new Parent Elements - style:section-properties  + style:graphic-properties    @@ -41731,8 +41729,10 @@

    style:protect[2] Attribute (new Values - "false"  - "true"  + "content"  + "none"  + "position"  + "size"    @@ -41853,8 +41853,7 @@

    style:rel-width[1] Attribute

    Parent Elements - style:footnote-sep  - style:table-properties  + style:column    @@ -41876,7 +41875,8 @@

    style:rel-width[2] Attribute

    Parent Elements - style:column  + style:footnote-sep  + style:table-properties    @@ -43187,7 +43187,7 @@

    style:type[2] Attribute

    Parent Elements - text:index-entry-tab-stop  + style:tab-stop    @@ -43198,7 +43198,9 @@

    style:type[2] Attribute

    Values + "center"  "left"  + "right"    @@ -43220,7 +43222,7 @@

    style:type[3] Attribute

    Values - "right"  + "left"    @@ -43231,7 +43233,7 @@

    style:type[4] Attribute

    Parent Elements - style:tab-stop  + text:index-entry-tab-stop    @@ -43242,8 +43244,6 @@

    style:type[4] Attribute

    Values - "center"  - "left"  "right"    @@ -43321,7 +43321,7 @@

    style:vertical-align[1] Attribute Parent Elements - style:table-cell-properties  + style:column-sep    @@ -43332,7 +43332,6 @@

    style:vertical-align[1] Attribute Values - "automatic"  "bottom"  "middle"  "top"  @@ -43372,7 +43371,7 @@

    style:vertical-align[3] Attribute Parent Elements - style:column-sep  + style:table-cell-properties    @@ -43383,6 +43382,7 @@

    style:vertical-align[3] Attribute Values + "automatic"  "bottom"  "middle"  "top"  @@ -43825,14 +43825,15 @@

    svg:cy[1] Attribute

    Parent Elements - svg:radialGradient  + draw:area-circle  + draw:circle  + draw:ellipse    Datatypes string  - string    @@ -43848,15 +43849,14 @@

    svg:cy[2] Attribute

    Parent Elements - draw:area-circle  - draw:circle  - draw:ellipse  + svg:radialGradient    Datatypes string  + string    @@ -44503,7 +44503,7 @@

    svg:rx[1] Attribute

    Parent Elements - draw:ellipse  + draw:rect    @@ -44525,7 +44525,7 @@

    svg:rx[2] Attribute

    Parent Elements - draw:rect  + draw:ellipse    @@ -45093,29 +45093,6 @@

    svg:width[1] Attribute

    - - - - - - - - - - -
    Parent Elements - presentation:placeholder  - 
    Datatypes - string  - string  - 
    Values
    -
    -

    svg:width[2] Attribute

    -

    There are more than one Definitions by this name.

    - - -
    Parent Elements chart:chart  chart:coordinate-region  @@ -45157,6 +45134,29 @@

    svg:width[2] Attribute

     
    +
    +

    svg:width[2] Attribute

    +

    There are more than one Definitions by this name.

    + + + + + + + + + + + + + +
    Parent Elements + presentation:placeholder  + 
    Datatypes + string  + string  + 
    Values

    svg:widths Attribute

    @@ -45369,30 +45369,6 @@

    svg:y[1] Attribute

    - - - - - - - - - - -
    Parent Elements - draw:glue-point  - presentation:placeholder  - 
    Datatypes - string  - string  - 
    Values
    -
    -

    svg:y[2] Attribute

    -

    There are more than one Definitions by this name.

    - - -
    Parent Elements chart:coordinate-region  chart:data-label  @@ -45436,21 +45412,21 @@

    svg:y[2] Attribute


    -

    svg:y1[1] Attribute

    +

    svg:y[2] Attribute

    There are more than one Definitions by this name.

    @@ -45460,7 +45436,7 @@

    svg:y1[1] Attribute

    Parent Elements - draw:connector  - draw:line  - draw:measure  + draw:glue-point  + presentation:placeholder   
    Datatypes string  + string   

    -

    svg:y1[2] Attribute

    +

    svg:y1[1] Attribute

    There are more than one Definitions by this name.

    @@ -45483,7 +45459,7 @@

    svg:y1[2] Attribute


    -

    svg:y2[1] Attribute

    +

    svg:y1[2] Attribute

    There are more than one Definitions by this name.

    @@ -45507,7 +45483,7 @@

    svg:y2[1] Attribute


    -

    svg:y2[2] Attribute

    +

    svg:y2[1] Attribute

    There are more than one Definitions by this name.

    @@ -45529,6 +45505,30 @@

    svg:y2[2] Attribute

     
    +
    +

    svg:y2[2] Attribute

    +

    There are more than one Definitions by this name.

    + + + + + + + + + + + + + +
    Parent Elements + draw:connector  + draw:line  + draw:measure  + 
    Datatypes + string  + 
    Values

    table:acceptance-state Attribute

    @@ -45804,18 +45804,21 @@

    table:case-sensitive[1] Attribute

    Parent Elements - table:filter-condition  + table:calculation-settings  + table:sort  + table:subtotal-rules   
    Datatypes - string   
    Values + "false"  + "true"   
    @@ -45826,21 +45829,18 @@

    table:case-sensitive[2] Attribute Parent Elements - table:calculation-settings  - table:sort  - table:subtotal-rules  + table:filter-condition    Datatypes + string    Values - "false"  - "true"    @@ -46274,20 +46274,17 @@

    table:data-type[1] Attribute

    Parent Elements - table:sort-by  - table:sort-groups  + table:filter-condition    Datatypes - string    Values - "automatic"  "number"  "text"    @@ -46300,17 +46297,20 @@

    table:data-type[2] Attribute

    Parent Elements - table:filter-condition  + table:sort-by  + table:sort-groups    Datatypes + string    Values + "automatic"  "number"  "text"    @@ -47105,8 +47105,8 @@

    table:function[1] Attribute

    Parent Elements - table:data-pilot-field  - table:data-pilot-subtotal  + table:consolidation  + table:subtotal-field    @@ -47118,7 +47118,6 @@

    table:function[1] Attribute

    Values - "auto"  "average"  "count"  "countnums"  @@ -47140,8 +47139,8 @@

    table:function[2] Attribute

    Parent Elements - table:consolidation  - table:subtotal-field  + table:data-pilot-field  + table:data-pilot-subtotal    @@ -47153,6 +47152,7 @@

    table:function[2] Attribute

    Values + "auto"  "average"  "count"  "countnums"  @@ -48163,7 +48163,8 @@

    table:orientation[1] Attribute Parent Elements - table:data-pilot-field  + table:database-range  + table:label-range    @@ -48175,8 +48176,6 @@

    table:orientation[1] AttributeValues "column"  - "data"  - "hidden"  "row"    @@ -48188,8 +48187,7 @@

    table:orientation[2] Attribute Parent Elements - table:database-range  - table:label-range  + table:data-pilot-field    @@ -48200,8 +48198,7 @@

    table:orientation[2] Attribute Values - "column"  - "row"  + "page"    @@ -48223,7 +48220,10 @@

    table:orientation[3] Attribute Values - "page"  + "column"  + "data"  + "hidden"  + "row"    @@ -48831,9 +48831,7 @@

    table:sort-mode[1] Attribute

    Values - "manual"  - "name"  - "none"  + "data"    @@ -48855,7 +48853,9 @@

    table:sort-mode[2] Attribute

    Values - "data"  + "manual"  + "name"  + "none"    @@ -49398,6 +49398,31 @@

    table:type[1] Attribute

    + + + + + + + + + + +
    Parent Elements + table:deletion  + table:insertion  + 
    Datatypes
    Values + "column"  + "row"  + "table"  + 
    +
    +

    table:type[2] Attribute

    +

    There are more than one Definitions by this name.

    + + + @@ -49422,31 +49447,6 @@

    table:type[1] Attribute

     
    Parent Elements table:data-pilot-field-reference   
    -
    -

    table:type[2] Attribute

    -

    There are more than one Definitions by this name.

    - - - - - - - - - - - - - -
    Parent Elements - table:deletion  - table:insertion  - 
    Datatypes
    Values - "column"  - "row"  - "table"  - 

    table:use-banding-columns-styles Attribute (new in ODF 1.2)

    @@ -49696,13 +49696,12 @@

    table:value[1] Attribute

    @@ -49719,12 +49718,13 @@

    table:value[2] Attribute

    @@ -50617,18 +50617,23 @@

    text:condition[1] Attribute

    Parent Elements - table:filter-condition  + table:filter-set-item   
    Datatypes - double  string   
    Parent Elements - table:filter-set-item  + table:filter-condition   
    Datatypes + double  string   
    Parent Elements - style:text-properties  + text:conditional-text  + text:database-next  + text:database-row-select  + text:hidden-paragraph  + text:hidden-text  + text:section   
    Datatypes + string   
    Values - "none"   
    @@ -50639,23 +50644,18 @@

    text:condition[2] Attribute

    Parent Elements - text:conditional-text  - text:database-next  - text:database-row-select  - text:hidden-paragraph  - text:hidden-text  - text:section  + style:text-properties    Datatypes - string    Values + "none"    @@ -51129,7 +51129,9 @@

    text:display[2] Attribute

    Parent Elements - text:section  + text:expression  + text:table-formula  + text:variable-get    @@ -51140,8 +51142,8 @@

    text:display[2] Attribute

    Values - "none"  - "true"  + "formula"  + "value"    @@ -51152,9 +51154,7 @@

    text:display[3] Attribute

    Parent Elements - text:expression  - text:table-formula  - text:variable-get  + text:section    @@ -51165,8 +51165,8 @@

    text:display[3] Attribute

    Values - "formula"  - "value"  + "none"  + "true"    @@ -51177,8 +51177,7 @@

    text:display[4] Attribute

    Parent Elements - text:chapter  - text:index-entry-chapter  + text:file-name    @@ -51189,11 +51188,10 @@

    text:display[4] Attribute

    Values + "full"  "name"  - "number"  - "number-and-name"  - "plain-number"  - "plain-number-and-name"  + "name-and-extension"  + "path"    @@ -51204,7 +51202,8 @@

    text:display[5] Attribute

    Parent Elements - style:text-properties  + text:chapter  + text:index-entry-chapter    @@ -51215,7 +51214,11 @@

    text:display[5] Attribute

    Values - "true"  + "name"  + "number"  + "number-and-name"  + "plain-number"  + "plain-number-and-name"    @@ -51226,7 +51229,7 @@

    text:display[6] Attribute

    Parent Elements - text:user-field-get  + text:template-name    @@ -51237,9 +51240,12 @@

    text:display[6] Attribute

    Values - "formula"  - "none"  - "value"  + "area"  + "full"  + "name"  + "name-and-extension"  + "path"  + "title"    @@ -51250,7 +51256,7 @@

    text:display[7] Attribute

    Parent Elements - text:file-name  + style:text-properties    @@ -51261,10 +51267,7 @@

    text:display[7] Attribute

    Values - "full"  - "name"  - "name-and-extension"  - "path"  + "none"    @@ -51299,7 +51302,7 @@

    text:display[9] Attribute

    Parent Elements - text:template-name  + text:user-field-get    @@ -51310,12 +51313,9 @@

    text:display[9] Attribute

    Values - "area"  - "full"  - "name"  - "name-and-extension"  - "path"  - "title"  + "formula"  + "none"  + "value"    @@ -51337,7 +51337,7 @@

    text:display[10] Attribute

    Values - "none"  + "true"    @@ -52667,21 +52667,18 @@

    text:outline-level[2] Attribute Parent Elements - text:alphabetical-index-entry-template  + text:chapter    Datatypes + nonNegativeInteger    Values - "1"  - "2"  - "3"  - "separator"    @@ -52692,18 +52689,21 @@

    text:outline-level[3] Attribute Parent Elements - text:chapter  + text:alphabetical-index-entry-template    Datatypes - nonNegativeInteger    Values + "1"  + "2"  + "3"  + "separator"    @@ -52937,7 +52937,7 @@

    text:reference-format[1] Attribu Parent Elements - text:sequence-ref  + text:note-ref    @@ -52948,13 +52948,10 @@

    text:reference-format[1] Attribu Values - "caption"  - "category-and-value"  "chapter"  "direction"  "page"  "text"  - "value"    @@ -52965,7 +52962,7 @@

    text:reference-format[2] Attribu Parent Elements - text:note-ref  + text:sequence-ref    @@ -52976,10 +52973,13 @@

    text:reference-format[2] Attribu Values + "caption"  + "category-and-value"  "chapter"  "direction"  "page"  "text"  + "value"    @@ -53373,16 +53373,14 @@

    text:start-value[1] Attribute

    Parent Elements - text:h  - text:list-item  - text:notes-configuration  - text:numbered-paragraph  + text:list-level-style-number  + text:outline-level-style    Datatypes - nonNegativeInteger  + positiveInteger    @@ -53398,14 +53396,16 @@

    text:start-value[2] Attribute

    Parent Elements - text:list-level-style-number  - text:outline-level-style  + text:h  + text:list-item  + text:notes-configuration  + text:numbered-paragraph    Datatypes - positiveInteger  + nonNegativeInteger    @@ -53704,13 +53704,14 @@

    text:time-value[1] Attribute

    Parent Elements - text:modification-time  - text:print-time  + text:creation-time  + text:time    Datatypes + dateTime  time    @@ -53727,14 +53728,13 @@

    text:time-value[2] Attribute

    Parent Elements - text:creation-time  - text:time  + text:modification-time  + text:print-time    Datatypes - dateTime  time    @@ -54401,19 +54401,16 @@

    xlink:actuate[1] Attribute

    Parent Elements - db:component  - db:connection-resource  - draw:a  - form:form  - meta:template  - presentation:event-listener  - presentation:sound  - script:event-listener  - svg:definition-src  - svg:font-face-uri  - table:cell-range-source  - table:table-source  - text:a  + draw:applet  + draw:fill-image  + draw:floating-frame  + draw:image  + draw:object  + draw:object-ole  + draw:plugin  + meta:auto-reload  + style:background-image  + text:list-level-style-image    @@ -54424,7 +54421,7 @@

    xlink:actuate[1] Attribute

    Values - "onRequest"  + "onLoad"    @@ -54435,16 +54432,19 @@

    xlink:actuate[2] Attribute

    Parent Elements - draw:applet  - draw:fill-image  - draw:floating-frame  - draw:image  - draw:object  - draw:object-ole  - draw:plugin  - meta:auto-reload  - style:background-image  - text:list-level-style-image  + db:component  + db:connection-resource  + draw:a  + form:form  + meta:template  + presentation:event-listener  + presentation:sound  + script:event-listener  + svg:definition-src  + svg:font-face-uri  + table:cell-range-source  + table:table-source  + text:a    @@ -54455,7 +54455,7 @@

    xlink:actuate[2] Attribute

    Values - "onLoad"  + "onRequest"    @@ -54522,13 +54522,17 @@

    xlink:show[1] Attribute

    Parent Elements - draw:a  - draw:area-circle  - draw:area-polygon  - draw:area-rectangle  - meta:hyperlink-behaviour  - presentation:sound  - text:a  + draw:applet  + draw:fill-image  + draw:floating-frame  + draw:image  + draw:object  + draw:object-ole  + draw:plugin  + presentation:event-listener  + style:background-image  + text:list-level-style-image  + text:section-source    @@ -54539,8 +54543,7 @@

    xlink:show[1] Attribute

    Values - "new"  - "replace"  + "embed"    @@ -54551,17 +54554,8 @@

    xlink:show[2] Attribute

    Parent Elements - draw:applet  - draw:fill-image  - draw:floating-frame  - draw:image  - draw:object  - draw:object-ole  - draw:plugin  - presentation:event-listener  - style:background-image  - text:list-level-style-image  - text:section-source  + db:component  + db:connection-resource    @@ -54572,7 +54566,7 @@

    xlink:show[2] Attribute

    Values - "embed"  + "none"    @@ -54583,8 +54577,7 @@

    xlink:show[3] Attribute

    Parent Elements - db:component  - db:connection-resource  + meta:auto-reload    @@ -54595,7 +54588,7 @@

    xlink:show[3] Attribute

    Values - "none"  + "replace"    @@ -54606,7 +54599,13 @@

    xlink:show[4] Attribute

    Parent Elements - meta:auto-reload  + draw:a  + draw:area-circle  + draw:area-polygon  + draw:area-rectangle  + meta:hyperlink-behaviour  + presentation:sound  + text:a    @@ -54617,6 +54616,7 @@

    xlink:show[4] Attribute

    Values + "new"  "replace"    diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java index 5891c9206c..ee23f391a2 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java @@ -94,12 +94,12 @@ public void setDrawAlignAttribute(String drawAlignValue) { * * Attribute is mandatory. * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Integer , the value or null, if the attribute is not set and no default value defined. */ - public String getDrawIdAttribute() { + public Integer getDrawIdAttribute() { DrawIdAttribute attr = (DrawIdAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "id"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Integer.valueOf(attr.intValue()); } return null; } @@ -107,12 +107,12 @@ public String getDrawIdAttribute() { /** * Sets the value of ODFDOM attribute representation DrawIdAttribute , See {@odf.attribute draw:id} * - * @param drawIdValue The type is String + * @param drawIdValue The type is Integer */ - public void setDrawIdAttribute(String drawIdValue) { + public void setDrawIdAttribute(Integer drawIdValue) { DrawIdAttribute attr = new DrawIdAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(drawIdValue); + attr.setIntValue(drawIdValue.intValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java index 0d5e09fc52..784a18b7d5 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java @@ -79,12 +79,12 @@ public OdfName getOdfName() { * * Attribute is mandatory. * - * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. + * @return - the String , the value or null, if the attribute is not set and no default value defined. */ - public Boolean getDrawConcaveAttribute() { + public String getDrawConcaveAttribute() { DrawConcaveAttribute attr = (DrawConcaveAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "concave"); - if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + if (attr != null) { + return String.valueOf(attr.getValue()); } return null; } @@ -92,12 +92,12 @@ public Boolean getDrawConcaveAttribute() { /** * Sets the value of ODFDOM attribute representation DrawConcaveAttribute , See {@odf.attribute draw:concave} * - * @param drawConcaveValue The type is Boolean + * @param drawConcaveValue The type is String */ - public void setDrawConcaveAttribute(Boolean drawConcaveValue) { + public void setDrawConcaveAttribute(String drawConcaveValue) { DrawConcaveAttribute attr = new DrawConcaveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawConcaveValue.booleanValue()); + attr.setValue(drawConcaveValue); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java index c5b018d17b..c02e5b9a85 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java @@ -128,12 +128,12 @@ public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullVal /** * Receives the value of the ODFDOM attribute representation FormCurrentValueAttribute , See {@odf.attribute form:current-value} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Double , the value or null, if the attribute is not set and no default value defined. */ - public String getFormCurrentValueAttribute() { + public Double getFormCurrentValueAttribute() { FormCurrentValueAttribute attr = (FormCurrentValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "current-value"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Double.valueOf(attr.doubleValue()); } return null; } @@ -141,12 +141,12 @@ public String getFormCurrentValueAttribute() { /** * Sets the value of ODFDOM attribute representation FormCurrentValueAttribute , See {@odf.attribute form:current-value} * - * @param formCurrentValueValue The type is String + * @param formCurrentValueValue The type is Double */ - public void setFormCurrentValueAttribute(String formCurrentValueValue) { + public void setFormCurrentValueAttribute(Double formCurrentValueValue) { FormCurrentValueAttribute attr = new FormCurrentValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(formCurrentValueValue); + attr.setDoubleValue(formCurrentValueValue.doubleValue()); } /** @@ -250,12 +250,12 @@ public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { /** * Receives the value of the ODFDOM attribute representation FormMaxValueAttribute , See {@odf.attribute form:max-value} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Double , the value or null, if the attribute is not set and no default value defined. */ - public String getFormMaxValueAttribute() { + public Double getFormMaxValueAttribute() { FormMaxValueAttribute attr = (FormMaxValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-value"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Double.valueOf(attr.doubleValue()); } return null; } @@ -263,23 +263,23 @@ public String getFormMaxValueAttribute() { /** * Sets the value of ODFDOM attribute representation FormMaxValueAttribute , See {@odf.attribute form:max-value} * - * @param formMaxValueValue The type is String + * @param formMaxValueValue The type is Double */ - public void setFormMaxValueAttribute(String formMaxValueValue) { + public void setFormMaxValueAttribute(Double formMaxValueValue) { FormMaxValueAttribute attr = new FormMaxValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(formMaxValueValue); + attr.setDoubleValue(formMaxValueValue.doubleValue()); } /** * Receives the value of the ODFDOM attribute representation FormMinValueAttribute , See {@odf.attribute form:min-value} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Double , the value or null, if the attribute is not set and no default value defined. */ - public String getFormMinValueAttribute() { + public Double getFormMinValueAttribute() { FormMinValueAttribute attr = (FormMinValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "min-value"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Double.valueOf(attr.doubleValue()); } return null; } @@ -287,12 +287,12 @@ public String getFormMinValueAttribute() { /** * Sets the value of ODFDOM attribute representation FormMinValueAttribute , See {@odf.attribute form:min-value} * - * @param formMinValueValue The type is String + * @param formMinValueValue The type is Double */ - public void setFormMinValueAttribute(String formMinValueValue) { + public void setFormMinValueAttribute(Double formMinValueValue) { FormMinValueAttribute attr = new FormMinValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(formMinValueValue); + attr.setDoubleValue(formMinValueValue.doubleValue()); } /** @@ -442,12 +442,12 @@ public void setFormTitleAttribute(String formTitleValue) { /** * Receives the value of the ODFDOM attribute representation FormValueAttribute , See {@odf.attribute form:value} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Double , the value or null, if the attribute is not set and no default value defined. */ - public String getFormValueAttribute() { + public Double getFormValueAttribute() { FormValueAttribute attr = (FormValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "value"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Double.valueOf(attr.doubleValue()); } return null; } @@ -455,12 +455,12 @@ public String getFormValueAttribute() { /** * Sets the value of ODFDOM attribute representation FormValueAttribute , See {@odf.attribute form:value} * - * @param formValueValue The type is String + * @param formValueValue The type is Double */ - public void setFormValueAttribute(String formValueValue) { + public void setFormValueAttribute(Double formValueValue) { FormValueAttribute attr = new FormValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(formValueValue); + attr.setDoubleValue(formValueValue.doubleValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java index 606c758e95..e9c4bb86d6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java @@ -92,25 +92,25 @@ public void setTableAutomaticFindLabelsAttribute(Boolean tableAutomaticFindLabel /** * Receives the value of the ODFDOM attribute representation TableCaseSensitiveAttribute , See {@odf.attribute table:case-sensitive} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. */ - public String getTableCaseSensitiveAttribute() { + public Boolean getTableCaseSensitiveAttribute() { TableCaseSensitiveAttribute attr = (TableCaseSensitiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "case-sensitive"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); } - return TableCaseSensitiveAttribute.DEFAULT_VALUE_TRUE; + return Boolean.valueOf(TableCaseSensitiveAttribute.DEFAULT_VALUE_TRUE); } /** * Sets the value of ODFDOM attribute representation TableCaseSensitiveAttribute , See {@odf.attribute table:case-sensitive} * - * @param tableCaseSensitiveValue The type is String + * @param tableCaseSensitiveValue The type is Boolean */ - public void setTableCaseSensitiveAttribute(String tableCaseSensitiveValue) { + public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { TableCaseSensitiveAttribute attr = new TableCaseSensitiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(tableCaseSensitiveValue); + attr.setBooleanValue(tableCaseSensitiveValue.booleanValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java index dd94a54910..1b91550e98 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java @@ -264,12 +264,12 @@ public void setTableOrientationAttribute(String tableOrientationValue) { /** * Receives the value of the ODFDOM attribute representation TableRefreshDelayAttribute , See {@odf.attribute table:refresh-delay} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. */ - public String getTableRefreshDelayAttribute() { + public Boolean getTableRefreshDelayAttribute() { TableRefreshDelayAttribute attr = (TableRefreshDelayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "refresh-delay"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); } return null; } @@ -277,12 +277,12 @@ public String getTableRefreshDelayAttribute() { /** * Sets the value of ODFDOM attribute representation TableRefreshDelayAttribute , See {@odf.attribute table:refresh-delay} * - * @param tableRefreshDelayValue The type is String + * @param tableRefreshDelayValue The type is Boolean */ - public void setTableRefreshDelayAttribute(String tableRefreshDelayValue) { + public void setTableRefreshDelayAttribute(Boolean tableRefreshDelayValue) { TableRefreshDelayAttribute attr = new TableRefreshDelayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(tableRefreshDelayValue); + attr.setBooleanValue(tableRefreshDelayValue.booleanValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java index a286cca323..56d1cbfc97 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java @@ -116,25 +116,25 @@ public void setTableBindStylesToContentAttribute(Boolean tableBindStylesToConten /** * Receives the value of the ODFDOM attribute representation TableCaseSensitiveAttribute , See {@odf.attribute table:case-sensitive} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. */ - public String getTableCaseSensitiveAttribute() { + public Boolean getTableCaseSensitiveAttribute() { TableCaseSensitiveAttribute attr = (TableCaseSensitiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "case-sensitive"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); } - return TableCaseSensitiveAttribute.DEFAULT_VALUE_FALSE; + return Boolean.valueOf(TableCaseSensitiveAttribute.DEFAULT_VALUE_FALSE); } /** * Sets the value of ODFDOM attribute representation TableCaseSensitiveAttribute , See {@odf.attribute table:case-sensitive} * - * @param tableCaseSensitiveValue The type is String + * @param tableCaseSensitiveValue The type is Boolean */ - public void setTableCaseSensitiveAttribute(String tableCaseSensitiveValue) { + public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { TableCaseSensitiveAttribute attr = new TableCaseSensitiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(tableCaseSensitiveValue); + attr.setBooleanValue(tableCaseSensitiveValue.booleanValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java index f03a5d5703..9c39b5f39a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java @@ -89,25 +89,25 @@ public void setTableBindStylesToContentAttribute(Boolean tableBindStylesToConten /** * Receives the value of the ODFDOM attribute representation TableCaseSensitiveAttribute , See {@odf.attribute table:case-sensitive} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. */ - public String getTableCaseSensitiveAttribute() { + public Boolean getTableCaseSensitiveAttribute() { TableCaseSensitiveAttribute attr = (TableCaseSensitiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "case-sensitive"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); } - return TableCaseSensitiveAttribute.DEFAULT_VALUE_FALSE; + return Boolean.valueOf(TableCaseSensitiveAttribute.DEFAULT_VALUE_FALSE); } /** * Sets the value of ODFDOM attribute representation TableCaseSensitiveAttribute , See {@odf.attribute table:case-sensitive} * - * @param tableCaseSensitiveValue The type is String + * @param tableCaseSensitiveValue The type is Boolean */ - public void setTableCaseSensitiveAttribute(String tableCaseSensitiveValue) { + public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { TableCaseSensitiveAttribute attr = new TableCaseSensitiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(tableCaseSensitiveValue); + attr.setBooleanValue(tableCaseSensitiveValue.booleanValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexEntryTemplateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexEntryTemplateElement.java index bee0ea5c17..49ced00122 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexEntryTemplateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexEntryTemplateElement.java @@ -68,12 +68,12 @@ public OdfName getOdfName() { * * Attribute is mandatory. * - * @return - the Integer , the value or null, if the attribute is not set and no default value defined. + * @return - the String , the value or null, if the attribute is not set and no default value defined. */ - public Integer getTextOutlineLevelAttribute() { + public String getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); - if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + if (attr != null) { + return String.valueOf(attr.getValue()); } return null; } @@ -81,12 +81,12 @@ public Integer getTextOutlineLevelAttribute() { /** * Sets the value of ODFDOM attribute representation TextOutlineLevelAttribute , See {@odf.attribute text:outline-level} * - * @param textOutlineLevelValue The type is Integer + * @param textOutlineLevelValue The type is String */ - public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { + public void setTextOutlineLevelAttribute(String textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java index 53f6dd4438..2859afdba4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java @@ -92,12 +92,12 @@ public void setDrawAlignAttribute(String drawAlignValue) { * * Attribute is mandatory. * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Integer , the value or null, if the attribute is not set and no default value defined. */ - public String getDrawIdAttribute() { + public Integer getDrawIdAttribute() { DrawIdAttribute attr = (DrawIdAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "id"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Integer.valueOf(attr.intValue()); } return null; } @@ -105,12 +105,12 @@ public String getDrawIdAttribute() { /** * Sets the value of ODFDOM attribute representation DrawIdAttribute , See {@odf.attribute draw:id} * - * @param drawIdValue The type is String + * @param drawIdValue The type is Integer */ - public void setDrawIdAttribute(String drawIdValue) { + public void setDrawIdAttribute(Integer drawIdValue) { DrawIdAttribute attr = new DrawIdAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(drawIdValue); + attr.setIntValue(drawIdValue.intValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java index cb09b5aead..6fb7f2c054 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java @@ -106,12 +106,12 @@ public void setDrawCaptionIdAttribute(String drawCaptionIdValue) { * * Attribute is mandatory. * - * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. + * @return - the String , the value or null, if the attribute is not set and no default value defined. */ - public Boolean getDrawConcaveAttribute() { + public String getDrawConcaveAttribute() { DrawConcaveAttribute attr = (DrawConcaveAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "concave"); - if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + if (attr != null) { + return String.valueOf(attr.getValue()); } return null; } @@ -119,12 +119,12 @@ public Boolean getDrawConcaveAttribute() { /** * Sets the value of ODFDOM attribute representation DrawConcaveAttribute , See {@odf.attribute draw:concave} * - * @param drawConcaveValue The type is Boolean + * @param drawConcaveValue The type is String */ - public void setDrawConcaveAttribute(Boolean drawConcaveValue) { + public void setDrawConcaveAttribute(String drawConcaveValue) { DrawConcaveAttribute attr = new DrawConcaveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawConcaveValue.booleanValue()); + attr.setValue(drawConcaveValue); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java index c5b018d17b..c02e5b9a85 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java @@ -128,12 +128,12 @@ public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullVal /** * Receives the value of the ODFDOM attribute representation FormCurrentValueAttribute , See {@odf.attribute form:current-value} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Double , the value or null, if the attribute is not set and no default value defined. */ - public String getFormCurrentValueAttribute() { + public Double getFormCurrentValueAttribute() { FormCurrentValueAttribute attr = (FormCurrentValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "current-value"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Double.valueOf(attr.doubleValue()); } return null; } @@ -141,12 +141,12 @@ public String getFormCurrentValueAttribute() { /** * Sets the value of ODFDOM attribute representation FormCurrentValueAttribute , See {@odf.attribute form:current-value} * - * @param formCurrentValueValue The type is String + * @param formCurrentValueValue The type is Double */ - public void setFormCurrentValueAttribute(String formCurrentValueValue) { + public void setFormCurrentValueAttribute(Double formCurrentValueValue) { FormCurrentValueAttribute attr = new FormCurrentValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(formCurrentValueValue); + attr.setDoubleValue(formCurrentValueValue.doubleValue()); } /** @@ -250,12 +250,12 @@ public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { /** * Receives the value of the ODFDOM attribute representation FormMaxValueAttribute , See {@odf.attribute form:max-value} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Double , the value or null, if the attribute is not set and no default value defined. */ - public String getFormMaxValueAttribute() { + public Double getFormMaxValueAttribute() { FormMaxValueAttribute attr = (FormMaxValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-value"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Double.valueOf(attr.doubleValue()); } return null; } @@ -263,23 +263,23 @@ public String getFormMaxValueAttribute() { /** * Sets the value of ODFDOM attribute representation FormMaxValueAttribute , See {@odf.attribute form:max-value} * - * @param formMaxValueValue The type is String + * @param formMaxValueValue The type is Double */ - public void setFormMaxValueAttribute(String formMaxValueValue) { + public void setFormMaxValueAttribute(Double formMaxValueValue) { FormMaxValueAttribute attr = new FormMaxValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(formMaxValueValue); + attr.setDoubleValue(formMaxValueValue.doubleValue()); } /** * Receives the value of the ODFDOM attribute representation FormMinValueAttribute , See {@odf.attribute form:min-value} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Double , the value or null, if the attribute is not set and no default value defined. */ - public String getFormMinValueAttribute() { + public Double getFormMinValueAttribute() { FormMinValueAttribute attr = (FormMinValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "min-value"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Double.valueOf(attr.doubleValue()); } return null; } @@ -287,12 +287,12 @@ public String getFormMinValueAttribute() { /** * Sets the value of ODFDOM attribute representation FormMinValueAttribute , See {@odf.attribute form:min-value} * - * @param formMinValueValue The type is String + * @param formMinValueValue The type is Double */ - public void setFormMinValueAttribute(String formMinValueValue) { + public void setFormMinValueAttribute(Double formMinValueValue) { FormMinValueAttribute attr = new FormMinValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(formMinValueValue); + attr.setDoubleValue(formMinValueValue.doubleValue()); } /** @@ -442,12 +442,12 @@ public void setFormTitleAttribute(String formTitleValue) { /** * Receives the value of the ODFDOM attribute representation FormValueAttribute , See {@odf.attribute form:value} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Double , the value or null, if the attribute is not set and no default value defined. */ - public String getFormValueAttribute() { + public Double getFormValueAttribute() { FormValueAttribute attr = (FormValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "value"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Double.valueOf(attr.doubleValue()); } return null; } @@ -455,12 +455,12 @@ public String getFormValueAttribute() { /** * Sets the value of ODFDOM attribute representation FormValueAttribute , See {@odf.attribute form:value} * - * @param formValueValue The type is String + * @param formValueValue The type is Double */ - public void setFormValueAttribute(String formValueValue) { + public void setFormValueAttribute(Double formValueValue) { FormValueAttribute attr = new FormValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(formValueValue); + attr.setDoubleValue(formValueValue.doubleValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java index 606c758e95..e9c4bb86d6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java @@ -92,25 +92,25 @@ public void setTableAutomaticFindLabelsAttribute(Boolean tableAutomaticFindLabel /** * Receives the value of the ODFDOM attribute representation TableCaseSensitiveAttribute , See {@odf.attribute table:case-sensitive} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. */ - public String getTableCaseSensitiveAttribute() { + public Boolean getTableCaseSensitiveAttribute() { TableCaseSensitiveAttribute attr = (TableCaseSensitiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "case-sensitive"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); } - return TableCaseSensitiveAttribute.DEFAULT_VALUE_TRUE; + return Boolean.valueOf(TableCaseSensitiveAttribute.DEFAULT_VALUE_TRUE); } /** * Sets the value of ODFDOM attribute representation TableCaseSensitiveAttribute , See {@odf.attribute table:case-sensitive} * - * @param tableCaseSensitiveValue The type is String + * @param tableCaseSensitiveValue The type is Boolean */ - public void setTableCaseSensitiveAttribute(String tableCaseSensitiveValue) { + public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { TableCaseSensitiveAttribute attr = new TableCaseSensitiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(tableCaseSensitiveValue); + attr.setBooleanValue(tableCaseSensitiveValue.booleanValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java index dd94a54910..1b91550e98 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java @@ -264,12 +264,12 @@ public void setTableOrientationAttribute(String tableOrientationValue) { /** * Receives the value of the ODFDOM attribute representation TableRefreshDelayAttribute , See {@odf.attribute table:refresh-delay} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. */ - public String getTableRefreshDelayAttribute() { + public Boolean getTableRefreshDelayAttribute() { TableRefreshDelayAttribute attr = (TableRefreshDelayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "refresh-delay"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); } return null; } @@ -277,12 +277,12 @@ public String getTableRefreshDelayAttribute() { /** * Sets the value of ODFDOM attribute representation TableRefreshDelayAttribute , See {@odf.attribute table:refresh-delay} * - * @param tableRefreshDelayValue The type is String + * @param tableRefreshDelayValue The type is Boolean */ - public void setTableRefreshDelayAttribute(String tableRefreshDelayValue) { + public void setTableRefreshDelayAttribute(Boolean tableRefreshDelayValue) { TableRefreshDelayAttribute attr = new TableRefreshDelayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(tableRefreshDelayValue); + attr.setBooleanValue(tableRefreshDelayValue.booleanValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java index a286cca323..56d1cbfc97 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java @@ -116,25 +116,25 @@ public void setTableBindStylesToContentAttribute(Boolean tableBindStylesToConten /** * Receives the value of the ODFDOM attribute representation TableCaseSensitiveAttribute , See {@odf.attribute table:case-sensitive} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. */ - public String getTableCaseSensitiveAttribute() { + public Boolean getTableCaseSensitiveAttribute() { TableCaseSensitiveAttribute attr = (TableCaseSensitiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "case-sensitive"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); } - return TableCaseSensitiveAttribute.DEFAULT_VALUE_FALSE; + return Boolean.valueOf(TableCaseSensitiveAttribute.DEFAULT_VALUE_FALSE); } /** * Sets the value of ODFDOM attribute representation TableCaseSensitiveAttribute , See {@odf.attribute table:case-sensitive} * - * @param tableCaseSensitiveValue The type is String + * @param tableCaseSensitiveValue The type is Boolean */ - public void setTableCaseSensitiveAttribute(String tableCaseSensitiveValue) { + public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { TableCaseSensitiveAttribute attr = new TableCaseSensitiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(tableCaseSensitiveValue); + attr.setBooleanValue(tableCaseSensitiveValue.booleanValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java index f03a5d5703..9c39b5f39a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java @@ -89,25 +89,25 @@ public void setTableBindStylesToContentAttribute(Boolean tableBindStylesToConten /** * Receives the value of the ODFDOM attribute representation TableCaseSensitiveAttribute , See {@odf.attribute table:case-sensitive} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. */ - public String getTableCaseSensitiveAttribute() { + public Boolean getTableCaseSensitiveAttribute() { TableCaseSensitiveAttribute attr = (TableCaseSensitiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "case-sensitive"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); } - return TableCaseSensitiveAttribute.DEFAULT_VALUE_FALSE; + return Boolean.valueOf(TableCaseSensitiveAttribute.DEFAULT_VALUE_FALSE); } /** * Sets the value of ODFDOM attribute representation TableCaseSensitiveAttribute , See {@odf.attribute table:case-sensitive} * - * @param tableCaseSensitiveValue The type is String + * @param tableCaseSensitiveValue The type is Boolean */ - public void setTableCaseSensitiveAttribute(String tableCaseSensitiveValue) { + public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { TableCaseSensitiveAttribute attr = new TableCaseSensitiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(tableCaseSensitiveValue); + attr.setBooleanValue(tableCaseSensitiveValue.booleanValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexEntryTemplateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexEntryTemplateElement.java index bee0ea5c17..49ced00122 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexEntryTemplateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexEntryTemplateElement.java @@ -68,12 +68,12 @@ public OdfName getOdfName() { * * Attribute is mandatory. * - * @return - the Integer , the value or null, if the attribute is not set and no default value defined. + * @return - the String , the value or null, if the attribute is not set and no default value defined. */ - public Integer getTextOutlineLevelAttribute() { + public String getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); - if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + if (attr != null) { + return String.valueOf(attr.getValue()); } return null; } @@ -81,12 +81,12 @@ public Integer getTextOutlineLevelAttribute() { /** * Sets the value of ODFDOM attribute representation TextOutlineLevelAttribute , See {@odf.attribute text:outline-level} * - * @param textOutlineLevelValue The type is Integer + * @param textOutlineLevelValue The type is String */ - public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { + public void setTextOutlineLevelAttribute(String textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java index 2f4391bf7e..54dc229c90 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java @@ -204,12 +204,12 @@ public void setDr3dFocalLengthAttribute(String dr3dFocalLengthValue) { /** * Receives the value of the ODFDOM attribute representation Dr3dLightingModeAttribute , See {@odf.attribute dr3d:lighting-mode} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. */ - public String getDr3dLightingModeAttribute() { + public Boolean getDr3dLightingModeAttribute() { Dr3dLightingModeAttribute attr = (Dr3dLightingModeAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "lighting-mode"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); } return null; } @@ -217,12 +217,12 @@ public String getDr3dLightingModeAttribute() { /** * Sets the value of ODFDOM attribute representation Dr3dLightingModeAttribute , See {@odf.attribute dr3d:lighting-mode} * - * @param dr3dLightingModeValue The type is String + * @param dr3dLightingModeValue The type is Boolean */ - public void setDr3dLightingModeAttribute(String dr3dLightingModeValue) { + public void setDr3dLightingModeAttribute(Boolean dr3dLightingModeValue) { Dr3dLightingModeAttribute attr = new Dr3dLightingModeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(dr3dLightingModeValue); + attr.setBooleanValue(dr3dLightingModeValue.booleanValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSceneElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSceneElement.java index c630892ae7..03aa81c467 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSceneElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSceneElement.java @@ -169,12 +169,12 @@ public void setDr3dFocalLengthAttribute(String dr3dFocalLengthValue) { /** * Receives the value of the ODFDOM attribute representation Dr3dLightingModeAttribute , See {@odf.attribute dr3d:lighting-mode} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. */ - public String getDr3dLightingModeAttribute() { + public Boolean getDr3dLightingModeAttribute() { Dr3dLightingModeAttribute attr = (Dr3dLightingModeAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "lighting-mode"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); } return null; } @@ -182,12 +182,12 @@ public String getDr3dLightingModeAttribute() { /** * Sets the value of ODFDOM attribute representation Dr3dLightingModeAttribute , See {@odf.attribute dr3d:lighting-mode} * - * @param dr3dLightingModeValue The type is String + * @param dr3dLightingModeValue The type is Boolean */ - public void setDr3dLightingModeAttribute(String dr3dLightingModeValue) { + public void setDr3dLightingModeAttribute(Boolean dr3dLightingModeValue) { Dr3dLightingModeAttribute attr = new Dr3dLightingModeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(dr3dLightingModeValue); + attr.setBooleanValue(dr3dLightingModeValue.booleanValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java index 028d3abf8d..d9868042b2 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java @@ -119,12 +119,12 @@ public void setDrawEscapeDirectionAttribute(String drawEscapeDirectionValue) { * * Attribute is mandatory. * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Integer , the value or null, if the attribute is not set and no default value defined. */ - public String getDrawIdAttribute() { + public Integer getDrawIdAttribute() { DrawIdAttribute attr = (DrawIdAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "id"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Integer.valueOf(attr.intValue()); } return null; } @@ -132,12 +132,12 @@ public String getDrawIdAttribute() { /** * Sets the value of ODFDOM attribute representation DrawIdAttribute , See {@odf.attribute draw:id} * - * @param drawIdValue The type is String + * @param drawIdValue The type is Integer */ - public void setDrawIdAttribute(String drawIdValue) { + public void setDrawIdAttribute(Integer drawIdValue) { DrawIdAttribute attr = new DrawIdAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(drawIdValue); + attr.setIntValue(drawIdValue.intValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java index b9836fd0a9..55abc04f99 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java @@ -106,12 +106,12 @@ public void setDrawCaptionIdAttribute(String drawCaptionIdValue) { * * Attribute is mandatory. * - * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. + * @return - the String , the value or null, if the attribute is not set and no default value defined. */ - public Boolean getDrawConcaveAttribute() { + public String getDrawConcaveAttribute() { DrawConcaveAttribute attr = (DrawConcaveAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "concave"); - if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + if (attr != null) { + return String.valueOf(attr.getValue()); } return null; } @@ -119,12 +119,12 @@ public Boolean getDrawConcaveAttribute() { /** * Sets the value of ODFDOM attribute representation DrawConcaveAttribute , See {@odf.attribute draw:concave} * - * @param drawConcaveValue The type is Boolean + * @param drawConcaveValue The type is String */ - public void setDrawConcaveAttribute(Boolean drawConcaveValue) { + public void setDrawConcaveAttribute(String drawConcaveValue) { DrawConcaveAttribute attr = new DrawConcaveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawConcaveValue.booleanValue()); + attr.setValue(drawConcaveValue); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java index 33c2257eb8..34401aa819 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java @@ -133,12 +133,12 @@ public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullVal /** * Receives the value of the ODFDOM attribute representation FormCurrentValueAttribute , See {@odf.attribute form:current-value} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Double , the value or null, if the attribute is not set and no default value defined. */ - public String getFormCurrentValueAttribute() { + public Double getFormCurrentValueAttribute() { FormCurrentValueAttribute attr = (FormCurrentValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "current-value"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Double.valueOf(attr.doubleValue()); } return null; } @@ -146,12 +146,12 @@ public String getFormCurrentValueAttribute() { /** * Sets the value of ODFDOM attribute representation FormCurrentValueAttribute , See {@odf.attribute form:current-value} * - * @param formCurrentValueValue The type is String + * @param formCurrentValueValue The type is Double */ - public void setFormCurrentValueAttribute(String formCurrentValueValue) { + public void setFormCurrentValueAttribute(Double formCurrentValueValue) { FormCurrentValueAttribute attr = new FormCurrentValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(formCurrentValueValue); + attr.setDoubleValue(formCurrentValueValue.doubleValue()); } /** @@ -301,12 +301,12 @@ public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { /** * Receives the value of the ODFDOM attribute representation FormMaxValueAttribute , See {@odf.attribute form:max-value} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Double , the value or null, if the attribute is not set and no default value defined. */ - public String getFormMaxValueAttribute() { + public Double getFormMaxValueAttribute() { FormMaxValueAttribute attr = (FormMaxValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-value"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Double.valueOf(attr.doubleValue()); } return null; } @@ -314,23 +314,23 @@ public String getFormMaxValueAttribute() { /** * Sets the value of ODFDOM attribute representation FormMaxValueAttribute , See {@odf.attribute form:max-value} * - * @param formMaxValueValue The type is String + * @param formMaxValueValue The type is Double */ - public void setFormMaxValueAttribute(String formMaxValueValue) { + public void setFormMaxValueAttribute(Double formMaxValueValue) { FormMaxValueAttribute attr = new FormMaxValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(formMaxValueValue); + attr.setDoubleValue(formMaxValueValue.doubleValue()); } /** * Receives the value of the ODFDOM attribute representation FormMinValueAttribute , See {@odf.attribute form:min-value} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Double , the value or null, if the attribute is not set and no default value defined. */ - public String getFormMinValueAttribute() { + public Double getFormMinValueAttribute() { FormMinValueAttribute attr = (FormMinValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "min-value"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Double.valueOf(attr.doubleValue()); } return null; } @@ -338,12 +338,12 @@ public String getFormMinValueAttribute() { /** * Sets the value of ODFDOM attribute representation FormMinValueAttribute , See {@odf.attribute form:min-value} * - * @param formMinValueValue The type is String + * @param formMinValueValue The type is Double */ - public void setFormMinValueAttribute(String formMinValueValue) { + public void setFormMinValueAttribute(Double formMinValueValue) { FormMinValueAttribute attr = new FormMinValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(formMinValueValue); + attr.setDoubleValue(formMinValueValue.doubleValue()); } /** @@ -541,12 +541,12 @@ public void setFormTitleAttribute(String formTitleValue) { /** * Receives the value of the ODFDOM attribute representation FormValueAttribute , See {@odf.attribute form:value} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Double , the value or null, if the attribute is not set and no default value defined. */ - public String getFormValueAttribute() { + public Double getFormValueAttribute() { FormValueAttribute attr = (FormValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "value"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Double.valueOf(attr.doubleValue()); } return null; } @@ -554,12 +554,12 @@ public String getFormValueAttribute() { /** * Sets the value of ODFDOM attribute representation FormValueAttribute , See {@odf.attribute form:value} * - * @param formValueValue The type is String + * @param formValueValue The type is Double */ - public void setFormValueAttribute(String formValueValue) { + public void setFormValueAttribute(Double formValueValue) { FormValueAttribute attr = new FormValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(formValueValue); + attr.setDoubleValue(formValueValue.doubleValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormValueRangeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormValueRangeElement.java index 3ed4ccea39..35cb55c2d8 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormValueRangeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormValueRangeElement.java @@ -202,12 +202,12 @@ public void setFormLinkedCellAttribute(String formLinkedCellValue) { /** * Receives the value of the ODFDOM attribute representation FormMaxValueAttribute , See {@odf.attribute form:max-value} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Integer , the value or null, if the attribute is not set and no default value defined. */ - public String getFormMaxValueAttribute() { + public Integer getFormMaxValueAttribute() { FormMaxValueAttribute attr = (FormMaxValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-value"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Integer.valueOf(attr.intValue()); } return null; } @@ -215,23 +215,23 @@ public String getFormMaxValueAttribute() { /** * Sets the value of ODFDOM attribute representation FormMaxValueAttribute , See {@odf.attribute form:max-value} * - * @param formMaxValueValue The type is String + * @param formMaxValueValue The type is Integer */ - public void setFormMaxValueAttribute(String formMaxValueValue) { + public void setFormMaxValueAttribute(Integer formMaxValueValue) { FormMaxValueAttribute attr = new FormMaxValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(formMaxValueValue); + attr.setIntValue(formMaxValueValue.intValue()); } /** * Receives the value of the ODFDOM attribute representation FormMinValueAttribute , See {@odf.attribute form:min-value} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Integer , the value or null, if the attribute is not set and no default value defined. */ - public String getFormMinValueAttribute() { + public Integer getFormMinValueAttribute() { FormMinValueAttribute attr = (FormMinValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "min-value"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Integer.valueOf(attr.intValue()); } return null; } @@ -239,12 +239,12 @@ public String getFormMinValueAttribute() { /** * Sets the value of ODFDOM attribute representation FormMinValueAttribute , See {@odf.attribute form:min-value} * - * @param formMinValueValue The type is String + * @param formMinValueValue The type is Integer */ - public void setFormMinValueAttribute(String formMinValueValue) { + public void setFormMinValueAttribute(Integer formMinValueValue) { FormMinValueAttribute attr = new FormMinValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(formMinValueValue); + attr.setIntValue(formMinValueValue.intValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleSectionPropertiesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleSectionPropertiesElement.java index a3ce6e4136..d518dacafb 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleSectionPropertiesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleSectionPropertiesElement.java @@ -190,12 +190,12 @@ public void setStyleEditableAttribute(Boolean styleEditableValue) { /** * Receives the value of the ODFDOM attribute representation StyleProtectAttribute , See {@odf.attribute style:protect} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. */ - public String getStyleProtectAttribute() { + public Boolean getStyleProtectAttribute() { StyleProtectAttribute attr = (StyleProtectAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "protect"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); } return null; } @@ -203,12 +203,12 @@ public String getStyleProtectAttribute() { /** * Sets the value of ODFDOM attribute representation StyleProtectAttribute , See {@odf.attribute style:protect} * - * @param styleProtectValue The type is String + * @param styleProtectValue The type is Boolean */ - public void setStyleProtectAttribute(String styleProtectValue) { + public void setStyleProtectAttribute(Boolean styleProtectValue) { StyleProtectAttribute attr = new StyleProtectAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(styleProtectValue); + attr.setBooleanValue(styleProtectValue.booleanValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java index 99880c2550..c0529efe7c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java @@ -93,25 +93,25 @@ public void setTableAutomaticFindLabelsAttribute(Boolean tableAutomaticFindLabel /** * Receives the value of the ODFDOM attribute representation TableCaseSensitiveAttribute , See {@odf.attribute table:case-sensitive} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. */ - public String getTableCaseSensitiveAttribute() { + public Boolean getTableCaseSensitiveAttribute() { TableCaseSensitiveAttribute attr = (TableCaseSensitiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "case-sensitive"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); } - return TableCaseSensitiveAttribute.DEFAULT_VALUE_TRUE; + return Boolean.valueOf(TableCaseSensitiveAttribute.DEFAULT_VALUE_TRUE); } /** * Sets the value of ODFDOM attribute representation TableCaseSensitiveAttribute , See {@odf.attribute table:case-sensitive} * - * @param tableCaseSensitiveValue The type is String + * @param tableCaseSensitiveValue The type is Boolean */ - public void setTableCaseSensitiveAttribute(String tableCaseSensitiveValue) { + public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { TableCaseSensitiveAttribute attr = new TableCaseSensitiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(tableCaseSensitiveValue); + attr.setBooleanValue(tableCaseSensitiveValue.booleanValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java index dd94a54910..1b91550e98 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java @@ -264,12 +264,12 @@ public void setTableOrientationAttribute(String tableOrientationValue) { /** * Receives the value of the ODFDOM attribute representation TableRefreshDelayAttribute , See {@odf.attribute table:refresh-delay} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. */ - public String getTableRefreshDelayAttribute() { + public Boolean getTableRefreshDelayAttribute() { TableRefreshDelayAttribute attr = (TableRefreshDelayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "refresh-delay"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); } return null; } @@ -277,12 +277,12 @@ public String getTableRefreshDelayAttribute() { /** * Sets the value of ODFDOM attribute representation TableRefreshDelayAttribute , See {@odf.attribute table:refresh-delay} * - * @param tableRefreshDelayValue The type is String + * @param tableRefreshDelayValue The type is Boolean */ - public void setTableRefreshDelayAttribute(String tableRefreshDelayValue) { + public void setTableRefreshDelayAttribute(Boolean tableRefreshDelayValue) { TableRefreshDelayAttribute attr = new TableRefreshDelayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(tableRefreshDelayValue); + attr.setBooleanValue(tableRefreshDelayValue.booleanValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java index 614aad35c9..5b8f51a0d4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java @@ -119,25 +119,25 @@ public void setTableBindStylesToContentAttribute(Boolean tableBindStylesToConten /** * Receives the value of the ODFDOM attribute representation TableCaseSensitiveAttribute , See {@odf.attribute table:case-sensitive} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. */ - public String getTableCaseSensitiveAttribute() { + public Boolean getTableCaseSensitiveAttribute() { TableCaseSensitiveAttribute attr = (TableCaseSensitiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "case-sensitive"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); } - return TableCaseSensitiveAttribute.DEFAULT_VALUE_FALSE; + return Boolean.valueOf(TableCaseSensitiveAttribute.DEFAULT_VALUE_FALSE); } /** * Sets the value of ODFDOM attribute representation TableCaseSensitiveAttribute , See {@odf.attribute table:case-sensitive} * - * @param tableCaseSensitiveValue The type is String + * @param tableCaseSensitiveValue The type is Boolean */ - public void setTableCaseSensitiveAttribute(String tableCaseSensitiveValue) { + public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { TableCaseSensitiveAttribute attr = new TableCaseSensitiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(tableCaseSensitiveValue); + attr.setBooleanValue(tableCaseSensitiveValue.booleanValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java index f03a5d5703..9c39b5f39a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java @@ -89,25 +89,25 @@ public void setTableBindStylesToContentAttribute(Boolean tableBindStylesToConten /** * Receives the value of the ODFDOM attribute representation TableCaseSensitiveAttribute , See {@odf.attribute table:case-sensitive} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. */ - public String getTableCaseSensitiveAttribute() { + public Boolean getTableCaseSensitiveAttribute() { TableCaseSensitiveAttribute attr = (TableCaseSensitiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "case-sensitive"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); } - return TableCaseSensitiveAttribute.DEFAULT_VALUE_FALSE; + return Boolean.valueOf(TableCaseSensitiveAttribute.DEFAULT_VALUE_FALSE); } /** * Sets the value of ODFDOM attribute representation TableCaseSensitiveAttribute , See {@odf.attribute table:case-sensitive} * - * @param tableCaseSensitiveValue The type is String + * @param tableCaseSensitiveValue The type is Boolean */ - public void setTableCaseSensitiveAttribute(String tableCaseSensitiveValue) { + public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { TableCaseSensitiveAttribute attr = new TableCaseSensitiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(tableCaseSensitiveValue); + attr.setBooleanValue(tableCaseSensitiveValue.booleanValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexEntryTemplateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexEntryTemplateElement.java index bee0ea5c17..49ced00122 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexEntryTemplateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexEntryTemplateElement.java @@ -68,12 +68,12 @@ public OdfName getOdfName() { * * Attribute is mandatory. * - * @return - the Integer , the value or null, if the attribute is not set and no default value defined. + * @return - the String , the value or null, if the attribute is not set and no default value defined. */ - public Integer getTextOutlineLevelAttribute() { + public String getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); - if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + if (attr != null) { + return String.valueOf(attr.getValue()); } return null; } @@ -81,12 +81,12 @@ public Integer getTextOutlineLevelAttribute() { /** * Sets the value of ODFDOM attribute representation TextOutlineLevelAttribute , See {@odf.attribute text:outline-level} * - * @param textOutlineLevelValue The type is Integer + * @param textOutlineLevelValue The type is String */ - public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { + public void setTextOutlineLevelAttribute(String textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java index 650401de70..dfd7e437ac 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java @@ -204,12 +204,12 @@ public void setDr3dFocalLengthAttribute(String dr3dFocalLengthValue) { /** * Receives the value of the ODFDOM attribute representation Dr3dLightingModeAttribute , See {@odf.attribute dr3d:lighting-mode} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. */ - public String getDr3dLightingModeAttribute() { + public Boolean getDr3dLightingModeAttribute() { Dr3dLightingModeAttribute attr = (Dr3dLightingModeAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "lighting-mode"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); } return null; } @@ -217,12 +217,12 @@ public String getDr3dLightingModeAttribute() { /** * Sets the value of ODFDOM attribute representation Dr3dLightingModeAttribute , See {@odf.attribute dr3d:lighting-mode} * - * @param dr3dLightingModeValue The type is String + * @param dr3dLightingModeValue The type is Boolean */ - public void setDr3dLightingModeAttribute(String dr3dLightingModeValue) { + public void setDr3dLightingModeAttribute(Boolean dr3dLightingModeValue) { Dr3dLightingModeAttribute attr = new Dr3dLightingModeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(dr3dLightingModeValue); + attr.setBooleanValue(dr3dLightingModeValue.booleanValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSceneElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSceneElement.java index c630892ae7..03aa81c467 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSceneElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSceneElement.java @@ -169,12 +169,12 @@ public void setDr3dFocalLengthAttribute(String dr3dFocalLengthValue) { /** * Receives the value of the ODFDOM attribute representation Dr3dLightingModeAttribute , See {@odf.attribute dr3d:lighting-mode} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. */ - public String getDr3dLightingModeAttribute() { + public Boolean getDr3dLightingModeAttribute() { Dr3dLightingModeAttribute attr = (Dr3dLightingModeAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "lighting-mode"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); } return null; } @@ -182,12 +182,12 @@ public String getDr3dLightingModeAttribute() { /** * Sets the value of ODFDOM attribute representation Dr3dLightingModeAttribute , See {@odf.attribute dr3d:lighting-mode} * - * @param dr3dLightingModeValue The type is String + * @param dr3dLightingModeValue The type is Boolean */ - public void setDr3dLightingModeAttribute(String dr3dLightingModeValue) { + public void setDr3dLightingModeAttribute(Boolean dr3dLightingModeValue) { Dr3dLightingModeAttribute attr = new Dr3dLightingModeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(dr3dLightingModeValue); + attr.setBooleanValue(dr3dLightingModeValue.booleanValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java index 028d3abf8d..d9868042b2 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java @@ -119,12 +119,12 @@ public void setDrawEscapeDirectionAttribute(String drawEscapeDirectionValue) { * * Attribute is mandatory. * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Integer , the value or null, if the attribute is not set and no default value defined. */ - public String getDrawIdAttribute() { + public Integer getDrawIdAttribute() { DrawIdAttribute attr = (DrawIdAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "id"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Integer.valueOf(attr.intValue()); } return null; } @@ -132,12 +132,12 @@ public String getDrawIdAttribute() { /** * Sets the value of ODFDOM attribute representation DrawIdAttribute , See {@odf.attribute draw:id} * - * @param drawIdValue The type is String + * @param drawIdValue The type is Integer */ - public void setDrawIdAttribute(String drawIdValue) { + public void setDrawIdAttribute(Integer drawIdValue) { DrawIdAttribute attr = new DrawIdAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(drawIdValue); + attr.setIntValue(drawIdValue.intValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java index b9836fd0a9..55abc04f99 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java @@ -106,12 +106,12 @@ public void setDrawCaptionIdAttribute(String drawCaptionIdValue) { * * Attribute is mandatory. * - * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. + * @return - the String , the value or null, if the attribute is not set and no default value defined. */ - public Boolean getDrawConcaveAttribute() { + public String getDrawConcaveAttribute() { DrawConcaveAttribute attr = (DrawConcaveAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "concave"); - if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + if (attr != null) { + return String.valueOf(attr.getValue()); } return null; } @@ -119,12 +119,12 @@ public Boolean getDrawConcaveAttribute() { /** * Sets the value of ODFDOM attribute representation DrawConcaveAttribute , See {@odf.attribute draw:concave} * - * @param drawConcaveValue The type is Boolean + * @param drawConcaveValue The type is String */ - public void setDrawConcaveAttribute(Boolean drawConcaveValue) { + public void setDrawConcaveAttribute(String drawConcaveValue) { DrawConcaveAttribute attr = new DrawConcaveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawConcaveValue.booleanValue()); + attr.setValue(drawConcaveValue); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java index 33c2257eb8..34401aa819 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java @@ -133,12 +133,12 @@ public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullVal /** * Receives the value of the ODFDOM attribute representation FormCurrentValueAttribute , See {@odf.attribute form:current-value} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Double , the value or null, if the attribute is not set and no default value defined. */ - public String getFormCurrentValueAttribute() { + public Double getFormCurrentValueAttribute() { FormCurrentValueAttribute attr = (FormCurrentValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "current-value"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Double.valueOf(attr.doubleValue()); } return null; } @@ -146,12 +146,12 @@ public String getFormCurrentValueAttribute() { /** * Sets the value of ODFDOM attribute representation FormCurrentValueAttribute , See {@odf.attribute form:current-value} * - * @param formCurrentValueValue The type is String + * @param formCurrentValueValue The type is Double */ - public void setFormCurrentValueAttribute(String formCurrentValueValue) { + public void setFormCurrentValueAttribute(Double formCurrentValueValue) { FormCurrentValueAttribute attr = new FormCurrentValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(formCurrentValueValue); + attr.setDoubleValue(formCurrentValueValue.doubleValue()); } /** @@ -301,12 +301,12 @@ public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { /** * Receives the value of the ODFDOM attribute representation FormMaxValueAttribute , See {@odf.attribute form:max-value} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Double , the value or null, if the attribute is not set and no default value defined. */ - public String getFormMaxValueAttribute() { + public Double getFormMaxValueAttribute() { FormMaxValueAttribute attr = (FormMaxValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-value"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Double.valueOf(attr.doubleValue()); } return null; } @@ -314,23 +314,23 @@ public String getFormMaxValueAttribute() { /** * Sets the value of ODFDOM attribute representation FormMaxValueAttribute , See {@odf.attribute form:max-value} * - * @param formMaxValueValue The type is String + * @param formMaxValueValue The type is Double */ - public void setFormMaxValueAttribute(String formMaxValueValue) { + public void setFormMaxValueAttribute(Double formMaxValueValue) { FormMaxValueAttribute attr = new FormMaxValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(formMaxValueValue); + attr.setDoubleValue(formMaxValueValue.doubleValue()); } /** * Receives the value of the ODFDOM attribute representation FormMinValueAttribute , See {@odf.attribute form:min-value} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Double , the value or null, if the attribute is not set and no default value defined. */ - public String getFormMinValueAttribute() { + public Double getFormMinValueAttribute() { FormMinValueAttribute attr = (FormMinValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "min-value"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Double.valueOf(attr.doubleValue()); } return null; } @@ -338,12 +338,12 @@ public String getFormMinValueAttribute() { /** * Sets the value of ODFDOM attribute representation FormMinValueAttribute , See {@odf.attribute form:min-value} * - * @param formMinValueValue The type is String + * @param formMinValueValue The type is Double */ - public void setFormMinValueAttribute(String formMinValueValue) { + public void setFormMinValueAttribute(Double formMinValueValue) { FormMinValueAttribute attr = new FormMinValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(formMinValueValue); + attr.setDoubleValue(formMinValueValue.doubleValue()); } /** @@ -541,12 +541,12 @@ public void setFormTitleAttribute(String formTitleValue) { /** * Receives the value of the ODFDOM attribute representation FormValueAttribute , See {@odf.attribute form:value} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Double , the value or null, if the attribute is not set and no default value defined. */ - public String getFormValueAttribute() { + public Double getFormValueAttribute() { FormValueAttribute attr = (FormValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "value"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Double.valueOf(attr.doubleValue()); } return null; } @@ -554,12 +554,12 @@ public String getFormValueAttribute() { /** * Sets the value of ODFDOM attribute representation FormValueAttribute , See {@odf.attribute form:value} * - * @param formValueValue The type is String + * @param formValueValue The type is Double */ - public void setFormValueAttribute(String formValueValue) { + public void setFormValueAttribute(Double formValueValue) { FormValueAttribute attr = new FormValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(formValueValue); + attr.setDoubleValue(formValueValue.doubleValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormValueRangeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormValueRangeElement.java index 3ed4ccea39..35cb55c2d8 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormValueRangeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormValueRangeElement.java @@ -202,12 +202,12 @@ public void setFormLinkedCellAttribute(String formLinkedCellValue) { /** * Receives the value of the ODFDOM attribute representation FormMaxValueAttribute , See {@odf.attribute form:max-value} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Integer , the value or null, if the attribute is not set and no default value defined. */ - public String getFormMaxValueAttribute() { + public Integer getFormMaxValueAttribute() { FormMaxValueAttribute attr = (FormMaxValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-value"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Integer.valueOf(attr.intValue()); } return null; } @@ -215,23 +215,23 @@ public String getFormMaxValueAttribute() { /** * Sets the value of ODFDOM attribute representation FormMaxValueAttribute , See {@odf.attribute form:max-value} * - * @param formMaxValueValue The type is String + * @param formMaxValueValue The type is Integer */ - public void setFormMaxValueAttribute(String formMaxValueValue) { + public void setFormMaxValueAttribute(Integer formMaxValueValue) { FormMaxValueAttribute attr = new FormMaxValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(formMaxValueValue); + attr.setIntValue(formMaxValueValue.intValue()); } /** * Receives the value of the ODFDOM attribute representation FormMinValueAttribute , See {@odf.attribute form:min-value} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Integer , the value or null, if the attribute is not set and no default value defined. */ - public String getFormMinValueAttribute() { + public Integer getFormMinValueAttribute() { FormMinValueAttribute attr = (FormMinValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "min-value"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Integer.valueOf(attr.intValue()); } return null; } @@ -239,12 +239,12 @@ public String getFormMinValueAttribute() { /** * Sets the value of ODFDOM attribute representation FormMinValueAttribute , See {@odf.attribute form:min-value} * - * @param formMinValueValue The type is String + * @param formMinValueValue The type is Integer */ - public void setFormMinValueAttribute(String formMinValueValue) { + public void setFormMinValueAttribute(Integer formMinValueValue) { FormMinValueAttribute attr = new FormMinValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(formMinValueValue); + attr.setIntValue(formMinValueValue.intValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleSectionPropertiesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleSectionPropertiesElement.java index a3ce6e4136..d518dacafb 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleSectionPropertiesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleSectionPropertiesElement.java @@ -190,12 +190,12 @@ public void setStyleEditableAttribute(Boolean styleEditableValue) { /** * Receives the value of the ODFDOM attribute representation StyleProtectAttribute , See {@odf.attribute style:protect} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. */ - public String getStyleProtectAttribute() { + public Boolean getStyleProtectAttribute() { StyleProtectAttribute attr = (StyleProtectAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "protect"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); } return null; } @@ -203,12 +203,12 @@ public String getStyleProtectAttribute() { /** * Sets the value of ODFDOM attribute representation StyleProtectAttribute , See {@odf.attribute style:protect} * - * @param styleProtectValue The type is String + * @param styleProtectValue The type is Boolean */ - public void setStyleProtectAttribute(String styleProtectValue) { + public void setStyleProtectAttribute(Boolean styleProtectValue) { StyleProtectAttribute attr = new StyleProtectAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(styleProtectValue); + attr.setBooleanValue(styleProtectValue.booleanValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java index 99880c2550..c0529efe7c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java @@ -93,25 +93,25 @@ public void setTableAutomaticFindLabelsAttribute(Boolean tableAutomaticFindLabel /** * Receives the value of the ODFDOM attribute representation TableCaseSensitiveAttribute , See {@odf.attribute table:case-sensitive} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. */ - public String getTableCaseSensitiveAttribute() { + public Boolean getTableCaseSensitiveAttribute() { TableCaseSensitiveAttribute attr = (TableCaseSensitiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "case-sensitive"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); } - return TableCaseSensitiveAttribute.DEFAULT_VALUE_TRUE; + return Boolean.valueOf(TableCaseSensitiveAttribute.DEFAULT_VALUE_TRUE); } /** * Sets the value of ODFDOM attribute representation TableCaseSensitiveAttribute , See {@odf.attribute table:case-sensitive} * - * @param tableCaseSensitiveValue The type is String + * @param tableCaseSensitiveValue The type is Boolean */ - public void setTableCaseSensitiveAttribute(String tableCaseSensitiveValue) { + public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { TableCaseSensitiveAttribute attr = new TableCaseSensitiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(tableCaseSensitiveValue); + attr.setBooleanValue(tableCaseSensitiveValue.booleanValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java index dd94a54910..1b91550e98 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java @@ -264,12 +264,12 @@ public void setTableOrientationAttribute(String tableOrientationValue) { /** * Receives the value of the ODFDOM attribute representation TableRefreshDelayAttribute , See {@odf.attribute table:refresh-delay} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. */ - public String getTableRefreshDelayAttribute() { + public Boolean getTableRefreshDelayAttribute() { TableRefreshDelayAttribute attr = (TableRefreshDelayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "refresh-delay"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); } return null; } @@ -277,12 +277,12 @@ public String getTableRefreshDelayAttribute() { /** * Sets the value of ODFDOM attribute representation TableRefreshDelayAttribute , See {@odf.attribute table:refresh-delay} * - * @param tableRefreshDelayValue The type is String + * @param tableRefreshDelayValue The type is Boolean */ - public void setTableRefreshDelayAttribute(String tableRefreshDelayValue) { + public void setTableRefreshDelayAttribute(Boolean tableRefreshDelayValue) { TableRefreshDelayAttribute attr = new TableRefreshDelayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(tableRefreshDelayValue); + attr.setBooleanValue(tableRefreshDelayValue.booleanValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java index 614aad35c9..5b8f51a0d4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java @@ -119,25 +119,25 @@ public void setTableBindStylesToContentAttribute(Boolean tableBindStylesToConten /** * Receives the value of the ODFDOM attribute representation TableCaseSensitiveAttribute , See {@odf.attribute table:case-sensitive} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. */ - public String getTableCaseSensitiveAttribute() { + public Boolean getTableCaseSensitiveAttribute() { TableCaseSensitiveAttribute attr = (TableCaseSensitiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "case-sensitive"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); } - return TableCaseSensitiveAttribute.DEFAULT_VALUE_FALSE; + return Boolean.valueOf(TableCaseSensitiveAttribute.DEFAULT_VALUE_FALSE); } /** * Sets the value of ODFDOM attribute representation TableCaseSensitiveAttribute , See {@odf.attribute table:case-sensitive} * - * @param tableCaseSensitiveValue The type is String + * @param tableCaseSensitiveValue The type is Boolean */ - public void setTableCaseSensitiveAttribute(String tableCaseSensitiveValue) { + public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { TableCaseSensitiveAttribute attr = new TableCaseSensitiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(tableCaseSensitiveValue); + attr.setBooleanValue(tableCaseSensitiveValue.booleanValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java index f03a5d5703..9c39b5f39a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java @@ -89,25 +89,25 @@ public void setTableBindStylesToContentAttribute(Boolean tableBindStylesToConten /** * Receives the value of the ODFDOM attribute representation TableCaseSensitiveAttribute , See {@odf.attribute table:case-sensitive} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. */ - public String getTableCaseSensitiveAttribute() { + public Boolean getTableCaseSensitiveAttribute() { TableCaseSensitiveAttribute attr = (TableCaseSensitiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "case-sensitive"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); } - return TableCaseSensitiveAttribute.DEFAULT_VALUE_FALSE; + return Boolean.valueOf(TableCaseSensitiveAttribute.DEFAULT_VALUE_FALSE); } /** * Sets the value of ODFDOM attribute representation TableCaseSensitiveAttribute , See {@odf.attribute table:case-sensitive} * - * @param tableCaseSensitiveValue The type is String + * @param tableCaseSensitiveValue The type is Boolean */ - public void setTableCaseSensitiveAttribute(String tableCaseSensitiveValue) { + public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { TableCaseSensitiveAttribute attr = new TableCaseSensitiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(tableCaseSensitiveValue); + attr.setBooleanValue(tableCaseSensitiveValue.booleanValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexEntryTemplateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexEntryTemplateElement.java index bee0ea5c17..49ced00122 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexEntryTemplateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexEntryTemplateElement.java @@ -68,12 +68,12 @@ public OdfName getOdfName() { * * Attribute is mandatory. * - * @return - the Integer , the value or null, if the attribute is not set and no default value defined. + * @return - the String , the value or null, if the attribute is not set and no default value defined. */ - public Integer getTextOutlineLevelAttribute() { + public String getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); - if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + if (attr != null) { + return String.valueOf(attr.getValue()); } return null; } @@ -81,12 +81,12 @@ public Integer getTextOutlineLevelAttribute() { /** * Sets the value of ODFDOM attribute representation TextOutlineLevelAttribute , See {@odf.attribute text:outline-level} * - * @param textOutlineLevelValue The type is Integer + * @param textOutlineLevelValue The type is String */ - public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { + public void setTextOutlineLevelAttribute(String textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowNumberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowNumberElement.java index f7ba9dcb14..89f3814b94 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowNumberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowNumberElement.java @@ -193,12 +193,12 @@ public void setTextTableTypeAttribute(String textTableTypeValue) { /** * Receives the value of the ODFDOM attribute representation TextValueAttribute , See {@odf.attribute text:value} * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Integer , the value or null, if the attribute is not set and no default value defined. */ - public String getTextValueAttribute() { + public Integer getTextValueAttribute() { TextValueAttribute attr = (TextValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "value"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Integer.valueOf(attr.intValue()); } return null; } @@ -206,12 +206,12 @@ public String getTextValueAttribute() { /** * Sets the value of ODFDOM attribute representation TextValueAttribute , See {@odf.attribute text:value} * - * @param textValueValue The type is String + * @param textValueValue The type is Integer */ - public void setTextValueAttribute(String textValueValue) { + public void setTextValueAttribute(Integer textValueValue) { TextValueAttribute attr = new TextValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(textValueValue); + attr.setIntValue(textValueValue.intValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.0/hierarchy.py b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.0/hierarchy.py index e1d07a0320..499e91d580 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.0/hierarchy.py +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.0/hierarchy.py @@ -4247,7 +4247,6 @@ 'office:value-type', \ ), 'form:list-value' : ( \ - 'office:currency', \ 'office:value', \ ), 'form:list-value' : ( \ @@ -4257,16 +4256,17 @@ 'office:value', \ ), 'form:list-value' : ( \ - 'office:boolean-value', \ + 'office:currency', \ + 'office:value', \ ), 'form:list-value' : ( \ 'office:string-value', \ ), 'form:list-value' : ( \ - 'office:value', \ + 'office:date-value', \ ), 'form:list-value' : ( \ - 'office:date-value', \ + 'office:boolean-value', \ ), 'form:listbox' : ( \ 'form:bound-column', \ diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.1/hierarchy.py b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.1/hierarchy.py index 498c9527a4..4904bb059d 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.1/hierarchy.py +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.1/hierarchy.py @@ -4408,9 +4408,6 @@ 'office:value-type', \ 'office:value-type', \ 'office:value-type', \ -), - 'form:list-value' : ( \ - 'office:date-value', \ ), 'form:list-value' : ( \ 'office:value', \ @@ -4422,14 +4419,17 @@ 'office:boolean-value', \ ), 'form:list-value' : ( \ - 'office:string-value', \ + 'office:date-value', \ ), 'form:list-value' : ( \ + 'office:currency', \ 'office:value', \ ), 'form:list-value' : ( \ - 'office:currency', \ 'office:value', \ +), + 'form:list-value' : ( \ + 'office:string-value', \ ), 'form:listbox' : ( \ 'form:bound-column', \ diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.2/hierarchy.py b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.2/hierarchy.py index 14b637065f..5e77fdf932 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.2/hierarchy.py +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.2/hierarchy.py @@ -5377,23 +5377,23 @@ 'office:value-type', \ ), 'form:list-value' : ( \ - 'office:currency', \ - 'office:value', \ + 'office:boolean-value', \ ), 'form:list-value' : ( \ 'office:value', \ ), 'form:list-value' : ( \ - 'office:date-value', \ + 'office:currency', \ + 'office:value', \ ), 'form:list-value' : ( \ - 'office:string-value', \ + 'office:date-value', \ ), 'form:list-value' : ( \ - 'office:boolean-value', \ + 'office:time-value', \ ), 'form:list-value' : ( \ - 'office:time-value', \ + 'office:string-value', \ ), 'form:list-value' : ( \ 'office:value', \ diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.3/hierarchy.py b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.3/hierarchy.py index 2eedf2293e..fe6259bd6e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.3/hierarchy.py +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.3/hierarchy.py @@ -5495,26 +5495,26 @@ 'office:value-type', \ ), 'form:list-value' : ( \ - 'office:value', \ + 'office:time-value', \ ), 'form:list-value' : ( \ - 'office:value', \ + 'office:string-value', \ ), 'form:list-value' : ( \ - 'office:date-value', \ + 'office:value', \ ), 'form:list-value' : ( \ 'office:currency', \ 'office:value', \ ), 'form:list-value' : ( \ - 'office:time-value', \ + 'office:boolean-value', \ ), 'form:list-value' : ( \ - 'office:boolean-value', \ + 'office:date-value', \ ), 'form:list-value' : ( \ - 'office:string-value', \ + 'office:value', \ ), 'form:listbox' : ( \ 'form:bound-column', \ From 1d1c7f75631575c6fc8d9f5ac55862e4cd92e432 Mon Sep 17 00:00:00 2001 From: Svante Schubert Date: Fri, 10 Feb 2023 15:50:48 +0100 Subject: [PATCH 12/15] Generated ODF attributes having only 'true' or 'false' as values in the ODF RNG now have the type Boolean by default --- .../grammar/MSVExpressionInformation.java | 2 +- .../schema2template/grammar/XMLModel.java | 37 +++++++++++++++++++ .../template/java-odfdom-element-template.vm | 2 +- .../draw/DrawRegularPolygonElement.java | 14 +++---- .../style/StyleTextPropertiesElement.java | 14 +++---- 5 files changed, 53 insertions(+), 16 deletions(-) diff --git a/generator/schema2template/src/main/java/schema2template/grammar/MSVExpressionInformation.java b/generator/schema2template/src/main/java/schema2template/grammar/MSVExpressionInformation.java index f166d151a3..c62e29041e 100644 --- a/generator/schema2template/src/main/java/schema2template/grammar/MSVExpressionInformation.java +++ b/generator/schema2template/src/main/java/schema2template/grammar/MSVExpressionInformation.java @@ -264,7 +264,7 @@ public Set getSingletons() { /** * Returns all child elements which are no singletons * - * @return All child elements which can only occur one time + * @return All child elements which occur more than one time */ public Set getMultiples() { return mMultipleChildren; diff --git a/generator/schema2template/src/main/java/schema2template/grammar/XMLModel.java b/generator/schema2template/src/main/java/schema2template/grammar/XMLModel.java index 0aed7f19a7..04ad7b46eb 100644 --- a/generator/schema2template/src/main/java/schema2template/grammar/XMLModel.java +++ b/generator/schema2template/src/main/java/schema2template/grammar/XMLModel.java @@ -338,6 +338,43 @@ public PuzzlePiece getAttribute(String qName, String qParentName) { return attribute; } + /** + * Get attribute by tag name. If there are multiple attributes sharing the same tag name, a + * PuzzlePieceSet is returned. If not, a single PuzzlePiece is returned. + * + * @param qName + * @param qParentName + * @return String of given Datatype + */ + public String getAttributeDataType(String qName, String qParentName) { + String dataType = "String"; + PuzzlePiece attr = getAttribute(qName, qParentName); + Collection d = attr.getDatatypes().getCollection(); + Boolean isBoolean = null; + if(d.size() == 1){ + dataType = d.iterator().next().getQName(); + }else if(!d.isEmpty()){ + System.out.println("There are multiple datatypes!"); + } else { + Iterator valueIterator = attr.getValues().getCollection().iterator(); + + while(valueIterator.hasNext()){ + String value = valueIterator.next().toString(); + if(value.equals("true") || value.equals("false")){ + isBoolean = Boolean.TRUE; + }else{ + isBoolean = null; + break; + } + } + if(isBoolean != null && isBoolean){ + dataType = "Boolean"; + } + } + return dataType; + } + + /** * Get attribute by tag name and hash code. The hash code distincts Attributes sharing the same * tag name. diff --git a/generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/template/java-odfdom-element-template.vm b/generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/template/java-odfdom-element-template.vm index 8dd7291b3b..dd62e7b8f6 100644 --- a/generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/template/java-odfdom-element-template.vm +++ b/generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/template/java-odfdom-element-template.vm @@ -276,7 +276,7 @@ public ${abstract}class $className extends $superClassName { #foreach ($attr in $remainingAttributes) ## receiving the attribute that has this element as parent (@text:value has different types dependent on parent element) #set($attri = ${xmlModel.getAttribute($attr.getQName(), $element.getQName())}) -#set ($valueObject = "String") +#set($valueObject = ${xmlModel.getAttributeDataType($attr.getQName(), $element.getQName())}) #set ($simpleValue = "") #set ($dataTypes = ${attri.getDatatypes().withoutMultiples()}) #set ($valueTypes = ${codeModel.getValuetypes($dataTypes)}) diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java index 55abc04f99..b9836fd0a9 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java @@ -106,12 +106,12 @@ public void setDrawCaptionIdAttribute(String drawCaptionIdValue) { * * Attribute is mandatory. * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. */ - public String getDrawConcaveAttribute() { + public Boolean getDrawConcaveAttribute() { DrawConcaveAttribute attr = (DrawConcaveAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "concave"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); } return null; } @@ -119,12 +119,12 @@ public String getDrawConcaveAttribute() { /** * Sets the value of ODFDOM attribute representation DrawConcaveAttribute , See {@odf.attribute draw:concave} * - * @param drawConcaveValue The type is String + * @param drawConcaveValue The type is Boolean */ - public void setDrawConcaveAttribute(String drawConcaveValue) { + public void setDrawConcaveAttribute(Boolean drawConcaveValue) { DrawConcaveAttribute attr = new DrawConcaveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(drawConcaveValue); + attr.setBooleanValue(drawConcaveValue.booleanValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleTextPropertiesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleTextPropertiesElement.java index 34108e5c71..8b9474eb62 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleTextPropertiesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleTextPropertiesElement.java @@ -2395,12 +2395,12 @@ public void setTextConditionAttribute(String textConditionValue) { * * Attribute is mandatory. * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. */ - public String getTextDisplayAttribute() { + public Boolean getTextDisplayAttribute() { TextDisplayAttribute attr = (TextDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "display"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); } return null; } @@ -2408,12 +2408,12 @@ public String getTextDisplayAttribute() { /** * Sets the value of ODFDOM attribute representation TextDisplayAttribute , See {@odf.attribute text:display} * - * @param textDisplayValue The type is String + * @param textDisplayValue The type is Boolean */ - public void setTextDisplayAttribute(String textDisplayValue) { + public void setTextDisplayAttribute(Boolean textDisplayValue) { TextDisplayAttribute attr = new TextDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(textDisplayValue); + attr.setBooleanValue(textDisplayValue.booleanValue()); } /** From 8c3eb898312dacdfddf7be2c67bb71a09e1f5cc6 Mon Sep 17 00:00:00 2001 From: Svante Schubert Date: Tue, 14 Feb 2023 11:37:16 +0100 Subject: [PATCH 13/15] Attribute @draw:concave of does not have the datatype boolean, but only 'true' and 'false' as explicit values. Added method to assume in this case the datatype Boolean --- .../schema2template/grammar/OdfModel.java | 4 +- .../schema2template/grammar/XMLModel.java | 104 +++++++++++------- .../draw/DrawRegularPolygonElement.java | 14 +-- .../draw/DrawRegularPolygonElement.java | 14 +-- .../draw/DrawRegularPolygonElement.java | 14 +-- .../style/StyleTextPropertiesElement.java | 14 +-- 6 files changed, 97 insertions(+), 67 deletions(-) diff --git a/generator/schema2template/src/main/java/schema2template/grammar/OdfModel.java b/generator/schema2template/src/main/java/schema2template/grammar/OdfModel.java index 03b12a3539..ebb0ee1aa3 100644 --- a/generator/schema2template/src/main/java/schema2template/grammar/OdfModel.java +++ b/generator/schema2template/src/main/java/schema2template/grammar/OdfModel.java @@ -162,8 +162,8 @@ public String getDefaultAttributeValue(String attributeName, String parentElemen if (defaultValueByElementParents == null) { return null; } - // Not for ODF, but need extension if there are two attributes (same name) - // with different defaults in same named parent? + // Not for ODF, but need extension if there are two attributes (same name) + // with different defaults in same named parent? defaultValue = defaultValueByElementParents.get(parentElementName); if (defaultValue == null) { defaultValue = defaultValueByElementParents.get(ALL_ELEMENTS); diff --git a/generator/schema2template/src/main/java/schema2template/grammar/XMLModel.java b/generator/schema2template/src/main/java/schema2template/grammar/XMLModel.java index 04ad7b46eb..d06b32e7e7 100644 --- a/generator/schema2template/src/main/java/schema2template/grammar/XMLModel.java +++ b/generator/schema2template/src/main/java/schema2template/grammar/XMLModel.java @@ -23,6 +23,8 @@ */ package schema2template.grammar; +import static schema2template.grammar.PuzzlePiece.NAME_VISITOR; + import com.sun.msv.grammar.Expression; import com.sun.msv.grammar.Grammar; import com.sun.msv.grammar.NameClassAndExpression; @@ -30,6 +32,7 @@ import com.sun.msv.reader.xmlschema.XMLSchemaReader; import com.sun.msv.writer.relaxng.RELAXNGWriter; import java.io.File; +import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.Iterator; @@ -45,7 +48,6 @@ import org.apache.xml.serialize.OutputFormat; import org.apache.xml.serialize.XMLSerializer; import org.xml.sax.SAXException; -import static schema2template.grammar.PuzzlePiece.NAME_VISITOR; /** * The most important model, the first access to the XML Schema information. @@ -322,18 +324,22 @@ public PuzzlePiece getAttribute(String qName, String qParentName) { PuzzlePiece attribute = null; if (attributes == null) { return null; - }else { - for (PuzzlePiece ppAttribute : attributes.withMultiples().getCollection()) { - // If there is more than one name for this expression, create more than one PuzzlePiece - for (PuzzlePiece ppElement : ppAttribute.getParents().getCollection()) { - List names = - (List) ((NameClassAndExpression) ppElement.getExpression()).getNameClass().visit(NAME_VISITOR); - if(names != null && names.contains(qParentName)){ - attribute = ppAttribute; - break; - } - } + } else { + for (PuzzlePiece ppAttribute : attributes.withMultiples().getCollection()) { + // If there is more than one name for this expression, create more than one PuzzlePiece + for (PuzzlePiece ppElement : ppAttribute.getParents().getCollection()) { + List names = + (List) + ((NameClassAndExpression) ppElement.getExpression()) + .getNameClass() + .visit(NAME_VISITOR); + // takes the first attribute definition with a correct parent + if (names != null && names.contains(qParentName)) { + attribute = ppAttribute; + break; + } } + } } return attribute; } @@ -347,34 +353,58 @@ public PuzzlePiece getAttribute(String qName, String qParentName) { * @return String of given Datatype */ public String getAttributeDataType(String qName, String qParentName) { - String dataType = "String"; - PuzzlePiece attr = getAttribute(qName, qParentName); - Collection d = attr.getDatatypes().getCollection(); - Boolean isBoolean = null; - if(d.size() == 1){ - dataType = d.iterator().next().getQName(); - }else if(!d.isEmpty()){ - System.out.println("There are multiple datatypes!"); - } else { - Iterator valueIterator = attr.getValues().getCollection().iterator(); - - while(valueIterator.hasNext()){ - String value = valueIterator.next().toString(); - if(value.equals("true") || value.equals("false")){ - isBoolean = Boolean.TRUE; - }else{ - isBoolean = null; - break; - } - } - if(isBoolean != null && isBoolean){ - dataType = "Boolean"; - } + String dataType = "String"; + PuzzlePiece attr = getAttribute(qName, qParentName); + Collection d = attr.getDatatypes().getCollection(); + Boolean isBoolean = null; + if (d.size() == 1) { + dataType = d.iterator().next().getQName(); + } else if (!d.isEmpty()) { + System.err.println( + "\n***********\nThere are multiple datatypes for attribute '" + qName + "'\n"); + Iterator dataTypesIter = d.iterator(); + while (dataTypesIter.hasNext()) { + System.err.println(dataTypesIter.next().toString()); } - return dataType; + } else { // @draw:concave just uses 'false' and 'true' without datatype + /** As there are sometimes multiple times definitions of the same attribute for an element + * for an example https://docs.oasis-open.org/office/OpenDocument/v1.3/os/schemas/OpenDocument-v1.3-schema-rng.html#13591 + * which was taken as boolean, all attributes definitions of all elements of the same name are now takin into account! + * BETTER FOR THE FUTURE: If the attribute definitons only for a certain element would be taken into account, e.g. + * https://docs.oasis-open.org/office/OpenDocument/v1.3/os/schemas/OpenDocument-v1.3-schema-rng.html#6508 + */ + PuzzleComponent elements = getElement(qParentName); + List attributeValues = null; + if(elements != null && elements.getCollection().size() > 0){ + attributeValues = new ArrayList(); + } + for(PuzzlePiece ppElement : elements.getCollection()){ + PuzzlePieceSet attributes = ppElement.getAttributes(); + for(PuzzlePiece ppAttribute : attributes.getCollection()){ + if(ppAttribute.getQName().equals(qName)){ + for(PuzzlePiece ppValue : ppAttribute.getValues().getCollection()){ + // strange that the value has a localName (but the puzzlePiece abstraction should be overworked anyway) + attributeValues.add(ppValue.getLocalName()); + } + } + } + } + + for (String value : attributeValues) { + if (value.equals("true") || value.equals("false")) { + isBoolean = Boolean.TRUE; + } else { + isBoolean = null; + break; + } + } + if (isBoolean != null && isBoolean) { + dataType = "Boolean"; + } + } + return dataType; } - /** * Get attribute by tag name and hash code. The hash code distincts Attributes sharing the same * tag name. diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java index 784a18b7d5..0d5e09fc52 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java @@ -79,12 +79,12 @@ public OdfName getOdfName() { * * Attribute is mandatory. * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. */ - public String getDrawConcaveAttribute() { + public Boolean getDrawConcaveAttribute() { DrawConcaveAttribute attr = (DrawConcaveAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "concave"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); } return null; } @@ -92,12 +92,12 @@ public String getDrawConcaveAttribute() { /** * Sets the value of ODFDOM attribute representation DrawConcaveAttribute , See {@odf.attribute draw:concave} * - * @param drawConcaveValue The type is String + * @param drawConcaveValue The type is Boolean */ - public void setDrawConcaveAttribute(String drawConcaveValue) { + public void setDrawConcaveAttribute(Boolean drawConcaveValue) { DrawConcaveAttribute attr = new DrawConcaveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(drawConcaveValue); + attr.setBooleanValue(drawConcaveValue.booleanValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java index 6fb7f2c054..cb09b5aead 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java @@ -106,12 +106,12 @@ public void setDrawCaptionIdAttribute(String drawCaptionIdValue) { * * Attribute is mandatory. * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. */ - public String getDrawConcaveAttribute() { + public Boolean getDrawConcaveAttribute() { DrawConcaveAttribute attr = (DrawConcaveAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "concave"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); } return null; } @@ -119,12 +119,12 @@ public String getDrawConcaveAttribute() { /** * Sets the value of ODFDOM attribute representation DrawConcaveAttribute , See {@odf.attribute draw:concave} * - * @param drawConcaveValue The type is String + * @param drawConcaveValue The type is Boolean */ - public void setDrawConcaveAttribute(String drawConcaveValue) { + public void setDrawConcaveAttribute(Boolean drawConcaveValue) { DrawConcaveAttribute attr = new DrawConcaveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(drawConcaveValue); + attr.setBooleanValue(drawConcaveValue.booleanValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java index 55abc04f99..b9836fd0a9 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java @@ -106,12 +106,12 @@ public void setDrawCaptionIdAttribute(String drawCaptionIdValue) { * * Attribute is mandatory. * - * @return - the String , the value or null, if the attribute is not set and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. */ - public String getDrawConcaveAttribute() { + public Boolean getDrawConcaveAttribute() { DrawConcaveAttribute attr = (DrawConcaveAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "concave"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.booleanValue()); } return null; } @@ -119,12 +119,12 @@ public String getDrawConcaveAttribute() { /** * Sets the value of ODFDOM attribute representation DrawConcaveAttribute , See {@odf.attribute draw:concave} * - * @param drawConcaveValue The type is String + * @param drawConcaveValue The type is Boolean */ - public void setDrawConcaveAttribute(String drawConcaveValue) { + public void setDrawConcaveAttribute(Boolean drawConcaveValue) { DrawConcaveAttribute attr = new DrawConcaveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(drawConcaveValue); + attr.setBooleanValue(drawConcaveValue.booleanValue()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleTextPropertiesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleTextPropertiesElement.java index 8b9474eb62..34108e5c71 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleTextPropertiesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleTextPropertiesElement.java @@ -2395,12 +2395,12 @@ public void setTextConditionAttribute(String textConditionValue) { * * Attribute is mandatory. * - * @return - the Boolean , the value or null, if the attribute is not set and no default value defined. + * @return - the String , the value or null, if the attribute is not set and no default value defined. */ - public Boolean getTextDisplayAttribute() { + public String getTextDisplayAttribute() { TextDisplayAttribute attr = (TextDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "display"); - if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + if (attr != null) { + return String.valueOf(attr.getValue()); } return null; } @@ -2408,12 +2408,12 @@ public Boolean getTextDisplayAttribute() { /** * Sets the value of ODFDOM attribute representation TextDisplayAttribute , See {@odf.attribute text:display} * - * @param textDisplayValue The type is Boolean + * @param textDisplayValue The type is String */ - public void setTextDisplayAttribute(Boolean textDisplayValue) { + public void setTextDisplayAttribute(String textDisplayValue) { TextDisplayAttribute attr = new TextDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textDisplayValue.booleanValue()); + attr.setValue(textDisplayValue); } /** From 4fe184c75977f571e355066e4ddabff9516f54fb Mon Sep 17 00:00:00 2001 From: Svante Schubert Date: Tue, 14 Feb 2023 19:28:22 +0100 Subject: [PATCH 14/15] Updated generated ODFDOM model and references - attributes having in different element context different types now nave this type supported (e.g. @dr3d:ligting-mode being boolean only in ) - the sharing attribute class inherting from Xerces AttrImpl will only save only a String --- .../schema2template/grammar/XMLModel.java | 50 +++-- .../grammar/GenerationOdfdomJavaTest.java | 3 - .../template/java-odfdom-element-template.vm | 10 +- .../java-odfdom-elementbase-template.vm | 10 +- .../dom/element/anim/AnimAnimateElement.java | 4 +- .../dom/element/anim/AnimAudioElement.java | 8 +- .../dom/element/anim/AnimIterateElement.java | 16 +- .../dom/element/anim/AnimParElement.java | 16 +- .../dom/element/anim/AnimSeqElement.java | 16 +- .../element/chart/ChartDataPointElement.java | 4 +- .../dom/element/chart/ChartLegendElement.java | 4 +- .../element/chart/ChartPlotAreaElement.java | 8 +- .../dom/element/dr3d/Dr3dCubeElement.java | 4 +- .../dom/element/dr3d/Dr3dExtrudeElement.java | 8 +- .../dom/element/dr3d/Dr3dLightElement.java | 8 +- .../dom/element/dr3d/Dr3dRotateElement.java | 8 +- .../dom/element/dr3d/Dr3dSceneElement.java | 20 +- .../dom/element/dr3d/Dr3dSphereElement.java | 4 +- .../odfdom/dom/element/draw/DrawAElement.java | 4 +- .../dom/element/draw/DrawAppletElement.java | 4 +- .../element/draw/DrawAreaPolygonElement.java | 4 +- .../dom/element/draw/DrawCaptionElement.java | 4 +- .../dom/element/draw/DrawCircleElement.java | 12 +- .../element/draw/DrawConnectorElement.java | 12 +- .../element/draw/DrawContourPathElement.java | 8 +- .../draw/DrawContourPolygonElement.java | 8 +- .../dom/element/draw/DrawControlElement.java | 4 +- .../element/draw/DrawCustomShapeElement.java | 4 +- .../dom/element/draw/DrawEllipseElement.java | 12 +- .../draw/DrawEnhancedGeometryElement.java | 84 ++++---- .../dom/element/draw/DrawFrameElement.java | 12 +- .../odfdom/dom/element/draw/DrawGElement.java | 4 +- .../element/draw/DrawGluePointElement.java | 4 +- .../dom/element/draw/DrawGradientElement.java | 4 +- .../dom/element/draw/DrawHandleElement.java | 12 +- .../dom/element/draw/DrawHatchElement.java | 4 +- .../dom/element/draw/DrawLayerElement.java | 4 +- .../dom/element/draw/DrawLineElement.java | 4 +- .../dom/element/draw/DrawMarkerElement.java | 4 +- .../dom/element/draw/DrawMeasureElement.java | 4 +- .../dom/element/draw/DrawOpacityElement.java | 4 +- .../draw/DrawPageThumbnailElement.java | 12 +- .../dom/element/draw/DrawPathElement.java | 8 +- .../dom/element/draw/DrawPolygonElement.java | 8 +- .../dom/element/draw/DrawPolylineElement.java | 8 +- .../dom/element/draw/DrawRectElement.java | 4 +- .../draw/DrawRegularPolygonElement.java | 12 +- .../element/draw/DrawShapeElementBase.java | 12 +- .../element/draw/DrawStrokeDashElement.java | 8 +- .../dom/element/form/FormButtonElement.java | 28 +-- .../dom/element/form/FormCheckboxElement.java | 20 +- .../dom/element/form/FormComboboxElement.java | 40 ++-- .../dom/element/form/FormDateElement.java | 28 +-- .../dom/element/form/FormFileElement.java | 24 +-- .../element/form/FormFixedTextElement.java | 12 +- .../dom/element/form/FormFormElement.java | 24 +-- .../form/FormFormattedTextElement.java | 32 +-- .../dom/element/form/FormFrameElement.java | 8 +- .../dom/element/form/FormGridElement.java | 16 +- .../dom/element/form/FormImageElement.java | 16 +- .../element/form/FormImageFrameElement.java | 12 +- .../element/form/FormListValueElement.java | 8 +- .../dom/element/form/FormListboxElement.java | 28 +-- .../dom/element/form/FormNumberElement.java | 44 ++-- .../dom/element/form/FormOptionElement.java | 8 +- .../dom/element/form/FormPasswordElement.java | 24 +-- .../dom/element/form/FormPropertyElement.java | 8 +- .../dom/element/form/FormRadioElement.java | 24 +-- .../dom/element/form/FormTextElement.java | 28 +-- .../dom/element/form/FormTextareaElement.java | 28 +-- .../dom/element/form/FormTimeElement.java | 28 +-- .../element/form/FormValueRangeElement.java | 24 +-- .../number/NumberCurrencyStyleElement.java | 4 +- .../number/NumberDataStyleElementBase.java | 4 +- .../number/NumberDateStyleElement.java | 4 +- .../number/NumberEmbeddedTextElement.java | 4 +- .../element/number/NumberFractionElement.java | 20 +- .../element/number/NumberMonthElement.java | 8 +- .../element/number/NumberNumberElement.java | 16 +- .../number/NumberScientificNumberElement.java | 16 +- .../element/number/NumberSecondsElement.java | 4 +- .../number/NumberTimeStyleElement.java | 4 +- .../office/OfficeAnnotationElement.java | 4 +- .../office/OfficeDdeSourceElement.java | 4 +- .../element/office/OfficeFormsElement.java | 8 +- .../office/OfficeSpreadsheetElement.java | 4 +- .../dom/element/office/OfficeTextElement.java | 4 +- .../PresentationEventListenerElement.java | 4 +- .../PresentationSettingsElement.java | 32 +-- .../PresentationSoundElement.java | 4 +- .../element/style/StyleFontFaceElement.java | 92 ++++---- .../dom/element/style/StyleFooterElement.java | 4 +- .../element/style/StyleFooterLeftElement.java | 4 +- .../dom/element/style/StyleHeaderElement.java | 4 +- .../element/style/StyleHeaderLeftElement.java | 4 +- .../dom/element/style/StyleStyleElement.java | 8 +- .../dom/element/svg/SvgStopElement.java | 4 +- .../TableCalculationSettingsElement.java | 24 +-- .../table/TableCellAddressElement.java | 12 +- .../table/TableCellRangeSourceElement.java | 8 +- .../TableChangeTrackTableCellElement.java | 20 +- .../table/TableConsolidationElement.java | 4 +- .../table/TableContentValidationElement.java | 4 +- .../TableDataPilotDisplayInfoElement.java | 8 +- .../table/TableDataPilotFieldElement.java | 4 +- .../table/TableDataPilotGroupsElement.java | 12 +- .../TableDataPilotLayoutInfoElement.java | 4 +- .../table/TableDataPilotLevelElement.java | 4 +- .../table/TableDataPilotMemberElement.java | 8 +- .../table/TableDataPilotTableElement.java | 16 +- .../table/TableDatabaseRangeElement.java | 28 +-- .../table/TableDatabaseSourceSqlElement.java | 4 +- .../element/table/TableDeletionElement.java | 12 +- .../element/table/TableErrorMacroElement.java | 4 +- .../table/TableErrorMessageElement.java | 4 +- .../table/TableFilterConditionElement.java | 4 +- .../dom/element/table/TableFilterElement.java | 4 +- .../table/TableHelpMessageElement.java | 4 +- .../table/TableHighlightedRangeElement.java | 8 +- .../table/TableInsertionCutOffElement.java | 4 +- .../element/table/TableInsertionElement.java | 12 +- .../element/table/TableIterationElement.java | 8 +- .../table/TableMovementCutOffElement.java | 12 +- .../element/table/TableOperationElement.java | 4 +- .../element/table/TableScenarioElement.java | 24 +-- .../dom/element/table/TableSortByElement.java | 4 +- .../dom/element/table/TableSortElement.java | 8 +- .../table/TableSourceRangeAddressElement.java | 36 ++-- .../table/TableSubtotalFieldElement.java | 4 +- .../table/TableSubtotalRuleElement.java | 4 +- .../table/TableSubtotalRulesElement.java | 12 +- .../element/table/TableTableCellElement.java | 16 +- .../table/TableTableCellElementBase.java | 16 +- .../table/TableTableColumnElement.java | 4 +- .../table/TableTableColumnGroupElement.java | 4 +- .../dom/element/table/TableTableElement.java | 12 +- .../element/table/TableTableRowElement.java | 4 +- .../table/TableTableRowGroupElement.java | 4 +- .../table/TableTargetRangeAddressElement.java | 36 ++-- .../table/TableTrackedChangesElement.java | 4 +- .../text/TextAlphabeticalIndexElement.java | 4 +- .../TextAlphabeticalIndexMarkElement.java | 4 +- ...TextAlphabeticalIndexMarkStartElement.java | 4 +- .../TextAlphabeticalIndexSourceElement.java | 40 ++-- .../text/TextAuthorInitialsElement.java | 4 +- .../element/text/TextAuthorNameElement.java | 4 +- .../TextBibliographyConfigurationElement.java | 8 +- .../element/text/TextBibliographyElement.java | 4 +- .../dom/element/text/TextChapterElement.java | 4 +- .../text/TextCharacterCountElement.java | 4 +- .../text/TextConditionalTextElement.java | 4 +- .../element/text/TextCreationDateElement.java | 4 +- .../element/text/TextCreationTimeElement.java | 4 +- .../dom/element/text/TextCreatorElement.java | 4 +- .../text/TextDatabaseRowNumberElement.java | 8 +- .../text/TextDatabaseRowSelectElement.java | 4 +- .../dom/element/text/TextDateElement.java | 4 +- .../text/TextDdeConnectionDeclElement.java | 4 +- .../element/text/TextDescriptionElement.java | 4 +- .../text/TextEditingCyclesElement.java | 4 +- .../text/TextEditingDurationElement.java | 4 +- .../element/text/TextExpressionElement.java | 8 +- .../dom/element/text/TextFileNameElement.java | 4 +- .../odfdom/dom/element/text/TextHElement.java | 16 +- .../text/TextHiddenParagraphElement.java | 4 +- .../element/text/TextHiddenTextElement.java | 4 +- .../text/TextIllustrationIndexElement.java | 4 +- .../TextIllustrationIndexSourceElement.java | 8 +- .../element/text/TextImageCountElement.java | 4 +- .../text/TextIndexSourceStylesElement.java | 4 +- .../element/text/TextIndexTitleElement.java | 4 +- .../text/TextInitialCreatorElement.java | 4 +- .../dom/element/text/TextKeywordsElement.java | 4 +- ...TextLinenumberingConfigurationElement.java | 24 +-- .../TextLinenumberingSeparatorElement.java | 4 +- .../dom/element/text/TextListElement.java | 4 +- .../dom/element/text/TextListItemElement.java | 4 +- .../text/TextListLevelStyleElementBase.java | 4 +- .../text/TextListLevelStyleNumberElement.java | 12 +- .../element/text/TextListStyleElement.java | 4 +- .../text/TextModificationDateElement.java | 4 +- .../text/TextModificationTimeElement.java | 4 +- .../text/TextNotesConfigurationElement.java | 8 +- .../text/TextNumberedParagraphElement.java | 12 +- .../element/text/TextObjectCountElement.java | 4 +- .../element/text/TextObjectIndexElement.java | 4 +- .../text/TextObjectIndexSourceElement.java | 24 +-- .../text/TextOutlineLevelStyleElement.java | 16 +- .../element/text/TextPageCountElement.java | 4 +- .../element/text/TextPageNumberElement.java | 12 +- .../text/TextPageVariableGetElement.java | 4 +- .../text/TextPageVariableSetElement.java | 8 +- .../text/TextParagraphCountElement.java | 4 +- .../element/text/TextPrintDateElement.java | 4 +- .../element/text/TextPrintTimeElement.java | 4 +- .../element/text/TextPrintedByElement.java | 4 +- .../odfdom/dom/element/text/TextSElement.java | 4 +- .../dom/element/text/TextSectionElement.java | 4 +- .../element/text/TextSenderCityElement.java | 4 +- .../text/TextSenderCompanyElement.java | 4 +- .../text/TextSenderCountryElement.java | 4 +- .../element/text/TextSenderEmailElement.java | 4 +- .../element/text/TextSenderFaxElement.java | 4 +- .../text/TextSenderFirstnameElement.java | 4 +- .../text/TextSenderInitialsElement.java | 4 +- .../text/TextSenderLastnameElement.java | 4 +- .../text/TextSenderPhonePrivateElement.java | 4 +- .../text/TextSenderPhoneWorkElement.java | 4 +- .../text/TextSenderPositionElement.java | 4 +- .../text/TextSenderPostalCodeElement.java | 4 +- .../TextSenderStateOrProvinceElement.java | 4 +- .../element/text/TextSenderStreetElement.java | 4 +- .../element/text/TextSenderTitleElement.java | 4 +- .../element/text/TextSequenceDeclElement.java | 4 +- .../dom/element/text/TextSequenceElement.java | 4 +- .../dom/element/text/TextSortKeyElement.java | 4 +- .../dom/element/text/TextSubjectElement.java | 4 +- .../dom/element/text/TextTabElement.java | 4 +- .../element/text/TextTableCountElement.java | 4 +- .../element/text/TextTableIndexElement.java | 4 +- .../text/TextTableIndexSourceElement.java | 8 +- .../text/TextTableOfContentElement.java | 4 +- ...extTableOfContentEntryTemplateElement.java | 4 +- .../text/TextTableOfContentSourceElement.java | 20 +- .../dom/element/text/TextTimeElement.java | 4 +- .../dom/element/text/TextTitleElement.java | 4 +- .../dom/element/text/TextTocMarkElement.java | 4 +- .../element/text/TextTocMarkStartElement.java | 4 +- .../text/TextTrackedChangesElement.java | 4 +- .../element/text/TextUserDefinedElement.java | 12 +- .../text/TextUserFieldDeclElement.java | 8 +- .../element/text/TextUserIndexElement.java | 4 +- .../TextUserIndexEntryTemplateElement.java | 4 +- .../text/TextUserIndexMarkElement.java | 4 +- .../text/TextUserIndexMarkEndElement.java | 4 +- .../text/TextUserIndexMarkStartElement.java | 4 +- .../text/TextUserIndexSourceElement.java | 28 +-- .../element/text/TextVariableSetElement.java | 8 +- .../element/text/TextWordCountElement.java | 4 +- .../element/anim/AnimAnimateColorElement.java | 16 +- .../dom/element/anim/AnimAnimateElement.java | 16 +- .../anim/AnimAnimateMotionElement.java | 16 +- .../anim/AnimAnimateTransformElement.java | 16 +- .../dom/element/anim/AnimAudioElement.java | 8 +- .../dom/element/anim/AnimIterateElement.java | 16 +- .../dom/element/anim/AnimParElement.java | 16 +- .../dom/element/anim/AnimSeqElement.java | 16 +- .../dom/element/anim/AnimSetElement.java | 16 +- .../anim/AnimTransitionFilterElement.java | 16 +- .../element/chart/ChartDataPointElement.java | 4 +- .../dom/element/chart/ChartLegendElement.java | 4 +- .../element/chart/ChartPlotAreaElement.java | 8 +- .../dom/element/dr3d/Dr3dCubeElement.java | 4 +- .../dom/element/dr3d/Dr3dExtrudeElement.java | 8 +- .../dom/element/dr3d/Dr3dLightElement.java | 8 +- .../dom/element/dr3d/Dr3dRotateElement.java | 8 +- .../dom/element/dr3d/Dr3dSceneElement.java | 20 +- .../dom/element/dr3d/Dr3dSphereElement.java | 4 +- .../odfdom/dom/element/draw/DrawAElement.java | 4 +- .../dom/element/draw/DrawAppletElement.java | 4 +- .../element/draw/DrawAreaPolygonElement.java | 4 +- .../dom/element/draw/DrawCaptionElement.java | 4 +- .../dom/element/draw/DrawCircleElement.java | 12 +- .../element/draw/DrawConnectorElement.java | 12 +- .../element/draw/DrawContourPathElement.java | 8 +- .../draw/DrawContourPolygonElement.java | 8 +- .../dom/element/draw/DrawControlElement.java | 4 +- .../element/draw/DrawCustomShapeElement.java | 4 +- .../dom/element/draw/DrawEllipseElement.java | 12 +- .../draw/DrawEnhancedGeometryElement.java | 84 ++++---- .../dom/element/draw/DrawFrameElement.java | 12 +- .../odfdom/dom/element/draw/DrawGElement.java | 4 +- .../element/draw/DrawGluePointElement.java | 4 +- .../dom/element/draw/DrawGradientElement.java | 4 +- .../dom/element/draw/DrawHandleElement.java | 12 +- .../dom/element/draw/DrawHatchElement.java | 4 +- .../dom/element/draw/DrawLayerElement.java | 4 +- .../dom/element/draw/DrawLineElement.java | 4 +- .../dom/element/draw/DrawMarkerElement.java | 4 +- .../dom/element/draw/DrawMeasureElement.java | 4 +- .../dom/element/draw/DrawOpacityElement.java | 4 +- .../draw/DrawPageThumbnailElement.java | 12 +- .../dom/element/draw/DrawPathElement.java | 8 +- .../dom/element/draw/DrawPolygonElement.java | 8 +- .../dom/element/draw/DrawPolylineElement.java | 8 +- .../dom/element/draw/DrawRectElement.java | 4 +- .../draw/DrawRegularPolygonElement.java | 12 +- .../element/draw/DrawShapeElementBase.java | 12 +- .../element/draw/DrawStrokeDashElement.java | 8 +- .../dom/element/form/FormButtonElement.java | 28 +-- .../dom/element/form/FormCheckboxElement.java | 20 +- .../dom/element/form/FormComboboxElement.java | 40 ++-- .../dom/element/form/FormDateElement.java | 28 +-- .../dom/element/form/FormFileElement.java | 24 +-- .../element/form/FormFixedTextElement.java | 12 +- .../dom/element/form/FormFormElement.java | 24 +-- .../form/FormFormattedTextElement.java | 32 +-- .../dom/element/form/FormFrameElement.java | 8 +- .../dom/element/form/FormGridElement.java | 16 +- .../dom/element/form/FormImageElement.java | 16 +- .../element/form/FormImageFrameElement.java | 12 +- .../element/form/FormListValueElement.java | 8 +- .../dom/element/form/FormListboxElement.java | 28 +-- .../dom/element/form/FormNumberElement.java | 44 ++-- .../dom/element/form/FormOptionElement.java | 8 +- .../dom/element/form/FormPasswordElement.java | 24 +-- .../dom/element/form/FormPropertyElement.java | 8 +- .../dom/element/form/FormRadioElement.java | 24 +-- .../dom/element/form/FormTextElement.java | 28 +-- .../dom/element/form/FormTextareaElement.java | 28 +-- .../dom/element/form/FormTimeElement.java | 28 +-- .../element/form/FormValueRangeElement.java | 24 +-- .../number/NumberCurrencyStyleElement.java | 4 +- .../number/NumberDataStyleElementBase.java | 4 +- .../number/NumberDateStyleElement.java | 4 +- .../number/NumberEmbeddedTextElement.java | 4 +- .../element/number/NumberFractionElement.java | 20 +- .../element/number/NumberMonthElement.java | 8 +- .../element/number/NumberNumberElement.java | 16 +- .../number/NumberScientificNumberElement.java | 16 +- .../element/number/NumberSecondsElement.java | 4 +- .../number/NumberTimeStyleElement.java | 4 +- .../office/OfficeAnnotationElement.java | 4 +- .../office/OfficeDdeSourceElement.java | 4 +- .../element/office/OfficeFormsElement.java | 8 +- .../office/OfficeSpreadsheetElement.java | 4 +- .../dom/element/office/OfficeTextElement.java | 8 +- .../PresentationEventListenerElement.java | 4 +- .../PresentationSettingsElement.java | 36 ++-- .../PresentationSoundElement.java | 4 +- .../element/style/StyleFontFaceElement.java | 92 ++++---- .../dom/element/style/StyleFooterElement.java | 4 +- .../element/style/StyleFooterLeftElement.java | 4 +- .../dom/element/style/StyleHeaderElement.java | 4 +- .../element/style/StyleHeaderLeftElement.java | 4 +- .../dom/element/style/StyleStyleElement.java | 8 +- .../dom/element/svg/SvgStopElement.java | 4 +- .../TableCalculationSettingsElement.java | 24 +-- .../table/TableCellAddressElement.java | 12 +- .../table/TableCellRangeSourceElement.java | 8 +- .../TableChangeTrackTableCellElement.java | 20 +- .../table/TableConsolidationElement.java | 4 +- .../table/TableContentValidationElement.java | 4 +- .../TableDataPilotDisplayInfoElement.java | 8 +- .../table/TableDataPilotFieldElement.java | 4 +- .../table/TableDataPilotGroupsElement.java | 12 +- .../TableDataPilotLayoutInfoElement.java | 4 +- .../table/TableDataPilotLevelElement.java | 4 +- .../table/TableDataPilotMemberElement.java | 8 +- .../table/TableDataPilotTableElement.java | 16 +- .../table/TableDatabaseRangeElement.java | 28 +-- .../table/TableDatabaseSourceSqlElement.java | 4 +- .../element/table/TableDeletionElement.java | 12 +- .../element/table/TableErrorMacroElement.java | 4 +- .../table/TableErrorMessageElement.java | 4 +- .../table/TableFilterConditionElement.java | 4 +- .../dom/element/table/TableFilterElement.java | 4 +- .../table/TableHelpMessageElement.java | 4 +- .../table/TableHighlightedRangeElement.java | 8 +- .../table/TableInsertionCutOffElement.java | 4 +- .../element/table/TableInsertionElement.java | 12 +- .../element/table/TableIterationElement.java | 8 +- .../table/TableMovementCutOffElement.java | 12 +- .../element/table/TableOperationElement.java | 4 +- .../element/table/TableScenarioElement.java | 24 +-- .../dom/element/table/TableSortByElement.java | 4 +- .../dom/element/table/TableSortElement.java | 8 +- .../table/TableSourceRangeAddressElement.java | 36 ++-- .../table/TableSubtotalFieldElement.java | 4 +- .../table/TableSubtotalRuleElement.java | 4 +- .../table/TableSubtotalRulesElement.java | 12 +- .../element/table/TableTableCellElement.java | 16 +- .../table/TableTableCellElementBase.java | 16 +- .../table/TableTableColumnElement.java | 4 +- .../table/TableTableColumnGroupElement.java | 4 +- .../dom/element/table/TableTableElement.java | 12 +- .../element/table/TableTableRowElement.java | 4 +- .../table/TableTableRowGroupElement.java | 4 +- .../table/TableTargetRangeAddressElement.java | 36 ++-- .../table/TableTrackedChangesElement.java | 4 +- .../text/TextAlphabeticalIndexElement.java | 4 +- .../TextAlphabeticalIndexMarkElement.java | 4 +- ...TextAlphabeticalIndexMarkStartElement.java | 4 +- .../TextAlphabeticalIndexSourceElement.java | 40 ++-- .../text/TextAuthorInitialsElement.java | 4 +- .../element/text/TextAuthorNameElement.java | 4 +- .../TextBibliographyConfigurationElement.java | 8 +- .../element/text/TextBibliographyElement.java | 4 +- .../dom/element/text/TextChapterElement.java | 4 +- .../text/TextCharacterCountElement.java | 4 +- .../text/TextConditionalTextElement.java | 4 +- .../element/text/TextCreationDateElement.java | 4 +- .../element/text/TextCreationTimeElement.java | 4 +- .../dom/element/text/TextCreatorElement.java | 4 +- .../text/TextDatabaseRowNumberElement.java | 8 +- .../text/TextDatabaseRowSelectElement.java | 4 +- .../dom/element/text/TextDateElement.java | 4 +- .../text/TextDdeConnectionDeclElement.java | 4 +- .../element/text/TextDescriptionElement.java | 4 +- .../text/TextEditingCyclesElement.java | 4 +- .../text/TextEditingDurationElement.java | 4 +- .../element/text/TextExpressionElement.java | 8 +- .../dom/element/text/TextFileNameElement.java | 4 +- .../odfdom/dom/element/text/TextHElement.java | 16 +- .../text/TextHiddenParagraphElement.java | 4 +- .../element/text/TextHiddenTextElement.java | 4 +- .../text/TextIllustrationIndexElement.java | 4 +- .../TextIllustrationIndexSourceElement.java | 8 +- .../element/text/TextImageCountElement.java | 4 +- .../text/TextIndexSourceStylesElement.java | 4 +- .../element/text/TextIndexTitleElement.java | 4 +- .../text/TextInitialCreatorElement.java | 4 +- .../dom/element/text/TextKeywordsElement.java | 4 +- ...TextLinenumberingConfigurationElement.java | 24 +-- .../TextLinenumberingSeparatorElement.java | 4 +- .../dom/element/text/TextListElement.java | 4 +- .../dom/element/text/TextListItemElement.java | 4 +- .../text/TextListLevelStyleElementBase.java | 4 +- .../text/TextListLevelStyleNumberElement.java | 12 +- .../element/text/TextListStyleElement.java | 4 +- .../text/TextModificationDateElement.java | 4 +- .../text/TextModificationTimeElement.java | 4 +- .../text/TextNotesConfigurationElement.java | 8 +- .../text/TextNumberedParagraphElement.java | 12 +- .../element/text/TextObjectCountElement.java | 4 +- .../element/text/TextObjectIndexElement.java | 4 +- .../text/TextObjectIndexSourceElement.java | 24 +-- .../text/TextOutlineLevelStyleElement.java | 16 +- .../element/text/TextPageCountElement.java | 4 +- .../element/text/TextPageNumberElement.java | 12 +- .../text/TextPageVariableGetElement.java | 4 +- .../text/TextPageVariableSetElement.java | 8 +- .../text/TextParagraphCountElement.java | 4 +- .../element/text/TextPrintDateElement.java | 4 +- .../element/text/TextPrintTimeElement.java | 4 +- .../element/text/TextPrintedByElement.java | 4 +- .../odfdom/dom/element/text/TextSElement.java | 4 +- .../dom/element/text/TextSectionElement.java | 4 +- .../element/text/TextSenderCityElement.java | 4 +- .../text/TextSenderCompanyElement.java | 4 +- .../text/TextSenderCountryElement.java | 4 +- .../element/text/TextSenderEmailElement.java | 4 +- .../element/text/TextSenderFaxElement.java | 4 +- .../text/TextSenderFirstnameElement.java | 4 +- .../text/TextSenderInitialsElement.java | 4 +- .../text/TextSenderLastnameElement.java | 4 +- .../text/TextSenderPhonePrivateElement.java | 4 +- .../text/TextSenderPhoneWorkElement.java | 4 +- .../text/TextSenderPositionElement.java | 4 +- .../text/TextSenderPostalCodeElement.java | 4 +- .../TextSenderStateOrProvinceElement.java | 4 +- .../element/text/TextSenderStreetElement.java | 4 +- .../element/text/TextSenderTitleElement.java | 4 +- .../element/text/TextSequenceDeclElement.java | 4 +- .../dom/element/text/TextSequenceElement.java | 4 +- .../dom/element/text/TextSortKeyElement.java | 4 +- .../dom/element/text/TextSubjectElement.java | 4 +- .../dom/element/text/TextTabElement.java | 4 +- .../element/text/TextTableCountElement.java | 4 +- .../element/text/TextTableIndexElement.java | 4 +- .../text/TextTableIndexSourceElement.java | 8 +- .../text/TextTableOfContentElement.java | 4 +- ...extTableOfContentEntryTemplateElement.java | 4 +- .../text/TextTableOfContentSourceElement.java | 20 +- .../dom/element/text/TextTimeElement.java | 4 +- .../dom/element/text/TextTitleElement.java | 4 +- .../dom/element/text/TextTocMarkElement.java | 4 +- .../element/text/TextTocMarkStartElement.java | 4 +- .../text/TextTrackedChangesElement.java | 4 +- .../element/text/TextUserDefinedElement.java | 12 +- .../text/TextUserFieldDeclElement.java | 8 +- .../element/text/TextUserIndexElement.java | 4 +- .../TextUserIndexEntryTemplateElement.java | 4 +- .../text/TextUserIndexMarkElement.java | 4 +- .../text/TextUserIndexMarkEndElement.java | 4 +- .../text/TextUserIndexMarkStartElement.java | 4 +- .../text/TextUserIndexSourceElement.java | 28 +-- .../element/text/TextVariableSetElement.java | 8 +- .../element/text/TextWordCountElement.java | 4 +- .../element/anim/AnimAnimateColorElement.java | 4 +- .../dom/element/anim/AnimAnimateElement.java | 4 +- .../anim/AnimAnimateMotionElement.java | 4 +- .../anim/AnimAnimateTransformElement.java | 4 +- .../dom/element/anim/AnimAudioElement.java | 4 +- .../dom/element/anim/AnimIterateElement.java | 4 +- .../dom/element/anim/AnimParElement.java | 4 +- .../dom/element/anim/AnimSeqElement.java | 4 +- .../dom/element/anim/AnimSetElement.java | 4 +- .../anim/AnimTransitionFilterElement.java | 4 +- .../element/chart/ChartDataPointElement.java | 4 +- .../element/chart/ChartEquationElement.java | 12 +- .../dom/element/chart/ChartLegendElement.java | 4 +- .../element/chart/ChartPlotAreaElement.java | 4 +- ...bApplicationConnectionSettingsElement.java | 28 +-- .../element/db/DbColumnDefinitionElement.java | 24 +-- .../dom/element/db/DbColumnElement.java | 12 +- .../dom/element/db/DbComponentElement.java | 4 +- .../db/DbDataSourceSettingElement.java | 4 +- .../element/db/DbDriverSettingsElement.java | 12 +- .../element/db/DbFilterStatementElement.java | 4 +- .../dom/element/db/DbIndexColumnElement.java | 4 +- .../odfdom/dom/element/db/DbIndexElement.java | 8 +- .../odfdom/dom/element/db/DbLoginElement.java | 12 +- .../element/db/DbOrderStatementElement.java | 4 +- .../odfdom/dom/element/db/DbQueryElement.java | 4 +- .../element/db/DbServerDatabaseElement.java | 4 +- .../dom/element/db/DbTableSettingElement.java | 8 +- .../dom/element/dr3d/Dr3dCubeElement.java | 4 +- .../dom/element/dr3d/Dr3dExtrudeElement.java | 8 +- .../dom/element/dr3d/Dr3dLightElement.java | 8 +- .../dom/element/dr3d/Dr3dRotateElement.java | 8 +- .../dom/element/dr3d/Dr3dSceneElement.java | 20 +- .../dom/element/dr3d/Dr3dSphereElement.java | 4 +- .../odfdom/dom/element/draw/DrawAElement.java | 4 +- .../dom/element/draw/DrawAppletElement.java | 4 +- .../element/draw/DrawAreaPolygonElement.java | 4 +- .../dom/element/draw/DrawCaptionElement.java | 4 +- .../dom/element/draw/DrawCircleElement.java | 4 +- .../element/draw/DrawConnectorElement.java | 16 +- .../element/draw/DrawContourPathElement.java | 8 +- .../draw/DrawContourPolygonElement.java | 8 +- .../dom/element/draw/DrawControlElement.java | 4 +- .../element/draw/DrawCustomShapeElement.java | 4 +- .../dom/element/draw/DrawEllipseElement.java | 4 +- .../draw/DrawEnhancedGeometryElement.java | 72 +++---- .../dom/element/draw/DrawFrameElement.java | 12 +- .../odfdom/dom/element/draw/DrawGElement.java | 4 +- .../element/draw/DrawGluePointElement.java | 4 +- .../dom/element/draw/DrawHandleElement.java | 12 +- .../dom/element/draw/DrawLayerElement.java | 4 +- .../dom/element/draw/DrawLineElement.java | 4 +- .../dom/element/draw/DrawMarkerElement.java | 4 +- .../dom/element/draw/DrawMeasureElement.java | 4 +- .../draw/DrawPageThumbnailElement.java | 12 +- .../dom/element/draw/DrawPathElement.java | 8 +- .../dom/element/draw/DrawPolygonElement.java | 8 +- .../dom/element/draw/DrawPolylineElement.java | 8 +- .../dom/element/draw/DrawRectElement.java | 4 +- .../draw/DrawRegularPolygonElement.java | 12 +- .../element/draw/DrawShapeElementBase.java | 12 +- .../element/draw/DrawStrokeDashElement.java | 8 +- .../dom/element/form/FormButtonElement.java | 32 +-- .../dom/element/form/FormCheckboxElement.java | 20 +- .../dom/element/form/FormComboboxElement.java | 40 ++-- .../dom/element/form/FormDateElement.java | 36 ++-- .../dom/element/form/FormFileElement.java | 24 +-- .../element/form/FormFixedTextElement.java | 12 +- .../dom/element/form/FormFormElement.java | 24 +-- .../form/FormFormattedTextElement.java | 40 ++-- .../dom/element/form/FormFrameElement.java | 8 +- .../dom/element/form/FormGridElement.java | 16 +- .../dom/element/form/FormImageElement.java | 16 +- .../element/form/FormImageFrameElement.java | 12 +- .../element/form/FormListValueElement.java | 8 +- .../dom/element/form/FormListboxElement.java | 28 +-- .../dom/element/form/FormNumberElement.java | 52 ++--- .../dom/element/form/FormOptionElement.java | 8 +- .../dom/element/form/FormPasswordElement.java | 24 +-- .../dom/element/form/FormPropertyElement.java | 8 +- .../dom/element/form/FormRadioElement.java | 24 +-- .../dom/element/form/FormTextElement.java | 28 +-- .../dom/element/form/FormTextareaElement.java | 28 +-- .../dom/element/form/FormTimeElement.java | 36 ++-- .../element/form/FormValueRangeElement.java | 36 ++-- .../meta/MetaDocumentStatisticElement.java | 60 +++--- .../number/NumberCurrencyStyleElement.java | 4 +- .../number/NumberDataStyleElementBase.java | 4 +- .../number/NumberDateStyleElement.java | 4 +- .../number/NumberEmbeddedTextElement.java | 4 +- .../element/number/NumberFractionElement.java | 20 +- .../element/number/NumberMonthElement.java | 8 +- .../element/number/NumberNumberElement.java | 16 +- .../number/NumberScientificNumberElement.java | 16 +- .../element/number/NumberSecondsElement.java | 4 +- .../number/NumberTimeStyleElement.java | 4 +- .../office/OfficeAnnotationElement.java | 4 +- .../office/OfficeDdeSourceElement.java | 4 +- .../element/office/OfficeFormsElement.java | 8 +- .../office/OfficeSpreadsheetElement.java | 4 +- .../dom/element/office/OfficeTextElement.java | 8 +- .../PresentationEventListenerElement.java | 4 +- .../PresentationSettingsElement.java | 36 ++-- .../PresentationSoundElement.java | 4 +- .../style/StyleChartPropertiesElement.java | 184 ++++++++-------- .../element/style/StyleColumnsElement.java | 4 +- .../StyleDrawingPagePropertiesElement.java | 32 +-- .../element/style/StyleDropCapElement.java | 8 +- .../element/style/StyleFontFaceElement.java | 92 ++++---- .../dom/element/style/StyleFooterElement.java | 4 +- .../element/style/StyleFooterLeftElement.java | 4 +- .../style/StyleGraphicPropertiesElement.java | 120 +++++------ .../dom/element/style/StyleHeaderElement.java | 4 +- .../StyleHeaderFooterPropertiesElement.java | 4 +- .../element/style/StyleHeaderLeftElement.java | 4 +- .../StylePageLayoutPropertiesElement.java | 36 ++-- .../StyleParagraphPropertiesElement.java | 52 ++--- .../style/StyleSectionPropertiesElement.java | 12 +- .../dom/element/style/StyleStyleElement.java | 12 +- .../StyleTableCellPropertiesElement.java | 16 +- .../StyleTableColumnPropertiesElement.java | 4 +- .../style/StyleTablePropertiesElement.java | 12 +- .../style/StyleTableRowPropertiesElement.java | 4 +- .../style/StyleTextPropertiesElement.java | 28 +-- .../dom/element/svg/SvgStopElement.java | 4 +- .../TableCalculationSettingsElement.java | 28 +-- .../table/TableCellAddressElement.java | 12 +- .../table/TableCellRangeSourceElement.java | 8 +- .../TableChangeTrackTableCellElement.java | 20 +- .../table/TableConsolidationElement.java | 4 +- .../table/TableContentValidationElement.java | 4 +- .../TableDataPilotDisplayInfoElement.java | 8 +- .../table/TableDataPilotFieldElement.java | 4 +- .../table/TableDataPilotGroupsElement.java | 12 +- .../TableDataPilotLayoutInfoElement.java | 4 +- .../table/TableDataPilotLevelElement.java | 4 +- .../table/TableDataPilotMemberElement.java | 8 +- .../table/TableDataPilotTableElement.java | 16 +- .../table/TableDatabaseRangeElement.java | 28 +-- .../table/TableDatabaseSourceSqlElement.java | 4 +- .../element/table/TableDeletionElement.java | 12 +- .../element/table/TableErrorMacroElement.java | 4 +- .../table/TableErrorMessageElement.java | 4 +- .../table/TableFilterConditionElement.java | 4 +- .../dom/element/table/TableFilterElement.java | 4 +- .../table/TableHelpMessageElement.java | 4 +- .../table/TableHighlightedRangeElement.java | 8 +- .../table/TableInsertionCutOffElement.java | 4 +- .../element/table/TableInsertionElement.java | 12 +- .../element/table/TableIterationElement.java | 8 +- .../table/TableMovementCutOffElement.java | 12 +- .../element/table/TableOperationElement.java | 4 +- .../element/table/TableScenarioElement.java | 24 +-- .../dom/element/table/TableSortByElement.java | 4 +- .../dom/element/table/TableSortElement.java | 8 +- .../table/TableSourceRangeAddressElement.java | 36 ++-- .../table/TableSubtotalFieldElement.java | 4 +- .../table/TableSubtotalRuleElement.java | 4 +- .../table/TableSubtotalRulesElement.java | 12 +- .../element/table/TableTableCellElement.java | 16 +- .../table/TableTableCellElementBase.java | 20 +- .../table/TableTableColumnElement.java | 4 +- .../table/TableTableColumnGroupElement.java | 4 +- .../dom/element/table/TableTableElement.java | 36 ++-- .../element/table/TableTableRowElement.java | 4 +- .../table/TableTableRowGroupElement.java | 4 +- .../table/TableTargetRangeAddressElement.java | 36 ++-- .../table/TableTrackedChangesElement.java | 4 +- .../text/TextAlphabeticalIndexElement.java | 4 +- .../TextAlphabeticalIndexMarkElement.java | 4 +- ...TextAlphabeticalIndexMarkStartElement.java | 4 +- .../TextAlphabeticalIndexSourceElement.java | 40 ++-- .../text/TextAuthorInitialsElement.java | 4 +- .../element/text/TextAuthorNameElement.java | 4 +- .../TextBibliographyConfigurationElement.java | 8 +- .../element/text/TextBibliographyElement.java | 4 +- .../dom/element/text/TextChapterElement.java | 4 +- .../text/TextCharacterCountElement.java | 4 +- .../text/TextConditionalTextElement.java | 4 +- .../element/text/TextCreationDateElement.java | 4 +- .../element/text/TextCreationTimeElement.java | 4 +- .../dom/element/text/TextCreatorElement.java | 4 +- .../text/TextDatabaseRowNumberElement.java | 8 +- .../text/TextDatabaseRowSelectElement.java | 4 +- .../dom/element/text/TextDateElement.java | 4 +- .../text/TextDdeConnectionDeclElement.java | 4 +- .../element/text/TextDescriptionElement.java | 4 +- .../text/TextEditingCyclesElement.java | 4 +- .../text/TextEditingDurationElement.java | 4 +- .../element/text/TextExpressionElement.java | 8 +- .../dom/element/text/TextFileNameElement.java | 4 +- .../odfdom/dom/element/text/TextHElement.java | 16 +- .../text/TextHiddenParagraphElement.java | 4 +- .../element/text/TextHiddenTextElement.java | 4 +- .../text/TextIllustrationIndexElement.java | 4 +- .../TextIllustrationIndexSourceElement.java | 8 +- .../element/text/TextImageCountElement.java | 4 +- .../text/TextIndexEntryChapterElement.java | 4 +- .../text/TextIndexSourceStylesElement.java | 4 +- .../element/text/TextIndexTitleElement.java | 4 +- .../text/TextInitialCreatorElement.java | 4 +- .../dom/element/text/TextKeywordsElement.java | 4 +- ...TextLinenumberingConfigurationElement.java | 24 +-- .../TextLinenumberingSeparatorElement.java | 4 +- .../dom/element/text/TextListElement.java | 4 +- .../dom/element/text/TextListItemElement.java | 4 +- .../text/TextListLevelStyleElementBase.java | 4 +- .../text/TextListLevelStyleNumberElement.java | 12 +- .../element/text/TextListStyleElement.java | 4 +- .../text/TextModificationDateElement.java | 4 +- .../text/TextModificationTimeElement.java | 4 +- .../text/TextNotesConfigurationElement.java | 8 +- .../text/TextNumberedParagraphElement.java | 12 +- .../element/text/TextObjectCountElement.java | 4 +- .../element/text/TextObjectIndexElement.java | 4 +- .../text/TextObjectIndexSourceElement.java | 24 +-- .../text/TextOutlineLevelStyleElement.java | 16 +- .../element/text/TextPageCountElement.java | 4 +- .../element/text/TextPageNumberElement.java | 12 +- .../text/TextPageVariableGetElement.java | 4 +- .../text/TextPageVariableSetElement.java | 8 +- .../text/TextParagraphCountElement.java | 4 +- .../element/text/TextPrintDateElement.java | 4 +- .../element/text/TextPrintTimeElement.java | 4 +- .../element/text/TextPrintedByElement.java | 4 +- .../odfdom/dom/element/text/TextSElement.java | 4 +- .../dom/element/text/TextSectionElement.java | 4 +- .../element/text/TextSenderCityElement.java | 4 +- .../text/TextSenderCompanyElement.java | 4 +- .../text/TextSenderCountryElement.java | 4 +- .../element/text/TextSenderEmailElement.java | 4 +- .../element/text/TextSenderFaxElement.java | 4 +- .../text/TextSenderFirstnameElement.java | 4 +- .../text/TextSenderInitialsElement.java | 4 +- .../text/TextSenderLastnameElement.java | 4 +- .../text/TextSenderPhonePrivateElement.java | 4 +- .../text/TextSenderPhoneWorkElement.java | 4 +- .../text/TextSenderPositionElement.java | 4 +- .../text/TextSenderPostalCodeElement.java | 4 +- .../TextSenderStateOrProvinceElement.java | 4 +- .../element/text/TextSenderStreetElement.java | 4 +- .../element/text/TextSenderTitleElement.java | 4 +- .../element/text/TextSequenceDeclElement.java | 4 +- .../dom/element/text/TextSequenceElement.java | 4 +- .../dom/element/text/TextSortKeyElement.java | 4 +- .../dom/element/text/TextSubjectElement.java | 4 +- .../dom/element/text/TextTabElement.java | 4 +- .../element/text/TextTableCountElement.java | 4 +- .../element/text/TextTableIndexElement.java | 4 +- .../text/TextTableIndexSourceElement.java | 8 +- .../text/TextTableOfContentElement.java | 4 +- ...extTableOfContentEntryTemplateElement.java | 4 +- .../text/TextTableOfContentSourceElement.java | 20 +- .../dom/element/text/TextTimeElement.java | 4 +- .../dom/element/text/TextTitleElement.java | 4 +- .../dom/element/text/TextTocMarkElement.java | 4 +- .../element/text/TextTocMarkStartElement.java | 4 +- .../text/TextTrackedChangesElement.java | 4 +- .../element/text/TextUserDefinedElement.java | 12 +- .../text/TextUserFieldDeclElement.java | 8 +- .../element/text/TextUserIndexElement.java | 4 +- .../TextUserIndexEntryTemplateElement.java | 4 +- .../text/TextUserIndexMarkElement.java | 4 +- .../text/TextUserIndexMarkStartElement.java | 4 +- .../text/TextUserIndexSourceElement.java | 32 +-- .../element/text/TextVariableSetElement.java | 8 +- .../element/text/TextWordCountElement.java | 4 +- .../element/anim/AnimAnimateColorElement.java | 4 +- .../dom/element/anim/AnimAnimateElement.java | 4 +- .../anim/AnimAnimateMotionElement.java | 4 +- .../anim/AnimAnimateTransformElement.java | 4 +- .../dom/element/anim/AnimAudioElement.java | 4 +- .../dom/element/anim/AnimIterateElement.java | 4 +- .../dom/element/anim/AnimParElement.java | 4 +- .../dom/element/anim/AnimSeqElement.java | 4 +- .../dom/element/anim/AnimSetElement.java | 4 +- .../anim/AnimTransitionFilterElement.java | 4 +- .../element/chart/ChartDataPointElement.java | 4 +- .../element/chart/ChartEquationElement.java | 12 +- .../dom/element/chart/ChartLegendElement.java | 4 +- .../element/chart/ChartPlotAreaElement.java | 4 +- ...bApplicationConnectionSettingsElement.java | 28 +-- .../element/db/DbColumnDefinitionElement.java | 24 +-- .../dom/element/db/DbColumnElement.java | 12 +- .../dom/element/db/DbComponentElement.java | 4 +- .../db/DbDataSourceSettingElement.java | 4 +- .../element/db/DbDriverSettingsElement.java | 12 +- .../element/db/DbFilterStatementElement.java | 4 +- .../dom/element/db/DbIndexColumnElement.java | 4 +- .../odfdom/dom/element/db/DbIndexElement.java | 8 +- .../odfdom/dom/element/db/DbLoginElement.java | 12 +- .../element/db/DbOrderStatementElement.java | 4 +- .../odfdom/dom/element/db/DbQueryElement.java | 4 +- .../element/db/DbServerDatabaseElement.java | 4 +- .../dom/element/db/DbTableSettingElement.java | 8 +- .../dom/element/dr3d/Dr3dCubeElement.java | 4 +- .../dom/element/dr3d/Dr3dExtrudeElement.java | 8 +- .../dom/element/dr3d/Dr3dLightElement.java | 8 +- .../dom/element/dr3d/Dr3dRotateElement.java | 8 +- .../dom/element/dr3d/Dr3dSceneElement.java | 20 +- .../dom/element/dr3d/Dr3dSphereElement.java | 4 +- .../odfdom/dom/element/draw/DrawAElement.java | 4 +- .../dom/element/draw/DrawAppletElement.java | 4 +- .../element/draw/DrawAreaPolygonElement.java | 4 +- .../dom/element/draw/DrawCaptionElement.java | 4 +- .../dom/element/draw/DrawCircleElement.java | 4 +- .../element/draw/DrawConnectorElement.java | 16 +- .../element/draw/DrawContourPathElement.java | 8 +- .../draw/DrawContourPolygonElement.java | 8 +- .../dom/element/draw/DrawControlElement.java | 4 +- .../element/draw/DrawCustomShapeElement.java | 4 +- .../dom/element/draw/DrawEllipseElement.java | 4 +- .../draw/DrawEnhancedGeometryElement.java | 72 +++---- .../dom/element/draw/DrawFrameElement.java | 12 +- .../odfdom/dom/element/draw/DrawGElement.java | 4 +- .../element/draw/DrawGluePointElement.java | 4 +- .../dom/element/draw/DrawHandleElement.java | 12 +- .../dom/element/draw/DrawLayerElement.java | 4 +- .../dom/element/draw/DrawLineElement.java | 4 +- .../dom/element/draw/DrawMarkerElement.java | 4 +- .../dom/element/draw/DrawMeasureElement.java | 4 +- .../draw/DrawPageThumbnailElement.java | 12 +- .../dom/element/draw/DrawPathElement.java | 8 +- .../dom/element/draw/DrawPolygonElement.java | 8 +- .../dom/element/draw/DrawPolylineElement.java | 8 +- .../dom/element/draw/DrawRectElement.java | 4 +- .../draw/DrawRegularPolygonElement.java | 12 +- .../element/draw/DrawShapeElementBase.java | 12 +- .../element/draw/DrawStrokeDashElement.java | 8 +- .../dom/element/form/FormButtonElement.java | 32 +-- .../dom/element/form/FormCheckboxElement.java | 20 +- .../dom/element/form/FormComboboxElement.java | 40 ++-- .../dom/element/form/FormDateElement.java | 36 ++-- .../dom/element/form/FormFileElement.java | 24 +-- .../element/form/FormFixedTextElement.java | 12 +- .../dom/element/form/FormFormElement.java | 24 +-- .../form/FormFormattedTextElement.java | 40 ++-- .../dom/element/form/FormFrameElement.java | 8 +- .../dom/element/form/FormGridElement.java | 16 +- .../dom/element/form/FormImageElement.java | 16 +- .../element/form/FormImageFrameElement.java | 12 +- .../element/form/FormListValueElement.java | 8 +- .../dom/element/form/FormListboxElement.java | 28 +-- .../dom/element/form/FormNumberElement.java | 52 ++--- .../dom/element/form/FormOptionElement.java | 8 +- .../dom/element/form/FormPasswordElement.java | 24 +-- .../dom/element/form/FormPropertyElement.java | 8 +- .../dom/element/form/FormRadioElement.java | 24 +-- .../dom/element/form/FormTextElement.java | 28 +-- .../dom/element/form/FormTextareaElement.java | 28 +-- .../dom/element/form/FormTimeElement.java | 36 ++-- .../element/form/FormValueRangeElement.java | 36 ++-- .../meta/MetaDocumentStatisticElement.java | 60 +++--- .../number/NumberCurrencyStyleElement.java | 4 +- .../number/NumberDataStyleElementBase.java | 4 +- .../number/NumberDateStyleElement.java | 4 +- .../number/NumberEmbeddedTextElement.java | 4 +- .../element/number/NumberFractionElement.java | 24 +-- .../element/number/NumberMonthElement.java | 8 +- .../element/number/NumberNumberElement.java | 20 +- .../number/NumberScientificNumberElement.java | 28 +-- .../element/number/NumberSecondsElement.java | 4 +- .../number/NumberTimeStyleElement.java | 4 +- .../office/OfficeAnnotationElement.java | 4 +- .../office/OfficeDdeSourceElement.java | 4 +- .../element/office/OfficeFormsElement.java | 8 +- .../office/OfficeSpreadsheetElement.java | 4 +- .../dom/element/office/OfficeTextElement.java | 8 +- .../PresentationEventListenerElement.java | 4 +- .../PresentationSettingsElement.java | 36 ++-- .../PresentationSoundElement.java | 4 +- .../style/StyleChartPropertiesElement.java | 204 +++++++++--------- .../element/style/StyleColumnsElement.java | 4 +- .../StyleDrawingPagePropertiesElement.java | 32 +-- .../element/style/StyleDropCapElement.java | 8 +- .../element/style/StyleFontFaceElement.java | 92 ++++---- .../dom/element/style/StyleFooterElement.java | 4 +- .../style/StyleFooterFirstElement.java | 4 +- .../element/style/StyleFooterLeftElement.java | 4 +- .../style/StyleGraphicPropertiesElement.java | 120 +++++------ .../dom/element/style/StyleHeaderElement.java | 4 +- .../style/StyleHeaderFirstElement.java | 4 +- .../StyleHeaderFooterPropertiesElement.java | 4 +- .../element/style/StyleHeaderLeftElement.java | 4 +- .../StylePageLayoutPropertiesElement.java | 44 ++-- .../StyleParagraphPropertiesElement.java | 56 ++--- .../style/StyleSectionPropertiesElement.java | 12 +- .../dom/element/style/StyleStyleElement.java | 12 +- .../StyleTableCellPropertiesElement.java | 16 +- .../StyleTableColumnPropertiesElement.java | 4 +- .../style/StyleTablePropertiesElement.java | 12 +- .../style/StyleTableRowPropertiesElement.java | 4 +- .../style/StyleTextPropertiesElement.java | 28 +-- .../dom/element/svg/SvgStopElement.java | 4 +- .../TableCalculationSettingsElement.java | 28 +-- .../table/TableCellAddressElement.java | 12 +- .../table/TableCellRangeSourceElement.java | 8 +- .../TableChangeTrackTableCellElement.java | 20 +- .../table/TableConsolidationElement.java | 4 +- .../table/TableContentValidationElement.java | 4 +- .../TableDataPilotDisplayInfoElement.java | 8 +- .../table/TableDataPilotFieldElement.java | 4 +- .../table/TableDataPilotGroupsElement.java | 12 +- .../TableDataPilotLayoutInfoElement.java | 4 +- .../table/TableDataPilotLevelElement.java | 4 +- .../table/TableDataPilotMemberElement.java | 8 +- .../table/TableDataPilotTableElement.java | 16 +- .../table/TableDatabaseRangeElement.java | 28 +-- .../table/TableDatabaseSourceSqlElement.java | 4 +- .../element/table/TableDeletionElement.java | 12 +- .../element/table/TableErrorMacroElement.java | 4 +- .../table/TableErrorMessageElement.java | 4 +- .../table/TableFilterConditionElement.java | 4 +- .../dom/element/table/TableFilterElement.java | 4 +- .../table/TableHelpMessageElement.java | 4 +- .../table/TableHighlightedRangeElement.java | 8 +- .../table/TableInsertionCutOffElement.java | 4 +- .../element/table/TableInsertionElement.java | 12 +- .../element/table/TableIterationElement.java | 8 +- .../table/TableMovementCutOffElement.java | 12 +- .../element/table/TableOperationElement.java | 4 +- .../element/table/TableScenarioElement.java | 24 +-- .../dom/element/table/TableSortByElement.java | 4 +- .../dom/element/table/TableSortElement.java | 8 +- .../table/TableSourceRangeAddressElement.java | 36 ++-- .../table/TableSubtotalFieldElement.java | 4 +- .../table/TableSubtotalRuleElement.java | 4 +- .../table/TableSubtotalRulesElement.java | 12 +- .../element/table/TableTableCellElement.java | 16 +- .../table/TableTableCellElementBase.java | 20 +- .../table/TableTableColumnElement.java | 4 +- .../table/TableTableColumnGroupElement.java | 4 +- .../dom/element/table/TableTableElement.java | 36 ++-- .../element/table/TableTableRowElement.java | 4 +- .../table/TableTableRowGroupElement.java | 4 +- .../table/TableTargetRangeAddressElement.java | 36 ++-- .../table/TableTrackedChangesElement.java | 4 +- .../text/TextAlphabeticalIndexElement.java | 4 +- .../TextAlphabeticalIndexMarkElement.java | 4 +- ...TextAlphabeticalIndexMarkStartElement.java | 4 +- .../TextAlphabeticalIndexSourceElement.java | 40 ++-- .../text/TextAuthorInitialsElement.java | 4 +- .../element/text/TextAuthorNameElement.java | 4 +- .../TextBibliographyConfigurationElement.java | 8 +- .../element/text/TextBibliographyElement.java | 4 +- .../dom/element/text/TextChapterElement.java | 4 +- .../text/TextCharacterCountElement.java | 4 +- .../text/TextConditionalTextElement.java | 4 +- .../element/text/TextCreationDateElement.java | 4 +- .../element/text/TextCreationTimeElement.java | 4 +- .../dom/element/text/TextCreatorElement.java | 4 +- .../text/TextDatabaseRowNumberElement.java | 8 +- .../text/TextDatabaseRowSelectElement.java | 4 +- .../dom/element/text/TextDateElement.java | 4 +- .../text/TextDdeConnectionDeclElement.java | 4 +- .../element/text/TextDescriptionElement.java | 4 +- .../text/TextEditingCyclesElement.java | 4 +- .../text/TextEditingDurationElement.java | 4 +- .../element/text/TextExpressionElement.java | 8 +- .../dom/element/text/TextFileNameElement.java | 4 +- .../odfdom/dom/element/text/TextHElement.java | 16 +- .../text/TextHiddenParagraphElement.java | 4 +- .../element/text/TextHiddenTextElement.java | 4 +- .../text/TextIllustrationIndexElement.java | 4 +- .../TextIllustrationIndexSourceElement.java | 8 +- .../element/text/TextImageCountElement.java | 4 +- .../text/TextIndexEntryChapterElement.java | 4 +- .../text/TextIndexSourceStylesElement.java | 4 +- .../element/text/TextIndexTitleElement.java | 4 +- .../text/TextInitialCreatorElement.java | 4 +- .../dom/element/text/TextKeywordsElement.java | 4 +- .../dom/element/text/TextLabelElement.java | 4 +- ...TextLinenumberingConfigurationElement.java | 24 +-- .../TextLinenumberingSeparatorElement.java | 4 +- .../dom/element/text/TextListElement.java | 4 +- .../dom/element/text/TextListItemElement.java | 4 +- .../text/TextListLevelStyleElementBase.java | 4 +- .../text/TextListLevelStyleNumberElement.java | 12 +- .../element/text/TextListStyleElement.java | 4 +- .../text/TextModificationDateElement.java | 4 +- .../text/TextModificationTimeElement.java | 4 +- .../text/TextNotesConfigurationElement.java | 8 +- .../text/TextNumberedParagraphElement.java | 12 +- .../element/text/TextObjectCountElement.java | 4 +- .../element/text/TextObjectIndexElement.java | 4 +- .../text/TextObjectIndexSourceElement.java | 24 +-- .../text/TextOutlineLevelStyleElement.java | 16 +- .../element/text/TextPageCountElement.java | 4 +- .../element/text/TextPageNumberElement.java | 12 +- .../text/TextPageVariableGetElement.java | 4 +- .../text/TextPageVariableSetElement.java | 8 +- .../text/TextParagraphCountElement.java | 4 +- .../element/text/TextPrintDateElement.java | 4 +- .../element/text/TextPrintTimeElement.java | 4 +- .../element/text/TextPrintedByElement.java | 4 +- .../odfdom/dom/element/text/TextSElement.java | 4 +- .../dom/element/text/TextSectionElement.java | 4 +- .../element/text/TextSenderCityElement.java | 4 +- .../text/TextSenderCompanyElement.java | 4 +- .../text/TextSenderCountryElement.java | 4 +- .../element/text/TextSenderEmailElement.java | 4 +- .../element/text/TextSenderFaxElement.java | 4 +- .../text/TextSenderFirstnameElement.java | 4 +- .../text/TextSenderInitialsElement.java | 4 +- .../text/TextSenderLastnameElement.java | 4 +- .../text/TextSenderPhonePrivateElement.java | 4 +- .../text/TextSenderPhoneWorkElement.java | 4 +- .../text/TextSenderPositionElement.java | 4 +- .../text/TextSenderPostalCodeElement.java | 4 +- .../TextSenderStateOrProvinceElement.java | 4 +- .../element/text/TextSenderStreetElement.java | 4 +- .../element/text/TextSenderTitleElement.java | 4 +- .../element/text/TextSequenceDeclElement.java | 4 +- .../dom/element/text/TextSequenceElement.java | 4 +- .../dom/element/text/TextSortKeyElement.java | 4 +- .../dom/element/text/TextSubjectElement.java | 4 +- .../dom/element/text/TextTabElement.java | 4 +- .../element/text/TextTableCountElement.java | 4 +- .../element/text/TextTableIndexElement.java | 4 +- .../text/TextTableIndexSourceElement.java | 8 +- .../text/TextTableOfContentElement.java | 4 +- ...extTableOfContentEntryTemplateElement.java | 4 +- .../text/TextTableOfContentSourceElement.java | 20 +- .../dom/element/text/TextTimeElement.java | 4 +- .../dom/element/text/TextTitleElement.java | 4 +- .../dom/element/text/TextTocMarkElement.java | 4 +- .../element/text/TextTocMarkStartElement.java | 4 +- .../text/TextTrackedChangesElement.java | 4 +- .../element/text/TextUserDefinedElement.java | 12 +- .../text/TextUserFieldDeclElement.java | 8 +- .../element/text/TextUserIndexElement.java | 4 +- .../TextUserIndexEntryTemplateElement.java | 4 +- .../text/TextUserIndexMarkElement.java | 4 +- .../text/TextUserIndexMarkStartElement.java | 4 +- .../text/TextUserIndexSourceElement.java | 32 +-- .../element/text/TextVariableSetElement.java | 8 +- .../element/text/TextWordCountElement.java | 4 +- .../element/anim/AnimAnimateColorElement.java | 4 +- .../dom/element/anim/AnimAnimateElement.java | 4 +- .../anim/AnimAnimateMotionElement.java | 4 +- .../anim/AnimAnimateTransformElement.java | 4 +- .../dom/element/anim/AnimAudioElement.java | 4 +- .../dom/element/anim/AnimIterateElement.java | 4 +- .../dom/element/anim/AnimParElement.java | 4 +- .../dom/element/anim/AnimSeqElement.java | 4 +- .../dom/element/anim/AnimSetElement.java | 4 +- .../anim/AnimTransitionFilterElement.java | 4 +- .../element/chart/ChartDataPointElement.java | 4 +- .../element/chart/ChartEquationElement.java | 12 +- .../dom/element/chart/ChartLegendElement.java | 4 +- .../element/chart/ChartPlotAreaElement.java | 16 +- ...bApplicationConnectionSettingsElement.java | 28 +-- .../element/db/DbColumnDefinitionElement.java | 24 +-- .../dom/element/db/DbColumnElement.java | 12 +- .../dom/element/db/DbComponentElement.java | 4 +- .../db/DbDataSourceSettingElement.java | 4 +- .../element/db/DbDriverSettingsElement.java | 12 +- .../element/db/DbFilterStatementElement.java | 4 +- .../dom/element/db/DbIndexColumnElement.java | 4 +- .../odfdom/dom/element/db/DbIndexElement.java | 8 +- .../odfdom/dom/element/db/DbLoginElement.java | 12 +- .../element/db/DbOrderStatementElement.java | 4 +- .../odfdom/dom/element/db/DbQueryElement.java | 4 +- .../element/db/DbServerDatabaseElement.java | 4 +- .../dom/element/db/DbTableSettingElement.java | 8 +- .../dom/element/dr3d/Dr3dCubeElement.java | 4 +- .../dom/element/dr3d/Dr3dExtrudeElement.java | 8 +- .../dom/element/dr3d/Dr3dLightElement.java | 8 +- .../dom/element/dr3d/Dr3dRotateElement.java | 8 +- .../dom/element/dr3d/Dr3dSceneElement.java | 32 +-- .../dom/element/dr3d/Dr3dSphereElement.java | 4 +- .../odfdom/dom/element/draw/DrawAElement.java | 4 +- .../dom/element/draw/DrawAppletElement.java | 4 +- .../element/draw/DrawAreaPolygonElement.java | 4 +- .../dom/element/draw/DrawCaptionElement.java | 4 +- .../dom/element/draw/DrawCircleElement.java | 4 +- .../element/draw/DrawConnectorElement.java | 16 +- .../element/draw/DrawContourPathElement.java | 8 +- .../draw/DrawContourPolygonElement.java | 8 +- .../dom/element/draw/DrawControlElement.java | 4 +- .../element/draw/DrawCustomShapeElement.java | 4 +- .../dom/element/draw/DrawEllipseElement.java | 4 +- .../draw/DrawEnhancedGeometryElement.java | 72 +++---- .../dom/element/draw/DrawFrameElement.java | 12 +- .../odfdom/dom/element/draw/DrawGElement.java | 4 +- .../element/draw/DrawGluePointElement.java | 16 +- .../dom/element/draw/DrawHandleElement.java | 12 +- .../dom/element/draw/DrawLayerElement.java | 4 +- .../dom/element/draw/DrawLineElement.java | 4 +- .../dom/element/draw/DrawMarkerElement.java | 4 +- .../dom/element/draw/DrawMeasureElement.java | 4 +- .../draw/DrawPageThumbnailElement.java | 12 +- .../dom/element/draw/DrawPathElement.java | 8 +- .../dom/element/draw/DrawPolygonElement.java | 8 +- .../dom/element/draw/DrawPolylineElement.java | 8 +- .../dom/element/draw/DrawRectElement.java | 4 +- .../draw/DrawRegularPolygonElement.java | 12 +- .../element/draw/DrawShapeElementBase.java | 12 +- .../element/draw/DrawStrokeDashElement.java | 8 +- .../dom/element/form/FormButtonElement.java | 32 +-- .../dom/element/form/FormCheckboxElement.java | 20 +- .../dom/element/form/FormComboboxElement.java | 40 ++-- .../dom/element/form/FormDateElement.java | 36 ++-- .../dom/element/form/FormFileElement.java | 24 +-- .../element/form/FormFixedTextElement.java | 12 +- .../dom/element/form/FormFormElement.java | 24 +-- .../form/FormFormattedTextElement.java | 40 ++-- .../dom/element/form/FormFrameElement.java | 8 +- .../dom/element/form/FormGridElement.java | 16 +- .../dom/element/form/FormImageElement.java | 16 +- .../element/form/FormImageFrameElement.java | 12 +- .../element/form/FormListValueElement.java | 8 +- .../dom/element/form/FormListboxElement.java | 28 +-- .../dom/element/form/FormNumberElement.java | 92 ++++---- .../dom/element/form/FormOptionElement.java | 8 +- .../dom/element/form/FormPasswordElement.java | 24 +-- .../dom/element/form/FormPropertyElement.java | 8 +- .../dom/element/form/FormRadioElement.java | 24 +-- .../dom/element/form/FormTextElement.java | 28 +-- .../dom/element/form/FormTextareaElement.java | 28 +-- .../dom/element/form/FormTimeElement.java | 36 ++-- .../element/form/FormValueRangeElement.java | 60 +++--- .../meta/MetaDocumentStatisticElement.java | 60 +++--- .../number/NumberCurrencyStyleElement.java | 4 +- .../number/NumberDataStyleElementBase.java | 4 +- .../number/NumberDateStyleElement.java | 4 +- .../number/NumberEmbeddedTextElement.java | 4 +- .../element/number/NumberFractionElement.java | 24 +-- .../element/number/NumberMonthElement.java | 8 +- .../element/number/NumberNumberElement.java | 20 +- .../number/NumberScientificNumberElement.java | 28 +-- .../element/number/NumberSecondsElement.java | 4 +- .../number/NumberTimeStyleElement.java | 4 +- .../office/OfficeAnnotationElement.java | 4 +- .../office/OfficeDdeSourceElement.java | 4 +- .../element/office/OfficeFormsElement.java | 8 +- .../office/OfficeSpreadsheetElement.java | 4 +- .../dom/element/office/OfficeTextElement.java | 8 +- .../PresentationEventListenerElement.java | 4 +- .../PresentationSettingsElement.java | 36 ++-- .../PresentationSoundElement.java | 4 +- .../style/StyleChartPropertiesElement.java | 204 +++++++++--------- .../element/style/StyleColumnsElement.java | 4 +- .../StyleDrawingPagePropertiesElement.java | 32 +-- .../element/style/StyleDropCapElement.java | 8 +- .../element/style/StyleFontFaceElement.java | 92 ++++---- .../dom/element/style/StyleFooterElement.java | 4 +- .../style/StyleFooterFirstElement.java | 4 +- .../element/style/StyleFooterLeftElement.java | 4 +- .../style/StyleGraphicPropertiesElement.java | 120 +++++------ .../dom/element/style/StyleHeaderElement.java | 4 +- .../style/StyleHeaderFirstElement.java | 4 +- .../StyleHeaderFooterPropertiesElement.java | 4 +- .../element/style/StyleHeaderLeftElement.java | 4 +- .../StylePageLayoutPropertiesElement.java | 44 ++-- .../StyleParagraphPropertiesElement.java | 56 ++--- .../style/StyleSectionPropertiesElement.java | 24 +-- .../dom/element/style/StyleStyleElement.java | 12 +- .../StyleTableCellPropertiesElement.java | 16 +- .../StyleTableColumnPropertiesElement.java | 4 +- .../style/StyleTablePropertiesElement.java | 12 +- .../style/StyleTableRowPropertiesElement.java | 4 +- .../style/StyleTextPropertiesElement.java | 28 +-- .../dom/element/svg/SvgStopElement.java | 4 +- .../TableCalculationSettingsElement.java | 42 ++-- .../table/TableCellAddressElement.java | 12 +- .../table/TableCellRangeSourceElement.java | 8 +- .../TableChangeTrackTableCellElement.java | 20 +- .../table/TableConsolidationElement.java | 4 +- .../table/TableContentValidationElement.java | 4 +- .../TableDataPilotDisplayInfoElement.java | 8 +- .../table/TableDataPilotFieldElement.java | 4 +- .../table/TableDataPilotGroupsElement.java | 12 +- .../TableDataPilotLayoutInfoElement.java | 4 +- .../table/TableDataPilotLevelElement.java | 4 +- .../table/TableDataPilotMemberElement.java | 8 +- .../table/TableDataPilotTableElement.java | 16 +- .../table/TableDatabaseRangeElement.java | 40 ++-- .../table/TableDatabaseSourceSqlElement.java | 4 +- .../element/table/TableDeletionElement.java | 12 +- .../element/table/TableErrorMacroElement.java | 4 +- .../table/TableErrorMessageElement.java | 4 +- .../table/TableFilterConditionElement.java | 4 +- .../dom/element/table/TableFilterElement.java | 4 +- .../table/TableHelpMessageElement.java | 4 +- .../table/TableHighlightedRangeElement.java | 8 +- .../table/TableInsertionCutOffElement.java | 4 +- .../element/table/TableInsertionElement.java | 12 +- .../element/table/TableIterationElement.java | 8 +- .../table/TableMovementCutOffElement.java | 12 +- .../element/table/TableOperationElement.java | 4 +- .../element/table/TableScenarioElement.java | 24 +-- .../dom/element/table/TableSortByElement.java | 4 +- .../dom/element/table/TableSortElement.java | 22 +- .../table/TableSourceRangeAddressElement.java | 36 ++-- .../table/TableSubtotalFieldElement.java | 4 +- .../table/TableSubtotalRuleElement.java | 4 +- .../table/TableSubtotalRulesElement.java | 26 +-- .../element/table/TableTableCellElement.java | 16 +- .../table/TableTableCellElementBase.java | 20 +- .../table/TableTableColumnElement.java | 4 +- .../table/TableTableColumnGroupElement.java | 4 +- .../dom/element/table/TableTableElement.java | 36 ++-- .../element/table/TableTableRowElement.java | 4 +- .../table/TableTableRowGroupElement.java | 4 +- .../table/TableTargetRangeAddressElement.java | 36 ++-- .../table/TableTrackedChangesElement.java | 4 +- .../text/TextAlphabeticalIndexElement.java | 4 +- ...AlphabeticalIndexEntryTemplateElement.java | 16 +- .../TextAlphabeticalIndexMarkElement.java | 4 +- ...TextAlphabeticalIndexMarkStartElement.java | 4 +- .../TextAlphabeticalIndexSourceElement.java | 40 ++-- .../text/TextAuthorInitialsElement.java | 4 +- .../element/text/TextAuthorNameElement.java | 4 +- .../TextBibliographyConfigurationElement.java | 8 +- .../element/text/TextBibliographyElement.java | 4 +- .../dom/element/text/TextChapterElement.java | 4 +- .../text/TextCharacterCountElement.java | 4 +- .../text/TextConditionalTextElement.java | 4 +- .../element/text/TextCreationDateElement.java | 4 +- .../element/text/TextCreationTimeElement.java | 4 +- .../dom/element/text/TextCreatorElement.java | 4 +- .../text/TextDatabaseRowNumberElement.java | 20 +- .../text/TextDatabaseRowSelectElement.java | 4 +- .../dom/element/text/TextDateElement.java | 4 +- .../text/TextDdeConnectionDeclElement.java | 4 +- .../element/text/TextDescriptionElement.java | 4 +- .../text/TextEditingCyclesElement.java | 4 +- .../text/TextEditingDurationElement.java | 4 +- .../element/text/TextExpressionElement.java | 8 +- .../dom/element/text/TextFileNameElement.java | 4 +- .../odfdom/dom/element/text/TextHElement.java | 16 +- .../text/TextHiddenParagraphElement.java | 4 +- .../element/text/TextHiddenTextElement.java | 4 +- .../text/TextIllustrationIndexElement.java | 4 +- .../TextIllustrationIndexSourceElement.java | 8 +- .../element/text/TextImageCountElement.java | 4 +- .../text/TextIndexEntryChapterElement.java | 4 +- .../text/TextIndexSourceStylesElement.java | 4 +- .../element/text/TextIndexTitleElement.java | 4 +- .../text/TextInitialCreatorElement.java | 4 +- .../dom/element/text/TextKeywordsElement.java | 4 +- .../dom/element/text/TextLabelElement.java | 4 +- ...TextLinenumberingConfigurationElement.java | 24 +-- .../TextLinenumberingSeparatorElement.java | 4 +- .../dom/element/text/TextListElement.java | 4 +- .../dom/element/text/TextListItemElement.java | 4 +- .../text/TextListLevelStyleElementBase.java | 4 +- .../text/TextListLevelStyleNumberElement.java | 12 +- .../element/text/TextListStyleElement.java | 4 +- .../text/TextModificationDateElement.java | 4 +- .../text/TextModificationTimeElement.java | 4 +- .../text/TextNotesConfigurationElement.java | 8 +- .../text/TextNumberedParagraphElement.java | 12 +- .../element/text/TextObjectCountElement.java | 4 +- .../element/text/TextObjectIndexElement.java | 4 +- .../text/TextObjectIndexSourceElement.java | 24 +-- .../text/TextOutlineLevelStyleElement.java | 16 +- .../element/text/TextPageCountElement.java | 4 +- .../element/text/TextPageNumberElement.java | 12 +- .../text/TextPageVariableGetElement.java | 4 +- .../text/TextPageVariableSetElement.java | 8 +- .../text/TextParagraphCountElement.java | 4 +- .../element/text/TextPrintDateElement.java | 4 +- .../element/text/TextPrintTimeElement.java | 4 +- .../element/text/TextPrintedByElement.java | 4 +- .../odfdom/dom/element/text/TextSElement.java | 4 +- .../dom/element/text/TextSectionElement.java | 4 +- .../element/text/TextSenderCityElement.java | 4 +- .../text/TextSenderCompanyElement.java | 4 +- .../text/TextSenderCountryElement.java | 4 +- .../element/text/TextSenderEmailElement.java | 4 +- .../element/text/TextSenderFaxElement.java | 4 +- .../text/TextSenderFirstnameElement.java | 4 +- .../text/TextSenderInitialsElement.java | 4 +- .../text/TextSenderLastnameElement.java | 4 +- .../text/TextSenderPhonePrivateElement.java | 4 +- .../text/TextSenderPhoneWorkElement.java | 4 +- .../text/TextSenderPositionElement.java | 4 +- .../text/TextSenderPostalCodeElement.java | 4 +- .../TextSenderStateOrProvinceElement.java | 4 +- .../element/text/TextSenderStreetElement.java | 4 +- .../element/text/TextSenderTitleElement.java | 4 +- .../element/text/TextSequenceDeclElement.java | 4 +- .../dom/element/text/TextSequenceElement.java | 4 +- .../dom/element/text/TextSortKeyElement.java | 4 +- .../dom/element/text/TextSubjectElement.java | 4 +- .../dom/element/text/TextTabElement.java | 4 +- .../element/text/TextTableCountElement.java | 4 +- .../element/text/TextTableIndexElement.java | 4 +- .../text/TextTableIndexSourceElement.java | 8 +- .../text/TextTableOfContentElement.java | 4 +- ...extTableOfContentEntryTemplateElement.java | 4 +- .../text/TextTableOfContentSourceElement.java | 20 +- .../dom/element/text/TextTimeElement.java | 4 +- .../dom/element/text/TextTitleElement.java | 4 +- .../dom/element/text/TextTocMarkElement.java | 4 +- .../element/text/TextTocMarkStartElement.java | 4 +- .../text/TextTrackedChangesElement.java | 4 +- .../element/text/TextUserDefinedElement.java | 12 +- .../text/TextUserFieldDeclElement.java | 8 +- .../element/text/TextUserIndexElement.java | 4 +- .../TextUserIndexEntryTemplateElement.java | 4 +- .../text/TextUserIndexMarkElement.java | 4 +- .../text/TextUserIndexMarkStartElement.java | 4 +- .../text/TextUserIndexSourceElement.java | 32 +-- .../element/text/TextVariableSetElement.java | 8 +- .../element/text/TextWordCountElement.java | 4 +- 1287 files changed, 6968 insertions(+), 6975 deletions(-) diff --git a/generator/schema2template/src/main/java/schema2template/grammar/XMLModel.java b/generator/schema2template/src/main/java/schema2template/grammar/XMLModel.java index d06b32e7e7..7c85a39b74 100644 --- a/generator/schema2template/src/main/java/schema2template/grammar/XMLModel.java +++ b/generator/schema2template/src/main/java/schema2template/grammar/XMLModel.java @@ -367,30 +367,34 @@ public String getAttributeDataType(String qName, String qParentName) { System.err.println(dataTypesIter.next().toString()); } } else { // @draw:concave just uses 'false' and 'true' without datatype - /** As there are sometimes multiple times definitions of the same attribute for an element - * for an example https://docs.oasis-open.org/office/OpenDocument/v1.3/os/schemas/OpenDocument-v1.3-schema-rng.html#13591 - * which was taken as boolean, all attributes definitions of all elements of the same name are now takin into account! - * BETTER FOR THE FUTURE: If the attribute definitons only for a certain element would be taken into account, e.g. - * https://docs.oasis-open.org/office/OpenDocument/v1.3/os/schemas/OpenDocument-v1.3-schema-rng.html#6508 - */ - PuzzleComponent elements = getElement(qParentName); - List attributeValues = null; - if(elements != null && elements.getCollection().size() > 0){ - attributeValues = new ArrayList(); - } - for(PuzzlePiece ppElement : elements.getCollection()){ - PuzzlePieceSet attributes = ppElement.getAttributes(); - for(PuzzlePiece ppAttribute : attributes.getCollection()){ - if(ppAttribute.getQName().equals(qName)){ - for(PuzzlePiece ppValue : ppAttribute.getValues().getCollection()){ - // strange that the value has a localName (but the puzzlePiece abstraction should be overworked anyway) - attributeValues.add(ppValue.getLocalName()); - } - } + /** + * As there are sometimes multiple times definitions of the same attribute for an element for + * an example + * https://docs.oasis-open.org/office/OpenDocument/v1.3/os/schemas/OpenDocument-v1.3-schema-rng.html#13591 + * which was taken as boolean, all attributes definitions of all elements of the same name are + * now takin into account! BETTER FOR THE FUTURE: If the attribute definitons only for a + * certain element would be taken into account, e.g. + * https://docs.oasis-open.org/office/OpenDocument/v1.3/os/schemas/OpenDocument-v1.3-schema-rng.html#6508 + */ + PuzzleComponent elements = getElement(qParentName); + List attributeValues = null; + if (elements != null && elements.getCollection().size() > 0) { + attributeValues = new ArrayList(); + } + for (PuzzlePiece ppElement : elements.getCollection()) { + PuzzlePieceSet attributes = ppElement.getAttributes(); + for (PuzzlePiece ppAttribute : attributes.getCollection()) { + if (ppAttribute.getQName().equals(qName)) { + for (PuzzlePiece ppValue : ppAttribute.getValues().getCollection()) { + // strange that the value has a localName (but the puzzlePiece abstraction should be + // overworked anyway) + attributeValues.add(ppValue.getLocalName()); } - } - - for (String value : attributeValues) { + } + } + } + + for (String value : attributeValues) { if (value.equals("true") || value.equals("false")) { isBoolean = Boolean.TRUE; } else { diff --git a/generator/schema2template/src/test/java/schema2template/grammar/GenerationOdfdomJavaTest.java b/generator/schema2template/src/test/java/schema2template/grammar/GenerationOdfdomJavaTest.java index 6af9c9d7e1..8e2f4aa5da 100644 --- a/generator/schema2template/src/test/java/schema2template/grammar/GenerationOdfdomJavaTest.java +++ b/generator/schema2template/src/test/java/schema2template/grammar/GenerationOdfdomJavaTest.java @@ -22,13 +22,10 @@ package schema2template.grammar; import java.io.File; -import java.io.IOException; import java.util.ArrayList; import java.util.logging.Logger; -import javax.xml.parsers.ParserConfigurationException; import org.junit.Assert; import org.junit.Test; -import org.xml.sax.SAXException; import schema2template.GenerationParameters; import schema2template.SchemaToTemplate; diff --git a/generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/template/java-odfdom-element-template.vm b/generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/template/java-odfdom-element-template.vm index dd62e7b8f6..601f2f78b7 100644 --- a/generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/template/java-odfdom-element-template.vm +++ b/generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/template/java-odfdom-element-template.vm @@ -333,11 +333,7 @@ public ${abstract}class $className extends $superClassName { #else if (attr != null) { #end -#if ($simpleValue!="") - return ${valueObject}.valueOf(attr.${simpleValue}Value()); -#else return ${valueObject}.valueOf(attr.getValue()); -#end } #if ($odfModel.getDefaultAttributeValue($attribute, $element)) #set ($defaultValue = ${xmlModel.escapeLiteral($odfModel.getDefaultAttributeValue($attribute, $element))}) @@ -372,7 +368,7 @@ public ${abstract}class $className extends $superClassName { #if ($valueObject == "String") attr.setValue($aParam); #else - attr.set${xmlModel.camelCase($simpleValue)}Value(${aParam}.${simpleValue}Value()); + attr.setValue(${aParam}.toString()); #end } #end @@ -404,8 +400,8 @@ public ${abstract}class $className extends $superClassName { #set ($params="") #foreach ($ch_attr in $ch_attributes) #if (${child.isMandatory($ch_attr)}) -#set($ch_attri = ${xmlModel.getAttribute($ch_attr.getQName())}) -#set ($ch_ValueObject = "String") +#set($ch_attri = ${xmlModel.getAttribute($ch_attr.getQName(), $ch.getQName())}) +#set($ch_ValueObject = ${xmlModel.getAttributeDataType($ch_attr.getQName(), $ch.getQName())}) #set ($ch_SimpleValue = "") #set ($ch_DataTypes = ${ch_attri.getDatatypes().withoutMultiples()}) #set ($ch_ValueTypes = ${codeModel.getValuetypes($ch_DataTypes)}) diff --git a/generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/template/java-odfdom-elementbase-template.vm b/generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/template/java-odfdom-elementbase-template.vm index b0b4e029f6..f7b5a19499 100644 --- a/generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/template/java-odfdom-elementbase-template.vm +++ b/generator/schema2template/src/test/resources/test-input/odf/generation/odfdom-java/dom/template/java-odfdom-elementbase-template.vm @@ -246,11 +246,7 @@ public abstract class $className extends $superClassName { #else if (attr != null) { #end -#if ($simpleValue!="") - return ${valueObject}.valueOf(attr.${simpleValue}Value()); -#else return ${valueObject}.valueOf(attr.getValue()); -#end } #if ($odfModel.getDefaultAttributeValue($attr, $base)) #set ($defaultValue = ${xmlModel.escapeLiteral($odfModel.getDefaultAttributeValue($attr, $base))}) @@ -285,7 +281,7 @@ public abstract class $className extends $superClassName { #if ($valueObject == "String") attr.setValue($aParam); #else - attr.set${xmlModel.camelCase($simpleValue)}Value(${aParam}.${simpleValue}Value()); + attr.setValue(${aParam}.toString()); #end } #end @@ -317,8 +313,8 @@ public abstract class $className extends $superClassName { #set ($params="") #foreach ($ch_attr in $ch_attributes) #if (${child.isMandatory($ch_attr)}) -#set($ch_attri = ${xmlModel.getAttribute($ch_attr.getQName())}) -#set ($ch_ValueObject = "String") +#set($ch_attri = ${xmlModel.getAttribute($ch_attr.getQName(), $ch.getQName())}) +#set($ch_ValueObject = ${xmlModel.getAttributeDataType($ch_attr.getQName(), $ch.getQName())}) #set ($ch_SimpleValue = "") #set ($ch_DataTypes = ${ch_attri.getDatatypes().withoutMultiples()}) #set ($ch_ValueTypes = ${codeModel.getValuetypes($ch_DataTypes)}) diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateElement.java index 26d6ad31e9..bdc1f8c325 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateElement.java @@ -349,7 +349,7 @@ public void setSmilKeyTimesAttribute(String smilKeyTimesValue) { public Integer getSmilRepeatCountAttribute() { SmilRepeatCountAttribute attr = (SmilRepeatCountAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "repeatCount"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -362,7 +362,7 @@ public Integer getSmilRepeatCountAttribute() { public void setSmilRepeatCountAttribute(Integer smilRepeatCountValue) { SmilRepeatCountAttribute attr = new SmilRepeatCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(smilRepeatCountValue.intValue()); + attr.setValue(smilRepeatCountValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/anim/AnimAudioElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/anim/AnimAudioElement.java index b0effaa117..cb42a50f0c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/anim/AnimAudioElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/anim/AnimAudioElement.java @@ -81,7 +81,7 @@ public OdfName getOdfName() { public Double getAnimAudioLevelAttribute() { AnimAudioLevelAttribute attr = (AnimAudioLevelAttribute) getOdfAttribute(OdfDocumentNamespace.ANIM, "audio-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -94,7 +94,7 @@ public Double getAnimAudioLevelAttribute() { public void setAnimAudioLevelAttribute(Double animAudioLevelValue) { AnimAudioLevelAttribute attr = new AnimAudioLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(animAudioLevelValue.doubleValue()); + attr.setValue(animAudioLevelValue.toString()); } /** @@ -345,7 +345,7 @@ public void setSmilEndAttribute(String smilEndValue) { public Integer getSmilRepeatCountAttribute() { SmilRepeatCountAttribute attr = (SmilRepeatCountAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "repeatCount"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -358,7 +358,7 @@ public Integer getSmilRepeatCountAttribute() { public void setSmilRepeatCountAttribute(Integer smilRepeatCountValue) { SmilRepeatCountAttribute attr = new SmilRepeatCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(smilRepeatCountValue.intValue()); + attr.setValue(smilRepeatCountValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/anim/AnimIterateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/anim/AnimIterateElement.java index 189c9427c1..aea956624d 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/anim/AnimIterateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/anim/AnimIterateElement.java @@ -306,7 +306,7 @@ public void setPresentationPresetSubTypeAttribute(String presentationPresetSubTy public Double getSmilAccelerateAttribute() { SmilAccelerateAttribute attr = (SmilAccelerateAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "accelerate"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(SmilAccelerateAttribute.DEFAULT_VALUE); } @@ -319,7 +319,7 @@ public Double getSmilAccelerateAttribute() { public void setSmilAccelerateAttribute(Double smilAccelerateValue) { SmilAccelerateAttribute attr = new SmilAccelerateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(smilAccelerateValue.doubleValue()); + attr.setValue(smilAccelerateValue.toString()); } /** @@ -330,7 +330,7 @@ public void setSmilAccelerateAttribute(Double smilAccelerateValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -343,7 +343,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** @@ -378,7 +378,7 @@ public void setSmilBeginAttribute(String smilBeginValue) { public Double getSmilDecelerateAttribute() { SmilDecelerateAttribute attr = (SmilDecelerateAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "decelerate"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(SmilDecelerateAttribute.DEFAULT_VALUE); } @@ -391,7 +391,7 @@ public Double getSmilDecelerateAttribute() { public void setSmilDecelerateAttribute(Double smilDecelerateValue) { SmilDecelerateAttribute attr = new SmilDecelerateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(smilDecelerateValue.doubleValue()); + attr.setValue(smilDecelerateValue.toString()); } /** @@ -522,7 +522,7 @@ public void setSmilFillDefaultAttribute(String smilFillDefaultValue) { public Integer getSmilRepeatCountAttribute() { SmilRepeatCountAttribute attr = (SmilRepeatCountAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "repeatCount"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -535,7 +535,7 @@ public Integer getSmilRepeatCountAttribute() { public void setSmilRepeatCountAttribute(Integer smilRepeatCountValue) { SmilRepeatCountAttribute attr = new SmilRepeatCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(smilRepeatCountValue.intValue()); + attr.setValue(smilRepeatCountValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/anim/AnimParElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/anim/AnimParElement.java index e6e02c9581..d041a710df 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/anim/AnimParElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/anim/AnimParElement.java @@ -255,7 +255,7 @@ public void setPresentationPresetSubTypeAttribute(String presentationPresetSubTy public Double getSmilAccelerateAttribute() { SmilAccelerateAttribute attr = (SmilAccelerateAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "accelerate"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(SmilAccelerateAttribute.DEFAULT_VALUE); } @@ -268,7 +268,7 @@ public Double getSmilAccelerateAttribute() { public void setSmilAccelerateAttribute(Double smilAccelerateValue) { SmilAccelerateAttribute attr = new SmilAccelerateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(smilAccelerateValue.doubleValue()); + attr.setValue(smilAccelerateValue.toString()); } /** @@ -279,7 +279,7 @@ public void setSmilAccelerateAttribute(Double smilAccelerateValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -292,7 +292,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** @@ -327,7 +327,7 @@ public void setSmilBeginAttribute(String smilBeginValue) { public Double getSmilDecelerateAttribute() { SmilDecelerateAttribute attr = (SmilDecelerateAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "decelerate"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(SmilDecelerateAttribute.DEFAULT_VALUE); } @@ -340,7 +340,7 @@ public Double getSmilDecelerateAttribute() { public void setSmilDecelerateAttribute(Double smilDecelerateValue) { SmilDecelerateAttribute attr = new SmilDecelerateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(smilDecelerateValue.doubleValue()); + attr.setValue(smilDecelerateValue.toString()); } /** @@ -471,7 +471,7 @@ public void setSmilFillDefaultAttribute(String smilFillDefaultValue) { public Integer getSmilRepeatCountAttribute() { SmilRepeatCountAttribute attr = (SmilRepeatCountAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "repeatCount"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -484,7 +484,7 @@ public Integer getSmilRepeatCountAttribute() { public void setSmilRepeatCountAttribute(Integer smilRepeatCountValue) { SmilRepeatCountAttribute attr = new SmilRepeatCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(smilRepeatCountValue.intValue()); + attr.setValue(smilRepeatCountValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/anim/AnimSeqElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/anim/AnimSeqElement.java index ffa4076904..b965a75163 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/anim/AnimSeqElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/anim/AnimSeqElement.java @@ -255,7 +255,7 @@ public void setPresentationPresetSubTypeAttribute(String presentationPresetSubTy public Double getSmilAccelerateAttribute() { SmilAccelerateAttribute attr = (SmilAccelerateAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "accelerate"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(SmilAccelerateAttribute.DEFAULT_VALUE); } @@ -268,7 +268,7 @@ public Double getSmilAccelerateAttribute() { public void setSmilAccelerateAttribute(Double smilAccelerateValue) { SmilAccelerateAttribute attr = new SmilAccelerateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(smilAccelerateValue.doubleValue()); + attr.setValue(smilAccelerateValue.toString()); } /** @@ -279,7 +279,7 @@ public void setSmilAccelerateAttribute(Double smilAccelerateValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -292,7 +292,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** @@ -327,7 +327,7 @@ public void setSmilBeginAttribute(String smilBeginValue) { public Double getSmilDecelerateAttribute() { SmilDecelerateAttribute attr = (SmilDecelerateAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "decelerate"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(SmilDecelerateAttribute.DEFAULT_VALUE); } @@ -340,7 +340,7 @@ public Double getSmilDecelerateAttribute() { public void setSmilDecelerateAttribute(Double smilDecelerateValue) { SmilDecelerateAttribute attr = new SmilDecelerateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(smilDecelerateValue.doubleValue()); + attr.setValue(smilDecelerateValue.toString()); } /** @@ -471,7 +471,7 @@ public void setSmilFillDefaultAttribute(String smilFillDefaultValue) { public Integer getSmilRepeatCountAttribute() { SmilRepeatCountAttribute attr = (SmilRepeatCountAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "repeatCount"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -484,7 +484,7 @@ public Integer getSmilRepeatCountAttribute() { public void setSmilRepeatCountAttribute(Integer smilRepeatCountValue) { SmilRepeatCountAttribute attr = new SmilRepeatCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(smilRepeatCountValue.intValue()); + attr.setValue(smilRepeatCountValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/chart/ChartDataPointElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/chart/ChartDataPointElement.java index 90821377cd..f6c8362379 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/chart/ChartDataPointElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/chart/ChartDataPointElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Integer getChartRepeatedAttribute() { ChartRepeatedAttribute attr = (ChartRepeatedAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "repeated"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -84,7 +84,7 @@ public Integer getChartRepeatedAttribute() { public void setChartRepeatedAttribute(Integer chartRepeatedValue) { ChartRepeatedAttribute attr = new ChartRepeatedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(chartRepeatedValue.intValue()); + attr.setValue(chartRepeatedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/chart/ChartLegendElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/chart/ChartLegendElement.java index 2163528d15..43864e63db 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/chart/ChartLegendElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/chart/ChartLegendElement.java @@ -176,7 +176,7 @@ public void setStyleLegendExpansionAttribute(String styleLegendExpansionValue) { public Double getStyleLegendExpansionAspectRatioAttribute() { StyleLegendExpansionAspectRatioAttribute attr = (StyleLegendExpansionAspectRatioAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "legend-expansion-aspect-ratio"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -189,7 +189,7 @@ public Double getStyleLegendExpansionAspectRatioAttribute() { public void setStyleLegendExpansionAspectRatioAttribute(Double styleLegendExpansionAspectRatioValue) { StyleLegendExpansionAspectRatioAttribute attr = new StyleLegendExpansionAspectRatioAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(styleLegendExpansionAspectRatioValue.doubleValue()); + attr.setValue(styleLegendExpansionAspectRatioValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java index 6cc51479ef..08a1f62f52 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java @@ -208,7 +208,7 @@ public void setDr3dFocalLengthAttribute(String dr3dFocalLengthValue) { public Boolean getDr3dLightingModeAttribute() { Dr3dLightingModeAttribute attr = (Dr3dLightingModeAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "lighting-mode"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -221,7 +221,7 @@ public Boolean getDr3dLightingModeAttribute() { public void setDr3dLightingModeAttribute(Boolean dr3dLightingModeValue) { Dr3dLightingModeAttribute attr = new Dr3dLightingModeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dr3dLightingModeValue.booleanValue()); + attr.setValue(dr3dLightingModeValue.toString()); } /** @@ -280,7 +280,7 @@ public void setDr3dShadeModeAttribute(String dr3dShadeModeValue) { public Integer getDr3dShadowSlantAttribute() { Dr3dShadowSlantAttribute attr = (Dr3dShadowSlantAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "shadow-slant"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -293,7 +293,7 @@ public Integer getDr3dShadowSlantAttribute() { public void setDr3dShadowSlantAttribute(Integer dr3dShadowSlantValue) { Dr3dShadowSlantAttribute attr = new Dr3dShadowSlantAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(dr3dShadowSlantValue.intValue()); + attr.setValue(dr3dShadowSlantValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dCubeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dCubeElement.java index 2de708dab2..834cee1225 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dCubeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dCubeElement.java @@ -247,7 +247,7 @@ public void setDrawStyleNameAttribute(String drawStyleNameValue) { public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -260,7 +260,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dExtrudeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dExtrudeElement.java index 4df77dc08f..ed2f3cfdf3 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dExtrudeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dExtrudeElement.java @@ -199,7 +199,7 @@ public void setDrawStyleNameAttribute(String drawStyleNameValue) { public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -212,7 +212,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** @@ -299,7 +299,7 @@ public void setSvgDAttribute(String svgDValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -312,7 +312,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dLightElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dLightElement.java index 802be504de..782a1d4d6f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dLightElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dLightElement.java @@ -121,7 +121,7 @@ public void setDr3dDirectionAttribute(String dr3dDirectionValue) { public Boolean getDr3dEnabledAttribute() { Dr3dEnabledAttribute attr = (Dr3dEnabledAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "enabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -134,7 +134,7 @@ public Boolean getDr3dEnabledAttribute() { public void setDr3dEnabledAttribute(Boolean dr3dEnabledValue) { Dr3dEnabledAttribute attr = new Dr3dEnabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dr3dEnabledValue.booleanValue()); + attr.setValue(dr3dEnabledValue.toString()); } /** @@ -145,7 +145,7 @@ public void setDr3dEnabledAttribute(Boolean dr3dEnabledValue) { public Boolean getDr3dSpecularAttribute() { Dr3dSpecularAttribute attr = (Dr3dSpecularAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "specular"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -158,7 +158,7 @@ public Boolean getDr3dSpecularAttribute() { public void setDr3dSpecularAttribute(Boolean dr3dSpecularValue) { Dr3dSpecularAttribute attr = new Dr3dSpecularAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dr3dSpecularValue.booleanValue()); + attr.setValue(dr3dSpecularValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dRotateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dRotateElement.java index 7ab9354b8c..55b270749d 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dRotateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dRotateElement.java @@ -199,7 +199,7 @@ public void setDrawStyleNameAttribute(String drawStyleNameValue) { public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -212,7 +212,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** @@ -299,7 +299,7 @@ public void setSvgDAttribute(String svgDValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -312,7 +312,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSceneElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSceneElement.java index dccb98aaea..d8f4f01ce0 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSceneElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSceneElement.java @@ -169,7 +169,7 @@ public void setDr3dFocalLengthAttribute(String dr3dFocalLengthValue) { public Boolean getDr3dLightingModeAttribute() { Dr3dLightingModeAttribute attr = (Dr3dLightingModeAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "lighting-mode"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -182,7 +182,7 @@ public Boolean getDr3dLightingModeAttribute() { public void setDr3dLightingModeAttribute(Boolean dr3dLightingModeValue) { Dr3dLightingModeAttribute attr = new Dr3dLightingModeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dr3dLightingModeValue.booleanValue()); + attr.setValue(dr3dLightingModeValue.toString()); } /** @@ -241,7 +241,7 @@ public void setDr3dShadeModeAttribute(String dr3dShadeModeValue) { public Integer getDr3dShadowSlantAttribute() { Dr3dShadowSlantAttribute attr = (Dr3dShadowSlantAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "shadow-slant"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -254,7 +254,7 @@ public Integer getDr3dShadowSlantAttribute() { public void setDr3dShadowSlantAttribute(Integer dr3dShadowSlantValue) { Dr3dShadowSlantAttribute attr = new Dr3dShadowSlantAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(dr3dShadowSlantValue.intValue()); + attr.setValue(dr3dShadowSlantValue.toString()); } /** @@ -457,7 +457,7 @@ public void setDrawStyleNameAttribute(String drawStyleNameValue) { public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -470,7 +470,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** @@ -697,7 +697,7 @@ public void setTableEndYAttribute(String tableEndYValue) { public Boolean getTableTableBackgroundAttribute() { TableTableBackgroundAttribute attr = (TableTableBackgroundAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table-background"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -710,7 +710,7 @@ public Boolean getTableTableBackgroundAttribute() { public void setTableTableBackgroundAttribute(Boolean tableTableBackgroundValue) { TableTableBackgroundAttribute attr = new TableTableBackgroundAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableTableBackgroundValue.booleanValue()); + attr.setValue(tableTableBackgroundValue.toString()); } /** @@ -721,7 +721,7 @@ public void setTableTableBackgroundAttribute(Boolean tableTableBackgroundValue) public Integer getTextAnchorPageNumberAttribute() { TextAnchorPageNumberAttribute attr = (TextAnchorPageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "anchor-page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -734,7 +734,7 @@ public Integer getTextAnchorPageNumberAttribute() { public void setTextAnchorPageNumberAttribute(Integer textAnchorPageNumberValue) { TextAnchorPageNumberAttribute attr = new TextAnchorPageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textAnchorPageNumberValue.intValue()); + attr.setValue(textAnchorPageNumberValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSphereElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSphereElement.java index 8915b860b3..d7546ff8ee 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSphereElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSphereElement.java @@ -247,7 +247,7 @@ public void setDrawStyleNameAttribute(String drawStyleNameValue) { public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -260,7 +260,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawAElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawAElement.java index b35b6534ac..06f5b699ec 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawAElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawAElement.java @@ -98,7 +98,7 @@ public void setOfficeNameAttribute(String officeNameValue) { public Boolean getOfficeServerMapAttribute() { OfficeServerMapAttribute attr = (OfficeServerMapAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "server-map"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(OfficeServerMapAttribute.DEFAULT_VALUE); } @@ -111,7 +111,7 @@ public Boolean getOfficeServerMapAttribute() { public void setOfficeServerMapAttribute(Boolean officeServerMapValue) { OfficeServerMapAttribute attr = new OfficeServerMapAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeServerMapValue.booleanValue()); + attr.setValue(officeServerMapValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawAppletElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawAppletElement.java index 159be83427..c7d93406bc 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawAppletElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawAppletElement.java @@ -123,7 +123,7 @@ public void setDrawCodeAttribute(String drawCodeValue) { public Boolean getDrawMayScriptAttribute() { DrawMayScriptAttribute attr = (DrawMayScriptAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "may-script"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawMayScriptAttribute.DEFAULT_VALUE); } @@ -136,7 +136,7 @@ public Boolean getDrawMayScriptAttribute() { public void setDrawMayScriptAttribute(Boolean drawMayScriptValue) { DrawMayScriptAttribute attr = new DrawMayScriptAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawMayScriptValue.booleanValue()); + attr.setValue(drawMayScriptValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawAreaPolygonElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawAreaPolygonElement.java index 119d747af1..4acaf35d27 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawAreaPolygonElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawAreaPolygonElement.java @@ -207,7 +207,7 @@ public void setSvgHeightAttribute(String svgHeightValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -220,7 +220,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawCaptionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawCaptionElement.java index 5c694d2dee..3e977c5fb4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawCaptionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawCaptionElement.java @@ -318,12 +318,12 @@ public void setSvgYAttribute(String svgYValue) { * Create child element {@odf.element draw:glue-point}. * * @param drawAlignValue the String value of DrawAlignAttribute, see {@odf.attribute draw:align} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawAlignAttribute(drawAlignValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawCircleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawCircleElement.java index fdf2a64441..fa843c96ee 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawCircleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawCircleElement.java @@ -85,7 +85,7 @@ public OdfName getOdfName() { public Double getDrawEndAngleAttribute() { DrawEndAngleAttribute attr = (DrawEndAngleAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "end-angle"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -98,7 +98,7 @@ public Double getDrawEndAngleAttribute() { public void setDrawEndAngleAttribute(Double drawEndAngleValue) { DrawEndAngleAttribute attr = new DrawEndAngleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(drawEndAngleValue.doubleValue()); + attr.setValue(drawEndAngleValue.toString()); } /** @@ -157,7 +157,7 @@ public void setDrawLayerAttribute(String drawLayerValue) { public Double getDrawStartAngleAttribute() { DrawStartAngleAttribute attr = (DrawStartAngleAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "start-angle"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -170,7 +170,7 @@ public Double getDrawStartAngleAttribute() { public void setDrawStartAngleAttribute(Double drawStartAngleValue) { DrawStartAngleAttribute attr = new DrawStartAngleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(drawStartAngleValue.doubleValue()); + attr.setValue(drawStartAngleValue.toString()); } /** @@ -393,12 +393,12 @@ public void setSvgYAttribute(String svgYValue) { * Create child element {@odf.element draw:glue-point}. * * @param drawAlignValue the String value of DrawAlignAttribute, see {@odf.attribute draw:align} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawAlignAttribute(drawAlignValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawConnectorElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawConnectorElement.java index 875c5244c6..9dea8ac766 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawConnectorElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawConnectorElement.java @@ -85,7 +85,7 @@ public OdfName getOdfName() { public Integer getDrawEndGluePointAttribute() { DrawEndGluePointAttribute attr = (DrawEndGluePointAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "end-glue-point"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -98,7 +98,7 @@ public Integer getDrawEndGluePointAttribute() { public void setDrawEndGluePointAttribute(Integer drawEndGluePointValue) { DrawEndGluePointAttribute attr = new DrawEndGluePointAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawEndGluePointValue.intValue()); + attr.setValue(drawEndGluePointValue.toString()); } /** @@ -181,7 +181,7 @@ public void setDrawLineSkewAttribute(String drawLineSkewValue) { public Integer getDrawStartGluePointAttribute() { DrawStartGluePointAttribute attr = (DrawStartGluePointAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "start-glue-point"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -194,7 +194,7 @@ public Integer getDrawStartGluePointAttribute() { public void setDrawStartGluePointAttribute(Integer drawStartGluePointValue) { DrawStartGluePointAttribute attr = new DrawStartGluePointAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawStartGluePointValue.intValue()); + attr.setValue(drawStartGluePointValue.toString()); } /** @@ -393,12 +393,12 @@ public void setSvgY2Attribute(String svgY2Value) { * Create child element {@odf.element draw:glue-point}. * * @param drawAlignValue the String value of DrawAlignAttribute, see {@odf.attribute draw:align} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawAlignAttribute(drawAlignValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawContourPathElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawContourPathElement.java index d91b7c36b0..a6fb48e28f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawContourPathElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawContourPathElement.java @@ -74,7 +74,7 @@ public OdfName getOdfName() { public Boolean getDrawRecreateOnEditAttribute() { DrawRecreateOnEditAttribute attr = (DrawRecreateOnEditAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "recreate-on-edit"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -87,7 +87,7 @@ public Boolean getDrawRecreateOnEditAttribute() { public void setDrawRecreateOnEditAttribute(Boolean drawRecreateOnEditValue) { DrawRecreateOnEditAttribute attr = new DrawRecreateOnEditAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawRecreateOnEditValue.booleanValue()); + attr.setValue(drawRecreateOnEditValue.toString()); } /** @@ -150,7 +150,7 @@ public void setSvgHeightAttribute(String svgHeightValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -163,7 +163,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawContourPolygonElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawContourPolygonElement.java index cbd3f97129..7c04abbc88 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawContourPolygonElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawContourPolygonElement.java @@ -100,7 +100,7 @@ public void setDrawPointsAttribute(String drawPointsValue) { public Boolean getDrawRecreateOnEditAttribute() { DrawRecreateOnEditAttribute attr = (DrawRecreateOnEditAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "recreate-on-edit"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -113,7 +113,7 @@ public Boolean getDrawRecreateOnEditAttribute() { public void setDrawRecreateOnEditAttribute(Boolean drawRecreateOnEditValue) { DrawRecreateOnEditAttribute attr = new DrawRecreateOnEditAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawRecreateOnEditValue.booleanValue()); + attr.setValue(drawRecreateOnEditValue.toString()); } /** @@ -150,7 +150,7 @@ public void setSvgHeightAttribute(String svgHeightValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -163,7 +163,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawControlElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawControlElement.java index a069a83c67..414dea85a4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawControlElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawControlElement.java @@ -267,12 +267,12 @@ public void setSvgYAttribute(String svgYValue) { * Create child element {@odf.element draw:glue-point}. * * @param drawAlignValue the String value of DrawAlignAttribute, see {@odf.attribute draw:align} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawAlignAttribute(drawAlignValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawCustomShapeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawCustomShapeElement.java index 055dc94abc..5075251cdb 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawCustomShapeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawCustomShapeElement.java @@ -304,12 +304,12 @@ public DrawEnhancedGeometryElement newDrawEnhancedGeometryElement() { * Create child element {@odf.element draw:glue-point}. * * @param drawAlignValue the String value of DrawAlignAttribute, see {@odf.attribute draw:align} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawAlignAttribute(drawAlignValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawEllipseElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawEllipseElement.java index cdbab0a92a..99f771b0f6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawEllipseElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawEllipseElement.java @@ -86,7 +86,7 @@ public OdfName getOdfName() { public Double getDrawEndAngleAttribute() { DrawEndAngleAttribute attr = (DrawEndAngleAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "end-angle"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -99,7 +99,7 @@ public Double getDrawEndAngleAttribute() { public void setDrawEndAngleAttribute(Double drawEndAngleValue) { DrawEndAngleAttribute attr = new DrawEndAngleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(drawEndAngleValue.doubleValue()); + attr.setValue(drawEndAngleValue.toString()); } /** @@ -158,7 +158,7 @@ public void setDrawLayerAttribute(String drawLayerValue) { public Double getDrawStartAngleAttribute() { DrawStartAngleAttribute attr = (DrawStartAngleAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "start-angle"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -171,7 +171,7 @@ public Double getDrawStartAngleAttribute() { public void setDrawStartAngleAttribute(Double drawStartAngleValue) { DrawStartAngleAttribute attr = new DrawStartAngleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(drawStartAngleValue.doubleValue()); + attr.setValue(drawStartAngleValue.toString()); } /** @@ -418,12 +418,12 @@ public void setSvgYAttribute(String svgYValue) { * Create child element {@odf.element draw:glue-point}. * * @param drawAlignValue the String value of DrawAlignAttribute, see {@odf.attribute draw:align} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawAlignAttribute(drawAlignValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawEnhancedGeometryElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawEnhancedGeometryElement.java index 8cf3f6fa39..79c264eb8b 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawEnhancedGeometryElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawEnhancedGeometryElement.java @@ -158,7 +158,7 @@ public void setDr3dShadeModeAttribute(String dr3dShadeModeValue) { public Boolean getDrawConcentricGradientFillAllowedAttribute() { DrawConcentricGradientFillAllowedAttribute attr = (DrawConcentricGradientFillAllowedAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "concentric-gradient-fill-allowed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawConcentricGradientFillAllowedAttribute.DEFAULT_VALUE); } @@ -171,7 +171,7 @@ public Boolean getDrawConcentricGradientFillAllowedAttribute() { public void setDrawConcentricGradientFillAllowedAttribute(Boolean drawConcentricGradientFillAllowedValue) { DrawConcentricGradientFillAllowedAttribute attr = new DrawConcentricGradientFillAllowedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawConcentricGradientFillAllowedValue.booleanValue()); + attr.setValue(drawConcentricGradientFillAllowedValue.toString()); } /** @@ -206,7 +206,7 @@ public void setDrawEnhancedPathAttribute(String drawEnhancedPathValue) { public Boolean getDrawExtrusionAttribute() { DrawExtrusionAttribute attr = (DrawExtrusionAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionAttribute.DEFAULT_VALUE); } @@ -219,7 +219,7 @@ public Boolean getDrawExtrusionAttribute() { public void setDrawExtrusionAttribute(Boolean drawExtrusionValue) { DrawExtrusionAttribute attr = new DrawExtrusionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionValue.booleanValue()); + attr.setValue(drawExtrusionValue.toString()); } /** @@ -230,7 +230,7 @@ public void setDrawExtrusionAttribute(Boolean drawExtrusionValue) { public Boolean getDrawExtrusionAllowedAttribute() { DrawExtrusionAllowedAttribute attr = (DrawExtrusionAllowedAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-allowed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionAllowedAttribute.DEFAULT_VALUE); } @@ -243,7 +243,7 @@ public Boolean getDrawExtrusionAllowedAttribute() { public void setDrawExtrusionAllowedAttribute(Boolean drawExtrusionAllowedValue) { DrawExtrusionAllowedAttribute attr = new DrawExtrusionAllowedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionAllowedValue.booleanValue()); + attr.setValue(drawExtrusionAllowedValue.toString()); } /** @@ -278,7 +278,7 @@ public void setDrawExtrusionBrightnessAttribute(String drawExtrusionBrightnessVa public Boolean getDrawExtrusionColorAttribute() { DrawExtrusionColorAttribute attr = (DrawExtrusionColorAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-color"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionColorAttribute.DEFAULT_VALUE); } @@ -291,7 +291,7 @@ public Boolean getDrawExtrusionColorAttribute() { public void setDrawExtrusionColorAttribute(Boolean drawExtrusionColorValue) { DrawExtrusionColorAttribute attr = new DrawExtrusionColorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionColorValue.booleanValue()); + attr.setValue(drawExtrusionColorValue.toString()); } /** @@ -374,7 +374,7 @@ public void setDrawExtrusionFirstLightDirectionAttribute(String drawExtrusionFir public Boolean getDrawExtrusionFirstLightHarshAttribute() { DrawExtrusionFirstLightHarshAttribute attr = (DrawExtrusionFirstLightHarshAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-first-light-harsh"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionFirstLightHarshAttribute.DEFAULT_VALUE); } @@ -387,7 +387,7 @@ public Boolean getDrawExtrusionFirstLightHarshAttribute() { public void setDrawExtrusionFirstLightHarshAttribute(Boolean drawExtrusionFirstLightHarshValue) { DrawExtrusionFirstLightHarshAttribute attr = new DrawExtrusionFirstLightHarshAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionFirstLightHarshValue.booleanValue()); + attr.setValue(drawExtrusionFirstLightHarshValue.toString()); } /** @@ -422,7 +422,7 @@ public void setDrawExtrusionFirstLightLevelAttribute(String drawExtrusionFirstLi public Boolean getDrawExtrusionLightFaceAttribute() { DrawExtrusionLightFaceAttribute attr = (DrawExtrusionLightFaceAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-light-face"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionLightFaceAttribute.DEFAULT_VALUE); } @@ -435,7 +435,7 @@ public Boolean getDrawExtrusionLightFaceAttribute() { public void setDrawExtrusionLightFaceAttribute(Boolean drawExtrusionLightFaceValue) { DrawExtrusionLightFaceAttribute attr = new DrawExtrusionLightFaceAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionLightFaceValue.booleanValue()); + attr.setValue(drawExtrusionLightFaceValue.toString()); } /** @@ -446,7 +446,7 @@ public void setDrawExtrusionLightFaceAttribute(Boolean drawExtrusionLightFaceVal public Boolean getDrawExtrusionMetalAttribute() { DrawExtrusionMetalAttribute attr = (DrawExtrusionMetalAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-metal"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionMetalAttribute.DEFAULT_VALUE); } @@ -459,7 +459,7 @@ public Boolean getDrawExtrusionMetalAttribute() { public void setDrawExtrusionMetalAttribute(Boolean drawExtrusionMetalValue) { DrawExtrusionMetalAttribute attr = new DrawExtrusionMetalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionMetalValue.booleanValue()); + attr.setValue(drawExtrusionMetalValue.toString()); } /** @@ -470,7 +470,7 @@ public void setDrawExtrusionMetalAttribute(Boolean drawExtrusionMetalValue) { public Integer getDrawExtrusionNumberOfLineSegmentsAttribute() { DrawExtrusionNumberOfLineSegmentsAttribute attr = (DrawExtrusionNumberOfLineSegmentsAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-number-of-line-segments"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(DrawExtrusionNumberOfLineSegmentsAttribute.DEFAULT_VALUE); } @@ -483,7 +483,7 @@ public Integer getDrawExtrusionNumberOfLineSegmentsAttribute() { public void setDrawExtrusionNumberOfLineSegmentsAttribute(Integer drawExtrusionNumberOfLineSegmentsValue) { DrawExtrusionNumberOfLineSegmentsAttribute attr = new DrawExtrusionNumberOfLineSegmentsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawExtrusionNumberOfLineSegmentsValue.intValue()); + attr.setValue(drawExtrusionNumberOfLineSegmentsValue.toString()); } /** @@ -494,7 +494,7 @@ public void setDrawExtrusionNumberOfLineSegmentsAttribute(Integer drawExtrusionN public Double getDrawExtrusionOriginAttribute() { DrawExtrusionOriginAttribute attr = (DrawExtrusionOriginAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-origin"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(DrawExtrusionOriginAttribute.DEFAULT_VALUE); } @@ -507,7 +507,7 @@ public Double getDrawExtrusionOriginAttribute() { public void setDrawExtrusionOriginAttribute(Double drawExtrusionOriginValue) { DrawExtrusionOriginAttribute attr = new DrawExtrusionOriginAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(drawExtrusionOriginValue.doubleValue()); + attr.setValue(drawExtrusionOriginValue.toString()); } /** @@ -518,7 +518,7 @@ public void setDrawExtrusionOriginAttribute(Double drawExtrusionOriginValue) { public Double getDrawExtrusionRotationAngleAttribute() { DrawExtrusionRotationAngleAttribute attr = (DrawExtrusionRotationAngleAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-rotation-angle"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(DrawExtrusionRotationAngleAttribute.DEFAULT_VALUE); } @@ -531,7 +531,7 @@ public Double getDrawExtrusionRotationAngleAttribute() { public void setDrawExtrusionRotationAngleAttribute(Double drawExtrusionRotationAngleValue) { DrawExtrusionRotationAngleAttribute attr = new DrawExtrusionRotationAngleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(drawExtrusionRotationAngleValue.doubleValue()); + attr.setValue(drawExtrusionRotationAngleValue.toString()); } /** @@ -590,7 +590,7 @@ public void setDrawExtrusionSecondLightDirectionAttribute(String drawExtrusionSe public Boolean getDrawExtrusionSecondLightHarshAttribute() { DrawExtrusionSecondLightHarshAttribute attr = (DrawExtrusionSecondLightHarshAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-second-light-harsh"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionSecondLightHarshAttribute.DEFAULT_VALUE); } @@ -603,7 +603,7 @@ public Boolean getDrawExtrusionSecondLightHarshAttribute() { public void setDrawExtrusionSecondLightHarshAttribute(Boolean drawExtrusionSecondLightHarshValue) { DrawExtrusionSecondLightHarshAttribute attr = new DrawExtrusionSecondLightHarshAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionSecondLightHarshValue.booleanValue()); + attr.setValue(drawExtrusionSecondLightHarshValue.toString()); } /** @@ -662,7 +662,7 @@ public void setDrawExtrusionShininessAttribute(String drawExtrusionShininessValu public Double getDrawExtrusionSkewAttribute() { DrawExtrusionSkewAttribute attr = (DrawExtrusionSkewAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-skew"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(DrawExtrusionSkewAttribute.DEFAULT_VALUE); } @@ -675,7 +675,7 @@ public Double getDrawExtrusionSkewAttribute() { public void setDrawExtrusionSkewAttribute(Double drawExtrusionSkewValue) { DrawExtrusionSkewAttribute attr = new DrawExtrusionSkewAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(drawExtrusionSkewValue.doubleValue()); + attr.setValue(drawExtrusionSkewValue.toString()); } /** @@ -806,7 +806,7 @@ public void setDrawGluePointsAttribute(String drawGluePointsValue) { public Boolean getDrawMirrorHorizontalAttribute() { DrawMirrorHorizontalAttribute attr = (DrawMirrorHorizontalAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "mirror-horizontal"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawMirrorHorizontalAttribute.DEFAULT_VALUE); } @@ -819,7 +819,7 @@ public Boolean getDrawMirrorHorizontalAttribute() { public void setDrawMirrorHorizontalAttribute(Boolean drawMirrorHorizontalValue) { DrawMirrorHorizontalAttribute attr = new DrawMirrorHorizontalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawMirrorHorizontalValue.booleanValue()); + attr.setValue(drawMirrorHorizontalValue.toString()); } /** @@ -830,7 +830,7 @@ public void setDrawMirrorHorizontalAttribute(Boolean drawMirrorHorizontalValue) public Boolean getDrawMirrorVerticalAttribute() { DrawMirrorVerticalAttribute attr = (DrawMirrorVerticalAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "mirror-vertical"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawMirrorVerticalAttribute.DEFAULT_VALUE); } @@ -843,7 +843,7 @@ public Boolean getDrawMirrorVerticalAttribute() { public void setDrawMirrorVerticalAttribute(Boolean drawMirrorVerticalValue) { DrawMirrorVerticalAttribute attr = new DrawMirrorVerticalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawMirrorVerticalValue.booleanValue()); + attr.setValue(drawMirrorVerticalValue.toString()); } /** @@ -878,7 +878,7 @@ public void setDrawModifiersAttribute(String drawModifiersValue) { public Double getDrawPathStretchpointXAttribute() { DrawPathStretchpointXAttribute attr = (DrawPathStretchpointXAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "path-stretchpoint-x"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -891,7 +891,7 @@ public Double getDrawPathStretchpointXAttribute() { public void setDrawPathStretchpointXAttribute(Double drawPathStretchpointXValue) { DrawPathStretchpointXAttribute attr = new DrawPathStretchpointXAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(drawPathStretchpointXValue.doubleValue()); + attr.setValue(drawPathStretchpointXValue.toString()); } /** @@ -902,7 +902,7 @@ public void setDrawPathStretchpointXAttribute(Double drawPathStretchpointXValue) public Double getDrawPathStretchpointYAttribute() { DrawPathStretchpointYAttribute attr = (DrawPathStretchpointYAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "path-stretchpoint-y"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -915,7 +915,7 @@ public Double getDrawPathStretchpointYAttribute() { public void setDrawPathStretchpointYAttribute(Double drawPathStretchpointYValue) { DrawPathStretchpointYAttribute attr = new DrawPathStretchpointYAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(drawPathStretchpointYValue.doubleValue()); + attr.setValue(drawPathStretchpointYValue.toString()); } /** @@ -950,7 +950,7 @@ public void setDrawTextAreasAttribute(String drawTextAreasValue) { public Boolean getDrawTextPathAttribute() { DrawTextPathAttribute attr = (DrawTextPathAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "text-path"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawTextPathAttribute.DEFAULT_VALUE); } @@ -963,7 +963,7 @@ public Boolean getDrawTextPathAttribute() { public void setDrawTextPathAttribute(Boolean drawTextPathValue) { DrawTextPathAttribute attr = new DrawTextPathAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawTextPathValue.booleanValue()); + attr.setValue(drawTextPathValue.toString()); } /** @@ -974,7 +974,7 @@ public void setDrawTextPathAttribute(Boolean drawTextPathValue) { public Boolean getDrawTextPathAllowedAttribute() { DrawTextPathAllowedAttribute attr = (DrawTextPathAllowedAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "text-path-allowed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawTextPathAllowedAttribute.DEFAULT_VALUE); } @@ -987,7 +987,7 @@ public Boolean getDrawTextPathAllowedAttribute() { public void setDrawTextPathAllowedAttribute(Boolean drawTextPathAllowedValue) { DrawTextPathAllowedAttribute attr = new DrawTextPathAllowedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawTextPathAllowedValue.booleanValue()); + attr.setValue(drawTextPathAllowedValue.toString()); } /** @@ -1022,7 +1022,7 @@ public void setDrawTextPathModeAttribute(String drawTextPathModeValue) { public Boolean getDrawTextPathSameLetterHeightsAttribute() { DrawTextPathSameLetterHeightsAttribute attr = (DrawTextPathSameLetterHeightsAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "text-path-same-letter-heights"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawTextPathSameLetterHeightsAttribute.DEFAULT_VALUE); } @@ -1035,7 +1035,7 @@ public Boolean getDrawTextPathSameLetterHeightsAttribute() { public void setDrawTextPathSameLetterHeightsAttribute(Boolean drawTextPathSameLetterHeightsValue) { DrawTextPathSameLetterHeightsAttribute attr = new DrawTextPathSameLetterHeightsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawTextPathSameLetterHeightsValue.booleanValue()); + attr.setValue(drawTextPathSameLetterHeightsValue.toString()); } /** @@ -1070,7 +1070,7 @@ public void setDrawTextPathScaleAttribute(String drawTextPathScaleValue) { public Double getDrawTextRotateAngleAttribute() { DrawTextRotateAngleAttribute attr = (DrawTextRotateAngleAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "text-rotate-angle"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(DrawTextRotateAngleAttribute.DEFAULT_VALUE); } @@ -1083,7 +1083,7 @@ public Double getDrawTextRotateAngleAttribute() { public void setDrawTextRotateAngleAttribute(Double drawTextRotateAngleValue) { DrawTextRotateAngleAttribute attr = new DrawTextRotateAngleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(drawTextRotateAngleValue.doubleValue()); + attr.setValue(drawTextRotateAngleValue.toString()); } /** @@ -1118,7 +1118,7 @@ public void setDrawTypeAttribute(String drawTypeValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1131,7 +1131,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawFrameElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawFrameElement.java index afeeaf547a..9f5367f74a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawFrameElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawFrameElement.java @@ -204,7 +204,7 @@ public void setPresentationClassAttribute(String presentationClassValue) { public Boolean getPresentationPlaceholderAttribute() { PresentationPlaceholderAttribute attr = (PresentationPlaceholderAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "placeholder"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -217,7 +217,7 @@ public Boolean getPresentationPlaceholderAttribute() { public void setPresentationPlaceholderAttribute(Boolean presentationPlaceholderValue) { PresentationPlaceholderAttribute attr = new PresentationPlaceholderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationPlaceholderValue.booleanValue()); + attr.setValue(presentationPlaceholderValue.toString()); } /** @@ -228,7 +228,7 @@ public void setPresentationPlaceholderAttribute(Boolean presentationPlaceholderV public Boolean getPresentationUserTransformedAttribute() { PresentationUserTransformedAttribute attr = (PresentationUserTransformedAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "user-transformed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -241,7 +241,7 @@ public Boolean getPresentationUserTransformedAttribute() { public void setPresentationUserTransformedAttribute(Boolean presentationUserTransformedValue) { PresentationUserTransformedAttribute attr = new PresentationUserTransformedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationUserTransformedValue.booleanValue()); + attr.setValue(presentationUserTransformedValue.toString()); } /** @@ -450,12 +450,12 @@ public DrawFloatingFrameElement newDrawFloatingFrameElement(String xlinkHrefValu * Create child element {@odf.element draw:glue-point}. * * @param drawAlignValue the String value of DrawAlignAttribute, see {@odf.attribute draw:align} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawAlignAttribute(drawAlignValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawGElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawGElement.java index d948751f33..e2fe3cf855 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawGElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawGElement.java @@ -193,12 +193,12 @@ public DrawGElement newDrawGElement() { * Create child element {@odf.element draw:glue-point}. * * @param drawAlignValue the String value of DrawAlignAttribute, see {@odf.attribute draw:align} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawAlignAttribute(drawAlignValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java index ee23f391a2..0c936ae432 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java @@ -99,7 +99,7 @@ public void setDrawAlignAttribute(String drawAlignValue) { public Integer getDrawIdAttribute() { DrawIdAttribute attr = (DrawIdAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "id"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -112,7 +112,7 @@ public Integer getDrawIdAttribute() { public void setDrawIdAttribute(Integer drawIdValue) { DrawIdAttribute attr = new DrawIdAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawIdValue.intValue()); + attr.setValue(drawIdValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawGradientElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawGradientElement.java index d9d069ab09..9cde55a3de 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawGradientElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawGradientElement.java @@ -78,7 +78,7 @@ public OdfName getOdfName() { public Integer getDrawAngleAttribute() { DrawAngleAttribute attr = (DrawAngleAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "angle"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -91,7 +91,7 @@ public Integer getDrawAngleAttribute() { public void setDrawAngleAttribute(Integer drawAngleValue) { DrawAngleAttribute attr = new DrawAngleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawAngleValue.intValue()); + attr.setValue(drawAngleValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawHandleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawHandleElement.java index 9abb21d9f0..834cb2886d 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawHandleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawHandleElement.java @@ -78,7 +78,7 @@ public OdfName getOdfName() { public Boolean getDrawHandleMirrorHorizontalAttribute() { DrawHandleMirrorHorizontalAttribute attr = (DrawHandleMirrorHorizontalAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "handle-mirror-horizontal"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawHandleMirrorHorizontalAttribute.DEFAULT_VALUE); } @@ -91,7 +91,7 @@ public Boolean getDrawHandleMirrorHorizontalAttribute() { public void setDrawHandleMirrorHorizontalAttribute(Boolean drawHandleMirrorHorizontalValue) { DrawHandleMirrorHorizontalAttribute attr = new DrawHandleMirrorHorizontalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawHandleMirrorHorizontalValue.booleanValue()); + attr.setValue(drawHandleMirrorHorizontalValue.toString()); } /** @@ -102,7 +102,7 @@ public void setDrawHandleMirrorHorizontalAttribute(Boolean drawHandleMirrorHoriz public Boolean getDrawHandleMirrorVerticalAttribute() { DrawHandleMirrorVerticalAttribute attr = (DrawHandleMirrorVerticalAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "handle-mirror-vertical"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawHandleMirrorVerticalAttribute.DEFAULT_VALUE); } @@ -115,7 +115,7 @@ public Boolean getDrawHandleMirrorVerticalAttribute() { public void setDrawHandleMirrorVerticalAttribute(Boolean drawHandleMirrorVerticalValue) { DrawHandleMirrorVerticalAttribute attr = new DrawHandleMirrorVerticalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawHandleMirrorVerticalValue.booleanValue()); + attr.setValue(drawHandleMirrorVerticalValue.toString()); } /** @@ -320,7 +320,7 @@ public void setDrawHandleRangeYMinimumAttribute(String drawHandleRangeYMinimumVa public Boolean getDrawHandleSwitchedAttribute() { DrawHandleSwitchedAttribute attr = (DrawHandleSwitchedAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "handle-switched"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawHandleSwitchedAttribute.DEFAULT_VALUE); } @@ -333,7 +333,7 @@ public Boolean getDrawHandleSwitchedAttribute() { public void setDrawHandleSwitchedAttribute(Boolean drawHandleSwitchedValue) { DrawHandleSwitchedAttribute attr = new DrawHandleSwitchedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawHandleSwitchedValue.booleanValue()); + attr.setValue(drawHandleSwitchedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawHatchElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawHatchElement.java index eb62324760..6f6dd99e82 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawHatchElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawHatchElement.java @@ -171,7 +171,7 @@ public void setDrawNameAttribute(String drawNameValue) { public Integer getDrawRotationAttribute() { DrawRotationAttribute attr = (DrawRotationAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "rotation"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -184,7 +184,7 @@ public Integer getDrawRotationAttribute() { public void setDrawRotationAttribute(Integer drawRotationValue) { DrawRotationAttribute attr = new DrawRotationAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawRotationValue.intValue()); + attr.setValue(drawRotationValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawLayerElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawLayerElement.java index 62028de1d6..b23daac3e5 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawLayerElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawLayerElement.java @@ -120,7 +120,7 @@ public void setDrawNameAttribute(String drawNameValue) { public Boolean getDrawProtectedAttribute() { DrawProtectedAttribute attr = (DrawProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawProtectedAttribute.DEFAULT_VALUE); } @@ -133,7 +133,7 @@ public Boolean getDrawProtectedAttribute() { public void setDrawProtectedAttribute(Boolean drawProtectedValue) { DrawProtectedAttribute attr = new DrawProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawProtectedValue.booleanValue()); + attr.setValue(drawProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawLineElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawLineElement.java index caaa27d00b..56be2fc6c5 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawLineElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawLineElement.java @@ -251,12 +251,12 @@ public void setSvgY2Attribute(String svgY2Value) { * Create child element {@odf.element draw:glue-point}. * * @param drawAlignValue the String value of DrawAlignAttribute, see {@odf.attribute draw:align} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawAlignAttribute(drawAlignValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawMarkerElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawMarkerElement.java index ee6ea79914..8e6ea9b3a3 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawMarkerElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawMarkerElement.java @@ -149,7 +149,7 @@ public void setSvgDAttribute(String svgDValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -162,7 +162,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawMeasureElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawMeasureElement.java index a8b687fc41..a547bc3759 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawMeasureElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawMeasureElement.java @@ -251,12 +251,12 @@ public void setSvgY2Attribute(String svgY2Value) { * Create child element {@odf.element draw:glue-point}. * * @param drawAlignValue the String value of DrawAlignAttribute, see {@odf.attribute draw:align} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawAlignAttribute(drawAlignValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawOpacityElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawOpacityElement.java index 17ef50ff47..d6fa9824fa 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawOpacityElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawOpacityElement.java @@ -76,7 +76,7 @@ public OdfName getOdfName() { public Integer getDrawAngleAttribute() { DrawAngleAttribute attr = (DrawAngleAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "angle"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -89,7 +89,7 @@ public Integer getDrawAngleAttribute() { public void setDrawAngleAttribute(Integer drawAngleValue) { DrawAngleAttribute attr = new DrawAngleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawAngleValue.intValue()); + attr.setValue(drawAngleValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawPageThumbnailElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawPageThumbnailElement.java index b0b947cca9..d0096669b6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawPageThumbnailElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawPageThumbnailElement.java @@ -103,7 +103,7 @@ public void setDrawLayerAttribute(String drawLayerValue) { public Integer getDrawPageNumberAttribute() { DrawPageNumberAttribute attr = (DrawPageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -116,7 +116,7 @@ public Integer getDrawPageNumberAttribute() { public void setDrawPageNumberAttribute(Integer drawPageNumberValue) { DrawPageNumberAttribute attr = new DrawPageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawPageNumberValue.intValue()); + attr.setValue(drawPageNumberValue.toString()); } /** @@ -175,7 +175,7 @@ public void setPresentationClassAttribute(String presentationClassValue) { public Boolean getPresentationPlaceholderAttribute() { PresentationPlaceholderAttribute attr = (PresentationPlaceholderAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "placeholder"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -188,7 +188,7 @@ public Boolean getPresentationPlaceholderAttribute() { public void setPresentationPlaceholderAttribute(Boolean presentationPlaceholderValue) { PresentationPlaceholderAttribute attr = new PresentationPlaceholderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationPlaceholderValue.booleanValue()); + attr.setValue(presentationPlaceholderValue.toString()); } /** @@ -199,7 +199,7 @@ public void setPresentationPlaceholderAttribute(Boolean presentationPlaceholderV public Boolean getPresentationUserTransformedAttribute() { PresentationUserTransformedAttribute attr = (PresentationUserTransformedAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "user-transformed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -212,7 +212,7 @@ public Boolean getPresentationUserTransformedAttribute() { public void setPresentationUserTransformedAttribute(Boolean presentationUserTransformedValue) { PresentationUserTransformedAttribute attr = new PresentationUserTransformedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationUserTransformedValue.booleanValue()); + attr.setValue(presentationUserTransformedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawPathElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawPathElement.java index 06305cf977..de2b4edb0a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawPathElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawPathElement.java @@ -205,7 +205,7 @@ public void setSvgHeightAttribute(String svgHeightValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -218,7 +218,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** @@ -297,12 +297,12 @@ public void setSvgYAttribute(String svgYValue) { * Create child element {@odf.element draw:glue-point}. * * @param drawAlignValue the String value of DrawAlignAttribute, see {@odf.attribute draw:align} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawAlignAttribute(drawAlignValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawPolygonElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawPolygonElement.java index 3f0fabd97b..f4d58b924a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawPolygonElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawPolygonElement.java @@ -205,7 +205,7 @@ public void setSvgHeightAttribute(String svgHeightValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -218,7 +218,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** @@ -297,12 +297,12 @@ public void setSvgYAttribute(String svgYValue) { * Create child element {@odf.element draw:glue-point}. * * @param drawAlignValue the String value of DrawAlignAttribute, see {@odf.attribute draw:align} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawAlignAttribute(drawAlignValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawPolylineElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawPolylineElement.java index 790b003214..a058b4c845 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawPolylineElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawPolylineElement.java @@ -205,7 +205,7 @@ public void setSvgHeightAttribute(String svgHeightValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -218,7 +218,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** @@ -297,12 +297,12 @@ public void setSvgYAttribute(String svgYValue) { * Create child element {@odf.element draw:glue-point}. * * @param drawAlignValue the String value of DrawAlignAttribute, see {@odf.attribute draw:align} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawAlignAttribute(drawAlignValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawRectElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawRectElement.java index fc067b0d74..96d8a0a6b7 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawRectElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawRectElement.java @@ -268,12 +268,12 @@ public void setSvgYAttribute(String svgYValue) { * Create child element {@odf.element draw:glue-point}. * * @param drawAlignValue the String value of DrawAlignAttribute, see {@odf.attribute draw:align} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawAlignAttribute(drawAlignValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java index 0d5e09fc52..f4d250a459 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java @@ -84,7 +84,7 @@ public OdfName getOdfName() { public Boolean getDrawConcaveAttribute() { DrawConcaveAttribute attr = (DrawConcaveAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "concave"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -97,7 +97,7 @@ public Boolean getDrawConcaveAttribute() { public void setDrawConcaveAttribute(Boolean drawConcaveValue) { DrawConcaveAttribute attr = new DrawConcaveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawConcaveValue.booleanValue()); + attr.setValue(drawConcaveValue.toString()); } /** @@ -110,7 +110,7 @@ public void setDrawConcaveAttribute(Boolean drawConcaveValue) { public Integer getDrawCornersAttribute() { DrawCornersAttribute attr = (DrawCornersAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "corners"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -123,7 +123,7 @@ public Integer getDrawCornersAttribute() { public void setDrawCornersAttribute(Integer drawCornersValue) { DrawCornersAttribute attr = new DrawCornersAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawCornersValue.intValue()); + attr.setValue(drawCornersValue.toString()); } /** @@ -322,12 +322,12 @@ public void setSvgYAttribute(String svgYValue) { * Create child element {@odf.element draw:glue-point}. * * @param drawAlignValue the String value of DrawAlignAttribute, see {@odf.attribute draw:align} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawAlignValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawAlignAttribute(drawAlignValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawShapeElementBase.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawShapeElementBase.java index 0f604251cb..707a6f21f4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawShapeElementBase.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawShapeElementBase.java @@ -168,7 +168,7 @@ public void setDrawStyleNameAttribute(String drawStyleNameValue) { public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -181,7 +181,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** @@ -312,7 +312,7 @@ public void setTableEndYAttribute(String tableEndYValue) { public Boolean getTableTableBackgroundAttribute() { TableTableBackgroundAttribute attr = (TableTableBackgroundAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table-background"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -325,7 +325,7 @@ public Boolean getTableTableBackgroundAttribute() { public void setTableTableBackgroundAttribute(Boolean tableTableBackgroundValue) { TableTableBackgroundAttribute attr = new TableTableBackgroundAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableTableBackgroundValue.booleanValue()); + attr.setValue(tableTableBackgroundValue.toString()); } /** @@ -336,7 +336,7 @@ public void setTableTableBackgroundAttribute(Boolean tableTableBackgroundValue) public Integer getTextAnchorPageNumberAttribute() { TextAnchorPageNumberAttribute attr = (TextAnchorPageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "anchor-page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -349,7 +349,7 @@ public Integer getTextAnchorPageNumberAttribute() { public void setTextAnchorPageNumberAttribute(Integer textAnchorPageNumberValue) { TextAnchorPageNumberAttribute attr = new TextAnchorPageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textAnchorPageNumberValue.intValue()); + attr.setValue(textAnchorPageNumberValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawStrokeDashElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawStrokeDashElement.java index eb89d39f8c..2dfb5ca973 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawStrokeDashElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/draw/DrawStrokeDashElement.java @@ -123,7 +123,7 @@ public void setDrawDistanceAttribute(String drawDistanceValue) { public Integer getDrawDots1Attribute() { DrawDots1Attribute attr = (DrawDots1Attribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "dots1"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -136,7 +136,7 @@ public Integer getDrawDots1Attribute() { public void setDrawDots1Attribute(Integer drawDots1Value) { DrawDots1Attribute attr = new DrawDots1Attribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawDots1Value.intValue()); + attr.setValue(drawDots1Value.toString()); } /** @@ -171,7 +171,7 @@ public void setDrawDots1LengthAttribute(String drawDots1LengthValue) { public Integer getDrawDots2Attribute() { DrawDots2Attribute attr = (DrawDots2Attribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "dots2"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -184,7 +184,7 @@ public Integer getDrawDots2Attribute() { public void setDrawDots2Attribute(Integer drawDots2Value) { DrawDots2Attribute attr = new DrawDots2Attribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawDots2Value.intValue()); + attr.setValue(drawDots2Value.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormButtonElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormButtonElement.java index 4a0214c5de..854379b83b 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormButtonElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormButtonElement.java @@ -137,7 +137,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormDefaultButtonAttribute() { FormDefaultButtonAttribute attr = (FormDefaultButtonAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "default-button"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDefaultButtonAttribute.DEFAULT_VALUE); } @@ -150,7 +150,7 @@ public Boolean getFormDefaultButtonAttribute() { public void setFormDefaultButtonAttribute(Boolean formDefaultButtonValue) { FormDefaultButtonAttribute attr = new FormDefaultButtonAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDefaultButtonValue.booleanValue()); + attr.setValue(formDefaultButtonValue.toString()); } /** @@ -161,7 +161,7 @@ public void setFormDefaultButtonAttribute(Boolean formDefaultButtonValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -174,7 +174,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -185,7 +185,7 @@ public void setFormDisabledAttribute(Boolean formDisabledValue) { public Boolean getFormFocusOnClickAttribute() { FormFocusOnClickAttribute attr = (FormFocusOnClickAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "focus-on-click"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -198,7 +198,7 @@ public Boolean getFormFocusOnClickAttribute() { public void setFormFocusOnClickAttribute(Boolean formFocusOnClickValue) { FormFocusOnClickAttribute attr = new FormFocusOnClickAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formFocusOnClickValue.booleanValue()); + attr.setValue(formFocusOnClickValue.toString()); } /** @@ -357,7 +357,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -370,7 +370,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -381,7 +381,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -394,7 +394,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -405,7 +405,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -418,7 +418,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** @@ -453,7 +453,7 @@ public void setFormTitleAttribute(String formTitleValue) { public Boolean getFormToggleAttribute() { FormToggleAttribute attr = (FormToggleAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "toggle"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormToggleAttribute.DEFAULT_VALUE); } @@ -466,7 +466,7 @@ public Boolean getFormToggleAttribute() { public void setFormToggleAttribute(Boolean formToggleValue) { FormToggleAttribute attr = new FormToggleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formToggleValue.booleanValue()); + attr.setValue(formToggleValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormCheckboxElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormCheckboxElement.java index db35482af3..5f88bf47a4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormCheckboxElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormCheckboxElement.java @@ -158,7 +158,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -171,7 +171,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -258,7 +258,7 @@ public void setFormImagePositionAttribute(String formImagePositionValue) { public Boolean getFormIsTristateAttribute() { FormIsTristateAttribute attr = (FormIsTristateAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "is-tristate"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormIsTristateAttribute.DEFAULT_VALUE); } @@ -271,7 +271,7 @@ public Boolean getFormIsTristateAttribute() { public void setFormIsTristateAttribute(Boolean formIsTristateValue) { FormIsTristateAttribute attr = new FormIsTristateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formIsTristateValue.booleanValue()); + attr.setValue(formIsTristateValue.toString()); } /** @@ -330,7 +330,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -343,7 +343,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -378,7 +378,7 @@ public void setFormStateAttribute(String formStateValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -391,7 +391,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -402,7 +402,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -415,7 +415,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormComboboxElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormComboboxElement.java index a5dfcb3da8..7c96777778 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormComboboxElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormComboboxElement.java @@ -88,7 +88,7 @@ public OdfName getOdfName() { public Boolean getFormAutoCompleteAttribute() { FormAutoCompleteAttribute attr = (FormAutoCompleteAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "auto-complete"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -101,7 +101,7 @@ public Boolean getFormAutoCompleteAttribute() { public void setFormAutoCompleteAttribute(Boolean formAutoCompleteValue) { FormAutoCompleteAttribute attr = new FormAutoCompleteAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formAutoCompleteValue.booleanValue()); + attr.setValue(formAutoCompleteValue.toString()); } /** @@ -136,7 +136,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -149,7 +149,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -208,7 +208,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -221,7 +221,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -232,7 +232,7 @@ public void setFormDisabledAttribute(Boolean formDisabledValue) { public Boolean getFormDropdownAttribute() { FormDropdownAttribute attr = (FormDropdownAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "dropdown"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDropdownAttribute.DEFAULT_VALUE); } @@ -245,7 +245,7 @@ public Boolean getFormDropdownAttribute() { public void setFormDropdownAttribute(Boolean formDropdownValue) { FormDropdownAttribute attr = new FormDropdownAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDropdownValue.booleanValue()); + attr.setValue(formDropdownValue.toString()); } /** @@ -330,7 +330,7 @@ public void setFormListSourceTypeAttribute(String formListSourceTypeValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -343,7 +343,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -378,7 +378,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -391,7 +391,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -402,7 +402,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -415,7 +415,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -426,7 +426,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Integer getFormSizeAttribute() { FormSizeAttribute attr = (FormSizeAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "size"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -439,7 +439,7 @@ public Integer getFormSizeAttribute() { public void setFormSizeAttribute(Integer formSizeValue) { FormSizeAttribute attr = new FormSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formSizeValue.intValue()); + attr.setValue(formSizeValue.toString()); } /** @@ -450,7 +450,7 @@ public void setFormSizeAttribute(Integer formSizeValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -463,7 +463,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -474,7 +474,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -487,7 +487,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormDateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormDateElement.java index bb58ece325..cae7584c40 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormDateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormDateElement.java @@ -109,7 +109,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -122,7 +122,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -181,7 +181,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -194,7 +194,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -231,7 +231,7 @@ public void setFormIdAttribute(String formIdValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -244,7 +244,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -327,7 +327,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -340,7 +340,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -351,7 +351,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -364,7 +364,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -375,7 +375,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -388,7 +388,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -399,7 +399,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -412,7 +412,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormFileElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormFileElement.java index 3d57957332..fa8aba9cd7 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormFileElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormFileElement.java @@ -129,7 +129,7 @@ public void setFormCurrentValueAttribute(String formCurrentValueValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -142,7 +142,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -179,7 +179,7 @@ public void setFormIdAttribute(String formIdValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -192,7 +192,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -227,7 +227,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -240,7 +240,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -251,7 +251,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -264,7 +264,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -275,7 +275,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -288,7 +288,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -299,7 +299,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -312,7 +312,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormFixedTextElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormFixedTextElement.java index 4f251f4eca..19898d17ba 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormFixedTextElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormFixedTextElement.java @@ -102,7 +102,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -115,7 +115,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -200,7 +200,7 @@ public void setFormLabelAttribute(String formLabelValue) { public Boolean getFormMultiLineAttribute() { FormMultiLineAttribute attr = (FormMultiLineAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "multi-line"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormMultiLineAttribute.DEFAULT_VALUE); } @@ -213,7 +213,7 @@ public Boolean getFormMultiLineAttribute() { public void setFormMultiLineAttribute(Boolean formMultiLineValue) { FormMultiLineAttribute attr = new FormMultiLineAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formMultiLineValue.booleanValue()); + attr.setValue(formMultiLineValue.toString()); } /** @@ -248,7 +248,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -261,7 +261,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormFormElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormFormElement.java index 8cc76d3d64..13ef02217c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormFormElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormFormElement.java @@ -91,7 +91,7 @@ public OdfName getOdfName() { public Boolean getFormAllowDeletesAttribute() { FormAllowDeletesAttribute attr = (FormAllowDeletesAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "allow-deletes"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormAllowDeletesAttribute.DEFAULT_VALUE); } @@ -104,7 +104,7 @@ public Boolean getFormAllowDeletesAttribute() { public void setFormAllowDeletesAttribute(Boolean formAllowDeletesValue) { FormAllowDeletesAttribute attr = new FormAllowDeletesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formAllowDeletesValue.booleanValue()); + attr.setValue(formAllowDeletesValue.toString()); } /** @@ -115,7 +115,7 @@ public void setFormAllowDeletesAttribute(Boolean formAllowDeletesValue) { public Boolean getFormAllowInsertsAttribute() { FormAllowInsertsAttribute attr = (FormAllowInsertsAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "allow-inserts"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormAllowInsertsAttribute.DEFAULT_VALUE); } @@ -128,7 +128,7 @@ public Boolean getFormAllowInsertsAttribute() { public void setFormAllowInsertsAttribute(Boolean formAllowInsertsValue) { FormAllowInsertsAttribute attr = new FormAllowInsertsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formAllowInsertsValue.booleanValue()); + attr.setValue(formAllowInsertsValue.toString()); } /** @@ -139,7 +139,7 @@ public void setFormAllowInsertsAttribute(Boolean formAllowInsertsValue) { public Boolean getFormAllowUpdatesAttribute() { FormAllowUpdatesAttribute attr = (FormAllowUpdatesAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "allow-updates"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormAllowUpdatesAttribute.DEFAULT_VALUE); } @@ -152,7 +152,7 @@ public Boolean getFormAllowUpdatesAttribute() { public void setFormAllowUpdatesAttribute(Boolean formAllowUpdatesValue) { FormAllowUpdatesAttribute attr = new FormAllowUpdatesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formAllowUpdatesValue.booleanValue()); + attr.setValue(formAllowUpdatesValue.toString()); } /** @@ -163,7 +163,7 @@ public void setFormAllowUpdatesAttribute(Boolean formAllowUpdatesValue) { public Boolean getFormApplyFilterAttribute() { FormApplyFilterAttribute attr = (FormApplyFilterAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "apply-filter"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormApplyFilterAttribute.DEFAULT_VALUE); } @@ -176,7 +176,7 @@ public Boolean getFormApplyFilterAttribute() { public void setFormApplyFilterAttribute(Boolean formApplyFilterValue) { FormApplyFilterAttribute attr = new FormApplyFilterAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formApplyFilterValue.booleanValue()); + attr.setValue(formApplyFilterValue.toString()); } /** @@ -331,7 +331,7 @@ public void setFormEnctypeAttribute(String formEnctypeValue) { public Boolean getFormEscapeProcessingAttribute() { FormEscapeProcessingAttribute attr = (FormEscapeProcessingAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "escape-processing"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormEscapeProcessingAttribute.DEFAULT_VALUE); } @@ -344,7 +344,7 @@ public Boolean getFormEscapeProcessingAttribute() { public void setFormEscapeProcessingAttribute(Boolean formEscapeProcessingValue) { FormEscapeProcessingAttribute attr = new FormEscapeProcessingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formEscapeProcessingValue.booleanValue()); + attr.setValue(formEscapeProcessingValue.toString()); } /** @@ -379,7 +379,7 @@ public void setFormFilterAttribute(String formFilterValue) { public Boolean getFormIgnoreResultAttribute() { FormIgnoreResultAttribute attr = (FormIgnoreResultAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "ignore-result"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormIgnoreResultAttribute.DEFAULT_VALUE); } @@ -392,7 +392,7 @@ public Boolean getFormIgnoreResultAttribute() { public void setFormIgnoreResultAttribute(Boolean formIgnoreResultValue) { FormIgnoreResultAttribute attr = new FormIgnoreResultAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formIgnoreResultValue.booleanValue()); + attr.setValue(formIgnoreResultValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormFormattedTextElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormFormattedTextElement.java index 54ef659b36..bd0bd70c92 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormFormattedTextElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormFormattedTextElement.java @@ -110,7 +110,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -123,7 +123,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -182,7 +182,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -195,7 +195,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -232,7 +232,7 @@ public void setFormIdAttribute(String formIdValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -245,7 +245,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -328,7 +328,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -341,7 +341,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -352,7 +352,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -365,7 +365,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -376,7 +376,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -389,7 +389,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -400,7 +400,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -413,7 +413,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** @@ -448,7 +448,7 @@ public void setFormTitleAttribute(String formTitleValue) { public Boolean getFormValidationAttribute() { FormValidationAttribute attr = (FormValidationAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "validation"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormValidationAttribute.DEFAULT_VALUE); } @@ -461,7 +461,7 @@ public Boolean getFormValidationAttribute() { public void setFormValidationAttribute(Boolean formValidationValue) { FormValidationAttribute attr = new FormValidationAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formValidationValue.booleanValue()); + attr.setValue(formValidationValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormFrameElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormFrameElement.java index 47633b0dbf..cfa4ac3f32 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormFrameElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormFrameElement.java @@ -101,7 +101,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -114,7 +114,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -223,7 +223,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -236,7 +236,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormGridElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormGridElement.java index c1e836eda8..b7061adecd 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormGridElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormGridElement.java @@ -101,7 +101,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -114,7 +114,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -175,7 +175,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -188,7 +188,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -199,7 +199,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -212,7 +212,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -223,7 +223,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -236,7 +236,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormImageElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormImageElement.java index 72414a4b43..51c1b5f1a9 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormImageElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormImageElement.java @@ -130,7 +130,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -143,7 +143,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -228,7 +228,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -241,7 +241,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -252,7 +252,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -265,7 +265,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -276,7 +276,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -289,7 +289,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormImageFrameElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormImageFrameElement.java index 1d970a6441..c14685fb4a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormImageFrameElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormImageFrameElement.java @@ -126,7 +126,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -139,7 +139,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -224,7 +224,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -237,7 +237,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -248,7 +248,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -261,7 +261,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormListValueElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormListValueElement.java index 8b9ef7e371..25b4cf77f3 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormListValueElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormListValueElement.java @@ -75,7 +75,7 @@ public OdfName getOdfName() { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -88,7 +88,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -203,7 +203,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -216,7 +216,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormListboxElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormListboxElement.java index 6c8c927516..742fc86556 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormListboxElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormListboxElement.java @@ -157,7 +157,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -170,7 +170,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -181,7 +181,7 @@ public void setFormDisabledAttribute(Boolean formDisabledValue) { public Boolean getFormDropdownAttribute() { FormDropdownAttribute attr = (FormDropdownAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "dropdown"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDropdownAttribute.DEFAULT_VALUE); } @@ -194,7 +194,7 @@ public Boolean getFormDropdownAttribute() { public void setFormDropdownAttribute(Boolean formDropdownValue) { FormDropdownAttribute attr = new FormDropdownAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDropdownValue.booleanValue()); + attr.setValue(formDropdownValue.toString()); } /** @@ -279,7 +279,7 @@ public void setFormListSourceTypeAttribute(String formListSourceTypeValue) { public Boolean getFormMultipleAttribute() { FormMultipleAttribute attr = (FormMultipleAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "multiple"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormMultipleAttribute.DEFAULT_VALUE); } @@ -292,7 +292,7 @@ public Boolean getFormMultipleAttribute() { public void setFormMultipleAttribute(Boolean formMultipleValue) { FormMultipleAttribute attr = new FormMultipleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formMultipleValue.booleanValue()); + attr.setValue(formMultipleValue.toString()); } /** @@ -327,7 +327,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -340,7 +340,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -351,7 +351,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Integer getFormSizeAttribute() { FormSizeAttribute attr = (FormSizeAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "size"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -364,7 +364,7 @@ public Integer getFormSizeAttribute() { public void setFormSizeAttribute(Integer formSizeValue) { FormSizeAttribute attr = new FormSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formSizeValue.intValue()); + attr.setValue(formSizeValue.toString()); } /** @@ -375,7 +375,7 @@ public void setFormSizeAttribute(Integer formSizeValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -388,7 +388,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -399,7 +399,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -412,7 +412,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java index c02e5b9a85..00ff9f8a73 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java @@ -109,7 +109,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -122,7 +122,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -133,7 +133,7 @@ public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullVal public Double getFormCurrentValueAttribute() { FormCurrentValueAttribute attr = (FormCurrentValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "current-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -146,7 +146,7 @@ public Double getFormCurrentValueAttribute() { public void setFormCurrentValueAttribute(Double formCurrentValueValue) { FormCurrentValueAttribute attr = new FormCurrentValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(formCurrentValueValue.doubleValue()); + attr.setValue(formCurrentValueValue.toString()); } /** @@ -181,7 +181,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -194,7 +194,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -231,7 +231,7 @@ public void setFormIdAttribute(String formIdValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -244,7 +244,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -255,7 +255,7 @@ public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { public Double getFormMaxValueAttribute() { FormMaxValueAttribute attr = (FormMaxValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -268,7 +268,7 @@ public Double getFormMaxValueAttribute() { public void setFormMaxValueAttribute(Double formMaxValueValue) { FormMaxValueAttribute attr = new FormMaxValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(formMaxValueValue.doubleValue()); + attr.setValue(formMaxValueValue.toString()); } /** @@ -279,7 +279,7 @@ public void setFormMaxValueAttribute(Double formMaxValueValue) { public Double getFormMinValueAttribute() { FormMinValueAttribute attr = (FormMinValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "min-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -292,7 +292,7 @@ public Double getFormMinValueAttribute() { public void setFormMinValueAttribute(Double formMinValueValue) { FormMinValueAttribute attr = new FormMinValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(formMinValueValue.doubleValue()); + attr.setValue(formMinValueValue.toString()); } /** @@ -327,7 +327,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -340,7 +340,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -351,7 +351,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -364,7 +364,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -375,7 +375,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -388,7 +388,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -399,7 +399,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -412,7 +412,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** @@ -447,7 +447,7 @@ public void setFormTitleAttribute(String formTitleValue) { public Double getFormValueAttribute() { FormValueAttribute attr = (FormValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -460,7 +460,7 @@ public Double getFormValueAttribute() { public void setFormValueAttribute(Double formValueValue) { FormValueAttribute attr = new FormValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(formValueValue.doubleValue()); + attr.setValue(formValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormOptionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormOptionElement.java index cdc7f4156e..f744265f11 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormOptionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormOptionElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Boolean getFormCurrentSelectedAttribute() { FormCurrentSelectedAttribute attr = (FormCurrentSelectedAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "current-selected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormCurrentSelectedAttribute.DEFAULT_VALUE); } @@ -84,7 +84,7 @@ public Boolean getFormCurrentSelectedAttribute() { public void setFormCurrentSelectedAttribute(Boolean formCurrentSelectedValue) { FormCurrentSelectedAttribute attr = new FormCurrentSelectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formCurrentSelectedValue.booleanValue()); + attr.setValue(formCurrentSelectedValue.toString()); } /** @@ -119,7 +119,7 @@ public void setFormLabelAttribute(String formLabelValue) { public Boolean getFormSelectedAttribute() { FormSelectedAttribute attr = (FormSelectedAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "selected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormSelectedAttribute.DEFAULT_VALUE); } @@ -132,7 +132,7 @@ public Boolean getFormSelectedAttribute() { public void setFormSelectedAttribute(Boolean formSelectedValue) { FormSelectedAttribute attr = new FormSelectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formSelectedValue.booleanValue()); + attr.setValue(formSelectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormPasswordElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormPasswordElement.java index 324ac98847..56870ee41d 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormPasswordElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormPasswordElement.java @@ -105,7 +105,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -118,7 +118,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -129,7 +129,7 @@ public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullVal public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -142,7 +142,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -203,7 +203,7 @@ public void setFormIdAttribute(String formIdValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -216,7 +216,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -251,7 +251,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -264,7 +264,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -275,7 +275,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -288,7 +288,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -299,7 +299,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -312,7 +312,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormPropertyElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormPropertyElement.java index 0392cef51a..c390892919 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormPropertyElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormPropertyElement.java @@ -101,7 +101,7 @@ public void setFormPropertyNameAttribute(String formPropertyNameValue) { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -114,7 +114,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -223,7 +223,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -236,7 +236,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormRadioElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormRadioElement.java index d54eb709f1..31412efec6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormRadioElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormRadioElement.java @@ -109,7 +109,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormCurrentSelectedAttribute() { FormCurrentSelectedAttribute attr = (FormCurrentSelectedAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "current-selected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormCurrentSelectedAttribute.DEFAULT_VALUE); } @@ -122,7 +122,7 @@ public Boolean getFormCurrentSelectedAttribute() { public void setFormCurrentSelectedAttribute(Boolean formCurrentSelectedValue) { FormCurrentSelectedAttribute attr = new FormCurrentSelectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formCurrentSelectedValue.booleanValue()); + attr.setValue(formCurrentSelectedValue.toString()); } /** @@ -157,7 +157,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -170,7 +170,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -305,7 +305,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -318,7 +318,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -329,7 +329,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormSelectedAttribute() { FormSelectedAttribute attr = (FormSelectedAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "selected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormSelectedAttribute.DEFAULT_VALUE); } @@ -342,7 +342,7 @@ public Boolean getFormSelectedAttribute() { public void setFormSelectedAttribute(Boolean formSelectedValue) { FormSelectedAttribute attr = new FormSelectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formSelectedValue.booleanValue()); + attr.setValue(formSelectedValue.toString()); } /** @@ -353,7 +353,7 @@ public void setFormSelectedAttribute(Boolean formSelectedValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -366,7 +366,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -377,7 +377,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -390,7 +390,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormTextElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormTextElement.java index a57e7334aa..5070efb9eb 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormTextElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormTextElement.java @@ -107,7 +107,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -120,7 +120,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -179,7 +179,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -192,7 +192,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -229,7 +229,7 @@ public void setFormIdAttribute(String formIdValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -242,7 +242,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -277,7 +277,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -290,7 +290,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -301,7 +301,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -314,7 +314,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -325,7 +325,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -338,7 +338,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -349,7 +349,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -362,7 +362,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormTextareaElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormTextareaElement.java index 3c6042ff5d..783ebc4a06 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormTextareaElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormTextareaElement.java @@ -108,7 +108,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -121,7 +121,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -180,7 +180,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -193,7 +193,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -230,7 +230,7 @@ public void setFormIdAttribute(String formIdValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -243,7 +243,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -278,7 +278,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -291,7 +291,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -302,7 +302,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -315,7 +315,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -326,7 +326,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -339,7 +339,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -350,7 +350,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -363,7 +363,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormTimeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormTimeElement.java index 42e97ccd59..97f48c92e0 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormTimeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormTimeElement.java @@ -109,7 +109,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -122,7 +122,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -181,7 +181,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -194,7 +194,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -231,7 +231,7 @@ public void setFormIdAttribute(String formIdValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -244,7 +244,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -327,7 +327,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -340,7 +340,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -351,7 +351,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -364,7 +364,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -375,7 +375,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -388,7 +388,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -399,7 +399,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -412,7 +412,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormValueRangeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormValueRangeElement.java index d503ef2da9..52269e0b31 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormValueRangeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/form/FormValueRangeElement.java @@ -132,7 +132,7 @@ public void setFormDelayForRepeatAttribute(String formDelayForRepeatValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -145,7 +145,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -278,7 +278,7 @@ public void setFormOrientationAttribute(String formOrientationValue) { public Integer getFormPageStepSizeAttribute() { FormPageStepSizeAttribute attr = (FormPageStepSizeAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "page-step-size"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -291,7 +291,7 @@ public Integer getFormPageStepSizeAttribute() { public void setFormPageStepSizeAttribute(Integer formPageStepSizeValue) { FormPageStepSizeAttribute attr = new FormPageStepSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formPageStepSizeValue.intValue()); + attr.setValue(formPageStepSizeValue.toString()); } /** @@ -302,7 +302,7 @@ public void setFormPageStepSizeAttribute(Integer formPageStepSizeValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -315,7 +315,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -326,7 +326,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Integer getFormStepSizeAttribute() { FormStepSizeAttribute attr = (FormStepSizeAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "step-size"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormStepSizeAttribute.DEFAULT_VALUE); } @@ -339,7 +339,7 @@ public Integer getFormStepSizeAttribute() { public void setFormStepSizeAttribute(Integer formStepSizeValue) { FormStepSizeAttribute attr = new FormStepSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formStepSizeValue.intValue()); + attr.setValue(formStepSizeValue.toString()); } /** @@ -350,7 +350,7 @@ public void setFormStepSizeAttribute(Integer formStepSizeValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -363,7 +363,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -374,7 +374,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -387,7 +387,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberCurrencyStyleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberCurrencyStyleElement.java index 10fc1d08a5..c5d4b7f8e6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberCurrencyStyleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberCurrencyStyleElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getNumberAutomaticOrderAttribute() { NumberAutomaticOrderAttribute attr = (NumberAutomaticOrderAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "automatic-order"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberAutomaticOrderAttribute.DEFAULT_VALUE); } @@ -81,7 +81,7 @@ public Boolean getNumberAutomaticOrderAttribute() { public void setNumberAutomaticOrderAttribute(Boolean numberAutomaticOrderValue) { NumberAutomaticOrderAttribute attr = new NumberAutomaticOrderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberAutomaticOrderValue.booleanValue()); + attr.setValue(numberAutomaticOrderValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberDataStyleElementBase.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberDataStyleElementBase.java index a1aad913b5..a54b453c9d 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberDataStyleElementBase.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberDataStyleElementBase.java @@ -262,7 +262,7 @@ public void setStyleNameAttribute(String styleNameValue) { public Boolean getStyleVolatileAttribute() { StyleVolatileAttribute attr = (StyleVolatileAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "volatile"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -275,7 +275,7 @@ public Boolean getStyleVolatileAttribute() { public void setStyleVolatileAttribute(Boolean styleVolatileValue) { StyleVolatileAttribute attr = new StyleVolatileAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleVolatileValue.booleanValue()); + attr.setValue(styleVolatileValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberDateStyleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberDateStyleElement.java index 8d41172a48..0b22f606e8 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberDateStyleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberDateStyleElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Boolean getNumberAutomaticOrderAttribute() { NumberAutomaticOrderAttribute attr = (NumberAutomaticOrderAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "automatic-order"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberAutomaticOrderAttribute.DEFAULT_VALUE); } @@ -82,7 +82,7 @@ public Boolean getNumberAutomaticOrderAttribute() { public void setNumberAutomaticOrderAttribute(Boolean numberAutomaticOrderValue) { NumberAutomaticOrderAttribute attr = new NumberAutomaticOrderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberAutomaticOrderValue.booleanValue()); + attr.setValue(numberAutomaticOrderValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberEmbeddedTextElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberEmbeddedTextElement.java index 7f60fb0ec9..dcbeba74f1 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberEmbeddedTextElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberEmbeddedTextElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Integer getNumberPositionAttribute() { NumberPositionAttribute attr = (NumberPositionAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -83,7 +83,7 @@ public Integer getNumberPositionAttribute() { public void setNumberPositionAttribute(Integer numberPositionValue) { NumberPositionAttribute attr = new NumberPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberPositionValue.intValue()); + attr.setValue(numberPositionValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberFractionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberFractionElement.java index b4b1889664..bde7d2cb5d 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberFractionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberFractionElement.java @@ -72,7 +72,7 @@ public OdfName getOdfName() { public Integer getNumberDenominatorValueAttribute() { NumberDenominatorValueAttribute attr = (NumberDenominatorValueAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "denominator-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Integer getNumberDenominatorValueAttribute() { public void setNumberDenominatorValueAttribute(Integer numberDenominatorValueValue) { NumberDenominatorValueAttribute attr = new NumberDenominatorValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberDenominatorValueValue.intValue()); + attr.setValue(numberDenominatorValueValue.toString()); } /** @@ -96,7 +96,7 @@ public void setNumberDenominatorValueAttribute(Integer numberDenominatorValueVal public Boolean getNumberGroupingAttribute() { NumberGroupingAttribute attr = (NumberGroupingAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "grouping"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberGroupingAttribute.DEFAULT_VALUE); } @@ -109,7 +109,7 @@ public Boolean getNumberGroupingAttribute() { public void setNumberGroupingAttribute(Boolean numberGroupingValue) { NumberGroupingAttribute attr = new NumberGroupingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberGroupingValue.booleanValue()); + attr.setValue(numberGroupingValue.toString()); } /** @@ -120,7 +120,7 @@ public void setNumberGroupingAttribute(Boolean numberGroupingValue) { public Integer getNumberMinDenominatorDigitsAttribute() { NumberMinDenominatorDigitsAttribute attr = (NumberMinDenominatorDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-denominator-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -133,7 +133,7 @@ public Integer getNumberMinDenominatorDigitsAttribute() { public void setNumberMinDenominatorDigitsAttribute(Integer numberMinDenominatorDigitsValue) { NumberMinDenominatorDigitsAttribute attr = new NumberMinDenominatorDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinDenominatorDigitsValue.intValue()); + attr.setValue(numberMinDenominatorDigitsValue.toString()); } /** @@ -144,7 +144,7 @@ public void setNumberMinDenominatorDigitsAttribute(Integer numberMinDenominatorD public Integer getNumberMinIntegerDigitsAttribute() { NumberMinIntegerDigitsAttribute attr = (NumberMinIntegerDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-integer-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -157,7 +157,7 @@ public Integer getNumberMinIntegerDigitsAttribute() { public void setNumberMinIntegerDigitsAttribute(Integer numberMinIntegerDigitsValue) { NumberMinIntegerDigitsAttribute attr = new NumberMinIntegerDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinIntegerDigitsValue.intValue()); + attr.setValue(numberMinIntegerDigitsValue.toString()); } /** @@ -168,7 +168,7 @@ public void setNumberMinIntegerDigitsAttribute(Integer numberMinIntegerDigitsVal public Integer getNumberMinNumeratorDigitsAttribute() { NumberMinNumeratorDigitsAttribute attr = (NumberMinNumeratorDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-numerator-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -181,7 +181,7 @@ public Integer getNumberMinNumeratorDigitsAttribute() { public void setNumberMinNumeratorDigitsAttribute(Integer numberMinNumeratorDigitsValue) { NumberMinNumeratorDigitsAttribute attr = new NumberMinNumeratorDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinNumeratorDigitsValue.intValue()); + attr.setValue(numberMinNumeratorDigitsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberMonthElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberMonthElement.java index 1787ce431c..728dbb6c9e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberMonthElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberMonthElement.java @@ -95,7 +95,7 @@ public void setNumberCalendarAttribute(String numberCalendarValue) { public Boolean getNumberPossessiveFormAttribute() { NumberPossessiveFormAttribute attr = (NumberPossessiveFormAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "possessive-form"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getNumberPossessiveFormAttribute() { public void setNumberPossessiveFormAttribute(Boolean numberPossessiveFormValue) { NumberPossessiveFormAttribute attr = new NumberPossessiveFormAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberPossessiveFormValue.booleanValue()); + attr.setValue(numberPossessiveFormValue.toString()); } /** @@ -143,7 +143,7 @@ public void setNumberStyleAttribute(String numberStyleValue) { public Boolean getNumberTextualAttribute() { NumberTextualAttribute attr = (NumberTextualAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "textual"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberTextualAttribute.DEFAULT_VALUE); } @@ -156,7 +156,7 @@ public Boolean getNumberTextualAttribute() { public void setNumberTextualAttribute(Boolean numberTextualValue) { NumberTextualAttribute attr = new NumberTextualAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberTextualValue.booleanValue()); + attr.setValue(numberTextualValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberNumberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberNumberElement.java index 8d3e78b82a..2f942746a1 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberNumberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberNumberElement.java @@ -72,7 +72,7 @@ public OdfName getOdfName() { public Integer getNumberDecimalPlacesAttribute() { NumberDecimalPlacesAttribute attr = (NumberDecimalPlacesAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "decimal-places"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Integer getNumberDecimalPlacesAttribute() { public void setNumberDecimalPlacesAttribute(Integer numberDecimalPlacesValue) { NumberDecimalPlacesAttribute attr = new NumberDecimalPlacesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberDecimalPlacesValue.intValue()); + attr.setValue(numberDecimalPlacesValue.toString()); } /** @@ -120,7 +120,7 @@ public void setNumberDecimalReplacementAttribute(String numberDecimalReplacement public Double getNumberDisplayFactorAttribute() { NumberDisplayFactorAttribute attr = (NumberDisplayFactorAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "display-factor"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(NumberDisplayFactorAttribute.DEFAULT_VALUE); } @@ -133,7 +133,7 @@ public Double getNumberDisplayFactorAttribute() { public void setNumberDisplayFactorAttribute(Double numberDisplayFactorValue) { NumberDisplayFactorAttribute attr = new NumberDisplayFactorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(numberDisplayFactorValue.doubleValue()); + attr.setValue(numberDisplayFactorValue.toString()); } /** @@ -144,7 +144,7 @@ public void setNumberDisplayFactorAttribute(Double numberDisplayFactorValue) { public Boolean getNumberGroupingAttribute() { NumberGroupingAttribute attr = (NumberGroupingAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "grouping"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberGroupingAttribute.DEFAULT_VALUE); } @@ -157,7 +157,7 @@ public Boolean getNumberGroupingAttribute() { public void setNumberGroupingAttribute(Boolean numberGroupingValue) { NumberGroupingAttribute attr = new NumberGroupingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberGroupingValue.booleanValue()); + attr.setValue(numberGroupingValue.toString()); } /** @@ -168,7 +168,7 @@ public void setNumberGroupingAttribute(Boolean numberGroupingValue) { public Integer getNumberMinIntegerDigitsAttribute() { NumberMinIntegerDigitsAttribute attr = (NumberMinIntegerDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-integer-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -181,7 +181,7 @@ public Integer getNumberMinIntegerDigitsAttribute() { public void setNumberMinIntegerDigitsAttribute(Integer numberMinIntegerDigitsValue) { NumberMinIntegerDigitsAttribute attr = new NumberMinIntegerDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinIntegerDigitsValue.intValue()); + attr.setValue(numberMinIntegerDigitsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberScientificNumberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberScientificNumberElement.java index 67954fd914..a78103e6ae 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberScientificNumberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberScientificNumberElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Integer getNumberDecimalPlacesAttribute() { NumberDecimalPlacesAttribute attr = (NumberDecimalPlacesAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "decimal-places"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -84,7 +84,7 @@ public Integer getNumberDecimalPlacesAttribute() { public void setNumberDecimalPlacesAttribute(Integer numberDecimalPlacesValue) { NumberDecimalPlacesAttribute attr = new NumberDecimalPlacesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberDecimalPlacesValue.intValue()); + attr.setValue(numberDecimalPlacesValue.toString()); } /** @@ -95,7 +95,7 @@ public void setNumberDecimalPlacesAttribute(Integer numberDecimalPlacesValue) { public Boolean getNumberGroupingAttribute() { NumberGroupingAttribute attr = (NumberGroupingAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "grouping"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberGroupingAttribute.DEFAULT_VALUE); } @@ -108,7 +108,7 @@ public Boolean getNumberGroupingAttribute() { public void setNumberGroupingAttribute(Boolean numberGroupingValue) { NumberGroupingAttribute attr = new NumberGroupingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberGroupingValue.booleanValue()); + attr.setValue(numberGroupingValue.toString()); } /** @@ -119,7 +119,7 @@ public void setNumberGroupingAttribute(Boolean numberGroupingValue) { public Integer getNumberMinExponentDigitsAttribute() { NumberMinExponentDigitsAttribute attr = (NumberMinExponentDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-exponent-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -132,7 +132,7 @@ public Integer getNumberMinExponentDigitsAttribute() { public void setNumberMinExponentDigitsAttribute(Integer numberMinExponentDigitsValue) { NumberMinExponentDigitsAttribute attr = new NumberMinExponentDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinExponentDigitsValue.intValue()); + attr.setValue(numberMinExponentDigitsValue.toString()); } /** @@ -143,7 +143,7 @@ public void setNumberMinExponentDigitsAttribute(Integer numberMinExponentDigitsV public Integer getNumberMinIntegerDigitsAttribute() { NumberMinIntegerDigitsAttribute attr = (NumberMinIntegerDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-integer-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -156,7 +156,7 @@ public Integer getNumberMinIntegerDigitsAttribute() { public void setNumberMinIntegerDigitsAttribute(Integer numberMinIntegerDigitsValue) { NumberMinIntegerDigitsAttribute attr = new NumberMinIntegerDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinIntegerDigitsValue.intValue()); + attr.setValue(numberMinIntegerDigitsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberSecondsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberSecondsElement.java index 3806d40e70..79e65e3ce5 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberSecondsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberSecondsElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Integer getNumberDecimalPlacesAttribute() { NumberDecimalPlacesAttribute attr = (NumberDecimalPlacesAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "decimal-places"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(NumberDecimalPlacesAttribute.DEFAULT_VALUE); } @@ -82,7 +82,7 @@ public Integer getNumberDecimalPlacesAttribute() { public void setNumberDecimalPlacesAttribute(Integer numberDecimalPlacesValue) { NumberDecimalPlacesAttribute attr = new NumberDecimalPlacesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberDecimalPlacesValue.intValue()); + attr.setValue(numberDecimalPlacesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberTimeStyleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberTimeStyleElement.java index eebc131869..13fd49d38f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberTimeStyleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/number/NumberTimeStyleElement.java @@ -93,7 +93,7 @@ public void setNumberFormatSourceAttribute(String numberFormatSourceValue) { public Boolean getNumberTruncateOnOverflowAttribute() { NumberTruncateOnOverflowAttribute attr = (NumberTruncateOnOverflowAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "truncate-on-overflow"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberTruncateOnOverflowAttribute.DEFAULT_VALUE); } @@ -106,7 +106,7 @@ public Boolean getNumberTruncateOnOverflowAttribute() { public void setNumberTruncateOnOverflowAttribute(Boolean numberTruncateOnOverflowValue) { NumberTruncateOnOverflowAttribute attr = new NumberTruncateOnOverflowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberTruncateOnOverflowValue.booleanValue()); + attr.setValue(numberTruncateOnOverflowValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/office/OfficeAnnotationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/office/OfficeAnnotationElement.java index b6f45db619..cec4146015 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/office/OfficeAnnotationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/office/OfficeAnnotationElement.java @@ -230,7 +230,7 @@ public void setDrawTransformAttribute(String drawTransformValue) { public Boolean getOfficeDisplayAttribute() { OfficeDisplayAttribute attr = (OfficeDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -243,7 +243,7 @@ public Boolean getOfficeDisplayAttribute() { public void setOfficeDisplayAttribute(Boolean officeDisplayValue) { OfficeDisplayAttribute attr = new OfficeDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeDisplayValue.booleanValue()); + attr.setValue(officeDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/office/OfficeDdeSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/office/OfficeDdeSourceElement.java index 9defd26915..0cc8338a0e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/office/OfficeDdeSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/office/OfficeDdeSourceElement.java @@ -73,7 +73,7 @@ public OdfName getOdfName() { public Boolean getOfficeAutomaticUpdateAttribute() { OfficeAutomaticUpdateAttribute attr = (OfficeAutomaticUpdateAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "automatic-update"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(OfficeAutomaticUpdateAttribute.DEFAULT_VALUE); } @@ -86,7 +86,7 @@ public Boolean getOfficeAutomaticUpdateAttribute() { public void setOfficeAutomaticUpdateAttribute(Boolean officeAutomaticUpdateValue) { OfficeAutomaticUpdateAttribute attr = new OfficeAutomaticUpdateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeAutomaticUpdateValue.booleanValue()); + attr.setValue(officeAutomaticUpdateValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/office/OfficeFormsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/office/OfficeFormsElement.java index afc94a358e..3e32839220 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/office/OfficeFormsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/office/OfficeFormsElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Boolean getFormApplyDesignModeAttribute() { FormApplyDesignModeAttribute attr = (FormApplyDesignModeAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "apply-design-mode"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormApplyDesignModeAttribute.DEFAULT_VALUE); } @@ -84,7 +84,7 @@ public Boolean getFormApplyDesignModeAttribute() { public void setFormApplyDesignModeAttribute(Boolean formApplyDesignModeValue) { FormApplyDesignModeAttribute attr = new FormApplyDesignModeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formApplyDesignModeValue.booleanValue()); + attr.setValue(formApplyDesignModeValue.toString()); } /** @@ -95,7 +95,7 @@ public void setFormApplyDesignModeAttribute(Boolean formApplyDesignModeValue) { public Boolean getFormAutomaticFocusAttribute() { FormAutomaticFocusAttribute attr = (FormAutomaticFocusAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "automatic-focus"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormAutomaticFocusAttribute.DEFAULT_VALUE); } @@ -108,7 +108,7 @@ public Boolean getFormAutomaticFocusAttribute() { public void setFormAutomaticFocusAttribute(Boolean formAutomaticFocusValue) { FormAutomaticFocusAttribute attr = new FormAutomaticFocusAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formAutomaticFocusValue.booleanValue()); + attr.setValue(formAutomaticFocusValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/office/OfficeSpreadsheetElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/office/OfficeSpreadsheetElement.java index 114515dce7..ede7a11dde 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/office/OfficeSpreadsheetElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/office/OfficeSpreadsheetElement.java @@ -108,7 +108,7 @@ public void setTableProtectionKeyAttribute(String tableProtectionKeyValue) { public Boolean getTableStructureProtectedAttribute() { TableStructureProtectedAttribute attr = (TableStructureProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "structure-protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableStructureProtectedAttribute.DEFAULT_VALUE); } @@ -121,7 +121,7 @@ public Boolean getTableStructureProtectedAttribute() { public void setTableStructureProtectedAttribute(Boolean tableStructureProtectedValue) { TableStructureProtectedAttribute attr = new TableStructureProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableStructureProtectedValue.booleanValue()); + attr.setValue(tableStructureProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/office/OfficeTextElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/office/OfficeTextElement.java index fb6fb768fc..3826311f95 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/office/OfficeTextElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/office/OfficeTextElement.java @@ -117,7 +117,7 @@ public OdfName getOdfName() { public Boolean getTextGlobalAttribute() { TextGlobalAttribute attr = (TextGlobalAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "global"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextGlobalAttribute.DEFAULT_VALUE); } @@ -130,7 +130,7 @@ public Boolean getTextGlobalAttribute() { public void setTextGlobalAttribute(Boolean textGlobalValue) { TextGlobalAttribute attr = new TextGlobalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textGlobalValue.booleanValue()); + attr.setValue(textGlobalValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/presentation/PresentationEventListenerElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/presentation/PresentationEventListenerElement.java index 1171f846fc..b0c397a970 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/presentation/PresentationEventListenerElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/presentation/PresentationEventListenerElement.java @@ -200,7 +200,7 @@ public void setPresentationStartScaleAttribute(String presentationStartScaleValu public Integer getPresentationVerbAttribute() { PresentationVerbAttribute attr = (PresentationVerbAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "verb"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -213,7 +213,7 @@ public Integer getPresentationVerbAttribute() { public void setPresentationVerbAttribute(Integer presentationVerbValue) { PresentationVerbAttribute attr = new PresentationVerbAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(presentationVerbValue.intValue()); + attr.setValue(presentationVerbValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/presentation/PresentationSettingsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/presentation/PresentationSettingsElement.java index 80ef424b58..f2e20a34e2 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/presentation/PresentationSettingsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/presentation/PresentationSettingsElement.java @@ -104,7 +104,7 @@ public void setPresentationAnimationsAttribute(String presentationAnimationsValu public Boolean getPresentationEndlessAttribute() { PresentationEndlessAttribute attr = (PresentationEndlessAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "endless"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationEndlessAttribute.DEFAULT_VALUE); } @@ -117,7 +117,7 @@ public Boolean getPresentationEndlessAttribute() { public void setPresentationEndlessAttribute(Boolean presentationEndlessValue) { PresentationEndlessAttribute attr = new PresentationEndlessAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationEndlessValue.booleanValue()); + attr.setValue(presentationEndlessValue.toString()); } /** @@ -128,7 +128,7 @@ public void setPresentationEndlessAttribute(Boolean presentationEndlessValue) { public Boolean getPresentationForceManualAttribute() { PresentationForceManualAttribute attr = (PresentationForceManualAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "force-manual"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationForceManualAttribute.DEFAULT_VALUE); } @@ -141,7 +141,7 @@ public Boolean getPresentationForceManualAttribute() { public void setPresentationForceManualAttribute(Boolean presentationForceManualValue) { PresentationForceManualAttribute attr = new PresentationForceManualAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationForceManualValue.booleanValue()); + attr.setValue(presentationForceManualValue.toString()); } /** @@ -152,7 +152,7 @@ public void setPresentationForceManualAttribute(Boolean presentationForceManualV public Boolean getPresentationFullScreenAttribute() { PresentationFullScreenAttribute attr = (PresentationFullScreenAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "full-screen"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationFullScreenAttribute.DEFAULT_VALUE); } @@ -165,7 +165,7 @@ public Boolean getPresentationFullScreenAttribute() { public void setPresentationFullScreenAttribute(Boolean presentationFullScreenValue) { PresentationFullScreenAttribute attr = new PresentationFullScreenAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationFullScreenValue.booleanValue()); + attr.setValue(presentationFullScreenValue.toString()); } /** @@ -176,7 +176,7 @@ public void setPresentationFullScreenAttribute(Boolean presentationFullScreenVal public Boolean getPresentationMouseAsPenAttribute() { PresentationMouseAsPenAttribute attr = (PresentationMouseAsPenAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "mouse-as-pen"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationMouseAsPenAttribute.DEFAULT_VALUE); } @@ -189,7 +189,7 @@ public Boolean getPresentationMouseAsPenAttribute() { public void setPresentationMouseAsPenAttribute(Boolean presentationMouseAsPenValue) { PresentationMouseAsPenAttribute attr = new PresentationMouseAsPenAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationMouseAsPenValue.booleanValue()); + attr.setValue(presentationMouseAsPenValue.toString()); } /** @@ -200,7 +200,7 @@ public void setPresentationMouseAsPenAttribute(Boolean presentationMouseAsPenVal public Boolean getPresentationMouseVisibleAttribute() { PresentationMouseVisibleAttribute attr = (PresentationMouseVisibleAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "mouse-visible"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationMouseVisibleAttribute.DEFAULT_VALUE); } @@ -213,7 +213,7 @@ public Boolean getPresentationMouseVisibleAttribute() { public void setPresentationMouseVisibleAttribute(Boolean presentationMouseVisibleValue) { PresentationMouseVisibleAttribute attr = new PresentationMouseVisibleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationMouseVisibleValue.booleanValue()); + attr.setValue(presentationMouseVisibleValue.toString()); } /** @@ -272,7 +272,7 @@ public void setPresentationShowAttribute(String presentationShowValue) { public Boolean getPresentationShowLogoAttribute() { PresentationShowLogoAttribute attr = (PresentationShowLogoAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "show-logo"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationShowLogoAttribute.DEFAULT_VALUE); } @@ -285,7 +285,7 @@ public Boolean getPresentationShowLogoAttribute() { public void setPresentationShowLogoAttribute(Boolean presentationShowLogoValue) { PresentationShowLogoAttribute attr = new PresentationShowLogoAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationShowLogoValue.booleanValue()); + attr.setValue(presentationShowLogoValue.toString()); } /** @@ -320,7 +320,7 @@ public void setPresentationStartPageAttribute(String presentationStartPageValue) public Boolean getPresentationStartWithNavigatorAttribute() { PresentationStartWithNavigatorAttribute attr = (PresentationStartWithNavigatorAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "start-with-navigator"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationStartWithNavigatorAttribute.DEFAULT_VALUE); } @@ -333,7 +333,7 @@ public Boolean getPresentationStartWithNavigatorAttribute() { public void setPresentationStartWithNavigatorAttribute(Boolean presentationStartWithNavigatorValue) { PresentationStartWithNavigatorAttribute attr = new PresentationStartWithNavigatorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationStartWithNavigatorValue.booleanValue()); + attr.setValue(presentationStartWithNavigatorValue.toString()); } /** @@ -344,7 +344,7 @@ public void setPresentationStartWithNavigatorAttribute(Boolean presentationStart public Boolean getPresentationStayOnTopAttribute() { PresentationStayOnTopAttribute attr = (PresentationStayOnTopAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "stay-on-top"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationStayOnTopAttribute.DEFAULT_VALUE); } @@ -357,7 +357,7 @@ public Boolean getPresentationStayOnTopAttribute() { public void setPresentationStayOnTopAttribute(Boolean presentationStayOnTopValue) { PresentationStayOnTopAttribute attr = new PresentationStayOnTopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationStayOnTopValue.booleanValue()); + attr.setValue(presentationStayOnTopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/presentation/PresentationSoundElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/presentation/PresentationSoundElement.java index 4a841ef42e..9666ce172d 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/presentation/PresentationSoundElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/presentation/PresentationSoundElement.java @@ -72,7 +72,7 @@ public OdfName getOdfName() { public Boolean getPresentationPlayFullAttribute() { PresentationPlayFullAttribute attr = (PresentationPlayFullAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "play-full"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Boolean getPresentationPlayFullAttribute() { public void setPresentationPlayFullAttribute(Boolean presentationPlayFullValue) { PresentationPlayFullAttribute attr = new PresentationPlayFullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationPlayFullValue.booleanValue()); + attr.setValue(presentationPlayFullValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/style/StyleFontFaceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/style/StyleFontFaceElement.java index f3f36265e2..8109a0b9e4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/style/StyleFontFaceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/style/StyleFontFaceElement.java @@ -229,7 +229,7 @@ public void setStyleNameAttribute(String styleNameValue) { public Integer getSvgAccentHeightAttribute() { SvgAccentHeightAttribute attr = (SvgAccentHeightAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "accent-height"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -242,7 +242,7 @@ public Integer getSvgAccentHeightAttribute() { public void setSvgAccentHeightAttribute(Integer svgAccentHeightValue) { SvgAccentHeightAttribute attr = new SvgAccentHeightAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgAccentHeightValue.intValue()); + attr.setValue(svgAccentHeightValue.toString()); } /** @@ -253,7 +253,7 @@ public void setSvgAccentHeightAttribute(Integer svgAccentHeightValue) { public Integer getSvgAlphabeticAttribute() { SvgAlphabeticAttribute attr = (SvgAlphabeticAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "alphabetic"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -266,7 +266,7 @@ public Integer getSvgAlphabeticAttribute() { public void setSvgAlphabeticAttribute(Integer svgAlphabeticValue) { SvgAlphabeticAttribute attr = new SvgAlphabeticAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgAlphabeticValue.intValue()); + attr.setValue(svgAlphabeticValue.toString()); } /** @@ -277,7 +277,7 @@ public void setSvgAlphabeticAttribute(Integer svgAlphabeticValue) { public Integer getSvgAscentAttribute() { SvgAscentAttribute attr = (SvgAscentAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "ascent"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -290,7 +290,7 @@ public Integer getSvgAscentAttribute() { public void setSvgAscentAttribute(Integer svgAscentValue) { SvgAscentAttribute attr = new SvgAscentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgAscentValue.intValue()); + attr.setValue(svgAscentValue.toString()); } /** @@ -325,7 +325,7 @@ public void setSvgBboxAttribute(String svgBboxValue) { public Integer getSvgCapHeightAttribute() { SvgCapHeightAttribute attr = (SvgCapHeightAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "cap-height"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -338,7 +338,7 @@ public Integer getSvgCapHeightAttribute() { public void setSvgCapHeightAttribute(Integer svgCapHeightValue) { SvgCapHeightAttribute attr = new SvgCapHeightAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgCapHeightValue.intValue()); + attr.setValue(svgCapHeightValue.toString()); } /** @@ -349,7 +349,7 @@ public void setSvgCapHeightAttribute(Integer svgCapHeightValue) { public Integer getSvgDescentAttribute() { SvgDescentAttribute attr = (SvgDescentAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "descent"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -362,7 +362,7 @@ public Integer getSvgDescentAttribute() { public void setSvgDescentAttribute(Integer svgDescentValue) { SvgDescentAttribute attr = new SvgDescentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgDescentValue.intValue()); + attr.setValue(svgDescentValue.toString()); } /** @@ -517,7 +517,7 @@ public void setSvgFontWeightAttribute(String svgFontWeightValue) { public Integer getSvgHangingAttribute() { SvgHangingAttribute attr = (SvgHangingAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "hanging"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -530,7 +530,7 @@ public Integer getSvgHangingAttribute() { public void setSvgHangingAttribute(Integer svgHangingValue) { SvgHangingAttribute attr = new SvgHangingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgHangingValue.intValue()); + attr.setValue(svgHangingValue.toString()); } /** @@ -541,7 +541,7 @@ public void setSvgHangingAttribute(Integer svgHangingValue) { public Integer getSvgIdeographicAttribute() { SvgIdeographicAttribute attr = (SvgIdeographicAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "ideographic"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -554,7 +554,7 @@ public Integer getSvgIdeographicAttribute() { public void setSvgIdeographicAttribute(Integer svgIdeographicValue) { SvgIdeographicAttribute attr = new SvgIdeographicAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgIdeographicValue.intValue()); + attr.setValue(svgIdeographicValue.toString()); } /** @@ -565,7 +565,7 @@ public void setSvgIdeographicAttribute(Integer svgIdeographicValue) { public Integer getSvgMathematicalAttribute() { SvgMathematicalAttribute attr = (SvgMathematicalAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "mathematical"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -578,7 +578,7 @@ public Integer getSvgMathematicalAttribute() { public void setSvgMathematicalAttribute(Integer svgMathematicalValue) { SvgMathematicalAttribute attr = new SvgMathematicalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgMathematicalValue.intValue()); + attr.setValue(svgMathematicalValue.toString()); } /** @@ -589,7 +589,7 @@ public void setSvgMathematicalAttribute(Integer svgMathematicalValue) { public Integer getSvgOverlinePositionAttribute() { SvgOverlinePositionAttribute attr = (SvgOverlinePositionAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "overline-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -602,7 +602,7 @@ public Integer getSvgOverlinePositionAttribute() { public void setSvgOverlinePositionAttribute(Integer svgOverlinePositionValue) { SvgOverlinePositionAttribute attr = new SvgOverlinePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgOverlinePositionValue.intValue()); + attr.setValue(svgOverlinePositionValue.toString()); } /** @@ -613,7 +613,7 @@ public void setSvgOverlinePositionAttribute(Integer svgOverlinePositionValue) { public Integer getSvgOverlineThicknessAttribute() { SvgOverlineThicknessAttribute attr = (SvgOverlineThicknessAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "overline-thickness"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -626,7 +626,7 @@ public Integer getSvgOverlineThicknessAttribute() { public void setSvgOverlineThicknessAttribute(Integer svgOverlineThicknessValue) { SvgOverlineThicknessAttribute attr = new SvgOverlineThicknessAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgOverlineThicknessValue.intValue()); + attr.setValue(svgOverlineThicknessValue.toString()); } /** @@ -661,7 +661,7 @@ public void setSvgPanose1Attribute(String svgPanose1Value) { public Integer getSvgSlopeAttribute() { SvgSlopeAttribute attr = (SvgSlopeAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "slope"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -674,7 +674,7 @@ public Integer getSvgSlopeAttribute() { public void setSvgSlopeAttribute(Integer svgSlopeValue) { SvgSlopeAttribute attr = new SvgSlopeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgSlopeValue.intValue()); + attr.setValue(svgSlopeValue.toString()); } /** @@ -685,7 +685,7 @@ public void setSvgSlopeAttribute(Integer svgSlopeValue) { public Integer getSvgStemhAttribute() { SvgStemhAttribute attr = (SvgStemhAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "stemh"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -698,7 +698,7 @@ public Integer getSvgStemhAttribute() { public void setSvgStemhAttribute(Integer svgStemhValue) { SvgStemhAttribute attr = new SvgStemhAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgStemhValue.intValue()); + attr.setValue(svgStemhValue.toString()); } /** @@ -709,7 +709,7 @@ public void setSvgStemhAttribute(Integer svgStemhValue) { public Integer getSvgStemvAttribute() { SvgStemvAttribute attr = (SvgStemvAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "stemv"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -722,7 +722,7 @@ public Integer getSvgStemvAttribute() { public void setSvgStemvAttribute(Integer svgStemvValue) { SvgStemvAttribute attr = new SvgStemvAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgStemvValue.intValue()); + attr.setValue(svgStemvValue.toString()); } /** @@ -733,7 +733,7 @@ public void setSvgStemvAttribute(Integer svgStemvValue) { public Integer getSvgStrikethroughPositionAttribute() { SvgStrikethroughPositionAttribute attr = (SvgStrikethroughPositionAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "strikethrough-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -746,7 +746,7 @@ public Integer getSvgStrikethroughPositionAttribute() { public void setSvgStrikethroughPositionAttribute(Integer svgStrikethroughPositionValue) { SvgStrikethroughPositionAttribute attr = new SvgStrikethroughPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgStrikethroughPositionValue.intValue()); + attr.setValue(svgStrikethroughPositionValue.toString()); } /** @@ -757,7 +757,7 @@ public void setSvgStrikethroughPositionAttribute(Integer svgStrikethroughPositio public Integer getSvgStrikethroughThicknessAttribute() { SvgStrikethroughThicknessAttribute attr = (SvgStrikethroughThicknessAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "strikethrough-thickness"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -770,7 +770,7 @@ public Integer getSvgStrikethroughThicknessAttribute() { public void setSvgStrikethroughThicknessAttribute(Integer svgStrikethroughThicknessValue) { SvgStrikethroughThicknessAttribute attr = new SvgStrikethroughThicknessAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgStrikethroughThicknessValue.intValue()); + attr.setValue(svgStrikethroughThicknessValue.toString()); } /** @@ -781,7 +781,7 @@ public void setSvgStrikethroughThicknessAttribute(Integer svgStrikethroughThickn public Integer getSvgUnderlinePositionAttribute() { SvgUnderlinePositionAttribute attr = (SvgUnderlinePositionAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "underline-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -794,7 +794,7 @@ public Integer getSvgUnderlinePositionAttribute() { public void setSvgUnderlinePositionAttribute(Integer svgUnderlinePositionValue) { SvgUnderlinePositionAttribute attr = new SvgUnderlinePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgUnderlinePositionValue.intValue()); + attr.setValue(svgUnderlinePositionValue.toString()); } /** @@ -805,7 +805,7 @@ public void setSvgUnderlinePositionAttribute(Integer svgUnderlinePositionValue) public Integer getSvgUnderlineThicknessAttribute() { SvgUnderlineThicknessAttribute attr = (SvgUnderlineThicknessAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "underline-thickness"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -818,7 +818,7 @@ public Integer getSvgUnderlineThicknessAttribute() { public void setSvgUnderlineThicknessAttribute(Integer svgUnderlineThicknessValue) { SvgUnderlineThicknessAttribute attr = new SvgUnderlineThicknessAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgUnderlineThicknessValue.intValue()); + attr.setValue(svgUnderlineThicknessValue.toString()); } /** @@ -853,7 +853,7 @@ public void setSvgUnicodeRangeAttribute(String svgUnicodeRangeValue) { public Integer getSvgUnitsPerEmAttribute() { SvgUnitsPerEmAttribute attr = (SvgUnitsPerEmAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "units-per-em"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -866,7 +866,7 @@ public Integer getSvgUnitsPerEmAttribute() { public void setSvgUnitsPerEmAttribute(Integer svgUnitsPerEmValue) { SvgUnitsPerEmAttribute attr = new SvgUnitsPerEmAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgUnitsPerEmValue.intValue()); + attr.setValue(svgUnitsPerEmValue.toString()); } /** @@ -877,7 +877,7 @@ public void setSvgUnitsPerEmAttribute(Integer svgUnitsPerEmValue) { public Integer getSvgVAlphabeticAttribute() { SvgVAlphabeticAttribute attr = (SvgVAlphabeticAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "v-alphabetic"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -890,7 +890,7 @@ public Integer getSvgVAlphabeticAttribute() { public void setSvgVAlphabeticAttribute(Integer svgVAlphabeticValue) { SvgVAlphabeticAttribute attr = new SvgVAlphabeticAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgVAlphabeticValue.intValue()); + attr.setValue(svgVAlphabeticValue.toString()); } /** @@ -901,7 +901,7 @@ public void setSvgVAlphabeticAttribute(Integer svgVAlphabeticValue) { public Integer getSvgVHangingAttribute() { SvgVHangingAttribute attr = (SvgVHangingAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "v-hanging"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -914,7 +914,7 @@ public Integer getSvgVHangingAttribute() { public void setSvgVHangingAttribute(Integer svgVHangingValue) { SvgVHangingAttribute attr = new SvgVHangingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgVHangingValue.intValue()); + attr.setValue(svgVHangingValue.toString()); } /** @@ -925,7 +925,7 @@ public void setSvgVHangingAttribute(Integer svgVHangingValue) { public Integer getSvgVIdeographicAttribute() { SvgVIdeographicAttribute attr = (SvgVIdeographicAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "v-ideographic"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -938,7 +938,7 @@ public Integer getSvgVIdeographicAttribute() { public void setSvgVIdeographicAttribute(Integer svgVIdeographicValue) { SvgVIdeographicAttribute attr = new SvgVIdeographicAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgVIdeographicValue.intValue()); + attr.setValue(svgVIdeographicValue.toString()); } /** @@ -949,7 +949,7 @@ public void setSvgVIdeographicAttribute(Integer svgVIdeographicValue) { public Integer getSvgVMathematicalAttribute() { SvgVMathematicalAttribute attr = (SvgVMathematicalAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "v-mathematical"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -962,7 +962,7 @@ public Integer getSvgVMathematicalAttribute() { public void setSvgVMathematicalAttribute(Integer svgVMathematicalValue) { SvgVMathematicalAttribute attr = new SvgVMathematicalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgVMathematicalValue.intValue()); + attr.setValue(svgVMathematicalValue.toString()); } /** @@ -997,7 +997,7 @@ public void setSvgWidthsAttribute(String svgWidthsValue) { public Integer getSvgXHeightAttribute() { SvgXHeightAttribute attr = (SvgXHeightAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "x-height"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1010,7 +1010,7 @@ public Integer getSvgXHeightAttribute() { public void setSvgXHeightAttribute(Integer svgXHeightValue) { SvgXHeightAttribute attr = new SvgXHeightAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgXHeightValue.intValue()); + attr.setValue(svgXHeightValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/style/StyleFooterElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/style/StyleFooterElement.java index 8fb4e97975..6bf7f713a2 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/style/StyleFooterElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/style/StyleFooterElement.java @@ -89,7 +89,7 @@ public OdfName getOdfName() { public Boolean getStyleDisplayAttribute() { StyleDisplayAttribute attr = (StyleDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(StyleDisplayAttribute.DEFAULT_VALUE); } @@ -102,7 +102,7 @@ public Boolean getStyleDisplayAttribute() { public void setStyleDisplayAttribute(Boolean styleDisplayValue) { StyleDisplayAttribute attr = new StyleDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleDisplayValue.booleanValue()); + attr.setValue(styleDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/style/StyleFooterLeftElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/style/StyleFooterLeftElement.java index 9576fc435a..c2edc564d9 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/style/StyleFooterLeftElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/style/StyleFooterLeftElement.java @@ -89,7 +89,7 @@ public OdfName getOdfName() { public Boolean getStyleDisplayAttribute() { StyleDisplayAttribute attr = (StyleDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(StyleDisplayAttribute.DEFAULT_VALUE); } @@ -102,7 +102,7 @@ public Boolean getStyleDisplayAttribute() { public void setStyleDisplayAttribute(Boolean styleDisplayValue) { StyleDisplayAttribute attr = new StyleDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleDisplayValue.booleanValue()); + attr.setValue(styleDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/style/StyleHeaderElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/style/StyleHeaderElement.java index 54f9eb0d52..17fca501f4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/style/StyleHeaderElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/style/StyleHeaderElement.java @@ -89,7 +89,7 @@ public OdfName getOdfName() { public Boolean getStyleDisplayAttribute() { StyleDisplayAttribute attr = (StyleDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(StyleDisplayAttribute.DEFAULT_VALUE); } @@ -102,7 +102,7 @@ public Boolean getStyleDisplayAttribute() { public void setStyleDisplayAttribute(Boolean styleDisplayValue) { StyleDisplayAttribute attr = new StyleDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleDisplayValue.booleanValue()); + attr.setValue(styleDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/style/StyleHeaderLeftElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/style/StyleHeaderLeftElement.java index 602422a873..859f09777c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/style/StyleHeaderLeftElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/style/StyleHeaderLeftElement.java @@ -89,7 +89,7 @@ public OdfName getOdfName() { public Boolean getStyleDisplayAttribute() { StyleDisplayAttribute attr = (StyleDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(StyleDisplayAttribute.DEFAULT_VALUE); } @@ -102,7 +102,7 @@ public Boolean getStyleDisplayAttribute() { public void setStyleDisplayAttribute(Boolean styleDisplayValue) { StyleDisplayAttribute attr = new StyleDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleDisplayValue.booleanValue()); + attr.setValue(styleDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/style/StyleStyleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/style/StyleStyleElement.java index 71b43dbaf7..8d9c063c2c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/style/StyleStyleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/style/StyleStyleElement.java @@ -79,7 +79,7 @@ public OdfName getOdfName() { public Boolean getStyleAutoUpdateAttribute() { StyleAutoUpdateAttribute attr = (StyleAutoUpdateAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "auto-update"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(StyleAutoUpdateAttribute.DEFAULT_VALUE); } @@ -92,7 +92,7 @@ public Boolean getStyleAutoUpdateAttribute() { public void setStyleAutoUpdateAttribute(Boolean styleAutoUpdateValue) { StyleAutoUpdateAttribute attr = new StyleAutoUpdateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleAutoUpdateValue.booleanValue()); + attr.setValue(styleAutoUpdateValue.toString()); } /** @@ -151,7 +151,7 @@ public void setStyleDataStyleNameAttribute(String styleDataStyleNameValue) { public Integer getStyleDefaultOutlineLevelAttribute() { StyleDefaultOutlineLevelAttribute attr = (StyleDefaultOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "default-outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -164,7 +164,7 @@ public Integer getStyleDefaultOutlineLevelAttribute() { public void setStyleDefaultOutlineLevelAttribute(Integer styleDefaultOutlineLevelValue) { StyleDefaultOutlineLevelAttribute attr = new StyleDefaultOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleDefaultOutlineLevelValue.intValue()); + attr.setValue(styleDefaultOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/svg/SvgStopElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/svg/SvgStopElement.java index 0f7e0d5c9f..24dd32b903 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/svg/SvgStopElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/svg/SvgStopElement.java @@ -120,7 +120,7 @@ public void setSvgStopColorAttribute(String svgStopColorValue) { public Double getSvgStopOpacityAttribute() { SvgStopOpacityAttribute attr = (SvgStopOpacityAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "stop-opacity"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -133,7 +133,7 @@ public Double getSvgStopOpacityAttribute() { public void setSvgStopOpacityAttribute(Double svgStopOpacityValue) { SvgStopOpacityAttribute attr = new SvgStopOpacityAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(svgStopOpacityValue.doubleValue()); + attr.setValue(svgStopOpacityValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java index e9c4bb86d6..4af503899c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java @@ -73,7 +73,7 @@ public OdfName getOdfName() { public Boolean getTableAutomaticFindLabelsAttribute() { TableAutomaticFindLabelsAttribute attr = (TableAutomaticFindLabelsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "automatic-find-labels"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableAutomaticFindLabelsAttribute.DEFAULT_VALUE); } @@ -86,7 +86,7 @@ public Boolean getTableAutomaticFindLabelsAttribute() { public void setTableAutomaticFindLabelsAttribute(Boolean tableAutomaticFindLabelsValue) { TableAutomaticFindLabelsAttribute attr = new TableAutomaticFindLabelsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableAutomaticFindLabelsValue.booleanValue()); + attr.setValue(tableAutomaticFindLabelsValue.toString()); } /** @@ -97,7 +97,7 @@ public void setTableAutomaticFindLabelsAttribute(Boolean tableAutomaticFindLabel public Boolean getTableCaseSensitiveAttribute() { TableCaseSensitiveAttribute attr = (TableCaseSensitiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "case-sensitive"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableCaseSensitiveAttribute.DEFAULT_VALUE_TRUE); } @@ -110,7 +110,7 @@ public Boolean getTableCaseSensitiveAttribute() { public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { TableCaseSensitiveAttribute attr = new TableCaseSensitiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableCaseSensitiveValue.booleanValue()); + attr.setValue(tableCaseSensitiveValue.toString()); } /** @@ -121,7 +121,7 @@ public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { public Integer getTableNullYearAttribute() { TableNullYearAttribute attr = (TableNullYearAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "null-year"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNullYearAttribute.DEFAULT_VALUE); } @@ -134,7 +134,7 @@ public Integer getTableNullYearAttribute() { public void setTableNullYearAttribute(Integer tableNullYearValue) { TableNullYearAttribute attr = new TableNullYearAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNullYearValue.intValue()); + attr.setValue(tableNullYearValue.toString()); } /** @@ -145,7 +145,7 @@ public void setTableNullYearAttribute(Integer tableNullYearValue) { public Boolean getTablePrecisionAsShownAttribute() { TablePrecisionAsShownAttribute attr = (TablePrecisionAsShownAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "precision-as-shown"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TablePrecisionAsShownAttribute.DEFAULT_VALUE); } @@ -158,7 +158,7 @@ public Boolean getTablePrecisionAsShownAttribute() { public void setTablePrecisionAsShownAttribute(Boolean tablePrecisionAsShownValue) { TablePrecisionAsShownAttribute attr = new TablePrecisionAsShownAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tablePrecisionAsShownValue.booleanValue()); + attr.setValue(tablePrecisionAsShownValue.toString()); } /** @@ -169,7 +169,7 @@ public void setTablePrecisionAsShownAttribute(Boolean tablePrecisionAsShownValue public Boolean getTableSearchCriteriaMustApplyToWholeCellAttribute() { TableSearchCriteriaMustApplyToWholeCellAttribute attr = (TableSearchCriteriaMustApplyToWholeCellAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "search-criteria-must-apply-to-whole-cell"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableSearchCriteriaMustApplyToWholeCellAttribute.DEFAULT_VALUE); } @@ -182,7 +182,7 @@ public Boolean getTableSearchCriteriaMustApplyToWholeCellAttribute() { public void setTableSearchCriteriaMustApplyToWholeCellAttribute(Boolean tableSearchCriteriaMustApplyToWholeCellValue) { TableSearchCriteriaMustApplyToWholeCellAttribute attr = new TableSearchCriteriaMustApplyToWholeCellAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableSearchCriteriaMustApplyToWholeCellValue.booleanValue()); + attr.setValue(tableSearchCriteriaMustApplyToWholeCellValue.toString()); } /** @@ -193,7 +193,7 @@ public void setTableSearchCriteriaMustApplyToWholeCellAttribute(Boolean tableSea public Boolean getTableUseRegularExpressionsAttribute() { TableUseRegularExpressionsAttribute attr = (TableUseRegularExpressionsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "use-regular-expressions"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableUseRegularExpressionsAttribute.DEFAULT_VALUE); } @@ -206,7 +206,7 @@ public Boolean getTableUseRegularExpressionsAttribute() { public void setTableUseRegularExpressionsAttribute(Boolean tableUseRegularExpressionsValue) { TableUseRegularExpressionsAttribute attr = new TableUseRegularExpressionsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableUseRegularExpressionsValue.booleanValue()); + attr.setValue(tableUseRegularExpressionsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableCellAddressElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableCellAddressElement.java index c2f3204924..daf535053b 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableCellAddressElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableCellAddressElement.java @@ -72,7 +72,7 @@ public OdfName getOdfName() { public Integer getTableColumnAttribute() { TableColumnAttribute attr = (TableColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Integer getTableColumnAttribute() { public void setTableColumnAttribute(Integer tableColumnValue) { TableColumnAttribute attr = new TableColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableColumnValue.intValue()); + attr.setValue(tableColumnValue.toString()); } /** @@ -98,7 +98,7 @@ public void setTableColumnAttribute(Integer tableColumnValue) { public Integer getTableRowAttribute() { TableRowAttribute attr = (TableRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -111,7 +111,7 @@ public Integer getTableRowAttribute() { public void setTableRowAttribute(Integer tableRowValue) { TableRowAttribute attr = new TableRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableRowValue.intValue()); + attr.setValue(tableRowValue.toString()); } /** @@ -124,7 +124,7 @@ public void setTableRowAttribute(Integer tableRowValue) { public Integer getTableTableAttribute() { TableTableAttribute attr = (TableTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -137,7 +137,7 @@ public Integer getTableTableAttribute() { public void setTableTableAttribute(Integer tableTableValue) { TableTableAttribute attr = new TableTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableTableValue.intValue()); + attr.setValue(tableTableValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableCellRangeSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableCellRangeSourceElement.java index 1a4ca56535..91a767233a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableCellRangeSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableCellRangeSourceElement.java @@ -126,7 +126,7 @@ public void setTableFilterOptionsAttribute(String tableFilterOptionsValue) { public Integer getTableLastColumnSpannedAttribute() { TableLastColumnSpannedAttribute attr = (TableLastColumnSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "last-column-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -139,7 +139,7 @@ public Integer getTableLastColumnSpannedAttribute() { public void setTableLastColumnSpannedAttribute(Integer tableLastColumnSpannedValue) { TableLastColumnSpannedAttribute attr = new TableLastColumnSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableLastColumnSpannedValue.intValue()); + attr.setValue(tableLastColumnSpannedValue.toString()); } /** @@ -152,7 +152,7 @@ public void setTableLastColumnSpannedAttribute(Integer tableLastColumnSpannedVal public Integer getTableLastRowSpannedAttribute() { TableLastRowSpannedAttribute attr = (TableLastRowSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "last-row-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -165,7 +165,7 @@ public Integer getTableLastRowSpannedAttribute() { public void setTableLastRowSpannedAttribute(Integer tableLastRowSpannedValue) { TableLastRowSpannedAttribute attr = new TableLastRowSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableLastRowSpannedValue.intValue()); + attr.setValue(tableLastRowSpannedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableChangeTrackTableCellElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableChangeTrackTableCellElement.java index b05f4b0935..437bf9417e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableChangeTrackTableCellElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableChangeTrackTableCellElement.java @@ -80,7 +80,7 @@ public OdfName getOdfName() { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -93,7 +93,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -202,7 +202,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -215,7 +215,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** @@ -300,7 +300,7 @@ public void setTableFormulaAttribute(String tableFormulaValue) { public Boolean getTableMatrixCoveredAttribute() { TableMatrixCoveredAttribute attr = (TableMatrixCoveredAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "matrix-covered"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableMatrixCoveredAttribute.DEFAULT_VALUE); } @@ -313,7 +313,7 @@ public Boolean getTableMatrixCoveredAttribute() { public void setTableMatrixCoveredAttribute(Boolean tableMatrixCoveredValue) { TableMatrixCoveredAttribute attr = new TableMatrixCoveredAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableMatrixCoveredValue.booleanValue()); + attr.setValue(tableMatrixCoveredValue.toString()); } /** @@ -324,7 +324,7 @@ public void setTableMatrixCoveredAttribute(Boolean tableMatrixCoveredValue) { public Integer getTableNumberMatrixColumnsSpannedAttribute() { TableNumberMatrixColumnsSpannedAttribute attr = (TableNumberMatrixColumnsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-matrix-columns-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -337,7 +337,7 @@ public Integer getTableNumberMatrixColumnsSpannedAttribute() { public void setTableNumberMatrixColumnsSpannedAttribute(Integer tableNumberMatrixColumnsSpannedValue) { TableNumberMatrixColumnsSpannedAttribute attr = new TableNumberMatrixColumnsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberMatrixColumnsSpannedValue.intValue()); + attr.setValue(tableNumberMatrixColumnsSpannedValue.toString()); } /** @@ -348,7 +348,7 @@ public void setTableNumberMatrixColumnsSpannedAttribute(Integer tableNumberMatri public Integer getTableNumberMatrixRowsSpannedAttribute() { TableNumberMatrixRowsSpannedAttribute attr = (TableNumberMatrixRowsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-matrix-rows-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -361,7 +361,7 @@ public Integer getTableNumberMatrixRowsSpannedAttribute() { public void setTableNumberMatrixRowsSpannedAttribute(Integer tableNumberMatrixRowsSpannedValue) { TableNumberMatrixRowsSpannedAttribute attr = new TableNumberMatrixRowsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberMatrixRowsSpannedValue.intValue()); + attr.setValue(tableNumberMatrixRowsSpannedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableConsolidationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableConsolidationElement.java index 61852bc7a7..7a1abeb770 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableConsolidationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableConsolidationElement.java @@ -98,7 +98,7 @@ public void setTableFunctionAttribute(String tableFunctionValue) { public Boolean getTableLinkToSourceDataAttribute() { TableLinkToSourceDataAttribute attr = (TableLinkToSourceDataAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "link-to-source-data"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableLinkToSourceDataAttribute.DEFAULT_VALUE); } @@ -111,7 +111,7 @@ public Boolean getTableLinkToSourceDataAttribute() { public void setTableLinkToSourceDataAttribute(Boolean tableLinkToSourceDataValue) { TableLinkToSourceDataAttribute attr = new TableLinkToSourceDataAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableLinkToSourceDataValue.booleanValue()); + attr.setValue(tableLinkToSourceDataValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableContentValidationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableContentValidationElement.java index 92876594b5..8118e03599 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableContentValidationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableContentValidationElement.java @@ -73,7 +73,7 @@ public OdfName getOdfName() { public Boolean getTableAllowEmptyCellAttribute() { TableAllowEmptyCellAttribute attr = (TableAllowEmptyCellAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "allow-empty-cell"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableAllowEmptyCellAttribute.DEFAULT_VALUE); } @@ -86,7 +86,7 @@ public Boolean getTableAllowEmptyCellAttribute() { public void setTableAllowEmptyCellAttribute(Boolean tableAllowEmptyCellValue) { TableAllowEmptyCellAttribute attr = new TableAllowEmptyCellAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableAllowEmptyCellValue.booleanValue()); + attr.setValue(tableAllowEmptyCellValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDataPilotDisplayInfoElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDataPilotDisplayInfoElement.java index ed4b578990..5db30a3aa0 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDataPilotDisplayInfoElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDataPilotDisplayInfoElement.java @@ -125,7 +125,7 @@ public void setTableDisplayMemberModeAttribute(String tableDisplayMemberModeValu public Boolean getTableEnabledAttribute() { TableEnabledAttribute attr = (TableEnabledAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "enabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -138,7 +138,7 @@ public Boolean getTableEnabledAttribute() { public void setTableEnabledAttribute(Boolean tableEnabledValue) { TableEnabledAttribute attr = new TableEnabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableEnabledValue.booleanValue()); + attr.setValue(tableEnabledValue.toString()); } /** @@ -151,7 +151,7 @@ public void setTableEnabledAttribute(Boolean tableEnabledValue) { public Integer getTableMemberCountAttribute() { TableMemberCountAttribute attr = (TableMemberCountAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "member-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -164,7 +164,7 @@ public Integer getTableMemberCountAttribute() { public void setTableMemberCountAttribute(Integer tableMemberCountValue) { TableMemberCountAttribute attr = new TableMemberCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableMemberCountValue.intValue()); + attr.setValue(tableMemberCountValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDataPilotFieldElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDataPilotFieldElement.java index a6e8c2e2f6..8529a58d73 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDataPilotFieldElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDataPilotFieldElement.java @@ -197,7 +197,7 @@ public void setTableSourceFieldNameAttribute(String tableSourceFieldNameValue) { public Integer getTableUsedHierarchyAttribute() { TableUsedHierarchyAttribute attr = (TableUsedHierarchyAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "used-hierarchy"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableUsedHierarchyAttribute.DEFAULT_VALUE); } @@ -210,7 +210,7 @@ public Integer getTableUsedHierarchyAttribute() { public void setTableUsedHierarchyAttribute(Integer tableUsedHierarchyValue) { TableUsedHierarchyAttribute attr = new TableUsedHierarchyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableUsedHierarchyValue.intValue()); + attr.setValue(tableUsedHierarchyValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDataPilotGroupsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDataPilotGroupsElement.java index d3cb3948a3..83fad2b4f0 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDataPilotGroupsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDataPilotGroupsElement.java @@ -122,7 +122,7 @@ public void setTableDateStartAttribute(String tableDateStartValue) { public Double getTableEndAttribute() { TableEndAttribute attr = (TableEndAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -135,7 +135,7 @@ public Double getTableEndAttribute() { public void setTableEndAttribute(Double tableEndValue) { TableEndAttribute attr = new TableEndAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(tableEndValue.doubleValue()); + attr.setValue(tableEndValue.toString()); } /** @@ -198,7 +198,7 @@ public void setTableSourceFieldNameAttribute(String tableSourceFieldNameValue) { public Double getTableStartAttribute() { TableStartAttribute attr = (TableStartAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -211,7 +211,7 @@ public Double getTableStartAttribute() { public void setTableStartAttribute(Double tableStartValue) { TableStartAttribute attr = new TableStartAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(tableStartValue.doubleValue()); + attr.setValue(tableStartValue.toString()); } /** @@ -224,7 +224,7 @@ public void setTableStartAttribute(Double tableStartValue) { public Double getTableStepAttribute() { TableStepAttribute attr = (TableStepAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "step"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -237,7 +237,7 @@ public Double getTableStepAttribute() { public void setTableStepAttribute(Double tableStepValue) { TableStepAttribute attr = new TableStepAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(tableStepValue.doubleValue()); + attr.setValue(tableStepValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLayoutInfoElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLayoutInfoElement.java index 60ee6a05d7..2dca765a24 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLayoutInfoElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLayoutInfoElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Boolean getTableAddEmptyLinesAttribute() { TableAddEmptyLinesAttribute attr = (TableAddEmptyLinesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "add-empty-lines"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -84,7 +84,7 @@ public Boolean getTableAddEmptyLinesAttribute() { public void setTableAddEmptyLinesAttribute(Boolean tableAddEmptyLinesValue) { TableAddEmptyLinesAttribute attr = new TableAddEmptyLinesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableAddEmptyLinesValue.booleanValue()); + attr.setValue(tableAddEmptyLinesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLevelElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLevelElement.java index eaacb6a5b0..05c1b233f1 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLevelElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLevelElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTableShowEmptyAttribute() { TableShowEmptyAttribute attr = (TableShowEmptyAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "show-empty"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTableShowEmptyAttribute() { public void setTableShowEmptyAttribute(Boolean tableShowEmptyValue) { TableShowEmptyAttribute attr = new TableShowEmptyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableShowEmptyValue.booleanValue()); + attr.setValue(tableShowEmptyValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDataPilotMemberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDataPilotMemberElement.java index 6da4e78e41..0c90005e8e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDataPilotMemberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDataPilotMemberElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Boolean getTableDisplayAttribute() { TableDisplayAttribute attr = (TableDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -83,7 +83,7 @@ public Boolean getTableDisplayAttribute() { public void setTableDisplayAttribute(Boolean tableDisplayValue) { TableDisplayAttribute attr = new TableDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayValue.booleanValue()); + attr.setValue(tableDisplayValue.toString()); } /** @@ -120,7 +120,7 @@ public void setTableNameAttribute(String tableNameValue) { public Boolean getTableShowDetailsAttribute() { TableShowDetailsAttribute attr = (TableShowDetailsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "show-details"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -133,7 +133,7 @@ public Boolean getTableShowDetailsAttribute() { public void setTableShowDetailsAttribute(Boolean tableShowDetailsValue) { TableShowDetailsAttribute attr = new TableShowDetailsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableShowDetailsValue.booleanValue()); + attr.setValue(tableShowDetailsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDataPilotTableElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDataPilotTableElement.java index 11d153641a..cf86d2a252 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDataPilotTableElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDataPilotTableElement.java @@ -124,7 +124,7 @@ public void setTableButtonsAttribute(String tableButtonsValue) { public Boolean getTableDrillDownOnDoubleClickAttribute() { TableDrillDownOnDoubleClickAttribute attr = (TableDrillDownOnDoubleClickAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "drill-down-on-double-click"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDrillDownOnDoubleClickAttribute.DEFAULT_VALUE); } @@ -137,7 +137,7 @@ public Boolean getTableDrillDownOnDoubleClickAttribute() { public void setTableDrillDownOnDoubleClickAttribute(Boolean tableDrillDownOnDoubleClickValue) { TableDrillDownOnDoubleClickAttribute attr = new TableDrillDownOnDoubleClickAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDrillDownOnDoubleClickValue.booleanValue()); + attr.setValue(tableDrillDownOnDoubleClickValue.toString()); } /** @@ -172,7 +172,7 @@ public void setTableGrandTotalAttribute(String tableGrandTotalValue) { public Boolean getTableIdentifyCategoriesAttribute() { TableIdentifyCategoriesAttribute attr = (TableIdentifyCategoriesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "identify-categories"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableIdentifyCategoriesAttribute.DEFAULT_VALUE); } @@ -185,7 +185,7 @@ public Boolean getTableIdentifyCategoriesAttribute() { public void setTableIdentifyCategoriesAttribute(Boolean tableIdentifyCategoriesValue) { TableIdentifyCategoriesAttribute attr = new TableIdentifyCategoriesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableIdentifyCategoriesValue.booleanValue()); + attr.setValue(tableIdentifyCategoriesValue.toString()); } /** @@ -196,7 +196,7 @@ public void setTableIdentifyCategoriesAttribute(Boolean tableIdentifyCategoriesV public Boolean getTableIgnoreEmptyRowsAttribute() { TableIgnoreEmptyRowsAttribute attr = (TableIgnoreEmptyRowsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "ignore-empty-rows"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableIgnoreEmptyRowsAttribute.DEFAULT_VALUE); } @@ -209,7 +209,7 @@ public Boolean getTableIgnoreEmptyRowsAttribute() { public void setTableIgnoreEmptyRowsAttribute(Boolean tableIgnoreEmptyRowsValue) { TableIgnoreEmptyRowsAttribute attr = new TableIgnoreEmptyRowsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableIgnoreEmptyRowsValue.booleanValue()); + attr.setValue(tableIgnoreEmptyRowsValue.toString()); } /** @@ -246,7 +246,7 @@ public void setTableNameAttribute(String tableNameValue) { public Boolean getTableShowFilterButtonAttribute() { TableShowFilterButtonAttribute attr = (TableShowFilterButtonAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "show-filter-button"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableShowFilterButtonAttribute.DEFAULT_VALUE); } @@ -259,7 +259,7 @@ public Boolean getTableShowFilterButtonAttribute() { public void setTableShowFilterButtonAttribute(Boolean tableShowFilterButtonValue) { TableShowFilterButtonAttribute attr = new TableShowFilterButtonAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableShowFilterButtonValue.booleanValue()); + attr.setValue(tableShowFilterButtonValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java index 1b91550e98..d05edcc1ef 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java @@ -77,7 +77,7 @@ public OdfName getOdfName() { public Boolean getTableContainsHeaderAttribute() { TableContainsHeaderAttribute attr = (TableContainsHeaderAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "contains-header"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableContainsHeaderAttribute.DEFAULT_VALUE); } @@ -90,7 +90,7 @@ public Boolean getTableContainsHeaderAttribute() { public void setTableContainsHeaderAttribute(Boolean tableContainsHeaderValue) { TableContainsHeaderAttribute attr = new TableContainsHeaderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableContainsHeaderValue.booleanValue()); + attr.setValue(tableContainsHeaderValue.toString()); } /** @@ -101,7 +101,7 @@ public void setTableContainsHeaderAttribute(Boolean tableContainsHeaderValue) { public Boolean getTableDisplayFilterButtonsAttribute() { TableDisplayFilterButtonsAttribute attr = (TableDisplayFilterButtonsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display-filter-buttons"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayFilterButtonsAttribute.DEFAULT_VALUE); } @@ -114,7 +114,7 @@ public Boolean getTableDisplayFilterButtonsAttribute() { public void setTableDisplayFilterButtonsAttribute(Boolean tableDisplayFilterButtonsValue) { TableDisplayFilterButtonsAttribute attr = new TableDisplayFilterButtonsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayFilterButtonsValue.booleanValue()); + attr.setValue(tableDisplayFilterButtonsValue.toString()); } /** @@ -125,7 +125,7 @@ public void setTableDisplayFilterButtonsAttribute(Boolean tableDisplayFilterButt public Boolean getTableHasPersistentDataAttribute() { TableHasPersistentDataAttribute attr = (TableHasPersistentDataAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "has-persistent-data"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableHasPersistentDataAttribute.DEFAULT_VALUE); } @@ -138,7 +138,7 @@ public Boolean getTableHasPersistentDataAttribute() { public void setTableHasPersistentDataAttribute(Boolean tableHasPersistentDataValue) { TableHasPersistentDataAttribute attr = new TableHasPersistentDataAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableHasPersistentDataValue.booleanValue()); + attr.setValue(tableHasPersistentDataValue.toString()); } /** @@ -149,7 +149,7 @@ public void setTableHasPersistentDataAttribute(Boolean tableHasPersistentDataVal public Boolean getTableIsSelectionAttribute() { TableIsSelectionAttribute attr = (TableIsSelectionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "is-selection"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableIsSelectionAttribute.DEFAULT_VALUE); } @@ -162,7 +162,7 @@ public Boolean getTableIsSelectionAttribute() { public void setTableIsSelectionAttribute(Boolean tableIsSelectionValue) { TableIsSelectionAttribute attr = new TableIsSelectionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableIsSelectionValue.booleanValue()); + attr.setValue(tableIsSelectionValue.toString()); } /** @@ -197,7 +197,7 @@ public void setTableNameAttribute(String tableNameValue) { public Boolean getTableOnUpdateKeepSizeAttribute() { TableOnUpdateKeepSizeAttribute attr = (TableOnUpdateKeepSizeAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "on-update-keep-size"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableOnUpdateKeepSizeAttribute.DEFAULT_VALUE); } @@ -210,7 +210,7 @@ public Boolean getTableOnUpdateKeepSizeAttribute() { public void setTableOnUpdateKeepSizeAttribute(Boolean tableOnUpdateKeepSizeValue) { TableOnUpdateKeepSizeAttribute attr = new TableOnUpdateKeepSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableOnUpdateKeepSizeValue.booleanValue()); + attr.setValue(tableOnUpdateKeepSizeValue.toString()); } /** @@ -221,7 +221,7 @@ public void setTableOnUpdateKeepSizeAttribute(Boolean tableOnUpdateKeepSizeValue public Boolean getTableOnUpdateKeepStylesAttribute() { TableOnUpdateKeepStylesAttribute attr = (TableOnUpdateKeepStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "on-update-keep-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableOnUpdateKeepStylesAttribute.DEFAULT_VALUE); } @@ -234,7 +234,7 @@ public Boolean getTableOnUpdateKeepStylesAttribute() { public void setTableOnUpdateKeepStylesAttribute(Boolean tableOnUpdateKeepStylesValue) { TableOnUpdateKeepStylesAttribute attr = new TableOnUpdateKeepStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableOnUpdateKeepStylesValue.booleanValue()); + attr.setValue(tableOnUpdateKeepStylesValue.toString()); } /** @@ -269,7 +269,7 @@ public void setTableOrientationAttribute(String tableOrientationValue) { public Boolean getTableRefreshDelayAttribute() { TableRefreshDelayAttribute attr = (TableRefreshDelayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "refresh-delay"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -282,7 +282,7 @@ public Boolean getTableRefreshDelayAttribute() { public void setTableRefreshDelayAttribute(Boolean tableRefreshDelayValue) { TableRefreshDelayAttribute attr = new TableRefreshDelayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableRefreshDelayValue.booleanValue()); + attr.setValue(tableRefreshDelayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDatabaseSourceSqlElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDatabaseSourceSqlElement.java index dfc9cd3ccb..76edc4c41f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDatabaseSourceSqlElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDatabaseSourceSqlElement.java @@ -96,7 +96,7 @@ public void setTableDatabaseNameAttribute(String tableDatabaseNameValue) { public Boolean getTableParseSqlStatementAttribute() { TableParseSqlStatementAttribute attr = (TableParseSqlStatementAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "parse-sql-statement"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableParseSqlStatementAttribute.DEFAULT_VALUE); } @@ -109,7 +109,7 @@ public Boolean getTableParseSqlStatementAttribute() { public void setTableParseSqlStatementAttribute(Boolean tableParseSqlStatementValue) { TableParseSqlStatementAttribute attr = new TableParseSqlStatementAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableParseSqlStatementValue.booleanValue()); + attr.setValue(tableParseSqlStatementValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDeletionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDeletionElement.java index 6b492a7665..048438f35f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDeletionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableDeletionElement.java @@ -125,7 +125,7 @@ public void setTableIdAttribute(String tableIdValue) { public Integer getTableMultiDeletionSpannedAttribute() { TableMultiDeletionSpannedAttribute attr = (TableMultiDeletionSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "multi-deletion-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -138,7 +138,7 @@ public Integer getTableMultiDeletionSpannedAttribute() { public void setTableMultiDeletionSpannedAttribute(Integer tableMultiDeletionSpannedValue) { TableMultiDeletionSpannedAttribute attr = new TableMultiDeletionSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableMultiDeletionSpannedValue.intValue()); + attr.setValue(tableMultiDeletionSpannedValue.toString()); } /** @@ -151,7 +151,7 @@ public void setTableMultiDeletionSpannedAttribute(Integer tableMultiDeletionSpan public Integer getTablePositionAttribute() { TablePositionAttribute attr = (TablePositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -164,7 +164,7 @@ public Integer getTablePositionAttribute() { public void setTablePositionAttribute(Integer tablePositionValue) { TablePositionAttribute attr = new TablePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tablePositionValue.intValue()); + attr.setValue(tablePositionValue.toString()); } /** @@ -199,7 +199,7 @@ public void setTableRejectingChangeIdAttribute(String tableRejectingChangeIdValu public Integer getTableTableAttribute() { TableTableAttribute attr = (TableTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -212,7 +212,7 @@ public Integer getTableTableAttribute() { public void setTableTableAttribute(Integer tableTableValue) { TableTableAttribute attr = new TableTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableTableValue.intValue()); + attr.setValue(tableTableValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableErrorMacroElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableErrorMacroElement.java index 2d57d893cc..2a34ec3dbb 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableErrorMacroElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableErrorMacroElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTableExecuteAttribute() { TableExecuteAttribute attr = (TableExecuteAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "execute"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableExecuteAttribute.DEFAULT_VALUE); } @@ -81,7 +81,7 @@ public Boolean getTableExecuteAttribute() { public void setTableExecuteAttribute(Boolean tableExecuteValue) { TableExecuteAttribute attr = new TableExecuteAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableExecuteValue.booleanValue()); + attr.setValue(tableExecuteValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableErrorMessageElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableErrorMessageElement.java index 1f7c4769a0..d5ef665e82 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableErrorMessageElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableErrorMessageElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Boolean getTableDisplayAttribute() { TableDisplayAttribute attr = (TableDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayAttribute.DEFAULT_VALUE_FALSE); } @@ -84,7 +84,7 @@ public Boolean getTableDisplayAttribute() { public void setTableDisplayAttribute(Boolean tableDisplayValue) { TableDisplayAttribute attr = new TableDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayValue.booleanValue()); + attr.setValue(tableDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableFilterConditionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableFilterConditionElement.java index ab9c6a917a..5f4243b7bb 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableFilterConditionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableFilterConditionElement.java @@ -122,7 +122,7 @@ public void setTableDataTypeAttribute(String tableDataTypeValue) { public Integer getTableFieldNumberAttribute() { TableFieldNumberAttribute attr = (TableFieldNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "field-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -135,7 +135,7 @@ public Integer getTableFieldNumberAttribute() { public void setTableFieldNumberAttribute(Integer tableFieldNumberValue) { TableFieldNumberAttribute attr = new TableFieldNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableFieldNumberValue.intValue()); + attr.setValue(tableFieldNumberValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableFilterElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableFilterElement.java index b71e4271ae..6f4dda149f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableFilterElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableFilterElement.java @@ -119,7 +119,7 @@ public void setTableConditionSourceRangeAddressAttribute(String tableConditionSo public Boolean getTableDisplayDuplicatesAttribute() { TableDisplayDuplicatesAttribute attr = (TableDisplayDuplicatesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display-duplicates"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayDuplicatesAttribute.DEFAULT_VALUE); } @@ -132,7 +132,7 @@ public Boolean getTableDisplayDuplicatesAttribute() { public void setTableDisplayDuplicatesAttribute(Boolean tableDisplayDuplicatesValue) { TableDisplayDuplicatesAttribute attr = new TableDisplayDuplicatesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayDuplicatesValue.booleanValue()); + attr.setValue(tableDisplayDuplicatesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableHelpMessageElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableHelpMessageElement.java index fc4cefee7a..3b14a9c739 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableHelpMessageElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableHelpMessageElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Boolean getTableDisplayAttribute() { TableDisplayAttribute attr = (TableDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayAttribute.DEFAULT_VALUE_FALSE); } @@ -83,7 +83,7 @@ public Boolean getTableDisplayAttribute() { public void setTableDisplayAttribute(Boolean tableDisplayValue) { TableDisplayAttribute attr = new TableDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayValue.booleanValue()); + attr.setValue(tableDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableHighlightedRangeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableHighlightedRangeElement.java index b02b575059..3e8b60a279 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableHighlightedRangeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableHighlightedRangeElement.java @@ -95,7 +95,7 @@ public void setTableCellRangeAddressAttribute(String tableCellRangeAddressValue) public Boolean getTableContainsErrorAttribute() { TableContainsErrorAttribute attr = (TableContainsErrorAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "contains-error"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableContainsErrorAttribute.DEFAULT_VALUE); } @@ -108,7 +108,7 @@ public Boolean getTableContainsErrorAttribute() { public void setTableContainsErrorAttribute(Boolean tableContainsErrorValue) { TableContainsErrorAttribute attr = new TableContainsErrorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableContainsErrorValue.booleanValue()); + attr.setValue(tableContainsErrorValue.toString()); } /** @@ -143,7 +143,7 @@ public void setTableDirectionAttribute(String tableDirectionValue) { public Boolean getTableMarkedInvalidAttribute() { TableMarkedInvalidAttribute attr = (TableMarkedInvalidAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "marked-invalid"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -156,7 +156,7 @@ public Boolean getTableMarkedInvalidAttribute() { public void setTableMarkedInvalidAttribute(Boolean tableMarkedInvalidValue) { TableMarkedInvalidAttribute attr = new TableMarkedInvalidAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableMarkedInvalidValue.booleanValue()); + attr.setValue(tableMarkedInvalidValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableInsertionCutOffElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableInsertionCutOffElement.java index a7624eb005..de08dc074f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableInsertionCutOffElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableInsertionCutOffElement.java @@ -97,7 +97,7 @@ public void setTableIdAttribute(String tableIdValue) { public Integer getTablePositionAttribute() { TablePositionAttribute attr = (TablePositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -110,7 +110,7 @@ public Integer getTablePositionAttribute() { public void setTablePositionAttribute(Integer tablePositionValue) { TablePositionAttribute attr = new TablePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tablePositionValue.intValue()); + attr.setValue(tablePositionValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableInsertionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableInsertionElement.java index c724e23e09..e48a82097f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableInsertionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableInsertionElement.java @@ -99,7 +99,7 @@ public void setTableAcceptanceStateAttribute(String tableAcceptanceStateValue) { public Integer getTableCountAttribute() { TableCountAttribute attr = (TableCountAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableCountAttribute.DEFAULT_VALUE); } @@ -112,7 +112,7 @@ public Integer getTableCountAttribute() { public void setTableCountAttribute(Integer tableCountValue) { TableCountAttribute attr = new TableCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableCountValue.intValue()); + attr.setValue(tableCountValue.toString()); } /** @@ -151,7 +151,7 @@ public void setTableIdAttribute(String tableIdValue) { public Integer getTablePositionAttribute() { TablePositionAttribute attr = (TablePositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -164,7 +164,7 @@ public Integer getTablePositionAttribute() { public void setTablePositionAttribute(Integer tablePositionValue) { TablePositionAttribute attr = new TablePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tablePositionValue.intValue()); + attr.setValue(tablePositionValue.toString()); } /** @@ -199,7 +199,7 @@ public void setTableRejectingChangeIdAttribute(String tableRejectingChangeIdValu public Integer getTableTableAttribute() { TableTableAttribute attr = (TableTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -212,7 +212,7 @@ public Integer getTableTableAttribute() { public void setTableTableAttribute(Integer tableTableValue) { TableTableAttribute attr = new TableTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableTableValue.intValue()); + attr.setValue(tableTableValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableIterationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableIterationElement.java index b6a19084e8..e8ffb17259 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableIterationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableIterationElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Double getTableMaximumDifferenceAttribute() { TableMaximumDifferenceAttribute attr = (TableMaximumDifferenceAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "maximum-difference"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(TableMaximumDifferenceAttribute.DEFAULT_VALUE); } @@ -83,7 +83,7 @@ public Double getTableMaximumDifferenceAttribute() { public void setTableMaximumDifferenceAttribute(Double tableMaximumDifferenceValue) { TableMaximumDifferenceAttribute attr = new TableMaximumDifferenceAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(tableMaximumDifferenceValue.doubleValue()); + attr.setValue(tableMaximumDifferenceValue.toString()); } /** @@ -118,7 +118,7 @@ public void setTableStatusAttribute(String tableStatusValue) { public Integer getTableStepsAttribute() { TableStepsAttribute attr = (TableStepsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "steps"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableStepsAttribute.DEFAULT_VALUE); } @@ -131,7 +131,7 @@ public Integer getTableStepsAttribute() { public void setTableStepsAttribute(Integer tableStepsValue) { TableStepsAttribute attr = new TableStepsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStepsValue.intValue()); + attr.setValue(tableStepsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableMovementCutOffElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableMovementCutOffElement.java index a825acdf00..0b2306508f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableMovementCutOffElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableMovementCutOffElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Integer getTableEndPositionAttribute() { TableEndPositionAttribute attr = (TableEndPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -83,7 +83,7 @@ public Integer getTableEndPositionAttribute() { public void setTableEndPositionAttribute(Integer tableEndPositionValue) { TableEndPositionAttribute attr = new TableEndPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndPositionValue.intValue()); + attr.setValue(tableEndPositionValue.toString()); } /** @@ -94,7 +94,7 @@ public void setTableEndPositionAttribute(Integer tableEndPositionValue) { public Integer getTablePositionAttribute() { TablePositionAttribute attr = (TablePositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -107,7 +107,7 @@ public Integer getTablePositionAttribute() { public void setTablePositionAttribute(Integer tablePositionValue) { TablePositionAttribute attr = new TablePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tablePositionValue.intValue()); + attr.setValue(tablePositionValue.toString()); } /** @@ -118,7 +118,7 @@ public void setTablePositionAttribute(Integer tablePositionValue) { public Integer getTableStartPositionAttribute() { TableStartPositionAttribute attr = (TableStartPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -131,7 +131,7 @@ public Integer getTableStartPositionAttribute() { public void setTableStartPositionAttribute(Integer tableStartPositionValue) { TableStartPositionAttribute attr = new TableStartPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartPositionValue.intValue()); + attr.setValue(tableStartPositionValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableOperationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableOperationElement.java index 4379c659ce..b619779e3e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableOperationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableOperationElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Integer getTableIndexAttribute() { TableIndexAttribute attr = (TableIndexAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -84,7 +84,7 @@ public Integer getTableIndexAttribute() { public void setTableIndexAttribute(Integer tableIndexValue) { TableIndexAttribute attr = new TableIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableIndexValue.intValue()); + attr.setValue(tableIndexValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableScenarioElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableScenarioElement.java index 7853b1c627..00c6dbdc72 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableScenarioElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableScenarioElement.java @@ -124,7 +124,7 @@ public void setTableCommentAttribute(String tableCommentValue) { public Boolean getTableCopyBackAttribute() { TableCopyBackAttribute attr = (TableCopyBackAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "copy-back"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableCopyBackAttribute.DEFAULT_VALUE); } @@ -137,7 +137,7 @@ public Boolean getTableCopyBackAttribute() { public void setTableCopyBackAttribute(Boolean tableCopyBackValue) { TableCopyBackAttribute attr = new TableCopyBackAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableCopyBackValue.booleanValue()); + attr.setValue(tableCopyBackValue.toString()); } /** @@ -148,7 +148,7 @@ public void setTableCopyBackAttribute(Boolean tableCopyBackValue) { public Boolean getTableCopyFormulasAttribute() { TableCopyFormulasAttribute attr = (TableCopyFormulasAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "copy-formulas"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableCopyFormulasAttribute.DEFAULT_VALUE); } @@ -161,7 +161,7 @@ public Boolean getTableCopyFormulasAttribute() { public void setTableCopyFormulasAttribute(Boolean tableCopyFormulasValue) { TableCopyFormulasAttribute attr = new TableCopyFormulasAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableCopyFormulasValue.booleanValue()); + attr.setValue(tableCopyFormulasValue.toString()); } /** @@ -172,7 +172,7 @@ public void setTableCopyFormulasAttribute(Boolean tableCopyFormulasValue) { public Boolean getTableCopyStylesAttribute() { TableCopyStylesAttribute attr = (TableCopyStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "copy-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableCopyStylesAttribute.DEFAULT_VALUE); } @@ -185,7 +185,7 @@ public Boolean getTableCopyStylesAttribute() { public void setTableCopyStylesAttribute(Boolean tableCopyStylesValue) { TableCopyStylesAttribute attr = new TableCopyStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableCopyStylesValue.booleanValue()); + attr.setValue(tableCopyStylesValue.toString()); } /** @@ -196,7 +196,7 @@ public void setTableCopyStylesAttribute(Boolean tableCopyStylesValue) { public Boolean getTableDisplayBorderAttribute() { TableDisplayBorderAttribute attr = (TableDisplayBorderAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display-border"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayBorderAttribute.DEFAULT_VALUE); } @@ -209,7 +209,7 @@ public Boolean getTableDisplayBorderAttribute() { public void setTableDisplayBorderAttribute(Boolean tableDisplayBorderValue) { TableDisplayBorderAttribute attr = new TableDisplayBorderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayBorderValue.booleanValue()); + attr.setValue(tableDisplayBorderValue.toString()); } /** @@ -222,7 +222,7 @@ public void setTableDisplayBorderAttribute(Boolean tableDisplayBorderValue) { public Boolean getTableIsActiveAttribute() { TableIsActiveAttribute attr = (TableIsActiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "is-active"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -235,7 +235,7 @@ public Boolean getTableIsActiveAttribute() { public void setTableIsActiveAttribute(Boolean tableIsActiveValue) { TableIsActiveAttribute attr = new TableIsActiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableIsActiveValue.booleanValue()); + attr.setValue(tableIsActiveValue.toString()); } /** @@ -246,7 +246,7 @@ public void setTableIsActiveAttribute(Boolean tableIsActiveValue) { public Boolean getTableProtectedAttribute() { TableProtectedAttribute attr = (TableProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -259,7 +259,7 @@ public Boolean getTableProtectedAttribute() { public void setTableProtectedAttribute(Boolean tableProtectedValue) { TableProtectedAttribute attr = new TableProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableProtectedValue.booleanValue()); + attr.setValue(tableProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSortByElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSortByElement.java index 7499b633c9..8d0d1e5f09 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSortByElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSortByElement.java @@ -96,7 +96,7 @@ public void setTableDataTypeAttribute(String tableDataTypeValue) { public Integer getTableFieldNumberAttribute() { TableFieldNumberAttribute attr = (TableFieldNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "field-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -109,7 +109,7 @@ public Integer getTableFieldNumberAttribute() { public void setTableFieldNumberAttribute(Integer tableFieldNumberValue) { TableFieldNumberAttribute attr = new TableFieldNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableFieldNumberValue.intValue()); + attr.setValue(tableFieldNumberValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java index 56d1cbfc97..22cba6fb05 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java @@ -97,7 +97,7 @@ public void setTableAlgorithmAttribute(String tableAlgorithmValue) { public Boolean getTableBindStylesToContentAttribute() { TableBindStylesToContentAttribute attr = (TableBindStylesToContentAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "bind-styles-to-content"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableBindStylesToContentAttribute.DEFAULT_VALUE); } @@ -110,7 +110,7 @@ public Boolean getTableBindStylesToContentAttribute() { public void setTableBindStylesToContentAttribute(Boolean tableBindStylesToContentValue) { TableBindStylesToContentAttribute attr = new TableBindStylesToContentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableBindStylesToContentValue.booleanValue()); + attr.setValue(tableBindStylesToContentValue.toString()); } /** @@ -121,7 +121,7 @@ public void setTableBindStylesToContentAttribute(Boolean tableBindStylesToConten public Boolean getTableCaseSensitiveAttribute() { TableCaseSensitiveAttribute attr = (TableCaseSensitiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "case-sensitive"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableCaseSensitiveAttribute.DEFAULT_VALUE_FALSE); } @@ -134,7 +134,7 @@ public Boolean getTableCaseSensitiveAttribute() { public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { TableCaseSensitiveAttribute attr = new TableCaseSensitiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableCaseSensitiveValue.booleanValue()); + attr.setValue(tableCaseSensitiveValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSourceRangeAddressElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSourceRangeAddressElement.java index 3b6f830d88..67464b9a90 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSourceRangeAddressElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSourceRangeAddressElement.java @@ -76,7 +76,7 @@ public OdfName getOdfName() { public Integer getTableColumnAttribute() { TableColumnAttribute attr = (TableColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -89,7 +89,7 @@ public Integer getTableColumnAttribute() { public void setTableColumnAttribute(Integer tableColumnValue) { TableColumnAttribute attr = new TableColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableColumnValue.intValue()); + attr.setValue(tableColumnValue.toString()); } /** @@ -100,7 +100,7 @@ public void setTableColumnAttribute(Integer tableColumnValue) { public Integer getTableEndColumnAttribute() { TableEndColumnAttribute attr = (TableEndColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -113,7 +113,7 @@ public Integer getTableEndColumnAttribute() { public void setTableEndColumnAttribute(Integer tableEndColumnValue) { TableEndColumnAttribute attr = new TableEndColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndColumnValue.intValue()); + attr.setValue(tableEndColumnValue.toString()); } /** @@ -124,7 +124,7 @@ public void setTableEndColumnAttribute(Integer tableEndColumnValue) { public Integer getTableEndRowAttribute() { TableEndRowAttribute attr = (TableEndRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -137,7 +137,7 @@ public Integer getTableEndRowAttribute() { public void setTableEndRowAttribute(Integer tableEndRowValue) { TableEndRowAttribute attr = new TableEndRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndRowValue.intValue()); + attr.setValue(tableEndRowValue.toString()); } /** @@ -148,7 +148,7 @@ public void setTableEndRowAttribute(Integer tableEndRowValue) { public Integer getTableEndTableAttribute() { TableEndTableAttribute attr = (TableEndTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -161,7 +161,7 @@ public Integer getTableEndTableAttribute() { public void setTableEndTableAttribute(Integer tableEndTableValue) { TableEndTableAttribute attr = new TableEndTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndTableValue.intValue()); + attr.setValue(tableEndTableValue.toString()); } /** @@ -172,7 +172,7 @@ public void setTableEndTableAttribute(Integer tableEndTableValue) { public Integer getTableRowAttribute() { TableRowAttribute attr = (TableRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -185,7 +185,7 @@ public Integer getTableRowAttribute() { public void setTableRowAttribute(Integer tableRowValue) { TableRowAttribute attr = new TableRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableRowValue.intValue()); + attr.setValue(tableRowValue.toString()); } /** @@ -196,7 +196,7 @@ public void setTableRowAttribute(Integer tableRowValue) { public Integer getTableStartColumnAttribute() { TableStartColumnAttribute attr = (TableStartColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -209,7 +209,7 @@ public Integer getTableStartColumnAttribute() { public void setTableStartColumnAttribute(Integer tableStartColumnValue) { TableStartColumnAttribute attr = new TableStartColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartColumnValue.intValue()); + attr.setValue(tableStartColumnValue.toString()); } /** @@ -220,7 +220,7 @@ public void setTableStartColumnAttribute(Integer tableStartColumnValue) { public Integer getTableStartRowAttribute() { TableStartRowAttribute attr = (TableStartRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -233,7 +233,7 @@ public Integer getTableStartRowAttribute() { public void setTableStartRowAttribute(Integer tableStartRowValue) { TableStartRowAttribute attr = new TableStartRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartRowValue.intValue()); + attr.setValue(tableStartRowValue.toString()); } /** @@ -244,7 +244,7 @@ public void setTableStartRowAttribute(Integer tableStartRowValue) { public Integer getTableStartTableAttribute() { TableStartTableAttribute attr = (TableStartTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -257,7 +257,7 @@ public Integer getTableStartTableAttribute() { public void setTableStartTableAttribute(Integer tableStartTableValue) { TableStartTableAttribute attr = new TableStartTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartTableValue.intValue()); + attr.setValue(tableStartTableValue.toString()); } /** @@ -268,7 +268,7 @@ public void setTableStartTableAttribute(Integer tableStartTableValue) { public Integer getTableTableAttribute() { TableTableAttribute attr = (TableTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -281,7 +281,7 @@ public Integer getTableTableAttribute() { public void setTableTableAttribute(Integer tableTableValue) { TableTableAttribute attr = new TableTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableTableValue.intValue()); + attr.setValue(tableTableValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSubtotalFieldElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSubtotalFieldElement.java index 87e7f9704d..7f605f7d0c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSubtotalFieldElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSubtotalFieldElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Integer getTableFieldNumberAttribute() { TableFieldNumberAttribute attr = (TableFieldNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "field-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -84,7 +84,7 @@ public Integer getTableFieldNumberAttribute() { public void setTableFieldNumberAttribute(Integer tableFieldNumberValue) { TableFieldNumberAttribute attr = new TableFieldNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableFieldNumberValue.intValue()); + attr.setValue(tableFieldNumberValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRuleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRuleElement.java index 3938dcb423..1d550aeb3c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRuleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRuleElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Integer getTableGroupByFieldNumberAttribute() { TableGroupByFieldNumberAttribute attr = (TableGroupByFieldNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "group-by-field-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -83,7 +83,7 @@ public Integer getTableGroupByFieldNumberAttribute() { public void setTableGroupByFieldNumberAttribute(Integer tableGroupByFieldNumberValue) { TableGroupByFieldNumberAttribute attr = new TableGroupByFieldNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableGroupByFieldNumberValue.intValue()); + attr.setValue(tableGroupByFieldNumberValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java index 9c39b5f39a..7b5a5760fc 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Boolean getTableBindStylesToContentAttribute() { TableBindStylesToContentAttribute attr = (TableBindStylesToContentAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "bind-styles-to-content"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableBindStylesToContentAttribute.DEFAULT_VALUE); } @@ -83,7 +83,7 @@ public Boolean getTableBindStylesToContentAttribute() { public void setTableBindStylesToContentAttribute(Boolean tableBindStylesToContentValue) { TableBindStylesToContentAttribute attr = new TableBindStylesToContentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableBindStylesToContentValue.booleanValue()); + attr.setValue(tableBindStylesToContentValue.toString()); } /** @@ -94,7 +94,7 @@ public void setTableBindStylesToContentAttribute(Boolean tableBindStylesToConten public Boolean getTableCaseSensitiveAttribute() { TableCaseSensitiveAttribute attr = (TableCaseSensitiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "case-sensitive"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableCaseSensitiveAttribute.DEFAULT_VALUE_FALSE); } @@ -107,7 +107,7 @@ public Boolean getTableCaseSensitiveAttribute() { public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { TableCaseSensitiveAttribute attr = new TableCaseSensitiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableCaseSensitiveValue.booleanValue()); + attr.setValue(tableCaseSensitiveValue.toString()); } /** @@ -118,7 +118,7 @@ public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { public Boolean getTablePageBreaksOnGroupChangeAttribute() { TablePageBreaksOnGroupChangeAttribute attr = (TablePageBreaksOnGroupChangeAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "page-breaks-on-group-change"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TablePageBreaksOnGroupChangeAttribute.DEFAULT_VALUE); } @@ -131,7 +131,7 @@ public Boolean getTablePageBreaksOnGroupChangeAttribute() { public void setTablePageBreaksOnGroupChangeAttribute(Boolean tablePageBreaksOnGroupChangeValue) { TablePageBreaksOnGroupChangeAttribute attr = new TablePageBreaksOnGroupChangeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tablePageBreaksOnGroupChangeValue.booleanValue()); + attr.setValue(tablePageBreaksOnGroupChangeValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTableCellElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTableCellElement.java index 216c675dce..cb8809fc3c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTableCellElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTableCellElement.java @@ -73,7 +73,7 @@ public OdfName getOdfName() { public Integer getTableNumberColumnsSpannedAttribute() { TableNumberColumnsSpannedAttribute attr = (TableNumberColumnsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-columns-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNumberColumnsSpannedAttribute.DEFAULT_VALUE); } @@ -86,7 +86,7 @@ public Integer getTableNumberColumnsSpannedAttribute() { public void setTableNumberColumnsSpannedAttribute(Integer tableNumberColumnsSpannedValue) { TableNumberColumnsSpannedAttribute attr = new TableNumberColumnsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberColumnsSpannedValue.intValue()); + attr.setValue(tableNumberColumnsSpannedValue.toString()); } /** @@ -97,7 +97,7 @@ public void setTableNumberColumnsSpannedAttribute(Integer tableNumberColumnsSpan public Integer getTableNumberMatrixColumnsSpannedAttribute() { TableNumberMatrixColumnsSpannedAttribute attr = (TableNumberMatrixColumnsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-matrix-columns-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -110,7 +110,7 @@ public Integer getTableNumberMatrixColumnsSpannedAttribute() { public void setTableNumberMatrixColumnsSpannedAttribute(Integer tableNumberMatrixColumnsSpannedValue) { TableNumberMatrixColumnsSpannedAttribute attr = new TableNumberMatrixColumnsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberMatrixColumnsSpannedValue.intValue()); + attr.setValue(tableNumberMatrixColumnsSpannedValue.toString()); } /** @@ -121,7 +121,7 @@ public void setTableNumberMatrixColumnsSpannedAttribute(Integer tableNumberMatri public Integer getTableNumberMatrixRowsSpannedAttribute() { TableNumberMatrixRowsSpannedAttribute attr = (TableNumberMatrixRowsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-matrix-rows-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -134,7 +134,7 @@ public Integer getTableNumberMatrixRowsSpannedAttribute() { public void setTableNumberMatrixRowsSpannedAttribute(Integer tableNumberMatrixRowsSpannedValue) { TableNumberMatrixRowsSpannedAttribute attr = new TableNumberMatrixRowsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberMatrixRowsSpannedValue.intValue()); + attr.setValue(tableNumberMatrixRowsSpannedValue.toString()); } /** @@ -145,7 +145,7 @@ public void setTableNumberMatrixRowsSpannedAttribute(Integer tableNumberMatrixRo public Integer getTableNumberRowsSpannedAttribute() { TableNumberRowsSpannedAttribute attr = (TableNumberRowsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-rows-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNumberRowsSpannedAttribute.DEFAULT_VALUE); } @@ -158,7 +158,7 @@ public Integer getTableNumberRowsSpannedAttribute() { public void setTableNumberRowsSpannedAttribute(Integer tableNumberRowsSpannedValue) { TableNumberRowsSpannedAttribute attr = new TableNumberRowsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberRowsSpannedValue.intValue()); + attr.setValue(tableNumberRowsSpannedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTableCellElementBase.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTableCellElementBase.java index 4e6206f773..084a657eef 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTableCellElementBase.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTableCellElementBase.java @@ -109,7 +109,7 @@ public TableTableCellElementBase(OdfFileDom ownerDoc, OdfName elementName, OdfSt public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -122,7 +122,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -229,7 +229,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -242,7 +242,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** @@ -325,7 +325,7 @@ public void setTableFormulaAttribute(String tableFormulaValue) { public Integer getTableNumberColumnsRepeatedAttribute() { TableNumberColumnsRepeatedAttribute attr = (TableNumberColumnsRepeatedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-columns-repeated"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNumberColumnsRepeatedAttribute.DEFAULT_VALUE); } @@ -338,7 +338,7 @@ public Integer getTableNumberColumnsRepeatedAttribute() { public void setTableNumberColumnsRepeatedAttribute(Integer tableNumberColumnsRepeatedValue) { TableNumberColumnsRepeatedAttribute attr = new TableNumberColumnsRepeatedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberColumnsRepeatedValue.intValue()); + attr.setValue(tableNumberColumnsRepeatedValue.toString()); } /** @@ -349,7 +349,7 @@ public void setTableNumberColumnsRepeatedAttribute(Integer tableNumberColumnsRep public Boolean getTableProtectAttribute() { TableProtectAttribute attr = (TableProtectAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "protect"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableProtectAttribute.DEFAULT_VALUE); } @@ -362,7 +362,7 @@ public Boolean getTableProtectAttribute() { public void setTableProtectAttribute(Boolean tableProtectValue) { TableProtectAttribute attr = new TableProtectAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableProtectValue.booleanValue()); + attr.setValue(tableProtectValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTableColumnElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTableColumnElement.java index 27512d899a..968bc1279f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTableColumnElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTableColumnElement.java @@ -99,7 +99,7 @@ public void setTableDefaultCellStyleNameAttribute(String tableDefaultCellStyleNa public Integer getTableNumberColumnsRepeatedAttribute() { TableNumberColumnsRepeatedAttribute attr = (TableNumberColumnsRepeatedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-columns-repeated"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNumberColumnsRepeatedAttribute.DEFAULT_VALUE); } @@ -112,7 +112,7 @@ public Integer getTableNumberColumnsRepeatedAttribute() { public void setTableNumberColumnsRepeatedAttribute(Integer tableNumberColumnsRepeatedValue) { TableNumberColumnsRepeatedAttribute attr = new TableNumberColumnsRepeatedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberColumnsRepeatedValue.intValue()); + attr.setValue(tableNumberColumnsRepeatedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTableColumnGroupElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTableColumnGroupElement.java index e3af6c9ebd..4caae5cff6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTableColumnGroupElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTableColumnGroupElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTableDisplayAttribute() { TableDisplayAttribute attr = (TableDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayAttribute.DEFAULT_VALUE_TRUE); } @@ -81,7 +81,7 @@ public Boolean getTableDisplayAttribute() { public void setTableDisplayAttribute(Boolean tableDisplayValue) { TableDisplayAttribute attr = new TableDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayValue.booleanValue()); + attr.setValue(tableDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTableElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTableElement.java index bf21053988..73dc5b1fb0 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTableElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTableElement.java @@ -78,7 +78,7 @@ public OdfName getOdfName() { public Boolean getTableIsSubTableAttribute() { TableIsSubTableAttribute attr = (TableIsSubTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "is-sub-table"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableIsSubTableAttribute.DEFAULT_VALUE); } @@ -91,7 +91,7 @@ public Boolean getTableIsSubTableAttribute() { public void setTableIsSubTableAttribute(Boolean tableIsSubTableValue) { TableIsSubTableAttribute attr = new TableIsSubTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableIsSubTableValue.booleanValue()); + attr.setValue(tableIsSubTableValue.toString()); } /** @@ -126,7 +126,7 @@ public void setTableNameAttribute(String tableNameValue) { public Boolean getTablePrintAttribute() { TablePrintAttribute attr = (TablePrintAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "print"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TablePrintAttribute.DEFAULT_VALUE); } @@ -139,7 +139,7 @@ public Boolean getTablePrintAttribute() { public void setTablePrintAttribute(Boolean tablePrintValue) { TablePrintAttribute attr = new TablePrintAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tablePrintValue.booleanValue()); + attr.setValue(tablePrintValue.toString()); } /** @@ -174,7 +174,7 @@ public void setTablePrintRangesAttribute(String tablePrintRangesValue) { public Boolean getTableProtectedAttribute() { TableProtectedAttribute attr = (TableProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableProtectedAttribute.DEFAULT_VALUE); } @@ -187,7 +187,7 @@ public Boolean getTableProtectedAttribute() { public void setTableProtectedAttribute(Boolean tableProtectedValue) { TableProtectedAttribute attr = new TableProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableProtectedValue.booleanValue()); + attr.setValue(tableProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTableRowElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTableRowElement.java index 4548f48647..d81d862d3e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTableRowElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTableRowElement.java @@ -99,7 +99,7 @@ public void setTableDefaultCellStyleNameAttribute(String tableDefaultCellStyleNa public Integer getTableNumberRowsRepeatedAttribute() { TableNumberRowsRepeatedAttribute attr = (TableNumberRowsRepeatedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-rows-repeated"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNumberRowsRepeatedAttribute.DEFAULT_VALUE); } @@ -112,7 +112,7 @@ public Integer getTableNumberRowsRepeatedAttribute() { public void setTableNumberRowsRepeatedAttribute(Integer tableNumberRowsRepeatedValue) { TableNumberRowsRepeatedAttribute attr = new TableNumberRowsRepeatedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberRowsRepeatedValue.intValue()); + attr.setValue(tableNumberRowsRepeatedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTableRowGroupElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTableRowGroupElement.java index d4254ea220..960252c39e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTableRowGroupElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTableRowGroupElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTableDisplayAttribute() { TableDisplayAttribute attr = (TableDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayAttribute.DEFAULT_VALUE_TRUE); } @@ -81,7 +81,7 @@ public Boolean getTableDisplayAttribute() { public void setTableDisplayAttribute(Boolean tableDisplayValue) { TableDisplayAttribute attr = new TableDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayValue.booleanValue()); + attr.setValue(tableDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTargetRangeAddressElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTargetRangeAddressElement.java index 7187aae03e..77777dbdb1 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTargetRangeAddressElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTargetRangeAddressElement.java @@ -76,7 +76,7 @@ public OdfName getOdfName() { public Integer getTableColumnAttribute() { TableColumnAttribute attr = (TableColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -89,7 +89,7 @@ public Integer getTableColumnAttribute() { public void setTableColumnAttribute(Integer tableColumnValue) { TableColumnAttribute attr = new TableColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableColumnValue.intValue()); + attr.setValue(tableColumnValue.toString()); } /** @@ -100,7 +100,7 @@ public void setTableColumnAttribute(Integer tableColumnValue) { public Integer getTableEndColumnAttribute() { TableEndColumnAttribute attr = (TableEndColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -113,7 +113,7 @@ public Integer getTableEndColumnAttribute() { public void setTableEndColumnAttribute(Integer tableEndColumnValue) { TableEndColumnAttribute attr = new TableEndColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndColumnValue.intValue()); + attr.setValue(tableEndColumnValue.toString()); } /** @@ -124,7 +124,7 @@ public void setTableEndColumnAttribute(Integer tableEndColumnValue) { public Integer getTableEndRowAttribute() { TableEndRowAttribute attr = (TableEndRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -137,7 +137,7 @@ public Integer getTableEndRowAttribute() { public void setTableEndRowAttribute(Integer tableEndRowValue) { TableEndRowAttribute attr = new TableEndRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndRowValue.intValue()); + attr.setValue(tableEndRowValue.toString()); } /** @@ -148,7 +148,7 @@ public void setTableEndRowAttribute(Integer tableEndRowValue) { public Integer getTableEndTableAttribute() { TableEndTableAttribute attr = (TableEndTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -161,7 +161,7 @@ public Integer getTableEndTableAttribute() { public void setTableEndTableAttribute(Integer tableEndTableValue) { TableEndTableAttribute attr = new TableEndTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndTableValue.intValue()); + attr.setValue(tableEndTableValue.toString()); } /** @@ -172,7 +172,7 @@ public void setTableEndTableAttribute(Integer tableEndTableValue) { public Integer getTableRowAttribute() { TableRowAttribute attr = (TableRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -185,7 +185,7 @@ public Integer getTableRowAttribute() { public void setTableRowAttribute(Integer tableRowValue) { TableRowAttribute attr = new TableRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableRowValue.intValue()); + attr.setValue(tableRowValue.toString()); } /** @@ -196,7 +196,7 @@ public void setTableRowAttribute(Integer tableRowValue) { public Integer getTableStartColumnAttribute() { TableStartColumnAttribute attr = (TableStartColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -209,7 +209,7 @@ public Integer getTableStartColumnAttribute() { public void setTableStartColumnAttribute(Integer tableStartColumnValue) { TableStartColumnAttribute attr = new TableStartColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartColumnValue.intValue()); + attr.setValue(tableStartColumnValue.toString()); } /** @@ -220,7 +220,7 @@ public void setTableStartColumnAttribute(Integer tableStartColumnValue) { public Integer getTableStartRowAttribute() { TableStartRowAttribute attr = (TableStartRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -233,7 +233,7 @@ public Integer getTableStartRowAttribute() { public void setTableStartRowAttribute(Integer tableStartRowValue) { TableStartRowAttribute attr = new TableStartRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartRowValue.intValue()); + attr.setValue(tableStartRowValue.toString()); } /** @@ -244,7 +244,7 @@ public void setTableStartRowAttribute(Integer tableStartRowValue) { public Integer getTableStartTableAttribute() { TableStartTableAttribute attr = (TableStartTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -257,7 +257,7 @@ public Integer getTableStartTableAttribute() { public void setTableStartTableAttribute(Integer tableStartTableValue) { TableStartTableAttribute attr = new TableStartTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartTableValue.intValue()); + attr.setValue(tableStartTableValue.toString()); } /** @@ -268,7 +268,7 @@ public void setTableStartTableAttribute(Integer tableStartTableValue) { public Integer getTableTableAttribute() { TableTableAttribute attr = (TableTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -281,7 +281,7 @@ public Integer getTableTableAttribute() { public void setTableTableAttribute(Integer tableTableValue) { TableTableAttribute attr = new TableTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableTableValue.intValue()); + attr.setValue(tableTableValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTrackedChangesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTrackedChangesElement.java index e91f551f34..ca31fe2951 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTrackedChangesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/table/TableTrackedChangesElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTableTrackChangesAttribute() { TableTrackChangesAttribute attr = (TableTrackChangesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "track-changes"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableTrackChangesAttribute.DEFAULT_VALUE); } @@ -81,7 +81,7 @@ public Boolean getTableTrackChangesAttribute() { public void setTableTrackChangesAttribute(Boolean tableTrackChangesValue) { TableTrackChangesAttribute attr = new TableTrackChangesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableTrackChangesValue.booleanValue()); + attr.setValue(tableTrackChangesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexElement.java index edcdd2b3ad..65d6ac8b7c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexElement.java @@ -99,7 +99,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -112,7 +112,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkElement.java index 958c692d60..d9078ff5e5 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkElement.java @@ -170,7 +170,7 @@ public void setTextKey2PhoneticAttribute(String textKey2PhoneticValue) { public Boolean getTextMainEntryAttribute() { TextMainEntryAttribute attr = (TextMainEntryAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "main-entry"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextMainEntryAttribute.DEFAULT_VALUE); } @@ -183,7 +183,7 @@ public Boolean getTextMainEntryAttribute() { public void setTextMainEntryAttribute(Boolean textMainEntryValue) { TextMainEntryAttribute attr = new TextMainEntryAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textMainEntryValue.booleanValue()); + attr.setValue(textMainEntryValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkStartElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkStartElement.java index 46b5469dd9..1764fe4578 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkStartElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkStartElement.java @@ -196,7 +196,7 @@ public void setTextKey2PhoneticAttribute(String textKey2PhoneticValue) { public Boolean getTextMainEntryAttribute() { TextMainEntryAttribute attr = (TextMainEntryAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "main-entry"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextMainEntryAttribute.DEFAULT_VALUE); } @@ -209,7 +209,7 @@ public Boolean getTextMainEntryAttribute() { public void setTextMainEntryAttribute(Boolean textMainEntryValue) { TextMainEntryAttribute attr = new TextMainEntryAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textMainEntryValue.booleanValue()); + attr.setValue(textMainEntryValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexSourceElement.java index 74e469c4be..16b54486e8 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexSourceElement.java @@ -129,7 +129,7 @@ public void setFoLanguageAttribute(String foLanguageValue) { public Boolean getTextAlphabeticalSeparatorsAttribute() { TextAlphabeticalSeparatorsAttribute attr = (TextAlphabeticalSeparatorsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "alphabetical-separators"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextAlphabeticalSeparatorsAttribute.DEFAULT_VALUE); } @@ -142,7 +142,7 @@ public Boolean getTextAlphabeticalSeparatorsAttribute() { public void setTextAlphabeticalSeparatorsAttribute(Boolean textAlphabeticalSeparatorsValue) { TextAlphabeticalSeparatorsAttribute attr = new TextAlphabeticalSeparatorsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textAlphabeticalSeparatorsValue.booleanValue()); + attr.setValue(textAlphabeticalSeparatorsValue.toString()); } /** @@ -153,7 +153,7 @@ public void setTextAlphabeticalSeparatorsAttribute(Boolean textAlphabeticalSepar public Boolean getTextCapitalizeEntriesAttribute() { TextCapitalizeEntriesAttribute attr = (TextCapitalizeEntriesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "capitalize-entries"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCapitalizeEntriesAttribute.DEFAULT_VALUE); } @@ -166,7 +166,7 @@ public Boolean getTextCapitalizeEntriesAttribute() { public void setTextCapitalizeEntriesAttribute(Boolean textCapitalizeEntriesValue) { TextCapitalizeEntriesAttribute attr = new TextCapitalizeEntriesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCapitalizeEntriesValue.booleanValue()); + attr.setValue(textCapitalizeEntriesValue.toString()); } /** @@ -177,7 +177,7 @@ public void setTextCapitalizeEntriesAttribute(Boolean textCapitalizeEntriesValue public Boolean getTextCombineEntriesAttribute() { TextCombineEntriesAttribute attr = (TextCombineEntriesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "combine-entries"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCombineEntriesAttribute.DEFAULT_VALUE); } @@ -190,7 +190,7 @@ public Boolean getTextCombineEntriesAttribute() { public void setTextCombineEntriesAttribute(Boolean textCombineEntriesValue) { TextCombineEntriesAttribute attr = new TextCombineEntriesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCombineEntriesValue.booleanValue()); + attr.setValue(textCombineEntriesValue.toString()); } /** @@ -201,7 +201,7 @@ public void setTextCombineEntriesAttribute(Boolean textCombineEntriesValue) { public Boolean getTextCombineEntriesWithDashAttribute() { TextCombineEntriesWithDashAttribute attr = (TextCombineEntriesWithDashAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "combine-entries-with-dash"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCombineEntriesWithDashAttribute.DEFAULT_VALUE); } @@ -214,7 +214,7 @@ public Boolean getTextCombineEntriesWithDashAttribute() { public void setTextCombineEntriesWithDashAttribute(Boolean textCombineEntriesWithDashValue) { TextCombineEntriesWithDashAttribute attr = new TextCombineEntriesWithDashAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCombineEntriesWithDashValue.booleanValue()); + attr.setValue(textCombineEntriesWithDashValue.toString()); } /** @@ -225,7 +225,7 @@ public void setTextCombineEntriesWithDashAttribute(Boolean textCombineEntriesWit public Boolean getTextCombineEntriesWithPpAttribute() { TextCombineEntriesWithPpAttribute attr = (TextCombineEntriesWithPpAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "combine-entries-with-pp"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCombineEntriesWithPpAttribute.DEFAULT_VALUE); } @@ -238,7 +238,7 @@ public Boolean getTextCombineEntriesWithPpAttribute() { public void setTextCombineEntriesWithPpAttribute(Boolean textCombineEntriesWithPpValue) { TextCombineEntriesWithPpAttribute attr = new TextCombineEntriesWithPpAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCombineEntriesWithPpValue.booleanValue()); + attr.setValue(textCombineEntriesWithPpValue.toString()); } /** @@ -249,7 +249,7 @@ public void setTextCombineEntriesWithPpAttribute(Boolean textCombineEntriesWithP public Boolean getTextCommaSeparatedAttribute() { TextCommaSeparatedAttribute attr = (TextCommaSeparatedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "comma-separated"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCommaSeparatedAttribute.DEFAULT_VALUE); } @@ -262,7 +262,7 @@ public Boolean getTextCommaSeparatedAttribute() { public void setTextCommaSeparatedAttribute(Boolean textCommaSeparatedValue) { TextCommaSeparatedAttribute attr = new TextCommaSeparatedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCommaSeparatedValue.booleanValue()); + attr.setValue(textCommaSeparatedValue.toString()); } /** @@ -273,7 +273,7 @@ public void setTextCommaSeparatedAttribute(Boolean textCommaSeparatedValue) { public Boolean getTextIgnoreCaseAttribute() { TextIgnoreCaseAttribute attr = (TextIgnoreCaseAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "ignore-case"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextIgnoreCaseAttribute.DEFAULT_VALUE); } @@ -286,7 +286,7 @@ public Boolean getTextIgnoreCaseAttribute() { public void setTextIgnoreCaseAttribute(Boolean textIgnoreCaseValue) { TextIgnoreCaseAttribute attr = new TextIgnoreCaseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textIgnoreCaseValue.booleanValue()); + attr.setValue(textIgnoreCaseValue.toString()); } /** @@ -345,7 +345,7 @@ public void setTextMainEntryStyleNameAttribute(String textMainEntryStyleNameValu public Boolean getTextRelativeTabStopPositionAttribute() { TextRelativeTabStopPositionAttribute attr = (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRelativeTabStopPositionAttribute.DEFAULT_VALUE); } @@ -358,7 +358,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopPositionValue) { TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -393,7 +393,7 @@ public void setTextSortAlgorithmAttribute(String textSortAlgorithmValue) { public Boolean getTextUseKeysAsEntriesAttribute() { TextUseKeysAsEntriesAttribute attr = (TextUseKeysAsEntriesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-keys-as-entries"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseKeysAsEntriesAttribute.DEFAULT_VALUE); } @@ -406,17 +406,17 @@ public Boolean getTextUseKeysAsEntriesAttribute() { public void setTextUseKeysAsEntriesAttribute(Boolean textUseKeysAsEntriesValue) { TextUseKeysAsEntriesAttribute attr = new TextUseKeysAsEntriesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseKeysAsEntriesValue.booleanValue()); + attr.setValue(textUseKeysAsEntriesValue.toString()); } /** * Create child element {@odf.element text:alphabetical-index-entry-template}. * - * @param textOutlineLevelValue the Integer value of TextOutlineLevelAttribute, see {@odf.attribute text:outline-level} at specification + * @param textOutlineLevelValue the String value of TextOutlineLevelAttribute, see {@odf.attribute text:outline-level} at specification * @param textStyleNameValue the String value of TextStyleNameAttribute, see {@odf.attribute text:style-name} at specification * @return the element {@odf.element text:alphabetical-index-entry-template} */ - public TextAlphabeticalIndexEntryTemplateElement newTextAlphabeticalIndexEntryTemplateElement(int textOutlineLevelValue, String textStyleNameValue) { + public TextAlphabeticalIndexEntryTemplateElement newTextAlphabeticalIndexEntryTemplateElement(String textOutlineLevelValue, String textStyleNameValue) { TextAlphabeticalIndexEntryTemplateElement textAlphabeticalIndexEntryTemplate = ((OdfFileDom) this.ownerDocument).newOdfElement(TextAlphabeticalIndexEntryTemplateElement.class); textAlphabeticalIndexEntryTemplate.setTextOutlineLevelAttribute(textOutlineLevelValue); textAlphabeticalIndexEntryTemplate.setTextStyleNameAttribute(textStyleNameValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextAuthorInitialsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextAuthorInitialsElement.java index 37fbd90c77..e156d2d8e6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextAuthorInitialsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextAuthorInitialsElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextAuthorNameElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextAuthorNameElement.java index 39f94fc131..1f2f50db96 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextAuthorNameElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextAuthorNameElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextBibliographyConfigurationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextBibliographyConfigurationElement.java index a2890309d8..197e58d8d9 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextBibliographyConfigurationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextBibliographyConfigurationElement.java @@ -122,7 +122,7 @@ public void setFoLanguageAttribute(String foLanguageValue) { public Boolean getTextNumberedEntriesAttribute() { TextNumberedEntriesAttribute attr = (TextNumberedEntriesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "numbered-entries"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextNumberedEntriesAttribute.DEFAULT_VALUE); } @@ -135,7 +135,7 @@ public Boolean getTextNumberedEntriesAttribute() { public void setTextNumberedEntriesAttribute(Boolean textNumberedEntriesValue) { TextNumberedEntriesAttribute attr = new TextNumberedEntriesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textNumberedEntriesValue.booleanValue()); + attr.setValue(textNumberedEntriesValue.toString()); } /** @@ -194,7 +194,7 @@ public void setTextSortAlgorithmAttribute(String textSortAlgorithmValue) { public Boolean getTextSortByPositionAttribute() { TextSortByPositionAttribute attr = (TextSortByPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "sort-by-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextSortByPositionAttribute.DEFAULT_VALUE); } @@ -207,7 +207,7 @@ public Boolean getTextSortByPositionAttribute() { public void setTextSortByPositionAttribute(Boolean textSortByPositionValue) { TextSortByPositionAttribute attr = new TextSortByPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textSortByPositionValue.booleanValue()); + attr.setValue(textSortByPositionValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextBibliographyElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextBibliographyElement.java index ea501cf034..8624bf7010 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextBibliographyElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextBibliographyElement.java @@ -99,7 +99,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -112,7 +112,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextChapterElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextChapterElement.java index 8ad87ff698..d7e14ae276 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextChapterElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextChapterElement.java @@ -97,7 +97,7 @@ public void setTextDisplayAttribute(String textDisplayValue) { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -110,7 +110,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextCharacterCountElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextCharacterCountElement.java index 5c4f08abfd..481e09e0e6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextCharacterCountElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextCharacterCountElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextConditionalTextElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextConditionalTextElement.java index e30c4413f9..90e15afa69 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextConditionalTextElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextConditionalTextElement.java @@ -97,7 +97,7 @@ public void setTextConditionAttribute(String textConditionValue) { public Boolean getTextCurrentValueAttribute() { TextCurrentValueAttribute attr = (TextCurrentValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "current-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -110,7 +110,7 @@ public Boolean getTextCurrentValueAttribute() { public void setTextCurrentValueAttribute(Boolean textCurrentValueValue) { TextCurrentValueAttribute attr = new TextCurrentValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCurrentValueValue.booleanValue()); + attr.setValue(textCurrentValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextCreationDateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextCreationDateElement.java index c99b33db2f..ece720b5b5 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextCreationDateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextCreationDateElement.java @@ -118,7 +118,7 @@ public void setTextDateValueAttribute(String textDateValueValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -131,7 +131,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextCreationTimeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextCreationTimeElement.java index c82fe49706..ae926f4213 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextCreationTimeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextCreationTimeElement.java @@ -94,7 +94,7 @@ public void setStyleDataStyleNameAttribute(String styleDataStyleNameValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -107,7 +107,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextCreatorElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextCreatorElement.java index a0c343436a..edafd374d6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextCreatorElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextCreatorElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowNumberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowNumberElement.java index 89f3814b94..879386a7b2 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowNumberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowNumberElement.java @@ -100,7 +100,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -113,7 +113,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -198,7 +198,7 @@ public void setTextTableTypeAttribute(String textTableTypeValue) { public Integer getTextValueAttribute() { TextValueAttribute attr = (TextValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -211,7 +211,7 @@ public Integer getTextValueAttribute() { public void setTextValueAttribute(Integer textValueValue) { TextValueAttribute attr = new TextValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textValueValue.intValue()); + attr.setValue(textValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowSelectElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowSelectElement.java index 62a980edc6..813046bcf0 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowSelectElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowSelectElement.java @@ -121,7 +121,7 @@ public void setTextDatabaseNameAttribute(String textDatabaseNameValue) { public Integer getTextRowNumberAttribute() { TextRowNumberAttribute attr = (TextRowNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "row-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -134,7 +134,7 @@ public Integer getTextRowNumberAttribute() { public void setTextRowNumberAttribute(Integer textRowNumberValue) { TextRowNumberAttribute attr = new TextRowNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textRowNumberValue.intValue()); + attr.setValue(textRowNumberValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextDateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextDateElement.java index 95882a1b06..9f36678881 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextDateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextDateElement.java @@ -143,7 +143,7 @@ public void setTextDateValueAttribute(String textDateValueValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -156,7 +156,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextDdeConnectionDeclElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextDdeConnectionDeclElement.java index 70acd1ca34..4107d5ba04 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextDdeConnectionDeclElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextDdeConnectionDeclElement.java @@ -72,7 +72,7 @@ public OdfName getOdfName() { public Boolean getOfficeAutomaticUpdateAttribute() { OfficeAutomaticUpdateAttribute attr = (OfficeAutomaticUpdateAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "automatic-update"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(OfficeAutomaticUpdateAttribute.DEFAULT_VALUE); } @@ -85,7 +85,7 @@ public Boolean getOfficeAutomaticUpdateAttribute() { public void setOfficeAutomaticUpdateAttribute(Boolean officeAutomaticUpdateValue) { OfficeAutomaticUpdateAttribute attr = new OfficeAutomaticUpdateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeAutomaticUpdateValue.booleanValue()); + attr.setValue(officeAutomaticUpdateValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextDescriptionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextDescriptionElement.java index 6c2a14c7d9..cf674c7c01 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextDescriptionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextDescriptionElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextEditingCyclesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextEditingCyclesElement.java index fb219b7158..1fd51876fa 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextEditingCyclesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextEditingCyclesElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextEditingDurationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextEditingDurationElement.java index f0478fa9e2..d7b988d6ee 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextEditingDurationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextEditingDurationElement.java @@ -118,7 +118,7 @@ public void setTextDurationAttribute(String textDurationValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -131,7 +131,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextExpressionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextExpressionElement.java index fbf9ff8773..e8e1d6bb7e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextExpressionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextExpressionElement.java @@ -77,7 +77,7 @@ public OdfName getOdfName() { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -90,7 +90,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -199,7 +199,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -212,7 +212,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextFileNameElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextFileNameElement.java index 74b36c395a..298d17d261 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextFileNameElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextFileNameElement.java @@ -93,7 +93,7 @@ public void setTextDisplayAttribute(String textDisplayValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -106,7 +106,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextHElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextHElement.java index d7c3242e9c..2cb72905ff 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextHElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextHElement.java @@ -80,7 +80,7 @@ public OdfName getOdfName() { public Boolean getTextIsListHeaderAttribute() { TextIsListHeaderAttribute attr = (TextIsListHeaderAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "is-list-header"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextIsListHeaderAttribute.DEFAULT_VALUE); } @@ -93,7 +93,7 @@ public Boolean getTextIsListHeaderAttribute() { public void setTextIsListHeaderAttribute(Boolean textIsListHeaderValue) { TextIsListHeaderAttribute attr = new TextIsListHeaderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textIsListHeaderValue.booleanValue()); + attr.setValue(textIsListHeaderValue.toString()); } /** @@ -106,7 +106,7 @@ public void setTextIsListHeaderAttribute(Boolean textIsListHeaderValue) { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -119,7 +119,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** @@ -130,7 +130,7 @@ public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { public Boolean getTextRestartNumberingAttribute() { TextRestartNumberingAttribute attr = (TextRestartNumberingAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "restart-numbering"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRestartNumberingAttribute.DEFAULT_VALUE); } @@ -143,7 +143,7 @@ public Boolean getTextRestartNumberingAttribute() { public void setTextRestartNumberingAttribute(Boolean textRestartNumberingValue) { TextRestartNumberingAttribute attr = new TextRestartNumberingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRestartNumberingValue.booleanValue()); + attr.setValue(textRestartNumberingValue.toString()); } /** @@ -154,7 +154,7 @@ public void setTextRestartNumberingAttribute(Boolean textRestartNumberingValue) public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -167,7 +167,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextHiddenParagraphElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextHiddenParagraphElement.java index c4f9ec9b21..b1260c36e7 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextHiddenParagraphElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextHiddenParagraphElement.java @@ -95,7 +95,7 @@ public void setTextConditionAttribute(String textConditionValue) { public Boolean getTextIsHiddenAttribute() { TextIsHiddenAttribute attr = (TextIsHiddenAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "is-hidden"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getTextIsHiddenAttribute() { public void setTextIsHiddenAttribute(Boolean textIsHiddenValue) { TextIsHiddenAttribute attr = new TextIsHiddenAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textIsHiddenValue.booleanValue()); + attr.setValue(textIsHiddenValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextHiddenTextElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextHiddenTextElement.java index 8de37d960a..06bbd3263a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextHiddenTextElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextHiddenTextElement.java @@ -96,7 +96,7 @@ public void setTextConditionAttribute(String textConditionValue) { public Boolean getTextIsHiddenAttribute() { TextIsHiddenAttribute attr = (TextIsHiddenAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "is-hidden"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -109,7 +109,7 @@ public Boolean getTextIsHiddenAttribute() { public void setTextIsHiddenAttribute(Boolean textIsHiddenValue) { TextIsHiddenAttribute attr = new TextIsHiddenAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textIsHiddenValue.booleanValue()); + attr.setValue(textIsHiddenValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexElement.java index 1a9c8e89f7..806227729a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexElement.java @@ -99,7 +99,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -112,7 +112,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexSourceElement.java index 1961c68918..911b1782d3 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexSourceElement.java @@ -144,7 +144,7 @@ public void setTextIndexScopeAttribute(String textIndexScopeValue) { public Boolean getTextRelativeTabStopPositionAttribute() { TextRelativeTabStopPositionAttribute attr = (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRelativeTabStopPositionAttribute.DEFAULT_VALUE); } @@ -157,7 +157,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopPositionValue) { TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -168,7 +168,7 @@ public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopP public Boolean getTextUseCaptionAttribute() { TextUseCaptionAttribute attr = (TextUseCaptionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-caption"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseCaptionAttribute.DEFAULT_VALUE); } @@ -181,7 +181,7 @@ public Boolean getTextUseCaptionAttribute() { public void setTextUseCaptionAttribute(Boolean textUseCaptionValue) { TextUseCaptionAttribute attr = new TextUseCaptionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseCaptionValue.booleanValue()); + attr.setValue(textUseCaptionValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextImageCountElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextImageCountElement.java index fc03ee6dc5..756bc5ff35 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextImageCountElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextImageCountElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextIndexSourceStylesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextIndexSourceStylesElement.java index cb8f9e0339..563179222e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextIndexSourceStylesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextIndexSourceStylesElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -83,7 +83,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextIndexTitleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextIndexTitleElement.java index bb9aa03553..7ffff48315 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextIndexTitleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextIndexTitleElement.java @@ -118,7 +118,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -131,7 +131,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextInitialCreatorElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextInitialCreatorElement.java index 2a1d9e864b..067fc39a87 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextInitialCreatorElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextInitialCreatorElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextKeywordsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextKeywordsElement.java index d07ee2501a..92771429c1 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextKeywordsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextKeywordsElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingConfigurationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingConfigurationElement.java index ca81023543..3da2438b46 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingConfigurationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingConfigurationElement.java @@ -105,7 +105,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -118,7 +118,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -129,7 +129,7 @@ public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { public Boolean getTextCountEmptyLinesAttribute() { TextCountEmptyLinesAttribute attr = (TextCountEmptyLinesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "count-empty-lines"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCountEmptyLinesAttribute.DEFAULT_VALUE); } @@ -142,7 +142,7 @@ public Boolean getTextCountEmptyLinesAttribute() { public void setTextCountEmptyLinesAttribute(Boolean textCountEmptyLinesValue) { TextCountEmptyLinesAttribute attr = new TextCountEmptyLinesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCountEmptyLinesValue.booleanValue()); + attr.setValue(textCountEmptyLinesValue.toString()); } /** @@ -153,7 +153,7 @@ public void setTextCountEmptyLinesAttribute(Boolean textCountEmptyLinesValue) { public Boolean getTextCountInTextBoxesAttribute() { TextCountInTextBoxesAttribute attr = (TextCountInTextBoxesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "count-in-text-boxes"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCountInTextBoxesAttribute.DEFAULT_VALUE); } @@ -166,7 +166,7 @@ public Boolean getTextCountInTextBoxesAttribute() { public void setTextCountInTextBoxesAttribute(Boolean textCountInTextBoxesValue) { TextCountInTextBoxesAttribute attr = new TextCountInTextBoxesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCountInTextBoxesValue.booleanValue()); + attr.setValue(textCountInTextBoxesValue.toString()); } /** @@ -177,7 +177,7 @@ public void setTextCountInTextBoxesAttribute(Boolean textCountInTextBoxesValue) public Integer getTextIncrementAttribute() { TextIncrementAttribute attr = (TextIncrementAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "increment"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -190,7 +190,7 @@ public Integer getTextIncrementAttribute() { public void setTextIncrementAttribute(Integer textIncrementValue) { TextIncrementAttribute attr = new TextIncrementAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textIncrementValue.intValue()); + attr.setValue(textIncrementValue.toString()); } /** @@ -201,7 +201,7 @@ public void setTextIncrementAttribute(Integer textIncrementValue) { public Boolean getTextNumberLinesAttribute() { TextNumberLinesAttribute attr = (TextNumberLinesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "number-lines"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextNumberLinesAttribute.DEFAULT_VALUE); } @@ -214,7 +214,7 @@ public Boolean getTextNumberLinesAttribute() { public void setTextNumberLinesAttribute(Boolean textNumberLinesValue) { TextNumberLinesAttribute attr = new TextNumberLinesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textNumberLinesValue.booleanValue()); + attr.setValue(textNumberLinesValue.toString()); } /** @@ -273,7 +273,7 @@ public void setTextOffsetAttribute(String textOffsetValue) { public Boolean getTextRestartOnPageAttribute() { TextRestartOnPageAttribute attr = (TextRestartOnPageAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "restart-on-page"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRestartOnPageAttribute.DEFAULT_VALUE); } @@ -286,7 +286,7 @@ public Boolean getTextRestartOnPageAttribute() { public void setTextRestartOnPageAttribute(Boolean textRestartOnPageValue) { TextRestartOnPageAttribute attr = new TextRestartOnPageAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRestartOnPageValue.booleanValue()); + attr.setValue(textRestartOnPageValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingSeparatorElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingSeparatorElement.java index f671c6a413..c43ae0ffe8 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingSeparatorElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingSeparatorElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Integer getTextIncrementAttribute() { TextIncrementAttribute attr = (TextIncrementAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "increment"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Integer getTextIncrementAttribute() { public void setTextIncrementAttribute(Integer textIncrementValue) { TextIncrementAttribute attr = new TextIncrementAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textIncrementValue.intValue()); + attr.setValue(textIncrementValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextListElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextListElement.java index 7f6b5b86c0..9a25ef4273 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextListElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextListElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Boolean getTextContinueNumberingAttribute() { TextContinueNumberingAttribute attr = (TextContinueNumberingAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "continue-numbering"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -82,7 +82,7 @@ public Boolean getTextContinueNumberingAttribute() { public void setTextContinueNumberingAttribute(Boolean textContinueNumberingValue) { TextContinueNumberingAttribute attr = new TextContinueNumberingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textContinueNumberingValue.booleanValue()); + attr.setValue(textContinueNumberingValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextListItemElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextListItemElement.java index e053468d3b..b5dd1ece0e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextListItemElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextListItemElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleElementBase.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleElementBase.java index 7535f28c8c..f101480f46 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleElementBase.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleElementBase.java @@ -62,7 +62,7 @@ public TextListLevelStyleElementBase(OdfFileDom ownerDoc, OdfName elementName) { public Integer getTextLevelAttribute() { TextLevelAttribute attr = (TextLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -75,7 +75,7 @@ public Integer getTextLevelAttribute() { public void setTextLevelAttribute(Integer textLevelValue) { TextLevelAttribute attr = new TextLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textLevelValue.intValue()); + attr.setValue(textLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleNumberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleNumberElement.java index 47ed8d9f83..9024df8b75 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleNumberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleNumberElement.java @@ -101,7 +101,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -114,7 +114,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -173,7 +173,7 @@ public void setStyleNumSuffixAttribute(String styleNumSuffixValue) { public Integer getTextDisplayLevelsAttribute() { TextDisplayLevelsAttribute attr = (TextDisplayLevelsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "display-levels"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextDisplayLevelsAttribute.DEFAULT_VALUE); } @@ -186,7 +186,7 @@ public Integer getTextDisplayLevelsAttribute() { public void setTextDisplayLevelsAttribute(Integer textDisplayLevelsValue) { TextDisplayLevelsAttribute attr = new TextDisplayLevelsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textDisplayLevelsValue.intValue()); + attr.setValue(textDisplayLevelsValue.toString()); } /** @@ -197,7 +197,7 @@ public void setTextDisplayLevelsAttribute(Integer textDisplayLevelsValue) { public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextStartValueAttribute.DEFAULT_VALUE); } @@ -210,7 +210,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextListStyleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextListStyleElement.java index 446d766796..bd7fa2e94a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextListStyleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextListStyleElement.java @@ -121,7 +121,7 @@ public void setStyleNameAttribute(String styleNameValue) { public Boolean getTextConsecutiveNumberingAttribute() { TextConsecutiveNumberingAttribute attr = (TextConsecutiveNumberingAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "consecutive-numbering"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextConsecutiveNumberingAttribute.DEFAULT_VALUE); } @@ -134,7 +134,7 @@ public Boolean getTextConsecutiveNumberingAttribute() { public void setTextConsecutiveNumberingAttribute(Boolean textConsecutiveNumberingValue) { TextConsecutiveNumberingAttribute attr = new TextConsecutiveNumberingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textConsecutiveNumberingValue.booleanValue()); + attr.setValue(textConsecutiveNumberingValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextModificationDateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextModificationDateElement.java index d0684ba324..17ae39a3c0 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextModificationDateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextModificationDateElement.java @@ -118,7 +118,7 @@ public void setTextDateValueAttribute(String textDateValueValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -131,7 +131,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextModificationTimeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextModificationTimeElement.java index e12cdc50e6..5a6556f495 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextModificationTimeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextModificationTimeElement.java @@ -94,7 +94,7 @@ public void setStyleDataStyleNameAttribute(String styleDataStyleNameValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -107,7 +107,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextNotesConfigurationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextNotesConfigurationElement.java index 447af6f2f8..b25541f3d5 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextNotesConfigurationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextNotesConfigurationElement.java @@ -105,7 +105,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -118,7 +118,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -347,7 +347,7 @@ public void setTextStartNumberingAtAttribute(String textStartNumberingAtValue) { public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextStartValueAttribute.DEFAULT_VALUE); } @@ -360,7 +360,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextNumberedParagraphElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextNumberedParagraphElement.java index 6bedac7a1c..602a69f91a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextNumberedParagraphElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextNumberedParagraphElement.java @@ -73,7 +73,7 @@ public OdfName getOdfName() { public Boolean getTextContinueNumberingAttribute() { TextContinueNumberingAttribute attr = (TextContinueNumberingAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "continue-numbering"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -86,7 +86,7 @@ public Boolean getTextContinueNumberingAttribute() { public void setTextContinueNumberingAttribute(Boolean textContinueNumberingValue) { TextContinueNumberingAttribute attr = new TextContinueNumberingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textContinueNumberingValue.booleanValue()); + attr.setValue(textContinueNumberingValue.toString()); } /** @@ -97,7 +97,7 @@ public void setTextContinueNumberingAttribute(Boolean textContinueNumberingValue public Integer getTextLevelAttribute() { TextLevelAttribute attr = (TextLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextLevelAttribute.DEFAULT_VALUE); } @@ -110,7 +110,7 @@ public Integer getTextLevelAttribute() { public void setTextLevelAttribute(Integer textLevelValue) { TextLevelAttribute attr = new TextLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textLevelValue.intValue()); + attr.setValue(textLevelValue.toString()); } /** @@ -121,7 +121,7 @@ public void setTextLevelAttribute(Integer textLevelValue) { public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -134,7 +134,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextObjectCountElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextObjectCountElement.java index 52b3ab0168..258570590f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextObjectCountElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextObjectCountElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexElement.java index b87c05e469..e1628c1954 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexElement.java @@ -99,7 +99,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -112,7 +112,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexSourceElement.java index b15cde5e3d..2455ac9cc4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexSourceElement.java @@ -98,7 +98,7 @@ public void setTextIndexScopeAttribute(String textIndexScopeValue) { public Boolean getTextRelativeTabStopPositionAttribute() { TextRelativeTabStopPositionAttribute attr = (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRelativeTabStopPositionAttribute.DEFAULT_VALUE); } @@ -111,7 +111,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopPositionValue) { TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -122,7 +122,7 @@ public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopP public Boolean getTextUseChartObjectsAttribute() { TextUseChartObjectsAttribute attr = (TextUseChartObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-chart-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseChartObjectsAttribute.DEFAULT_VALUE); } @@ -135,7 +135,7 @@ public Boolean getTextUseChartObjectsAttribute() { public void setTextUseChartObjectsAttribute(Boolean textUseChartObjectsValue) { TextUseChartObjectsAttribute attr = new TextUseChartObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseChartObjectsValue.booleanValue()); + attr.setValue(textUseChartObjectsValue.toString()); } /** @@ -146,7 +146,7 @@ public void setTextUseChartObjectsAttribute(Boolean textUseChartObjectsValue) { public Boolean getTextUseDrawObjectsAttribute() { TextUseDrawObjectsAttribute attr = (TextUseDrawObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-draw-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseDrawObjectsAttribute.DEFAULT_VALUE); } @@ -159,7 +159,7 @@ public Boolean getTextUseDrawObjectsAttribute() { public void setTextUseDrawObjectsAttribute(Boolean textUseDrawObjectsValue) { TextUseDrawObjectsAttribute attr = new TextUseDrawObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseDrawObjectsValue.booleanValue()); + attr.setValue(textUseDrawObjectsValue.toString()); } /** @@ -170,7 +170,7 @@ public void setTextUseDrawObjectsAttribute(Boolean textUseDrawObjectsValue) { public Boolean getTextUseMathObjectsAttribute() { TextUseMathObjectsAttribute attr = (TextUseMathObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-math-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseMathObjectsAttribute.DEFAULT_VALUE); } @@ -183,7 +183,7 @@ public Boolean getTextUseMathObjectsAttribute() { public void setTextUseMathObjectsAttribute(Boolean textUseMathObjectsValue) { TextUseMathObjectsAttribute attr = new TextUseMathObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseMathObjectsValue.booleanValue()); + attr.setValue(textUseMathObjectsValue.toString()); } /** @@ -194,7 +194,7 @@ public void setTextUseMathObjectsAttribute(Boolean textUseMathObjectsValue) { public Boolean getTextUseOtherObjectsAttribute() { TextUseOtherObjectsAttribute attr = (TextUseOtherObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-other-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseOtherObjectsAttribute.DEFAULT_VALUE); } @@ -207,7 +207,7 @@ public Boolean getTextUseOtherObjectsAttribute() { public void setTextUseOtherObjectsAttribute(Boolean textUseOtherObjectsValue) { TextUseOtherObjectsAttribute attr = new TextUseOtherObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseOtherObjectsValue.booleanValue()); + attr.setValue(textUseOtherObjectsValue.toString()); } /** @@ -218,7 +218,7 @@ public void setTextUseOtherObjectsAttribute(Boolean textUseOtherObjectsValue) { public Boolean getTextUseSpreadsheetObjectsAttribute() { TextUseSpreadsheetObjectsAttribute attr = (TextUseSpreadsheetObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-spreadsheet-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseSpreadsheetObjectsAttribute.DEFAULT_VALUE); } @@ -231,7 +231,7 @@ public Boolean getTextUseSpreadsheetObjectsAttribute() { public void setTextUseSpreadsheetObjectsAttribute(Boolean textUseSpreadsheetObjectsValue) { TextUseSpreadsheetObjectsAttribute attr = new TextUseSpreadsheetObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseSpreadsheetObjectsValue.booleanValue()); + attr.setValue(textUseSpreadsheetObjectsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextOutlineLevelStyleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextOutlineLevelStyleElement.java index ca88206ec0..835b635707 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextOutlineLevelStyleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextOutlineLevelStyleElement.java @@ -104,7 +104,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -117,7 +117,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -176,7 +176,7 @@ public void setStyleNumSuffixAttribute(String styleNumSuffixValue) { public Integer getTextDisplayLevelsAttribute() { TextDisplayLevelsAttribute attr = (TextDisplayLevelsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "display-levels"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextDisplayLevelsAttribute.DEFAULT_VALUE); } @@ -189,7 +189,7 @@ public Integer getTextDisplayLevelsAttribute() { public void setTextDisplayLevelsAttribute(Integer textDisplayLevelsValue) { TextDisplayLevelsAttribute attr = new TextDisplayLevelsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textDisplayLevelsValue.intValue()); + attr.setValue(textDisplayLevelsValue.toString()); } /** @@ -202,7 +202,7 @@ public void setTextDisplayLevelsAttribute(Integer textDisplayLevelsValue) { public Integer getTextLevelAttribute() { TextLevelAttribute attr = (TextLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -215,7 +215,7 @@ public Integer getTextLevelAttribute() { public void setTextLevelAttribute(Integer textLevelValue) { TextLevelAttribute attr = new TextLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textLevelValue.intValue()); + attr.setValue(textLevelValue.toString()); } /** @@ -226,7 +226,7 @@ public void setTextLevelAttribute(Integer textLevelValue) { public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextStartValueAttribute.DEFAULT_VALUE); } @@ -239,7 +239,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextPageCountElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextPageCountElement.java index 5c21de82e4..297e0de76f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextPageCountElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextPageCountElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextPageNumberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextPageNumberElement.java index 2d7364aef0..aa22b329aa 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextPageNumberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextPageNumberElement.java @@ -98,7 +98,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -111,7 +111,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -122,7 +122,7 @@ public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -135,7 +135,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** @@ -146,7 +146,7 @@ public void setTextFixedAttribute(Boolean textFixedValue) { public Integer getTextPageAdjustAttribute() { TextPageAdjustAttribute attr = (TextPageAdjustAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "page-adjust"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -159,7 +159,7 @@ public Integer getTextPageAdjustAttribute() { public void setTextPageAdjustAttribute(Integer textPageAdjustValue) { TextPageAdjustAttribute attr = new TextPageAdjustAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textPageAdjustValue.intValue()); + attr.setValue(textPageAdjustValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextPageVariableGetElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextPageVariableGetElement.java index 18e99043b7..af28ee8b02 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextPageVariableGetElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextPageVariableGetElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextPageVariableSetElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextPageVariableSetElement.java index 281155ea1a..342ded3efa 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextPageVariableSetElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextPageVariableSetElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Boolean getTextActiveAttribute() { TextActiveAttribute attr = (TextActiveAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "active"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -82,7 +82,7 @@ public Boolean getTextActiveAttribute() { public void setTextActiveAttribute(Boolean textActiveValue) { TextActiveAttribute attr = new TextActiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textActiveValue.booleanValue()); + attr.setValue(textActiveValue.toString()); } /** @@ -93,7 +93,7 @@ public void setTextActiveAttribute(Boolean textActiveValue) { public Integer getTextPageAdjustAttribute() { TextPageAdjustAttribute attr = (TextPageAdjustAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "page-adjust"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -106,7 +106,7 @@ public Integer getTextPageAdjustAttribute() { public void setTextPageAdjustAttribute(Integer textPageAdjustValue) { TextPageAdjustAttribute attr = new TextPageAdjustAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textPageAdjustValue.intValue()); + attr.setValue(textPageAdjustValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextParagraphCountElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextParagraphCountElement.java index bdd26edb96..21c3e91359 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextParagraphCountElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextParagraphCountElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextPrintDateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextPrintDateElement.java index 4b09328289..84f95742af 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextPrintDateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextPrintDateElement.java @@ -118,7 +118,7 @@ public void setTextDateValueAttribute(String textDateValueValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -131,7 +131,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextPrintTimeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextPrintTimeElement.java index 88ad7e984f..0c00d88afd 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextPrintTimeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextPrintTimeElement.java @@ -94,7 +94,7 @@ public void setStyleDataStyleNameAttribute(String styleDataStyleNameValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -107,7 +107,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextPrintedByElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextPrintedByElement.java index a12ca813a2..7abfd15f80 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextPrintedByElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextPrintedByElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSElement.java index 7b1270a4e4..03092f5de8 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Integer getTextCAttribute() { TextCAttribute attr = (TextCAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "c"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextCAttribute.DEFAULT_VALUE); } @@ -82,7 +82,7 @@ public Integer getTextCAttribute() { public void setTextCAttribute(Integer textCValue) { TextCAttribute attr = new TextCAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textCValue.intValue()); + attr.setValue(textCValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSectionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSectionElement.java index bfa766bdeb..b10ebb21bf 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSectionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSectionElement.java @@ -171,7 +171,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -184,7 +184,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderCityElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderCityElement.java index 4c4df241fd..ea8a331ca0 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderCityElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderCityElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderCompanyElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderCompanyElement.java index bb7a3c0717..d2d8088a67 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderCompanyElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderCompanyElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderCountryElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderCountryElement.java index 6d5f78ad96..cb6fed2024 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderCountryElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderCountryElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderEmailElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderEmailElement.java index 0db1bb6095..d34d244d17 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderEmailElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderEmailElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderFaxElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderFaxElement.java index 04647b41b6..462e1fd0b4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderFaxElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderFaxElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderFirstnameElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderFirstnameElement.java index 781be614d7..f050ba9331 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderFirstnameElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderFirstnameElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderInitialsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderInitialsElement.java index 9bd0d16788..378baf542e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderInitialsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderInitialsElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderLastnameElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderLastnameElement.java index 370da67879..a37457741f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderLastnameElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderLastnameElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderPhonePrivateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderPhonePrivateElement.java index 812891f1fb..8037e49fdc 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderPhonePrivateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderPhonePrivateElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderPhoneWorkElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderPhoneWorkElement.java index 2cad116cc8..34a944a72a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderPhoneWorkElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderPhoneWorkElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderPositionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderPositionElement.java index ad73e561c1..85cb51496a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderPositionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderPositionElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderPostalCodeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderPostalCodeElement.java index f8aebb6f11..6544bfd64a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderPostalCodeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderPostalCodeElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderStateOrProvinceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderStateOrProvinceElement.java index 4c5ffd9c05..5128f9c881 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderStateOrProvinceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderStateOrProvinceElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderStreetElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderStreetElement.java index c536a87b0b..0d70bf2168 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderStreetElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderStreetElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderTitleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderTitleElement.java index 36dce26c9c..48d5aed1c7 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderTitleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSenderTitleElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSequenceDeclElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSequenceDeclElement.java index 699f523a60..5da1e93751 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSequenceDeclElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSequenceDeclElement.java @@ -72,7 +72,7 @@ public OdfName getOdfName() { public Integer getTextDisplayOutlineLevelAttribute() { TextDisplayOutlineLevelAttribute attr = (TextDisplayOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "display-outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Integer getTextDisplayOutlineLevelAttribute() { public void setTextDisplayOutlineLevelAttribute(Integer textDisplayOutlineLevelValue) { TextDisplayOutlineLevelAttribute attr = new TextDisplayOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textDisplayOutlineLevelValue.intValue()); + attr.setValue(textDisplayOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSequenceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSequenceElement.java index d4eb24c4a8..309371ff23 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSequenceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSequenceElement.java @@ -98,7 +98,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -111,7 +111,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSortKeyElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSortKeyElement.java index fb027ac4cf..d6b789dc92 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSortKeyElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSortKeyElement.java @@ -95,7 +95,7 @@ public void setTextKeyAttribute(String textKeyValue) { public Boolean getTextSortAscendingAttribute() { TextSortAscendingAttribute attr = (TextSortAscendingAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "sort-ascending"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextSortAscendingAttribute.DEFAULT_VALUE); } @@ -108,7 +108,7 @@ public Boolean getTextSortAscendingAttribute() { public void setTextSortAscendingAttribute(Boolean textSortAscendingValue) { TextSortAscendingAttribute attr = new TextSortAscendingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textSortAscendingValue.booleanValue()); + attr.setValue(textSortAscendingValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSubjectElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSubjectElement.java index faeb6df221..d2951a4234 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSubjectElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextSubjectElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTabElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTabElement.java index 6070cb9955..c043ff42db 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTabElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTabElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Integer getTextTabRefAttribute() { TextTabRefAttribute attr = (TextTabRefAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "tab-ref"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Integer getTextTabRefAttribute() { public void setTextTabRefAttribute(Integer textTabRefValue) { TextTabRefAttribute attr = new TextTabRefAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textTabRefValue.intValue()); + attr.setValue(textTabRefValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTableCountElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTableCountElement.java index 818d5c94cb..f8503b48f7 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTableCountElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTableCountElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTableIndexElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTableIndexElement.java index fd44910e3e..4f2d726318 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTableIndexElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTableIndexElement.java @@ -99,7 +99,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -112,7 +112,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTableIndexSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTableIndexSourceElement.java index ae3c410995..06fdc385e8 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTableIndexSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTableIndexSourceElement.java @@ -144,7 +144,7 @@ public void setTextIndexScopeAttribute(String textIndexScopeValue) { public Boolean getTextRelativeTabStopPositionAttribute() { TextRelativeTabStopPositionAttribute attr = (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRelativeTabStopPositionAttribute.DEFAULT_VALUE); } @@ -157,7 +157,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopPositionValue) { TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -168,7 +168,7 @@ public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopP public Boolean getTextUseCaptionAttribute() { TextUseCaptionAttribute attr = (TextUseCaptionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-caption"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseCaptionAttribute.DEFAULT_VALUE); } @@ -181,7 +181,7 @@ public Boolean getTextUseCaptionAttribute() { public void setTextUseCaptionAttribute(Boolean textUseCaptionValue) { TextUseCaptionAttribute attr = new TextUseCaptionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseCaptionValue.booleanValue()); + attr.setValue(textUseCaptionValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentElement.java index 7b2a2c105e..3afa8e5cb4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentElement.java @@ -99,7 +99,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -112,7 +112,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentEntryTemplateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentEntryTemplateElement.java index 1bd5deae54..e362462575 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentEntryTemplateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentEntryTemplateElement.java @@ -73,7 +73,7 @@ public OdfName getOdfName() { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -86,7 +86,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentSourceElement.java index c95f103b5a..f490ac22e2 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentSourceElement.java @@ -97,7 +97,7 @@ public void setTextIndexScopeAttribute(String textIndexScopeValue) { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -110,7 +110,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** @@ -121,7 +121,7 @@ public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { public Boolean getTextRelativeTabStopPositionAttribute() { TextRelativeTabStopPositionAttribute attr = (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -134,7 +134,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopPositionValue) { TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -145,7 +145,7 @@ public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopP public Boolean getTextUseIndexMarksAttribute() { TextUseIndexMarksAttribute attr = (TextUseIndexMarksAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-index-marks"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -158,7 +158,7 @@ public Boolean getTextUseIndexMarksAttribute() { public void setTextUseIndexMarksAttribute(Boolean textUseIndexMarksValue) { TextUseIndexMarksAttribute attr = new TextUseIndexMarksAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseIndexMarksValue.booleanValue()); + attr.setValue(textUseIndexMarksValue.toString()); } /** @@ -169,7 +169,7 @@ public void setTextUseIndexMarksAttribute(Boolean textUseIndexMarksValue) { public Boolean getTextUseIndexSourceStylesAttribute() { TextUseIndexSourceStylesAttribute attr = (TextUseIndexSourceStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-index-source-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -182,7 +182,7 @@ public Boolean getTextUseIndexSourceStylesAttribute() { public void setTextUseIndexSourceStylesAttribute(Boolean textUseIndexSourceStylesValue) { TextUseIndexSourceStylesAttribute attr = new TextUseIndexSourceStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseIndexSourceStylesValue.booleanValue()); + attr.setValue(textUseIndexSourceStylesValue.toString()); } /** @@ -193,7 +193,7 @@ public void setTextUseIndexSourceStylesAttribute(Boolean textUseIndexSourceStyle public Boolean getTextUseOutlineLevelAttribute() { TextUseOutlineLevelAttribute attr = (TextUseOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseOutlineLevelAttribute.DEFAULT_VALUE); } @@ -206,7 +206,7 @@ public Boolean getTextUseOutlineLevelAttribute() { public void setTextUseOutlineLevelAttribute(Boolean textUseOutlineLevelValue) { TextUseOutlineLevelAttribute attr = new TextUseOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseOutlineLevelValue.booleanValue()); + attr.setValue(textUseOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTimeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTimeElement.java index c3bab06eef..1cd48f0140 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTimeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTimeElement.java @@ -95,7 +95,7 @@ public void setStyleDataStyleNameAttribute(String styleDataStyleNameValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTitleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTitleElement.java index 5973b87b5e..85d90f47c9 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTitleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTitleElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTocMarkElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTocMarkElement.java index a0c119566e..d08ad43a42 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTocMarkElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTocMarkElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -82,7 +82,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTocMarkStartElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTocMarkStartElement.java index 2cace77831..fcc49ae1c6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTocMarkStartElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTocMarkStartElement.java @@ -95,7 +95,7 @@ public void setTextIdAttribute(String textIdValue) { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTrackedChangesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTrackedChangesElement.java index 246833fbeb..656472f348 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTrackedChangesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextTrackedChangesElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextTrackChangesAttribute() { TextTrackChangesAttribute attr = (TextTrackChangesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "track-changes"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextTrackChangesAttribute.DEFAULT_VALUE); } @@ -81,7 +81,7 @@ public Boolean getTextTrackChangesAttribute() { public void setTextTrackChangesAttribute(Boolean textTrackChangesValue) { TextTrackChangesAttribute attr = new TextTrackChangesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textTrackChangesValue.booleanValue()); + attr.setValue(textTrackChangesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserDefinedElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserDefinedElement.java index 72a33744ec..93333c98c2 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserDefinedElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserDefinedElement.java @@ -75,7 +75,7 @@ public OdfName getOdfName() { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -88,7 +88,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -171,7 +171,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -184,7 +184,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** @@ -219,7 +219,7 @@ public void setStyleDataStyleNameAttribute(String styleDataStyleNameValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -232,7 +232,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserFieldDeclElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserFieldDeclElement.java index 922b4588b5..d73d9d77a5 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserFieldDeclElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserFieldDeclElement.java @@ -76,7 +76,7 @@ public OdfName getOdfName() { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -89,7 +89,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -198,7 +198,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -211,7 +211,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserIndexElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserIndexElement.java index e126d25094..5ec810f562 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserIndexElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserIndexElement.java @@ -99,7 +99,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -112,7 +112,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserIndexEntryTemplateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserIndexEntryTemplateElement.java index 9bf859115d..db95f02cca 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserIndexEntryTemplateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserIndexEntryTemplateElement.java @@ -73,7 +73,7 @@ public OdfName getOdfName() { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -86,7 +86,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkElement.java index 859bd424fc..cca8ed2c9d 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkElement.java @@ -96,7 +96,7 @@ public void setTextIndexNameAttribute(String textIndexNameValue) { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -109,7 +109,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkEndElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkEndElement.java index 7ed7dadd1d..392c8f055b 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkEndElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkEndElement.java @@ -95,7 +95,7 @@ public void setTextIdAttribute(String textIdValue) { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkStartElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkStartElement.java index 454d4dcca9..e858146579 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkStartElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkStartElement.java @@ -122,7 +122,7 @@ public void setTextIndexNameAttribute(String textIndexNameValue) { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -135,7 +135,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserIndexSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserIndexSourceElement.java index 6e4720220c..fc76c96b39 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserIndexSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextUserIndexSourceElement.java @@ -76,7 +76,7 @@ public OdfName getOdfName() { public Boolean getTextCopyOutlineLevelsAttribute() { TextCopyOutlineLevelsAttribute attr = (TextCopyOutlineLevelsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "copy-outline-levels"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCopyOutlineLevelsAttribute.DEFAULT_VALUE); } @@ -89,7 +89,7 @@ public Boolean getTextCopyOutlineLevelsAttribute() { public void setTextCopyOutlineLevelsAttribute(Boolean textCopyOutlineLevelsValue) { TextCopyOutlineLevelsAttribute attr = new TextCopyOutlineLevelsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCopyOutlineLevelsValue.booleanValue()); + attr.setValue(textCopyOutlineLevelsValue.toString()); } /** @@ -150,7 +150,7 @@ public void setTextIndexScopeAttribute(String textIndexScopeValue) { public Boolean getTextRelativeTabStopPositionAttribute() { TextRelativeTabStopPositionAttribute attr = (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRelativeTabStopPositionAttribute.DEFAULT_VALUE); } @@ -163,7 +163,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopPositionValue) { TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -174,7 +174,7 @@ public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopP public Boolean getTextUseFloatingFramesAttribute() { TextUseFloatingFramesAttribute attr = (TextUseFloatingFramesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-floating-frames"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseFloatingFramesAttribute.DEFAULT_VALUE); } @@ -187,7 +187,7 @@ public Boolean getTextUseFloatingFramesAttribute() { public void setTextUseFloatingFramesAttribute(Boolean textUseFloatingFramesValue) { TextUseFloatingFramesAttribute attr = new TextUseFloatingFramesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseFloatingFramesValue.booleanValue()); + attr.setValue(textUseFloatingFramesValue.toString()); } /** @@ -198,7 +198,7 @@ public void setTextUseFloatingFramesAttribute(Boolean textUseFloatingFramesValue public Boolean getTextUseGraphicsAttribute() { TextUseGraphicsAttribute attr = (TextUseGraphicsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-graphics"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseGraphicsAttribute.DEFAULT_VALUE); } @@ -211,7 +211,7 @@ public Boolean getTextUseGraphicsAttribute() { public void setTextUseGraphicsAttribute(Boolean textUseGraphicsValue) { TextUseGraphicsAttribute attr = new TextUseGraphicsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseGraphicsValue.booleanValue()); + attr.setValue(textUseGraphicsValue.toString()); } /** @@ -222,7 +222,7 @@ public void setTextUseGraphicsAttribute(Boolean textUseGraphicsValue) { public Boolean getTextUseIndexMarksAttribute() { TextUseIndexMarksAttribute attr = (TextUseIndexMarksAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-index-marks"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseIndexMarksAttribute.DEFAULT_VALUE); } @@ -235,7 +235,7 @@ public Boolean getTextUseIndexMarksAttribute() { public void setTextUseIndexMarksAttribute(Boolean textUseIndexMarksValue) { TextUseIndexMarksAttribute attr = new TextUseIndexMarksAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseIndexMarksValue.booleanValue()); + attr.setValue(textUseIndexMarksValue.toString()); } /** @@ -246,7 +246,7 @@ public void setTextUseIndexMarksAttribute(Boolean textUseIndexMarksValue) { public Boolean getTextUseObjectsAttribute() { TextUseObjectsAttribute attr = (TextUseObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseObjectsAttribute.DEFAULT_VALUE); } @@ -259,7 +259,7 @@ public Boolean getTextUseObjectsAttribute() { public void setTextUseObjectsAttribute(Boolean textUseObjectsValue) { TextUseObjectsAttribute attr = new TextUseObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseObjectsValue.booleanValue()); + attr.setValue(textUseObjectsValue.toString()); } /** @@ -270,7 +270,7 @@ public void setTextUseObjectsAttribute(Boolean textUseObjectsValue) { public Boolean getTextUseTablesAttribute() { TextUseTablesAttribute attr = (TextUseTablesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-tables"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseTablesAttribute.DEFAULT_VALUE); } @@ -283,7 +283,7 @@ public Boolean getTextUseTablesAttribute() { public void setTextUseTablesAttribute(Boolean textUseTablesValue) { TextUseTablesAttribute attr = new TextUseTablesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseTablesValue.booleanValue()); + attr.setValue(textUseTablesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextVariableSetElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextVariableSetElement.java index 31a47a0434..de1cd1ee8e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextVariableSetElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextVariableSetElement.java @@ -78,7 +78,7 @@ public OdfName getOdfName() { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -91,7 +91,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -200,7 +200,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -213,7 +213,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextWordCountElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextWordCountElement.java index 0dc81a7f46..db7322220e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextWordCountElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.0/org/odftoolkit/odfdom/dom/element/text/TextWordCountElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateColorElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateColorElement.java index 276339b988..b18753b458 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateColorElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateColorElement.java @@ -190,7 +190,7 @@ public void setAnimSubItemAttribute(String animSubItemValue) { public Double getSmilAccelerateAttribute() { SmilAccelerateAttribute attr = (SmilAccelerateAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "accelerate"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(SmilAccelerateAttribute.DEFAULT_VALUE); } @@ -203,7 +203,7 @@ public Double getSmilAccelerateAttribute() { public void setSmilAccelerateAttribute(Double smilAccelerateValue) { SmilAccelerateAttribute attr = new SmilAccelerateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(smilAccelerateValue.doubleValue()); + attr.setValue(smilAccelerateValue.toString()); } /** @@ -288,7 +288,7 @@ public void setSmilAttributeNameAttribute(String smilAttributeNameValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -301,7 +301,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** @@ -384,7 +384,7 @@ public void setSmilCalcModeAttribute(String smilCalcModeValue) { public Double getSmilDecelerateAttribute() { SmilDecelerateAttribute attr = (SmilDecelerateAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "decelerate"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(SmilDecelerateAttribute.DEFAULT_VALUE); } @@ -397,7 +397,7 @@ public Double getSmilDecelerateAttribute() { public void setSmilDecelerateAttribute(Double smilDecelerateValue) { SmilDecelerateAttribute attr = new SmilDecelerateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(smilDecelerateValue.doubleValue()); + attr.setValue(smilDecelerateValue.toString()); } /** @@ -576,7 +576,7 @@ public void setSmilKeyTimesAttribute(String smilKeyTimesValue) { public Integer getSmilRepeatCountAttribute() { SmilRepeatCountAttribute attr = (SmilRepeatCountAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "repeatCount"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -589,7 +589,7 @@ public Integer getSmilRepeatCountAttribute() { public void setSmilRepeatCountAttribute(Integer smilRepeatCountValue) { SmilRepeatCountAttribute attr = new SmilRepeatCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(smilRepeatCountValue.intValue()); + attr.setValue(smilRepeatCountValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateElement.java index cea4ff6828..194b005ba0 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateElement.java @@ -140,7 +140,7 @@ public void setAnimSubItemAttribute(String animSubItemValue) { public Double getSmilAccelerateAttribute() { SmilAccelerateAttribute attr = (SmilAccelerateAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "accelerate"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(SmilAccelerateAttribute.DEFAULT_VALUE); } @@ -153,7 +153,7 @@ public Double getSmilAccelerateAttribute() { public void setSmilAccelerateAttribute(Double smilAccelerateValue) { SmilAccelerateAttribute attr = new SmilAccelerateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(smilAccelerateValue.doubleValue()); + attr.setValue(smilAccelerateValue.toString()); } /** @@ -238,7 +238,7 @@ public void setSmilAttributeNameAttribute(String smilAttributeNameValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -251,7 +251,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** @@ -334,7 +334,7 @@ public void setSmilCalcModeAttribute(String smilCalcModeValue) { public Double getSmilDecelerateAttribute() { SmilDecelerateAttribute attr = (SmilDecelerateAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "decelerate"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(SmilDecelerateAttribute.DEFAULT_VALUE); } @@ -347,7 +347,7 @@ public Double getSmilDecelerateAttribute() { public void setSmilDecelerateAttribute(Double smilDecelerateValue) { SmilDecelerateAttribute attr = new SmilDecelerateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(smilDecelerateValue.doubleValue()); + attr.setValue(smilDecelerateValue.toString()); } /** @@ -526,7 +526,7 @@ public void setSmilKeyTimesAttribute(String smilKeyTimesValue) { public Integer getSmilRepeatCountAttribute() { SmilRepeatCountAttribute attr = (SmilRepeatCountAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "repeatCount"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -539,7 +539,7 @@ public Integer getSmilRepeatCountAttribute() { public void setSmilRepeatCountAttribute(Integer smilRepeatCountValue) { SmilRepeatCountAttribute attr = new SmilRepeatCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(smilRepeatCountValue.intValue()); + attr.setValue(smilRepeatCountValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateMotionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateMotionElement.java index 7314e49386..d907275af1 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateMotionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateMotionElement.java @@ -142,7 +142,7 @@ public void setAnimSubItemAttribute(String animSubItemValue) { public Double getSmilAccelerateAttribute() { SmilAccelerateAttribute attr = (SmilAccelerateAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "accelerate"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(SmilAccelerateAttribute.DEFAULT_VALUE); } @@ -155,7 +155,7 @@ public Double getSmilAccelerateAttribute() { public void setSmilAccelerateAttribute(Double smilAccelerateValue) { SmilAccelerateAttribute attr = new SmilAccelerateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(smilAccelerateValue.doubleValue()); + attr.setValue(smilAccelerateValue.toString()); } /** @@ -240,7 +240,7 @@ public void setSmilAttributeNameAttribute(String smilAttributeNameValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -253,7 +253,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** @@ -336,7 +336,7 @@ public void setSmilCalcModeAttribute(String smilCalcModeValue) { public Double getSmilDecelerateAttribute() { SmilDecelerateAttribute attr = (SmilDecelerateAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "decelerate"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(SmilDecelerateAttribute.DEFAULT_VALUE); } @@ -349,7 +349,7 @@ public Double getSmilDecelerateAttribute() { public void setSmilDecelerateAttribute(Double smilDecelerateValue) { SmilDecelerateAttribute attr = new SmilDecelerateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(smilDecelerateValue.doubleValue()); + attr.setValue(smilDecelerateValue.toString()); } /** @@ -528,7 +528,7 @@ public void setSmilKeyTimesAttribute(String smilKeyTimesValue) { public Integer getSmilRepeatCountAttribute() { SmilRepeatCountAttribute attr = (SmilRepeatCountAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "repeatCount"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -541,7 +541,7 @@ public Integer getSmilRepeatCountAttribute() { public void setSmilRepeatCountAttribute(Integer smilRepeatCountValue) { SmilRepeatCountAttribute attr = new SmilRepeatCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(smilRepeatCountValue.intValue()); + attr.setValue(smilRepeatCountValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateTransformElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateTransformElement.java index d16d3cf454..fa6b9747c0 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateTransformElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateTransformElement.java @@ -138,7 +138,7 @@ public void setAnimSubItemAttribute(String animSubItemValue) { public Double getSmilAccelerateAttribute() { SmilAccelerateAttribute attr = (SmilAccelerateAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "accelerate"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(SmilAccelerateAttribute.DEFAULT_VALUE); } @@ -151,7 +151,7 @@ public Double getSmilAccelerateAttribute() { public void setSmilAccelerateAttribute(Double smilAccelerateValue) { SmilAccelerateAttribute attr = new SmilAccelerateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(smilAccelerateValue.doubleValue()); + attr.setValue(smilAccelerateValue.toString()); } /** @@ -236,7 +236,7 @@ public void setSmilAttributeNameAttribute(String smilAttributeNameValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -249,7 +249,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** @@ -308,7 +308,7 @@ public void setSmilByAttribute(String smilByValue) { public Double getSmilDecelerateAttribute() { SmilDecelerateAttribute attr = (SmilDecelerateAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "decelerate"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(SmilDecelerateAttribute.DEFAULT_VALUE); } @@ -321,7 +321,7 @@ public Double getSmilDecelerateAttribute() { public void setSmilDecelerateAttribute(Double smilDecelerateValue) { SmilDecelerateAttribute attr = new SmilDecelerateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(smilDecelerateValue.doubleValue()); + attr.setValue(smilDecelerateValue.toString()); } /** @@ -452,7 +452,7 @@ public void setSmilFromAttribute(String smilFromValue) { public Integer getSmilRepeatCountAttribute() { SmilRepeatCountAttribute attr = (SmilRepeatCountAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "repeatCount"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -465,7 +465,7 @@ public Integer getSmilRepeatCountAttribute() { public void setSmilRepeatCountAttribute(Integer smilRepeatCountValue) { SmilRepeatCountAttribute attr = new SmilRepeatCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(smilRepeatCountValue.intValue()); + attr.setValue(smilRepeatCountValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimAudioElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimAudioElement.java index b0effaa117..cb42a50f0c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimAudioElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimAudioElement.java @@ -81,7 +81,7 @@ public OdfName getOdfName() { public Double getAnimAudioLevelAttribute() { AnimAudioLevelAttribute attr = (AnimAudioLevelAttribute) getOdfAttribute(OdfDocumentNamespace.ANIM, "audio-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -94,7 +94,7 @@ public Double getAnimAudioLevelAttribute() { public void setAnimAudioLevelAttribute(Double animAudioLevelValue) { AnimAudioLevelAttribute attr = new AnimAudioLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(animAudioLevelValue.doubleValue()); + attr.setValue(animAudioLevelValue.toString()); } /** @@ -345,7 +345,7 @@ public void setSmilEndAttribute(String smilEndValue) { public Integer getSmilRepeatCountAttribute() { SmilRepeatCountAttribute attr = (SmilRepeatCountAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "repeatCount"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -358,7 +358,7 @@ public Integer getSmilRepeatCountAttribute() { public void setSmilRepeatCountAttribute(Integer smilRepeatCountValue) { SmilRepeatCountAttribute attr = new SmilRepeatCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(smilRepeatCountValue.intValue()); + attr.setValue(smilRepeatCountValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimIterateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimIterateElement.java index c2bc8a2985..2798cb7c12 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimIterateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimIterateElement.java @@ -331,7 +331,7 @@ public void setPresentationPresetSubTypeAttribute(String presentationPresetSubTy public Double getSmilAccelerateAttribute() { SmilAccelerateAttribute attr = (SmilAccelerateAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "accelerate"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(SmilAccelerateAttribute.DEFAULT_VALUE); } @@ -344,7 +344,7 @@ public Double getSmilAccelerateAttribute() { public void setSmilAccelerateAttribute(Double smilAccelerateValue) { SmilAccelerateAttribute attr = new SmilAccelerateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(smilAccelerateValue.doubleValue()); + attr.setValue(smilAccelerateValue.toString()); } /** @@ -355,7 +355,7 @@ public void setSmilAccelerateAttribute(Double smilAccelerateValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -368,7 +368,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** @@ -403,7 +403,7 @@ public void setSmilBeginAttribute(String smilBeginValue) { public Double getSmilDecelerateAttribute() { SmilDecelerateAttribute attr = (SmilDecelerateAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "decelerate"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(SmilDecelerateAttribute.DEFAULT_VALUE); } @@ -416,7 +416,7 @@ public Double getSmilDecelerateAttribute() { public void setSmilDecelerateAttribute(Double smilDecelerateValue) { SmilDecelerateAttribute attr = new SmilDecelerateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(smilDecelerateValue.doubleValue()); + attr.setValue(smilDecelerateValue.toString()); } /** @@ -547,7 +547,7 @@ public void setSmilFillDefaultAttribute(String smilFillDefaultValue) { public Integer getSmilRepeatCountAttribute() { SmilRepeatCountAttribute attr = (SmilRepeatCountAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "repeatCount"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -560,7 +560,7 @@ public Integer getSmilRepeatCountAttribute() { public void setSmilRepeatCountAttribute(Integer smilRepeatCountValue) { SmilRepeatCountAttribute attr = new SmilRepeatCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(smilRepeatCountValue.intValue()); + attr.setValue(smilRepeatCountValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimParElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimParElement.java index e6e02c9581..d041a710df 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimParElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimParElement.java @@ -255,7 +255,7 @@ public void setPresentationPresetSubTypeAttribute(String presentationPresetSubTy public Double getSmilAccelerateAttribute() { SmilAccelerateAttribute attr = (SmilAccelerateAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "accelerate"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(SmilAccelerateAttribute.DEFAULT_VALUE); } @@ -268,7 +268,7 @@ public Double getSmilAccelerateAttribute() { public void setSmilAccelerateAttribute(Double smilAccelerateValue) { SmilAccelerateAttribute attr = new SmilAccelerateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(smilAccelerateValue.doubleValue()); + attr.setValue(smilAccelerateValue.toString()); } /** @@ -279,7 +279,7 @@ public void setSmilAccelerateAttribute(Double smilAccelerateValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -292,7 +292,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** @@ -327,7 +327,7 @@ public void setSmilBeginAttribute(String smilBeginValue) { public Double getSmilDecelerateAttribute() { SmilDecelerateAttribute attr = (SmilDecelerateAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "decelerate"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(SmilDecelerateAttribute.DEFAULT_VALUE); } @@ -340,7 +340,7 @@ public Double getSmilDecelerateAttribute() { public void setSmilDecelerateAttribute(Double smilDecelerateValue) { SmilDecelerateAttribute attr = new SmilDecelerateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(smilDecelerateValue.doubleValue()); + attr.setValue(smilDecelerateValue.toString()); } /** @@ -471,7 +471,7 @@ public void setSmilFillDefaultAttribute(String smilFillDefaultValue) { public Integer getSmilRepeatCountAttribute() { SmilRepeatCountAttribute attr = (SmilRepeatCountAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "repeatCount"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -484,7 +484,7 @@ public Integer getSmilRepeatCountAttribute() { public void setSmilRepeatCountAttribute(Integer smilRepeatCountValue) { SmilRepeatCountAttribute attr = new SmilRepeatCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(smilRepeatCountValue.intValue()); + attr.setValue(smilRepeatCountValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimSeqElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimSeqElement.java index 0586f1df09..28d2cb272d 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimSeqElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimSeqElement.java @@ -255,7 +255,7 @@ public void setPresentationPresetSubTypeAttribute(String presentationPresetSubTy public Double getSmilAccelerateAttribute() { SmilAccelerateAttribute attr = (SmilAccelerateAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "accelerate"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(SmilAccelerateAttribute.DEFAULT_VALUE); } @@ -268,7 +268,7 @@ public Double getSmilAccelerateAttribute() { public void setSmilAccelerateAttribute(Double smilAccelerateValue) { SmilAccelerateAttribute attr = new SmilAccelerateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(smilAccelerateValue.doubleValue()); + attr.setValue(smilAccelerateValue.toString()); } /** @@ -279,7 +279,7 @@ public void setSmilAccelerateAttribute(Double smilAccelerateValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -292,7 +292,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** @@ -327,7 +327,7 @@ public void setSmilBeginAttribute(String smilBeginValue) { public Double getSmilDecelerateAttribute() { SmilDecelerateAttribute attr = (SmilDecelerateAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "decelerate"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(SmilDecelerateAttribute.DEFAULT_VALUE); } @@ -340,7 +340,7 @@ public Double getSmilDecelerateAttribute() { public void setSmilDecelerateAttribute(Double smilDecelerateValue) { SmilDecelerateAttribute attr = new SmilDecelerateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(smilDecelerateValue.doubleValue()); + attr.setValue(smilDecelerateValue.toString()); } /** @@ -471,7 +471,7 @@ public void setSmilFillDefaultAttribute(String smilFillDefaultValue) { public Integer getSmilRepeatCountAttribute() { SmilRepeatCountAttribute attr = (SmilRepeatCountAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "repeatCount"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -484,7 +484,7 @@ public Integer getSmilRepeatCountAttribute() { public void setSmilRepeatCountAttribute(Integer smilRepeatCountValue) { SmilRepeatCountAttribute attr = new SmilRepeatCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(smilRepeatCountValue.intValue()); + attr.setValue(smilRepeatCountValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimSetElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimSetElement.java index 190dd65640..198c11ac4d 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimSetElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimSetElement.java @@ -109,7 +109,7 @@ public void setAnimSubItemAttribute(String animSubItemValue) { public Double getSmilAccelerateAttribute() { SmilAccelerateAttribute attr = (SmilAccelerateAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "accelerate"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(SmilAccelerateAttribute.DEFAULT_VALUE); } @@ -122,7 +122,7 @@ public Double getSmilAccelerateAttribute() { public void setSmilAccelerateAttribute(Double smilAccelerateValue) { SmilAccelerateAttribute attr = new SmilAccelerateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(smilAccelerateValue.doubleValue()); + attr.setValue(smilAccelerateValue.toString()); } /** @@ -207,7 +207,7 @@ public void setSmilAttributeNameAttribute(String smilAttributeNameValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -220,7 +220,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** @@ -255,7 +255,7 @@ public void setSmilBeginAttribute(String smilBeginValue) { public Double getSmilDecelerateAttribute() { SmilDecelerateAttribute attr = (SmilDecelerateAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "decelerate"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(SmilDecelerateAttribute.DEFAULT_VALUE); } @@ -268,7 +268,7 @@ public Double getSmilDecelerateAttribute() { public void setSmilDecelerateAttribute(Double smilDecelerateValue) { SmilDecelerateAttribute attr = new SmilDecelerateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(smilDecelerateValue.doubleValue()); + attr.setValue(smilDecelerateValue.toString()); } /** @@ -375,7 +375,7 @@ public void setSmilFillDefaultAttribute(String smilFillDefaultValue) { public Integer getSmilRepeatCountAttribute() { SmilRepeatCountAttribute attr = (SmilRepeatCountAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "repeatCount"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -388,7 +388,7 @@ public Integer getSmilRepeatCountAttribute() { public void setSmilRepeatCountAttribute(Integer smilRepeatCountValue) { SmilRepeatCountAttribute attr = new SmilRepeatCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(smilRepeatCountValue.intValue()); + attr.setValue(smilRepeatCountValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimTransitionFilterElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimTransitionFilterElement.java index 8aa9491f70..a63952c4ef 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimTransitionFilterElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/anim/AnimTransitionFilterElement.java @@ -142,7 +142,7 @@ public void setAnimSubItemAttribute(String animSubItemValue) { public Double getSmilAccelerateAttribute() { SmilAccelerateAttribute attr = (SmilAccelerateAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "accelerate"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(SmilAccelerateAttribute.DEFAULT_VALUE); } @@ -155,7 +155,7 @@ public Double getSmilAccelerateAttribute() { public void setSmilAccelerateAttribute(Double smilAccelerateValue) { SmilAccelerateAttribute attr = new SmilAccelerateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(smilAccelerateValue.doubleValue()); + attr.setValue(smilAccelerateValue.toString()); } /** @@ -214,7 +214,7 @@ public void setSmilAdditiveAttribute(String smilAdditiveValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -227,7 +227,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** @@ -310,7 +310,7 @@ public void setSmilCalcModeAttribute(String smilCalcModeValue) { public Double getSmilDecelerateAttribute() { SmilDecelerateAttribute attr = (SmilDecelerateAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "decelerate"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(SmilDecelerateAttribute.DEFAULT_VALUE); } @@ -323,7 +323,7 @@ public Double getSmilDecelerateAttribute() { public void setSmilDecelerateAttribute(Double smilDecelerateValue) { SmilDecelerateAttribute attr = new SmilDecelerateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(smilDecelerateValue.doubleValue()); + attr.setValue(smilDecelerateValue.toString()); } /** @@ -526,7 +526,7 @@ public void setSmilModeAttribute(String smilModeValue) { public Integer getSmilRepeatCountAttribute() { SmilRepeatCountAttribute attr = (SmilRepeatCountAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "repeatCount"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -539,7 +539,7 @@ public Integer getSmilRepeatCountAttribute() { public void setSmilRepeatCountAttribute(Integer smilRepeatCountValue) { SmilRepeatCountAttribute attr = new SmilRepeatCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(smilRepeatCountValue.intValue()); + attr.setValue(smilRepeatCountValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/chart/ChartDataPointElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/chart/ChartDataPointElement.java index 90821377cd..f6c8362379 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/chart/ChartDataPointElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/chart/ChartDataPointElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Integer getChartRepeatedAttribute() { ChartRepeatedAttribute attr = (ChartRepeatedAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "repeated"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -84,7 +84,7 @@ public Integer getChartRepeatedAttribute() { public void setChartRepeatedAttribute(Integer chartRepeatedValue) { ChartRepeatedAttribute attr = new ChartRepeatedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(chartRepeatedValue.intValue()); + attr.setValue(chartRepeatedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/chart/ChartLegendElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/chart/ChartLegendElement.java index 2163528d15..43864e63db 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/chart/ChartLegendElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/chart/ChartLegendElement.java @@ -176,7 +176,7 @@ public void setStyleLegendExpansionAttribute(String styleLegendExpansionValue) { public Double getStyleLegendExpansionAspectRatioAttribute() { StyleLegendExpansionAspectRatioAttribute attr = (StyleLegendExpansionAspectRatioAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "legend-expansion-aspect-ratio"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -189,7 +189,7 @@ public Double getStyleLegendExpansionAspectRatioAttribute() { public void setStyleLegendExpansionAspectRatioAttribute(Double styleLegendExpansionAspectRatioValue) { StyleLegendExpansionAspectRatioAttribute attr = new StyleLegendExpansionAspectRatioAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(styleLegendExpansionAspectRatioValue.doubleValue()); + attr.setValue(styleLegendExpansionAspectRatioValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java index 6cc51479ef..08a1f62f52 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java @@ -208,7 +208,7 @@ public void setDr3dFocalLengthAttribute(String dr3dFocalLengthValue) { public Boolean getDr3dLightingModeAttribute() { Dr3dLightingModeAttribute attr = (Dr3dLightingModeAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "lighting-mode"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -221,7 +221,7 @@ public Boolean getDr3dLightingModeAttribute() { public void setDr3dLightingModeAttribute(Boolean dr3dLightingModeValue) { Dr3dLightingModeAttribute attr = new Dr3dLightingModeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dr3dLightingModeValue.booleanValue()); + attr.setValue(dr3dLightingModeValue.toString()); } /** @@ -280,7 +280,7 @@ public void setDr3dShadeModeAttribute(String dr3dShadeModeValue) { public Integer getDr3dShadowSlantAttribute() { Dr3dShadowSlantAttribute attr = (Dr3dShadowSlantAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "shadow-slant"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -293,7 +293,7 @@ public Integer getDr3dShadowSlantAttribute() { public void setDr3dShadowSlantAttribute(Integer dr3dShadowSlantValue) { Dr3dShadowSlantAttribute attr = new Dr3dShadowSlantAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(dr3dShadowSlantValue.intValue()); + attr.setValue(dr3dShadowSlantValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dCubeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dCubeElement.java index 2de708dab2..834cee1225 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dCubeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dCubeElement.java @@ -247,7 +247,7 @@ public void setDrawStyleNameAttribute(String drawStyleNameValue) { public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -260,7 +260,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dExtrudeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dExtrudeElement.java index 4df77dc08f..ed2f3cfdf3 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dExtrudeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dExtrudeElement.java @@ -199,7 +199,7 @@ public void setDrawStyleNameAttribute(String drawStyleNameValue) { public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -212,7 +212,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** @@ -299,7 +299,7 @@ public void setSvgDAttribute(String svgDValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -312,7 +312,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dLightElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dLightElement.java index 802be504de..782a1d4d6f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dLightElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dLightElement.java @@ -121,7 +121,7 @@ public void setDr3dDirectionAttribute(String dr3dDirectionValue) { public Boolean getDr3dEnabledAttribute() { Dr3dEnabledAttribute attr = (Dr3dEnabledAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "enabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -134,7 +134,7 @@ public Boolean getDr3dEnabledAttribute() { public void setDr3dEnabledAttribute(Boolean dr3dEnabledValue) { Dr3dEnabledAttribute attr = new Dr3dEnabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dr3dEnabledValue.booleanValue()); + attr.setValue(dr3dEnabledValue.toString()); } /** @@ -145,7 +145,7 @@ public void setDr3dEnabledAttribute(Boolean dr3dEnabledValue) { public Boolean getDr3dSpecularAttribute() { Dr3dSpecularAttribute attr = (Dr3dSpecularAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "specular"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -158,7 +158,7 @@ public Boolean getDr3dSpecularAttribute() { public void setDr3dSpecularAttribute(Boolean dr3dSpecularValue) { Dr3dSpecularAttribute attr = new Dr3dSpecularAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dr3dSpecularValue.booleanValue()); + attr.setValue(dr3dSpecularValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dRotateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dRotateElement.java index 7ab9354b8c..55b270749d 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dRotateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dRotateElement.java @@ -199,7 +199,7 @@ public void setDrawStyleNameAttribute(String drawStyleNameValue) { public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -212,7 +212,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** @@ -299,7 +299,7 @@ public void setSvgDAttribute(String svgDValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -312,7 +312,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSceneElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSceneElement.java index 195eb4533a..bff62f53bd 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSceneElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSceneElement.java @@ -172,7 +172,7 @@ public void setDr3dFocalLengthAttribute(String dr3dFocalLengthValue) { public Boolean getDr3dLightingModeAttribute() { Dr3dLightingModeAttribute attr = (Dr3dLightingModeAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "lighting-mode"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -185,7 +185,7 @@ public Boolean getDr3dLightingModeAttribute() { public void setDr3dLightingModeAttribute(Boolean dr3dLightingModeValue) { Dr3dLightingModeAttribute attr = new Dr3dLightingModeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dr3dLightingModeValue.booleanValue()); + attr.setValue(dr3dLightingModeValue.toString()); } /** @@ -244,7 +244,7 @@ public void setDr3dShadeModeAttribute(String dr3dShadeModeValue) { public Integer getDr3dShadowSlantAttribute() { Dr3dShadowSlantAttribute attr = (Dr3dShadowSlantAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "shadow-slant"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -257,7 +257,7 @@ public Integer getDr3dShadowSlantAttribute() { public void setDr3dShadowSlantAttribute(Integer dr3dShadowSlantValue) { Dr3dShadowSlantAttribute attr = new Dr3dShadowSlantAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(dr3dShadowSlantValue.intValue()); + attr.setValue(dr3dShadowSlantValue.toString()); } /** @@ -484,7 +484,7 @@ public void setDrawStyleNameAttribute(String drawStyleNameValue) { public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -497,7 +497,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** @@ -724,7 +724,7 @@ public void setTableEndYAttribute(String tableEndYValue) { public Boolean getTableTableBackgroundAttribute() { TableTableBackgroundAttribute attr = (TableTableBackgroundAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table-background"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -737,7 +737,7 @@ public Boolean getTableTableBackgroundAttribute() { public void setTableTableBackgroundAttribute(Boolean tableTableBackgroundValue) { TableTableBackgroundAttribute attr = new TableTableBackgroundAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableTableBackgroundValue.booleanValue()); + attr.setValue(tableTableBackgroundValue.toString()); } /** @@ -748,7 +748,7 @@ public void setTableTableBackgroundAttribute(Boolean tableTableBackgroundValue) public Integer getTextAnchorPageNumberAttribute() { TextAnchorPageNumberAttribute attr = (TextAnchorPageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "anchor-page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -761,7 +761,7 @@ public Integer getTextAnchorPageNumberAttribute() { public void setTextAnchorPageNumberAttribute(Integer textAnchorPageNumberValue) { TextAnchorPageNumberAttribute attr = new TextAnchorPageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textAnchorPageNumberValue.intValue()); + attr.setValue(textAnchorPageNumberValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSphereElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSphereElement.java index 8915b860b3..d7546ff8ee 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSphereElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSphereElement.java @@ -247,7 +247,7 @@ public void setDrawStyleNameAttribute(String drawStyleNameValue) { public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -260,7 +260,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawAElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawAElement.java index c79249c632..bbabab1947 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawAElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawAElement.java @@ -99,7 +99,7 @@ public void setOfficeNameAttribute(String officeNameValue) { public Boolean getOfficeServerMapAttribute() { OfficeServerMapAttribute attr = (OfficeServerMapAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "server-map"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(OfficeServerMapAttribute.DEFAULT_VALUE); } @@ -112,7 +112,7 @@ public Boolean getOfficeServerMapAttribute() { public void setOfficeServerMapAttribute(Boolean officeServerMapValue) { OfficeServerMapAttribute attr = new OfficeServerMapAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeServerMapValue.booleanValue()); + attr.setValue(officeServerMapValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawAppletElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawAppletElement.java index 159be83427..c7d93406bc 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawAppletElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawAppletElement.java @@ -123,7 +123,7 @@ public void setDrawCodeAttribute(String drawCodeValue) { public Boolean getDrawMayScriptAttribute() { DrawMayScriptAttribute attr = (DrawMayScriptAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "may-script"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawMayScriptAttribute.DEFAULT_VALUE); } @@ -136,7 +136,7 @@ public Boolean getDrawMayScriptAttribute() { public void setDrawMayScriptAttribute(Boolean drawMayScriptValue) { DrawMayScriptAttribute attr = new DrawMayScriptAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawMayScriptValue.booleanValue()); + attr.setValue(drawMayScriptValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawAreaPolygonElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawAreaPolygonElement.java index 3f6bfbf2ec..0e9ac975c3 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawAreaPolygonElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawAreaPolygonElement.java @@ -208,7 +208,7 @@ public void setSvgHeightAttribute(String svgHeightValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -221,7 +221,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawCaptionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawCaptionElement.java index 327dcb6a5e..32a6e5e286 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawCaptionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawCaptionElement.java @@ -344,12 +344,12 @@ public void setSvgYAttribute(String svgYValue) { /** * Create child element {@odf.element draw:glue-point}. * - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawIdAttribute(drawIdValue); drawGluePoint.setSvgXAttribute(svgXValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawCircleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawCircleElement.java index 0f3ad771a7..245ab8ac8e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawCircleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawCircleElement.java @@ -112,7 +112,7 @@ public void setDrawCaptionIdAttribute(String drawCaptionIdValue) { public Double getDrawEndAngleAttribute() { DrawEndAngleAttribute attr = (DrawEndAngleAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "end-angle"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -125,7 +125,7 @@ public Double getDrawEndAngleAttribute() { public void setDrawEndAngleAttribute(Double drawEndAngleValue) { DrawEndAngleAttribute attr = new DrawEndAngleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(drawEndAngleValue.doubleValue()); + attr.setValue(drawEndAngleValue.toString()); } /** @@ -184,7 +184,7 @@ public void setDrawLayerAttribute(String drawLayerValue) { public Double getDrawStartAngleAttribute() { DrawStartAngleAttribute attr = (DrawStartAngleAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "start-angle"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -197,7 +197,7 @@ public Double getDrawStartAngleAttribute() { public void setDrawStartAngleAttribute(Double drawStartAngleValue) { DrawStartAngleAttribute attr = new DrawStartAngleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(drawStartAngleValue.doubleValue()); + attr.setValue(drawStartAngleValue.toString()); } /** @@ -419,12 +419,12 @@ public void setSvgYAttribute(String svgYValue) { /** * Create child element {@odf.element draw:glue-point}. * - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawIdAttribute(drawIdValue); drawGluePoint.setSvgXAttribute(svgXValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawConnectorElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawConnectorElement.java index e8389d9adb..861cf97a61 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawConnectorElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawConnectorElement.java @@ -112,7 +112,7 @@ public void setDrawCaptionIdAttribute(String drawCaptionIdValue) { public Integer getDrawEndGluePointAttribute() { DrawEndGluePointAttribute attr = (DrawEndGluePointAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "end-glue-point"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -125,7 +125,7 @@ public Integer getDrawEndGluePointAttribute() { public void setDrawEndGluePointAttribute(Integer drawEndGluePointValue) { DrawEndGluePointAttribute attr = new DrawEndGluePointAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawEndGluePointValue.intValue()); + attr.setValue(drawEndGluePointValue.toString()); } /** @@ -208,7 +208,7 @@ public void setDrawLineSkewAttribute(String drawLineSkewValue) { public Integer getDrawStartGluePointAttribute() { DrawStartGluePointAttribute attr = (DrawStartGluePointAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "start-glue-point"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -221,7 +221,7 @@ public Integer getDrawStartGluePointAttribute() { public void setDrawStartGluePointAttribute(Integer drawStartGluePointValue) { DrawStartGluePointAttribute attr = new DrawStartGluePointAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawStartGluePointValue.intValue()); + attr.setValue(drawStartGluePointValue.toString()); } /** @@ -419,12 +419,12 @@ public void setSvgY2Attribute(String svgY2Value) { /** * Create child element {@odf.element draw:glue-point}. * - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawIdAttribute(drawIdValue); drawGluePoint.setSvgXAttribute(svgXValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawContourPathElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawContourPathElement.java index d91b7c36b0..a6fb48e28f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawContourPathElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawContourPathElement.java @@ -74,7 +74,7 @@ public OdfName getOdfName() { public Boolean getDrawRecreateOnEditAttribute() { DrawRecreateOnEditAttribute attr = (DrawRecreateOnEditAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "recreate-on-edit"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -87,7 +87,7 @@ public Boolean getDrawRecreateOnEditAttribute() { public void setDrawRecreateOnEditAttribute(Boolean drawRecreateOnEditValue) { DrawRecreateOnEditAttribute attr = new DrawRecreateOnEditAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawRecreateOnEditValue.booleanValue()); + attr.setValue(drawRecreateOnEditValue.toString()); } /** @@ -150,7 +150,7 @@ public void setSvgHeightAttribute(String svgHeightValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -163,7 +163,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawContourPolygonElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawContourPolygonElement.java index cbd3f97129..7c04abbc88 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawContourPolygonElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawContourPolygonElement.java @@ -100,7 +100,7 @@ public void setDrawPointsAttribute(String drawPointsValue) { public Boolean getDrawRecreateOnEditAttribute() { DrawRecreateOnEditAttribute attr = (DrawRecreateOnEditAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "recreate-on-edit"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -113,7 +113,7 @@ public Boolean getDrawRecreateOnEditAttribute() { public void setDrawRecreateOnEditAttribute(Boolean drawRecreateOnEditValue) { DrawRecreateOnEditAttribute attr = new DrawRecreateOnEditAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawRecreateOnEditValue.booleanValue()); + attr.setValue(drawRecreateOnEditValue.toString()); } /** @@ -150,7 +150,7 @@ public void setSvgHeightAttribute(String svgHeightValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -163,7 +163,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawControlElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawControlElement.java index 1dc0f2080a..3069b5ea0b 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawControlElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawControlElement.java @@ -293,12 +293,12 @@ public void setSvgYAttribute(String svgYValue) { /** * Create child element {@odf.element draw:glue-point}. * - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawIdAttribute(drawIdValue); drawGluePoint.setSvgXAttribute(svgXValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawCustomShapeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawCustomShapeElement.java index 54e458d957..ff2afe7848 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawCustomShapeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawCustomShapeElement.java @@ -330,12 +330,12 @@ public DrawEnhancedGeometryElement newDrawEnhancedGeometryElement() { /** * Create child element {@odf.element draw:glue-point}. * - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawIdAttribute(drawIdValue); drawGluePoint.setSvgXAttribute(svgXValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawEllipseElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawEllipseElement.java index 3cc410d83f..152e09a864 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawEllipseElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawEllipseElement.java @@ -113,7 +113,7 @@ public void setDrawCaptionIdAttribute(String drawCaptionIdValue) { public Double getDrawEndAngleAttribute() { DrawEndAngleAttribute attr = (DrawEndAngleAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "end-angle"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -126,7 +126,7 @@ public Double getDrawEndAngleAttribute() { public void setDrawEndAngleAttribute(Double drawEndAngleValue) { DrawEndAngleAttribute attr = new DrawEndAngleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(drawEndAngleValue.doubleValue()); + attr.setValue(drawEndAngleValue.toString()); } /** @@ -185,7 +185,7 @@ public void setDrawLayerAttribute(String drawLayerValue) { public Double getDrawStartAngleAttribute() { DrawStartAngleAttribute attr = (DrawStartAngleAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "start-angle"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -198,7 +198,7 @@ public Double getDrawStartAngleAttribute() { public void setDrawStartAngleAttribute(Double drawStartAngleValue) { DrawStartAngleAttribute attr = new DrawStartAngleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(drawStartAngleValue.doubleValue()); + attr.setValue(drawStartAngleValue.toString()); } /** @@ -444,12 +444,12 @@ public void setSvgYAttribute(String svgYValue) { /** * Create child element {@odf.element draw:glue-point}. * - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawIdAttribute(drawIdValue); drawGluePoint.setSvgXAttribute(svgXValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawEnhancedGeometryElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawEnhancedGeometryElement.java index 8cf3f6fa39..79c264eb8b 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawEnhancedGeometryElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawEnhancedGeometryElement.java @@ -158,7 +158,7 @@ public void setDr3dShadeModeAttribute(String dr3dShadeModeValue) { public Boolean getDrawConcentricGradientFillAllowedAttribute() { DrawConcentricGradientFillAllowedAttribute attr = (DrawConcentricGradientFillAllowedAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "concentric-gradient-fill-allowed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawConcentricGradientFillAllowedAttribute.DEFAULT_VALUE); } @@ -171,7 +171,7 @@ public Boolean getDrawConcentricGradientFillAllowedAttribute() { public void setDrawConcentricGradientFillAllowedAttribute(Boolean drawConcentricGradientFillAllowedValue) { DrawConcentricGradientFillAllowedAttribute attr = new DrawConcentricGradientFillAllowedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawConcentricGradientFillAllowedValue.booleanValue()); + attr.setValue(drawConcentricGradientFillAllowedValue.toString()); } /** @@ -206,7 +206,7 @@ public void setDrawEnhancedPathAttribute(String drawEnhancedPathValue) { public Boolean getDrawExtrusionAttribute() { DrawExtrusionAttribute attr = (DrawExtrusionAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionAttribute.DEFAULT_VALUE); } @@ -219,7 +219,7 @@ public Boolean getDrawExtrusionAttribute() { public void setDrawExtrusionAttribute(Boolean drawExtrusionValue) { DrawExtrusionAttribute attr = new DrawExtrusionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionValue.booleanValue()); + attr.setValue(drawExtrusionValue.toString()); } /** @@ -230,7 +230,7 @@ public void setDrawExtrusionAttribute(Boolean drawExtrusionValue) { public Boolean getDrawExtrusionAllowedAttribute() { DrawExtrusionAllowedAttribute attr = (DrawExtrusionAllowedAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-allowed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionAllowedAttribute.DEFAULT_VALUE); } @@ -243,7 +243,7 @@ public Boolean getDrawExtrusionAllowedAttribute() { public void setDrawExtrusionAllowedAttribute(Boolean drawExtrusionAllowedValue) { DrawExtrusionAllowedAttribute attr = new DrawExtrusionAllowedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionAllowedValue.booleanValue()); + attr.setValue(drawExtrusionAllowedValue.toString()); } /** @@ -278,7 +278,7 @@ public void setDrawExtrusionBrightnessAttribute(String drawExtrusionBrightnessVa public Boolean getDrawExtrusionColorAttribute() { DrawExtrusionColorAttribute attr = (DrawExtrusionColorAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-color"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionColorAttribute.DEFAULT_VALUE); } @@ -291,7 +291,7 @@ public Boolean getDrawExtrusionColorAttribute() { public void setDrawExtrusionColorAttribute(Boolean drawExtrusionColorValue) { DrawExtrusionColorAttribute attr = new DrawExtrusionColorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionColorValue.booleanValue()); + attr.setValue(drawExtrusionColorValue.toString()); } /** @@ -374,7 +374,7 @@ public void setDrawExtrusionFirstLightDirectionAttribute(String drawExtrusionFir public Boolean getDrawExtrusionFirstLightHarshAttribute() { DrawExtrusionFirstLightHarshAttribute attr = (DrawExtrusionFirstLightHarshAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-first-light-harsh"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionFirstLightHarshAttribute.DEFAULT_VALUE); } @@ -387,7 +387,7 @@ public Boolean getDrawExtrusionFirstLightHarshAttribute() { public void setDrawExtrusionFirstLightHarshAttribute(Boolean drawExtrusionFirstLightHarshValue) { DrawExtrusionFirstLightHarshAttribute attr = new DrawExtrusionFirstLightHarshAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionFirstLightHarshValue.booleanValue()); + attr.setValue(drawExtrusionFirstLightHarshValue.toString()); } /** @@ -422,7 +422,7 @@ public void setDrawExtrusionFirstLightLevelAttribute(String drawExtrusionFirstLi public Boolean getDrawExtrusionLightFaceAttribute() { DrawExtrusionLightFaceAttribute attr = (DrawExtrusionLightFaceAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-light-face"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionLightFaceAttribute.DEFAULT_VALUE); } @@ -435,7 +435,7 @@ public Boolean getDrawExtrusionLightFaceAttribute() { public void setDrawExtrusionLightFaceAttribute(Boolean drawExtrusionLightFaceValue) { DrawExtrusionLightFaceAttribute attr = new DrawExtrusionLightFaceAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionLightFaceValue.booleanValue()); + attr.setValue(drawExtrusionLightFaceValue.toString()); } /** @@ -446,7 +446,7 @@ public void setDrawExtrusionLightFaceAttribute(Boolean drawExtrusionLightFaceVal public Boolean getDrawExtrusionMetalAttribute() { DrawExtrusionMetalAttribute attr = (DrawExtrusionMetalAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-metal"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionMetalAttribute.DEFAULT_VALUE); } @@ -459,7 +459,7 @@ public Boolean getDrawExtrusionMetalAttribute() { public void setDrawExtrusionMetalAttribute(Boolean drawExtrusionMetalValue) { DrawExtrusionMetalAttribute attr = new DrawExtrusionMetalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionMetalValue.booleanValue()); + attr.setValue(drawExtrusionMetalValue.toString()); } /** @@ -470,7 +470,7 @@ public void setDrawExtrusionMetalAttribute(Boolean drawExtrusionMetalValue) { public Integer getDrawExtrusionNumberOfLineSegmentsAttribute() { DrawExtrusionNumberOfLineSegmentsAttribute attr = (DrawExtrusionNumberOfLineSegmentsAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-number-of-line-segments"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(DrawExtrusionNumberOfLineSegmentsAttribute.DEFAULT_VALUE); } @@ -483,7 +483,7 @@ public Integer getDrawExtrusionNumberOfLineSegmentsAttribute() { public void setDrawExtrusionNumberOfLineSegmentsAttribute(Integer drawExtrusionNumberOfLineSegmentsValue) { DrawExtrusionNumberOfLineSegmentsAttribute attr = new DrawExtrusionNumberOfLineSegmentsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawExtrusionNumberOfLineSegmentsValue.intValue()); + attr.setValue(drawExtrusionNumberOfLineSegmentsValue.toString()); } /** @@ -494,7 +494,7 @@ public void setDrawExtrusionNumberOfLineSegmentsAttribute(Integer drawExtrusionN public Double getDrawExtrusionOriginAttribute() { DrawExtrusionOriginAttribute attr = (DrawExtrusionOriginAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-origin"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(DrawExtrusionOriginAttribute.DEFAULT_VALUE); } @@ -507,7 +507,7 @@ public Double getDrawExtrusionOriginAttribute() { public void setDrawExtrusionOriginAttribute(Double drawExtrusionOriginValue) { DrawExtrusionOriginAttribute attr = new DrawExtrusionOriginAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(drawExtrusionOriginValue.doubleValue()); + attr.setValue(drawExtrusionOriginValue.toString()); } /** @@ -518,7 +518,7 @@ public void setDrawExtrusionOriginAttribute(Double drawExtrusionOriginValue) { public Double getDrawExtrusionRotationAngleAttribute() { DrawExtrusionRotationAngleAttribute attr = (DrawExtrusionRotationAngleAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-rotation-angle"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(DrawExtrusionRotationAngleAttribute.DEFAULT_VALUE); } @@ -531,7 +531,7 @@ public Double getDrawExtrusionRotationAngleAttribute() { public void setDrawExtrusionRotationAngleAttribute(Double drawExtrusionRotationAngleValue) { DrawExtrusionRotationAngleAttribute attr = new DrawExtrusionRotationAngleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(drawExtrusionRotationAngleValue.doubleValue()); + attr.setValue(drawExtrusionRotationAngleValue.toString()); } /** @@ -590,7 +590,7 @@ public void setDrawExtrusionSecondLightDirectionAttribute(String drawExtrusionSe public Boolean getDrawExtrusionSecondLightHarshAttribute() { DrawExtrusionSecondLightHarshAttribute attr = (DrawExtrusionSecondLightHarshAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-second-light-harsh"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionSecondLightHarshAttribute.DEFAULT_VALUE); } @@ -603,7 +603,7 @@ public Boolean getDrawExtrusionSecondLightHarshAttribute() { public void setDrawExtrusionSecondLightHarshAttribute(Boolean drawExtrusionSecondLightHarshValue) { DrawExtrusionSecondLightHarshAttribute attr = new DrawExtrusionSecondLightHarshAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionSecondLightHarshValue.booleanValue()); + attr.setValue(drawExtrusionSecondLightHarshValue.toString()); } /** @@ -662,7 +662,7 @@ public void setDrawExtrusionShininessAttribute(String drawExtrusionShininessValu public Double getDrawExtrusionSkewAttribute() { DrawExtrusionSkewAttribute attr = (DrawExtrusionSkewAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-skew"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(DrawExtrusionSkewAttribute.DEFAULT_VALUE); } @@ -675,7 +675,7 @@ public Double getDrawExtrusionSkewAttribute() { public void setDrawExtrusionSkewAttribute(Double drawExtrusionSkewValue) { DrawExtrusionSkewAttribute attr = new DrawExtrusionSkewAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(drawExtrusionSkewValue.doubleValue()); + attr.setValue(drawExtrusionSkewValue.toString()); } /** @@ -806,7 +806,7 @@ public void setDrawGluePointsAttribute(String drawGluePointsValue) { public Boolean getDrawMirrorHorizontalAttribute() { DrawMirrorHorizontalAttribute attr = (DrawMirrorHorizontalAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "mirror-horizontal"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawMirrorHorizontalAttribute.DEFAULT_VALUE); } @@ -819,7 +819,7 @@ public Boolean getDrawMirrorHorizontalAttribute() { public void setDrawMirrorHorizontalAttribute(Boolean drawMirrorHorizontalValue) { DrawMirrorHorizontalAttribute attr = new DrawMirrorHorizontalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawMirrorHorizontalValue.booleanValue()); + attr.setValue(drawMirrorHorizontalValue.toString()); } /** @@ -830,7 +830,7 @@ public void setDrawMirrorHorizontalAttribute(Boolean drawMirrorHorizontalValue) public Boolean getDrawMirrorVerticalAttribute() { DrawMirrorVerticalAttribute attr = (DrawMirrorVerticalAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "mirror-vertical"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawMirrorVerticalAttribute.DEFAULT_VALUE); } @@ -843,7 +843,7 @@ public Boolean getDrawMirrorVerticalAttribute() { public void setDrawMirrorVerticalAttribute(Boolean drawMirrorVerticalValue) { DrawMirrorVerticalAttribute attr = new DrawMirrorVerticalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawMirrorVerticalValue.booleanValue()); + attr.setValue(drawMirrorVerticalValue.toString()); } /** @@ -878,7 +878,7 @@ public void setDrawModifiersAttribute(String drawModifiersValue) { public Double getDrawPathStretchpointXAttribute() { DrawPathStretchpointXAttribute attr = (DrawPathStretchpointXAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "path-stretchpoint-x"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -891,7 +891,7 @@ public Double getDrawPathStretchpointXAttribute() { public void setDrawPathStretchpointXAttribute(Double drawPathStretchpointXValue) { DrawPathStretchpointXAttribute attr = new DrawPathStretchpointXAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(drawPathStretchpointXValue.doubleValue()); + attr.setValue(drawPathStretchpointXValue.toString()); } /** @@ -902,7 +902,7 @@ public void setDrawPathStretchpointXAttribute(Double drawPathStretchpointXValue) public Double getDrawPathStretchpointYAttribute() { DrawPathStretchpointYAttribute attr = (DrawPathStretchpointYAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "path-stretchpoint-y"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -915,7 +915,7 @@ public Double getDrawPathStretchpointYAttribute() { public void setDrawPathStretchpointYAttribute(Double drawPathStretchpointYValue) { DrawPathStretchpointYAttribute attr = new DrawPathStretchpointYAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(drawPathStretchpointYValue.doubleValue()); + attr.setValue(drawPathStretchpointYValue.toString()); } /** @@ -950,7 +950,7 @@ public void setDrawTextAreasAttribute(String drawTextAreasValue) { public Boolean getDrawTextPathAttribute() { DrawTextPathAttribute attr = (DrawTextPathAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "text-path"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawTextPathAttribute.DEFAULT_VALUE); } @@ -963,7 +963,7 @@ public Boolean getDrawTextPathAttribute() { public void setDrawTextPathAttribute(Boolean drawTextPathValue) { DrawTextPathAttribute attr = new DrawTextPathAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawTextPathValue.booleanValue()); + attr.setValue(drawTextPathValue.toString()); } /** @@ -974,7 +974,7 @@ public void setDrawTextPathAttribute(Boolean drawTextPathValue) { public Boolean getDrawTextPathAllowedAttribute() { DrawTextPathAllowedAttribute attr = (DrawTextPathAllowedAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "text-path-allowed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawTextPathAllowedAttribute.DEFAULT_VALUE); } @@ -987,7 +987,7 @@ public Boolean getDrawTextPathAllowedAttribute() { public void setDrawTextPathAllowedAttribute(Boolean drawTextPathAllowedValue) { DrawTextPathAllowedAttribute attr = new DrawTextPathAllowedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawTextPathAllowedValue.booleanValue()); + attr.setValue(drawTextPathAllowedValue.toString()); } /** @@ -1022,7 +1022,7 @@ public void setDrawTextPathModeAttribute(String drawTextPathModeValue) { public Boolean getDrawTextPathSameLetterHeightsAttribute() { DrawTextPathSameLetterHeightsAttribute attr = (DrawTextPathSameLetterHeightsAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "text-path-same-letter-heights"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawTextPathSameLetterHeightsAttribute.DEFAULT_VALUE); } @@ -1035,7 +1035,7 @@ public Boolean getDrawTextPathSameLetterHeightsAttribute() { public void setDrawTextPathSameLetterHeightsAttribute(Boolean drawTextPathSameLetterHeightsValue) { DrawTextPathSameLetterHeightsAttribute attr = new DrawTextPathSameLetterHeightsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawTextPathSameLetterHeightsValue.booleanValue()); + attr.setValue(drawTextPathSameLetterHeightsValue.toString()); } /** @@ -1070,7 +1070,7 @@ public void setDrawTextPathScaleAttribute(String drawTextPathScaleValue) { public Double getDrawTextRotateAngleAttribute() { DrawTextRotateAngleAttribute attr = (DrawTextRotateAngleAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "text-rotate-angle"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(DrawTextRotateAngleAttribute.DEFAULT_VALUE); } @@ -1083,7 +1083,7 @@ public Double getDrawTextRotateAngleAttribute() { public void setDrawTextRotateAngleAttribute(Double drawTextRotateAngleValue) { DrawTextRotateAngleAttribute attr = new DrawTextRotateAngleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(drawTextRotateAngleValue.doubleValue()); + attr.setValue(drawTextRotateAngleValue.toString()); } /** @@ -1118,7 +1118,7 @@ public void setDrawTypeAttribute(String drawTypeValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1131,7 +1131,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawFrameElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawFrameElement.java index 8d7865ed01..444a5bc589 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawFrameElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawFrameElement.java @@ -230,7 +230,7 @@ public void setPresentationClassAttribute(String presentationClassValue) { public Boolean getPresentationPlaceholderAttribute() { PresentationPlaceholderAttribute attr = (PresentationPlaceholderAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "placeholder"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -243,7 +243,7 @@ public Boolean getPresentationPlaceholderAttribute() { public void setPresentationPlaceholderAttribute(Boolean presentationPlaceholderValue) { PresentationPlaceholderAttribute attr = new PresentationPlaceholderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationPlaceholderValue.booleanValue()); + attr.setValue(presentationPlaceholderValue.toString()); } /** @@ -254,7 +254,7 @@ public void setPresentationPlaceholderAttribute(Boolean presentationPlaceholderV public Boolean getPresentationUserTransformedAttribute() { PresentationUserTransformedAttribute attr = (PresentationUserTransformedAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "user-transformed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -267,7 +267,7 @@ public Boolean getPresentationUserTransformedAttribute() { public void setPresentationUserTransformedAttribute(Boolean presentationUserTransformedValue) { PresentationUserTransformedAttribute attr = new PresentationUserTransformedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationUserTransformedValue.booleanValue()); + attr.setValue(presentationUserTransformedValue.toString()); } /** @@ -475,12 +475,12 @@ public DrawFloatingFrameElement newDrawFloatingFrameElement(String xlinkHrefValu /** * Create child element {@odf.element draw:glue-point}. * - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawIdAttribute(drawIdValue); drawGluePoint.setSvgXAttribute(svgXValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawGElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawGElement.java index 28adc277eb..39de84c7e0 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawGElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawGElement.java @@ -219,12 +219,12 @@ public DrawGElement newDrawGElement() { /** * Create child element {@odf.element draw:glue-point}. * - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawIdAttribute(drawIdValue); drawGluePoint.setSvgXAttribute(svgXValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java index 2859afdba4..4cd6616bb9 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java @@ -97,7 +97,7 @@ public void setDrawAlignAttribute(String drawAlignValue) { public Integer getDrawIdAttribute() { DrawIdAttribute attr = (DrawIdAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "id"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -110,7 +110,7 @@ public Integer getDrawIdAttribute() { public void setDrawIdAttribute(Integer drawIdValue) { DrawIdAttribute attr = new DrawIdAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawIdValue.intValue()); + attr.setValue(drawIdValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawGradientElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawGradientElement.java index d9d069ab09..9cde55a3de 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawGradientElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawGradientElement.java @@ -78,7 +78,7 @@ public OdfName getOdfName() { public Integer getDrawAngleAttribute() { DrawAngleAttribute attr = (DrawAngleAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "angle"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -91,7 +91,7 @@ public Integer getDrawAngleAttribute() { public void setDrawAngleAttribute(Integer drawAngleValue) { DrawAngleAttribute attr = new DrawAngleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawAngleValue.intValue()); + attr.setValue(drawAngleValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawHandleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawHandleElement.java index 9abb21d9f0..834cb2886d 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawHandleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawHandleElement.java @@ -78,7 +78,7 @@ public OdfName getOdfName() { public Boolean getDrawHandleMirrorHorizontalAttribute() { DrawHandleMirrorHorizontalAttribute attr = (DrawHandleMirrorHorizontalAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "handle-mirror-horizontal"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawHandleMirrorHorizontalAttribute.DEFAULT_VALUE); } @@ -91,7 +91,7 @@ public Boolean getDrawHandleMirrorHorizontalAttribute() { public void setDrawHandleMirrorHorizontalAttribute(Boolean drawHandleMirrorHorizontalValue) { DrawHandleMirrorHorizontalAttribute attr = new DrawHandleMirrorHorizontalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawHandleMirrorHorizontalValue.booleanValue()); + attr.setValue(drawHandleMirrorHorizontalValue.toString()); } /** @@ -102,7 +102,7 @@ public void setDrawHandleMirrorHorizontalAttribute(Boolean drawHandleMirrorHoriz public Boolean getDrawHandleMirrorVerticalAttribute() { DrawHandleMirrorVerticalAttribute attr = (DrawHandleMirrorVerticalAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "handle-mirror-vertical"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawHandleMirrorVerticalAttribute.DEFAULT_VALUE); } @@ -115,7 +115,7 @@ public Boolean getDrawHandleMirrorVerticalAttribute() { public void setDrawHandleMirrorVerticalAttribute(Boolean drawHandleMirrorVerticalValue) { DrawHandleMirrorVerticalAttribute attr = new DrawHandleMirrorVerticalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawHandleMirrorVerticalValue.booleanValue()); + attr.setValue(drawHandleMirrorVerticalValue.toString()); } /** @@ -320,7 +320,7 @@ public void setDrawHandleRangeYMinimumAttribute(String drawHandleRangeYMinimumVa public Boolean getDrawHandleSwitchedAttribute() { DrawHandleSwitchedAttribute attr = (DrawHandleSwitchedAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "handle-switched"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawHandleSwitchedAttribute.DEFAULT_VALUE); } @@ -333,7 +333,7 @@ public Boolean getDrawHandleSwitchedAttribute() { public void setDrawHandleSwitchedAttribute(Boolean drawHandleSwitchedValue) { DrawHandleSwitchedAttribute attr = new DrawHandleSwitchedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawHandleSwitchedValue.booleanValue()); + attr.setValue(drawHandleSwitchedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawHatchElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawHatchElement.java index eb62324760..6f6dd99e82 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawHatchElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawHatchElement.java @@ -171,7 +171,7 @@ public void setDrawNameAttribute(String drawNameValue) { public Integer getDrawRotationAttribute() { DrawRotationAttribute attr = (DrawRotationAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "rotation"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -184,7 +184,7 @@ public Integer getDrawRotationAttribute() { public void setDrawRotationAttribute(Integer drawRotationValue) { DrawRotationAttribute attr = new DrawRotationAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawRotationValue.intValue()); + attr.setValue(drawRotationValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawLayerElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawLayerElement.java index 640a354884..f8549e0028 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawLayerElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawLayerElement.java @@ -122,7 +122,7 @@ public void setDrawNameAttribute(String drawNameValue) { public Boolean getDrawProtectedAttribute() { DrawProtectedAttribute attr = (DrawProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawProtectedAttribute.DEFAULT_VALUE); } @@ -135,7 +135,7 @@ public Boolean getDrawProtectedAttribute() { public void setDrawProtectedAttribute(Boolean drawProtectedValue) { DrawProtectedAttribute attr = new DrawProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawProtectedValue.booleanValue()); + attr.setValue(drawProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawLineElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawLineElement.java index 1aa392c8fc..2c54923721 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawLineElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawLineElement.java @@ -277,12 +277,12 @@ public void setSvgY2Attribute(String svgY2Value) { /** * Create child element {@odf.element draw:glue-point}. * - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawIdAttribute(drawIdValue); drawGluePoint.setSvgXAttribute(svgXValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawMarkerElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawMarkerElement.java index ee6ea79914..8e6ea9b3a3 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawMarkerElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawMarkerElement.java @@ -149,7 +149,7 @@ public void setSvgDAttribute(String svgDValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -162,7 +162,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawMeasureElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawMeasureElement.java index c018420a85..c4438a0fbd 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawMeasureElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawMeasureElement.java @@ -277,12 +277,12 @@ public void setSvgY2Attribute(String svgY2Value) { /** * Create child element {@odf.element draw:glue-point}. * - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawIdAttribute(drawIdValue); drawGluePoint.setSvgXAttribute(svgXValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawOpacityElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawOpacityElement.java index 17ef50ff47..d6fa9824fa 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawOpacityElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawOpacityElement.java @@ -76,7 +76,7 @@ public OdfName getOdfName() { public Integer getDrawAngleAttribute() { DrawAngleAttribute attr = (DrawAngleAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "angle"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -89,7 +89,7 @@ public Integer getDrawAngleAttribute() { public void setDrawAngleAttribute(Integer drawAngleValue) { DrawAngleAttribute attr = new DrawAngleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawAngleValue.intValue()); + attr.setValue(drawAngleValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawPageThumbnailElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawPageThumbnailElement.java index 1243b8eefd..2da5e3bfbc 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawPageThumbnailElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawPageThumbnailElement.java @@ -130,7 +130,7 @@ public void setDrawLayerAttribute(String drawLayerValue) { public Integer getDrawPageNumberAttribute() { DrawPageNumberAttribute attr = (DrawPageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -143,7 +143,7 @@ public Integer getDrawPageNumberAttribute() { public void setDrawPageNumberAttribute(Integer drawPageNumberValue) { DrawPageNumberAttribute attr = new DrawPageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawPageNumberValue.intValue()); + attr.setValue(drawPageNumberValue.toString()); } /** @@ -202,7 +202,7 @@ public void setPresentationClassAttribute(String presentationClassValue) { public Boolean getPresentationPlaceholderAttribute() { PresentationPlaceholderAttribute attr = (PresentationPlaceholderAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "placeholder"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -215,7 +215,7 @@ public Boolean getPresentationPlaceholderAttribute() { public void setPresentationPlaceholderAttribute(Boolean presentationPlaceholderValue) { PresentationPlaceholderAttribute attr = new PresentationPlaceholderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationPlaceholderValue.booleanValue()); + attr.setValue(presentationPlaceholderValue.toString()); } /** @@ -226,7 +226,7 @@ public void setPresentationPlaceholderAttribute(Boolean presentationPlaceholderV public Boolean getPresentationUserTransformedAttribute() { PresentationUserTransformedAttribute attr = (PresentationUserTransformedAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "user-transformed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -239,7 +239,7 @@ public Boolean getPresentationUserTransformedAttribute() { public void setPresentationUserTransformedAttribute(Boolean presentationUserTransformedValue) { PresentationUserTransformedAttribute attr = new PresentationUserTransformedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationUserTransformedValue.booleanValue()); + attr.setValue(presentationUserTransformedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawPathElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawPathElement.java index 4a4adc9150..72c0485f37 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawPathElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawPathElement.java @@ -232,7 +232,7 @@ public void setSvgHeightAttribute(String svgHeightValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -245,7 +245,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** @@ -323,12 +323,12 @@ public void setSvgYAttribute(String svgYValue) { /** * Create child element {@odf.element draw:glue-point}. * - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawIdAttribute(drawIdValue); drawGluePoint.setSvgXAttribute(svgXValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawPolygonElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawPolygonElement.java index c71723d531..68de842f10 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawPolygonElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawPolygonElement.java @@ -232,7 +232,7 @@ public void setSvgHeightAttribute(String svgHeightValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -245,7 +245,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** @@ -323,12 +323,12 @@ public void setSvgYAttribute(String svgYValue) { /** * Create child element {@odf.element draw:glue-point}. * - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawIdAttribute(drawIdValue); drawGluePoint.setSvgXAttribute(svgXValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawPolylineElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawPolylineElement.java index 97335b3a27..f4e87cde68 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawPolylineElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawPolylineElement.java @@ -232,7 +232,7 @@ public void setSvgHeightAttribute(String svgHeightValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -245,7 +245,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** @@ -323,12 +323,12 @@ public void setSvgYAttribute(String svgYValue) { /** * Create child element {@odf.element draw:glue-point}. * - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawIdAttribute(drawIdValue); drawGluePoint.setSvgXAttribute(svgXValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawRectElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawRectElement.java index 31c7cea0a2..6a9f1cdb6a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawRectElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawRectElement.java @@ -294,12 +294,12 @@ public void setSvgYAttribute(String svgYValue) { /** * Create child element {@odf.element draw:glue-point}. * - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawIdAttribute(drawIdValue); drawGluePoint.setSvgXAttribute(svgXValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java index cb09b5aead..f83fd10ded 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java @@ -111,7 +111,7 @@ public void setDrawCaptionIdAttribute(String drawCaptionIdValue) { public Boolean getDrawConcaveAttribute() { DrawConcaveAttribute attr = (DrawConcaveAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "concave"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -124,7 +124,7 @@ public Boolean getDrawConcaveAttribute() { public void setDrawConcaveAttribute(Boolean drawConcaveValue) { DrawConcaveAttribute attr = new DrawConcaveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawConcaveValue.booleanValue()); + attr.setValue(drawConcaveValue.toString()); } /** @@ -137,7 +137,7 @@ public void setDrawConcaveAttribute(Boolean drawConcaveValue) { public Integer getDrawCornersAttribute() { DrawCornersAttribute attr = (DrawCornersAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "corners"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -150,7 +150,7 @@ public Integer getDrawCornersAttribute() { public void setDrawCornersAttribute(Integer drawCornersValue) { DrawCornersAttribute attr = new DrawCornersAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawCornersValue.intValue()); + attr.setValue(drawCornersValue.toString()); } /** @@ -348,12 +348,12 @@ public void setSvgYAttribute(String svgYValue) { /** * Create child element {@odf.element draw:glue-point}. * - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawIdAttribute(drawIdValue); drawGluePoint.setSvgXAttribute(svgXValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawShapeElementBase.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawShapeElementBase.java index 0f604251cb..707a6f21f4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawShapeElementBase.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawShapeElementBase.java @@ -168,7 +168,7 @@ public void setDrawStyleNameAttribute(String drawStyleNameValue) { public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -181,7 +181,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** @@ -312,7 +312,7 @@ public void setTableEndYAttribute(String tableEndYValue) { public Boolean getTableTableBackgroundAttribute() { TableTableBackgroundAttribute attr = (TableTableBackgroundAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table-background"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -325,7 +325,7 @@ public Boolean getTableTableBackgroundAttribute() { public void setTableTableBackgroundAttribute(Boolean tableTableBackgroundValue) { TableTableBackgroundAttribute attr = new TableTableBackgroundAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableTableBackgroundValue.booleanValue()); + attr.setValue(tableTableBackgroundValue.toString()); } /** @@ -336,7 +336,7 @@ public void setTableTableBackgroundAttribute(Boolean tableTableBackgroundValue) public Integer getTextAnchorPageNumberAttribute() { TextAnchorPageNumberAttribute attr = (TextAnchorPageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "anchor-page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -349,7 +349,7 @@ public Integer getTextAnchorPageNumberAttribute() { public void setTextAnchorPageNumberAttribute(Integer textAnchorPageNumberValue) { TextAnchorPageNumberAttribute attr = new TextAnchorPageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textAnchorPageNumberValue.intValue()); + attr.setValue(textAnchorPageNumberValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawStrokeDashElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawStrokeDashElement.java index eb89d39f8c..2dfb5ca973 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawStrokeDashElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/draw/DrawStrokeDashElement.java @@ -123,7 +123,7 @@ public void setDrawDistanceAttribute(String drawDistanceValue) { public Integer getDrawDots1Attribute() { DrawDots1Attribute attr = (DrawDots1Attribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "dots1"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -136,7 +136,7 @@ public Integer getDrawDots1Attribute() { public void setDrawDots1Attribute(Integer drawDots1Value) { DrawDots1Attribute attr = new DrawDots1Attribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawDots1Value.intValue()); + attr.setValue(drawDots1Value.toString()); } /** @@ -171,7 +171,7 @@ public void setDrawDots1LengthAttribute(String drawDots1LengthValue) { public Integer getDrawDots2Attribute() { DrawDots2Attribute attr = (DrawDots2Attribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "dots2"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -184,7 +184,7 @@ public Integer getDrawDots2Attribute() { public void setDrawDots2Attribute(Integer drawDots2Value) { DrawDots2Attribute attr = new DrawDots2Attribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawDots2Value.intValue()); + attr.setValue(drawDots2Value.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormButtonElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormButtonElement.java index 4a0214c5de..854379b83b 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormButtonElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormButtonElement.java @@ -137,7 +137,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormDefaultButtonAttribute() { FormDefaultButtonAttribute attr = (FormDefaultButtonAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "default-button"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDefaultButtonAttribute.DEFAULT_VALUE); } @@ -150,7 +150,7 @@ public Boolean getFormDefaultButtonAttribute() { public void setFormDefaultButtonAttribute(Boolean formDefaultButtonValue) { FormDefaultButtonAttribute attr = new FormDefaultButtonAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDefaultButtonValue.booleanValue()); + attr.setValue(formDefaultButtonValue.toString()); } /** @@ -161,7 +161,7 @@ public void setFormDefaultButtonAttribute(Boolean formDefaultButtonValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -174,7 +174,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -185,7 +185,7 @@ public void setFormDisabledAttribute(Boolean formDisabledValue) { public Boolean getFormFocusOnClickAttribute() { FormFocusOnClickAttribute attr = (FormFocusOnClickAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "focus-on-click"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -198,7 +198,7 @@ public Boolean getFormFocusOnClickAttribute() { public void setFormFocusOnClickAttribute(Boolean formFocusOnClickValue) { FormFocusOnClickAttribute attr = new FormFocusOnClickAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formFocusOnClickValue.booleanValue()); + attr.setValue(formFocusOnClickValue.toString()); } /** @@ -357,7 +357,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -370,7 +370,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -381,7 +381,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -394,7 +394,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -405,7 +405,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -418,7 +418,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** @@ -453,7 +453,7 @@ public void setFormTitleAttribute(String formTitleValue) { public Boolean getFormToggleAttribute() { FormToggleAttribute attr = (FormToggleAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "toggle"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormToggleAttribute.DEFAULT_VALUE); } @@ -466,7 +466,7 @@ public Boolean getFormToggleAttribute() { public void setFormToggleAttribute(Boolean formToggleValue) { FormToggleAttribute attr = new FormToggleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formToggleValue.booleanValue()); + attr.setValue(formToggleValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormCheckboxElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormCheckboxElement.java index db35482af3..5f88bf47a4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormCheckboxElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormCheckboxElement.java @@ -158,7 +158,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -171,7 +171,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -258,7 +258,7 @@ public void setFormImagePositionAttribute(String formImagePositionValue) { public Boolean getFormIsTristateAttribute() { FormIsTristateAttribute attr = (FormIsTristateAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "is-tristate"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormIsTristateAttribute.DEFAULT_VALUE); } @@ -271,7 +271,7 @@ public Boolean getFormIsTristateAttribute() { public void setFormIsTristateAttribute(Boolean formIsTristateValue) { FormIsTristateAttribute attr = new FormIsTristateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formIsTristateValue.booleanValue()); + attr.setValue(formIsTristateValue.toString()); } /** @@ -330,7 +330,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -343,7 +343,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -378,7 +378,7 @@ public void setFormStateAttribute(String formStateValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -391,7 +391,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -402,7 +402,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -415,7 +415,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormComboboxElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormComboboxElement.java index a5dfcb3da8..7c96777778 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormComboboxElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormComboboxElement.java @@ -88,7 +88,7 @@ public OdfName getOdfName() { public Boolean getFormAutoCompleteAttribute() { FormAutoCompleteAttribute attr = (FormAutoCompleteAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "auto-complete"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -101,7 +101,7 @@ public Boolean getFormAutoCompleteAttribute() { public void setFormAutoCompleteAttribute(Boolean formAutoCompleteValue) { FormAutoCompleteAttribute attr = new FormAutoCompleteAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formAutoCompleteValue.booleanValue()); + attr.setValue(formAutoCompleteValue.toString()); } /** @@ -136,7 +136,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -149,7 +149,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -208,7 +208,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -221,7 +221,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -232,7 +232,7 @@ public void setFormDisabledAttribute(Boolean formDisabledValue) { public Boolean getFormDropdownAttribute() { FormDropdownAttribute attr = (FormDropdownAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "dropdown"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDropdownAttribute.DEFAULT_VALUE); } @@ -245,7 +245,7 @@ public Boolean getFormDropdownAttribute() { public void setFormDropdownAttribute(Boolean formDropdownValue) { FormDropdownAttribute attr = new FormDropdownAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDropdownValue.booleanValue()); + attr.setValue(formDropdownValue.toString()); } /** @@ -330,7 +330,7 @@ public void setFormListSourceTypeAttribute(String formListSourceTypeValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -343,7 +343,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -378,7 +378,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -391,7 +391,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -402,7 +402,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -415,7 +415,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -426,7 +426,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Integer getFormSizeAttribute() { FormSizeAttribute attr = (FormSizeAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "size"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -439,7 +439,7 @@ public Integer getFormSizeAttribute() { public void setFormSizeAttribute(Integer formSizeValue) { FormSizeAttribute attr = new FormSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formSizeValue.intValue()); + attr.setValue(formSizeValue.toString()); } /** @@ -450,7 +450,7 @@ public void setFormSizeAttribute(Integer formSizeValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -463,7 +463,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -474,7 +474,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -487,7 +487,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormDateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormDateElement.java index bb58ece325..cae7584c40 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormDateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormDateElement.java @@ -109,7 +109,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -122,7 +122,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -181,7 +181,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -194,7 +194,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -231,7 +231,7 @@ public void setFormIdAttribute(String formIdValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -244,7 +244,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -327,7 +327,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -340,7 +340,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -351,7 +351,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -364,7 +364,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -375,7 +375,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -388,7 +388,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -399,7 +399,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -412,7 +412,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormFileElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormFileElement.java index 3d57957332..fa8aba9cd7 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormFileElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormFileElement.java @@ -129,7 +129,7 @@ public void setFormCurrentValueAttribute(String formCurrentValueValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -142,7 +142,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -179,7 +179,7 @@ public void setFormIdAttribute(String formIdValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -192,7 +192,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -227,7 +227,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -240,7 +240,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -251,7 +251,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -264,7 +264,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -275,7 +275,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -288,7 +288,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -299,7 +299,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -312,7 +312,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormFixedTextElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormFixedTextElement.java index 4f251f4eca..19898d17ba 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormFixedTextElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormFixedTextElement.java @@ -102,7 +102,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -115,7 +115,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -200,7 +200,7 @@ public void setFormLabelAttribute(String formLabelValue) { public Boolean getFormMultiLineAttribute() { FormMultiLineAttribute attr = (FormMultiLineAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "multi-line"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormMultiLineAttribute.DEFAULT_VALUE); } @@ -213,7 +213,7 @@ public Boolean getFormMultiLineAttribute() { public void setFormMultiLineAttribute(Boolean formMultiLineValue) { FormMultiLineAttribute attr = new FormMultiLineAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formMultiLineValue.booleanValue()); + attr.setValue(formMultiLineValue.toString()); } /** @@ -248,7 +248,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -261,7 +261,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormFormElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormFormElement.java index 8cc76d3d64..13ef02217c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormFormElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormFormElement.java @@ -91,7 +91,7 @@ public OdfName getOdfName() { public Boolean getFormAllowDeletesAttribute() { FormAllowDeletesAttribute attr = (FormAllowDeletesAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "allow-deletes"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormAllowDeletesAttribute.DEFAULT_VALUE); } @@ -104,7 +104,7 @@ public Boolean getFormAllowDeletesAttribute() { public void setFormAllowDeletesAttribute(Boolean formAllowDeletesValue) { FormAllowDeletesAttribute attr = new FormAllowDeletesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formAllowDeletesValue.booleanValue()); + attr.setValue(formAllowDeletesValue.toString()); } /** @@ -115,7 +115,7 @@ public void setFormAllowDeletesAttribute(Boolean formAllowDeletesValue) { public Boolean getFormAllowInsertsAttribute() { FormAllowInsertsAttribute attr = (FormAllowInsertsAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "allow-inserts"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormAllowInsertsAttribute.DEFAULT_VALUE); } @@ -128,7 +128,7 @@ public Boolean getFormAllowInsertsAttribute() { public void setFormAllowInsertsAttribute(Boolean formAllowInsertsValue) { FormAllowInsertsAttribute attr = new FormAllowInsertsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formAllowInsertsValue.booleanValue()); + attr.setValue(formAllowInsertsValue.toString()); } /** @@ -139,7 +139,7 @@ public void setFormAllowInsertsAttribute(Boolean formAllowInsertsValue) { public Boolean getFormAllowUpdatesAttribute() { FormAllowUpdatesAttribute attr = (FormAllowUpdatesAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "allow-updates"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormAllowUpdatesAttribute.DEFAULT_VALUE); } @@ -152,7 +152,7 @@ public Boolean getFormAllowUpdatesAttribute() { public void setFormAllowUpdatesAttribute(Boolean formAllowUpdatesValue) { FormAllowUpdatesAttribute attr = new FormAllowUpdatesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formAllowUpdatesValue.booleanValue()); + attr.setValue(formAllowUpdatesValue.toString()); } /** @@ -163,7 +163,7 @@ public void setFormAllowUpdatesAttribute(Boolean formAllowUpdatesValue) { public Boolean getFormApplyFilterAttribute() { FormApplyFilterAttribute attr = (FormApplyFilterAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "apply-filter"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormApplyFilterAttribute.DEFAULT_VALUE); } @@ -176,7 +176,7 @@ public Boolean getFormApplyFilterAttribute() { public void setFormApplyFilterAttribute(Boolean formApplyFilterValue) { FormApplyFilterAttribute attr = new FormApplyFilterAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formApplyFilterValue.booleanValue()); + attr.setValue(formApplyFilterValue.toString()); } /** @@ -331,7 +331,7 @@ public void setFormEnctypeAttribute(String formEnctypeValue) { public Boolean getFormEscapeProcessingAttribute() { FormEscapeProcessingAttribute attr = (FormEscapeProcessingAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "escape-processing"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormEscapeProcessingAttribute.DEFAULT_VALUE); } @@ -344,7 +344,7 @@ public Boolean getFormEscapeProcessingAttribute() { public void setFormEscapeProcessingAttribute(Boolean formEscapeProcessingValue) { FormEscapeProcessingAttribute attr = new FormEscapeProcessingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formEscapeProcessingValue.booleanValue()); + attr.setValue(formEscapeProcessingValue.toString()); } /** @@ -379,7 +379,7 @@ public void setFormFilterAttribute(String formFilterValue) { public Boolean getFormIgnoreResultAttribute() { FormIgnoreResultAttribute attr = (FormIgnoreResultAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "ignore-result"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormIgnoreResultAttribute.DEFAULT_VALUE); } @@ -392,7 +392,7 @@ public Boolean getFormIgnoreResultAttribute() { public void setFormIgnoreResultAttribute(Boolean formIgnoreResultValue) { FormIgnoreResultAttribute attr = new FormIgnoreResultAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formIgnoreResultValue.booleanValue()); + attr.setValue(formIgnoreResultValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormFormattedTextElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormFormattedTextElement.java index 54ef659b36..bd0bd70c92 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormFormattedTextElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormFormattedTextElement.java @@ -110,7 +110,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -123,7 +123,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -182,7 +182,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -195,7 +195,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -232,7 +232,7 @@ public void setFormIdAttribute(String formIdValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -245,7 +245,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -328,7 +328,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -341,7 +341,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -352,7 +352,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -365,7 +365,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -376,7 +376,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -389,7 +389,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -400,7 +400,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -413,7 +413,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** @@ -448,7 +448,7 @@ public void setFormTitleAttribute(String formTitleValue) { public Boolean getFormValidationAttribute() { FormValidationAttribute attr = (FormValidationAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "validation"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormValidationAttribute.DEFAULT_VALUE); } @@ -461,7 +461,7 @@ public Boolean getFormValidationAttribute() { public void setFormValidationAttribute(Boolean formValidationValue) { FormValidationAttribute attr = new FormValidationAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formValidationValue.booleanValue()); + attr.setValue(formValidationValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormFrameElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormFrameElement.java index 47633b0dbf..cfa4ac3f32 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormFrameElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormFrameElement.java @@ -101,7 +101,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -114,7 +114,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -223,7 +223,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -236,7 +236,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormGridElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormGridElement.java index c1e836eda8..b7061adecd 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormGridElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormGridElement.java @@ -101,7 +101,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -114,7 +114,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -175,7 +175,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -188,7 +188,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -199,7 +199,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -212,7 +212,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -223,7 +223,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -236,7 +236,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormImageElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormImageElement.java index 72414a4b43..51c1b5f1a9 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormImageElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormImageElement.java @@ -130,7 +130,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -143,7 +143,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -228,7 +228,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -241,7 +241,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -252,7 +252,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -265,7 +265,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -276,7 +276,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -289,7 +289,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormImageFrameElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormImageFrameElement.java index 1d970a6441..c14685fb4a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormImageFrameElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormImageFrameElement.java @@ -126,7 +126,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -139,7 +139,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -224,7 +224,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -237,7 +237,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -248,7 +248,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -261,7 +261,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormListValueElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormListValueElement.java index 8b9ef7e371..25b4cf77f3 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormListValueElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormListValueElement.java @@ -75,7 +75,7 @@ public OdfName getOdfName() { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -88,7 +88,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -203,7 +203,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -216,7 +216,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormListboxElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormListboxElement.java index 6c8c927516..742fc86556 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormListboxElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormListboxElement.java @@ -157,7 +157,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -170,7 +170,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -181,7 +181,7 @@ public void setFormDisabledAttribute(Boolean formDisabledValue) { public Boolean getFormDropdownAttribute() { FormDropdownAttribute attr = (FormDropdownAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "dropdown"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDropdownAttribute.DEFAULT_VALUE); } @@ -194,7 +194,7 @@ public Boolean getFormDropdownAttribute() { public void setFormDropdownAttribute(Boolean formDropdownValue) { FormDropdownAttribute attr = new FormDropdownAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDropdownValue.booleanValue()); + attr.setValue(formDropdownValue.toString()); } /** @@ -279,7 +279,7 @@ public void setFormListSourceTypeAttribute(String formListSourceTypeValue) { public Boolean getFormMultipleAttribute() { FormMultipleAttribute attr = (FormMultipleAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "multiple"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormMultipleAttribute.DEFAULT_VALUE); } @@ -292,7 +292,7 @@ public Boolean getFormMultipleAttribute() { public void setFormMultipleAttribute(Boolean formMultipleValue) { FormMultipleAttribute attr = new FormMultipleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formMultipleValue.booleanValue()); + attr.setValue(formMultipleValue.toString()); } /** @@ -327,7 +327,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -340,7 +340,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -351,7 +351,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Integer getFormSizeAttribute() { FormSizeAttribute attr = (FormSizeAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "size"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -364,7 +364,7 @@ public Integer getFormSizeAttribute() { public void setFormSizeAttribute(Integer formSizeValue) { FormSizeAttribute attr = new FormSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formSizeValue.intValue()); + attr.setValue(formSizeValue.toString()); } /** @@ -375,7 +375,7 @@ public void setFormSizeAttribute(Integer formSizeValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -388,7 +388,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -399,7 +399,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -412,7 +412,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java index c02e5b9a85..00ff9f8a73 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java @@ -109,7 +109,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -122,7 +122,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -133,7 +133,7 @@ public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullVal public Double getFormCurrentValueAttribute() { FormCurrentValueAttribute attr = (FormCurrentValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "current-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -146,7 +146,7 @@ public Double getFormCurrentValueAttribute() { public void setFormCurrentValueAttribute(Double formCurrentValueValue) { FormCurrentValueAttribute attr = new FormCurrentValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(formCurrentValueValue.doubleValue()); + attr.setValue(formCurrentValueValue.toString()); } /** @@ -181,7 +181,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -194,7 +194,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -231,7 +231,7 @@ public void setFormIdAttribute(String formIdValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -244,7 +244,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -255,7 +255,7 @@ public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { public Double getFormMaxValueAttribute() { FormMaxValueAttribute attr = (FormMaxValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -268,7 +268,7 @@ public Double getFormMaxValueAttribute() { public void setFormMaxValueAttribute(Double formMaxValueValue) { FormMaxValueAttribute attr = new FormMaxValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(formMaxValueValue.doubleValue()); + attr.setValue(formMaxValueValue.toString()); } /** @@ -279,7 +279,7 @@ public void setFormMaxValueAttribute(Double formMaxValueValue) { public Double getFormMinValueAttribute() { FormMinValueAttribute attr = (FormMinValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "min-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -292,7 +292,7 @@ public Double getFormMinValueAttribute() { public void setFormMinValueAttribute(Double formMinValueValue) { FormMinValueAttribute attr = new FormMinValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(formMinValueValue.doubleValue()); + attr.setValue(formMinValueValue.toString()); } /** @@ -327,7 +327,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -340,7 +340,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -351,7 +351,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -364,7 +364,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -375,7 +375,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -388,7 +388,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -399,7 +399,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -412,7 +412,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** @@ -447,7 +447,7 @@ public void setFormTitleAttribute(String formTitleValue) { public Double getFormValueAttribute() { FormValueAttribute attr = (FormValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -460,7 +460,7 @@ public Double getFormValueAttribute() { public void setFormValueAttribute(Double formValueValue) { FormValueAttribute attr = new FormValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(formValueValue.doubleValue()); + attr.setValue(formValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormOptionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormOptionElement.java index cdc7f4156e..f744265f11 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormOptionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormOptionElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Boolean getFormCurrentSelectedAttribute() { FormCurrentSelectedAttribute attr = (FormCurrentSelectedAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "current-selected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormCurrentSelectedAttribute.DEFAULT_VALUE); } @@ -84,7 +84,7 @@ public Boolean getFormCurrentSelectedAttribute() { public void setFormCurrentSelectedAttribute(Boolean formCurrentSelectedValue) { FormCurrentSelectedAttribute attr = new FormCurrentSelectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formCurrentSelectedValue.booleanValue()); + attr.setValue(formCurrentSelectedValue.toString()); } /** @@ -119,7 +119,7 @@ public void setFormLabelAttribute(String formLabelValue) { public Boolean getFormSelectedAttribute() { FormSelectedAttribute attr = (FormSelectedAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "selected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormSelectedAttribute.DEFAULT_VALUE); } @@ -132,7 +132,7 @@ public Boolean getFormSelectedAttribute() { public void setFormSelectedAttribute(Boolean formSelectedValue) { FormSelectedAttribute attr = new FormSelectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formSelectedValue.booleanValue()); + attr.setValue(formSelectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormPasswordElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormPasswordElement.java index 324ac98847..56870ee41d 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormPasswordElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormPasswordElement.java @@ -105,7 +105,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -118,7 +118,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -129,7 +129,7 @@ public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullVal public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -142,7 +142,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -203,7 +203,7 @@ public void setFormIdAttribute(String formIdValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -216,7 +216,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -251,7 +251,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -264,7 +264,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -275,7 +275,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -288,7 +288,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -299,7 +299,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -312,7 +312,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormPropertyElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormPropertyElement.java index 0392cef51a..c390892919 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormPropertyElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormPropertyElement.java @@ -101,7 +101,7 @@ public void setFormPropertyNameAttribute(String formPropertyNameValue) { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -114,7 +114,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -223,7 +223,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -236,7 +236,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormRadioElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormRadioElement.java index d54eb709f1..31412efec6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormRadioElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormRadioElement.java @@ -109,7 +109,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormCurrentSelectedAttribute() { FormCurrentSelectedAttribute attr = (FormCurrentSelectedAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "current-selected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormCurrentSelectedAttribute.DEFAULT_VALUE); } @@ -122,7 +122,7 @@ public Boolean getFormCurrentSelectedAttribute() { public void setFormCurrentSelectedAttribute(Boolean formCurrentSelectedValue) { FormCurrentSelectedAttribute attr = new FormCurrentSelectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formCurrentSelectedValue.booleanValue()); + attr.setValue(formCurrentSelectedValue.toString()); } /** @@ -157,7 +157,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -170,7 +170,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -305,7 +305,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -318,7 +318,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -329,7 +329,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormSelectedAttribute() { FormSelectedAttribute attr = (FormSelectedAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "selected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormSelectedAttribute.DEFAULT_VALUE); } @@ -342,7 +342,7 @@ public Boolean getFormSelectedAttribute() { public void setFormSelectedAttribute(Boolean formSelectedValue) { FormSelectedAttribute attr = new FormSelectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formSelectedValue.booleanValue()); + attr.setValue(formSelectedValue.toString()); } /** @@ -353,7 +353,7 @@ public void setFormSelectedAttribute(Boolean formSelectedValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -366,7 +366,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -377,7 +377,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -390,7 +390,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormTextElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormTextElement.java index a57e7334aa..5070efb9eb 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormTextElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormTextElement.java @@ -107,7 +107,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -120,7 +120,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -179,7 +179,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -192,7 +192,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -229,7 +229,7 @@ public void setFormIdAttribute(String formIdValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -242,7 +242,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -277,7 +277,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -290,7 +290,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -301,7 +301,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -314,7 +314,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -325,7 +325,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -338,7 +338,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -349,7 +349,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -362,7 +362,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormTextareaElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormTextareaElement.java index 3c6042ff5d..783ebc4a06 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormTextareaElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormTextareaElement.java @@ -108,7 +108,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -121,7 +121,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -180,7 +180,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -193,7 +193,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -230,7 +230,7 @@ public void setFormIdAttribute(String formIdValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -243,7 +243,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -278,7 +278,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -291,7 +291,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -302,7 +302,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -315,7 +315,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -326,7 +326,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -339,7 +339,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -350,7 +350,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -363,7 +363,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormTimeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormTimeElement.java index 42e97ccd59..97f48c92e0 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormTimeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormTimeElement.java @@ -109,7 +109,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -122,7 +122,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -181,7 +181,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -194,7 +194,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -231,7 +231,7 @@ public void setFormIdAttribute(String formIdValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -244,7 +244,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -327,7 +327,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -340,7 +340,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -351,7 +351,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -364,7 +364,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -375,7 +375,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -388,7 +388,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -399,7 +399,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -412,7 +412,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormValueRangeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormValueRangeElement.java index d503ef2da9..52269e0b31 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormValueRangeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/form/FormValueRangeElement.java @@ -132,7 +132,7 @@ public void setFormDelayForRepeatAttribute(String formDelayForRepeatValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -145,7 +145,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -278,7 +278,7 @@ public void setFormOrientationAttribute(String formOrientationValue) { public Integer getFormPageStepSizeAttribute() { FormPageStepSizeAttribute attr = (FormPageStepSizeAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "page-step-size"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -291,7 +291,7 @@ public Integer getFormPageStepSizeAttribute() { public void setFormPageStepSizeAttribute(Integer formPageStepSizeValue) { FormPageStepSizeAttribute attr = new FormPageStepSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formPageStepSizeValue.intValue()); + attr.setValue(formPageStepSizeValue.toString()); } /** @@ -302,7 +302,7 @@ public void setFormPageStepSizeAttribute(Integer formPageStepSizeValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -315,7 +315,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -326,7 +326,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Integer getFormStepSizeAttribute() { FormStepSizeAttribute attr = (FormStepSizeAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "step-size"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormStepSizeAttribute.DEFAULT_VALUE); } @@ -339,7 +339,7 @@ public Integer getFormStepSizeAttribute() { public void setFormStepSizeAttribute(Integer formStepSizeValue) { FormStepSizeAttribute attr = new FormStepSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formStepSizeValue.intValue()); + attr.setValue(formStepSizeValue.toString()); } /** @@ -350,7 +350,7 @@ public void setFormStepSizeAttribute(Integer formStepSizeValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -363,7 +363,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -374,7 +374,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -387,7 +387,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberCurrencyStyleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberCurrencyStyleElement.java index 10fc1d08a5..c5d4b7f8e6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberCurrencyStyleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberCurrencyStyleElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getNumberAutomaticOrderAttribute() { NumberAutomaticOrderAttribute attr = (NumberAutomaticOrderAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "automatic-order"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberAutomaticOrderAttribute.DEFAULT_VALUE); } @@ -81,7 +81,7 @@ public Boolean getNumberAutomaticOrderAttribute() { public void setNumberAutomaticOrderAttribute(Boolean numberAutomaticOrderValue) { NumberAutomaticOrderAttribute attr = new NumberAutomaticOrderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberAutomaticOrderValue.booleanValue()); + attr.setValue(numberAutomaticOrderValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberDataStyleElementBase.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberDataStyleElementBase.java index a1aad913b5..a54b453c9d 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberDataStyleElementBase.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberDataStyleElementBase.java @@ -262,7 +262,7 @@ public void setStyleNameAttribute(String styleNameValue) { public Boolean getStyleVolatileAttribute() { StyleVolatileAttribute attr = (StyleVolatileAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "volatile"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -275,7 +275,7 @@ public Boolean getStyleVolatileAttribute() { public void setStyleVolatileAttribute(Boolean styleVolatileValue) { StyleVolatileAttribute attr = new StyleVolatileAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleVolatileValue.booleanValue()); + attr.setValue(styleVolatileValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberDateStyleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberDateStyleElement.java index 8d41172a48..0b22f606e8 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberDateStyleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberDateStyleElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Boolean getNumberAutomaticOrderAttribute() { NumberAutomaticOrderAttribute attr = (NumberAutomaticOrderAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "automatic-order"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberAutomaticOrderAttribute.DEFAULT_VALUE); } @@ -82,7 +82,7 @@ public Boolean getNumberAutomaticOrderAttribute() { public void setNumberAutomaticOrderAttribute(Boolean numberAutomaticOrderValue) { NumberAutomaticOrderAttribute attr = new NumberAutomaticOrderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberAutomaticOrderValue.booleanValue()); + attr.setValue(numberAutomaticOrderValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberEmbeddedTextElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberEmbeddedTextElement.java index 7f60fb0ec9..dcbeba74f1 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberEmbeddedTextElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberEmbeddedTextElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Integer getNumberPositionAttribute() { NumberPositionAttribute attr = (NumberPositionAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -83,7 +83,7 @@ public Integer getNumberPositionAttribute() { public void setNumberPositionAttribute(Integer numberPositionValue) { NumberPositionAttribute attr = new NumberPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberPositionValue.intValue()); + attr.setValue(numberPositionValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberFractionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberFractionElement.java index b4b1889664..bde7d2cb5d 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberFractionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberFractionElement.java @@ -72,7 +72,7 @@ public OdfName getOdfName() { public Integer getNumberDenominatorValueAttribute() { NumberDenominatorValueAttribute attr = (NumberDenominatorValueAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "denominator-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Integer getNumberDenominatorValueAttribute() { public void setNumberDenominatorValueAttribute(Integer numberDenominatorValueValue) { NumberDenominatorValueAttribute attr = new NumberDenominatorValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberDenominatorValueValue.intValue()); + attr.setValue(numberDenominatorValueValue.toString()); } /** @@ -96,7 +96,7 @@ public void setNumberDenominatorValueAttribute(Integer numberDenominatorValueVal public Boolean getNumberGroupingAttribute() { NumberGroupingAttribute attr = (NumberGroupingAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "grouping"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberGroupingAttribute.DEFAULT_VALUE); } @@ -109,7 +109,7 @@ public Boolean getNumberGroupingAttribute() { public void setNumberGroupingAttribute(Boolean numberGroupingValue) { NumberGroupingAttribute attr = new NumberGroupingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberGroupingValue.booleanValue()); + attr.setValue(numberGroupingValue.toString()); } /** @@ -120,7 +120,7 @@ public void setNumberGroupingAttribute(Boolean numberGroupingValue) { public Integer getNumberMinDenominatorDigitsAttribute() { NumberMinDenominatorDigitsAttribute attr = (NumberMinDenominatorDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-denominator-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -133,7 +133,7 @@ public Integer getNumberMinDenominatorDigitsAttribute() { public void setNumberMinDenominatorDigitsAttribute(Integer numberMinDenominatorDigitsValue) { NumberMinDenominatorDigitsAttribute attr = new NumberMinDenominatorDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinDenominatorDigitsValue.intValue()); + attr.setValue(numberMinDenominatorDigitsValue.toString()); } /** @@ -144,7 +144,7 @@ public void setNumberMinDenominatorDigitsAttribute(Integer numberMinDenominatorD public Integer getNumberMinIntegerDigitsAttribute() { NumberMinIntegerDigitsAttribute attr = (NumberMinIntegerDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-integer-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -157,7 +157,7 @@ public Integer getNumberMinIntegerDigitsAttribute() { public void setNumberMinIntegerDigitsAttribute(Integer numberMinIntegerDigitsValue) { NumberMinIntegerDigitsAttribute attr = new NumberMinIntegerDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinIntegerDigitsValue.intValue()); + attr.setValue(numberMinIntegerDigitsValue.toString()); } /** @@ -168,7 +168,7 @@ public void setNumberMinIntegerDigitsAttribute(Integer numberMinIntegerDigitsVal public Integer getNumberMinNumeratorDigitsAttribute() { NumberMinNumeratorDigitsAttribute attr = (NumberMinNumeratorDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-numerator-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -181,7 +181,7 @@ public Integer getNumberMinNumeratorDigitsAttribute() { public void setNumberMinNumeratorDigitsAttribute(Integer numberMinNumeratorDigitsValue) { NumberMinNumeratorDigitsAttribute attr = new NumberMinNumeratorDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinNumeratorDigitsValue.intValue()); + attr.setValue(numberMinNumeratorDigitsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberMonthElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberMonthElement.java index 1787ce431c..728dbb6c9e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberMonthElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberMonthElement.java @@ -95,7 +95,7 @@ public void setNumberCalendarAttribute(String numberCalendarValue) { public Boolean getNumberPossessiveFormAttribute() { NumberPossessiveFormAttribute attr = (NumberPossessiveFormAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "possessive-form"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getNumberPossessiveFormAttribute() { public void setNumberPossessiveFormAttribute(Boolean numberPossessiveFormValue) { NumberPossessiveFormAttribute attr = new NumberPossessiveFormAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberPossessiveFormValue.booleanValue()); + attr.setValue(numberPossessiveFormValue.toString()); } /** @@ -143,7 +143,7 @@ public void setNumberStyleAttribute(String numberStyleValue) { public Boolean getNumberTextualAttribute() { NumberTextualAttribute attr = (NumberTextualAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "textual"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberTextualAttribute.DEFAULT_VALUE); } @@ -156,7 +156,7 @@ public Boolean getNumberTextualAttribute() { public void setNumberTextualAttribute(Boolean numberTextualValue) { NumberTextualAttribute attr = new NumberTextualAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberTextualValue.booleanValue()); + attr.setValue(numberTextualValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberNumberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberNumberElement.java index 8d3e78b82a..2f942746a1 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberNumberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberNumberElement.java @@ -72,7 +72,7 @@ public OdfName getOdfName() { public Integer getNumberDecimalPlacesAttribute() { NumberDecimalPlacesAttribute attr = (NumberDecimalPlacesAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "decimal-places"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Integer getNumberDecimalPlacesAttribute() { public void setNumberDecimalPlacesAttribute(Integer numberDecimalPlacesValue) { NumberDecimalPlacesAttribute attr = new NumberDecimalPlacesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberDecimalPlacesValue.intValue()); + attr.setValue(numberDecimalPlacesValue.toString()); } /** @@ -120,7 +120,7 @@ public void setNumberDecimalReplacementAttribute(String numberDecimalReplacement public Double getNumberDisplayFactorAttribute() { NumberDisplayFactorAttribute attr = (NumberDisplayFactorAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "display-factor"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(NumberDisplayFactorAttribute.DEFAULT_VALUE); } @@ -133,7 +133,7 @@ public Double getNumberDisplayFactorAttribute() { public void setNumberDisplayFactorAttribute(Double numberDisplayFactorValue) { NumberDisplayFactorAttribute attr = new NumberDisplayFactorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(numberDisplayFactorValue.doubleValue()); + attr.setValue(numberDisplayFactorValue.toString()); } /** @@ -144,7 +144,7 @@ public void setNumberDisplayFactorAttribute(Double numberDisplayFactorValue) { public Boolean getNumberGroupingAttribute() { NumberGroupingAttribute attr = (NumberGroupingAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "grouping"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberGroupingAttribute.DEFAULT_VALUE); } @@ -157,7 +157,7 @@ public Boolean getNumberGroupingAttribute() { public void setNumberGroupingAttribute(Boolean numberGroupingValue) { NumberGroupingAttribute attr = new NumberGroupingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberGroupingValue.booleanValue()); + attr.setValue(numberGroupingValue.toString()); } /** @@ -168,7 +168,7 @@ public void setNumberGroupingAttribute(Boolean numberGroupingValue) { public Integer getNumberMinIntegerDigitsAttribute() { NumberMinIntegerDigitsAttribute attr = (NumberMinIntegerDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-integer-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -181,7 +181,7 @@ public Integer getNumberMinIntegerDigitsAttribute() { public void setNumberMinIntegerDigitsAttribute(Integer numberMinIntegerDigitsValue) { NumberMinIntegerDigitsAttribute attr = new NumberMinIntegerDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinIntegerDigitsValue.intValue()); + attr.setValue(numberMinIntegerDigitsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberScientificNumberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberScientificNumberElement.java index 67954fd914..a78103e6ae 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberScientificNumberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberScientificNumberElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Integer getNumberDecimalPlacesAttribute() { NumberDecimalPlacesAttribute attr = (NumberDecimalPlacesAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "decimal-places"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -84,7 +84,7 @@ public Integer getNumberDecimalPlacesAttribute() { public void setNumberDecimalPlacesAttribute(Integer numberDecimalPlacesValue) { NumberDecimalPlacesAttribute attr = new NumberDecimalPlacesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberDecimalPlacesValue.intValue()); + attr.setValue(numberDecimalPlacesValue.toString()); } /** @@ -95,7 +95,7 @@ public void setNumberDecimalPlacesAttribute(Integer numberDecimalPlacesValue) { public Boolean getNumberGroupingAttribute() { NumberGroupingAttribute attr = (NumberGroupingAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "grouping"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberGroupingAttribute.DEFAULT_VALUE); } @@ -108,7 +108,7 @@ public Boolean getNumberGroupingAttribute() { public void setNumberGroupingAttribute(Boolean numberGroupingValue) { NumberGroupingAttribute attr = new NumberGroupingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberGroupingValue.booleanValue()); + attr.setValue(numberGroupingValue.toString()); } /** @@ -119,7 +119,7 @@ public void setNumberGroupingAttribute(Boolean numberGroupingValue) { public Integer getNumberMinExponentDigitsAttribute() { NumberMinExponentDigitsAttribute attr = (NumberMinExponentDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-exponent-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -132,7 +132,7 @@ public Integer getNumberMinExponentDigitsAttribute() { public void setNumberMinExponentDigitsAttribute(Integer numberMinExponentDigitsValue) { NumberMinExponentDigitsAttribute attr = new NumberMinExponentDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinExponentDigitsValue.intValue()); + attr.setValue(numberMinExponentDigitsValue.toString()); } /** @@ -143,7 +143,7 @@ public void setNumberMinExponentDigitsAttribute(Integer numberMinExponentDigitsV public Integer getNumberMinIntegerDigitsAttribute() { NumberMinIntegerDigitsAttribute attr = (NumberMinIntegerDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-integer-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -156,7 +156,7 @@ public Integer getNumberMinIntegerDigitsAttribute() { public void setNumberMinIntegerDigitsAttribute(Integer numberMinIntegerDigitsValue) { NumberMinIntegerDigitsAttribute attr = new NumberMinIntegerDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinIntegerDigitsValue.intValue()); + attr.setValue(numberMinIntegerDigitsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberSecondsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberSecondsElement.java index 3806d40e70..79e65e3ce5 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberSecondsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberSecondsElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Integer getNumberDecimalPlacesAttribute() { NumberDecimalPlacesAttribute attr = (NumberDecimalPlacesAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "decimal-places"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(NumberDecimalPlacesAttribute.DEFAULT_VALUE); } @@ -82,7 +82,7 @@ public Integer getNumberDecimalPlacesAttribute() { public void setNumberDecimalPlacesAttribute(Integer numberDecimalPlacesValue) { NumberDecimalPlacesAttribute attr = new NumberDecimalPlacesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberDecimalPlacesValue.intValue()); + attr.setValue(numberDecimalPlacesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberTimeStyleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberTimeStyleElement.java index eebc131869..13fd49d38f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberTimeStyleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/number/NumberTimeStyleElement.java @@ -93,7 +93,7 @@ public void setNumberFormatSourceAttribute(String numberFormatSourceValue) { public Boolean getNumberTruncateOnOverflowAttribute() { NumberTruncateOnOverflowAttribute attr = (NumberTruncateOnOverflowAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "truncate-on-overflow"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberTruncateOnOverflowAttribute.DEFAULT_VALUE); } @@ -106,7 +106,7 @@ public Boolean getNumberTruncateOnOverflowAttribute() { public void setNumberTruncateOnOverflowAttribute(Boolean numberTruncateOnOverflowValue) { NumberTruncateOnOverflowAttribute attr = new NumberTruncateOnOverflowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberTruncateOnOverflowValue.booleanValue()); + attr.setValue(numberTruncateOnOverflowValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/office/OfficeAnnotationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/office/OfficeAnnotationElement.java index b6f45db619..cec4146015 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/office/OfficeAnnotationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/office/OfficeAnnotationElement.java @@ -230,7 +230,7 @@ public void setDrawTransformAttribute(String drawTransformValue) { public Boolean getOfficeDisplayAttribute() { OfficeDisplayAttribute attr = (OfficeDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -243,7 +243,7 @@ public Boolean getOfficeDisplayAttribute() { public void setOfficeDisplayAttribute(Boolean officeDisplayValue) { OfficeDisplayAttribute attr = new OfficeDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeDisplayValue.booleanValue()); + attr.setValue(officeDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/office/OfficeDdeSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/office/OfficeDdeSourceElement.java index 9defd26915..0cc8338a0e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/office/OfficeDdeSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/office/OfficeDdeSourceElement.java @@ -73,7 +73,7 @@ public OdfName getOdfName() { public Boolean getOfficeAutomaticUpdateAttribute() { OfficeAutomaticUpdateAttribute attr = (OfficeAutomaticUpdateAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "automatic-update"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(OfficeAutomaticUpdateAttribute.DEFAULT_VALUE); } @@ -86,7 +86,7 @@ public Boolean getOfficeAutomaticUpdateAttribute() { public void setOfficeAutomaticUpdateAttribute(Boolean officeAutomaticUpdateValue) { OfficeAutomaticUpdateAttribute attr = new OfficeAutomaticUpdateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeAutomaticUpdateValue.booleanValue()); + attr.setValue(officeAutomaticUpdateValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/office/OfficeFormsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/office/OfficeFormsElement.java index afc94a358e..3e32839220 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/office/OfficeFormsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/office/OfficeFormsElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Boolean getFormApplyDesignModeAttribute() { FormApplyDesignModeAttribute attr = (FormApplyDesignModeAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "apply-design-mode"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormApplyDesignModeAttribute.DEFAULT_VALUE); } @@ -84,7 +84,7 @@ public Boolean getFormApplyDesignModeAttribute() { public void setFormApplyDesignModeAttribute(Boolean formApplyDesignModeValue) { FormApplyDesignModeAttribute attr = new FormApplyDesignModeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formApplyDesignModeValue.booleanValue()); + attr.setValue(formApplyDesignModeValue.toString()); } /** @@ -95,7 +95,7 @@ public void setFormApplyDesignModeAttribute(Boolean formApplyDesignModeValue) { public Boolean getFormAutomaticFocusAttribute() { FormAutomaticFocusAttribute attr = (FormAutomaticFocusAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "automatic-focus"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormAutomaticFocusAttribute.DEFAULT_VALUE); } @@ -108,7 +108,7 @@ public Boolean getFormAutomaticFocusAttribute() { public void setFormAutomaticFocusAttribute(Boolean formAutomaticFocusValue) { FormAutomaticFocusAttribute attr = new FormAutomaticFocusAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formAutomaticFocusValue.booleanValue()); + attr.setValue(formAutomaticFocusValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/office/OfficeSpreadsheetElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/office/OfficeSpreadsheetElement.java index 114515dce7..ede7a11dde 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/office/OfficeSpreadsheetElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/office/OfficeSpreadsheetElement.java @@ -108,7 +108,7 @@ public void setTableProtectionKeyAttribute(String tableProtectionKeyValue) { public Boolean getTableStructureProtectedAttribute() { TableStructureProtectedAttribute attr = (TableStructureProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "structure-protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableStructureProtectedAttribute.DEFAULT_VALUE); } @@ -121,7 +121,7 @@ public Boolean getTableStructureProtectedAttribute() { public void setTableStructureProtectedAttribute(Boolean tableStructureProtectedValue) { TableStructureProtectedAttribute attr = new TableStructureProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableStructureProtectedValue.booleanValue()); + attr.setValue(tableStructureProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/office/OfficeTextElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/office/OfficeTextElement.java index 7eb6370206..8e73f02071 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/office/OfficeTextElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/office/OfficeTextElement.java @@ -119,7 +119,7 @@ public OdfName getOdfName() { public Boolean getTextGlobalAttribute() { TextGlobalAttribute attr = (TextGlobalAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "global"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextGlobalAttribute.DEFAULT_VALUE); } @@ -132,7 +132,7 @@ public Boolean getTextGlobalAttribute() { public void setTextGlobalAttribute(Boolean textGlobalValue) { TextGlobalAttribute attr = new TextGlobalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textGlobalValue.booleanValue()); + attr.setValue(textGlobalValue.toString()); } /** @@ -143,7 +143,7 @@ public void setTextGlobalAttribute(Boolean textGlobalValue) { public Boolean getTextUseSoftPageBreaksAttribute() { TextUseSoftPageBreaksAttribute attr = (TextUseSoftPageBreaksAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-soft-page-breaks"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseSoftPageBreaksAttribute.DEFAULT_VALUE); } @@ -156,7 +156,7 @@ public Boolean getTextUseSoftPageBreaksAttribute() { public void setTextUseSoftPageBreaksAttribute(Boolean textUseSoftPageBreaksValue) { TextUseSoftPageBreaksAttribute attr = new TextUseSoftPageBreaksAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseSoftPageBreaksValue.booleanValue()); + attr.setValue(textUseSoftPageBreaksValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/presentation/PresentationEventListenerElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/presentation/PresentationEventListenerElement.java index 1171f846fc..b0c397a970 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/presentation/PresentationEventListenerElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/presentation/PresentationEventListenerElement.java @@ -200,7 +200,7 @@ public void setPresentationStartScaleAttribute(String presentationStartScaleValu public Integer getPresentationVerbAttribute() { PresentationVerbAttribute attr = (PresentationVerbAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "verb"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -213,7 +213,7 @@ public Integer getPresentationVerbAttribute() { public void setPresentationVerbAttribute(Integer presentationVerbValue) { PresentationVerbAttribute attr = new PresentationVerbAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(presentationVerbValue.intValue()); + attr.setValue(presentationVerbValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/presentation/PresentationSettingsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/presentation/PresentationSettingsElement.java index bd7d7c9680..940722a67e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/presentation/PresentationSettingsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/presentation/PresentationSettingsElement.java @@ -105,7 +105,7 @@ public void setPresentationAnimationsAttribute(String presentationAnimationsValu public Boolean getPresentationEndlessAttribute() { PresentationEndlessAttribute attr = (PresentationEndlessAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "endless"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationEndlessAttribute.DEFAULT_VALUE); } @@ -118,7 +118,7 @@ public Boolean getPresentationEndlessAttribute() { public void setPresentationEndlessAttribute(Boolean presentationEndlessValue) { PresentationEndlessAttribute attr = new PresentationEndlessAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationEndlessValue.booleanValue()); + attr.setValue(presentationEndlessValue.toString()); } /** @@ -129,7 +129,7 @@ public void setPresentationEndlessAttribute(Boolean presentationEndlessValue) { public Boolean getPresentationForceManualAttribute() { PresentationForceManualAttribute attr = (PresentationForceManualAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "force-manual"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationForceManualAttribute.DEFAULT_VALUE); } @@ -142,7 +142,7 @@ public Boolean getPresentationForceManualAttribute() { public void setPresentationForceManualAttribute(Boolean presentationForceManualValue) { PresentationForceManualAttribute attr = new PresentationForceManualAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationForceManualValue.booleanValue()); + attr.setValue(presentationForceManualValue.toString()); } /** @@ -153,7 +153,7 @@ public void setPresentationForceManualAttribute(Boolean presentationForceManualV public Boolean getPresentationFullScreenAttribute() { PresentationFullScreenAttribute attr = (PresentationFullScreenAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "full-screen"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationFullScreenAttribute.DEFAULT_VALUE); } @@ -166,7 +166,7 @@ public Boolean getPresentationFullScreenAttribute() { public void setPresentationFullScreenAttribute(Boolean presentationFullScreenValue) { PresentationFullScreenAttribute attr = new PresentationFullScreenAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationFullScreenValue.booleanValue()); + attr.setValue(presentationFullScreenValue.toString()); } /** @@ -177,7 +177,7 @@ public void setPresentationFullScreenAttribute(Boolean presentationFullScreenVal public Boolean getPresentationMouseAsPenAttribute() { PresentationMouseAsPenAttribute attr = (PresentationMouseAsPenAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "mouse-as-pen"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationMouseAsPenAttribute.DEFAULT_VALUE); } @@ -190,7 +190,7 @@ public Boolean getPresentationMouseAsPenAttribute() { public void setPresentationMouseAsPenAttribute(Boolean presentationMouseAsPenValue) { PresentationMouseAsPenAttribute attr = new PresentationMouseAsPenAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationMouseAsPenValue.booleanValue()); + attr.setValue(presentationMouseAsPenValue.toString()); } /** @@ -201,7 +201,7 @@ public void setPresentationMouseAsPenAttribute(Boolean presentationMouseAsPenVal public Boolean getPresentationMouseVisibleAttribute() { PresentationMouseVisibleAttribute attr = (PresentationMouseVisibleAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "mouse-visible"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationMouseVisibleAttribute.DEFAULT_VALUE); } @@ -214,7 +214,7 @@ public Boolean getPresentationMouseVisibleAttribute() { public void setPresentationMouseVisibleAttribute(Boolean presentationMouseVisibleValue) { PresentationMouseVisibleAttribute attr = new PresentationMouseVisibleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationMouseVisibleValue.booleanValue()); + attr.setValue(presentationMouseVisibleValue.toString()); } /** @@ -273,7 +273,7 @@ public void setPresentationShowAttribute(String presentationShowValue) { public Boolean getPresentationShowEndOfPresentationSlideAttribute() { PresentationShowEndOfPresentationSlideAttribute attr = (PresentationShowEndOfPresentationSlideAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "show-end-of-presentation-slide"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationShowEndOfPresentationSlideAttribute.DEFAULT_VALUE); } @@ -286,7 +286,7 @@ public Boolean getPresentationShowEndOfPresentationSlideAttribute() { public void setPresentationShowEndOfPresentationSlideAttribute(Boolean presentationShowEndOfPresentationSlideValue) { PresentationShowEndOfPresentationSlideAttribute attr = new PresentationShowEndOfPresentationSlideAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationShowEndOfPresentationSlideValue.booleanValue()); + attr.setValue(presentationShowEndOfPresentationSlideValue.toString()); } /** @@ -297,7 +297,7 @@ public void setPresentationShowEndOfPresentationSlideAttribute(Boolean presentat public Boolean getPresentationShowLogoAttribute() { PresentationShowLogoAttribute attr = (PresentationShowLogoAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "show-logo"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationShowLogoAttribute.DEFAULT_VALUE); } @@ -310,7 +310,7 @@ public Boolean getPresentationShowLogoAttribute() { public void setPresentationShowLogoAttribute(Boolean presentationShowLogoValue) { PresentationShowLogoAttribute attr = new PresentationShowLogoAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationShowLogoValue.booleanValue()); + attr.setValue(presentationShowLogoValue.toString()); } /** @@ -345,7 +345,7 @@ public void setPresentationStartPageAttribute(String presentationStartPageValue) public Boolean getPresentationStartWithNavigatorAttribute() { PresentationStartWithNavigatorAttribute attr = (PresentationStartWithNavigatorAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "start-with-navigator"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationStartWithNavigatorAttribute.DEFAULT_VALUE); } @@ -358,7 +358,7 @@ public Boolean getPresentationStartWithNavigatorAttribute() { public void setPresentationStartWithNavigatorAttribute(Boolean presentationStartWithNavigatorValue) { PresentationStartWithNavigatorAttribute attr = new PresentationStartWithNavigatorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationStartWithNavigatorValue.booleanValue()); + attr.setValue(presentationStartWithNavigatorValue.toString()); } /** @@ -369,7 +369,7 @@ public void setPresentationStartWithNavigatorAttribute(Boolean presentationStart public Boolean getPresentationStayOnTopAttribute() { PresentationStayOnTopAttribute attr = (PresentationStayOnTopAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "stay-on-top"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationStayOnTopAttribute.DEFAULT_VALUE); } @@ -382,7 +382,7 @@ public Boolean getPresentationStayOnTopAttribute() { public void setPresentationStayOnTopAttribute(Boolean presentationStayOnTopValue) { PresentationStayOnTopAttribute attr = new PresentationStayOnTopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationStayOnTopValue.booleanValue()); + attr.setValue(presentationStayOnTopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/presentation/PresentationSoundElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/presentation/PresentationSoundElement.java index 4a841ef42e..9666ce172d 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/presentation/PresentationSoundElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/presentation/PresentationSoundElement.java @@ -72,7 +72,7 @@ public OdfName getOdfName() { public Boolean getPresentationPlayFullAttribute() { PresentationPlayFullAttribute attr = (PresentationPlayFullAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "play-full"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Boolean getPresentationPlayFullAttribute() { public void setPresentationPlayFullAttribute(Boolean presentationPlayFullValue) { PresentationPlayFullAttribute attr = new PresentationPlayFullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationPlayFullValue.booleanValue()); + attr.setValue(presentationPlayFullValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/style/StyleFontFaceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/style/StyleFontFaceElement.java index f3f36265e2..8109a0b9e4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/style/StyleFontFaceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/style/StyleFontFaceElement.java @@ -229,7 +229,7 @@ public void setStyleNameAttribute(String styleNameValue) { public Integer getSvgAccentHeightAttribute() { SvgAccentHeightAttribute attr = (SvgAccentHeightAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "accent-height"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -242,7 +242,7 @@ public Integer getSvgAccentHeightAttribute() { public void setSvgAccentHeightAttribute(Integer svgAccentHeightValue) { SvgAccentHeightAttribute attr = new SvgAccentHeightAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgAccentHeightValue.intValue()); + attr.setValue(svgAccentHeightValue.toString()); } /** @@ -253,7 +253,7 @@ public void setSvgAccentHeightAttribute(Integer svgAccentHeightValue) { public Integer getSvgAlphabeticAttribute() { SvgAlphabeticAttribute attr = (SvgAlphabeticAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "alphabetic"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -266,7 +266,7 @@ public Integer getSvgAlphabeticAttribute() { public void setSvgAlphabeticAttribute(Integer svgAlphabeticValue) { SvgAlphabeticAttribute attr = new SvgAlphabeticAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgAlphabeticValue.intValue()); + attr.setValue(svgAlphabeticValue.toString()); } /** @@ -277,7 +277,7 @@ public void setSvgAlphabeticAttribute(Integer svgAlphabeticValue) { public Integer getSvgAscentAttribute() { SvgAscentAttribute attr = (SvgAscentAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "ascent"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -290,7 +290,7 @@ public Integer getSvgAscentAttribute() { public void setSvgAscentAttribute(Integer svgAscentValue) { SvgAscentAttribute attr = new SvgAscentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgAscentValue.intValue()); + attr.setValue(svgAscentValue.toString()); } /** @@ -325,7 +325,7 @@ public void setSvgBboxAttribute(String svgBboxValue) { public Integer getSvgCapHeightAttribute() { SvgCapHeightAttribute attr = (SvgCapHeightAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "cap-height"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -338,7 +338,7 @@ public Integer getSvgCapHeightAttribute() { public void setSvgCapHeightAttribute(Integer svgCapHeightValue) { SvgCapHeightAttribute attr = new SvgCapHeightAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgCapHeightValue.intValue()); + attr.setValue(svgCapHeightValue.toString()); } /** @@ -349,7 +349,7 @@ public void setSvgCapHeightAttribute(Integer svgCapHeightValue) { public Integer getSvgDescentAttribute() { SvgDescentAttribute attr = (SvgDescentAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "descent"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -362,7 +362,7 @@ public Integer getSvgDescentAttribute() { public void setSvgDescentAttribute(Integer svgDescentValue) { SvgDescentAttribute attr = new SvgDescentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgDescentValue.intValue()); + attr.setValue(svgDescentValue.toString()); } /** @@ -517,7 +517,7 @@ public void setSvgFontWeightAttribute(String svgFontWeightValue) { public Integer getSvgHangingAttribute() { SvgHangingAttribute attr = (SvgHangingAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "hanging"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -530,7 +530,7 @@ public Integer getSvgHangingAttribute() { public void setSvgHangingAttribute(Integer svgHangingValue) { SvgHangingAttribute attr = new SvgHangingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgHangingValue.intValue()); + attr.setValue(svgHangingValue.toString()); } /** @@ -541,7 +541,7 @@ public void setSvgHangingAttribute(Integer svgHangingValue) { public Integer getSvgIdeographicAttribute() { SvgIdeographicAttribute attr = (SvgIdeographicAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "ideographic"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -554,7 +554,7 @@ public Integer getSvgIdeographicAttribute() { public void setSvgIdeographicAttribute(Integer svgIdeographicValue) { SvgIdeographicAttribute attr = new SvgIdeographicAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgIdeographicValue.intValue()); + attr.setValue(svgIdeographicValue.toString()); } /** @@ -565,7 +565,7 @@ public void setSvgIdeographicAttribute(Integer svgIdeographicValue) { public Integer getSvgMathematicalAttribute() { SvgMathematicalAttribute attr = (SvgMathematicalAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "mathematical"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -578,7 +578,7 @@ public Integer getSvgMathematicalAttribute() { public void setSvgMathematicalAttribute(Integer svgMathematicalValue) { SvgMathematicalAttribute attr = new SvgMathematicalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgMathematicalValue.intValue()); + attr.setValue(svgMathematicalValue.toString()); } /** @@ -589,7 +589,7 @@ public void setSvgMathematicalAttribute(Integer svgMathematicalValue) { public Integer getSvgOverlinePositionAttribute() { SvgOverlinePositionAttribute attr = (SvgOverlinePositionAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "overline-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -602,7 +602,7 @@ public Integer getSvgOverlinePositionAttribute() { public void setSvgOverlinePositionAttribute(Integer svgOverlinePositionValue) { SvgOverlinePositionAttribute attr = new SvgOverlinePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgOverlinePositionValue.intValue()); + attr.setValue(svgOverlinePositionValue.toString()); } /** @@ -613,7 +613,7 @@ public void setSvgOverlinePositionAttribute(Integer svgOverlinePositionValue) { public Integer getSvgOverlineThicknessAttribute() { SvgOverlineThicknessAttribute attr = (SvgOverlineThicknessAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "overline-thickness"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -626,7 +626,7 @@ public Integer getSvgOverlineThicknessAttribute() { public void setSvgOverlineThicknessAttribute(Integer svgOverlineThicknessValue) { SvgOverlineThicknessAttribute attr = new SvgOverlineThicknessAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgOverlineThicknessValue.intValue()); + attr.setValue(svgOverlineThicknessValue.toString()); } /** @@ -661,7 +661,7 @@ public void setSvgPanose1Attribute(String svgPanose1Value) { public Integer getSvgSlopeAttribute() { SvgSlopeAttribute attr = (SvgSlopeAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "slope"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -674,7 +674,7 @@ public Integer getSvgSlopeAttribute() { public void setSvgSlopeAttribute(Integer svgSlopeValue) { SvgSlopeAttribute attr = new SvgSlopeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgSlopeValue.intValue()); + attr.setValue(svgSlopeValue.toString()); } /** @@ -685,7 +685,7 @@ public void setSvgSlopeAttribute(Integer svgSlopeValue) { public Integer getSvgStemhAttribute() { SvgStemhAttribute attr = (SvgStemhAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "stemh"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -698,7 +698,7 @@ public Integer getSvgStemhAttribute() { public void setSvgStemhAttribute(Integer svgStemhValue) { SvgStemhAttribute attr = new SvgStemhAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgStemhValue.intValue()); + attr.setValue(svgStemhValue.toString()); } /** @@ -709,7 +709,7 @@ public void setSvgStemhAttribute(Integer svgStemhValue) { public Integer getSvgStemvAttribute() { SvgStemvAttribute attr = (SvgStemvAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "stemv"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -722,7 +722,7 @@ public Integer getSvgStemvAttribute() { public void setSvgStemvAttribute(Integer svgStemvValue) { SvgStemvAttribute attr = new SvgStemvAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgStemvValue.intValue()); + attr.setValue(svgStemvValue.toString()); } /** @@ -733,7 +733,7 @@ public void setSvgStemvAttribute(Integer svgStemvValue) { public Integer getSvgStrikethroughPositionAttribute() { SvgStrikethroughPositionAttribute attr = (SvgStrikethroughPositionAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "strikethrough-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -746,7 +746,7 @@ public Integer getSvgStrikethroughPositionAttribute() { public void setSvgStrikethroughPositionAttribute(Integer svgStrikethroughPositionValue) { SvgStrikethroughPositionAttribute attr = new SvgStrikethroughPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgStrikethroughPositionValue.intValue()); + attr.setValue(svgStrikethroughPositionValue.toString()); } /** @@ -757,7 +757,7 @@ public void setSvgStrikethroughPositionAttribute(Integer svgStrikethroughPositio public Integer getSvgStrikethroughThicknessAttribute() { SvgStrikethroughThicknessAttribute attr = (SvgStrikethroughThicknessAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "strikethrough-thickness"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -770,7 +770,7 @@ public Integer getSvgStrikethroughThicknessAttribute() { public void setSvgStrikethroughThicknessAttribute(Integer svgStrikethroughThicknessValue) { SvgStrikethroughThicknessAttribute attr = new SvgStrikethroughThicknessAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgStrikethroughThicknessValue.intValue()); + attr.setValue(svgStrikethroughThicknessValue.toString()); } /** @@ -781,7 +781,7 @@ public void setSvgStrikethroughThicknessAttribute(Integer svgStrikethroughThickn public Integer getSvgUnderlinePositionAttribute() { SvgUnderlinePositionAttribute attr = (SvgUnderlinePositionAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "underline-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -794,7 +794,7 @@ public Integer getSvgUnderlinePositionAttribute() { public void setSvgUnderlinePositionAttribute(Integer svgUnderlinePositionValue) { SvgUnderlinePositionAttribute attr = new SvgUnderlinePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgUnderlinePositionValue.intValue()); + attr.setValue(svgUnderlinePositionValue.toString()); } /** @@ -805,7 +805,7 @@ public void setSvgUnderlinePositionAttribute(Integer svgUnderlinePositionValue) public Integer getSvgUnderlineThicknessAttribute() { SvgUnderlineThicknessAttribute attr = (SvgUnderlineThicknessAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "underline-thickness"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -818,7 +818,7 @@ public Integer getSvgUnderlineThicknessAttribute() { public void setSvgUnderlineThicknessAttribute(Integer svgUnderlineThicknessValue) { SvgUnderlineThicknessAttribute attr = new SvgUnderlineThicknessAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgUnderlineThicknessValue.intValue()); + attr.setValue(svgUnderlineThicknessValue.toString()); } /** @@ -853,7 +853,7 @@ public void setSvgUnicodeRangeAttribute(String svgUnicodeRangeValue) { public Integer getSvgUnitsPerEmAttribute() { SvgUnitsPerEmAttribute attr = (SvgUnitsPerEmAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "units-per-em"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -866,7 +866,7 @@ public Integer getSvgUnitsPerEmAttribute() { public void setSvgUnitsPerEmAttribute(Integer svgUnitsPerEmValue) { SvgUnitsPerEmAttribute attr = new SvgUnitsPerEmAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgUnitsPerEmValue.intValue()); + attr.setValue(svgUnitsPerEmValue.toString()); } /** @@ -877,7 +877,7 @@ public void setSvgUnitsPerEmAttribute(Integer svgUnitsPerEmValue) { public Integer getSvgVAlphabeticAttribute() { SvgVAlphabeticAttribute attr = (SvgVAlphabeticAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "v-alphabetic"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -890,7 +890,7 @@ public Integer getSvgVAlphabeticAttribute() { public void setSvgVAlphabeticAttribute(Integer svgVAlphabeticValue) { SvgVAlphabeticAttribute attr = new SvgVAlphabeticAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgVAlphabeticValue.intValue()); + attr.setValue(svgVAlphabeticValue.toString()); } /** @@ -901,7 +901,7 @@ public void setSvgVAlphabeticAttribute(Integer svgVAlphabeticValue) { public Integer getSvgVHangingAttribute() { SvgVHangingAttribute attr = (SvgVHangingAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "v-hanging"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -914,7 +914,7 @@ public Integer getSvgVHangingAttribute() { public void setSvgVHangingAttribute(Integer svgVHangingValue) { SvgVHangingAttribute attr = new SvgVHangingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgVHangingValue.intValue()); + attr.setValue(svgVHangingValue.toString()); } /** @@ -925,7 +925,7 @@ public void setSvgVHangingAttribute(Integer svgVHangingValue) { public Integer getSvgVIdeographicAttribute() { SvgVIdeographicAttribute attr = (SvgVIdeographicAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "v-ideographic"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -938,7 +938,7 @@ public Integer getSvgVIdeographicAttribute() { public void setSvgVIdeographicAttribute(Integer svgVIdeographicValue) { SvgVIdeographicAttribute attr = new SvgVIdeographicAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgVIdeographicValue.intValue()); + attr.setValue(svgVIdeographicValue.toString()); } /** @@ -949,7 +949,7 @@ public void setSvgVIdeographicAttribute(Integer svgVIdeographicValue) { public Integer getSvgVMathematicalAttribute() { SvgVMathematicalAttribute attr = (SvgVMathematicalAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "v-mathematical"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -962,7 +962,7 @@ public Integer getSvgVMathematicalAttribute() { public void setSvgVMathematicalAttribute(Integer svgVMathematicalValue) { SvgVMathematicalAttribute attr = new SvgVMathematicalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgVMathematicalValue.intValue()); + attr.setValue(svgVMathematicalValue.toString()); } /** @@ -997,7 +997,7 @@ public void setSvgWidthsAttribute(String svgWidthsValue) { public Integer getSvgXHeightAttribute() { SvgXHeightAttribute attr = (SvgXHeightAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "x-height"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1010,7 +1010,7 @@ public Integer getSvgXHeightAttribute() { public void setSvgXHeightAttribute(Integer svgXHeightValue) { SvgXHeightAttribute attr = new SvgXHeightAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgXHeightValue.intValue()); + attr.setValue(svgXHeightValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/style/StyleFooterElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/style/StyleFooterElement.java index 47c27b475e..fb6f1e9dbe 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/style/StyleFooterElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/style/StyleFooterElement.java @@ -90,7 +90,7 @@ public OdfName getOdfName() { public Boolean getStyleDisplayAttribute() { StyleDisplayAttribute attr = (StyleDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(StyleDisplayAttribute.DEFAULT_VALUE); } @@ -103,7 +103,7 @@ public Boolean getStyleDisplayAttribute() { public void setStyleDisplayAttribute(Boolean styleDisplayValue) { StyleDisplayAttribute attr = new StyleDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleDisplayValue.booleanValue()); + attr.setValue(styleDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/style/StyleFooterLeftElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/style/StyleFooterLeftElement.java index c49de6e92a..a72b481435 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/style/StyleFooterLeftElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/style/StyleFooterLeftElement.java @@ -90,7 +90,7 @@ public OdfName getOdfName() { public Boolean getStyleDisplayAttribute() { StyleDisplayAttribute attr = (StyleDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(StyleDisplayAttribute.DEFAULT_VALUE); } @@ -103,7 +103,7 @@ public Boolean getStyleDisplayAttribute() { public void setStyleDisplayAttribute(Boolean styleDisplayValue) { StyleDisplayAttribute attr = new StyleDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleDisplayValue.booleanValue()); + attr.setValue(styleDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/style/StyleHeaderElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/style/StyleHeaderElement.java index 0c577d6c8c..3198b954c1 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/style/StyleHeaderElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/style/StyleHeaderElement.java @@ -90,7 +90,7 @@ public OdfName getOdfName() { public Boolean getStyleDisplayAttribute() { StyleDisplayAttribute attr = (StyleDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(StyleDisplayAttribute.DEFAULT_VALUE); } @@ -103,7 +103,7 @@ public Boolean getStyleDisplayAttribute() { public void setStyleDisplayAttribute(Boolean styleDisplayValue) { StyleDisplayAttribute attr = new StyleDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleDisplayValue.booleanValue()); + attr.setValue(styleDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/style/StyleHeaderLeftElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/style/StyleHeaderLeftElement.java index 5ba1259739..85680fa179 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/style/StyleHeaderLeftElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/style/StyleHeaderLeftElement.java @@ -90,7 +90,7 @@ public OdfName getOdfName() { public Boolean getStyleDisplayAttribute() { StyleDisplayAttribute attr = (StyleDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(StyleDisplayAttribute.DEFAULT_VALUE); } @@ -103,7 +103,7 @@ public Boolean getStyleDisplayAttribute() { public void setStyleDisplayAttribute(Boolean styleDisplayValue) { StyleDisplayAttribute attr = new StyleDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleDisplayValue.booleanValue()); + attr.setValue(styleDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/style/StyleStyleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/style/StyleStyleElement.java index 71b43dbaf7..8d9c063c2c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/style/StyleStyleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/style/StyleStyleElement.java @@ -79,7 +79,7 @@ public OdfName getOdfName() { public Boolean getStyleAutoUpdateAttribute() { StyleAutoUpdateAttribute attr = (StyleAutoUpdateAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "auto-update"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(StyleAutoUpdateAttribute.DEFAULT_VALUE); } @@ -92,7 +92,7 @@ public Boolean getStyleAutoUpdateAttribute() { public void setStyleAutoUpdateAttribute(Boolean styleAutoUpdateValue) { StyleAutoUpdateAttribute attr = new StyleAutoUpdateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleAutoUpdateValue.booleanValue()); + attr.setValue(styleAutoUpdateValue.toString()); } /** @@ -151,7 +151,7 @@ public void setStyleDataStyleNameAttribute(String styleDataStyleNameValue) { public Integer getStyleDefaultOutlineLevelAttribute() { StyleDefaultOutlineLevelAttribute attr = (StyleDefaultOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "default-outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -164,7 +164,7 @@ public Integer getStyleDefaultOutlineLevelAttribute() { public void setStyleDefaultOutlineLevelAttribute(Integer styleDefaultOutlineLevelValue) { StyleDefaultOutlineLevelAttribute attr = new StyleDefaultOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleDefaultOutlineLevelValue.intValue()); + attr.setValue(styleDefaultOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/svg/SvgStopElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/svg/SvgStopElement.java index 0f7e0d5c9f..24dd32b903 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/svg/SvgStopElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/svg/SvgStopElement.java @@ -120,7 +120,7 @@ public void setSvgStopColorAttribute(String svgStopColorValue) { public Double getSvgStopOpacityAttribute() { SvgStopOpacityAttribute attr = (SvgStopOpacityAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "stop-opacity"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -133,7 +133,7 @@ public Double getSvgStopOpacityAttribute() { public void setSvgStopOpacityAttribute(Double svgStopOpacityValue) { SvgStopOpacityAttribute attr = new SvgStopOpacityAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(svgStopOpacityValue.doubleValue()); + attr.setValue(svgStopOpacityValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java index e9c4bb86d6..4af503899c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java @@ -73,7 +73,7 @@ public OdfName getOdfName() { public Boolean getTableAutomaticFindLabelsAttribute() { TableAutomaticFindLabelsAttribute attr = (TableAutomaticFindLabelsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "automatic-find-labels"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableAutomaticFindLabelsAttribute.DEFAULT_VALUE); } @@ -86,7 +86,7 @@ public Boolean getTableAutomaticFindLabelsAttribute() { public void setTableAutomaticFindLabelsAttribute(Boolean tableAutomaticFindLabelsValue) { TableAutomaticFindLabelsAttribute attr = new TableAutomaticFindLabelsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableAutomaticFindLabelsValue.booleanValue()); + attr.setValue(tableAutomaticFindLabelsValue.toString()); } /** @@ -97,7 +97,7 @@ public void setTableAutomaticFindLabelsAttribute(Boolean tableAutomaticFindLabel public Boolean getTableCaseSensitiveAttribute() { TableCaseSensitiveAttribute attr = (TableCaseSensitiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "case-sensitive"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableCaseSensitiveAttribute.DEFAULT_VALUE_TRUE); } @@ -110,7 +110,7 @@ public Boolean getTableCaseSensitiveAttribute() { public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { TableCaseSensitiveAttribute attr = new TableCaseSensitiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableCaseSensitiveValue.booleanValue()); + attr.setValue(tableCaseSensitiveValue.toString()); } /** @@ -121,7 +121,7 @@ public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { public Integer getTableNullYearAttribute() { TableNullYearAttribute attr = (TableNullYearAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "null-year"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNullYearAttribute.DEFAULT_VALUE); } @@ -134,7 +134,7 @@ public Integer getTableNullYearAttribute() { public void setTableNullYearAttribute(Integer tableNullYearValue) { TableNullYearAttribute attr = new TableNullYearAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNullYearValue.intValue()); + attr.setValue(tableNullYearValue.toString()); } /** @@ -145,7 +145,7 @@ public void setTableNullYearAttribute(Integer tableNullYearValue) { public Boolean getTablePrecisionAsShownAttribute() { TablePrecisionAsShownAttribute attr = (TablePrecisionAsShownAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "precision-as-shown"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TablePrecisionAsShownAttribute.DEFAULT_VALUE); } @@ -158,7 +158,7 @@ public Boolean getTablePrecisionAsShownAttribute() { public void setTablePrecisionAsShownAttribute(Boolean tablePrecisionAsShownValue) { TablePrecisionAsShownAttribute attr = new TablePrecisionAsShownAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tablePrecisionAsShownValue.booleanValue()); + attr.setValue(tablePrecisionAsShownValue.toString()); } /** @@ -169,7 +169,7 @@ public void setTablePrecisionAsShownAttribute(Boolean tablePrecisionAsShownValue public Boolean getTableSearchCriteriaMustApplyToWholeCellAttribute() { TableSearchCriteriaMustApplyToWholeCellAttribute attr = (TableSearchCriteriaMustApplyToWholeCellAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "search-criteria-must-apply-to-whole-cell"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableSearchCriteriaMustApplyToWholeCellAttribute.DEFAULT_VALUE); } @@ -182,7 +182,7 @@ public Boolean getTableSearchCriteriaMustApplyToWholeCellAttribute() { public void setTableSearchCriteriaMustApplyToWholeCellAttribute(Boolean tableSearchCriteriaMustApplyToWholeCellValue) { TableSearchCriteriaMustApplyToWholeCellAttribute attr = new TableSearchCriteriaMustApplyToWholeCellAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableSearchCriteriaMustApplyToWholeCellValue.booleanValue()); + attr.setValue(tableSearchCriteriaMustApplyToWholeCellValue.toString()); } /** @@ -193,7 +193,7 @@ public void setTableSearchCriteriaMustApplyToWholeCellAttribute(Boolean tableSea public Boolean getTableUseRegularExpressionsAttribute() { TableUseRegularExpressionsAttribute attr = (TableUseRegularExpressionsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "use-regular-expressions"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableUseRegularExpressionsAttribute.DEFAULT_VALUE); } @@ -206,7 +206,7 @@ public Boolean getTableUseRegularExpressionsAttribute() { public void setTableUseRegularExpressionsAttribute(Boolean tableUseRegularExpressionsValue) { TableUseRegularExpressionsAttribute attr = new TableUseRegularExpressionsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableUseRegularExpressionsValue.booleanValue()); + attr.setValue(tableUseRegularExpressionsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableCellAddressElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableCellAddressElement.java index c2f3204924..daf535053b 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableCellAddressElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableCellAddressElement.java @@ -72,7 +72,7 @@ public OdfName getOdfName() { public Integer getTableColumnAttribute() { TableColumnAttribute attr = (TableColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Integer getTableColumnAttribute() { public void setTableColumnAttribute(Integer tableColumnValue) { TableColumnAttribute attr = new TableColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableColumnValue.intValue()); + attr.setValue(tableColumnValue.toString()); } /** @@ -98,7 +98,7 @@ public void setTableColumnAttribute(Integer tableColumnValue) { public Integer getTableRowAttribute() { TableRowAttribute attr = (TableRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -111,7 +111,7 @@ public Integer getTableRowAttribute() { public void setTableRowAttribute(Integer tableRowValue) { TableRowAttribute attr = new TableRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableRowValue.intValue()); + attr.setValue(tableRowValue.toString()); } /** @@ -124,7 +124,7 @@ public void setTableRowAttribute(Integer tableRowValue) { public Integer getTableTableAttribute() { TableTableAttribute attr = (TableTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -137,7 +137,7 @@ public Integer getTableTableAttribute() { public void setTableTableAttribute(Integer tableTableValue) { TableTableAttribute attr = new TableTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableTableValue.intValue()); + attr.setValue(tableTableValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableCellRangeSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableCellRangeSourceElement.java index 1a4ca56535..91a767233a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableCellRangeSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableCellRangeSourceElement.java @@ -126,7 +126,7 @@ public void setTableFilterOptionsAttribute(String tableFilterOptionsValue) { public Integer getTableLastColumnSpannedAttribute() { TableLastColumnSpannedAttribute attr = (TableLastColumnSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "last-column-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -139,7 +139,7 @@ public Integer getTableLastColumnSpannedAttribute() { public void setTableLastColumnSpannedAttribute(Integer tableLastColumnSpannedValue) { TableLastColumnSpannedAttribute attr = new TableLastColumnSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableLastColumnSpannedValue.intValue()); + attr.setValue(tableLastColumnSpannedValue.toString()); } /** @@ -152,7 +152,7 @@ public void setTableLastColumnSpannedAttribute(Integer tableLastColumnSpannedVal public Integer getTableLastRowSpannedAttribute() { TableLastRowSpannedAttribute attr = (TableLastRowSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "last-row-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -165,7 +165,7 @@ public Integer getTableLastRowSpannedAttribute() { public void setTableLastRowSpannedAttribute(Integer tableLastRowSpannedValue) { TableLastRowSpannedAttribute attr = new TableLastRowSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableLastRowSpannedValue.intValue()); + attr.setValue(tableLastRowSpannedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableChangeTrackTableCellElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableChangeTrackTableCellElement.java index b05f4b0935..437bf9417e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableChangeTrackTableCellElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableChangeTrackTableCellElement.java @@ -80,7 +80,7 @@ public OdfName getOdfName() { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -93,7 +93,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -202,7 +202,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -215,7 +215,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** @@ -300,7 +300,7 @@ public void setTableFormulaAttribute(String tableFormulaValue) { public Boolean getTableMatrixCoveredAttribute() { TableMatrixCoveredAttribute attr = (TableMatrixCoveredAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "matrix-covered"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableMatrixCoveredAttribute.DEFAULT_VALUE); } @@ -313,7 +313,7 @@ public Boolean getTableMatrixCoveredAttribute() { public void setTableMatrixCoveredAttribute(Boolean tableMatrixCoveredValue) { TableMatrixCoveredAttribute attr = new TableMatrixCoveredAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableMatrixCoveredValue.booleanValue()); + attr.setValue(tableMatrixCoveredValue.toString()); } /** @@ -324,7 +324,7 @@ public void setTableMatrixCoveredAttribute(Boolean tableMatrixCoveredValue) { public Integer getTableNumberMatrixColumnsSpannedAttribute() { TableNumberMatrixColumnsSpannedAttribute attr = (TableNumberMatrixColumnsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-matrix-columns-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -337,7 +337,7 @@ public Integer getTableNumberMatrixColumnsSpannedAttribute() { public void setTableNumberMatrixColumnsSpannedAttribute(Integer tableNumberMatrixColumnsSpannedValue) { TableNumberMatrixColumnsSpannedAttribute attr = new TableNumberMatrixColumnsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberMatrixColumnsSpannedValue.intValue()); + attr.setValue(tableNumberMatrixColumnsSpannedValue.toString()); } /** @@ -348,7 +348,7 @@ public void setTableNumberMatrixColumnsSpannedAttribute(Integer tableNumberMatri public Integer getTableNumberMatrixRowsSpannedAttribute() { TableNumberMatrixRowsSpannedAttribute attr = (TableNumberMatrixRowsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-matrix-rows-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -361,7 +361,7 @@ public Integer getTableNumberMatrixRowsSpannedAttribute() { public void setTableNumberMatrixRowsSpannedAttribute(Integer tableNumberMatrixRowsSpannedValue) { TableNumberMatrixRowsSpannedAttribute attr = new TableNumberMatrixRowsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberMatrixRowsSpannedValue.intValue()); + attr.setValue(tableNumberMatrixRowsSpannedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableConsolidationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableConsolidationElement.java index 61852bc7a7..7a1abeb770 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableConsolidationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableConsolidationElement.java @@ -98,7 +98,7 @@ public void setTableFunctionAttribute(String tableFunctionValue) { public Boolean getTableLinkToSourceDataAttribute() { TableLinkToSourceDataAttribute attr = (TableLinkToSourceDataAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "link-to-source-data"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableLinkToSourceDataAttribute.DEFAULT_VALUE); } @@ -111,7 +111,7 @@ public Boolean getTableLinkToSourceDataAttribute() { public void setTableLinkToSourceDataAttribute(Boolean tableLinkToSourceDataValue) { TableLinkToSourceDataAttribute attr = new TableLinkToSourceDataAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableLinkToSourceDataValue.booleanValue()); + attr.setValue(tableLinkToSourceDataValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableContentValidationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableContentValidationElement.java index 92876594b5..8118e03599 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableContentValidationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableContentValidationElement.java @@ -73,7 +73,7 @@ public OdfName getOdfName() { public Boolean getTableAllowEmptyCellAttribute() { TableAllowEmptyCellAttribute attr = (TableAllowEmptyCellAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "allow-empty-cell"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableAllowEmptyCellAttribute.DEFAULT_VALUE); } @@ -86,7 +86,7 @@ public Boolean getTableAllowEmptyCellAttribute() { public void setTableAllowEmptyCellAttribute(Boolean tableAllowEmptyCellValue) { TableAllowEmptyCellAttribute attr = new TableAllowEmptyCellAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableAllowEmptyCellValue.booleanValue()); + attr.setValue(tableAllowEmptyCellValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDataPilotDisplayInfoElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDataPilotDisplayInfoElement.java index ed4b578990..5db30a3aa0 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDataPilotDisplayInfoElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDataPilotDisplayInfoElement.java @@ -125,7 +125,7 @@ public void setTableDisplayMemberModeAttribute(String tableDisplayMemberModeValu public Boolean getTableEnabledAttribute() { TableEnabledAttribute attr = (TableEnabledAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "enabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -138,7 +138,7 @@ public Boolean getTableEnabledAttribute() { public void setTableEnabledAttribute(Boolean tableEnabledValue) { TableEnabledAttribute attr = new TableEnabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableEnabledValue.booleanValue()); + attr.setValue(tableEnabledValue.toString()); } /** @@ -151,7 +151,7 @@ public void setTableEnabledAttribute(Boolean tableEnabledValue) { public Integer getTableMemberCountAttribute() { TableMemberCountAttribute attr = (TableMemberCountAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "member-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -164,7 +164,7 @@ public Integer getTableMemberCountAttribute() { public void setTableMemberCountAttribute(Integer tableMemberCountValue) { TableMemberCountAttribute attr = new TableMemberCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableMemberCountValue.intValue()); + attr.setValue(tableMemberCountValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDataPilotFieldElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDataPilotFieldElement.java index a6e8c2e2f6..8529a58d73 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDataPilotFieldElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDataPilotFieldElement.java @@ -197,7 +197,7 @@ public void setTableSourceFieldNameAttribute(String tableSourceFieldNameValue) { public Integer getTableUsedHierarchyAttribute() { TableUsedHierarchyAttribute attr = (TableUsedHierarchyAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "used-hierarchy"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableUsedHierarchyAttribute.DEFAULT_VALUE); } @@ -210,7 +210,7 @@ public Integer getTableUsedHierarchyAttribute() { public void setTableUsedHierarchyAttribute(Integer tableUsedHierarchyValue) { TableUsedHierarchyAttribute attr = new TableUsedHierarchyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableUsedHierarchyValue.intValue()); + attr.setValue(tableUsedHierarchyValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDataPilotGroupsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDataPilotGroupsElement.java index d3cb3948a3..83fad2b4f0 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDataPilotGroupsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDataPilotGroupsElement.java @@ -122,7 +122,7 @@ public void setTableDateStartAttribute(String tableDateStartValue) { public Double getTableEndAttribute() { TableEndAttribute attr = (TableEndAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -135,7 +135,7 @@ public Double getTableEndAttribute() { public void setTableEndAttribute(Double tableEndValue) { TableEndAttribute attr = new TableEndAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(tableEndValue.doubleValue()); + attr.setValue(tableEndValue.toString()); } /** @@ -198,7 +198,7 @@ public void setTableSourceFieldNameAttribute(String tableSourceFieldNameValue) { public Double getTableStartAttribute() { TableStartAttribute attr = (TableStartAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -211,7 +211,7 @@ public Double getTableStartAttribute() { public void setTableStartAttribute(Double tableStartValue) { TableStartAttribute attr = new TableStartAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(tableStartValue.doubleValue()); + attr.setValue(tableStartValue.toString()); } /** @@ -224,7 +224,7 @@ public void setTableStartAttribute(Double tableStartValue) { public Double getTableStepAttribute() { TableStepAttribute attr = (TableStepAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "step"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -237,7 +237,7 @@ public Double getTableStepAttribute() { public void setTableStepAttribute(Double tableStepValue) { TableStepAttribute attr = new TableStepAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(tableStepValue.doubleValue()); + attr.setValue(tableStepValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLayoutInfoElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLayoutInfoElement.java index 60ee6a05d7..2dca765a24 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLayoutInfoElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLayoutInfoElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Boolean getTableAddEmptyLinesAttribute() { TableAddEmptyLinesAttribute attr = (TableAddEmptyLinesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "add-empty-lines"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -84,7 +84,7 @@ public Boolean getTableAddEmptyLinesAttribute() { public void setTableAddEmptyLinesAttribute(Boolean tableAddEmptyLinesValue) { TableAddEmptyLinesAttribute attr = new TableAddEmptyLinesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableAddEmptyLinesValue.booleanValue()); + attr.setValue(tableAddEmptyLinesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLevelElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLevelElement.java index eaacb6a5b0..05c1b233f1 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLevelElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLevelElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTableShowEmptyAttribute() { TableShowEmptyAttribute attr = (TableShowEmptyAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "show-empty"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTableShowEmptyAttribute() { public void setTableShowEmptyAttribute(Boolean tableShowEmptyValue) { TableShowEmptyAttribute attr = new TableShowEmptyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableShowEmptyValue.booleanValue()); + attr.setValue(tableShowEmptyValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDataPilotMemberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDataPilotMemberElement.java index 6da4e78e41..0c90005e8e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDataPilotMemberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDataPilotMemberElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Boolean getTableDisplayAttribute() { TableDisplayAttribute attr = (TableDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -83,7 +83,7 @@ public Boolean getTableDisplayAttribute() { public void setTableDisplayAttribute(Boolean tableDisplayValue) { TableDisplayAttribute attr = new TableDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayValue.booleanValue()); + attr.setValue(tableDisplayValue.toString()); } /** @@ -120,7 +120,7 @@ public void setTableNameAttribute(String tableNameValue) { public Boolean getTableShowDetailsAttribute() { TableShowDetailsAttribute attr = (TableShowDetailsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "show-details"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -133,7 +133,7 @@ public Boolean getTableShowDetailsAttribute() { public void setTableShowDetailsAttribute(Boolean tableShowDetailsValue) { TableShowDetailsAttribute attr = new TableShowDetailsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableShowDetailsValue.booleanValue()); + attr.setValue(tableShowDetailsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDataPilotTableElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDataPilotTableElement.java index 11d153641a..cf86d2a252 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDataPilotTableElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDataPilotTableElement.java @@ -124,7 +124,7 @@ public void setTableButtonsAttribute(String tableButtonsValue) { public Boolean getTableDrillDownOnDoubleClickAttribute() { TableDrillDownOnDoubleClickAttribute attr = (TableDrillDownOnDoubleClickAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "drill-down-on-double-click"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDrillDownOnDoubleClickAttribute.DEFAULT_VALUE); } @@ -137,7 +137,7 @@ public Boolean getTableDrillDownOnDoubleClickAttribute() { public void setTableDrillDownOnDoubleClickAttribute(Boolean tableDrillDownOnDoubleClickValue) { TableDrillDownOnDoubleClickAttribute attr = new TableDrillDownOnDoubleClickAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDrillDownOnDoubleClickValue.booleanValue()); + attr.setValue(tableDrillDownOnDoubleClickValue.toString()); } /** @@ -172,7 +172,7 @@ public void setTableGrandTotalAttribute(String tableGrandTotalValue) { public Boolean getTableIdentifyCategoriesAttribute() { TableIdentifyCategoriesAttribute attr = (TableIdentifyCategoriesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "identify-categories"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableIdentifyCategoriesAttribute.DEFAULT_VALUE); } @@ -185,7 +185,7 @@ public Boolean getTableIdentifyCategoriesAttribute() { public void setTableIdentifyCategoriesAttribute(Boolean tableIdentifyCategoriesValue) { TableIdentifyCategoriesAttribute attr = new TableIdentifyCategoriesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableIdentifyCategoriesValue.booleanValue()); + attr.setValue(tableIdentifyCategoriesValue.toString()); } /** @@ -196,7 +196,7 @@ public void setTableIdentifyCategoriesAttribute(Boolean tableIdentifyCategoriesV public Boolean getTableIgnoreEmptyRowsAttribute() { TableIgnoreEmptyRowsAttribute attr = (TableIgnoreEmptyRowsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "ignore-empty-rows"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableIgnoreEmptyRowsAttribute.DEFAULT_VALUE); } @@ -209,7 +209,7 @@ public Boolean getTableIgnoreEmptyRowsAttribute() { public void setTableIgnoreEmptyRowsAttribute(Boolean tableIgnoreEmptyRowsValue) { TableIgnoreEmptyRowsAttribute attr = new TableIgnoreEmptyRowsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableIgnoreEmptyRowsValue.booleanValue()); + attr.setValue(tableIgnoreEmptyRowsValue.toString()); } /** @@ -246,7 +246,7 @@ public void setTableNameAttribute(String tableNameValue) { public Boolean getTableShowFilterButtonAttribute() { TableShowFilterButtonAttribute attr = (TableShowFilterButtonAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "show-filter-button"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableShowFilterButtonAttribute.DEFAULT_VALUE); } @@ -259,7 +259,7 @@ public Boolean getTableShowFilterButtonAttribute() { public void setTableShowFilterButtonAttribute(Boolean tableShowFilterButtonValue) { TableShowFilterButtonAttribute attr = new TableShowFilterButtonAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableShowFilterButtonValue.booleanValue()); + attr.setValue(tableShowFilterButtonValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java index 1b91550e98..d05edcc1ef 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java @@ -77,7 +77,7 @@ public OdfName getOdfName() { public Boolean getTableContainsHeaderAttribute() { TableContainsHeaderAttribute attr = (TableContainsHeaderAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "contains-header"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableContainsHeaderAttribute.DEFAULT_VALUE); } @@ -90,7 +90,7 @@ public Boolean getTableContainsHeaderAttribute() { public void setTableContainsHeaderAttribute(Boolean tableContainsHeaderValue) { TableContainsHeaderAttribute attr = new TableContainsHeaderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableContainsHeaderValue.booleanValue()); + attr.setValue(tableContainsHeaderValue.toString()); } /** @@ -101,7 +101,7 @@ public void setTableContainsHeaderAttribute(Boolean tableContainsHeaderValue) { public Boolean getTableDisplayFilterButtonsAttribute() { TableDisplayFilterButtonsAttribute attr = (TableDisplayFilterButtonsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display-filter-buttons"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayFilterButtonsAttribute.DEFAULT_VALUE); } @@ -114,7 +114,7 @@ public Boolean getTableDisplayFilterButtonsAttribute() { public void setTableDisplayFilterButtonsAttribute(Boolean tableDisplayFilterButtonsValue) { TableDisplayFilterButtonsAttribute attr = new TableDisplayFilterButtonsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayFilterButtonsValue.booleanValue()); + attr.setValue(tableDisplayFilterButtonsValue.toString()); } /** @@ -125,7 +125,7 @@ public void setTableDisplayFilterButtonsAttribute(Boolean tableDisplayFilterButt public Boolean getTableHasPersistentDataAttribute() { TableHasPersistentDataAttribute attr = (TableHasPersistentDataAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "has-persistent-data"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableHasPersistentDataAttribute.DEFAULT_VALUE); } @@ -138,7 +138,7 @@ public Boolean getTableHasPersistentDataAttribute() { public void setTableHasPersistentDataAttribute(Boolean tableHasPersistentDataValue) { TableHasPersistentDataAttribute attr = new TableHasPersistentDataAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableHasPersistentDataValue.booleanValue()); + attr.setValue(tableHasPersistentDataValue.toString()); } /** @@ -149,7 +149,7 @@ public void setTableHasPersistentDataAttribute(Boolean tableHasPersistentDataVal public Boolean getTableIsSelectionAttribute() { TableIsSelectionAttribute attr = (TableIsSelectionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "is-selection"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableIsSelectionAttribute.DEFAULT_VALUE); } @@ -162,7 +162,7 @@ public Boolean getTableIsSelectionAttribute() { public void setTableIsSelectionAttribute(Boolean tableIsSelectionValue) { TableIsSelectionAttribute attr = new TableIsSelectionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableIsSelectionValue.booleanValue()); + attr.setValue(tableIsSelectionValue.toString()); } /** @@ -197,7 +197,7 @@ public void setTableNameAttribute(String tableNameValue) { public Boolean getTableOnUpdateKeepSizeAttribute() { TableOnUpdateKeepSizeAttribute attr = (TableOnUpdateKeepSizeAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "on-update-keep-size"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableOnUpdateKeepSizeAttribute.DEFAULT_VALUE); } @@ -210,7 +210,7 @@ public Boolean getTableOnUpdateKeepSizeAttribute() { public void setTableOnUpdateKeepSizeAttribute(Boolean tableOnUpdateKeepSizeValue) { TableOnUpdateKeepSizeAttribute attr = new TableOnUpdateKeepSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableOnUpdateKeepSizeValue.booleanValue()); + attr.setValue(tableOnUpdateKeepSizeValue.toString()); } /** @@ -221,7 +221,7 @@ public void setTableOnUpdateKeepSizeAttribute(Boolean tableOnUpdateKeepSizeValue public Boolean getTableOnUpdateKeepStylesAttribute() { TableOnUpdateKeepStylesAttribute attr = (TableOnUpdateKeepStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "on-update-keep-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableOnUpdateKeepStylesAttribute.DEFAULT_VALUE); } @@ -234,7 +234,7 @@ public Boolean getTableOnUpdateKeepStylesAttribute() { public void setTableOnUpdateKeepStylesAttribute(Boolean tableOnUpdateKeepStylesValue) { TableOnUpdateKeepStylesAttribute attr = new TableOnUpdateKeepStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableOnUpdateKeepStylesValue.booleanValue()); + attr.setValue(tableOnUpdateKeepStylesValue.toString()); } /** @@ -269,7 +269,7 @@ public void setTableOrientationAttribute(String tableOrientationValue) { public Boolean getTableRefreshDelayAttribute() { TableRefreshDelayAttribute attr = (TableRefreshDelayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "refresh-delay"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -282,7 +282,7 @@ public Boolean getTableRefreshDelayAttribute() { public void setTableRefreshDelayAttribute(Boolean tableRefreshDelayValue) { TableRefreshDelayAttribute attr = new TableRefreshDelayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableRefreshDelayValue.booleanValue()); + attr.setValue(tableRefreshDelayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDatabaseSourceSqlElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDatabaseSourceSqlElement.java index dfc9cd3ccb..76edc4c41f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDatabaseSourceSqlElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDatabaseSourceSqlElement.java @@ -96,7 +96,7 @@ public void setTableDatabaseNameAttribute(String tableDatabaseNameValue) { public Boolean getTableParseSqlStatementAttribute() { TableParseSqlStatementAttribute attr = (TableParseSqlStatementAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "parse-sql-statement"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableParseSqlStatementAttribute.DEFAULT_VALUE); } @@ -109,7 +109,7 @@ public Boolean getTableParseSqlStatementAttribute() { public void setTableParseSqlStatementAttribute(Boolean tableParseSqlStatementValue) { TableParseSqlStatementAttribute attr = new TableParseSqlStatementAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableParseSqlStatementValue.booleanValue()); + attr.setValue(tableParseSqlStatementValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDeletionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDeletionElement.java index 6b492a7665..048438f35f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDeletionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableDeletionElement.java @@ -125,7 +125,7 @@ public void setTableIdAttribute(String tableIdValue) { public Integer getTableMultiDeletionSpannedAttribute() { TableMultiDeletionSpannedAttribute attr = (TableMultiDeletionSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "multi-deletion-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -138,7 +138,7 @@ public Integer getTableMultiDeletionSpannedAttribute() { public void setTableMultiDeletionSpannedAttribute(Integer tableMultiDeletionSpannedValue) { TableMultiDeletionSpannedAttribute attr = new TableMultiDeletionSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableMultiDeletionSpannedValue.intValue()); + attr.setValue(tableMultiDeletionSpannedValue.toString()); } /** @@ -151,7 +151,7 @@ public void setTableMultiDeletionSpannedAttribute(Integer tableMultiDeletionSpan public Integer getTablePositionAttribute() { TablePositionAttribute attr = (TablePositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -164,7 +164,7 @@ public Integer getTablePositionAttribute() { public void setTablePositionAttribute(Integer tablePositionValue) { TablePositionAttribute attr = new TablePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tablePositionValue.intValue()); + attr.setValue(tablePositionValue.toString()); } /** @@ -199,7 +199,7 @@ public void setTableRejectingChangeIdAttribute(String tableRejectingChangeIdValu public Integer getTableTableAttribute() { TableTableAttribute attr = (TableTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -212,7 +212,7 @@ public Integer getTableTableAttribute() { public void setTableTableAttribute(Integer tableTableValue) { TableTableAttribute attr = new TableTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableTableValue.intValue()); + attr.setValue(tableTableValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableErrorMacroElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableErrorMacroElement.java index 2d57d893cc..2a34ec3dbb 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableErrorMacroElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableErrorMacroElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTableExecuteAttribute() { TableExecuteAttribute attr = (TableExecuteAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "execute"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableExecuteAttribute.DEFAULT_VALUE); } @@ -81,7 +81,7 @@ public Boolean getTableExecuteAttribute() { public void setTableExecuteAttribute(Boolean tableExecuteValue) { TableExecuteAttribute attr = new TableExecuteAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableExecuteValue.booleanValue()); + attr.setValue(tableExecuteValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableErrorMessageElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableErrorMessageElement.java index 1f7c4769a0..d5ef665e82 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableErrorMessageElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableErrorMessageElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Boolean getTableDisplayAttribute() { TableDisplayAttribute attr = (TableDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayAttribute.DEFAULT_VALUE_FALSE); } @@ -84,7 +84,7 @@ public Boolean getTableDisplayAttribute() { public void setTableDisplayAttribute(Boolean tableDisplayValue) { TableDisplayAttribute attr = new TableDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayValue.booleanValue()); + attr.setValue(tableDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableFilterConditionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableFilterConditionElement.java index ab9c6a917a..5f4243b7bb 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableFilterConditionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableFilterConditionElement.java @@ -122,7 +122,7 @@ public void setTableDataTypeAttribute(String tableDataTypeValue) { public Integer getTableFieldNumberAttribute() { TableFieldNumberAttribute attr = (TableFieldNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "field-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -135,7 +135,7 @@ public Integer getTableFieldNumberAttribute() { public void setTableFieldNumberAttribute(Integer tableFieldNumberValue) { TableFieldNumberAttribute attr = new TableFieldNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableFieldNumberValue.intValue()); + attr.setValue(tableFieldNumberValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableFilterElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableFilterElement.java index b71e4271ae..6f4dda149f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableFilterElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableFilterElement.java @@ -119,7 +119,7 @@ public void setTableConditionSourceRangeAddressAttribute(String tableConditionSo public Boolean getTableDisplayDuplicatesAttribute() { TableDisplayDuplicatesAttribute attr = (TableDisplayDuplicatesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display-duplicates"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayDuplicatesAttribute.DEFAULT_VALUE); } @@ -132,7 +132,7 @@ public Boolean getTableDisplayDuplicatesAttribute() { public void setTableDisplayDuplicatesAttribute(Boolean tableDisplayDuplicatesValue) { TableDisplayDuplicatesAttribute attr = new TableDisplayDuplicatesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayDuplicatesValue.booleanValue()); + attr.setValue(tableDisplayDuplicatesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableHelpMessageElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableHelpMessageElement.java index fc4cefee7a..3b14a9c739 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableHelpMessageElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableHelpMessageElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Boolean getTableDisplayAttribute() { TableDisplayAttribute attr = (TableDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayAttribute.DEFAULT_VALUE_FALSE); } @@ -83,7 +83,7 @@ public Boolean getTableDisplayAttribute() { public void setTableDisplayAttribute(Boolean tableDisplayValue) { TableDisplayAttribute attr = new TableDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayValue.booleanValue()); + attr.setValue(tableDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableHighlightedRangeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableHighlightedRangeElement.java index b02b575059..3e8b60a279 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableHighlightedRangeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableHighlightedRangeElement.java @@ -95,7 +95,7 @@ public void setTableCellRangeAddressAttribute(String tableCellRangeAddressValue) public Boolean getTableContainsErrorAttribute() { TableContainsErrorAttribute attr = (TableContainsErrorAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "contains-error"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableContainsErrorAttribute.DEFAULT_VALUE); } @@ -108,7 +108,7 @@ public Boolean getTableContainsErrorAttribute() { public void setTableContainsErrorAttribute(Boolean tableContainsErrorValue) { TableContainsErrorAttribute attr = new TableContainsErrorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableContainsErrorValue.booleanValue()); + attr.setValue(tableContainsErrorValue.toString()); } /** @@ -143,7 +143,7 @@ public void setTableDirectionAttribute(String tableDirectionValue) { public Boolean getTableMarkedInvalidAttribute() { TableMarkedInvalidAttribute attr = (TableMarkedInvalidAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "marked-invalid"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -156,7 +156,7 @@ public Boolean getTableMarkedInvalidAttribute() { public void setTableMarkedInvalidAttribute(Boolean tableMarkedInvalidValue) { TableMarkedInvalidAttribute attr = new TableMarkedInvalidAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableMarkedInvalidValue.booleanValue()); + attr.setValue(tableMarkedInvalidValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableInsertionCutOffElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableInsertionCutOffElement.java index a7624eb005..de08dc074f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableInsertionCutOffElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableInsertionCutOffElement.java @@ -97,7 +97,7 @@ public void setTableIdAttribute(String tableIdValue) { public Integer getTablePositionAttribute() { TablePositionAttribute attr = (TablePositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -110,7 +110,7 @@ public Integer getTablePositionAttribute() { public void setTablePositionAttribute(Integer tablePositionValue) { TablePositionAttribute attr = new TablePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tablePositionValue.intValue()); + attr.setValue(tablePositionValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableInsertionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableInsertionElement.java index c724e23e09..e48a82097f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableInsertionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableInsertionElement.java @@ -99,7 +99,7 @@ public void setTableAcceptanceStateAttribute(String tableAcceptanceStateValue) { public Integer getTableCountAttribute() { TableCountAttribute attr = (TableCountAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableCountAttribute.DEFAULT_VALUE); } @@ -112,7 +112,7 @@ public Integer getTableCountAttribute() { public void setTableCountAttribute(Integer tableCountValue) { TableCountAttribute attr = new TableCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableCountValue.intValue()); + attr.setValue(tableCountValue.toString()); } /** @@ -151,7 +151,7 @@ public void setTableIdAttribute(String tableIdValue) { public Integer getTablePositionAttribute() { TablePositionAttribute attr = (TablePositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -164,7 +164,7 @@ public Integer getTablePositionAttribute() { public void setTablePositionAttribute(Integer tablePositionValue) { TablePositionAttribute attr = new TablePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tablePositionValue.intValue()); + attr.setValue(tablePositionValue.toString()); } /** @@ -199,7 +199,7 @@ public void setTableRejectingChangeIdAttribute(String tableRejectingChangeIdValu public Integer getTableTableAttribute() { TableTableAttribute attr = (TableTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -212,7 +212,7 @@ public Integer getTableTableAttribute() { public void setTableTableAttribute(Integer tableTableValue) { TableTableAttribute attr = new TableTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableTableValue.intValue()); + attr.setValue(tableTableValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableIterationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableIterationElement.java index b6a19084e8..e8ffb17259 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableIterationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableIterationElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Double getTableMaximumDifferenceAttribute() { TableMaximumDifferenceAttribute attr = (TableMaximumDifferenceAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "maximum-difference"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(TableMaximumDifferenceAttribute.DEFAULT_VALUE); } @@ -83,7 +83,7 @@ public Double getTableMaximumDifferenceAttribute() { public void setTableMaximumDifferenceAttribute(Double tableMaximumDifferenceValue) { TableMaximumDifferenceAttribute attr = new TableMaximumDifferenceAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(tableMaximumDifferenceValue.doubleValue()); + attr.setValue(tableMaximumDifferenceValue.toString()); } /** @@ -118,7 +118,7 @@ public void setTableStatusAttribute(String tableStatusValue) { public Integer getTableStepsAttribute() { TableStepsAttribute attr = (TableStepsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "steps"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableStepsAttribute.DEFAULT_VALUE); } @@ -131,7 +131,7 @@ public Integer getTableStepsAttribute() { public void setTableStepsAttribute(Integer tableStepsValue) { TableStepsAttribute attr = new TableStepsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStepsValue.intValue()); + attr.setValue(tableStepsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableMovementCutOffElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableMovementCutOffElement.java index a825acdf00..0b2306508f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableMovementCutOffElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableMovementCutOffElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Integer getTableEndPositionAttribute() { TableEndPositionAttribute attr = (TableEndPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -83,7 +83,7 @@ public Integer getTableEndPositionAttribute() { public void setTableEndPositionAttribute(Integer tableEndPositionValue) { TableEndPositionAttribute attr = new TableEndPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndPositionValue.intValue()); + attr.setValue(tableEndPositionValue.toString()); } /** @@ -94,7 +94,7 @@ public void setTableEndPositionAttribute(Integer tableEndPositionValue) { public Integer getTablePositionAttribute() { TablePositionAttribute attr = (TablePositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -107,7 +107,7 @@ public Integer getTablePositionAttribute() { public void setTablePositionAttribute(Integer tablePositionValue) { TablePositionAttribute attr = new TablePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tablePositionValue.intValue()); + attr.setValue(tablePositionValue.toString()); } /** @@ -118,7 +118,7 @@ public void setTablePositionAttribute(Integer tablePositionValue) { public Integer getTableStartPositionAttribute() { TableStartPositionAttribute attr = (TableStartPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -131,7 +131,7 @@ public Integer getTableStartPositionAttribute() { public void setTableStartPositionAttribute(Integer tableStartPositionValue) { TableStartPositionAttribute attr = new TableStartPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartPositionValue.intValue()); + attr.setValue(tableStartPositionValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableOperationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableOperationElement.java index 4379c659ce..b619779e3e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableOperationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableOperationElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Integer getTableIndexAttribute() { TableIndexAttribute attr = (TableIndexAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -84,7 +84,7 @@ public Integer getTableIndexAttribute() { public void setTableIndexAttribute(Integer tableIndexValue) { TableIndexAttribute attr = new TableIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableIndexValue.intValue()); + attr.setValue(tableIndexValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableScenarioElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableScenarioElement.java index 7853b1c627..00c6dbdc72 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableScenarioElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableScenarioElement.java @@ -124,7 +124,7 @@ public void setTableCommentAttribute(String tableCommentValue) { public Boolean getTableCopyBackAttribute() { TableCopyBackAttribute attr = (TableCopyBackAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "copy-back"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableCopyBackAttribute.DEFAULT_VALUE); } @@ -137,7 +137,7 @@ public Boolean getTableCopyBackAttribute() { public void setTableCopyBackAttribute(Boolean tableCopyBackValue) { TableCopyBackAttribute attr = new TableCopyBackAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableCopyBackValue.booleanValue()); + attr.setValue(tableCopyBackValue.toString()); } /** @@ -148,7 +148,7 @@ public void setTableCopyBackAttribute(Boolean tableCopyBackValue) { public Boolean getTableCopyFormulasAttribute() { TableCopyFormulasAttribute attr = (TableCopyFormulasAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "copy-formulas"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableCopyFormulasAttribute.DEFAULT_VALUE); } @@ -161,7 +161,7 @@ public Boolean getTableCopyFormulasAttribute() { public void setTableCopyFormulasAttribute(Boolean tableCopyFormulasValue) { TableCopyFormulasAttribute attr = new TableCopyFormulasAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableCopyFormulasValue.booleanValue()); + attr.setValue(tableCopyFormulasValue.toString()); } /** @@ -172,7 +172,7 @@ public void setTableCopyFormulasAttribute(Boolean tableCopyFormulasValue) { public Boolean getTableCopyStylesAttribute() { TableCopyStylesAttribute attr = (TableCopyStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "copy-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableCopyStylesAttribute.DEFAULT_VALUE); } @@ -185,7 +185,7 @@ public Boolean getTableCopyStylesAttribute() { public void setTableCopyStylesAttribute(Boolean tableCopyStylesValue) { TableCopyStylesAttribute attr = new TableCopyStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableCopyStylesValue.booleanValue()); + attr.setValue(tableCopyStylesValue.toString()); } /** @@ -196,7 +196,7 @@ public void setTableCopyStylesAttribute(Boolean tableCopyStylesValue) { public Boolean getTableDisplayBorderAttribute() { TableDisplayBorderAttribute attr = (TableDisplayBorderAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display-border"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayBorderAttribute.DEFAULT_VALUE); } @@ -209,7 +209,7 @@ public Boolean getTableDisplayBorderAttribute() { public void setTableDisplayBorderAttribute(Boolean tableDisplayBorderValue) { TableDisplayBorderAttribute attr = new TableDisplayBorderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayBorderValue.booleanValue()); + attr.setValue(tableDisplayBorderValue.toString()); } /** @@ -222,7 +222,7 @@ public void setTableDisplayBorderAttribute(Boolean tableDisplayBorderValue) { public Boolean getTableIsActiveAttribute() { TableIsActiveAttribute attr = (TableIsActiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "is-active"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -235,7 +235,7 @@ public Boolean getTableIsActiveAttribute() { public void setTableIsActiveAttribute(Boolean tableIsActiveValue) { TableIsActiveAttribute attr = new TableIsActiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableIsActiveValue.booleanValue()); + attr.setValue(tableIsActiveValue.toString()); } /** @@ -246,7 +246,7 @@ public void setTableIsActiveAttribute(Boolean tableIsActiveValue) { public Boolean getTableProtectedAttribute() { TableProtectedAttribute attr = (TableProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -259,7 +259,7 @@ public Boolean getTableProtectedAttribute() { public void setTableProtectedAttribute(Boolean tableProtectedValue) { TableProtectedAttribute attr = new TableProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableProtectedValue.booleanValue()); + attr.setValue(tableProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSortByElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSortByElement.java index 7499b633c9..8d0d1e5f09 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSortByElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSortByElement.java @@ -96,7 +96,7 @@ public void setTableDataTypeAttribute(String tableDataTypeValue) { public Integer getTableFieldNumberAttribute() { TableFieldNumberAttribute attr = (TableFieldNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "field-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -109,7 +109,7 @@ public Integer getTableFieldNumberAttribute() { public void setTableFieldNumberAttribute(Integer tableFieldNumberValue) { TableFieldNumberAttribute attr = new TableFieldNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableFieldNumberValue.intValue()); + attr.setValue(tableFieldNumberValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java index 56d1cbfc97..22cba6fb05 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java @@ -97,7 +97,7 @@ public void setTableAlgorithmAttribute(String tableAlgorithmValue) { public Boolean getTableBindStylesToContentAttribute() { TableBindStylesToContentAttribute attr = (TableBindStylesToContentAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "bind-styles-to-content"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableBindStylesToContentAttribute.DEFAULT_VALUE); } @@ -110,7 +110,7 @@ public Boolean getTableBindStylesToContentAttribute() { public void setTableBindStylesToContentAttribute(Boolean tableBindStylesToContentValue) { TableBindStylesToContentAttribute attr = new TableBindStylesToContentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableBindStylesToContentValue.booleanValue()); + attr.setValue(tableBindStylesToContentValue.toString()); } /** @@ -121,7 +121,7 @@ public void setTableBindStylesToContentAttribute(Boolean tableBindStylesToConten public Boolean getTableCaseSensitiveAttribute() { TableCaseSensitiveAttribute attr = (TableCaseSensitiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "case-sensitive"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableCaseSensitiveAttribute.DEFAULT_VALUE_FALSE); } @@ -134,7 +134,7 @@ public Boolean getTableCaseSensitiveAttribute() { public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { TableCaseSensitiveAttribute attr = new TableCaseSensitiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableCaseSensitiveValue.booleanValue()); + attr.setValue(tableCaseSensitiveValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSourceRangeAddressElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSourceRangeAddressElement.java index 3b6f830d88..67464b9a90 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSourceRangeAddressElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSourceRangeAddressElement.java @@ -76,7 +76,7 @@ public OdfName getOdfName() { public Integer getTableColumnAttribute() { TableColumnAttribute attr = (TableColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -89,7 +89,7 @@ public Integer getTableColumnAttribute() { public void setTableColumnAttribute(Integer tableColumnValue) { TableColumnAttribute attr = new TableColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableColumnValue.intValue()); + attr.setValue(tableColumnValue.toString()); } /** @@ -100,7 +100,7 @@ public void setTableColumnAttribute(Integer tableColumnValue) { public Integer getTableEndColumnAttribute() { TableEndColumnAttribute attr = (TableEndColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -113,7 +113,7 @@ public Integer getTableEndColumnAttribute() { public void setTableEndColumnAttribute(Integer tableEndColumnValue) { TableEndColumnAttribute attr = new TableEndColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndColumnValue.intValue()); + attr.setValue(tableEndColumnValue.toString()); } /** @@ -124,7 +124,7 @@ public void setTableEndColumnAttribute(Integer tableEndColumnValue) { public Integer getTableEndRowAttribute() { TableEndRowAttribute attr = (TableEndRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -137,7 +137,7 @@ public Integer getTableEndRowAttribute() { public void setTableEndRowAttribute(Integer tableEndRowValue) { TableEndRowAttribute attr = new TableEndRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndRowValue.intValue()); + attr.setValue(tableEndRowValue.toString()); } /** @@ -148,7 +148,7 @@ public void setTableEndRowAttribute(Integer tableEndRowValue) { public Integer getTableEndTableAttribute() { TableEndTableAttribute attr = (TableEndTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -161,7 +161,7 @@ public Integer getTableEndTableAttribute() { public void setTableEndTableAttribute(Integer tableEndTableValue) { TableEndTableAttribute attr = new TableEndTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndTableValue.intValue()); + attr.setValue(tableEndTableValue.toString()); } /** @@ -172,7 +172,7 @@ public void setTableEndTableAttribute(Integer tableEndTableValue) { public Integer getTableRowAttribute() { TableRowAttribute attr = (TableRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -185,7 +185,7 @@ public Integer getTableRowAttribute() { public void setTableRowAttribute(Integer tableRowValue) { TableRowAttribute attr = new TableRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableRowValue.intValue()); + attr.setValue(tableRowValue.toString()); } /** @@ -196,7 +196,7 @@ public void setTableRowAttribute(Integer tableRowValue) { public Integer getTableStartColumnAttribute() { TableStartColumnAttribute attr = (TableStartColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -209,7 +209,7 @@ public Integer getTableStartColumnAttribute() { public void setTableStartColumnAttribute(Integer tableStartColumnValue) { TableStartColumnAttribute attr = new TableStartColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartColumnValue.intValue()); + attr.setValue(tableStartColumnValue.toString()); } /** @@ -220,7 +220,7 @@ public void setTableStartColumnAttribute(Integer tableStartColumnValue) { public Integer getTableStartRowAttribute() { TableStartRowAttribute attr = (TableStartRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -233,7 +233,7 @@ public Integer getTableStartRowAttribute() { public void setTableStartRowAttribute(Integer tableStartRowValue) { TableStartRowAttribute attr = new TableStartRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartRowValue.intValue()); + attr.setValue(tableStartRowValue.toString()); } /** @@ -244,7 +244,7 @@ public void setTableStartRowAttribute(Integer tableStartRowValue) { public Integer getTableStartTableAttribute() { TableStartTableAttribute attr = (TableStartTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -257,7 +257,7 @@ public Integer getTableStartTableAttribute() { public void setTableStartTableAttribute(Integer tableStartTableValue) { TableStartTableAttribute attr = new TableStartTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartTableValue.intValue()); + attr.setValue(tableStartTableValue.toString()); } /** @@ -268,7 +268,7 @@ public void setTableStartTableAttribute(Integer tableStartTableValue) { public Integer getTableTableAttribute() { TableTableAttribute attr = (TableTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -281,7 +281,7 @@ public Integer getTableTableAttribute() { public void setTableTableAttribute(Integer tableTableValue) { TableTableAttribute attr = new TableTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableTableValue.intValue()); + attr.setValue(tableTableValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSubtotalFieldElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSubtotalFieldElement.java index 87e7f9704d..7f605f7d0c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSubtotalFieldElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSubtotalFieldElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Integer getTableFieldNumberAttribute() { TableFieldNumberAttribute attr = (TableFieldNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "field-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -84,7 +84,7 @@ public Integer getTableFieldNumberAttribute() { public void setTableFieldNumberAttribute(Integer tableFieldNumberValue) { TableFieldNumberAttribute attr = new TableFieldNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableFieldNumberValue.intValue()); + attr.setValue(tableFieldNumberValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRuleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRuleElement.java index 3938dcb423..1d550aeb3c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRuleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRuleElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Integer getTableGroupByFieldNumberAttribute() { TableGroupByFieldNumberAttribute attr = (TableGroupByFieldNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "group-by-field-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -83,7 +83,7 @@ public Integer getTableGroupByFieldNumberAttribute() { public void setTableGroupByFieldNumberAttribute(Integer tableGroupByFieldNumberValue) { TableGroupByFieldNumberAttribute attr = new TableGroupByFieldNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableGroupByFieldNumberValue.intValue()); + attr.setValue(tableGroupByFieldNumberValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java index 9c39b5f39a..7b5a5760fc 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Boolean getTableBindStylesToContentAttribute() { TableBindStylesToContentAttribute attr = (TableBindStylesToContentAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "bind-styles-to-content"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableBindStylesToContentAttribute.DEFAULT_VALUE); } @@ -83,7 +83,7 @@ public Boolean getTableBindStylesToContentAttribute() { public void setTableBindStylesToContentAttribute(Boolean tableBindStylesToContentValue) { TableBindStylesToContentAttribute attr = new TableBindStylesToContentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableBindStylesToContentValue.booleanValue()); + attr.setValue(tableBindStylesToContentValue.toString()); } /** @@ -94,7 +94,7 @@ public void setTableBindStylesToContentAttribute(Boolean tableBindStylesToConten public Boolean getTableCaseSensitiveAttribute() { TableCaseSensitiveAttribute attr = (TableCaseSensitiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "case-sensitive"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableCaseSensitiveAttribute.DEFAULT_VALUE_FALSE); } @@ -107,7 +107,7 @@ public Boolean getTableCaseSensitiveAttribute() { public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { TableCaseSensitiveAttribute attr = new TableCaseSensitiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableCaseSensitiveValue.booleanValue()); + attr.setValue(tableCaseSensitiveValue.toString()); } /** @@ -118,7 +118,7 @@ public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { public Boolean getTablePageBreaksOnGroupChangeAttribute() { TablePageBreaksOnGroupChangeAttribute attr = (TablePageBreaksOnGroupChangeAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "page-breaks-on-group-change"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TablePageBreaksOnGroupChangeAttribute.DEFAULT_VALUE); } @@ -131,7 +131,7 @@ public Boolean getTablePageBreaksOnGroupChangeAttribute() { public void setTablePageBreaksOnGroupChangeAttribute(Boolean tablePageBreaksOnGroupChangeValue) { TablePageBreaksOnGroupChangeAttribute attr = new TablePageBreaksOnGroupChangeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tablePageBreaksOnGroupChangeValue.booleanValue()); + attr.setValue(tablePageBreaksOnGroupChangeValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTableCellElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTableCellElement.java index 216c675dce..cb8809fc3c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTableCellElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTableCellElement.java @@ -73,7 +73,7 @@ public OdfName getOdfName() { public Integer getTableNumberColumnsSpannedAttribute() { TableNumberColumnsSpannedAttribute attr = (TableNumberColumnsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-columns-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNumberColumnsSpannedAttribute.DEFAULT_VALUE); } @@ -86,7 +86,7 @@ public Integer getTableNumberColumnsSpannedAttribute() { public void setTableNumberColumnsSpannedAttribute(Integer tableNumberColumnsSpannedValue) { TableNumberColumnsSpannedAttribute attr = new TableNumberColumnsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberColumnsSpannedValue.intValue()); + attr.setValue(tableNumberColumnsSpannedValue.toString()); } /** @@ -97,7 +97,7 @@ public void setTableNumberColumnsSpannedAttribute(Integer tableNumberColumnsSpan public Integer getTableNumberMatrixColumnsSpannedAttribute() { TableNumberMatrixColumnsSpannedAttribute attr = (TableNumberMatrixColumnsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-matrix-columns-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -110,7 +110,7 @@ public Integer getTableNumberMatrixColumnsSpannedAttribute() { public void setTableNumberMatrixColumnsSpannedAttribute(Integer tableNumberMatrixColumnsSpannedValue) { TableNumberMatrixColumnsSpannedAttribute attr = new TableNumberMatrixColumnsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberMatrixColumnsSpannedValue.intValue()); + attr.setValue(tableNumberMatrixColumnsSpannedValue.toString()); } /** @@ -121,7 +121,7 @@ public void setTableNumberMatrixColumnsSpannedAttribute(Integer tableNumberMatri public Integer getTableNumberMatrixRowsSpannedAttribute() { TableNumberMatrixRowsSpannedAttribute attr = (TableNumberMatrixRowsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-matrix-rows-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -134,7 +134,7 @@ public Integer getTableNumberMatrixRowsSpannedAttribute() { public void setTableNumberMatrixRowsSpannedAttribute(Integer tableNumberMatrixRowsSpannedValue) { TableNumberMatrixRowsSpannedAttribute attr = new TableNumberMatrixRowsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberMatrixRowsSpannedValue.intValue()); + attr.setValue(tableNumberMatrixRowsSpannedValue.toString()); } /** @@ -145,7 +145,7 @@ public void setTableNumberMatrixRowsSpannedAttribute(Integer tableNumberMatrixRo public Integer getTableNumberRowsSpannedAttribute() { TableNumberRowsSpannedAttribute attr = (TableNumberRowsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-rows-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNumberRowsSpannedAttribute.DEFAULT_VALUE); } @@ -158,7 +158,7 @@ public Integer getTableNumberRowsSpannedAttribute() { public void setTableNumberRowsSpannedAttribute(Integer tableNumberRowsSpannedValue) { TableNumberRowsSpannedAttribute attr = new TableNumberRowsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberRowsSpannedValue.intValue()); + attr.setValue(tableNumberRowsSpannedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTableCellElementBase.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTableCellElementBase.java index 896cea3fcc..cf4641fda8 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTableCellElementBase.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTableCellElementBase.java @@ -110,7 +110,7 @@ public TableTableCellElementBase(OdfFileDom ownerDoc, OdfName elementName, OdfSt public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -123,7 +123,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -230,7 +230,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -243,7 +243,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** @@ -326,7 +326,7 @@ public void setTableFormulaAttribute(String tableFormulaValue) { public Integer getTableNumberColumnsRepeatedAttribute() { TableNumberColumnsRepeatedAttribute attr = (TableNumberColumnsRepeatedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-columns-repeated"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNumberColumnsRepeatedAttribute.DEFAULT_VALUE); } @@ -339,7 +339,7 @@ public Integer getTableNumberColumnsRepeatedAttribute() { public void setTableNumberColumnsRepeatedAttribute(Integer tableNumberColumnsRepeatedValue) { TableNumberColumnsRepeatedAttribute attr = new TableNumberColumnsRepeatedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberColumnsRepeatedValue.intValue()); + attr.setValue(tableNumberColumnsRepeatedValue.toString()); } /** @@ -350,7 +350,7 @@ public void setTableNumberColumnsRepeatedAttribute(Integer tableNumberColumnsRep public Boolean getTableProtectAttribute() { TableProtectAttribute attr = (TableProtectAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "protect"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableProtectAttribute.DEFAULT_VALUE); } @@ -363,7 +363,7 @@ public Boolean getTableProtectAttribute() { public void setTableProtectAttribute(Boolean tableProtectValue) { TableProtectAttribute attr = new TableProtectAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableProtectValue.booleanValue()); + attr.setValue(tableProtectValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTableColumnElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTableColumnElement.java index 27512d899a..968bc1279f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTableColumnElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTableColumnElement.java @@ -99,7 +99,7 @@ public void setTableDefaultCellStyleNameAttribute(String tableDefaultCellStyleNa public Integer getTableNumberColumnsRepeatedAttribute() { TableNumberColumnsRepeatedAttribute attr = (TableNumberColumnsRepeatedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-columns-repeated"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNumberColumnsRepeatedAttribute.DEFAULT_VALUE); } @@ -112,7 +112,7 @@ public Integer getTableNumberColumnsRepeatedAttribute() { public void setTableNumberColumnsRepeatedAttribute(Integer tableNumberColumnsRepeatedValue) { TableNumberColumnsRepeatedAttribute attr = new TableNumberColumnsRepeatedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberColumnsRepeatedValue.intValue()); + attr.setValue(tableNumberColumnsRepeatedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTableColumnGroupElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTableColumnGroupElement.java index e3af6c9ebd..4caae5cff6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTableColumnGroupElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTableColumnGroupElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTableDisplayAttribute() { TableDisplayAttribute attr = (TableDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayAttribute.DEFAULT_VALUE_TRUE); } @@ -81,7 +81,7 @@ public Boolean getTableDisplayAttribute() { public void setTableDisplayAttribute(Boolean tableDisplayValue) { TableDisplayAttribute attr = new TableDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayValue.booleanValue()); + attr.setValue(tableDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTableElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTableElement.java index 4794630d9c..0291c05c60 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTableElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTableElement.java @@ -79,7 +79,7 @@ public OdfName getOdfName() { public Boolean getTableIsSubTableAttribute() { TableIsSubTableAttribute attr = (TableIsSubTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "is-sub-table"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableIsSubTableAttribute.DEFAULT_VALUE); } @@ -92,7 +92,7 @@ public Boolean getTableIsSubTableAttribute() { public void setTableIsSubTableAttribute(Boolean tableIsSubTableValue) { TableIsSubTableAttribute attr = new TableIsSubTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableIsSubTableValue.booleanValue()); + attr.setValue(tableIsSubTableValue.toString()); } /** @@ -127,7 +127,7 @@ public void setTableNameAttribute(String tableNameValue) { public Boolean getTablePrintAttribute() { TablePrintAttribute attr = (TablePrintAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "print"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TablePrintAttribute.DEFAULT_VALUE); } @@ -140,7 +140,7 @@ public Boolean getTablePrintAttribute() { public void setTablePrintAttribute(Boolean tablePrintValue) { TablePrintAttribute attr = new TablePrintAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tablePrintValue.booleanValue()); + attr.setValue(tablePrintValue.toString()); } /** @@ -175,7 +175,7 @@ public void setTablePrintRangesAttribute(String tablePrintRangesValue) { public Boolean getTableProtectedAttribute() { TableProtectedAttribute attr = (TableProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableProtectedAttribute.DEFAULT_VALUE); } @@ -188,7 +188,7 @@ public Boolean getTableProtectedAttribute() { public void setTableProtectedAttribute(Boolean tableProtectedValue) { TableProtectedAttribute attr = new TableProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableProtectedValue.booleanValue()); + attr.setValue(tableProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTableRowElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTableRowElement.java index 4548f48647..d81d862d3e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTableRowElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTableRowElement.java @@ -99,7 +99,7 @@ public void setTableDefaultCellStyleNameAttribute(String tableDefaultCellStyleNa public Integer getTableNumberRowsRepeatedAttribute() { TableNumberRowsRepeatedAttribute attr = (TableNumberRowsRepeatedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-rows-repeated"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNumberRowsRepeatedAttribute.DEFAULT_VALUE); } @@ -112,7 +112,7 @@ public Integer getTableNumberRowsRepeatedAttribute() { public void setTableNumberRowsRepeatedAttribute(Integer tableNumberRowsRepeatedValue) { TableNumberRowsRepeatedAttribute attr = new TableNumberRowsRepeatedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberRowsRepeatedValue.intValue()); + attr.setValue(tableNumberRowsRepeatedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTableRowGroupElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTableRowGroupElement.java index 3d4a0cc2ed..4c1f3cb735 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTableRowGroupElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTableRowGroupElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Boolean getTableDisplayAttribute() { TableDisplayAttribute attr = (TableDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayAttribute.DEFAULT_VALUE_TRUE); } @@ -82,7 +82,7 @@ public Boolean getTableDisplayAttribute() { public void setTableDisplayAttribute(Boolean tableDisplayValue) { TableDisplayAttribute attr = new TableDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayValue.booleanValue()); + attr.setValue(tableDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTargetRangeAddressElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTargetRangeAddressElement.java index 7187aae03e..77777dbdb1 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTargetRangeAddressElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTargetRangeAddressElement.java @@ -76,7 +76,7 @@ public OdfName getOdfName() { public Integer getTableColumnAttribute() { TableColumnAttribute attr = (TableColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -89,7 +89,7 @@ public Integer getTableColumnAttribute() { public void setTableColumnAttribute(Integer tableColumnValue) { TableColumnAttribute attr = new TableColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableColumnValue.intValue()); + attr.setValue(tableColumnValue.toString()); } /** @@ -100,7 +100,7 @@ public void setTableColumnAttribute(Integer tableColumnValue) { public Integer getTableEndColumnAttribute() { TableEndColumnAttribute attr = (TableEndColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -113,7 +113,7 @@ public Integer getTableEndColumnAttribute() { public void setTableEndColumnAttribute(Integer tableEndColumnValue) { TableEndColumnAttribute attr = new TableEndColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndColumnValue.intValue()); + attr.setValue(tableEndColumnValue.toString()); } /** @@ -124,7 +124,7 @@ public void setTableEndColumnAttribute(Integer tableEndColumnValue) { public Integer getTableEndRowAttribute() { TableEndRowAttribute attr = (TableEndRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -137,7 +137,7 @@ public Integer getTableEndRowAttribute() { public void setTableEndRowAttribute(Integer tableEndRowValue) { TableEndRowAttribute attr = new TableEndRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndRowValue.intValue()); + attr.setValue(tableEndRowValue.toString()); } /** @@ -148,7 +148,7 @@ public void setTableEndRowAttribute(Integer tableEndRowValue) { public Integer getTableEndTableAttribute() { TableEndTableAttribute attr = (TableEndTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -161,7 +161,7 @@ public Integer getTableEndTableAttribute() { public void setTableEndTableAttribute(Integer tableEndTableValue) { TableEndTableAttribute attr = new TableEndTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndTableValue.intValue()); + attr.setValue(tableEndTableValue.toString()); } /** @@ -172,7 +172,7 @@ public void setTableEndTableAttribute(Integer tableEndTableValue) { public Integer getTableRowAttribute() { TableRowAttribute attr = (TableRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -185,7 +185,7 @@ public Integer getTableRowAttribute() { public void setTableRowAttribute(Integer tableRowValue) { TableRowAttribute attr = new TableRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableRowValue.intValue()); + attr.setValue(tableRowValue.toString()); } /** @@ -196,7 +196,7 @@ public void setTableRowAttribute(Integer tableRowValue) { public Integer getTableStartColumnAttribute() { TableStartColumnAttribute attr = (TableStartColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -209,7 +209,7 @@ public Integer getTableStartColumnAttribute() { public void setTableStartColumnAttribute(Integer tableStartColumnValue) { TableStartColumnAttribute attr = new TableStartColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartColumnValue.intValue()); + attr.setValue(tableStartColumnValue.toString()); } /** @@ -220,7 +220,7 @@ public void setTableStartColumnAttribute(Integer tableStartColumnValue) { public Integer getTableStartRowAttribute() { TableStartRowAttribute attr = (TableStartRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -233,7 +233,7 @@ public Integer getTableStartRowAttribute() { public void setTableStartRowAttribute(Integer tableStartRowValue) { TableStartRowAttribute attr = new TableStartRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartRowValue.intValue()); + attr.setValue(tableStartRowValue.toString()); } /** @@ -244,7 +244,7 @@ public void setTableStartRowAttribute(Integer tableStartRowValue) { public Integer getTableStartTableAttribute() { TableStartTableAttribute attr = (TableStartTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -257,7 +257,7 @@ public Integer getTableStartTableAttribute() { public void setTableStartTableAttribute(Integer tableStartTableValue) { TableStartTableAttribute attr = new TableStartTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartTableValue.intValue()); + attr.setValue(tableStartTableValue.toString()); } /** @@ -268,7 +268,7 @@ public void setTableStartTableAttribute(Integer tableStartTableValue) { public Integer getTableTableAttribute() { TableTableAttribute attr = (TableTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -281,7 +281,7 @@ public Integer getTableTableAttribute() { public void setTableTableAttribute(Integer tableTableValue) { TableTableAttribute attr = new TableTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableTableValue.intValue()); + attr.setValue(tableTableValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTrackedChangesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTrackedChangesElement.java index e91f551f34..ca31fe2951 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTrackedChangesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/table/TableTrackedChangesElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTableTrackChangesAttribute() { TableTrackChangesAttribute attr = (TableTrackChangesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "track-changes"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableTrackChangesAttribute.DEFAULT_VALUE); } @@ -81,7 +81,7 @@ public Boolean getTableTrackChangesAttribute() { public void setTableTrackChangesAttribute(Boolean tableTrackChangesValue) { TableTrackChangesAttribute attr = new TableTrackChangesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableTrackChangesValue.booleanValue()); + attr.setValue(tableTrackChangesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexElement.java index edcdd2b3ad..65d6ac8b7c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexElement.java @@ -99,7 +99,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -112,7 +112,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkElement.java index 958c692d60..d9078ff5e5 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkElement.java @@ -170,7 +170,7 @@ public void setTextKey2PhoneticAttribute(String textKey2PhoneticValue) { public Boolean getTextMainEntryAttribute() { TextMainEntryAttribute attr = (TextMainEntryAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "main-entry"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextMainEntryAttribute.DEFAULT_VALUE); } @@ -183,7 +183,7 @@ public Boolean getTextMainEntryAttribute() { public void setTextMainEntryAttribute(Boolean textMainEntryValue) { TextMainEntryAttribute attr = new TextMainEntryAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textMainEntryValue.booleanValue()); + attr.setValue(textMainEntryValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkStartElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkStartElement.java index 46b5469dd9..1764fe4578 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkStartElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkStartElement.java @@ -196,7 +196,7 @@ public void setTextKey2PhoneticAttribute(String textKey2PhoneticValue) { public Boolean getTextMainEntryAttribute() { TextMainEntryAttribute attr = (TextMainEntryAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "main-entry"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextMainEntryAttribute.DEFAULT_VALUE); } @@ -209,7 +209,7 @@ public Boolean getTextMainEntryAttribute() { public void setTextMainEntryAttribute(Boolean textMainEntryValue) { TextMainEntryAttribute attr = new TextMainEntryAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textMainEntryValue.booleanValue()); + attr.setValue(textMainEntryValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexSourceElement.java index 74e469c4be..16b54486e8 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexSourceElement.java @@ -129,7 +129,7 @@ public void setFoLanguageAttribute(String foLanguageValue) { public Boolean getTextAlphabeticalSeparatorsAttribute() { TextAlphabeticalSeparatorsAttribute attr = (TextAlphabeticalSeparatorsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "alphabetical-separators"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextAlphabeticalSeparatorsAttribute.DEFAULT_VALUE); } @@ -142,7 +142,7 @@ public Boolean getTextAlphabeticalSeparatorsAttribute() { public void setTextAlphabeticalSeparatorsAttribute(Boolean textAlphabeticalSeparatorsValue) { TextAlphabeticalSeparatorsAttribute attr = new TextAlphabeticalSeparatorsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textAlphabeticalSeparatorsValue.booleanValue()); + attr.setValue(textAlphabeticalSeparatorsValue.toString()); } /** @@ -153,7 +153,7 @@ public void setTextAlphabeticalSeparatorsAttribute(Boolean textAlphabeticalSepar public Boolean getTextCapitalizeEntriesAttribute() { TextCapitalizeEntriesAttribute attr = (TextCapitalizeEntriesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "capitalize-entries"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCapitalizeEntriesAttribute.DEFAULT_VALUE); } @@ -166,7 +166,7 @@ public Boolean getTextCapitalizeEntriesAttribute() { public void setTextCapitalizeEntriesAttribute(Boolean textCapitalizeEntriesValue) { TextCapitalizeEntriesAttribute attr = new TextCapitalizeEntriesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCapitalizeEntriesValue.booleanValue()); + attr.setValue(textCapitalizeEntriesValue.toString()); } /** @@ -177,7 +177,7 @@ public void setTextCapitalizeEntriesAttribute(Boolean textCapitalizeEntriesValue public Boolean getTextCombineEntriesAttribute() { TextCombineEntriesAttribute attr = (TextCombineEntriesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "combine-entries"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCombineEntriesAttribute.DEFAULT_VALUE); } @@ -190,7 +190,7 @@ public Boolean getTextCombineEntriesAttribute() { public void setTextCombineEntriesAttribute(Boolean textCombineEntriesValue) { TextCombineEntriesAttribute attr = new TextCombineEntriesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCombineEntriesValue.booleanValue()); + attr.setValue(textCombineEntriesValue.toString()); } /** @@ -201,7 +201,7 @@ public void setTextCombineEntriesAttribute(Boolean textCombineEntriesValue) { public Boolean getTextCombineEntriesWithDashAttribute() { TextCombineEntriesWithDashAttribute attr = (TextCombineEntriesWithDashAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "combine-entries-with-dash"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCombineEntriesWithDashAttribute.DEFAULT_VALUE); } @@ -214,7 +214,7 @@ public Boolean getTextCombineEntriesWithDashAttribute() { public void setTextCombineEntriesWithDashAttribute(Boolean textCombineEntriesWithDashValue) { TextCombineEntriesWithDashAttribute attr = new TextCombineEntriesWithDashAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCombineEntriesWithDashValue.booleanValue()); + attr.setValue(textCombineEntriesWithDashValue.toString()); } /** @@ -225,7 +225,7 @@ public void setTextCombineEntriesWithDashAttribute(Boolean textCombineEntriesWit public Boolean getTextCombineEntriesWithPpAttribute() { TextCombineEntriesWithPpAttribute attr = (TextCombineEntriesWithPpAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "combine-entries-with-pp"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCombineEntriesWithPpAttribute.DEFAULT_VALUE); } @@ -238,7 +238,7 @@ public Boolean getTextCombineEntriesWithPpAttribute() { public void setTextCombineEntriesWithPpAttribute(Boolean textCombineEntriesWithPpValue) { TextCombineEntriesWithPpAttribute attr = new TextCombineEntriesWithPpAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCombineEntriesWithPpValue.booleanValue()); + attr.setValue(textCombineEntriesWithPpValue.toString()); } /** @@ -249,7 +249,7 @@ public void setTextCombineEntriesWithPpAttribute(Boolean textCombineEntriesWithP public Boolean getTextCommaSeparatedAttribute() { TextCommaSeparatedAttribute attr = (TextCommaSeparatedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "comma-separated"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCommaSeparatedAttribute.DEFAULT_VALUE); } @@ -262,7 +262,7 @@ public Boolean getTextCommaSeparatedAttribute() { public void setTextCommaSeparatedAttribute(Boolean textCommaSeparatedValue) { TextCommaSeparatedAttribute attr = new TextCommaSeparatedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCommaSeparatedValue.booleanValue()); + attr.setValue(textCommaSeparatedValue.toString()); } /** @@ -273,7 +273,7 @@ public void setTextCommaSeparatedAttribute(Boolean textCommaSeparatedValue) { public Boolean getTextIgnoreCaseAttribute() { TextIgnoreCaseAttribute attr = (TextIgnoreCaseAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "ignore-case"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextIgnoreCaseAttribute.DEFAULT_VALUE); } @@ -286,7 +286,7 @@ public Boolean getTextIgnoreCaseAttribute() { public void setTextIgnoreCaseAttribute(Boolean textIgnoreCaseValue) { TextIgnoreCaseAttribute attr = new TextIgnoreCaseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textIgnoreCaseValue.booleanValue()); + attr.setValue(textIgnoreCaseValue.toString()); } /** @@ -345,7 +345,7 @@ public void setTextMainEntryStyleNameAttribute(String textMainEntryStyleNameValu public Boolean getTextRelativeTabStopPositionAttribute() { TextRelativeTabStopPositionAttribute attr = (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRelativeTabStopPositionAttribute.DEFAULT_VALUE); } @@ -358,7 +358,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopPositionValue) { TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -393,7 +393,7 @@ public void setTextSortAlgorithmAttribute(String textSortAlgorithmValue) { public Boolean getTextUseKeysAsEntriesAttribute() { TextUseKeysAsEntriesAttribute attr = (TextUseKeysAsEntriesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-keys-as-entries"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseKeysAsEntriesAttribute.DEFAULT_VALUE); } @@ -406,17 +406,17 @@ public Boolean getTextUseKeysAsEntriesAttribute() { public void setTextUseKeysAsEntriesAttribute(Boolean textUseKeysAsEntriesValue) { TextUseKeysAsEntriesAttribute attr = new TextUseKeysAsEntriesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseKeysAsEntriesValue.booleanValue()); + attr.setValue(textUseKeysAsEntriesValue.toString()); } /** * Create child element {@odf.element text:alphabetical-index-entry-template}. * - * @param textOutlineLevelValue the Integer value of TextOutlineLevelAttribute, see {@odf.attribute text:outline-level} at specification + * @param textOutlineLevelValue the String value of TextOutlineLevelAttribute, see {@odf.attribute text:outline-level} at specification * @param textStyleNameValue the String value of TextStyleNameAttribute, see {@odf.attribute text:style-name} at specification * @return the element {@odf.element text:alphabetical-index-entry-template} */ - public TextAlphabeticalIndexEntryTemplateElement newTextAlphabeticalIndexEntryTemplateElement(int textOutlineLevelValue, String textStyleNameValue) { + public TextAlphabeticalIndexEntryTemplateElement newTextAlphabeticalIndexEntryTemplateElement(String textOutlineLevelValue, String textStyleNameValue) { TextAlphabeticalIndexEntryTemplateElement textAlphabeticalIndexEntryTemplate = ((OdfFileDom) this.ownerDocument).newOdfElement(TextAlphabeticalIndexEntryTemplateElement.class); textAlphabeticalIndexEntryTemplate.setTextOutlineLevelAttribute(textOutlineLevelValue); textAlphabeticalIndexEntryTemplate.setTextStyleNameAttribute(textStyleNameValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextAuthorInitialsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextAuthorInitialsElement.java index 37fbd90c77..e156d2d8e6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextAuthorInitialsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextAuthorInitialsElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextAuthorNameElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextAuthorNameElement.java index 39f94fc131..1f2f50db96 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextAuthorNameElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextAuthorNameElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextBibliographyConfigurationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextBibliographyConfigurationElement.java index a2890309d8..197e58d8d9 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextBibliographyConfigurationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextBibliographyConfigurationElement.java @@ -122,7 +122,7 @@ public void setFoLanguageAttribute(String foLanguageValue) { public Boolean getTextNumberedEntriesAttribute() { TextNumberedEntriesAttribute attr = (TextNumberedEntriesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "numbered-entries"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextNumberedEntriesAttribute.DEFAULT_VALUE); } @@ -135,7 +135,7 @@ public Boolean getTextNumberedEntriesAttribute() { public void setTextNumberedEntriesAttribute(Boolean textNumberedEntriesValue) { TextNumberedEntriesAttribute attr = new TextNumberedEntriesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textNumberedEntriesValue.booleanValue()); + attr.setValue(textNumberedEntriesValue.toString()); } /** @@ -194,7 +194,7 @@ public void setTextSortAlgorithmAttribute(String textSortAlgorithmValue) { public Boolean getTextSortByPositionAttribute() { TextSortByPositionAttribute attr = (TextSortByPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "sort-by-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextSortByPositionAttribute.DEFAULT_VALUE); } @@ -207,7 +207,7 @@ public Boolean getTextSortByPositionAttribute() { public void setTextSortByPositionAttribute(Boolean textSortByPositionValue) { TextSortByPositionAttribute attr = new TextSortByPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textSortByPositionValue.booleanValue()); + attr.setValue(textSortByPositionValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextBibliographyElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextBibliographyElement.java index ea501cf034..8624bf7010 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextBibliographyElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextBibliographyElement.java @@ -99,7 +99,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -112,7 +112,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextChapterElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextChapterElement.java index 8ad87ff698..d7e14ae276 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextChapterElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextChapterElement.java @@ -97,7 +97,7 @@ public void setTextDisplayAttribute(String textDisplayValue) { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -110,7 +110,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextCharacterCountElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextCharacterCountElement.java index 5c4f08abfd..481e09e0e6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextCharacterCountElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextCharacterCountElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextConditionalTextElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextConditionalTextElement.java index e30c4413f9..90e15afa69 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextConditionalTextElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextConditionalTextElement.java @@ -97,7 +97,7 @@ public void setTextConditionAttribute(String textConditionValue) { public Boolean getTextCurrentValueAttribute() { TextCurrentValueAttribute attr = (TextCurrentValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "current-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -110,7 +110,7 @@ public Boolean getTextCurrentValueAttribute() { public void setTextCurrentValueAttribute(Boolean textCurrentValueValue) { TextCurrentValueAttribute attr = new TextCurrentValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCurrentValueValue.booleanValue()); + attr.setValue(textCurrentValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextCreationDateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextCreationDateElement.java index c99b33db2f..ece720b5b5 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextCreationDateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextCreationDateElement.java @@ -118,7 +118,7 @@ public void setTextDateValueAttribute(String textDateValueValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -131,7 +131,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextCreationTimeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextCreationTimeElement.java index c82fe49706..ae926f4213 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextCreationTimeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextCreationTimeElement.java @@ -94,7 +94,7 @@ public void setStyleDataStyleNameAttribute(String styleDataStyleNameValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -107,7 +107,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextCreatorElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextCreatorElement.java index a0c343436a..edafd374d6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextCreatorElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextCreatorElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowNumberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowNumberElement.java index 89f3814b94..879386a7b2 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowNumberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowNumberElement.java @@ -100,7 +100,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -113,7 +113,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -198,7 +198,7 @@ public void setTextTableTypeAttribute(String textTableTypeValue) { public Integer getTextValueAttribute() { TextValueAttribute attr = (TextValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -211,7 +211,7 @@ public Integer getTextValueAttribute() { public void setTextValueAttribute(Integer textValueValue) { TextValueAttribute attr = new TextValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textValueValue.intValue()); + attr.setValue(textValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowSelectElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowSelectElement.java index 62a980edc6..813046bcf0 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowSelectElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowSelectElement.java @@ -121,7 +121,7 @@ public void setTextDatabaseNameAttribute(String textDatabaseNameValue) { public Integer getTextRowNumberAttribute() { TextRowNumberAttribute attr = (TextRowNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "row-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -134,7 +134,7 @@ public Integer getTextRowNumberAttribute() { public void setTextRowNumberAttribute(Integer textRowNumberValue) { TextRowNumberAttribute attr = new TextRowNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textRowNumberValue.intValue()); + attr.setValue(textRowNumberValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextDateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextDateElement.java index 95882a1b06..9f36678881 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextDateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextDateElement.java @@ -143,7 +143,7 @@ public void setTextDateValueAttribute(String textDateValueValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -156,7 +156,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextDdeConnectionDeclElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextDdeConnectionDeclElement.java index 70acd1ca34..4107d5ba04 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextDdeConnectionDeclElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextDdeConnectionDeclElement.java @@ -72,7 +72,7 @@ public OdfName getOdfName() { public Boolean getOfficeAutomaticUpdateAttribute() { OfficeAutomaticUpdateAttribute attr = (OfficeAutomaticUpdateAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "automatic-update"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(OfficeAutomaticUpdateAttribute.DEFAULT_VALUE); } @@ -85,7 +85,7 @@ public Boolean getOfficeAutomaticUpdateAttribute() { public void setOfficeAutomaticUpdateAttribute(Boolean officeAutomaticUpdateValue) { OfficeAutomaticUpdateAttribute attr = new OfficeAutomaticUpdateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeAutomaticUpdateValue.booleanValue()); + attr.setValue(officeAutomaticUpdateValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextDescriptionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextDescriptionElement.java index 6c2a14c7d9..cf674c7c01 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextDescriptionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextDescriptionElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextEditingCyclesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextEditingCyclesElement.java index fb219b7158..1fd51876fa 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextEditingCyclesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextEditingCyclesElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextEditingDurationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextEditingDurationElement.java index f0478fa9e2..d7b988d6ee 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextEditingDurationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextEditingDurationElement.java @@ -118,7 +118,7 @@ public void setTextDurationAttribute(String textDurationValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -131,7 +131,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextExpressionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextExpressionElement.java index fbf9ff8773..e8e1d6bb7e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextExpressionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextExpressionElement.java @@ -77,7 +77,7 @@ public OdfName getOdfName() { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -90,7 +90,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -199,7 +199,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -212,7 +212,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextFileNameElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextFileNameElement.java index 74b36c395a..298d17d261 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextFileNameElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextFileNameElement.java @@ -93,7 +93,7 @@ public void setTextDisplayAttribute(String textDisplayValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -106,7 +106,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextHElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextHElement.java index d7c3242e9c..2cb72905ff 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextHElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextHElement.java @@ -80,7 +80,7 @@ public OdfName getOdfName() { public Boolean getTextIsListHeaderAttribute() { TextIsListHeaderAttribute attr = (TextIsListHeaderAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "is-list-header"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextIsListHeaderAttribute.DEFAULT_VALUE); } @@ -93,7 +93,7 @@ public Boolean getTextIsListHeaderAttribute() { public void setTextIsListHeaderAttribute(Boolean textIsListHeaderValue) { TextIsListHeaderAttribute attr = new TextIsListHeaderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textIsListHeaderValue.booleanValue()); + attr.setValue(textIsListHeaderValue.toString()); } /** @@ -106,7 +106,7 @@ public void setTextIsListHeaderAttribute(Boolean textIsListHeaderValue) { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -119,7 +119,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** @@ -130,7 +130,7 @@ public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { public Boolean getTextRestartNumberingAttribute() { TextRestartNumberingAttribute attr = (TextRestartNumberingAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "restart-numbering"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRestartNumberingAttribute.DEFAULT_VALUE); } @@ -143,7 +143,7 @@ public Boolean getTextRestartNumberingAttribute() { public void setTextRestartNumberingAttribute(Boolean textRestartNumberingValue) { TextRestartNumberingAttribute attr = new TextRestartNumberingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRestartNumberingValue.booleanValue()); + attr.setValue(textRestartNumberingValue.toString()); } /** @@ -154,7 +154,7 @@ public void setTextRestartNumberingAttribute(Boolean textRestartNumberingValue) public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -167,7 +167,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextHiddenParagraphElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextHiddenParagraphElement.java index c4f9ec9b21..b1260c36e7 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextHiddenParagraphElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextHiddenParagraphElement.java @@ -95,7 +95,7 @@ public void setTextConditionAttribute(String textConditionValue) { public Boolean getTextIsHiddenAttribute() { TextIsHiddenAttribute attr = (TextIsHiddenAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "is-hidden"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getTextIsHiddenAttribute() { public void setTextIsHiddenAttribute(Boolean textIsHiddenValue) { TextIsHiddenAttribute attr = new TextIsHiddenAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textIsHiddenValue.booleanValue()); + attr.setValue(textIsHiddenValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextHiddenTextElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextHiddenTextElement.java index 8de37d960a..06bbd3263a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextHiddenTextElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextHiddenTextElement.java @@ -96,7 +96,7 @@ public void setTextConditionAttribute(String textConditionValue) { public Boolean getTextIsHiddenAttribute() { TextIsHiddenAttribute attr = (TextIsHiddenAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "is-hidden"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -109,7 +109,7 @@ public Boolean getTextIsHiddenAttribute() { public void setTextIsHiddenAttribute(Boolean textIsHiddenValue) { TextIsHiddenAttribute attr = new TextIsHiddenAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textIsHiddenValue.booleanValue()); + attr.setValue(textIsHiddenValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexElement.java index 1a9c8e89f7..806227729a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexElement.java @@ -99,7 +99,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -112,7 +112,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexSourceElement.java index 1961c68918..911b1782d3 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexSourceElement.java @@ -144,7 +144,7 @@ public void setTextIndexScopeAttribute(String textIndexScopeValue) { public Boolean getTextRelativeTabStopPositionAttribute() { TextRelativeTabStopPositionAttribute attr = (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRelativeTabStopPositionAttribute.DEFAULT_VALUE); } @@ -157,7 +157,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopPositionValue) { TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -168,7 +168,7 @@ public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopP public Boolean getTextUseCaptionAttribute() { TextUseCaptionAttribute attr = (TextUseCaptionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-caption"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseCaptionAttribute.DEFAULT_VALUE); } @@ -181,7 +181,7 @@ public Boolean getTextUseCaptionAttribute() { public void setTextUseCaptionAttribute(Boolean textUseCaptionValue) { TextUseCaptionAttribute attr = new TextUseCaptionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseCaptionValue.booleanValue()); + attr.setValue(textUseCaptionValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextImageCountElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextImageCountElement.java index fc03ee6dc5..756bc5ff35 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextImageCountElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextImageCountElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextIndexSourceStylesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextIndexSourceStylesElement.java index cb8f9e0339..563179222e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextIndexSourceStylesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextIndexSourceStylesElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -83,7 +83,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextIndexTitleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextIndexTitleElement.java index 30d2ebc137..78c6897523 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextIndexTitleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextIndexTitleElement.java @@ -118,7 +118,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -131,7 +131,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextInitialCreatorElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextInitialCreatorElement.java index 2a1d9e864b..067fc39a87 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextInitialCreatorElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextInitialCreatorElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextKeywordsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextKeywordsElement.java index d07ee2501a..92771429c1 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextKeywordsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextKeywordsElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingConfigurationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingConfigurationElement.java index ca81023543..3da2438b46 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingConfigurationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingConfigurationElement.java @@ -105,7 +105,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -118,7 +118,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -129,7 +129,7 @@ public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { public Boolean getTextCountEmptyLinesAttribute() { TextCountEmptyLinesAttribute attr = (TextCountEmptyLinesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "count-empty-lines"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCountEmptyLinesAttribute.DEFAULT_VALUE); } @@ -142,7 +142,7 @@ public Boolean getTextCountEmptyLinesAttribute() { public void setTextCountEmptyLinesAttribute(Boolean textCountEmptyLinesValue) { TextCountEmptyLinesAttribute attr = new TextCountEmptyLinesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCountEmptyLinesValue.booleanValue()); + attr.setValue(textCountEmptyLinesValue.toString()); } /** @@ -153,7 +153,7 @@ public void setTextCountEmptyLinesAttribute(Boolean textCountEmptyLinesValue) { public Boolean getTextCountInTextBoxesAttribute() { TextCountInTextBoxesAttribute attr = (TextCountInTextBoxesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "count-in-text-boxes"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCountInTextBoxesAttribute.DEFAULT_VALUE); } @@ -166,7 +166,7 @@ public Boolean getTextCountInTextBoxesAttribute() { public void setTextCountInTextBoxesAttribute(Boolean textCountInTextBoxesValue) { TextCountInTextBoxesAttribute attr = new TextCountInTextBoxesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCountInTextBoxesValue.booleanValue()); + attr.setValue(textCountInTextBoxesValue.toString()); } /** @@ -177,7 +177,7 @@ public void setTextCountInTextBoxesAttribute(Boolean textCountInTextBoxesValue) public Integer getTextIncrementAttribute() { TextIncrementAttribute attr = (TextIncrementAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "increment"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -190,7 +190,7 @@ public Integer getTextIncrementAttribute() { public void setTextIncrementAttribute(Integer textIncrementValue) { TextIncrementAttribute attr = new TextIncrementAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textIncrementValue.intValue()); + attr.setValue(textIncrementValue.toString()); } /** @@ -201,7 +201,7 @@ public void setTextIncrementAttribute(Integer textIncrementValue) { public Boolean getTextNumberLinesAttribute() { TextNumberLinesAttribute attr = (TextNumberLinesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "number-lines"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextNumberLinesAttribute.DEFAULT_VALUE); } @@ -214,7 +214,7 @@ public Boolean getTextNumberLinesAttribute() { public void setTextNumberLinesAttribute(Boolean textNumberLinesValue) { TextNumberLinesAttribute attr = new TextNumberLinesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textNumberLinesValue.booleanValue()); + attr.setValue(textNumberLinesValue.toString()); } /** @@ -273,7 +273,7 @@ public void setTextOffsetAttribute(String textOffsetValue) { public Boolean getTextRestartOnPageAttribute() { TextRestartOnPageAttribute attr = (TextRestartOnPageAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "restart-on-page"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRestartOnPageAttribute.DEFAULT_VALUE); } @@ -286,7 +286,7 @@ public Boolean getTextRestartOnPageAttribute() { public void setTextRestartOnPageAttribute(Boolean textRestartOnPageValue) { TextRestartOnPageAttribute attr = new TextRestartOnPageAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRestartOnPageValue.booleanValue()); + attr.setValue(textRestartOnPageValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingSeparatorElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingSeparatorElement.java index f671c6a413..c43ae0ffe8 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingSeparatorElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingSeparatorElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Integer getTextIncrementAttribute() { TextIncrementAttribute attr = (TextIncrementAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "increment"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Integer getTextIncrementAttribute() { public void setTextIncrementAttribute(Integer textIncrementValue) { TextIncrementAttribute attr = new TextIncrementAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textIncrementValue.intValue()); + attr.setValue(textIncrementValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextListElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextListElement.java index 7f6b5b86c0..9a25ef4273 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextListElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextListElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Boolean getTextContinueNumberingAttribute() { TextContinueNumberingAttribute attr = (TextContinueNumberingAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "continue-numbering"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -82,7 +82,7 @@ public Boolean getTextContinueNumberingAttribute() { public void setTextContinueNumberingAttribute(Boolean textContinueNumberingValue) { TextContinueNumberingAttribute attr = new TextContinueNumberingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textContinueNumberingValue.booleanValue()); + attr.setValue(textContinueNumberingValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextListItemElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextListItemElement.java index d8f2ae6b4e..6b6b718143 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextListItemElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextListItemElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleElementBase.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleElementBase.java index 7535f28c8c..f101480f46 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleElementBase.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleElementBase.java @@ -62,7 +62,7 @@ public TextListLevelStyleElementBase(OdfFileDom ownerDoc, OdfName elementName) { public Integer getTextLevelAttribute() { TextLevelAttribute attr = (TextLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -75,7 +75,7 @@ public Integer getTextLevelAttribute() { public void setTextLevelAttribute(Integer textLevelValue) { TextLevelAttribute attr = new TextLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textLevelValue.intValue()); + attr.setValue(textLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleNumberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleNumberElement.java index 47ed8d9f83..9024df8b75 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleNumberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleNumberElement.java @@ -101,7 +101,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -114,7 +114,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -173,7 +173,7 @@ public void setStyleNumSuffixAttribute(String styleNumSuffixValue) { public Integer getTextDisplayLevelsAttribute() { TextDisplayLevelsAttribute attr = (TextDisplayLevelsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "display-levels"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextDisplayLevelsAttribute.DEFAULT_VALUE); } @@ -186,7 +186,7 @@ public Integer getTextDisplayLevelsAttribute() { public void setTextDisplayLevelsAttribute(Integer textDisplayLevelsValue) { TextDisplayLevelsAttribute attr = new TextDisplayLevelsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textDisplayLevelsValue.intValue()); + attr.setValue(textDisplayLevelsValue.toString()); } /** @@ -197,7 +197,7 @@ public void setTextDisplayLevelsAttribute(Integer textDisplayLevelsValue) { public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextStartValueAttribute.DEFAULT_VALUE); } @@ -210,7 +210,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextListStyleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextListStyleElement.java index 446d766796..bd7fa2e94a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextListStyleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextListStyleElement.java @@ -121,7 +121,7 @@ public void setStyleNameAttribute(String styleNameValue) { public Boolean getTextConsecutiveNumberingAttribute() { TextConsecutiveNumberingAttribute attr = (TextConsecutiveNumberingAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "consecutive-numbering"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextConsecutiveNumberingAttribute.DEFAULT_VALUE); } @@ -134,7 +134,7 @@ public Boolean getTextConsecutiveNumberingAttribute() { public void setTextConsecutiveNumberingAttribute(Boolean textConsecutiveNumberingValue) { TextConsecutiveNumberingAttribute attr = new TextConsecutiveNumberingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textConsecutiveNumberingValue.booleanValue()); + attr.setValue(textConsecutiveNumberingValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextModificationDateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextModificationDateElement.java index d0684ba324..17ae39a3c0 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextModificationDateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextModificationDateElement.java @@ -118,7 +118,7 @@ public void setTextDateValueAttribute(String textDateValueValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -131,7 +131,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextModificationTimeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextModificationTimeElement.java index e12cdc50e6..5a6556f495 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextModificationTimeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextModificationTimeElement.java @@ -94,7 +94,7 @@ public void setStyleDataStyleNameAttribute(String styleDataStyleNameValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -107,7 +107,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextNotesConfigurationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextNotesConfigurationElement.java index 447af6f2f8..b25541f3d5 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextNotesConfigurationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextNotesConfigurationElement.java @@ -105,7 +105,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -118,7 +118,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -347,7 +347,7 @@ public void setTextStartNumberingAtAttribute(String textStartNumberingAtValue) { public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextStartValueAttribute.DEFAULT_VALUE); } @@ -360,7 +360,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextNumberedParagraphElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextNumberedParagraphElement.java index 6bedac7a1c..602a69f91a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextNumberedParagraphElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextNumberedParagraphElement.java @@ -73,7 +73,7 @@ public OdfName getOdfName() { public Boolean getTextContinueNumberingAttribute() { TextContinueNumberingAttribute attr = (TextContinueNumberingAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "continue-numbering"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -86,7 +86,7 @@ public Boolean getTextContinueNumberingAttribute() { public void setTextContinueNumberingAttribute(Boolean textContinueNumberingValue) { TextContinueNumberingAttribute attr = new TextContinueNumberingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textContinueNumberingValue.booleanValue()); + attr.setValue(textContinueNumberingValue.toString()); } /** @@ -97,7 +97,7 @@ public void setTextContinueNumberingAttribute(Boolean textContinueNumberingValue public Integer getTextLevelAttribute() { TextLevelAttribute attr = (TextLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextLevelAttribute.DEFAULT_VALUE); } @@ -110,7 +110,7 @@ public Integer getTextLevelAttribute() { public void setTextLevelAttribute(Integer textLevelValue) { TextLevelAttribute attr = new TextLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textLevelValue.intValue()); + attr.setValue(textLevelValue.toString()); } /** @@ -121,7 +121,7 @@ public void setTextLevelAttribute(Integer textLevelValue) { public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -134,7 +134,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextObjectCountElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextObjectCountElement.java index 52b3ab0168..258570590f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextObjectCountElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextObjectCountElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexElement.java index b87c05e469..e1628c1954 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexElement.java @@ -99,7 +99,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -112,7 +112,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexSourceElement.java index b15cde5e3d..2455ac9cc4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexSourceElement.java @@ -98,7 +98,7 @@ public void setTextIndexScopeAttribute(String textIndexScopeValue) { public Boolean getTextRelativeTabStopPositionAttribute() { TextRelativeTabStopPositionAttribute attr = (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRelativeTabStopPositionAttribute.DEFAULT_VALUE); } @@ -111,7 +111,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopPositionValue) { TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -122,7 +122,7 @@ public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopP public Boolean getTextUseChartObjectsAttribute() { TextUseChartObjectsAttribute attr = (TextUseChartObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-chart-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseChartObjectsAttribute.DEFAULT_VALUE); } @@ -135,7 +135,7 @@ public Boolean getTextUseChartObjectsAttribute() { public void setTextUseChartObjectsAttribute(Boolean textUseChartObjectsValue) { TextUseChartObjectsAttribute attr = new TextUseChartObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseChartObjectsValue.booleanValue()); + attr.setValue(textUseChartObjectsValue.toString()); } /** @@ -146,7 +146,7 @@ public void setTextUseChartObjectsAttribute(Boolean textUseChartObjectsValue) { public Boolean getTextUseDrawObjectsAttribute() { TextUseDrawObjectsAttribute attr = (TextUseDrawObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-draw-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseDrawObjectsAttribute.DEFAULT_VALUE); } @@ -159,7 +159,7 @@ public Boolean getTextUseDrawObjectsAttribute() { public void setTextUseDrawObjectsAttribute(Boolean textUseDrawObjectsValue) { TextUseDrawObjectsAttribute attr = new TextUseDrawObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseDrawObjectsValue.booleanValue()); + attr.setValue(textUseDrawObjectsValue.toString()); } /** @@ -170,7 +170,7 @@ public void setTextUseDrawObjectsAttribute(Boolean textUseDrawObjectsValue) { public Boolean getTextUseMathObjectsAttribute() { TextUseMathObjectsAttribute attr = (TextUseMathObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-math-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseMathObjectsAttribute.DEFAULT_VALUE); } @@ -183,7 +183,7 @@ public Boolean getTextUseMathObjectsAttribute() { public void setTextUseMathObjectsAttribute(Boolean textUseMathObjectsValue) { TextUseMathObjectsAttribute attr = new TextUseMathObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseMathObjectsValue.booleanValue()); + attr.setValue(textUseMathObjectsValue.toString()); } /** @@ -194,7 +194,7 @@ public void setTextUseMathObjectsAttribute(Boolean textUseMathObjectsValue) { public Boolean getTextUseOtherObjectsAttribute() { TextUseOtherObjectsAttribute attr = (TextUseOtherObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-other-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseOtherObjectsAttribute.DEFAULT_VALUE); } @@ -207,7 +207,7 @@ public Boolean getTextUseOtherObjectsAttribute() { public void setTextUseOtherObjectsAttribute(Boolean textUseOtherObjectsValue) { TextUseOtherObjectsAttribute attr = new TextUseOtherObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseOtherObjectsValue.booleanValue()); + attr.setValue(textUseOtherObjectsValue.toString()); } /** @@ -218,7 +218,7 @@ public void setTextUseOtherObjectsAttribute(Boolean textUseOtherObjectsValue) { public Boolean getTextUseSpreadsheetObjectsAttribute() { TextUseSpreadsheetObjectsAttribute attr = (TextUseSpreadsheetObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-spreadsheet-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseSpreadsheetObjectsAttribute.DEFAULT_VALUE); } @@ -231,7 +231,7 @@ public Boolean getTextUseSpreadsheetObjectsAttribute() { public void setTextUseSpreadsheetObjectsAttribute(Boolean textUseSpreadsheetObjectsValue) { TextUseSpreadsheetObjectsAttribute attr = new TextUseSpreadsheetObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseSpreadsheetObjectsValue.booleanValue()); + attr.setValue(textUseSpreadsheetObjectsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextOutlineLevelStyleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextOutlineLevelStyleElement.java index ca88206ec0..835b635707 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextOutlineLevelStyleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextOutlineLevelStyleElement.java @@ -104,7 +104,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -117,7 +117,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -176,7 +176,7 @@ public void setStyleNumSuffixAttribute(String styleNumSuffixValue) { public Integer getTextDisplayLevelsAttribute() { TextDisplayLevelsAttribute attr = (TextDisplayLevelsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "display-levels"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextDisplayLevelsAttribute.DEFAULT_VALUE); } @@ -189,7 +189,7 @@ public Integer getTextDisplayLevelsAttribute() { public void setTextDisplayLevelsAttribute(Integer textDisplayLevelsValue) { TextDisplayLevelsAttribute attr = new TextDisplayLevelsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textDisplayLevelsValue.intValue()); + attr.setValue(textDisplayLevelsValue.toString()); } /** @@ -202,7 +202,7 @@ public void setTextDisplayLevelsAttribute(Integer textDisplayLevelsValue) { public Integer getTextLevelAttribute() { TextLevelAttribute attr = (TextLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -215,7 +215,7 @@ public Integer getTextLevelAttribute() { public void setTextLevelAttribute(Integer textLevelValue) { TextLevelAttribute attr = new TextLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textLevelValue.intValue()); + attr.setValue(textLevelValue.toString()); } /** @@ -226,7 +226,7 @@ public void setTextLevelAttribute(Integer textLevelValue) { public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextStartValueAttribute.DEFAULT_VALUE); } @@ -239,7 +239,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextPageCountElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextPageCountElement.java index 5c21de82e4..297e0de76f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextPageCountElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextPageCountElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextPageNumberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextPageNumberElement.java index 2d7364aef0..aa22b329aa 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextPageNumberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextPageNumberElement.java @@ -98,7 +98,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -111,7 +111,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -122,7 +122,7 @@ public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -135,7 +135,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** @@ -146,7 +146,7 @@ public void setTextFixedAttribute(Boolean textFixedValue) { public Integer getTextPageAdjustAttribute() { TextPageAdjustAttribute attr = (TextPageAdjustAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "page-adjust"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -159,7 +159,7 @@ public Integer getTextPageAdjustAttribute() { public void setTextPageAdjustAttribute(Integer textPageAdjustValue) { TextPageAdjustAttribute attr = new TextPageAdjustAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textPageAdjustValue.intValue()); + attr.setValue(textPageAdjustValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextPageVariableGetElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextPageVariableGetElement.java index 18e99043b7..af28ee8b02 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextPageVariableGetElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextPageVariableGetElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextPageVariableSetElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextPageVariableSetElement.java index 281155ea1a..342ded3efa 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextPageVariableSetElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextPageVariableSetElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Boolean getTextActiveAttribute() { TextActiveAttribute attr = (TextActiveAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "active"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -82,7 +82,7 @@ public Boolean getTextActiveAttribute() { public void setTextActiveAttribute(Boolean textActiveValue) { TextActiveAttribute attr = new TextActiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textActiveValue.booleanValue()); + attr.setValue(textActiveValue.toString()); } /** @@ -93,7 +93,7 @@ public void setTextActiveAttribute(Boolean textActiveValue) { public Integer getTextPageAdjustAttribute() { TextPageAdjustAttribute attr = (TextPageAdjustAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "page-adjust"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -106,7 +106,7 @@ public Integer getTextPageAdjustAttribute() { public void setTextPageAdjustAttribute(Integer textPageAdjustValue) { TextPageAdjustAttribute attr = new TextPageAdjustAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textPageAdjustValue.intValue()); + attr.setValue(textPageAdjustValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextParagraphCountElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextParagraphCountElement.java index bdd26edb96..21c3e91359 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextParagraphCountElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextParagraphCountElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextPrintDateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextPrintDateElement.java index 4b09328289..84f95742af 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextPrintDateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextPrintDateElement.java @@ -118,7 +118,7 @@ public void setTextDateValueAttribute(String textDateValueValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -131,7 +131,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextPrintTimeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextPrintTimeElement.java index 88ad7e984f..0c00d88afd 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextPrintTimeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextPrintTimeElement.java @@ -94,7 +94,7 @@ public void setStyleDataStyleNameAttribute(String styleDataStyleNameValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -107,7 +107,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextPrintedByElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextPrintedByElement.java index a12ca813a2..7abfd15f80 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextPrintedByElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextPrintedByElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSElement.java index 7b1270a4e4..03092f5de8 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Integer getTextCAttribute() { TextCAttribute attr = (TextCAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "c"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextCAttribute.DEFAULT_VALUE); } @@ -82,7 +82,7 @@ public Integer getTextCAttribute() { public void setTextCAttribute(Integer textCValue) { TextCAttribute attr = new TextCAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textCValue.intValue()); + attr.setValue(textCValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSectionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSectionElement.java index 77074caec1..76d5cdcccf 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSectionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSectionElement.java @@ -171,7 +171,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -184,7 +184,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderCityElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderCityElement.java index 4c4df241fd..ea8a331ca0 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderCityElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderCityElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderCompanyElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderCompanyElement.java index bb7a3c0717..d2d8088a67 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderCompanyElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderCompanyElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderCountryElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderCountryElement.java index 6d5f78ad96..cb6fed2024 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderCountryElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderCountryElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderEmailElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderEmailElement.java index 0db1bb6095..d34d244d17 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderEmailElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderEmailElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderFaxElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderFaxElement.java index 04647b41b6..462e1fd0b4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderFaxElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderFaxElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderFirstnameElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderFirstnameElement.java index 781be614d7..f050ba9331 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderFirstnameElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderFirstnameElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderInitialsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderInitialsElement.java index 9bd0d16788..378baf542e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderInitialsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderInitialsElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderLastnameElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderLastnameElement.java index 370da67879..a37457741f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderLastnameElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderLastnameElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderPhonePrivateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderPhonePrivateElement.java index 812891f1fb..8037e49fdc 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderPhonePrivateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderPhonePrivateElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderPhoneWorkElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderPhoneWorkElement.java index 2cad116cc8..34a944a72a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderPhoneWorkElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderPhoneWorkElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderPositionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderPositionElement.java index ad73e561c1..85cb51496a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderPositionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderPositionElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderPostalCodeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderPostalCodeElement.java index f8aebb6f11..6544bfd64a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderPostalCodeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderPostalCodeElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderStateOrProvinceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderStateOrProvinceElement.java index 4c5ffd9c05..5128f9c881 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderStateOrProvinceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderStateOrProvinceElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderStreetElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderStreetElement.java index c536a87b0b..0d70bf2168 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderStreetElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderStreetElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderTitleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderTitleElement.java index 36dce26c9c..48d5aed1c7 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderTitleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSenderTitleElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSequenceDeclElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSequenceDeclElement.java index 699f523a60..5da1e93751 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSequenceDeclElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSequenceDeclElement.java @@ -72,7 +72,7 @@ public OdfName getOdfName() { public Integer getTextDisplayOutlineLevelAttribute() { TextDisplayOutlineLevelAttribute attr = (TextDisplayOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "display-outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Integer getTextDisplayOutlineLevelAttribute() { public void setTextDisplayOutlineLevelAttribute(Integer textDisplayOutlineLevelValue) { TextDisplayOutlineLevelAttribute attr = new TextDisplayOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textDisplayOutlineLevelValue.intValue()); + attr.setValue(textDisplayOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSequenceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSequenceElement.java index d4eb24c4a8..309371ff23 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSequenceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSequenceElement.java @@ -98,7 +98,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -111,7 +111,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSortKeyElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSortKeyElement.java index fb027ac4cf..d6b789dc92 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSortKeyElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSortKeyElement.java @@ -95,7 +95,7 @@ public void setTextKeyAttribute(String textKeyValue) { public Boolean getTextSortAscendingAttribute() { TextSortAscendingAttribute attr = (TextSortAscendingAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "sort-ascending"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextSortAscendingAttribute.DEFAULT_VALUE); } @@ -108,7 +108,7 @@ public Boolean getTextSortAscendingAttribute() { public void setTextSortAscendingAttribute(Boolean textSortAscendingValue) { TextSortAscendingAttribute attr = new TextSortAscendingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textSortAscendingValue.booleanValue()); + attr.setValue(textSortAscendingValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSubjectElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSubjectElement.java index faeb6df221..d2951a4234 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSubjectElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextSubjectElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTabElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTabElement.java index 6070cb9955..c043ff42db 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTabElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTabElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Integer getTextTabRefAttribute() { TextTabRefAttribute attr = (TextTabRefAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "tab-ref"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Integer getTextTabRefAttribute() { public void setTextTabRefAttribute(Integer textTabRefValue) { TextTabRefAttribute attr = new TextTabRefAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textTabRefValue.intValue()); + attr.setValue(textTabRefValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTableCountElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTableCountElement.java index 818d5c94cb..f8503b48f7 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTableCountElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTableCountElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTableIndexElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTableIndexElement.java index fd44910e3e..4f2d726318 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTableIndexElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTableIndexElement.java @@ -99,7 +99,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -112,7 +112,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTableIndexSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTableIndexSourceElement.java index ae3c410995..06fdc385e8 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTableIndexSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTableIndexSourceElement.java @@ -144,7 +144,7 @@ public void setTextIndexScopeAttribute(String textIndexScopeValue) { public Boolean getTextRelativeTabStopPositionAttribute() { TextRelativeTabStopPositionAttribute attr = (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRelativeTabStopPositionAttribute.DEFAULT_VALUE); } @@ -157,7 +157,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopPositionValue) { TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -168,7 +168,7 @@ public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopP public Boolean getTextUseCaptionAttribute() { TextUseCaptionAttribute attr = (TextUseCaptionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-caption"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseCaptionAttribute.DEFAULT_VALUE); } @@ -181,7 +181,7 @@ public Boolean getTextUseCaptionAttribute() { public void setTextUseCaptionAttribute(Boolean textUseCaptionValue) { TextUseCaptionAttribute attr = new TextUseCaptionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseCaptionValue.booleanValue()); + attr.setValue(textUseCaptionValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentElement.java index 7b2a2c105e..3afa8e5cb4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentElement.java @@ -99,7 +99,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -112,7 +112,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentEntryTemplateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentEntryTemplateElement.java index 1bd5deae54..e362462575 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentEntryTemplateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentEntryTemplateElement.java @@ -73,7 +73,7 @@ public OdfName getOdfName() { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -86,7 +86,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentSourceElement.java index c95f103b5a..f490ac22e2 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentSourceElement.java @@ -97,7 +97,7 @@ public void setTextIndexScopeAttribute(String textIndexScopeValue) { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -110,7 +110,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** @@ -121,7 +121,7 @@ public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { public Boolean getTextRelativeTabStopPositionAttribute() { TextRelativeTabStopPositionAttribute attr = (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -134,7 +134,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopPositionValue) { TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -145,7 +145,7 @@ public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopP public Boolean getTextUseIndexMarksAttribute() { TextUseIndexMarksAttribute attr = (TextUseIndexMarksAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-index-marks"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -158,7 +158,7 @@ public Boolean getTextUseIndexMarksAttribute() { public void setTextUseIndexMarksAttribute(Boolean textUseIndexMarksValue) { TextUseIndexMarksAttribute attr = new TextUseIndexMarksAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseIndexMarksValue.booleanValue()); + attr.setValue(textUseIndexMarksValue.toString()); } /** @@ -169,7 +169,7 @@ public void setTextUseIndexMarksAttribute(Boolean textUseIndexMarksValue) { public Boolean getTextUseIndexSourceStylesAttribute() { TextUseIndexSourceStylesAttribute attr = (TextUseIndexSourceStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-index-source-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -182,7 +182,7 @@ public Boolean getTextUseIndexSourceStylesAttribute() { public void setTextUseIndexSourceStylesAttribute(Boolean textUseIndexSourceStylesValue) { TextUseIndexSourceStylesAttribute attr = new TextUseIndexSourceStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseIndexSourceStylesValue.booleanValue()); + attr.setValue(textUseIndexSourceStylesValue.toString()); } /** @@ -193,7 +193,7 @@ public void setTextUseIndexSourceStylesAttribute(Boolean textUseIndexSourceStyle public Boolean getTextUseOutlineLevelAttribute() { TextUseOutlineLevelAttribute attr = (TextUseOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseOutlineLevelAttribute.DEFAULT_VALUE); } @@ -206,7 +206,7 @@ public Boolean getTextUseOutlineLevelAttribute() { public void setTextUseOutlineLevelAttribute(Boolean textUseOutlineLevelValue) { TextUseOutlineLevelAttribute attr = new TextUseOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseOutlineLevelValue.booleanValue()); + attr.setValue(textUseOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTimeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTimeElement.java index c3bab06eef..1cd48f0140 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTimeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTimeElement.java @@ -95,7 +95,7 @@ public void setStyleDataStyleNameAttribute(String styleDataStyleNameValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTitleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTitleElement.java index 5973b87b5e..85d90f47c9 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTitleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTitleElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTocMarkElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTocMarkElement.java index a0c119566e..d08ad43a42 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTocMarkElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTocMarkElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -82,7 +82,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTocMarkStartElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTocMarkStartElement.java index 2cace77831..fcc49ae1c6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTocMarkStartElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTocMarkStartElement.java @@ -95,7 +95,7 @@ public void setTextIdAttribute(String textIdValue) { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTrackedChangesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTrackedChangesElement.java index 246833fbeb..656472f348 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTrackedChangesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextTrackedChangesElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextTrackChangesAttribute() { TextTrackChangesAttribute attr = (TextTrackChangesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "track-changes"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextTrackChangesAttribute.DEFAULT_VALUE); } @@ -81,7 +81,7 @@ public Boolean getTextTrackChangesAttribute() { public void setTextTrackChangesAttribute(Boolean textTrackChangesValue) { TextTrackChangesAttribute attr = new TextTrackChangesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textTrackChangesValue.booleanValue()); + attr.setValue(textTrackChangesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserDefinedElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserDefinedElement.java index 72a33744ec..93333c98c2 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserDefinedElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserDefinedElement.java @@ -75,7 +75,7 @@ public OdfName getOdfName() { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -88,7 +88,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -171,7 +171,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -184,7 +184,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** @@ -219,7 +219,7 @@ public void setStyleDataStyleNameAttribute(String styleDataStyleNameValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -232,7 +232,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserFieldDeclElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserFieldDeclElement.java index 922b4588b5..d73d9d77a5 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserFieldDeclElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserFieldDeclElement.java @@ -76,7 +76,7 @@ public OdfName getOdfName() { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -89,7 +89,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -198,7 +198,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -211,7 +211,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserIndexElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserIndexElement.java index e126d25094..5ec810f562 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserIndexElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserIndexElement.java @@ -99,7 +99,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -112,7 +112,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserIndexEntryTemplateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserIndexEntryTemplateElement.java index 9bf859115d..db95f02cca 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserIndexEntryTemplateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserIndexEntryTemplateElement.java @@ -73,7 +73,7 @@ public OdfName getOdfName() { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -86,7 +86,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkElement.java index 859bd424fc..cca8ed2c9d 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkElement.java @@ -96,7 +96,7 @@ public void setTextIndexNameAttribute(String textIndexNameValue) { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -109,7 +109,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkEndElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkEndElement.java index 7ed7dadd1d..392c8f055b 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkEndElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkEndElement.java @@ -95,7 +95,7 @@ public void setTextIdAttribute(String textIdValue) { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkStartElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkStartElement.java index 454d4dcca9..e858146579 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkStartElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkStartElement.java @@ -122,7 +122,7 @@ public void setTextIndexNameAttribute(String textIndexNameValue) { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -135,7 +135,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserIndexSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserIndexSourceElement.java index 6e4720220c..fc76c96b39 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserIndexSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextUserIndexSourceElement.java @@ -76,7 +76,7 @@ public OdfName getOdfName() { public Boolean getTextCopyOutlineLevelsAttribute() { TextCopyOutlineLevelsAttribute attr = (TextCopyOutlineLevelsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "copy-outline-levels"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCopyOutlineLevelsAttribute.DEFAULT_VALUE); } @@ -89,7 +89,7 @@ public Boolean getTextCopyOutlineLevelsAttribute() { public void setTextCopyOutlineLevelsAttribute(Boolean textCopyOutlineLevelsValue) { TextCopyOutlineLevelsAttribute attr = new TextCopyOutlineLevelsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCopyOutlineLevelsValue.booleanValue()); + attr.setValue(textCopyOutlineLevelsValue.toString()); } /** @@ -150,7 +150,7 @@ public void setTextIndexScopeAttribute(String textIndexScopeValue) { public Boolean getTextRelativeTabStopPositionAttribute() { TextRelativeTabStopPositionAttribute attr = (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRelativeTabStopPositionAttribute.DEFAULT_VALUE); } @@ -163,7 +163,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopPositionValue) { TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -174,7 +174,7 @@ public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopP public Boolean getTextUseFloatingFramesAttribute() { TextUseFloatingFramesAttribute attr = (TextUseFloatingFramesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-floating-frames"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseFloatingFramesAttribute.DEFAULT_VALUE); } @@ -187,7 +187,7 @@ public Boolean getTextUseFloatingFramesAttribute() { public void setTextUseFloatingFramesAttribute(Boolean textUseFloatingFramesValue) { TextUseFloatingFramesAttribute attr = new TextUseFloatingFramesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseFloatingFramesValue.booleanValue()); + attr.setValue(textUseFloatingFramesValue.toString()); } /** @@ -198,7 +198,7 @@ public void setTextUseFloatingFramesAttribute(Boolean textUseFloatingFramesValue public Boolean getTextUseGraphicsAttribute() { TextUseGraphicsAttribute attr = (TextUseGraphicsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-graphics"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseGraphicsAttribute.DEFAULT_VALUE); } @@ -211,7 +211,7 @@ public Boolean getTextUseGraphicsAttribute() { public void setTextUseGraphicsAttribute(Boolean textUseGraphicsValue) { TextUseGraphicsAttribute attr = new TextUseGraphicsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseGraphicsValue.booleanValue()); + attr.setValue(textUseGraphicsValue.toString()); } /** @@ -222,7 +222,7 @@ public void setTextUseGraphicsAttribute(Boolean textUseGraphicsValue) { public Boolean getTextUseIndexMarksAttribute() { TextUseIndexMarksAttribute attr = (TextUseIndexMarksAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-index-marks"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseIndexMarksAttribute.DEFAULT_VALUE); } @@ -235,7 +235,7 @@ public Boolean getTextUseIndexMarksAttribute() { public void setTextUseIndexMarksAttribute(Boolean textUseIndexMarksValue) { TextUseIndexMarksAttribute attr = new TextUseIndexMarksAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseIndexMarksValue.booleanValue()); + attr.setValue(textUseIndexMarksValue.toString()); } /** @@ -246,7 +246,7 @@ public void setTextUseIndexMarksAttribute(Boolean textUseIndexMarksValue) { public Boolean getTextUseObjectsAttribute() { TextUseObjectsAttribute attr = (TextUseObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseObjectsAttribute.DEFAULT_VALUE); } @@ -259,7 +259,7 @@ public Boolean getTextUseObjectsAttribute() { public void setTextUseObjectsAttribute(Boolean textUseObjectsValue) { TextUseObjectsAttribute attr = new TextUseObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseObjectsValue.booleanValue()); + attr.setValue(textUseObjectsValue.toString()); } /** @@ -270,7 +270,7 @@ public void setTextUseObjectsAttribute(Boolean textUseObjectsValue) { public Boolean getTextUseTablesAttribute() { TextUseTablesAttribute attr = (TextUseTablesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-tables"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseTablesAttribute.DEFAULT_VALUE); } @@ -283,7 +283,7 @@ public Boolean getTextUseTablesAttribute() { public void setTextUseTablesAttribute(Boolean textUseTablesValue) { TextUseTablesAttribute attr = new TextUseTablesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseTablesValue.booleanValue()); + attr.setValue(textUseTablesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextVariableSetElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextVariableSetElement.java index 31a47a0434..de1cd1ee8e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextVariableSetElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextVariableSetElement.java @@ -78,7 +78,7 @@ public OdfName getOdfName() { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -91,7 +91,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -200,7 +200,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -213,7 +213,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextWordCountElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextWordCountElement.java index 0dc81a7f46..db7322220e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextWordCountElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.1/org/odftoolkit/odfdom/dom/element/text/TextWordCountElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateColorElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateColorElement.java index 2a84ec776d..f3e3c94b51 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateColorElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateColorElement.java @@ -288,7 +288,7 @@ public void setSmilAttributeNameAttribute(String smilAttributeNameValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -301,7 +301,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateElement.java index 602f182677..9dd35c08ae 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateElement.java @@ -238,7 +238,7 @@ public void setSmilAttributeNameAttribute(String smilAttributeNameValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -251,7 +251,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateMotionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateMotionElement.java index d5a27ba554..f0a14ddf58 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateMotionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateMotionElement.java @@ -240,7 +240,7 @@ public void setSmilAttributeNameAttribute(String smilAttributeNameValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -253,7 +253,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateTransformElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateTransformElement.java index 653a8d6046..b0e7daddc3 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateTransformElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateTransformElement.java @@ -236,7 +236,7 @@ public void setSmilAttributeNameAttribute(String smilAttributeNameValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -249,7 +249,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimAudioElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimAudioElement.java index 3c91227743..844a64c67e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimAudioElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimAudioElement.java @@ -86,7 +86,7 @@ public OdfName getOdfName() { public Double getAnimAudioLevelAttribute() { AnimAudioLevelAttribute attr = (AnimAudioLevelAttribute) getOdfAttribute(OdfDocumentNamespace.ANIM, "audio-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -99,7 +99,7 @@ public Double getAnimAudioLevelAttribute() { public void setAnimAudioLevelAttribute(Double animAudioLevelValue) { AnimAudioLevelAttribute attr = new AnimAudioLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(animAudioLevelValue.doubleValue()); + attr.setValue(animAudioLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimIterateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimIterateElement.java index d0d2b36ae6..f2182c1c34 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimIterateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimIterateElement.java @@ -356,7 +356,7 @@ public void setSmilAccelerateAttribute(String smilAccelerateValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -369,7 +369,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimParElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimParElement.java index 32b36f5e24..2d06756ea4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimParElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimParElement.java @@ -280,7 +280,7 @@ public void setSmilAccelerateAttribute(String smilAccelerateValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -293,7 +293,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimSeqElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimSeqElement.java index bd0cee13dd..8fa0987062 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimSeqElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimSeqElement.java @@ -280,7 +280,7 @@ public void setSmilAccelerateAttribute(String smilAccelerateValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -293,7 +293,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimSetElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimSetElement.java index 7b8cb64194..d5bfd57145 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimSetElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimSetElement.java @@ -207,7 +207,7 @@ public void setSmilAttributeNameAttribute(String smilAttributeNameValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -220,7 +220,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimTransitionFilterElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimTransitionFilterElement.java index a8fd888b15..813ad758fe 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimTransitionFilterElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/anim/AnimTransitionFilterElement.java @@ -214,7 +214,7 @@ public void setSmilAdditiveAttribute(String smilAdditiveValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -227,7 +227,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/chart/ChartDataPointElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/chart/ChartDataPointElement.java index f03d05030c..82188899ee 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/chart/ChartDataPointElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/chart/ChartDataPointElement.java @@ -72,7 +72,7 @@ public OdfName getOdfName() { public Integer getChartRepeatedAttribute() { ChartRepeatedAttribute attr = (ChartRepeatedAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "repeated"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Integer getChartRepeatedAttribute() { public void setChartRepeatedAttribute(Integer chartRepeatedValue) { ChartRepeatedAttribute attr = new ChartRepeatedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(chartRepeatedValue.intValue()); + attr.setValue(chartRepeatedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/chart/ChartEquationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/chart/ChartEquationElement.java index fdcaba2f21..e04c3bb46b 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/chart/ChartEquationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/chart/ChartEquationElement.java @@ -74,7 +74,7 @@ public OdfName getOdfName() { public Boolean getChartAutomaticContentAttribute() { ChartAutomaticContentAttribute attr = (ChartAutomaticContentAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "automatic-content"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(ChartAutomaticContentAttribute.DEFAULT_VALUE); } @@ -87,7 +87,7 @@ public Boolean getChartAutomaticContentAttribute() { public void setChartAutomaticContentAttribute(Boolean chartAutomaticContentValue) { ChartAutomaticContentAttribute attr = new ChartAutomaticContentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartAutomaticContentValue.booleanValue()); + attr.setValue(chartAutomaticContentValue.toString()); } /** @@ -98,7 +98,7 @@ public void setChartAutomaticContentAttribute(Boolean chartAutomaticContentValue public Boolean getChartDisplayEquationAttribute() { ChartDisplayEquationAttribute attr = (ChartDisplayEquationAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "display-equation"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(ChartDisplayEquationAttribute.DEFAULT_VALUE); } @@ -111,7 +111,7 @@ public Boolean getChartDisplayEquationAttribute() { public void setChartDisplayEquationAttribute(Boolean chartDisplayEquationValue) { ChartDisplayEquationAttribute attr = new ChartDisplayEquationAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartDisplayEquationValue.booleanValue()); + attr.setValue(chartDisplayEquationValue.toString()); } /** @@ -122,7 +122,7 @@ public void setChartDisplayEquationAttribute(Boolean chartDisplayEquationValue) public Boolean getChartDisplayRSquareAttribute() { ChartDisplayRSquareAttribute attr = (ChartDisplayRSquareAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "display-r-square"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(ChartDisplayRSquareAttribute.DEFAULT_VALUE); } @@ -135,7 +135,7 @@ public Boolean getChartDisplayRSquareAttribute() { public void setChartDisplayRSquareAttribute(Boolean chartDisplayRSquareValue) { ChartDisplayRSquareAttribute attr = new ChartDisplayRSquareAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartDisplayRSquareValue.booleanValue()); + attr.setValue(chartDisplayRSquareValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/chart/ChartLegendElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/chart/ChartLegendElement.java index c8240a96ca..572a015f5f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/chart/ChartLegendElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/chart/ChartLegendElement.java @@ -177,7 +177,7 @@ public void setStyleLegendExpansionAttribute(String styleLegendExpansionValue) { public Double getStyleLegendExpansionAspectRatioAttribute() { StyleLegendExpansionAspectRatioAttribute attr = (StyleLegendExpansionAspectRatioAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "legend-expansion-aspect-ratio"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -190,7 +190,7 @@ public Double getStyleLegendExpansionAspectRatioAttribute() { public void setStyleLegendExpansionAspectRatioAttribute(Double styleLegendExpansionAspectRatioValue) { StyleLegendExpansionAspectRatioAttribute attr = new StyleLegendExpansionAspectRatioAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(styleLegendExpansionAspectRatioValue.doubleValue()); + attr.setValue(styleLegendExpansionAspectRatioValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java index 54dc229c90..8fce9835cb 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java @@ -209,7 +209,7 @@ public void setDr3dFocalLengthAttribute(String dr3dFocalLengthValue) { public Boolean getDr3dLightingModeAttribute() { Dr3dLightingModeAttribute attr = (Dr3dLightingModeAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "lighting-mode"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -222,7 +222,7 @@ public Boolean getDr3dLightingModeAttribute() { public void setDr3dLightingModeAttribute(Boolean dr3dLightingModeValue) { Dr3dLightingModeAttribute attr = new Dr3dLightingModeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dr3dLightingModeValue.booleanValue()); + attr.setValue(dr3dLightingModeValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbApplicationConnectionSettingsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbApplicationConnectionSettingsElement.java index ab89910a67..8aec13db86 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbApplicationConnectionSettingsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbApplicationConnectionSettingsElement.java @@ -75,7 +75,7 @@ public OdfName getOdfName() { public Boolean getDbAppendTableAliasNameAttribute() { DbAppendTableAliasNameAttribute attr = (DbAppendTableAliasNameAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "append-table-alias-name"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbAppendTableAliasNameAttribute.DEFAULT_VALUE); } @@ -88,7 +88,7 @@ public Boolean getDbAppendTableAliasNameAttribute() { public void setDbAppendTableAliasNameAttribute(Boolean dbAppendTableAliasNameValue) { DbAppendTableAliasNameAttribute attr = new DbAppendTableAliasNameAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbAppendTableAliasNameValue.booleanValue()); + attr.setValue(dbAppendTableAliasNameValue.toString()); } /** @@ -123,7 +123,7 @@ public void setDbBooleanComparisonModeAttribute(String dbBooleanComparisonModeVa public Boolean getDbEnableSql92CheckAttribute() { DbEnableSql92CheckAttribute attr = (DbEnableSql92CheckAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "enable-sql92-check"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbEnableSql92CheckAttribute.DEFAULT_VALUE); } @@ -136,7 +136,7 @@ public Boolean getDbEnableSql92CheckAttribute() { public void setDbEnableSql92CheckAttribute(Boolean dbEnableSql92CheckValue) { DbEnableSql92CheckAttribute attr = new DbEnableSql92CheckAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbEnableSql92CheckValue.booleanValue()); + attr.setValue(dbEnableSql92CheckValue.toString()); } /** @@ -147,7 +147,7 @@ public void setDbEnableSql92CheckAttribute(Boolean dbEnableSql92CheckValue) { public Boolean getDbIgnoreDriverPrivilegesAttribute() { DbIgnoreDriverPrivilegesAttribute attr = (DbIgnoreDriverPrivilegesAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "ignore-driver-privileges"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbIgnoreDriverPrivilegesAttribute.DEFAULT_VALUE); } @@ -160,7 +160,7 @@ public Boolean getDbIgnoreDriverPrivilegesAttribute() { public void setDbIgnoreDriverPrivilegesAttribute(Boolean dbIgnoreDriverPrivilegesValue) { DbIgnoreDriverPrivilegesAttribute attr = new DbIgnoreDriverPrivilegesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIgnoreDriverPrivilegesValue.booleanValue()); + attr.setValue(dbIgnoreDriverPrivilegesValue.toString()); } /** @@ -171,7 +171,7 @@ public void setDbIgnoreDriverPrivilegesAttribute(Boolean dbIgnoreDriverPrivilege public Boolean getDbIsTableNameLengthLimitedAttribute() { DbIsTableNameLengthLimitedAttribute attr = (DbIsTableNameLengthLimitedAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "is-table-name-length-limited"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbIsTableNameLengthLimitedAttribute.DEFAULT_VALUE); } @@ -184,7 +184,7 @@ public Boolean getDbIsTableNameLengthLimitedAttribute() { public void setDbIsTableNameLengthLimitedAttribute(Boolean dbIsTableNameLengthLimitedValue) { DbIsTableNameLengthLimitedAttribute attr = new DbIsTableNameLengthLimitedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIsTableNameLengthLimitedValue.booleanValue()); + attr.setValue(dbIsTableNameLengthLimitedValue.toString()); } /** @@ -195,7 +195,7 @@ public void setDbIsTableNameLengthLimitedAttribute(Boolean dbIsTableNameLengthLi public Integer getDbMaxRowCountAttribute() { DbMaxRowCountAttribute attr = (DbMaxRowCountAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "max-row-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -208,7 +208,7 @@ public Integer getDbMaxRowCountAttribute() { public void setDbMaxRowCountAttribute(Integer dbMaxRowCountValue) { DbMaxRowCountAttribute attr = new DbMaxRowCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(dbMaxRowCountValue.intValue()); + attr.setValue(dbMaxRowCountValue.toString()); } /** @@ -219,7 +219,7 @@ public void setDbMaxRowCountAttribute(Integer dbMaxRowCountValue) { public Boolean getDbSuppressVersionColumnsAttribute() { DbSuppressVersionColumnsAttribute attr = (DbSuppressVersionColumnsAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "suppress-version-columns"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbSuppressVersionColumnsAttribute.DEFAULT_VALUE); } @@ -232,7 +232,7 @@ public Boolean getDbSuppressVersionColumnsAttribute() { public void setDbSuppressVersionColumnsAttribute(Boolean dbSuppressVersionColumnsValue) { DbSuppressVersionColumnsAttribute attr = new DbSuppressVersionColumnsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbSuppressVersionColumnsValue.booleanValue()); + attr.setValue(dbSuppressVersionColumnsValue.toString()); } /** @@ -243,7 +243,7 @@ public void setDbSuppressVersionColumnsAttribute(Boolean dbSuppressVersionColumn public Boolean getDbUseCatalogAttribute() { DbUseCatalogAttribute attr = (DbUseCatalogAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "use-catalog"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbUseCatalogAttribute.DEFAULT_VALUE); } @@ -256,7 +256,7 @@ public Boolean getDbUseCatalogAttribute() { public void setDbUseCatalogAttribute(Boolean dbUseCatalogValue) { DbUseCatalogAttribute attr = new DbUseCatalogAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbUseCatalogValue.booleanValue()); + attr.setValue(dbUseCatalogValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbColumnDefinitionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbColumnDefinitionElement.java index 9eb774c41f..16c5a68e7e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbColumnDefinitionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbColumnDefinitionElement.java @@ -106,7 +106,7 @@ public void setDbDataTypeAttribute(String dbDataTypeValue) { public Boolean getDbIsAutoincrementAttribute() { DbIsAutoincrementAttribute attr = (DbIsAutoincrementAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "is-autoincrement"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -119,7 +119,7 @@ public Boolean getDbIsAutoincrementAttribute() { public void setDbIsAutoincrementAttribute(Boolean dbIsAutoincrementValue) { DbIsAutoincrementAttribute attr = new DbIsAutoincrementAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIsAutoincrementValue.booleanValue()); + attr.setValue(dbIsAutoincrementValue.toString()); } /** @@ -130,7 +130,7 @@ public void setDbIsAutoincrementAttribute(Boolean dbIsAutoincrementValue) { public Boolean getDbIsEmptyAllowedAttribute() { DbIsEmptyAllowedAttribute attr = (DbIsEmptyAllowedAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "is-empty-allowed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -143,7 +143,7 @@ public Boolean getDbIsEmptyAllowedAttribute() { public void setDbIsEmptyAllowedAttribute(Boolean dbIsEmptyAllowedValue) { DbIsEmptyAllowedAttribute attr = new DbIsEmptyAllowedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIsEmptyAllowedValue.booleanValue()); + attr.setValue(dbIsEmptyAllowedValue.toString()); } /** @@ -204,7 +204,7 @@ public void setDbNameAttribute(String dbNameValue) { public Integer getDbPrecisionAttribute() { DbPrecisionAttribute attr = (DbPrecisionAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "precision"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -217,7 +217,7 @@ public Integer getDbPrecisionAttribute() { public void setDbPrecisionAttribute(Integer dbPrecisionValue) { DbPrecisionAttribute attr = new DbPrecisionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(dbPrecisionValue.intValue()); + attr.setValue(dbPrecisionValue.toString()); } /** @@ -228,7 +228,7 @@ public void setDbPrecisionAttribute(Integer dbPrecisionValue) { public Integer getDbScaleAttribute() { DbScaleAttribute attr = (DbScaleAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "scale"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -241,7 +241,7 @@ public Integer getDbScaleAttribute() { public void setDbScaleAttribute(Integer dbScaleValue) { DbScaleAttribute attr = new DbScaleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(dbScaleValue.intValue()); + attr.setValue(dbScaleValue.toString()); } /** @@ -276,7 +276,7 @@ public void setDbTypeNameAttribute(String dbTypeNameValue) { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -289,7 +289,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -398,7 +398,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -411,7 +411,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbColumnElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbColumnElement.java index 3da7fbf6fd..c5f445cba4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbColumnElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbColumnElement.java @@ -202,7 +202,7 @@ public void setDbTitleAttribute(String dbTitleValue) { public Boolean getDbVisibleAttribute() { DbVisibleAttribute attr = (DbVisibleAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "visible"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbVisibleAttribute.DEFAULT_VALUE); } @@ -215,7 +215,7 @@ public Boolean getDbVisibleAttribute() { public void setDbVisibleAttribute(Boolean dbVisibleValue) { DbVisibleAttribute attr = new DbVisibleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbVisibleValue.booleanValue()); + attr.setValue(dbVisibleValue.toString()); } /** @@ -226,7 +226,7 @@ public void setDbVisibleAttribute(Boolean dbVisibleValue) { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -239,7 +239,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -348,7 +348,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -361,7 +361,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbComponentElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbComponentElement.java index 6489bae7ac..aa80428786 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbComponentElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbComponentElement.java @@ -77,7 +77,7 @@ public OdfName getOdfName() { public Boolean getDbAsTemplateAttribute() { DbAsTemplateAttribute attr = (DbAsTemplateAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "as-template"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -90,7 +90,7 @@ public Boolean getDbAsTemplateAttribute() { public void setDbAsTemplateAttribute(Boolean dbAsTemplateValue) { DbAsTemplateAttribute attr = new DbAsTemplateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbAsTemplateValue.booleanValue()); + attr.setValue(dbAsTemplateValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbDataSourceSettingElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbDataSourceSettingElement.java index fc879db6a9..9697cac3ee 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbDataSourceSettingElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbDataSourceSettingElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Boolean getDbDataSourceSettingIsListAttribute() { DbDataSourceSettingIsListAttribute attr = (DbDataSourceSettingIsListAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "data-source-setting-is-list"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -83,7 +83,7 @@ public Boolean getDbDataSourceSettingIsListAttribute() { public void setDbDataSourceSettingIsListAttribute(Boolean dbDataSourceSettingIsListValue) { DbDataSourceSettingIsListAttribute attr = new DbDataSourceSettingIsListAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbDataSourceSettingIsListValue.booleanValue()); + attr.setValue(dbDataSourceSettingIsListValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbDriverSettingsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbDriverSettingsElement.java index c1f3f5f438..41e9a3df97 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbDriverSettingsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbDriverSettingsElement.java @@ -96,7 +96,7 @@ public void setDbBaseDnAttribute(String dbBaseDnValue) { public Boolean getDbIsFirstRowHeaderLineAttribute() { DbIsFirstRowHeaderLineAttribute attr = (DbIsFirstRowHeaderLineAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "is-first-row-header-line"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbIsFirstRowHeaderLineAttribute.DEFAULT_VALUE); } @@ -109,7 +109,7 @@ public Boolean getDbIsFirstRowHeaderLineAttribute() { public void setDbIsFirstRowHeaderLineAttribute(Boolean dbIsFirstRowHeaderLineValue) { DbIsFirstRowHeaderLineAttribute attr = new DbIsFirstRowHeaderLineAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIsFirstRowHeaderLineValue.booleanValue()); + attr.setValue(dbIsFirstRowHeaderLineValue.toString()); } /** @@ -120,7 +120,7 @@ public void setDbIsFirstRowHeaderLineAttribute(Boolean dbIsFirstRowHeaderLineVal public Boolean getDbParameterNameSubstitutionAttribute() { DbParameterNameSubstitutionAttribute attr = (DbParameterNameSubstitutionAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "parameter-name-substitution"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbParameterNameSubstitutionAttribute.DEFAULT_VALUE); } @@ -133,7 +133,7 @@ public Boolean getDbParameterNameSubstitutionAttribute() { public void setDbParameterNameSubstitutionAttribute(Boolean dbParameterNameSubstitutionValue) { DbParameterNameSubstitutionAttribute attr = new DbParameterNameSubstitutionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbParameterNameSubstitutionValue.booleanValue()); + attr.setValue(dbParameterNameSubstitutionValue.toString()); } /** @@ -144,7 +144,7 @@ public void setDbParameterNameSubstitutionAttribute(Boolean dbParameterNameSubst public Boolean getDbShowDeletedAttribute() { DbShowDeletedAttribute attr = (DbShowDeletedAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "show-deleted"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbShowDeletedAttribute.DEFAULT_VALUE); } @@ -157,7 +157,7 @@ public Boolean getDbShowDeletedAttribute() { public void setDbShowDeletedAttribute(Boolean dbShowDeletedValue) { DbShowDeletedAttribute attr = new DbShowDeletedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbShowDeletedValue.booleanValue()); + attr.setValue(dbShowDeletedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbFilterStatementElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbFilterStatementElement.java index 0daf0cae4c..3b388a46a2 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbFilterStatementElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbFilterStatementElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Boolean getDbApplyCommandAttribute() { DbApplyCommandAttribute attr = (DbApplyCommandAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "apply-command"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbApplyCommandAttribute.DEFAULT_VALUE); } @@ -82,7 +82,7 @@ public Boolean getDbApplyCommandAttribute() { public void setDbApplyCommandAttribute(Boolean dbApplyCommandValue) { DbApplyCommandAttribute attr = new DbApplyCommandAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbApplyCommandValue.booleanValue()); + attr.setValue(dbApplyCommandValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbIndexColumnElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbIndexColumnElement.java index 5e5e4c155a..12066c10f2 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbIndexColumnElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbIndexColumnElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Boolean getDbIsAscendingAttribute() { DbIsAscendingAttribute attr = (DbIsAscendingAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "is-ascending"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -82,7 +82,7 @@ public Boolean getDbIsAscendingAttribute() { public void setDbIsAscendingAttribute(Boolean dbIsAscendingValue) { DbIsAscendingAttribute attr = new DbIsAscendingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIsAscendingValue.booleanValue()); + attr.setValue(dbIsAscendingValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbIndexElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbIndexElement.java index 929efe12dc..db17903624 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbIndexElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbIndexElement.java @@ -95,7 +95,7 @@ public void setDbCatalogNameAttribute(String dbCatalogNameValue) { public Boolean getDbIsClusteredAttribute() { DbIsClusteredAttribute attr = (DbIsClusteredAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "is-clustered"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getDbIsClusteredAttribute() { public void setDbIsClusteredAttribute(Boolean dbIsClusteredValue) { DbIsClusteredAttribute attr = new DbIsClusteredAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIsClusteredValue.booleanValue()); + attr.setValue(dbIsClusteredValue.toString()); } /** @@ -119,7 +119,7 @@ public void setDbIsClusteredAttribute(Boolean dbIsClusteredValue) { public Boolean getDbIsUniqueAttribute() { DbIsUniqueAttribute attr = (DbIsUniqueAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "is-unique"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -132,7 +132,7 @@ public Boolean getDbIsUniqueAttribute() { public void setDbIsUniqueAttribute(Boolean dbIsUniqueValue) { DbIsUniqueAttribute attr = new DbIsUniqueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIsUniqueValue.booleanValue()); + attr.setValue(dbIsUniqueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbLoginElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbLoginElement.java index 4241578903..37b74c8203 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbLoginElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbLoginElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Boolean getDbIsPasswordRequiredAttribute() { DbIsPasswordRequiredAttribute attr = (DbIsPasswordRequiredAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "is-password-required"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbIsPasswordRequiredAttribute.DEFAULT_VALUE); } @@ -84,7 +84,7 @@ public Boolean getDbIsPasswordRequiredAttribute() { public void setDbIsPasswordRequiredAttribute(Boolean dbIsPasswordRequiredValue) { DbIsPasswordRequiredAttribute attr = new DbIsPasswordRequiredAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIsPasswordRequiredValue.booleanValue()); + attr.setValue(dbIsPasswordRequiredValue.toString()); } /** @@ -95,7 +95,7 @@ public void setDbIsPasswordRequiredAttribute(Boolean dbIsPasswordRequiredValue) public Integer getDbLoginTimeoutAttribute() { DbLoginTimeoutAttribute attr = (DbLoginTimeoutAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "login-timeout"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Integer getDbLoginTimeoutAttribute() { public void setDbLoginTimeoutAttribute(Integer dbLoginTimeoutValue) { DbLoginTimeoutAttribute attr = new DbLoginTimeoutAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(dbLoginTimeoutValue.intValue()); + attr.setValue(dbLoginTimeoutValue.toString()); } /** @@ -119,7 +119,7 @@ public void setDbLoginTimeoutAttribute(Integer dbLoginTimeoutValue) { public Boolean getDbUseSystemUserAttribute() { DbUseSystemUserAttribute attr = (DbUseSystemUserAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "use-system-user"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -132,7 +132,7 @@ public Boolean getDbUseSystemUserAttribute() { public void setDbUseSystemUserAttribute(Boolean dbUseSystemUserValue) { DbUseSystemUserAttribute attr = new DbUseSystemUserAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbUseSystemUserValue.booleanValue()); + attr.setValue(dbUseSystemUserValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbOrderStatementElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbOrderStatementElement.java index b452d000b4..bc8600f825 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbOrderStatementElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbOrderStatementElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Boolean getDbApplyCommandAttribute() { DbApplyCommandAttribute attr = (DbApplyCommandAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "apply-command"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbApplyCommandAttribute.DEFAULT_VALUE); } @@ -82,7 +82,7 @@ public Boolean getDbApplyCommandAttribute() { public void setDbApplyCommandAttribute(Boolean dbApplyCommandValue) { DbApplyCommandAttribute attr = new DbApplyCommandAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbApplyCommandValue.booleanValue()); + attr.setValue(dbApplyCommandValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbQueryElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbQueryElement.java index 90fc0e6a7b..bf06738007 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbQueryElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbQueryElement.java @@ -148,7 +148,7 @@ public void setDbDescriptionAttribute(String dbDescriptionValue) { public Boolean getDbEscapeProcessingAttribute() { DbEscapeProcessingAttribute attr = (DbEscapeProcessingAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "escape-processing"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbEscapeProcessingAttribute.DEFAULT_VALUE); } @@ -161,7 +161,7 @@ public Boolean getDbEscapeProcessingAttribute() { public void setDbEscapeProcessingAttribute(Boolean dbEscapeProcessingValue) { DbEscapeProcessingAttribute attr = new DbEscapeProcessingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbEscapeProcessingValue.booleanValue()); + attr.setValue(dbEscapeProcessingValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbServerDatabaseElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbServerDatabaseElement.java index 8acd06e17c..eb8999d509 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbServerDatabaseElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbServerDatabaseElement.java @@ -144,7 +144,7 @@ public void setDbLocalSocketAttribute(String dbLocalSocketValue) { public Integer getDbPortAttribute() { DbPortAttribute attr = (DbPortAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "port"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -157,7 +157,7 @@ public Integer getDbPortAttribute() { public void setDbPortAttribute(Integer dbPortValue) { DbPortAttribute attr = new DbPortAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(dbPortValue.intValue()); + attr.setValue(dbPortValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbTableSettingElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbTableSettingElement.java index 92d57dd90a..ca91ea0aa6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbTableSettingElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/db/DbTableSettingElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Boolean getDbIsFirstRowHeaderLineAttribute() { DbIsFirstRowHeaderLineAttribute attr = (DbIsFirstRowHeaderLineAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "is-first-row-header-line"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbIsFirstRowHeaderLineAttribute.DEFAULT_VALUE); } @@ -82,7 +82,7 @@ public Boolean getDbIsFirstRowHeaderLineAttribute() { public void setDbIsFirstRowHeaderLineAttribute(Boolean dbIsFirstRowHeaderLineValue) { DbIsFirstRowHeaderLineAttribute attr = new DbIsFirstRowHeaderLineAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIsFirstRowHeaderLineValue.booleanValue()); + attr.setValue(dbIsFirstRowHeaderLineValue.toString()); } /** @@ -93,7 +93,7 @@ public void setDbIsFirstRowHeaderLineAttribute(Boolean dbIsFirstRowHeaderLineVal public Boolean getDbShowDeletedAttribute() { DbShowDeletedAttribute attr = (DbShowDeletedAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "show-deleted"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbShowDeletedAttribute.DEFAULT_VALUE); } @@ -106,7 +106,7 @@ public Boolean getDbShowDeletedAttribute() { public void setDbShowDeletedAttribute(Boolean dbShowDeletedValue) { DbShowDeletedAttribute attr = new DbShowDeletedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbShowDeletedValue.booleanValue()); + attr.setValue(dbShowDeletedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dCubeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dCubeElement.java index f8c9cab8c5..e38b25bd8e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dCubeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dCubeElement.java @@ -248,7 +248,7 @@ public void setDrawStyleNameAttribute(String drawStyleNameValue) { public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -261,7 +261,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dExtrudeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dExtrudeElement.java index 5cd38cb371..24ed9a58a2 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dExtrudeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dExtrudeElement.java @@ -200,7 +200,7 @@ public void setDrawStyleNameAttribute(String drawStyleNameValue) { public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -213,7 +213,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** @@ -300,7 +300,7 @@ public void setSvgDAttribute(String svgDValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -313,7 +313,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dLightElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dLightElement.java index 802be504de..782a1d4d6f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dLightElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dLightElement.java @@ -121,7 +121,7 @@ public void setDr3dDirectionAttribute(String dr3dDirectionValue) { public Boolean getDr3dEnabledAttribute() { Dr3dEnabledAttribute attr = (Dr3dEnabledAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "enabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -134,7 +134,7 @@ public Boolean getDr3dEnabledAttribute() { public void setDr3dEnabledAttribute(Boolean dr3dEnabledValue) { Dr3dEnabledAttribute attr = new Dr3dEnabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dr3dEnabledValue.booleanValue()); + attr.setValue(dr3dEnabledValue.toString()); } /** @@ -145,7 +145,7 @@ public void setDr3dEnabledAttribute(Boolean dr3dEnabledValue) { public Boolean getDr3dSpecularAttribute() { Dr3dSpecularAttribute attr = (Dr3dSpecularAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "specular"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -158,7 +158,7 @@ public Boolean getDr3dSpecularAttribute() { public void setDr3dSpecularAttribute(Boolean dr3dSpecularValue) { Dr3dSpecularAttribute attr = new Dr3dSpecularAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dr3dSpecularValue.booleanValue()); + attr.setValue(dr3dSpecularValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dRotateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dRotateElement.java index 3b886b776e..51d601323b 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dRotateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dRotateElement.java @@ -200,7 +200,7 @@ public void setDrawStyleNameAttribute(String drawStyleNameValue) { public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -213,7 +213,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** @@ -300,7 +300,7 @@ public void setSvgDAttribute(String svgDValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -313,7 +313,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSceneElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSceneElement.java index 03aa81c467..62a9de0fb6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSceneElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSceneElement.java @@ -174,7 +174,7 @@ public void setDr3dFocalLengthAttribute(String dr3dFocalLengthValue) { public Boolean getDr3dLightingModeAttribute() { Dr3dLightingModeAttribute attr = (Dr3dLightingModeAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "lighting-mode"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -187,7 +187,7 @@ public Boolean getDr3dLightingModeAttribute() { public void setDr3dLightingModeAttribute(Boolean dr3dLightingModeValue) { Dr3dLightingModeAttribute attr = new Dr3dLightingModeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dr3dLightingModeValue.booleanValue()); + attr.setValue(dr3dLightingModeValue.toString()); } /** @@ -486,7 +486,7 @@ public void setDrawStyleNameAttribute(String drawStyleNameValue) { public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -499,7 +499,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** @@ -726,7 +726,7 @@ public void setTableEndYAttribute(String tableEndYValue) { public Boolean getTableTableBackgroundAttribute() { TableTableBackgroundAttribute attr = (TableTableBackgroundAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table-background"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -739,7 +739,7 @@ public Boolean getTableTableBackgroundAttribute() { public void setTableTableBackgroundAttribute(Boolean tableTableBackgroundValue) { TableTableBackgroundAttribute attr = new TableTableBackgroundAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableTableBackgroundValue.booleanValue()); + attr.setValue(tableTableBackgroundValue.toString()); } /** @@ -750,7 +750,7 @@ public void setTableTableBackgroundAttribute(Boolean tableTableBackgroundValue) public Integer getTextAnchorPageNumberAttribute() { TextAnchorPageNumberAttribute attr = (TextAnchorPageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "anchor-page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -763,7 +763,7 @@ public Integer getTextAnchorPageNumberAttribute() { public void setTextAnchorPageNumberAttribute(Integer textAnchorPageNumberValue) { TextAnchorPageNumberAttribute attr = new TextAnchorPageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textAnchorPageNumberValue.intValue()); + attr.setValue(textAnchorPageNumberValue.toString()); } /** @@ -894,14 +894,14 @@ public Dr3dSphereElement newDr3dSphereElement() { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * Child element was added in ODF 1.2 * * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSphereElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSphereElement.java index 45745c599b..6824fb2633 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSphereElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSphereElement.java @@ -248,7 +248,7 @@ public void setDrawStyleNameAttribute(String drawStyleNameValue) { public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -261,7 +261,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawAElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawAElement.java index 2b27ec0112..68fbfd547c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawAElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawAElement.java @@ -101,7 +101,7 @@ public void setOfficeNameAttribute(String officeNameValue) { public Boolean getOfficeServerMapAttribute() { OfficeServerMapAttribute attr = (OfficeServerMapAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "server-map"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(OfficeServerMapAttribute.DEFAULT_VALUE); } @@ -114,7 +114,7 @@ public Boolean getOfficeServerMapAttribute() { public void setOfficeServerMapAttribute(Boolean officeServerMapValue) { OfficeServerMapAttribute attr = new OfficeServerMapAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeServerMapValue.booleanValue()); + attr.setValue(officeServerMapValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawAppletElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawAppletElement.java index e8edb3cb86..8efb324096 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawAppletElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawAppletElement.java @@ -124,7 +124,7 @@ public void setDrawCodeAttribute(String drawCodeValue) { public Boolean getDrawMayScriptAttribute() { DrawMayScriptAttribute attr = (DrawMayScriptAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "may-script"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawMayScriptAttribute.DEFAULT_VALUE); } @@ -137,7 +137,7 @@ public Boolean getDrawMayScriptAttribute() { public void setDrawMayScriptAttribute(Boolean drawMayScriptValue) { DrawMayScriptAttribute attr = new DrawMayScriptAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawMayScriptValue.booleanValue()); + attr.setValue(drawMayScriptValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawAreaPolygonElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawAreaPolygonElement.java index 3f6bfbf2ec..0e9ac975c3 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawAreaPolygonElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawAreaPolygonElement.java @@ -208,7 +208,7 @@ public void setSvgHeightAttribute(String svgHeightValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -221,7 +221,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawCaptionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawCaptionElement.java index 1c481e0d61..5722ecc62c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawCaptionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawCaptionElement.java @@ -345,12 +345,12 @@ public void setSvgYAttribute(String svgYValue) { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawCircleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawCircleElement.java index 2f79c45c28..96db78be35 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawCircleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawCircleElement.java @@ -420,12 +420,12 @@ public void setSvgYAttribute(String svgYValue) { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawConnectorElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawConnectorElement.java index 307c49e52b..55d13c6fec 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawConnectorElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawConnectorElement.java @@ -114,7 +114,7 @@ public void setDrawCaptionIdAttribute(String drawCaptionIdValue) { public Integer getDrawEndGluePointAttribute() { DrawEndGluePointAttribute attr = (DrawEndGluePointAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "end-glue-point"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -127,7 +127,7 @@ public Integer getDrawEndGluePointAttribute() { public void setDrawEndGluePointAttribute(Integer drawEndGluePointValue) { DrawEndGluePointAttribute attr = new DrawEndGluePointAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawEndGluePointValue.intValue()); + attr.setValue(drawEndGluePointValue.toString()); } /** @@ -210,7 +210,7 @@ public void setDrawLineSkewAttribute(String drawLineSkewValue) { public Integer getDrawStartGluePointAttribute() { DrawStartGluePointAttribute attr = (DrawStartGluePointAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "start-glue-point"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -223,7 +223,7 @@ public Integer getDrawStartGluePointAttribute() { public void setDrawStartGluePointAttribute(Integer drawStartGluePointValue) { DrawStartGluePointAttribute attr = new DrawStartGluePointAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawStartGluePointValue.intValue()); + attr.setValue(drawStartGluePointValue.toString()); } /** @@ -356,7 +356,7 @@ public void setSvgDAttribute(String svgDValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -369,7 +369,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** @@ -472,12 +472,12 @@ public void setSvgY2Attribute(String svgY2Value) { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawContourPathElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawContourPathElement.java index d91b7c36b0..a6fb48e28f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawContourPathElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawContourPathElement.java @@ -74,7 +74,7 @@ public OdfName getOdfName() { public Boolean getDrawRecreateOnEditAttribute() { DrawRecreateOnEditAttribute attr = (DrawRecreateOnEditAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "recreate-on-edit"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -87,7 +87,7 @@ public Boolean getDrawRecreateOnEditAttribute() { public void setDrawRecreateOnEditAttribute(Boolean drawRecreateOnEditValue) { DrawRecreateOnEditAttribute attr = new DrawRecreateOnEditAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawRecreateOnEditValue.booleanValue()); + attr.setValue(drawRecreateOnEditValue.toString()); } /** @@ -150,7 +150,7 @@ public void setSvgHeightAttribute(String svgHeightValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -163,7 +163,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawContourPolygonElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawContourPolygonElement.java index cbd3f97129..7c04abbc88 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawContourPolygonElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawContourPolygonElement.java @@ -100,7 +100,7 @@ public void setDrawPointsAttribute(String drawPointsValue) { public Boolean getDrawRecreateOnEditAttribute() { DrawRecreateOnEditAttribute attr = (DrawRecreateOnEditAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "recreate-on-edit"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -113,7 +113,7 @@ public Boolean getDrawRecreateOnEditAttribute() { public void setDrawRecreateOnEditAttribute(Boolean drawRecreateOnEditValue) { DrawRecreateOnEditAttribute attr = new DrawRecreateOnEditAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawRecreateOnEditValue.booleanValue()); + attr.setValue(drawRecreateOnEditValue.toString()); } /** @@ -150,7 +150,7 @@ public void setSvgHeightAttribute(String svgHeightValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -163,7 +163,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawControlElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawControlElement.java index b1486c6b96..54f9e88a86 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawControlElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawControlElement.java @@ -294,12 +294,12 @@ public void setSvgYAttribute(String svgYValue) { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawCustomShapeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawCustomShapeElement.java index c5c10bdbfa..56757d6a9b 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawCustomShapeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawCustomShapeElement.java @@ -331,12 +331,12 @@ public DrawEnhancedGeometryElement newDrawEnhancedGeometryElement() { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawEllipseElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawEllipseElement.java index c4d67266d9..4209d75657 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawEllipseElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawEllipseElement.java @@ -445,12 +445,12 @@ public void setSvgYAttribute(String svgYValue) { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawEnhancedGeometryElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawEnhancedGeometryElement.java index 1a5c0d7848..391a53be2c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawEnhancedGeometryElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawEnhancedGeometryElement.java @@ -158,7 +158,7 @@ public void setDr3dShadeModeAttribute(String dr3dShadeModeValue) { public Boolean getDrawConcentricGradientFillAllowedAttribute() { DrawConcentricGradientFillAllowedAttribute attr = (DrawConcentricGradientFillAllowedAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "concentric-gradient-fill-allowed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawConcentricGradientFillAllowedAttribute.DEFAULT_VALUE); } @@ -171,7 +171,7 @@ public Boolean getDrawConcentricGradientFillAllowedAttribute() { public void setDrawConcentricGradientFillAllowedAttribute(Boolean drawConcentricGradientFillAllowedValue) { DrawConcentricGradientFillAllowedAttribute attr = new DrawConcentricGradientFillAllowedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawConcentricGradientFillAllowedValue.booleanValue()); + attr.setValue(drawConcentricGradientFillAllowedValue.toString()); } /** @@ -206,7 +206,7 @@ public void setDrawEnhancedPathAttribute(String drawEnhancedPathValue) { public Boolean getDrawExtrusionAttribute() { DrawExtrusionAttribute attr = (DrawExtrusionAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionAttribute.DEFAULT_VALUE); } @@ -219,7 +219,7 @@ public Boolean getDrawExtrusionAttribute() { public void setDrawExtrusionAttribute(Boolean drawExtrusionValue) { DrawExtrusionAttribute attr = new DrawExtrusionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionValue.booleanValue()); + attr.setValue(drawExtrusionValue.toString()); } /** @@ -230,7 +230,7 @@ public void setDrawExtrusionAttribute(Boolean drawExtrusionValue) { public Boolean getDrawExtrusionAllowedAttribute() { DrawExtrusionAllowedAttribute attr = (DrawExtrusionAllowedAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-allowed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionAllowedAttribute.DEFAULT_VALUE); } @@ -243,7 +243,7 @@ public Boolean getDrawExtrusionAllowedAttribute() { public void setDrawExtrusionAllowedAttribute(Boolean drawExtrusionAllowedValue) { DrawExtrusionAllowedAttribute attr = new DrawExtrusionAllowedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionAllowedValue.booleanValue()); + attr.setValue(drawExtrusionAllowedValue.toString()); } /** @@ -278,7 +278,7 @@ public void setDrawExtrusionBrightnessAttribute(String drawExtrusionBrightnessVa public Boolean getDrawExtrusionColorAttribute() { DrawExtrusionColorAttribute attr = (DrawExtrusionColorAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-color"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionColorAttribute.DEFAULT_VALUE); } @@ -291,7 +291,7 @@ public Boolean getDrawExtrusionColorAttribute() { public void setDrawExtrusionColorAttribute(Boolean drawExtrusionColorValue) { DrawExtrusionColorAttribute attr = new DrawExtrusionColorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionColorValue.booleanValue()); + attr.setValue(drawExtrusionColorValue.toString()); } /** @@ -374,7 +374,7 @@ public void setDrawExtrusionFirstLightDirectionAttribute(String drawExtrusionFir public Boolean getDrawExtrusionFirstLightHarshAttribute() { DrawExtrusionFirstLightHarshAttribute attr = (DrawExtrusionFirstLightHarshAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-first-light-harsh"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionFirstLightHarshAttribute.DEFAULT_VALUE); } @@ -387,7 +387,7 @@ public Boolean getDrawExtrusionFirstLightHarshAttribute() { public void setDrawExtrusionFirstLightHarshAttribute(Boolean drawExtrusionFirstLightHarshValue) { DrawExtrusionFirstLightHarshAttribute attr = new DrawExtrusionFirstLightHarshAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionFirstLightHarshValue.booleanValue()); + attr.setValue(drawExtrusionFirstLightHarshValue.toString()); } /** @@ -422,7 +422,7 @@ public void setDrawExtrusionFirstLightLevelAttribute(String drawExtrusionFirstLi public Boolean getDrawExtrusionLightFaceAttribute() { DrawExtrusionLightFaceAttribute attr = (DrawExtrusionLightFaceAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-light-face"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionLightFaceAttribute.DEFAULT_VALUE); } @@ -435,7 +435,7 @@ public Boolean getDrawExtrusionLightFaceAttribute() { public void setDrawExtrusionLightFaceAttribute(Boolean drawExtrusionLightFaceValue) { DrawExtrusionLightFaceAttribute attr = new DrawExtrusionLightFaceAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionLightFaceValue.booleanValue()); + attr.setValue(drawExtrusionLightFaceValue.toString()); } /** @@ -446,7 +446,7 @@ public void setDrawExtrusionLightFaceAttribute(Boolean drawExtrusionLightFaceVal public Boolean getDrawExtrusionMetalAttribute() { DrawExtrusionMetalAttribute attr = (DrawExtrusionMetalAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-metal"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionMetalAttribute.DEFAULT_VALUE); } @@ -459,7 +459,7 @@ public Boolean getDrawExtrusionMetalAttribute() { public void setDrawExtrusionMetalAttribute(Boolean drawExtrusionMetalValue) { DrawExtrusionMetalAttribute attr = new DrawExtrusionMetalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionMetalValue.booleanValue()); + attr.setValue(drawExtrusionMetalValue.toString()); } /** @@ -470,7 +470,7 @@ public void setDrawExtrusionMetalAttribute(Boolean drawExtrusionMetalValue) { public Integer getDrawExtrusionNumberOfLineSegmentsAttribute() { DrawExtrusionNumberOfLineSegmentsAttribute attr = (DrawExtrusionNumberOfLineSegmentsAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-number-of-line-segments"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(DrawExtrusionNumberOfLineSegmentsAttribute.DEFAULT_VALUE); } @@ -483,7 +483,7 @@ public Integer getDrawExtrusionNumberOfLineSegmentsAttribute() { public void setDrawExtrusionNumberOfLineSegmentsAttribute(Integer drawExtrusionNumberOfLineSegmentsValue) { DrawExtrusionNumberOfLineSegmentsAttribute attr = new DrawExtrusionNumberOfLineSegmentsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawExtrusionNumberOfLineSegmentsValue.intValue()); + attr.setValue(drawExtrusionNumberOfLineSegmentsValue.toString()); } /** @@ -494,7 +494,7 @@ public void setDrawExtrusionNumberOfLineSegmentsAttribute(Integer drawExtrusionN public Double getDrawExtrusionOriginAttribute() { DrawExtrusionOriginAttribute attr = (DrawExtrusionOriginAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-origin"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(DrawExtrusionOriginAttribute.DEFAULT_VALUE); } @@ -507,7 +507,7 @@ public Double getDrawExtrusionOriginAttribute() { public void setDrawExtrusionOriginAttribute(Double drawExtrusionOriginValue) { DrawExtrusionOriginAttribute attr = new DrawExtrusionOriginAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(drawExtrusionOriginValue.doubleValue()); + attr.setValue(drawExtrusionOriginValue.toString()); } /** @@ -590,7 +590,7 @@ public void setDrawExtrusionSecondLightDirectionAttribute(String drawExtrusionSe public Boolean getDrawExtrusionSecondLightHarshAttribute() { DrawExtrusionSecondLightHarshAttribute attr = (DrawExtrusionSecondLightHarshAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-second-light-harsh"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionSecondLightHarshAttribute.DEFAULT_VALUE); } @@ -603,7 +603,7 @@ public Boolean getDrawExtrusionSecondLightHarshAttribute() { public void setDrawExtrusionSecondLightHarshAttribute(Boolean drawExtrusionSecondLightHarshValue) { DrawExtrusionSecondLightHarshAttribute attr = new DrawExtrusionSecondLightHarshAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionSecondLightHarshValue.booleanValue()); + attr.setValue(drawExtrusionSecondLightHarshValue.toString()); } /** @@ -806,7 +806,7 @@ public void setDrawGluePointsAttribute(String drawGluePointsValue) { public Boolean getDrawMirrorHorizontalAttribute() { DrawMirrorHorizontalAttribute attr = (DrawMirrorHorizontalAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "mirror-horizontal"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawMirrorHorizontalAttribute.DEFAULT_VALUE); } @@ -819,7 +819,7 @@ public Boolean getDrawMirrorHorizontalAttribute() { public void setDrawMirrorHorizontalAttribute(Boolean drawMirrorHorizontalValue) { DrawMirrorHorizontalAttribute attr = new DrawMirrorHorizontalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawMirrorHorizontalValue.booleanValue()); + attr.setValue(drawMirrorHorizontalValue.toString()); } /** @@ -830,7 +830,7 @@ public void setDrawMirrorHorizontalAttribute(Boolean drawMirrorHorizontalValue) public Boolean getDrawMirrorVerticalAttribute() { DrawMirrorVerticalAttribute attr = (DrawMirrorVerticalAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "mirror-vertical"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawMirrorVerticalAttribute.DEFAULT_VALUE); } @@ -843,7 +843,7 @@ public Boolean getDrawMirrorVerticalAttribute() { public void setDrawMirrorVerticalAttribute(Boolean drawMirrorVerticalValue) { DrawMirrorVerticalAttribute attr = new DrawMirrorVerticalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawMirrorVerticalValue.booleanValue()); + attr.setValue(drawMirrorVerticalValue.toString()); } /** @@ -878,7 +878,7 @@ public void setDrawModifiersAttribute(String drawModifiersValue) { public Double getDrawPathStretchpointXAttribute() { DrawPathStretchpointXAttribute attr = (DrawPathStretchpointXAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "path-stretchpoint-x"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -891,7 +891,7 @@ public Double getDrawPathStretchpointXAttribute() { public void setDrawPathStretchpointXAttribute(Double drawPathStretchpointXValue) { DrawPathStretchpointXAttribute attr = new DrawPathStretchpointXAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(drawPathStretchpointXValue.doubleValue()); + attr.setValue(drawPathStretchpointXValue.toString()); } /** @@ -902,7 +902,7 @@ public void setDrawPathStretchpointXAttribute(Double drawPathStretchpointXValue) public Double getDrawPathStretchpointYAttribute() { DrawPathStretchpointYAttribute attr = (DrawPathStretchpointYAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "path-stretchpoint-y"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -915,7 +915,7 @@ public Double getDrawPathStretchpointYAttribute() { public void setDrawPathStretchpointYAttribute(Double drawPathStretchpointYValue) { DrawPathStretchpointYAttribute attr = new DrawPathStretchpointYAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(drawPathStretchpointYValue.doubleValue()); + attr.setValue(drawPathStretchpointYValue.toString()); } /** @@ -950,7 +950,7 @@ public void setDrawTextAreasAttribute(String drawTextAreasValue) { public Boolean getDrawTextPathAttribute() { DrawTextPathAttribute attr = (DrawTextPathAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "text-path"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawTextPathAttribute.DEFAULT_VALUE); } @@ -963,7 +963,7 @@ public Boolean getDrawTextPathAttribute() { public void setDrawTextPathAttribute(Boolean drawTextPathValue) { DrawTextPathAttribute attr = new DrawTextPathAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawTextPathValue.booleanValue()); + attr.setValue(drawTextPathValue.toString()); } /** @@ -974,7 +974,7 @@ public void setDrawTextPathAttribute(Boolean drawTextPathValue) { public Boolean getDrawTextPathAllowedAttribute() { DrawTextPathAllowedAttribute attr = (DrawTextPathAllowedAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "text-path-allowed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawTextPathAllowedAttribute.DEFAULT_VALUE); } @@ -987,7 +987,7 @@ public Boolean getDrawTextPathAllowedAttribute() { public void setDrawTextPathAllowedAttribute(Boolean drawTextPathAllowedValue) { DrawTextPathAllowedAttribute attr = new DrawTextPathAllowedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawTextPathAllowedValue.booleanValue()); + attr.setValue(drawTextPathAllowedValue.toString()); } /** @@ -1022,7 +1022,7 @@ public void setDrawTextPathModeAttribute(String drawTextPathModeValue) { public Boolean getDrawTextPathSameLetterHeightsAttribute() { DrawTextPathSameLetterHeightsAttribute attr = (DrawTextPathSameLetterHeightsAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "text-path-same-letter-heights"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawTextPathSameLetterHeightsAttribute.DEFAULT_VALUE); } @@ -1035,7 +1035,7 @@ public Boolean getDrawTextPathSameLetterHeightsAttribute() { public void setDrawTextPathSameLetterHeightsAttribute(Boolean drawTextPathSameLetterHeightsValue) { DrawTextPathSameLetterHeightsAttribute attr = new DrawTextPathSameLetterHeightsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawTextPathSameLetterHeightsValue.booleanValue()); + attr.setValue(drawTextPathSameLetterHeightsValue.toString()); } /** @@ -1118,7 +1118,7 @@ public void setDrawTypeAttribute(String drawTypeValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1131,7 +1131,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawFrameElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawFrameElement.java index 3109885c17..7a1564fd1e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawFrameElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawFrameElement.java @@ -231,7 +231,7 @@ public void setPresentationClassAttribute(String presentationClassValue) { public Boolean getPresentationPlaceholderAttribute() { PresentationPlaceholderAttribute attr = (PresentationPlaceholderAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "placeholder"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -244,7 +244,7 @@ public Boolean getPresentationPlaceholderAttribute() { public void setPresentationPlaceholderAttribute(Boolean presentationPlaceholderValue) { PresentationPlaceholderAttribute attr = new PresentationPlaceholderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationPlaceholderValue.booleanValue()); + attr.setValue(presentationPlaceholderValue.toString()); } /** @@ -255,7 +255,7 @@ public void setPresentationPlaceholderAttribute(Boolean presentationPlaceholderV public Boolean getPresentationUserTransformedAttribute() { PresentationUserTransformedAttribute attr = (PresentationUserTransformedAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "user-transformed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -268,7 +268,7 @@ public Boolean getPresentationUserTransformedAttribute() { public void setPresentationUserTransformedAttribute(Boolean presentationUserTransformedValue) { PresentationUserTransformedAttribute attr = new PresentationUserTransformedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationUserTransformedValue.booleanValue()); + attr.setValue(presentationUserTransformedValue.toString()); } /** @@ -479,12 +479,12 @@ public DrawFloatingFrameElement newDrawFloatingFrameElement(String xlinkHrefValu * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawGElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawGElement.java index 09c5389101..c97784f61e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawGElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawGElement.java @@ -239,12 +239,12 @@ public DrawGElement newDrawGElement() { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java index d9868042b2..c35766de39 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java @@ -124,7 +124,7 @@ public void setDrawEscapeDirectionAttribute(String drawEscapeDirectionValue) { public Integer getDrawIdAttribute() { DrawIdAttribute attr = (DrawIdAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "id"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -137,7 +137,7 @@ public Integer getDrawIdAttribute() { public void setDrawIdAttribute(Integer drawIdValue) { DrawIdAttribute attr = new DrawIdAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawIdValue.intValue()); + attr.setValue(drawIdValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawHandleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawHandleElement.java index 9abb21d9f0..834cb2886d 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawHandleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawHandleElement.java @@ -78,7 +78,7 @@ public OdfName getOdfName() { public Boolean getDrawHandleMirrorHorizontalAttribute() { DrawHandleMirrorHorizontalAttribute attr = (DrawHandleMirrorHorizontalAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "handle-mirror-horizontal"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawHandleMirrorHorizontalAttribute.DEFAULT_VALUE); } @@ -91,7 +91,7 @@ public Boolean getDrawHandleMirrorHorizontalAttribute() { public void setDrawHandleMirrorHorizontalAttribute(Boolean drawHandleMirrorHorizontalValue) { DrawHandleMirrorHorizontalAttribute attr = new DrawHandleMirrorHorizontalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawHandleMirrorHorizontalValue.booleanValue()); + attr.setValue(drawHandleMirrorHorizontalValue.toString()); } /** @@ -102,7 +102,7 @@ public void setDrawHandleMirrorHorizontalAttribute(Boolean drawHandleMirrorHoriz public Boolean getDrawHandleMirrorVerticalAttribute() { DrawHandleMirrorVerticalAttribute attr = (DrawHandleMirrorVerticalAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "handle-mirror-vertical"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawHandleMirrorVerticalAttribute.DEFAULT_VALUE); } @@ -115,7 +115,7 @@ public Boolean getDrawHandleMirrorVerticalAttribute() { public void setDrawHandleMirrorVerticalAttribute(Boolean drawHandleMirrorVerticalValue) { DrawHandleMirrorVerticalAttribute attr = new DrawHandleMirrorVerticalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawHandleMirrorVerticalValue.booleanValue()); + attr.setValue(drawHandleMirrorVerticalValue.toString()); } /** @@ -320,7 +320,7 @@ public void setDrawHandleRangeYMinimumAttribute(String drawHandleRangeYMinimumVa public Boolean getDrawHandleSwitchedAttribute() { DrawHandleSwitchedAttribute attr = (DrawHandleSwitchedAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "handle-switched"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawHandleSwitchedAttribute.DEFAULT_VALUE); } @@ -333,7 +333,7 @@ public Boolean getDrawHandleSwitchedAttribute() { public void setDrawHandleSwitchedAttribute(Boolean drawHandleSwitchedValue) { DrawHandleSwitchedAttribute attr = new DrawHandleSwitchedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawHandleSwitchedValue.booleanValue()); + attr.setValue(drawHandleSwitchedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawLayerElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawLayerElement.java index 640a354884..f8549e0028 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawLayerElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawLayerElement.java @@ -122,7 +122,7 @@ public void setDrawNameAttribute(String drawNameValue) { public Boolean getDrawProtectedAttribute() { DrawProtectedAttribute attr = (DrawProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawProtectedAttribute.DEFAULT_VALUE); } @@ -135,7 +135,7 @@ public Boolean getDrawProtectedAttribute() { public void setDrawProtectedAttribute(Boolean drawProtectedValue) { DrawProtectedAttribute attr = new DrawProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawProtectedValue.booleanValue()); + attr.setValue(drawProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawLineElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawLineElement.java index 885558c43f..340207f0fd 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawLineElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawLineElement.java @@ -278,12 +278,12 @@ public void setSvgY2Attribute(String svgY2Value) { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawMarkerElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawMarkerElement.java index ee6ea79914..8e6ea9b3a3 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawMarkerElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawMarkerElement.java @@ -149,7 +149,7 @@ public void setSvgDAttribute(String svgDValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -162,7 +162,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawMeasureElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawMeasureElement.java index 6bf82d7d13..530da8dc74 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawMeasureElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawMeasureElement.java @@ -278,12 +278,12 @@ public void setSvgY2Attribute(String svgY2Value) { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawPageThumbnailElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawPageThumbnailElement.java index 1243b8eefd..2da5e3bfbc 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawPageThumbnailElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawPageThumbnailElement.java @@ -130,7 +130,7 @@ public void setDrawLayerAttribute(String drawLayerValue) { public Integer getDrawPageNumberAttribute() { DrawPageNumberAttribute attr = (DrawPageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -143,7 +143,7 @@ public Integer getDrawPageNumberAttribute() { public void setDrawPageNumberAttribute(Integer drawPageNumberValue) { DrawPageNumberAttribute attr = new DrawPageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawPageNumberValue.intValue()); + attr.setValue(drawPageNumberValue.toString()); } /** @@ -202,7 +202,7 @@ public void setPresentationClassAttribute(String presentationClassValue) { public Boolean getPresentationPlaceholderAttribute() { PresentationPlaceholderAttribute attr = (PresentationPlaceholderAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "placeholder"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -215,7 +215,7 @@ public Boolean getPresentationPlaceholderAttribute() { public void setPresentationPlaceholderAttribute(Boolean presentationPlaceholderValue) { PresentationPlaceholderAttribute attr = new PresentationPlaceholderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationPlaceholderValue.booleanValue()); + attr.setValue(presentationPlaceholderValue.toString()); } /** @@ -226,7 +226,7 @@ public void setPresentationPlaceholderAttribute(Boolean presentationPlaceholderV public Boolean getPresentationUserTransformedAttribute() { PresentationUserTransformedAttribute attr = (PresentationUserTransformedAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "user-transformed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -239,7 +239,7 @@ public Boolean getPresentationUserTransformedAttribute() { public void setPresentationUserTransformedAttribute(Boolean presentationUserTransformedValue) { PresentationUserTransformedAttribute attr = new PresentationUserTransformedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationUserTransformedValue.booleanValue()); + attr.setValue(presentationUserTransformedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawPathElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawPathElement.java index c81d6c8a3e..75698dcd74 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawPathElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawPathElement.java @@ -232,7 +232,7 @@ public void setSvgHeightAttribute(String svgHeightValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -245,7 +245,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** @@ -324,12 +324,12 @@ public void setSvgYAttribute(String svgYValue) { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawPolygonElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawPolygonElement.java index 49fe4ca4e5..7dfdc4daf1 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawPolygonElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawPolygonElement.java @@ -232,7 +232,7 @@ public void setSvgHeightAttribute(String svgHeightValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -245,7 +245,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** @@ -324,12 +324,12 @@ public void setSvgYAttribute(String svgYValue) { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawPolylineElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawPolylineElement.java index a1dd6182d7..76b48c2920 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawPolylineElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawPolylineElement.java @@ -232,7 +232,7 @@ public void setSvgHeightAttribute(String svgHeightValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -245,7 +245,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** @@ -324,12 +324,12 @@ public void setSvgYAttribute(String svgYValue) { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawRectElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawRectElement.java index 7851f3694d..3cfe166a42 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawRectElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawRectElement.java @@ -345,12 +345,12 @@ public void setSvgYAttribute(String svgYValue) { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java index b9836fd0a9..ca61b7b6ee 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java @@ -111,7 +111,7 @@ public void setDrawCaptionIdAttribute(String drawCaptionIdValue) { public Boolean getDrawConcaveAttribute() { DrawConcaveAttribute attr = (DrawConcaveAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "concave"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -124,7 +124,7 @@ public Boolean getDrawConcaveAttribute() { public void setDrawConcaveAttribute(Boolean drawConcaveValue) { DrawConcaveAttribute attr = new DrawConcaveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawConcaveValue.booleanValue()); + attr.setValue(drawConcaveValue.toString()); } /** @@ -137,7 +137,7 @@ public void setDrawConcaveAttribute(Boolean drawConcaveValue) { public Integer getDrawCornersAttribute() { DrawCornersAttribute attr = (DrawCornersAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "corners"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -150,7 +150,7 @@ public Integer getDrawCornersAttribute() { public void setDrawCornersAttribute(Integer drawCornersValue) { DrawCornersAttribute attr = new DrawCornersAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawCornersValue.intValue()); + attr.setValue(drawCornersValue.toString()); } /** @@ -349,12 +349,12 @@ public void setSvgYAttribute(String svgYValue) { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawShapeElementBase.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawShapeElementBase.java index cbf338f0e1..b793878daa 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawShapeElementBase.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawShapeElementBase.java @@ -169,7 +169,7 @@ public void setDrawStyleNameAttribute(String drawStyleNameValue) { public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -182,7 +182,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** @@ -313,7 +313,7 @@ public void setTableEndYAttribute(String tableEndYValue) { public Boolean getTableTableBackgroundAttribute() { TableTableBackgroundAttribute attr = (TableTableBackgroundAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table-background"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -326,7 +326,7 @@ public Boolean getTableTableBackgroundAttribute() { public void setTableTableBackgroundAttribute(Boolean tableTableBackgroundValue) { TableTableBackgroundAttribute attr = new TableTableBackgroundAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableTableBackgroundValue.booleanValue()); + attr.setValue(tableTableBackgroundValue.toString()); } /** @@ -337,7 +337,7 @@ public void setTableTableBackgroundAttribute(Boolean tableTableBackgroundValue) public Integer getTextAnchorPageNumberAttribute() { TextAnchorPageNumberAttribute attr = (TextAnchorPageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "anchor-page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -350,7 +350,7 @@ public Integer getTextAnchorPageNumberAttribute() { public void setTextAnchorPageNumberAttribute(Integer textAnchorPageNumberValue) { TextAnchorPageNumberAttribute attr = new TextAnchorPageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textAnchorPageNumberValue.intValue()); + attr.setValue(textAnchorPageNumberValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawStrokeDashElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawStrokeDashElement.java index eb89d39f8c..2dfb5ca973 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawStrokeDashElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/draw/DrawStrokeDashElement.java @@ -123,7 +123,7 @@ public void setDrawDistanceAttribute(String drawDistanceValue) { public Integer getDrawDots1Attribute() { DrawDots1Attribute attr = (DrawDots1Attribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "dots1"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -136,7 +136,7 @@ public Integer getDrawDots1Attribute() { public void setDrawDots1Attribute(Integer drawDots1Value) { DrawDots1Attribute attr = new DrawDots1Attribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawDots1Value.intValue()); + attr.setValue(drawDots1Value.toString()); } /** @@ -171,7 +171,7 @@ public void setDrawDots1LengthAttribute(String drawDots1LengthValue) { public Integer getDrawDots2Attribute() { DrawDots2Attribute attr = (DrawDots2Attribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "dots2"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -184,7 +184,7 @@ public Integer getDrawDots2Attribute() { public void setDrawDots2Attribute(Integer drawDots2Value) { DrawDots2Attribute attr = new DrawDots2Attribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawDots2Value.intValue()); + attr.setValue(drawDots2Value.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormButtonElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormButtonElement.java index d553d08364..4674033d4b 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormButtonElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormButtonElement.java @@ -140,7 +140,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormDefaultButtonAttribute() { FormDefaultButtonAttribute attr = (FormDefaultButtonAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "default-button"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDefaultButtonAttribute.DEFAULT_VALUE); } @@ -153,7 +153,7 @@ public Boolean getFormDefaultButtonAttribute() { public void setFormDefaultButtonAttribute(Boolean formDefaultButtonValue) { FormDefaultButtonAttribute attr = new FormDefaultButtonAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDefaultButtonValue.booleanValue()); + attr.setValue(formDefaultButtonValue.toString()); } /** @@ -188,7 +188,7 @@ public void setFormDelayForRepeatAttribute(String formDelayForRepeatValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -201,7 +201,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -212,7 +212,7 @@ public void setFormDisabledAttribute(Boolean formDisabledValue) { public Boolean getFormFocusOnClickAttribute() { FormFocusOnClickAttribute attr = (FormFocusOnClickAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "focus-on-click"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -225,7 +225,7 @@ public Boolean getFormFocusOnClickAttribute() { public void setFormFocusOnClickAttribute(Boolean formFocusOnClickValue) { FormFocusOnClickAttribute attr = new FormFocusOnClickAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formFocusOnClickValue.booleanValue()); + attr.setValue(formFocusOnClickValue.toString()); } /** @@ -382,7 +382,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -395,7 +395,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -406,7 +406,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormRepeatAttribute() { FormRepeatAttribute attr = (FormRepeatAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "repeat"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -419,7 +419,7 @@ public Boolean getFormRepeatAttribute() { public void setFormRepeatAttribute(Boolean formRepeatValue) { FormRepeatAttribute attr = new FormRepeatAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formRepeatValue.booleanValue()); + attr.setValue(formRepeatValue.toString()); } /** @@ -430,7 +430,7 @@ public void setFormRepeatAttribute(Boolean formRepeatValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -443,7 +443,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -454,7 +454,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -467,7 +467,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** @@ -502,7 +502,7 @@ public void setFormTitleAttribute(String formTitleValue) { public Boolean getFormToggleAttribute() { FormToggleAttribute attr = (FormToggleAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "toggle"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormToggleAttribute.DEFAULT_VALUE); } @@ -515,7 +515,7 @@ public Boolean getFormToggleAttribute() { public void setFormToggleAttribute(Boolean formToggleValue) { FormToggleAttribute attr = new FormToggleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formToggleValue.booleanValue()); + attr.setValue(formToggleValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormCheckboxElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormCheckboxElement.java index 1e9133c865..0be177ebdb 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormCheckboxElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormCheckboxElement.java @@ -160,7 +160,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -173,7 +173,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -258,7 +258,7 @@ public void setFormImagePositionAttribute(String formImagePositionValue) { public Boolean getFormIsTristateAttribute() { FormIsTristateAttribute attr = (FormIsTristateAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "is-tristate"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormIsTristateAttribute.DEFAULT_VALUE); } @@ -271,7 +271,7 @@ public Boolean getFormIsTristateAttribute() { public void setFormIsTristateAttribute(Boolean formIsTristateValue) { FormIsTristateAttribute attr = new FormIsTristateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formIsTristateValue.booleanValue()); + attr.setValue(formIsTristateValue.toString()); } /** @@ -354,7 +354,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -367,7 +367,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -402,7 +402,7 @@ public void setFormStateAttribute(String formStateValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -415,7 +415,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -426,7 +426,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -439,7 +439,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormComboboxElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormComboboxElement.java index 262d8d9ffc..76b2e98eaa 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormComboboxElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormComboboxElement.java @@ -91,7 +91,7 @@ public OdfName getOdfName() { public Boolean getFormAutoCompleteAttribute() { FormAutoCompleteAttribute attr = (FormAutoCompleteAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "auto-complete"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -104,7 +104,7 @@ public Boolean getFormAutoCompleteAttribute() { public void setFormAutoCompleteAttribute(Boolean formAutoCompleteValue) { FormAutoCompleteAttribute attr = new FormAutoCompleteAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formAutoCompleteValue.booleanValue()); + attr.setValue(formAutoCompleteValue.toString()); } /** @@ -139,7 +139,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -152,7 +152,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -211,7 +211,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -224,7 +224,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -235,7 +235,7 @@ public void setFormDisabledAttribute(Boolean formDisabledValue) { public Boolean getFormDropdownAttribute() { FormDropdownAttribute attr = (FormDropdownAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "dropdown"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDropdownAttribute.DEFAULT_VALUE); } @@ -248,7 +248,7 @@ public Boolean getFormDropdownAttribute() { public void setFormDropdownAttribute(Boolean formDropdownValue) { FormDropdownAttribute attr = new FormDropdownAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDropdownValue.booleanValue()); + attr.setValue(formDropdownValue.toString()); } /** @@ -355,7 +355,7 @@ public void setFormListSourceTypeAttribute(String formListSourceTypeValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -368,7 +368,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -403,7 +403,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -416,7 +416,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -427,7 +427,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -440,7 +440,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -451,7 +451,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Integer getFormSizeAttribute() { FormSizeAttribute attr = (FormSizeAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "size"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -464,7 +464,7 @@ public Integer getFormSizeAttribute() { public void setFormSizeAttribute(Integer formSizeValue) { FormSizeAttribute attr = new FormSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formSizeValue.intValue()); + attr.setValue(formSizeValue.toString()); } /** @@ -499,7 +499,7 @@ public void setFormSourceCellRangeAttribute(String formSourceCellRangeValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -512,7 +512,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -523,7 +523,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -536,7 +536,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormDateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormDateElement.java index dc776f665e..c32ea77007 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormDateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormDateElement.java @@ -114,7 +114,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -127,7 +127,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -210,7 +210,7 @@ public void setFormDelayForRepeatAttribute(String formDelayForRepeatValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -223,7 +223,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -282,7 +282,7 @@ public void setFormLinkedCellAttribute(String formLinkedCellValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -295,7 +295,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -378,7 +378,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -391,7 +391,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -402,7 +402,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -415,7 +415,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -426,7 +426,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Boolean getFormRepeatAttribute() { FormRepeatAttribute attr = (FormRepeatAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "repeat"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -439,7 +439,7 @@ public Boolean getFormRepeatAttribute() { public void setFormRepeatAttribute(Boolean formRepeatValue) { FormRepeatAttribute attr = new FormRepeatAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formRepeatValue.booleanValue()); + attr.setValue(formRepeatValue.toString()); } /** @@ -450,7 +450,7 @@ public void setFormRepeatAttribute(Boolean formRepeatValue) { public Boolean getFormSpinButtonAttribute() { FormSpinButtonAttribute attr = (FormSpinButtonAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "spin-button"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormSpinButtonAttribute.DEFAULT_VALUE); } @@ -463,7 +463,7 @@ public Boolean getFormSpinButtonAttribute() { public void setFormSpinButtonAttribute(Boolean formSpinButtonValue) { FormSpinButtonAttribute attr = new FormSpinButtonAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formSpinButtonValue.booleanValue()); + attr.setValue(formSpinButtonValue.toString()); } /** @@ -474,7 +474,7 @@ public void setFormSpinButtonAttribute(Boolean formSpinButtonValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -487,7 +487,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -498,7 +498,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -511,7 +511,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormFileElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormFileElement.java index 2e740e01ea..cb3522f069 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormFileElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormFileElement.java @@ -131,7 +131,7 @@ public void setFormCurrentValueAttribute(String formCurrentValueValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -144,7 +144,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -203,7 +203,7 @@ public void setFormLinkedCellAttribute(String formLinkedCellValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -216,7 +216,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -251,7 +251,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -264,7 +264,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -275,7 +275,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -288,7 +288,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -299,7 +299,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -312,7 +312,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -323,7 +323,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -336,7 +336,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormFixedTextElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormFixedTextElement.java index 8f30cb24a6..f6445ecc41 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormFixedTextElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormFixedTextElement.java @@ -103,7 +103,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -116,7 +116,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -199,7 +199,7 @@ public void setFormLabelAttribute(String formLabelValue) { public Boolean getFormMultiLineAttribute() { FormMultiLineAttribute attr = (FormMultiLineAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "multi-line"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormMultiLineAttribute.DEFAULT_VALUE); } @@ -212,7 +212,7 @@ public Boolean getFormMultiLineAttribute() { public void setFormMultiLineAttribute(Boolean formMultiLineValue) { FormMultiLineAttribute attr = new FormMultiLineAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formMultiLineValue.booleanValue()); + attr.setValue(formMultiLineValue.toString()); } /** @@ -247,7 +247,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -260,7 +260,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormFormElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormFormElement.java index 4613328c6d..049dce35f8 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormFormElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormFormElement.java @@ -91,7 +91,7 @@ public OdfName getOdfName() { public Boolean getFormAllowDeletesAttribute() { FormAllowDeletesAttribute attr = (FormAllowDeletesAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "allow-deletes"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormAllowDeletesAttribute.DEFAULT_VALUE); } @@ -104,7 +104,7 @@ public Boolean getFormAllowDeletesAttribute() { public void setFormAllowDeletesAttribute(Boolean formAllowDeletesValue) { FormAllowDeletesAttribute attr = new FormAllowDeletesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formAllowDeletesValue.booleanValue()); + attr.setValue(formAllowDeletesValue.toString()); } /** @@ -115,7 +115,7 @@ public void setFormAllowDeletesAttribute(Boolean formAllowDeletesValue) { public Boolean getFormAllowInsertsAttribute() { FormAllowInsertsAttribute attr = (FormAllowInsertsAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "allow-inserts"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormAllowInsertsAttribute.DEFAULT_VALUE); } @@ -128,7 +128,7 @@ public Boolean getFormAllowInsertsAttribute() { public void setFormAllowInsertsAttribute(Boolean formAllowInsertsValue) { FormAllowInsertsAttribute attr = new FormAllowInsertsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formAllowInsertsValue.booleanValue()); + attr.setValue(formAllowInsertsValue.toString()); } /** @@ -139,7 +139,7 @@ public void setFormAllowInsertsAttribute(Boolean formAllowInsertsValue) { public Boolean getFormAllowUpdatesAttribute() { FormAllowUpdatesAttribute attr = (FormAllowUpdatesAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "allow-updates"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormAllowUpdatesAttribute.DEFAULT_VALUE); } @@ -152,7 +152,7 @@ public Boolean getFormAllowUpdatesAttribute() { public void setFormAllowUpdatesAttribute(Boolean formAllowUpdatesValue) { FormAllowUpdatesAttribute attr = new FormAllowUpdatesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formAllowUpdatesValue.booleanValue()); + attr.setValue(formAllowUpdatesValue.toString()); } /** @@ -163,7 +163,7 @@ public void setFormAllowUpdatesAttribute(Boolean formAllowUpdatesValue) { public Boolean getFormApplyFilterAttribute() { FormApplyFilterAttribute attr = (FormApplyFilterAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "apply-filter"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormApplyFilterAttribute.DEFAULT_VALUE); } @@ -176,7 +176,7 @@ public Boolean getFormApplyFilterAttribute() { public void setFormApplyFilterAttribute(Boolean formApplyFilterValue) { FormApplyFilterAttribute attr = new FormApplyFilterAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formApplyFilterValue.booleanValue()); + attr.setValue(formApplyFilterValue.toString()); } /** @@ -331,7 +331,7 @@ public void setFormEnctypeAttribute(String formEnctypeValue) { public Boolean getFormEscapeProcessingAttribute() { FormEscapeProcessingAttribute attr = (FormEscapeProcessingAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "escape-processing"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormEscapeProcessingAttribute.DEFAULT_VALUE); } @@ -344,7 +344,7 @@ public Boolean getFormEscapeProcessingAttribute() { public void setFormEscapeProcessingAttribute(Boolean formEscapeProcessingValue) { FormEscapeProcessingAttribute attr = new FormEscapeProcessingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formEscapeProcessingValue.booleanValue()); + attr.setValue(formEscapeProcessingValue.toString()); } /** @@ -379,7 +379,7 @@ public void setFormFilterAttribute(String formFilterValue) { public Boolean getFormIgnoreResultAttribute() { FormIgnoreResultAttribute attr = (FormIgnoreResultAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "ignore-result"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormIgnoreResultAttribute.DEFAULT_VALUE); } @@ -392,7 +392,7 @@ public Boolean getFormIgnoreResultAttribute() { public void setFormIgnoreResultAttribute(Boolean formIgnoreResultValue) { FormIgnoreResultAttribute attr = new FormIgnoreResultAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formIgnoreResultValue.booleanValue()); + attr.setValue(formIgnoreResultValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormFormattedTextElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormFormattedTextElement.java index b5cce86458..4d082a6f63 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormFormattedTextElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormFormattedTextElement.java @@ -115,7 +115,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -128,7 +128,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -211,7 +211,7 @@ public void setFormDelayForRepeatAttribute(String formDelayForRepeatValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -224,7 +224,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -283,7 +283,7 @@ public void setFormLinkedCellAttribute(String formLinkedCellValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -296,7 +296,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -379,7 +379,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -392,7 +392,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -403,7 +403,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -416,7 +416,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -427,7 +427,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Boolean getFormRepeatAttribute() { FormRepeatAttribute attr = (FormRepeatAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "repeat"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -440,7 +440,7 @@ public Boolean getFormRepeatAttribute() { public void setFormRepeatAttribute(Boolean formRepeatValue) { FormRepeatAttribute attr = new FormRepeatAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formRepeatValue.booleanValue()); + attr.setValue(formRepeatValue.toString()); } /** @@ -451,7 +451,7 @@ public void setFormRepeatAttribute(Boolean formRepeatValue) { public Boolean getFormSpinButtonAttribute() { FormSpinButtonAttribute attr = (FormSpinButtonAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "spin-button"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormSpinButtonAttribute.DEFAULT_VALUE); } @@ -464,7 +464,7 @@ public Boolean getFormSpinButtonAttribute() { public void setFormSpinButtonAttribute(Boolean formSpinButtonValue) { FormSpinButtonAttribute attr = new FormSpinButtonAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formSpinButtonValue.booleanValue()); + attr.setValue(formSpinButtonValue.toString()); } /** @@ -475,7 +475,7 @@ public void setFormSpinButtonAttribute(Boolean formSpinButtonValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -488,7 +488,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -499,7 +499,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -512,7 +512,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** @@ -547,7 +547,7 @@ public void setFormTitleAttribute(String formTitleValue) { public Boolean getFormValidationAttribute() { FormValidationAttribute attr = (FormValidationAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "validation"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormValidationAttribute.DEFAULT_VALUE); } @@ -560,7 +560,7 @@ public Boolean getFormValidationAttribute() { public void setFormValidationAttribute(Boolean formValidationValue) { FormValidationAttribute attr = new FormValidationAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formValidationValue.booleanValue()); + attr.setValue(formValidationValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormFrameElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormFrameElement.java index 97a86b0268..00d9e4af79 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormFrameElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormFrameElement.java @@ -102,7 +102,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -115,7 +115,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -222,7 +222,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -235,7 +235,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormGridElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormGridElement.java index 3b10d9d1de..b4ce0366a5 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormGridElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormGridElement.java @@ -102,7 +102,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -115,7 +115,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -174,7 +174,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -187,7 +187,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -198,7 +198,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -211,7 +211,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -222,7 +222,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -235,7 +235,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormImageElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormImageElement.java index 5f58853e32..f36b4b9ea6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormImageElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormImageElement.java @@ -131,7 +131,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -144,7 +144,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -227,7 +227,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -240,7 +240,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -251,7 +251,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -264,7 +264,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -275,7 +275,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -288,7 +288,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormImageFrameElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormImageFrameElement.java index a517424b73..de48e684dd 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormImageFrameElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormImageFrameElement.java @@ -127,7 +127,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -140,7 +140,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -223,7 +223,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -236,7 +236,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -247,7 +247,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -260,7 +260,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormListValueElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormListValueElement.java index 8b9ef7e371..25b4cf77f3 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormListValueElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormListValueElement.java @@ -75,7 +75,7 @@ public OdfName getOdfName() { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -88,7 +88,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -203,7 +203,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -216,7 +216,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormListboxElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormListboxElement.java index 97bfd2f751..7ac9058fde 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormListboxElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormListboxElement.java @@ -161,7 +161,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -174,7 +174,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -185,7 +185,7 @@ public void setFormDisabledAttribute(Boolean formDisabledValue) { public Boolean getFormDropdownAttribute() { FormDropdownAttribute attr = (FormDropdownAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "dropdown"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDropdownAttribute.DEFAULT_VALUE); } @@ -198,7 +198,7 @@ public Boolean getFormDropdownAttribute() { public void setFormDropdownAttribute(Boolean formDropdownValue) { FormDropdownAttribute attr = new FormDropdownAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDropdownValue.booleanValue()); + attr.setValue(formDropdownValue.toString()); } /** @@ -329,7 +329,7 @@ public void setFormListSourceTypeAttribute(String formListSourceTypeValue) { public Boolean getFormMultipleAttribute() { FormMultipleAttribute attr = (FormMultipleAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "multiple"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormMultipleAttribute.DEFAULT_VALUE); } @@ -342,7 +342,7 @@ public Boolean getFormMultipleAttribute() { public void setFormMultipleAttribute(Boolean formMultipleValue) { FormMultipleAttribute attr = new FormMultipleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formMultipleValue.booleanValue()); + attr.setValue(formMultipleValue.toString()); } /** @@ -377,7 +377,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -390,7 +390,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -401,7 +401,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Integer getFormSizeAttribute() { FormSizeAttribute attr = (FormSizeAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "size"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -414,7 +414,7 @@ public Integer getFormSizeAttribute() { public void setFormSizeAttribute(Integer formSizeValue) { FormSizeAttribute attr = new FormSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formSizeValue.intValue()); + attr.setValue(formSizeValue.toString()); } /** @@ -449,7 +449,7 @@ public void setFormSourceCellRangeAttribute(String formSourceCellRangeValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -462,7 +462,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -473,7 +473,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -486,7 +486,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java index 34401aa819..4d7f9e3e04 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java @@ -114,7 +114,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -127,7 +127,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -138,7 +138,7 @@ public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullVal public Double getFormCurrentValueAttribute() { FormCurrentValueAttribute attr = (FormCurrentValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "current-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -151,7 +151,7 @@ public Double getFormCurrentValueAttribute() { public void setFormCurrentValueAttribute(Double formCurrentValueValue) { FormCurrentValueAttribute attr = new FormCurrentValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(formCurrentValueValue.doubleValue()); + attr.setValue(formCurrentValueValue.toString()); } /** @@ -210,7 +210,7 @@ public void setFormDelayForRepeatAttribute(String formDelayForRepeatValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -223,7 +223,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -282,7 +282,7 @@ public void setFormLinkedCellAttribute(String formLinkedCellValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -295,7 +295,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -306,7 +306,7 @@ public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { public Double getFormMaxValueAttribute() { FormMaxValueAttribute attr = (FormMaxValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -319,7 +319,7 @@ public Double getFormMaxValueAttribute() { public void setFormMaxValueAttribute(Double formMaxValueValue) { FormMaxValueAttribute attr = new FormMaxValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(formMaxValueValue.doubleValue()); + attr.setValue(formMaxValueValue.toString()); } /** @@ -330,7 +330,7 @@ public void setFormMaxValueAttribute(Double formMaxValueValue) { public Double getFormMinValueAttribute() { FormMinValueAttribute attr = (FormMinValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "min-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -343,7 +343,7 @@ public Double getFormMinValueAttribute() { public void setFormMinValueAttribute(Double formMinValueValue) { FormMinValueAttribute attr = new FormMinValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(formMinValueValue.doubleValue()); + attr.setValue(formMinValueValue.toString()); } /** @@ -378,7 +378,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -391,7 +391,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -402,7 +402,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -415,7 +415,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -426,7 +426,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Boolean getFormRepeatAttribute() { FormRepeatAttribute attr = (FormRepeatAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "repeat"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -439,7 +439,7 @@ public Boolean getFormRepeatAttribute() { public void setFormRepeatAttribute(Boolean formRepeatValue) { FormRepeatAttribute attr = new FormRepeatAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formRepeatValue.booleanValue()); + attr.setValue(formRepeatValue.toString()); } /** @@ -450,7 +450,7 @@ public void setFormRepeatAttribute(Boolean formRepeatValue) { public Boolean getFormSpinButtonAttribute() { FormSpinButtonAttribute attr = (FormSpinButtonAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "spin-button"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormSpinButtonAttribute.DEFAULT_VALUE); } @@ -463,7 +463,7 @@ public Boolean getFormSpinButtonAttribute() { public void setFormSpinButtonAttribute(Boolean formSpinButtonValue) { FormSpinButtonAttribute attr = new FormSpinButtonAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formSpinButtonValue.booleanValue()); + attr.setValue(formSpinButtonValue.toString()); } /** @@ -474,7 +474,7 @@ public void setFormSpinButtonAttribute(Boolean formSpinButtonValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -487,7 +487,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -498,7 +498,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -511,7 +511,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** @@ -546,7 +546,7 @@ public void setFormTitleAttribute(String formTitleValue) { public Double getFormValueAttribute() { FormValueAttribute attr = (FormValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -559,7 +559,7 @@ public Double getFormValueAttribute() { public void setFormValueAttribute(Double formValueValue) { FormValueAttribute attr = new FormValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(formValueValue.doubleValue()); + attr.setValue(formValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormOptionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormOptionElement.java index cdc7f4156e..f744265f11 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormOptionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormOptionElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Boolean getFormCurrentSelectedAttribute() { FormCurrentSelectedAttribute attr = (FormCurrentSelectedAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "current-selected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormCurrentSelectedAttribute.DEFAULT_VALUE); } @@ -84,7 +84,7 @@ public Boolean getFormCurrentSelectedAttribute() { public void setFormCurrentSelectedAttribute(Boolean formCurrentSelectedValue) { FormCurrentSelectedAttribute attr = new FormCurrentSelectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formCurrentSelectedValue.booleanValue()); + attr.setValue(formCurrentSelectedValue.toString()); } /** @@ -119,7 +119,7 @@ public void setFormLabelAttribute(String formLabelValue) { public Boolean getFormSelectedAttribute() { FormSelectedAttribute attr = (FormSelectedAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "selected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormSelectedAttribute.DEFAULT_VALUE); } @@ -132,7 +132,7 @@ public Boolean getFormSelectedAttribute() { public void setFormSelectedAttribute(Boolean formSelectedValue) { FormSelectedAttribute attr = new FormSelectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formSelectedValue.booleanValue()); + attr.setValue(formSelectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormPasswordElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormPasswordElement.java index f4e27e966b..044e9c4d49 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormPasswordElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormPasswordElement.java @@ -107,7 +107,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -120,7 +120,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -131,7 +131,7 @@ public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullVal public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -144,7 +144,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -227,7 +227,7 @@ public void setFormLinkedCellAttribute(String formLinkedCellValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -240,7 +240,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -275,7 +275,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -288,7 +288,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -299,7 +299,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -312,7 +312,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -323,7 +323,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -336,7 +336,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormPropertyElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormPropertyElement.java index 0392cef51a..c390892919 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormPropertyElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormPropertyElement.java @@ -101,7 +101,7 @@ public void setFormPropertyNameAttribute(String formPropertyNameValue) { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -114,7 +114,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -223,7 +223,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -236,7 +236,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormRadioElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormRadioElement.java index 1dc4d1b061..0e46555ae2 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormRadioElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormRadioElement.java @@ -111,7 +111,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormCurrentSelectedAttribute() { FormCurrentSelectedAttribute attr = (FormCurrentSelectedAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "current-selected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormCurrentSelectedAttribute.DEFAULT_VALUE); } @@ -124,7 +124,7 @@ public Boolean getFormCurrentSelectedAttribute() { public void setFormCurrentSelectedAttribute(Boolean formCurrentSelectedValue) { FormCurrentSelectedAttribute attr = new FormCurrentSelectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formCurrentSelectedValue.booleanValue()); + attr.setValue(formCurrentSelectedValue.toString()); } /** @@ -159,7 +159,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -172,7 +172,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -329,7 +329,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -342,7 +342,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -353,7 +353,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormSelectedAttribute() { FormSelectedAttribute attr = (FormSelectedAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "selected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormSelectedAttribute.DEFAULT_VALUE); } @@ -366,7 +366,7 @@ public Boolean getFormSelectedAttribute() { public void setFormSelectedAttribute(Boolean formSelectedValue) { FormSelectedAttribute attr = new FormSelectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formSelectedValue.booleanValue()); + attr.setValue(formSelectedValue.toString()); } /** @@ -377,7 +377,7 @@ public void setFormSelectedAttribute(Boolean formSelectedValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -390,7 +390,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -401,7 +401,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -414,7 +414,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormTextElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormTextElement.java index f1d5917688..1634138e62 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormTextElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormTextElement.java @@ -109,7 +109,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -122,7 +122,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -181,7 +181,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -194,7 +194,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -253,7 +253,7 @@ public void setFormLinkedCellAttribute(String formLinkedCellValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -266,7 +266,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -301,7 +301,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -314,7 +314,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -325,7 +325,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -338,7 +338,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -349,7 +349,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -362,7 +362,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -373,7 +373,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -386,7 +386,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormTextareaElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormTextareaElement.java index f30ac460a8..8726080387 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormTextareaElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormTextareaElement.java @@ -110,7 +110,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -123,7 +123,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -182,7 +182,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -195,7 +195,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -254,7 +254,7 @@ public void setFormLinkedCellAttribute(String formLinkedCellValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -267,7 +267,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -302,7 +302,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -315,7 +315,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -326,7 +326,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -339,7 +339,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -350,7 +350,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -363,7 +363,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -374,7 +374,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -387,7 +387,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormTimeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormTimeElement.java index e52a0f95bb..0ba4dabd2c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormTimeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormTimeElement.java @@ -114,7 +114,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -127,7 +127,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -210,7 +210,7 @@ public void setFormDelayForRepeatAttribute(String formDelayForRepeatValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -223,7 +223,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -282,7 +282,7 @@ public void setFormLinkedCellAttribute(String formLinkedCellValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -295,7 +295,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -378,7 +378,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -391,7 +391,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -402,7 +402,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -415,7 +415,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -426,7 +426,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Boolean getFormRepeatAttribute() { FormRepeatAttribute attr = (FormRepeatAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "repeat"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -439,7 +439,7 @@ public Boolean getFormRepeatAttribute() { public void setFormRepeatAttribute(Boolean formRepeatValue) { FormRepeatAttribute attr = new FormRepeatAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formRepeatValue.booleanValue()); + attr.setValue(formRepeatValue.toString()); } /** @@ -450,7 +450,7 @@ public void setFormRepeatAttribute(Boolean formRepeatValue) { public Boolean getFormSpinButtonAttribute() { FormSpinButtonAttribute attr = (FormSpinButtonAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "spin-button"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormSpinButtonAttribute.DEFAULT_VALUE); } @@ -463,7 +463,7 @@ public Boolean getFormSpinButtonAttribute() { public void setFormSpinButtonAttribute(Boolean formSpinButtonValue) { FormSpinButtonAttribute attr = new FormSpinButtonAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formSpinButtonValue.booleanValue()); + attr.setValue(formSpinButtonValue.toString()); } /** @@ -474,7 +474,7 @@ public void setFormSpinButtonAttribute(Boolean formSpinButtonValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -487,7 +487,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -498,7 +498,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -511,7 +511,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormValueRangeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormValueRangeElement.java index 35cb55c2d8..1fdecba5b3 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormValueRangeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/form/FormValueRangeElement.java @@ -135,7 +135,7 @@ public void setFormDelayForRepeatAttribute(String formDelayForRepeatValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -148,7 +148,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -207,7 +207,7 @@ public void setFormLinkedCellAttribute(String formLinkedCellValue) { public Integer getFormMaxValueAttribute() { FormMaxValueAttribute attr = (FormMaxValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -220,7 +220,7 @@ public Integer getFormMaxValueAttribute() { public void setFormMaxValueAttribute(Integer formMaxValueValue) { FormMaxValueAttribute attr = new FormMaxValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxValueValue.intValue()); + attr.setValue(formMaxValueValue.toString()); } /** @@ -231,7 +231,7 @@ public void setFormMaxValueAttribute(Integer formMaxValueValue) { public Integer getFormMinValueAttribute() { FormMinValueAttribute attr = (FormMinValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "min-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -244,7 +244,7 @@ public Integer getFormMinValueAttribute() { public void setFormMinValueAttribute(Integer formMinValueValue) { FormMinValueAttribute attr = new FormMinValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMinValueValue.intValue()); + attr.setValue(formMinValueValue.toString()); } /** @@ -303,7 +303,7 @@ public void setFormOrientationAttribute(String formOrientationValue) { public Integer getFormPageStepSizeAttribute() { FormPageStepSizeAttribute attr = (FormPageStepSizeAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "page-step-size"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -316,7 +316,7 @@ public Integer getFormPageStepSizeAttribute() { public void setFormPageStepSizeAttribute(Integer formPageStepSizeValue) { FormPageStepSizeAttribute attr = new FormPageStepSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formPageStepSizeValue.intValue()); + attr.setValue(formPageStepSizeValue.toString()); } /** @@ -327,7 +327,7 @@ public void setFormPageStepSizeAttribute(Integer formPageStepSizeValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -340,7 +340,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -351,7 +351,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormRepeatAttribute() { FormRepeatAttribute attr = (FormRepeatAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "repeat"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -364,7 +364,7 @@ public Boolean getFormRepeatAttribute() { public void setFormRepeatAttribute(Boolean formRepeatValue) { FormRepeatAttribute attr = new FormRepeatAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formRepeatValue.booleanValue()); + attr.setValue(formRepeatValue.toString()); } /** @@ -375,7 +375,7 @@ public void setFormRepeatAttribute(Boolean formRepeatValue) { public Integer getFormStepSizeAttribute() { FormStepSizeAttribute attr = (FormStepSizeAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "step-size"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormStepSizeAttribute.DEFAULT_VALUE); } @@ -388,7 +388,7 @@ public Integer getFormStepSizeAttribute() { public void setFormStepSizeAttribute(Integer formStepSizeValue) { FormStepSizeAttribute attr = new FormStepSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formStepSizeValue.intValue()); + attr.setValue(formStepSizeValue.toString()); } /** @@ -399,7 +399,7 @@ public void setFormStepSizeAttribute(Integer formStepSizeValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -412,7 +412,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -423,7 +423,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -436,7 +436,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/meta/MetaDocumentStatisticElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/meta/MetaDocumentStatisticElement.java index eb54d730bc..d8b064d6ee 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/meta/MetaDocumentStatisticElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/meta/MetaDocumentStatisticElement.java @@ -82,7 +82,7 @@ public OdfName getOdfName() { public Integer getMetaCellCountAttribute() { MetaCellCountAttribute attr = (MetaCellCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "cell-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -95,7 +95,7 @@ public Integer getMetaCellCountAttribute() { public void setMetaCellCountAttribute(Integer metaCellCountValue) { MetaCellCountAttribute attr = new MetaCellCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaCellCountValue.intValue()); + attr.setValue(metaCellCountValue.toString()); } /** @@ -106,7 +106,7 @@ public void setMetaCellCountAttribute(Integer metaCellCountValue) { public Integer getMetaCharacterCountAttribute() { MetaCharacterCountAttribute attr = (MetaCharacterCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "character-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -119,7 +119,7 @@ public Integer getMetaCharacterCountAttribute() { public void setMetaCharacterCountAttribute(Integer metaCharacterCountValue) { MetaCharacterCountAttribute attr = new MetaCharacterCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaCharacterCountValue.intValue()); + attr.setValue(metaCharacterCountValue.toString()); } /** @@ -130,7 +130,7 @@ public void setMetaCharacterCountAttribute(Integer metaCharacterCountValue) { public Integer getMetaDrawCountAttribute() { MetaDrawCountAttribute attr = (MetaDrawCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "draw-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -143,7 +143,7 @@ public Integer getMetaDrawCountAttribute() { public void setMetaDrawCountAttribute(Integer metaDrawCountValue) { MetaDrawCountAttribute attr = new MetaDrawCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaDrawCountValue.intValue()); + attr.setValue(metaDrawCountValue.toString()); } /** @@ -154,7 +154,7 @@ public void setMetaDrawCountAttribute(Integer metaDrawCountValue) { public Integer getMetaFrameCountAttribute() { MetaFrameCountAttribute attr = (MetaFrameCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "frame-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -167,7 +167,7 @@ public Integer getMetaFrameCountAttribute() { public void setMetaFrameCountAttribute(Integer metaFrameCountValue) { MetaFrameCountAttribute attr = new MetaFrameCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaFrameCountValue.intValue()); + attr.setValue(metaFrameCountValue.toString()); } /** @@ -178,7 +178,7 @@ public void setMetaFrameCountAttribute(Integer metaFrameCountValue) { public Integer getMetaImageCountAttribute() { MetaImageCountAttribute attr = (MetaImageCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "image-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -191,7 +191,7 @@ public Integer getMetaImageCountAttribute() { public void setMetaImageCountAttribute(Integer metaImageCountValue) { MetaImageCountAttribute attr = new MetaImageCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaImageCountValue.intValue()); + attr.setValue(metaImageCountValue.toString()); } /** @@ -202,7 +202,7 @@ public void setMetaImageCountAttribute(Integer metaImageCountValue) { public Integer getMetaNonWhitespaceCharacterCountAttribute() { MetaNonWhitespaceCharacterCountAttribute attr = (MetaNonWhitespaceCharacterCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "non-whitespace-character-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -215,7 +215,7 @@ public Integer getMetaNonWhitespaceCharacterCountAttribute() { public void setMetaNonWhitespaceCharacterCountAttribute(Integer metaNonWhitespaceCharacterCountValue) { MetaNonWhitespaceCharacterCountAttribute attr = new MetaNonWhitespaceCharacterCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaNonWhitespaceCharacterCountValue.intValue()); + attr.setValue(metaNonWhitespaceCharacterCountValue.toString()); } /** @@ -226,7 +226,7 @@ public void setMetaNonWhitespaceCharacterCountAttribute(Integer metaNonWhitespac public Integer getMetaObjectCountAttribute() { MetaObjectCountAttribute attr = (MetaObjectCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "object-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -239,7 +239,7 @@ public Integer getMetaObjectCountAttribute() { public void setMetaObjectCountAttribute(Integer metaObjectCountValue) { MetaObjectCountAttribute attr = new MetaObjectCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaObjectCountValue.intValue()); + attr.setValue(metaObjectCountValue.toString()); } /** @@ -250,7 +250,7 @@ public void setMetaObjectCountAttribute(Integer metaObjectCountValue) { public Integer getMetaOleObjectCountAttribute() { MetaOleObjectCountAttribute attr = (MetaOleObjectCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "ole-object-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -263,7 +263,7 @@ public Integer getMetaOleObjectCountAttribute() { public void setMetaOleObjectCountAttribute(Integer metaOleObjectCountValue) { MetaOleObjectCountAttribute attr = new MetaOleObjectCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaOleObjectCountValue.intValue()); + attr.setValue(metaOleObjectCountValue.toString()); } /** @@ -274,7 +274,7 @@ public void setMetaOleObjectCountAttribute(Integer metaOleObjectCountValue) { public Integer getMetaPageCountAttribute() { MetaPageCountAttribute attr = (MetaPageCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "page-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -287,7 +287,7 @@ public Integer getMetaPageCountAttribute() { public void setMetaPageCountAttribute(Integer metaPageCountValue) { MetaPageCountAttribute attr = new MetaPageCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaPageCountValue.intValue()); + attr.setValue(metaPageCountValue.toString()); } /** @@ -298,7 +298,7 @@ public void setMetaPageCountAttribute(Integer metaPageCountValue) { public Integer getMetaParagraphCountAttribute() { MetaParagraphCountAttribute attr = (MetaParagraphCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "paragraph-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -311,7 +311,7 @@ public Integer getMetaParagraphCountAttribute() { public void setMetaParagraphCountAttribute(Integer metaParagraphCountValue) { MetaParagraphCountAttribute attr = new MetaParagraphCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaParagraphCountValue.intValue()); + attr.setValue(metaParagraphCountValue.toString()); } /** @@ -322,7 +322,7 @@ public void setMetaParagraphCountAttribute(Integer metaParagraphCountValue) { public Integer getMetaRowCountAttribute() { MetaRowCountAttribute attr = (MetaRowCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "row-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -335,7 +335,7 @@ public Integer getMetaRowCountAttribute() { public void setMetaRowCountAttribute(Integer metaRowCountValue) { MetaRowCountAttribute attr = new MetaRowCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaRowCountValue.intValue()); + attr.setValue(metaRowCountValue.toString()); } /** @@ -346,7 +346,7 @@ public void setMetaRowCountAttribute(Integer metaRowCountValue) { public Integer getMetaSentenceCountAttribute() { MetaSentenceCountAttribute attr = (MetaSentenceCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "sentence-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -359,7 +359,7 @@ public Integer getMetaSentenceCountAttribute() { public void setMetaSentenceCountAttribute(Integer metaSentenceCountValue) { MetaSentenceCountAttribute attr = new MetaSentenceCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaSentenceCountValue.intValue()); + attr.setValue(metaSentenceCountValue.toString()); } /** @@ -370,7 +370,7 @@ public void setMetaSentenceCountAttribute(Integer metaSentenceCountValue) { public Integer getMetaSyllableCountAttribute() { MetaSyllableCountAttribute attr = (MetaSyllableCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "syllable-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -383,7 +383,7 @@ public Integer getMetaSyllableCountAttribute() { public void setMetaSyllableCountAttribute(Integer metaSyllableCountValue) { MetaSyllableCountAttribute attr = new MetaSyllableCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaSyllableCountValue.intValue()); + attr.setValue(metaSyllableCountValue.toString()); } /** @@ -394,7 +394,7 @@ public void setMetaSyllableCountAttribute(Integer metaSyllableCountValue) { public Integer getMetaTableCountAttribute() { MetaTableCountAttribute attr = (MetaTableCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "table-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -407,7 +407,7 @@ public Integer getMetaTableCountAttribute() { public void setMetaTableCountAttribute(Integer metaTableCountValue) { MetaTableCountAttribute attr = new MetaTableCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaTableCountValue.intValue()); + attr.setValue(metaTableCountValue.toString()); } /** @@ -418,7 +418,7 @@ public void setMetaTableCountAttribute(Integer metaTableCountValue) { public Integer getMetaWordCountAttribute() { MetaWordCountAttribute attr = (MetaWordCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "word-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -431,7 +431,7 @@ public Integer getMetaWordCountAttribute() { public void setMetaWordCountAttribute(Integer metaWordCountValue) { MetaWordCountAttribute attr = new MetaWordCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaWordCountValue.intValue()); + attr.setValue(metaWordCountValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberCurrencyStyleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberCurrencyStyleElement.java index 10fc1d08a5..c5d4b7f8e6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberCurrencyStyleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberCurrencyStyleElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getNumberAutomaticOrderAttribute() { NumberAutomaticOrderAttribute attr = (NumberAutomaticOrderAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "automatic-order"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberAutomaticOrderAttribute.DEFAULT_VALUE); } @@ -81,7 +81,7 @@ public Boolean getNumberAutomaticOrderAttribute() { public void setNumberAutomaticOrderAttribute(Boolean numberAutomaticOrderValue) { NumberAutomaticOrderAttribute attr = new NumberAutomaticOrderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberAutomaticOrderValue.booleanValue()); + attr.setValue(numberAutomaticOrderValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberDataStyleElementBase.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberDataStyleElementBase.java index 9ffecfb4cf..05f87644cc 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberDataStyleElementBase.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberDataStyleElementBase.java @@ -337,7 +337,7 @@ public void setStyleNameAttribute(String styleNameValue) { public Boolean getStyleVolatileAttribute() { StyleVolatileAttribute attr = (StyleVolatileAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "volatile"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -350,7 +350,7 @@ public Boolean getStyleVolatileAttribute() { public void setStyleVolatileAttribute(Boolean styleVolatileValue) { StyleVolatileAttribute attr = new StyleVolatileAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleVolatileValue.booleanValue()); + attr.setValue(styleVolatileValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberDateStyleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberDateStyleElement.java index 8d41172a48..0b22f606e8 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberDateStyleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberDateStyleElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Boolean getNumberAutomaticOrderAttribute() { NumberAutomaticOrderAttribute attr = (NumberAutomaticOrderAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "automatic-order"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberAutomaticOrderAttribute.DEFAULT_VALUE); } @@ -82,7 +82,7 @@ public Boolean getNumberAutomaticOrderAttribute() { public void setNumberAutomaticOrderAttribute(Boolean numberAutomaticOrderValue) { NumberAutomaticOrderAttribute attr = new NumberAutomaticOrderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberAutomaticOrderValue.booleanValue()); + attr.setValue(numberAutomaticOrderValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberEmbeddedTextElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberEmbeddedTextElement.java index 7f60fb0ec9..dcbeba74f1 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberEmbeddedTextElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberEmbeddedTextElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Integer getNumberPositionAttribute() { NumberPositionAttribute attr = (NumberPositionAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -83,7 +83,7 @@ public Integer getNumberPositionAttribute() { public void setNumberPositionAttribute(Integer numberPositionValue) { NumberPositionAttribute attr = new NumberPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberPositionValue.intValue()); + attr.setValue(numberPositionValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberFractionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberFractionElement.java index b4b1889664..bde7d2cb5d 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberFractionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberFractionElement.java @@ -72,7 +72,7 @@ public OdfName getOdfName() { public Integer getNumberDenominatorValueAttribute() { NumberDenominatorValueAttribute attr = (NumberDenominatorValueAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "denominator-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Integer getNumberDenominatorValueAttribute() { public void setNumberDenominatorValueAttribute(Integer numberDenominatorValueValue) { NumberDenominatorValueAttribute attr = new NumberDenominatorValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberDenominatorValueValue.intValue()); + attr.setValue(numberDenominatorValueValue.toString()); } /** @@ -96,7 +96,7 @@ public void setNumberDenominatorValueAttribute(Integer numberDenominatorValueVal public Boolean getNumberGroupingAttribute() { NumberGroupingAttribute attr = (NumberGroupingAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "grouping"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberGroupingAttribute.DEFAULT_VALUE); } @@ -109,7 +109,7 @@ public Boolean getNumberGroupingAttribute() { public void setNumberGroupingAttribute(Boolean numberGroupingValue) { NumberGroupingAttribute attr = new NumberGroupingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberGroupingValue.booleanValue()); + attr.setValue(numberGroupingValue.toString()); } /** @@ -120,7 +120,7 @@ public void setNumberGroupingAttribute(Boolean numberGroupingValue) { public Integer getNumberMinDenominatorDigitsAttribute() { NumberMinDenominatorDigitsAttribute attr = (NumberMinDenominatorDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-denominator-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -133,7 +133,7 @@ public Integer getNumberMinDenominatorDigitsAttribute() { public void setNumberMinDenominatorDigitsAttribute(Integer numberMinDenominatorDigitsValue) { NumberMinDenominatorDigitsAttribute attr = new NumberMinDenominatorDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinDenominatorDigitsValue.intValue()); + attr.setValue(numberMinDenominatorDigitsValue.toString()); } /** @@ -144,7 +144,7 @@ public void setNumberMinDenominatorDigitsAttribute(Integer numberMinDenominatorD public Integer getNumberMinIntegerDigitsAttribute() { NumberMinIntegerDigitsAttribute attr = (NumberMinIntegerDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-integer-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -157,7 +157,7 @@ public Integer getNumberMinIntegerDigitsAttribute() { public void setNumberMinIntegerDigitsAttribute(Integer numberMinIntegerDigitsValue) { NumberMinIntegerDigitsAttribute attr = new NumberMinIntegerDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinIntegerDigitsValue.intValue()); + attr.setValue(numberMinIntegerDigitsValue.toString()); } /** @@ -168,7 +168,7 @@ public void setNumberMinIntegerDigitsAttribute(Integer numberMinIntegerDigitsVal public Integer getNumberMinNumeratorDigitsAttribute() { NumberMinNumeratorDigitsAttribute attr = (NumberMinNumeratorDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-numerator-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -181,7 +181,7 @@ public Integer getNumberMinNumeratorDigitsAttribute() { public void setNumberMinNumeratorDigitsAttribute(Integer numberMinNumeratorDigitsValue) { NumberMinNumeratorDigitsAttribute attr = new NumberMinNumeratorDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinNumeratorDigitsValue.intValue()); + attr.setValue(numberMinNumeratorDigitsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberMonthElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberMonthElement.java index 1787ce431c..728dbb6c9e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberMonthElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberMonthElement.java @@ -95,7 +95,7 @@ public void setNumberCalendarAttribute(String numberCalendarValue) { public Boolean getNumberPossessiveFormAttribute() { NumberPossessiveFormAttribute attr = (NumberPossessiveFormAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "possessive-form"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getNumberPossessiveFormAttribute() { public void setNumberPossessiveFormAttribute(Boolean numberPossessiveFormValue) { NumberPossessiveFormAttribute attr = new NumberPossessiveFormAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberPossessiveFormValue.booleanValue()); + attr.setValue(numberPossessiveFormValue.toString()); } /** @@ -143,7 +143,7 @@ public void setNumberStyleAttribute(String numberStyleValue) { public Boolean getNumberTextualAttribute() { NumberTextualAttribute attr = (NumberTextualAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "textual"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberTextualAttribute.DEFAULT_VALUE); } @@ -156,7 +156,7 @@ public Boolean getNumberTextualAttribute() { public void setNumberTextualAttribute(Boolean numberTextualValue) { NumberTextualAttribute attr = new NumberTextualAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberTextualValue.booleanValue()); + attr.setValue(numberTextualValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberNumberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberNumberElement.java index 8d3e78b82a..2f942746a1 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberNumberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberNumberElement.java @@ -72,7 +72,7 @@ public OdfName getOdfName() { public Integer getNumberDecimalPlacesAttribute() { NumberDecimalPlacesAttribute attr = (NumberDecimalPlacesAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "decimal-places"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Integer getNumberDecimalPlacesAttribute() { public void setNumberDecimalPlacesAttribute(Integer numberDecimalPlacesValue) { NumberDecimalPlacesAttribute attr = new NumberDecimalPlacesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberDecimalPlacesValue.intValue()); + attr.setValue(numberDecimalPlacesValue.toString()); } /** @@ -120,7 +120,7 @@ public void setNumberDecimalReplacementAttribute(String numberDecimalReplacement public Double getNumberDisplayFactorAttribute() { NumberDisplayFactorAttribute attr = (NumberDisplayFactorAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "display-factor"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(NumberDisplayFactorAttribute.DEFAULT_VALUE); } @@ -133,7 +133,7 @@ public Double getNumberDisplayFactorAttribute() { public void setNumberDisplayFactorAttribute(Double numberDisplayFactorValue) { NumberDisplayFactorAttribute attr = new NumberDisplayFactorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(numberDisplayFactorValue.doubleValue()); + attr.setValue(numberDisplayFactorValue.toString()); } /** @@ -144,7 +144,7 @@ public void setNumberDisplayFactorAttribute(Double numberDisplayFactorValue) { public Boolean getNumberGroupingAttribute() { NumberGroupingAttribute attr = (NumberGroupingAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "grouping"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberGroupingAttribute.DEFAULT_VALUE); } @@ -157,7 +157,7 @@ public Boolean getNumberGroupingAttribute() { public void setNumberGroupingAttribute(Boolean numberGroupingValue) { NumberGroupingAttribute attr = new NumberGroupingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberGroupingValue.booleanValue()); + attr.setValue(numberGroupingValue.toString()); } /** @@ -168,7 +168,7 @@ public void setNumberGroupingAttribute(Boolean numberGroupingValue) { public Integer getNumberMinIntegerDigitsAttribute() { NumberMinIntegerDigitsAttribute attr = (NumberMinIntegerDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-integer-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -181,7 +181,7 @@ public Integer getNumberMinIntegerDigitsAttribute() { public void setNumberMinIntegerDigitsAttribute(Integer numberMinIntegerDigitsValue) { NumberMinIntegerDigitsAttribute attr = new NumberMinIntegerDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinIntegerDigitsValue.intValue()); + attr.setValue(numberMinIntegerDigitsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberScientificNumberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberScientificNumberElement.java index 67954fd914..a78103e6ae 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberScientificNumberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberScientificNumberElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Integer getNumberDecimalPlacesAttribute() { NumberDecimalPlacesAttribute attr = (NumberDecimalPlacesAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "decimal-places"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -84,7 +84,7 @@ public Integer getNumberDecimalPlacesAttribute() { public void setNumberDecimalPlacesAttribute(Integer numberDecimalPlacesValue) { NumberDecimalPlacesAttribute attr = new NumberDecimalPlacesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberDecimalPlacesValue.intValue()); + attr.setValue(numberDecimalPlacesValue.toString()); } /** @@ -95,7 +95,7 @@ public void setNumberDecimalPlacesAttribute(Integer numberDecimalPlacesValue) { public Boolean getNumberGroupingAttribute() { NumberGroupingAttribute attr = (NumberGroupingAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "grouping"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberGroupingAttribute.DEFAULT_VALUE); } @@ -108,7 +108,7 @@ public Boolean getNumberGroupingAttribute() { public void setNumberGroupingAttribute(Boolean numberGroupingValue) { NumberGroupingAttribute attr = new NumberGroupingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberGroupingValue.booleanValue()); + attr.setValue(numberGroupingValue.toString()); } /** @@ -119,7 +119,7 @@ public void setNumberGroupingAttribute(Boolean numberGroupingValue) { public Integer getNumberMinExponentDigitsAttribute() { NumberMinExponentDigitsAttribute attr = (NumberMinExponentDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-exponent-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -132,7 +132,7 @@ public Integer getNumberMinExponentDigitsAttribute() { public void setNumberMinExponentDigitsAttribute(Integer numberMinExponentDigitsValue) { NumberMinExponentDigitsAttribute attr = new NumberMinExponentDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinExponentDigitsValue.intValue()); + attr.setValue(numberMinExponentDigitsValue.toString()); } /** @@ -143,7 +143,7 @@ public void setNumberMinExponentDigitsAttribute(Integer numberMinExponentDigitsV public Integer getNumberMinIntegerDigitsAttribute() { NumberMinIntegerDigitsAttribute attr = (NumberMinIntegerDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-integer-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -156,7 +156,7 @@ public Integer getNumberMinIntegerDigitsAttribute() { public void setNumberMinIntegerDigitsAttribute(Integer numberMinIntegerDigitsValue) { NumberMinIntegerDigitsAttribute attr = new NumberMinIntegerDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinIntegerDigitsValue.intValue()); + attr.setValue(numberMinIntegerDigitsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberSecondsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberSecondsElement.java index 3806d40e70..79e65e3ce5 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberSecondsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberSecondsElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Integer getNumberDecimalPlacesAttribute() { NumberDecimalPlacesAttribute attr = (NumberDecimalPlacesAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "decimal-places"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(NumberDecimalPlacesAttribute.DEFAULT_VALUE); } @@ -82,7 +82,7 @@ public Integer getNumberDecimalPlacesAttribute() { public void setNumberDecimalPlacesAttribute(Integer numberDecimalPlacesValue) { NumberDecimalPlacesAttribute attr = new NumberDecimalPlacesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberDecimalPlacesValue.intValue()); + attr.setValue(numberDecimalPlacesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberTimeStyleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberTimeStyleElement.java index eebc131869..13fd49d38f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberTimeStyleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/number/NumberTimeStyleElement.java @@ -93,7 +93,7 @@ public void setNumberFormatSourceAttribute(String numberFormatSourceValue) { public Boolean getNumberTruncateOnOverflowAttribute() { NumberTruncateOnOverflowAttribute attr = (NumberTruncateOnOverflowAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "truncate-on-overflow"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberTruncateOnOverflowAttribute.DEFAULT_VALUE); } @@ -106,7 +106,7 @@ public Boolean getNumberTruncateOnOverflowAttribute() { public void setNumberTruncateOnOverflowAttribute(Boolean numberTruncateOnOverflowValue) { NumberTruncateOnOverflowAttribute attr = new NumberTruncateOnOverflowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberTruncateOnOverflowValue.booleanValue()); + attr.setValue(numberTruncateOnOverflowValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/office/OfficeAnnotationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/office/OfficeAnnotationElement.java index 284c647154..9ac34fb567 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/office/OfficeAnnotationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/office/OfficeAnnotationElement.java @@ -231,7 +231,7 @@ public void setDrawTransformAttribute(String drawTransformValue) { public Boolean getOfficeDisplayAttribute() { OfficeDisplayAttribute attr = (OfficeDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -244,7 +244,7 @@ public Boolean getOfficeDisplayAttribute() { public void setOfficeDisplayAttribute(Boolean officeDisplayValue) { OfficeDisplayAttribute attr = new OfficeDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeDisplayValue.booleanValue()); + attr.setValue(officeDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/office/OfficeDdeSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/office/OfficeDdeSourceElement.java index 9defd26915..0cc8338a0e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/office/OfficeDdeSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/office/OfficeDdeSourceElement.java @@ -73,7 +73,7 @@ public OdfName getOdfName() { public Boolean getOfficeAutomaticUpdateAttribute() { OfficeAutomaticUpdateAttribute attr = (OfficeAutomaticUpdateAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "automatic-update"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(OfficeAutomaticUpdateAttribute.DEFAULT_VALUE); } @@ -86,7 +86,7 @@ public Boolean getOfficeAutomaticUpdateAttribute() { public void setOfficeAutomaticUpdateAttribute(Boolean officeAutomaticUpdateValue) { OfficeAutomaticUpdateAttribute attr = new OfficeAutomaticUpdateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeAutomaticUpdateValue.booleanValue()); + attr.setValue(officeAutomaticUpdateValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/office/OfficeFormsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/office/OfficeFormsElement.java index afc94a358e..3e32839220 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/office/OfficeFormsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/office/OfficeFormsElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Boolean getFormApplyDesignModeAttribute() { FormApplyDesignModeAttribute attr = (FormApplyDesignModeAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "apply-design-mode"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormApplyDesignModeAttribute.DEFAULT_VALUE); } @@ -84,7 +84,7 @@ public Boolean getFormApplyDesignModeAttribute() { public void setFormApplyDesignModeAttribute(Boolean formApplyDesignModeValue) { FormApplyDesignModeAttribute attr = new FormApplyDesignModeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formApplyDesignModeValue.booleanValue()); + attr.setValue(formApplyDesignModeValue.toString()); } /** @@ -95,7 +95,7 @@ public void setFormApplyDesignModeAttribute(Boolean formApplyDesignModeValue) { public Boolean getFormAutomaticFocusAttribute() { FormAutomaticFocusAttribute attr = (FormAutomaticFocusAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "automatic-focus"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormAutomaticFocusAttribute.DEFAULT_VALUE); } @@ -108,7 +108,7 @@ public Boolean getFormAutomaticFocusAttribute() { public void setFormAutomaticFocusAttribute(Boolean formAutomaticFocusValue) { FormAutomaticFocusAttribute attr = new FormAutomaticFocusAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formAutomaticFocusValue.booleanValue()); + attr.setValue(formAutomaticFocusValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/office/OfficeSpreadsheetElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/office/OfficeSpreadsheetElement.java index 70d73d32e0..4780cf32f8 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/office/OfficeSpreadsheetElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/office/OfficeSpreadsheetElement.java @@ -133,7 +133,7 @@ public void setTableProtectionKeyDigestAlgorithmAttribute(String tableProtection public Boolean getTableStructureProtectedAttribute() { TableStructureProtectedAttribute attr = (TableStructureProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "structure-protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableStructureProtectedAttribute.DEFAULT_VALUE); } @@ -146,7 +146,7 @@ public Boolean getTableStructureProtectedAttribute() { public void setTableStructureProtectedAttribute(Boolean tableStructureProtectedValue) { TableStructureProtectedAttribute attr = new TableStructureProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableStructureProtectedValue.booleanValue()); + attr.setValue(tableStructureProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/office/OfficeTextElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/office/OfficeTextElement.java index 804d2d1cc1..feb4e21ac1 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/office/OfficeTextElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/office/OfficeTextElement.java @@ -119,7 +119,7 @@ public OdfName getOdfName() { public Boolean getTextGlobalAttribute() { TextGlobalAttribute attr = (TextGlobalAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "global"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextGlobalAttribute.DEFAULT_VALUE); } @@ -132,7 +132,7 @@ public Boolean getTextGlobalAttribute() { public void setTextGlobalAttribute(Boolean textGlobalValue) { TextGlobalAttribute attr = new TextGlobalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textGlobalValue.booleanValue()); + attr.setValue(textGlobalValue.toString()); } /** @@ -143,7 +143,7 @@ public void setTextGlobalAttribute(Boolean textGlobalValue) { public Boolean getTextUseSoftPageBreaksAttribute() { TextUseSoftPageBreaksAttribute attr = (TextUseSoftPageBreaksAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-soft-page-breaks"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseSoftPageBreaksAttribute.DEFAULT_VALUE); } @@ -156,7 +156,7 @@ public Boolean getTextUseSoftPageBreaksAttribute() { public void setTextUseSoftPageBreaksAttribute(Boolean textUseSoftPageBreaksValue) { TextUseSoftPageBreaksAttribute attr = new TextUseSoftPageBreaksAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseSoftPageBreaksValue.booleanValue()); + attr.setValue(textUseSoftPageBreaksValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/presentation/PresentationEventListenerElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/presentation/PresentationEventListenerElement.java index 1670d2e5de..ed86c48a5b 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/presentation/PresentationEventListenerElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/presentation/PresentationEventListenerElement.java @@ -200,7 +200,7 @@ public void setPresentationStartScaleAttribute(String presentationStartScaleValu public Integer getPresentationVerbAttribute() { PresentationVerbAttribute attr = (PresentationVerbAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "verb"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -213,7 +213,7 @@ public Integer getPresentationVerbAttribute() { public void setPresentationVerbAttribute(Integer presentationVerbValue) { PresentationVerbAttribute attr = new PresentationVerbAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(presentationVerbValue.intValue()); + attr.setValue(presentationVerbValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/presentation/PresentationSettingsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/presentation/PresentationSettingsElement.java index bd7d7c9680..940722a67e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/presentation/PresentationSettingsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/presentation/PresentationSettingsElement.java @@ -105,7 +105,7 @@ public void setPresentationAnimationsAttribute(String presentationAnimationsValu public Boolean getPresentationEndlessAttribute() { PresentationEndlessAttribute attr = (PresentationEndlessAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "endless"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationEndlessAttribute.DEFAULT_VALUE); } @@ -118,7 +118,7 @@ public Boolean getPresentationEndlessAttribute() { public void setPresentationEndlessAttribute(Boolean presentationEndlessValue) { PresentationEndlessAttribute attr = new PresentationEndlessAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationEndlessValue.booleanValue()); + attr.setValue(presentationEndlessValue.toString()); } /** @@ -129,7 +129,7 @@ public void setPresentationEndlessAttribute(Boolean presentationEndlessValue) { public Boolean getPresentationForceManualAttribute() { PresentationForceManualAttribute attr = (PresentationForceManualAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "force-manual"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationForceManualAttribute.DEFAULT_VALUE); } @@ -142,7 +142,7 @@ public Boolean getPresentationForceManualAttribute() { public void setPresentationForceManualAttribute(Boolean presentationForceManualValue) { PresentationForceManualAttribute attr = new PresentationForceManualAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationForceManualValue.booleanValue()); + attr.setValue(presentationForceManualValue.toString()); } /** @@ -153,7 +153,7 @@ public void setPresentationForceManualAttribute(Boolean presentationForceManualV public Boolean getPresentationFullScreenAttribute() { PresentationFullScreenAttribute attr = (PresentationFullScreenAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "full-screen"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationFullScreenAttribute.DEFAULT_VALUE); } @@ -166,7 +166,7 @@ public Boolean getPresentationFullScreenAttribute() { public void setPresentationFullScreenAttribute(Boolean presentationFullScreenValue) { PresentationFullScreenAttribute attr = new PresentationFullScreenAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationFullScreenValue.booleanValue()); + attr.setValue(presentationFullScreenValue.toString()); } /** @@ -177,7 +177,7 @@ public void setPresentationFullScreenAttribute(Boolean presentationFullScreenVal public Boolean getPresentationMouseAsPenAttribute() { PresentationMouseAsPenAttribute attr = (PresentationMouseAsPenAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "mouse-as-pen"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationMouseAsPenAttribute.DEFAULT_VALUE); } @@ -190,7 +190,7 @@ public Boolean getPresentationMouseAsPenAttribute() { public void setPresentationMouseAsPenAttribute(Boolean presentationMouseAsPenValue) { PresentationMouseAsPenAttribute attr = new PresentationMouseAsPenAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationMouseAsPenValue.booleanValue()); + attr.setValue(presentationMouseAsPenValue.toString()); } /** @@ -201,7 +201,7 @@ public void setPresentationMouseAsPenAttribute(Boolean presentationMouseAsPenVal public Boolean getPresentationMouseVisibleAttribute() { PresentationMouseVisibleAttribute attr = (PresentationMouseVisibleAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "mouse-visible"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationMouseVisibleAttribute.DEFAULT_VALUE); } @@ -214,7 +214,7 @@ public Boolean getPresentationMouseVisibleAttribute() { public void setPresentationMouseVisibleAttribute(Boolean presentationMouseVisibleValue) { PresentationMouseVisibleAttribute attr = new PresentationMouseVisibleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationMouseVisibleValue.booleanValue()); + attr.setValue(presentationMouseVisibleValue.toString()); } /** @@ -273,7 +273,7 @@ public void setPresentationShowAttribute(String presentationShowValue) { public Boolean getPresentationShowEndOfPresentationSlideAttribute() { PresentationShowEndOfPresentationSlideAttribute attr = (PresentationShowEndOfPresentationSlideAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "show-end-of-presentation-slide"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationShowEndOfPresentationSlideAttribute.DEFAULT_VALUE); } @@ -286,7 +286,7 @@ public Boolean getPresentationShowEndOfPresentationSlideAttribute() { public void setPresentationShowEndOfPresentationSlideAttribute(Boolean presentationShowEndOfPresentationSlideValue) { PresentationShowEndOfPresentationSlideAttribute attr = new PresentationShowEndOfPresentationSlideAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationShowEndOfPresentationSlideValue.booleanValue()); + attr.setValue(presentationShowEndOfPresentationSlideValue.toString()); } /** @@ -297,7 +297,7 @@ public void setPresentationShowEndOfPresentationSlideAttribute(Boolean presentat public Boolean getPresentationShowLogoAttribute() { PresentationShowLogoAttribute attr = (PresentationShowLogoAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "show-logo"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationShowLogoAttribute.DEFAULT_VALUE); } @@ -310,7 +310,7 @@ public Boolean getPresentationShowLogoAttribute() { public void setPresentationShowLogoAttribute(Boolean presentationShowLogoValue) { PresentationShowLogoAttribute attr = new PresentationShowLogoAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationShowLogoValue.booleanValue()); + attr.setValue(presentationShowLogoValue.toString()); } /** @@ -345,7 +345,7 @@ public void setPresentationStartPageAttribute(String presentationStartPageValue) public Boolean getPresentationStartWithNavigatorAttribute() { PresentationStartWithNavigatorAttribute attr = (PresentationStartWithNavigatorAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "start-with-navigator"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationStartWithNavigatorAttribute.DEFAULT_VALUE); } @@ -358,7 +358,7 @@ public Boolean getPresentationStartWithNavigatorAttribute() { public void setPresentationStartWithNavigatorAttribute(Boolean presentationStartWithNavigatorValue) { PresentationStartWithNavigatorAttribute attr = new PresentationStartWithNavigatorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationStartWithNavigatorValue.booleanValue()); + attr.setValue(presentationStartWithNavigatorValue.toString()); } /** @@ -369,7 +369,7 @@ public void setPresentationStartWithNavigatorAttribute(Boolean presentationStart public Boolean getPresentationStayOnTopAttribute() { PresentationStayOnTopAttribute attr = (PresentationStayOnTopAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "stay-on-top"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationStayOnTopAttribute.DEFAULT_VALUE); } @@ -382,7 +382,7 @@ public Boolean getPresentationStayOnTopAttribute() { public void setPresentationStayOnTopAttribute(Boolean presentationStayOnTopValue) { PresentationStayOnTopAttribute attr = new PresentationStayOnTopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationStayOnTopValue.booleanValue()); + attr.setValue(presentationStayOnTopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/presentation/PresentationSoundElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/presentation/PresentationSoundElement.java index 0f516013d4..e25b6c5a43 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/presentation/PresentationSoundElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/presentation/PresentationSoundElement.java @@ -73,7 +73,7 @@ public OdfName getOdfName() { public Boolean getPresentationPlayFullAttribute() { PresentationPlayFullAttribute attr = (PresentationPlayFullAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "play-full"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -86,7 +86,7 @@ public Boolean getPresentationPlayFullAttribute() { public void setPresentationPlayFullAttribute(Boolean presentationPlayFullValue) { PresentationPlayFullAttribute attr = new PresentationPlayFullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationPlayFullValue.booleanValue()); + attr.setValue(presentationPlayFullValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleChartPropertiesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleChartPropertiesElement.java index 8950e6d4f8..84279c74e3 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleChartPropertiesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleChartPropertiesElement.java @@ -368,7 +368,7 @@ public void setChartAngleOffsetAttribute(String chartAngleOffsetValue) { public Boolean getChartAutoPositionAttribute() { ChartAutoPositionAttribute attr = (ChartAutoPositionAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "auto-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -381,7 +381,7 @@ public Boolean getChartAutoPositionAttribute() { public void setChartAutoPositionAttribute(Boolean chartAutoPositionValue) { ChartAutoPositionAttribute attr = new ChartAutoPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartAutoPositionValue.booleanValue()); + attr.setValue(chartAutoPositionValue.toString()); } /** @@ -392,7 +392,7 @@ public void setChartAutoPositionAttribute(Boolean chartAutoPositionValue) { public Boolean getChartAutoSizeAttribute() { ChartAutoSizeAttribute attr = (ChartAutoSizeAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "auto-size"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -405,7 +405,7 @@ public Boolean getChartAutoSizeAttribute() { public void setChartAutoSizeAttribute(Boolean chartAutoSizeValue) { ChartAutoSizeAttribute attr = new ChartAutoSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartAutoSizeValue.booleanValue()); + attr.setValue(chartAutoSizeValue.toString()); } /** @@ -440,7 +440,7 @@ public void setChartAxisLabelPositionAttribute(String chartAxisLabelPositionValu public Double getChartAxisPositionAttribute() { ChartAxisPositionAttribute attr = (ChartAxisPositionAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "axis-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -453,7 +453,7 @@ public Double getChartAxisPositionAttribute() { public void setChartAxisPositionAttribute(Double chartAxisPositionValue) { ChartAxisPositionAttribute attr = new ChartAxisPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(chartAxisPositionValue.doubleValue()); + attr.setValue(chartAxisPositionValue.toString()); } /** @@ -464,7 +464,7 @@ public void setChartAxisPositionAttribute(Double chartAxisPositionValue) { public Boolean getChartConnectBarsAttribute() { ChartConnectBarsAttribute attr = (ChartConnectBarsAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "connect-bars"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -477,7 +477,7 @@ public Boolean getChartConnectBarsAttribute() { public void setChartConnectBarsAttribute(Boolean chartConnectBarsValue) { ChartConnectBarsAttribute attr = new ChartConnectBarsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartConnectBarsValue.booleanValue()); + attr.setValue(chartConnectBarsValue.toString()); } /** @@ -512,7 +512,7 @@ public void setChartDataLabelNumberAttribute(String chartDataLabelNumberValue) { public Boolean getChartDataLabelSymbolAttribute() { ChartDataLabelSymbolAttribute attr = (ChartDataLabelSymbolAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "data-label-symbol"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -525,7 +525,7 @@ public Boolean getChartDataLabelSymbolAttribute() { public void setChartDataLabelSymbolAttribute(Boolean chartDataLabelSymbolValue) { ChartDataLabelSymbolAttribute attr = new ChartDataLabelSymbolAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartDataLabelSymbolValue.booleanValue()); + attr.setValue(chartDataLabelSymbolValue.toString()); } /** @@ -536,7 +536,7 @@ public void setChartDataLabelSymbolAttribute(Boolean chartDataLabelSymbolValue) public Boolean getChartDataLabelTextAttribute() { ChartDataLabelTextAttribute attr = (ChartDataLabelTextAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "data-label-text"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -549,7 +549,7 @@ public Boolean getChartDataLabelTextAttribute() { public void setChartDataLabelTextAttribute(Boolean chartDataLabelTextValue) { ChartDataLabelTextAttribute attr = new ChartDataLabelTextAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartDataLabelTextValue.booleanValue()); + attr.setValue(chartDataLabelTextValue.toString()); } /** @@ -560,7 +560,7 @@ public void setChartDataLabelTextAttribute(Boolean chartDataLabelTextValue) { public Boolean getChartDeepAttribute() { ChartDeepAttribute attr = (ChartDeepAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "deep"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -573,7 +573,7 @@ public Boolean getChartDeepAttribute() { public void setChartDeepAttribute(Boolean chartDeepValue) { ChartDeepAttribute attr = new ChartDeepAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartDeepValue.booleanValue()); + attr.setValue(chartDeepValue.toString()); } /** @@ -584,7 +584,7 @@ public void setChartDeepAttribute(Boolean chartDeepValue) { public Boolean getChartDisplayLabelAttribute() { ChartDisplayLabelAttribute attr = (ChartDisplayLabelAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "display-label"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -597,7 +597,7 @@ public Boolean getChartDisplayLabelAttribute() { public void setChartDisplayLabelAttribute(Boolean chartDisplayLabelValue) { ChartDisplayLabelAttribute attr = new ChartDisplayLabelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartDisplayLabelValue.booleanValue()); + attr.setValue(chartDisplayLabelValue.toString()); } /** @@ -632,7 +632,7 @@ public void setChartErrorCategoryAttribute(String chartErrorCategoryValue) { public Boolean getChartErrorLowerIndicatorAttribute() { ChartErrorLowerIndicatorAttribute attr = (ChartErrorLowerIndicatorAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "error-lower-indicator"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -645,7 +645,7 @@ public Boolean getChartErrorLowerIndicatorAttribute() { public void setChartErrorLowerIndicatorAttribute(Boolean chartErrorLowerIndicatorValue) { ChartErrorLowerIndicatorAttribute attr = new ChartErrorLowerIndicatorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartErrorLowerIndicatorValue.booleanValue()); + attr.setValue(chartErrorLowerIndicatorValue.toString()); } /** @@ -656,7 +656,7 @@ public void setChartErrorLowerIndicatorAttribute(Boolean chartErrorLowerIndicato public Double getChartErrorLowerLimitAttribute() { ChartErrorLowerLimitAttribute attr = (ChartErrorLowerLimitAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "error-lower-limit"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -669,7 +669,7 @@ public Double getChartErrorLowerLimitAttribute() { public void setChartErrorLowerLimitAttribute(Double chartErrorLowerLimitValue) { ChartErrorLowerLimitAttribute attr = new ChartErrorLowerLimitAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(chartErrorLowerLimitValue.doubleValue()); + attr.setValue(chartErrorLowerLimitValue.toString()); } /** @@ -704,7 +704,7 @@ public void setChartErrorLowerRangeAttribute(String chartErrorLowerRangeValue) { public Double getChartErrorMarginAttribute() { ChartErrorMarginAttribute attr = (ChartErrorMarginAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "error-margin"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -717,7 +717,7 @@ public Double getChartErrorMarginAttribute() { public void setChartErrorMarginAttribute(Double chartErrorMarginValue) { ChartErrorMarginAttribute attr = new ChartErrorMarginAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(chartErrorMarginValue.doubleValue()); + attr.setValue(chartErrorMarginValue.toString()); } /** @@ -728,7 +728,7 @@ public void setChartErrorMarginAttribute(Double chartErrorMarginValue) { public Double getChartErrorPercentageAttribute() { ChartErrorPercentageAttribute attr = (ChartErrorPercentageAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "error-percentage"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -741,7 +741,7 @@ public Double getChartErrorPercentageAttribute() { public void setChartErrorPercentageAttribute(Double chartErrorPercentageValue) { ChartErrorPercentageAttribute attr = new ChartErrorPercentageAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(chartErrorPercentageValue.doubleValue()); + attr.setValue(chartErrorPercentageValue.toString()); } /** @@ -752,7 +752,7 @@ public void setChartErrorPercentageAttribute(Double chartErrorPercentageValue) { public Boolean getChartErrorUpperIndicatorAttribute() { ChartErrorUpperIndicatorAttribute attr = (ChartErrorUpperIndicatorAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "error-upper-indicator"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -765,7 +765,7 @@ public Boolean getChartErrorUpperIndicatorAttribute() { public void setChartErrorUpperIndicatorAttribute(Boolean chartErrorUpperIndicatorValue) { ChartErrorUpperIndicatorAttribute attr = new ChartErrorUpperIndicatorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartErrorUpperIndicatorValue.booleanValue()); + attr.setValue(chartErrorUpperIndicatorValue.toString()); } /** @@ -776,7 +776,7 @@ public void setChartErrorUpperIndicatorAttribute(Boolean chartErrorUpperIndicato public Double getChartErrorUpperLimitAttribute() { ChartErrorUpperLimitAttribute attr = (ChartErrorUpperLimitAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "error-upper-limit"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -789,7 +789,7 @@ public Double getChartErrorUpperLimitAttribute() { public void setChartErrorUpperLimitAttribute(Double chartErrorUpperLimitValue) { ChartErrorUpperLimitAttribute attr = new ChartErrorUpperLimitAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(chartErrorUpperLimitValue.doubleValue()); + attr.setValue(chartErrorUpperLimitValue.toString()); } /** @@ -824,7 +824,7 @@ public void setChartErrorUpperRangeAttribute(String chartErrorUpperRangeValue) { public Integer getChartGapWidthAttribute() { ChartGapWidthAttribute attr = (ChartGapWidthAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "gap-width"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -837,7 +837,7 @@ public Integer getChartGapWidthAttribute() { public void setChartGapWidthAttribute(Integer chartGapWidthValue) { ChartGapWidthAttribute attr = new ChartGapWidthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(chartGapWidthValue.intValue()); + attr.setValue(chartGapWidthValue.toString()); } /** @@ -848,7 +848,7 @@ public void setChartGapWidthAttribute(Integer chartGapWidthValue) { public Boolean getChartGroupBarsPerAxisAttribute() { ChartGroupBarsPerAxisAttribute attr = (ChartGroupBarsPerAxisAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "group-bars-per-axis"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -861,7 +861,7 @@ public Boolean getChartGroupBarsPerAxisAttribute() { public void setChartGroupBarsPerAxisAttribute(Boolean chartGroupBarsPerAxisValue) { ChartGroupBarsPerAxisAttribute attr = new ChartGroupBarsPerAxisAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartGroupBarsPerAxisValue.booleanValue()); + attr.setValue(chartGroupBarsPerAxisValue.toString()); } /** @@ -896,7 +896,7 @@ public void setChartHoleSizeAttribute(String chartHoleSizeValue) { public Boolean getChartIncludeHiddenCellsAttribute() { ChartIncludeHiddenCellsAttribute attr = (ChartIncludeHiddenCellsAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "include-hidden-cells"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -909,7 +909,7 @@ public Boolean getChartIncludeHiddenCellsAttribute() { public void setChartIncludeHiddenCellsAttribute(Boolean chartIncludeHiddenCellsValue) { ChartIncludeHiddenCellsAttribute attr = new ChartIncludeHiddenCellsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartIncludeHiddenCellsValue.booleanValue()); + attr.setValue(chartIncludeHiddenCellsValue.toString()); } /** @@ -944,7 +944,7 @@ public void setChartInterpolationAttribute(String chartInterpolationValue) { public Double getChartIntervalMajorAttribute() { ChartIntervalMajorAttribute attr = (ChartIntervalMajorAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "interval-major"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -957,7 +957,7 @@ public Double getChartIntervalMajorAttribute() { public void setChartIntervalMajorAttribute(Double chartIntervalMajorValue) { ChartIntervalMajorAttribute attr = new ChartIntervalMajorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(chartIntervalMajorValue.doubleValue()); + attr.setValue(chartIntervalMajorValue.toString()); } /** @@ -968,7 +968,7 @@ public void setChartIntervalMajorAttribute(Double chartIntervalMajorValue) { public Integer getChartIntervalMinorDivisorAttribute() { ChartIntervalMinorDivisorAttribute attr = (ChartIntervalMinorDivisorAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "interval-minor-divisor"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -981,7 +981,7 @@ public Integer getChartIntervalMinorDivisorAttribute() { public void setChartIntervalMinorDivisorAttribute(Integer chartIntervalMinorDivisorValue) { ChartIntervalMinorDivisorAttribute attr = new ChartIntervalMinorDivisorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(chartIntervalMinorDivisorValue.intValue()); + attr.setValue(chartIntervalMinorDivisorValue.toString()); } /** @@ -992,7 +992,7 @@ public void setChartIntervalMinorDivisorAttribute(Integer chartIntervalMinorDivi public Boolean getChartJapaneseCandleStickAttribute() { ChartJapaneseCandleStickAttribute attr = (ChartJapaneseCandleStickAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "japanese-candle-stick"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1005,7 +1005,7 @@ public Boolean getChartJapaneseCandleStickAttribute() { public void setChartJapaneseCandleStickAttribute(Boolean chartJapaneseCandleStickValue) { ChartJapaneseCandleStickAttribute attr = new ChartJapaneseCandleStickAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartJapaneseCandleStickValue.booleanValue()); + attr.setValue(chartJapaneseCandleStickValue.toString()); } /** @@ -1088,7 +1088,7 @@ public void setChartLabelPositionNegativeAttribute(String chartLabelPositionNega public Boolean getChartLinesAttribute() { ChartLinesAttribute attr = (ChartLinesAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "lines"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1101,7 +1101,7 @@ public Boolean getChartLinesAttribute() { public void setChartLinesAttribute(Boolean chartLinesValue) { ChartLinesAttribute attr = new ChartLinesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartLinesValue.booleanValue()); + attr.setValue(chartLinesValue.toString()); } /** @@ -1112,7 +1112,7 @@ public void setChartLinesAttribute(Boolean chartLinesValue) { public Boolean getChartLinkDataStyleToSourceAttribute() { ChartLinkDataStyleToSourceAttribute attr = (ChartLinkDataStyleToSourceAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "link-data-style-to-source"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1125,7 +1125,7 @@ public Boolean getChartLinkDataStyleToSourceAttribute() { public void setChartLinkDataStyleToSourceAttribute(Boolean chartLinkDataStyleToSourceValue) { ChartLinkDataStyleToSourceAttribute attr = new ChartLinkDataStyleToSourceAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartLinkDataStyleToSourceValue.booleanValue()); + attr.setValue(chartLinkDataStyleToSourceValue.toString()); } /** @@ -1136,7 +1136,7 @@ public void setChartLinkDataStyleToSourceAttribute(Boolean chartLinkDataStyleToS public Boolean getChartLogarithmicAttribute() { ChartLogarithmicAttribute attr = (ChartLogarithmicAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "logarithmic"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1149,7 +1149,7 @@ public Boolean getChartLogarithmicAttribute() { public void setChartLogarithmicAttribute(Boolean chartLogarithmicValue) { ChartLogarithmicAttribute attr = new ChartLogarithmicAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartLogarithmicValue.booleanValue()); + attr.setValue(chartLogarithmicValue.toString()); } /** @@ -1160,7 +1160,7 @@ public void setChartLogarithmicAttribute(Boolean chartLogarithmicValue) { public Double getChartMaximumAttribute() { ChartMaximumAttribute attr = (ChartMaximumAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "maximum"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -1173,7 +1173,7 @@ public Double getChartMaximumAttribute() { public void setChartMaximumAttribute(Double chartMaximumValue) { ChartMaximumAttribute attr = new ChartMaximumAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(chartMaximumValue.doubleValue()); + attr.setValue(chartMaximumValue.toString()); } /** @@ -1184,7 +1184,7 @@ public void setChartMaximumAttribute(Double chartMaximumValue) { public Boolean getChartMeanValueAttribute() { ChartMeanValueAttribute attr = (ChartMeanValueAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "mean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1197,7 +1197,7 @@ public Boolean getChartMeanValueAttribute() { public void setChartMeanValueAttribute(Boolean chartMeanValueValue) { ChartMeanValueAttribute attr = new ChartMeanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartMeanValueValue.booleanValue()); + attr.setValue(chartMeanValueValue.toString()); } /** @@ -1208,7 +1208,7 @@ public void setChartMeanValueAttribute(Boolean chartMeanValueValue) { public Double getChartMinimumAttribute() { ChartMinimumAttribute attr = (ChartMinimumAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "minimum"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -1221,7 +1221,7 @@ public Double getChartMinimumAttribute() { public void setChartMinimumAttribute(Double chartMinimumValue) { ChartMinimumAttribute attr = new ChartMinimumAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(chartMinimumValue.doubleValue()); + attr.setValue(chartMinimumValue.toString()); } /** @@ -1232,7 +1232,7 @@ public void setChartMinimumAttribute(Double chartMinimumValue) { public Double getChartOriginAttribute() { ChartOriginAttribute attr = (ChartOriginAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "origin"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -1245,7 +1245,7 @@ public Double getChartOriginAttribute() { public void setChartOriginAttribute(Double chartOriginValue) { ChartOriginAttribute attr = new ChartOriginAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(chartOriginValue.doubleValue()); + attr.setValue(chartOriginValue.toString()); } /** @@ -1256,7 +1256,7 @@ public void setChartOriginAttribute(Double chartOriginValue) { public Integer getChartOverlapAttribute() { ChartOverlapAttribute attr = (ChartOverlapAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "overlap"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1269,7 +1269,7 @@ public Integer getChartOverlapAttribute() { public void setChartOverlapAttribute(Integer chartOverlapValue) { ChartOverlapAttribute attr = new ChartOverlapAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(chartOverlapValue.intValue()); + attr.setValue(chartOverlapValue.toString()); } /** @@ -1280,7 +1280,7 @@ public void setChartOverlapAttribute(Integer chartOverlapValue) { public Boolean getChartPercentageAttribute() { ChartPercentageAttribute attr = (ChartPercentageAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "percentage"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1293,7 +1293,7 @@ public Boolean getChartPercentageAttribute() { public void setChartPercentageAttribute(Boolean chartPercentageValue) { ChartPercentageAttribute attr = new ChartPercentageAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartPercentageValue.booleanValue()); + attr.setValue(chartPercentageValue.toString()); } /** @@ -1304,7 +1304,7 @@ public void setChartPercentageAttribute(Boolean chartPercentageValue) { public Integer getChartPieOffsetAttribute() { ChartPieOffsetAttribute attr = (ChartPieOffsetAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "pie-offset"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1317,7 +1317,7 @@ public Integer getChartPieOffsetAttribute() { public void setChartPieOffsetAttribute(Integer chartPieOffsetValue) { ChartPieOffsetAttribute attr = new ChartPieOffsetAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(chartPieOffsetValue.intValue()); + attr.setValue(chartPieOffsetValue.toString()); } /** @@ -1352,7 +1352,7 @@ public void setChartRegressionTypeAttribute(String chartRegressionTypeValue) { public Boolean getChartReverseDirectionAttribute() { ChartReverseDirectionAttribute attr = (ChartReverseDirectionAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "reverse-direction"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1365,7 +1365,7 @@ public Boolean getChartReverseDirectionAttribute() { public void setChartReverseDirectionAttribute(Boolean chartReverseDirectionValue) { ChartReverseDirectionAttribute attr = new ChartReverseDirectionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartReverseDirectionValue.booleanValue()); + attr.setValue(chartReverseDirectionValue.toString()); } /** @@ -1376,7 +1376,7 @@ public void setChartReverseDirectionAttribute(Boolean chartReverseDirectionValue public Boolean getChartRightAngledAxesAttribute() { ChartRightAngledAxesAttribute attr = (ChartRightAngledAxesAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "right-angled-axes"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1389,7 +1389,7 @@ public Boolean getChartRightAngledAxesAttribute() { public void setChartRightAngledAxesAttribute(Boolean chartRightAngledAxesValue) { ChartRightAngledAxesAttribute attr = new ChartRightAngledAxesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartRightAngledAxesValue.booleanValue()); + attr.setValue(chartRightAngledAxesValue.toString()); } /** @@ -1400,7 +1400,7 @@ public void setChartRightAngledAxesAttribute(Boolean chartRightAngledAxesValue) public Boolean getChartScaleTextAttribute() { ChartScaleTextAttribute attr = (ChartScaleTextAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "scale-text"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1413,7 +1413,7 @@ public Boolean getChartScaleTextAttribute() { public void setChartScaleTextAttribute(Boolean chartScaleTextValue) { ChartScaleTextAttribute attr = new ChartScaleTextAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartScaleTextValue.booleanValue()); + attr.setValue(chartScaleTextValue.toString()); } /** @@ -1472,7 +1472,7 @@ public void setChartSolidTypeAttribute(String chartSolidTypeValue) { public Boolean getChartSortByXValuesAttribute() { ChartSortByXValuesAttribute attr = (ChartSortByXValuesAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "sort-by-x-values"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1485,7 +1485,7 @@ public Boolean getChartSortByXValuesAttribute() { public void setChartSortByXValuesAttribute(Boolean chartSortByXValuesValue) { ChartSortByXValuesAttribute attr = new ChartSortByXValuesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartSortByXValuesValue.booleanValue()); + attr.setValue(chartSortByXValuesValue.toString()); } /** @@ -1496,7 +1496,7 @@ public void setChartSortByXValuesAttribute(Boolean chartSortByXValuesValue) { public Integer getChartSplineOrderAttribute() { ChartSplineOrderAttribute attr = (ChartSplineOrderAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "spline-order"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1509,7 +1509,7 @@ public Integer getChartSplineOrderAttribute() { public void setChartSplineOrderAttribute(Integer chartSplineOrderValue) { ChartSplineOrderAttribute attr = new ChartSplineOrderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(chartSplineOrderValue.intValue()); + attr.setValue(chartSplineOrderValue.toString()); } /** @@ -1520,7 +1520,7 @@ public void setChartSplineOrderAttribute(Integer chartSplineOrderValue) { public Integer getChartSplineResolutionAttribute() { ChartSplineResolutionAttribute attr = (ChartSplineResolutionAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "spline-resolution"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1533,7 +1533,7 @@ public Integer getChartSplineResolutionAttribute() { public void setChartSplineResolutionAttribute(Integer chartSplineResolutionValue) { ChartSplineResolutionAttribute attr = new ChartSplineResolutionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(chartSplineResolutionValue.intValue()); + attr.setValue(chartSplineResolutionValue.toString()); } /** @@ -1544,7 +1544,7 @@ public void setChartSplineResolutionAttribute(Integer chartSplineResolutionValue public Boolean getChartStackedAttribute() { ChartStackedAttribute attr = (ChartStackedAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "stacked"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1557,7 +1557,7 @@ public Boolean getChartStackedAttribute() { public void setChartStackedAttribute(Boolean chartStackedValue) { ChartStackedAttribute attr = new ChartStackedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartStackedValue.booleanValue()); + attr.setValue(chartStackedValue.toString()); } /** @@ -1666,7 +1666,7 @@ public void setChartSymbolWidthAttribute(String chartSymbolWidthValue) { public Boolean getChartTextOverlapAttribute() { ChartTextOverlapAttribute attr = (ChartTextOverlapAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "text-overlap"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1679,7 +1679,7 @@ public Boolean getChartTextOverlapAttribute() { public void setChartTextOverlapAttribute(Boolean chartTextOverlapValue) { ChartTextOverlapAttribute attr = new ChartTextOverlapAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartTextOverlapValue.booleanValue()); + attr.setValue(chartTextOverlapValue.toString()); } /** @@ -1690,7 +1690,7 @@ public void setChartTextOverlapAttribute(Boolean chartTextOverlapValue) { public Boolean getChartThreeDimensionalAttribute() { ChartThreeDimensionalAttribute attr = (ChartThreeDimensionalAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "three-dimensional"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1703,7 +1703,7 @@ public Boolean getChartThreeDimensionalAttribute() { public void setChartThreeDimensionalAttribute(Boolean chartThreeDimensionalValue) { ChartThreeDimensionalAttribute attr = new ChartThreeDimensionalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartThreeDimensionalValue.booleanValue()); + attr.setValue(chartThreeDimensionalValue.toString()); } /** @@ -1738,7 +1738,7 @@ public void setChartTickMarkPositionAttribute(String chartTickMarkPositionValue) public Boolean getChartTickMarksMajorInnerAttribute() { ChartTickMarksMajorInnerAttribute attr = (ChartTickMarksMajorInnerAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "tick-marks-major-inner"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1751,7 +1751,7 @@ public Boolean getChartTickMarksMajorInnerAttribute() { public void setChartTickMarksMajorInnerAttribute(Boolean chartTickMarksMajorInnerValue) { ChartTickMarksMajorInnerAttribute attr = new ChartTickMarksMajorInnerAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartTickMarksMajorInnerValue.booleanValue()); + attr.setValue(chartTickMarksMajorInnerValue.toString()); } /** @@ -1762,7 +1762,7 @@ public void setChartTickMarksMajorInnerAttribute(Boolean chartTickMarksMajorInne public Boolean getChartTickMarksMajorOuterAttribute() { ChartTickMarksMajorOuterAttribute attr = (ChartTickMarksMajorOuterAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "tick-marks-major-outer"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1775,7 +1775,7 @@ public Boolean getChartTickMarksMajorOuterAttribute() { public void setChartTickMarksMajorOuterAttribute(Boolean chartTickMarksMajorOuterValue) { ChartTickMarksMajorOuterAttribute attr = new ChartTickMarksMajorOuterAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartTickMarksMajorOuterValue.booleanValue()); + attr.setValue(chartTickMarksMajorOuterValue.toString()); } /** @@ -1786,7 +1786,7 @@ public void setChartTickMarksMajorOuterAttribute(Boolean chartTickMarksMajorOute public Boolean getChartTickMarksMinorInnerAttribute() { ChartTickMarksMinorInnerAttribute attr = (ChartTickMarksMinorInnerAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "tick-marks-minor-inner"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1799,7 +1799,7 @@ public Boolean getChartTickMarksMinorInnerAttribute() { public void setChartTickMarksMinorInnerAttribute(Boolean chartTickMarksMinorInnerValue) { ChartTickMarksMinorInnerAttribute attr = new ChartTickMarksMinorInnerAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartTickMarksMinorInnerValue.booleanValue()); + attr.setValue(chartTickMarksMinorInnerValue.toString()); } /** @@ -1810,7 +1810,7 @@ public void setChartTickMarksMinorInnerAttribute(Boolean chartTickMarksMinorInne public Boolean getChartTickMarksMinorOuterAttribute() { ChartTickMarksMinorOuterAttribute attr = (ChartTickMarksMinorOuterAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "tick-marks-minor-outer"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1823,7 +1823,7 @@ public Boolean getChartTickMarksMinorOuterAttribute() { public void setChartTickMarksMinorOuterAttribute(Boolean chartTickMarksMinorOuterValue) { ChartTickMarksMinorOuterAttribute attr = new ChartTickMarksMinorOuterAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartTickMarksMinorOuterValue.booleanValue()); + attr.setValue(chartTickMarksMinorOuterValue.toString()); } /** @@ -1858,7 +1858,7 @@ public void setChartTreatEmptyCellsAttribute(String chartTreatEmptyCellsValue) { public Boolean getChartVerticalAttribute() { ChartVerticalAttribute attr = (ChartVerticalAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "vertical"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1871,7 +1871,7 @@ public Boolean getChartVerticalAttribute() { public void setChartVerticalAttribute(Boolean chartVerticalValue) { ChartVerticalAttribute attr = new ChartVerticalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartVerticalValue.booleanValue()); + attr.setValue(chartVerticalValue.toString()); } /** @@ -1882,7 +1882,7 @@ public void setChartVerticalAttribute(Boolean chartVerticalValue) { public Boolean getChartVisibleAttribute() { ChartVisibleAttribute attr = (ChartVisibleAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "visible"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1895,7 +1895,7 @@ public Boolean getChartVisibleAttribute() { public void setChartVisibleAttribute(Boolean chartVisibleValue) { ChartVisibleAttribute attr = new ChartVisibleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartVisibleValue.booleanValue()); + attr.setValue(chartVisibleValue.toString()); } /** @@ -1954,7 +1954,7 @@ public void setStyleRotationAngleAttribute(String styleRotationAngleValue) { public Boolean getTextLineBreakAttribute() { TextLineBreakAttribute attr = (TextLineBreakAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "line-break"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1967,7 +1967,7 @@ public Boolean getTextLineBreakAttribute() { public void setTextLineBreakAttribute(Boolean textLineBreakValue) { TextLineBreakAttribute attr = new TextLineBreakAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textLineBreakValue.booleanValue()); + attr.setValue(textLineBreakValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleColumnsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleColumnsElement.java index 2e55efda4c..9543fdb93a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleColumnsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleColumnsElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Integer getFoColumnCountAttribute() { FoColumnCountAttribute attr = (FoColumnCountAttribute) getOdfAttribute(OdfDocumentNamespace.FO, "column-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -84,7 +84,7 @@ public Integer getFoColumnCountAttribute() { public void setFoColumnCountAttribute(Integer foColumnCountValue) { FoColumnCountAttribute attr = new FoColumnCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(foColumnCountValue.intValue()); + attr.setValue(foColumnCountValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleDrawingPagePropertiesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleDrawingPagePropertiesElement.java index 7342e4a17e..33c0e4ca8c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleDrawingPagePropertiesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleDrawingPagePropertiesElement.java @@ -327,7 +327,7 @@ public void setDrawFillHatchNameAttribute(String drawFillHatchNameValue) { public Boolean getDrawFillHatchSolidAttribute() { DrawFillHatchSolidAttribute attr = (DrawFillHatchSolidAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "fill-hatch-solid"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -340,7 +340,7 @@ public Boolean getDrawFillHatchSolidAttribute() { public void setDrawFillHatchSolidAttribute(Boolean drawFillHatchSolidValue) { DrawFillHatchSolidAttribute attr = new DrawFillHatchSolidAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawFillHatchSolidValue.booleanValue()); + attr.setValue(drawFillHatchSolidValue.toString()); } /** @@ -495,7 +495,7 @@ public void setDrawFillImageWidthAttribute(String drawFillImageWidthValue) { public Integer getDrawGradientStepCountAttribute() { DrawGradientStepCountAttribute attr = (DrawGradientStepCountAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "gradient-step-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -508,7 +508,7 @@ public Integer getDrawGradientStepCountAttribute() { public void setDrawGradientStepCountAttribute(Integer drawGradientStepCountValue) { DrawGradientStepCountAttribute attr = new DrawGradientStepCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawGradientStepCountValue.intValue()); + attr.setValue(drawGradientStepCountValue.toString()); } /** @@ -615,7 +615,7 @@ public void setDrawTileRepeatOffsetAttribute(String drawTileRepeatOffsetValue) { public Boolean getPresentationBackgroundObjectsVisibleAttribute() { PresentationBackgroundObjectsVisibleAttribute attr = (PresentationBackgroundObjectsVisibleAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "background-objects-visible"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -628,7 +628,7 @@ public Boolean getPresentationBackgroundObjectsVisibleAttribute() { public void setPresentationBackgroundObjectsVisibleAttribute(Boolean presentationBackgroundObjectsVisibleValue) { PresentationBackgroundObjectsVisibleAttribute attr = new PresentationBackgroundObjectsVisibleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationBackgroundObjectsVisibleValue.booleanValue()); + attr.setValue(presentationBackgroundObjectsVisibleValue.toString()); } /** @@ -639,7 +639,7 @@ public void setPresentationBackgroundObjectsVisibleAttribute(Boolean presentatio public Boolean getPresentationBackgroundVisibleAttribute() { PresentationBackgroundVisibleAttribute attr = (PresentationBackgroundVisibleAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "background-visible"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -652,7 +652,7 @@ public Boolean getPresentationBackgroundVisibleAttribute() { public void setPresentationBackgroundVisibleAttribute(Boolean presentationBackgroundVisibleValue) { PresentationBackgroundVisibleAttribute attr = new PresentationBackgroundVisibleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationBackgroundVisibleValue.booleanValue()); + attr.setValue(presentationBackgroundVisibleValue.toString()); } /** @@ -663,7 +663,7 @@ public void setPresentationBackgroundVisibleAttribute(Boolean presentationBackgr public Boolean getPresentationDisplayDateTimeAttribute() { PresentationDisplayDateTimeAttribute attr = (PresentationDisplayDateTimeAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "display-date-time"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -676,7 +676,7 @@ public Boolean getPresentationDisplayDateTimeAttribute() { public void setPresentationDisplayDateTimeAttribute(Boolean presentationDisplayDateTimeValue) { PresentationDisplayDateTimeAttribute attr = new PresentationDisplayDateTimeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationDisplayDateTimeValue.booleanValue()); + attr.setValue(presentationDisplayDateTimeValue.toString()); } /** @@ -687,7 +687,7 @@ public void setPresentationDisplayDateTimeAttribute(Boolean presentationDisplayD public Boolean getPresentationDisplayFooterAttribute() { PresentationDisplayFooterAttribute attr = (PresentationDisplayFooterAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "display-footer"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -700,7 +700,7 @@ public Boolean getPresentationDisplayFooterAttribute() { public void setPresentationDisplayFooterAttribute(Boolean presentationDisplayFooterValue) { PresentationDisplayFooterAttribute attr = new PresentationDisplayFooterAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationDisplayFooterValue.booleanValue()); + attr.setValue(presentationDisplayFooterValue.toString()); } /** @@ -711,7 +711,7 @@ public void setPresentationDisplayFooterAttribute(Boolean presentationDisplayFoo public Boolean getPresentationDisplayHeaderAttribute() { PresentationDisplayHeaderAttribute attr = (PresentationDisplayHeaderAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "display-header"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -724,7 +724,7 @@ public Boolean getPresentationDisplayHeaderAttribute() { public void setPresentationDisplayHeaderAttribute(Boolean presentationDisplayHeaderValue) { PresentationDisplayHeaderAttribute attr = new PresentationDisplayHeaderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationDisplayHeaderValue.booleanValue()); + attr.setValue(presentationDisplayHeaderValue.toString()); } /** @@ -735,7 +735,7 @@ public void setPresentationDisplayHeaderAttribute(Boolean presentationDisplayHea public Boolean getPresentationDisplayPageNumberAttribute() { PresentationDisplayPageNumberAttribute attr = (PresentationDisplayPageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "display-page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -748,7 +748,7 @@ public Boolean getPresentationDisplayPageNumberAttribute() { public void setPresentationDisplayPageNumberAttribute(Boolean presentationDisplayPageNumberValue) { PresentationDisplayPageNumberAttribute attr = new PresentationDisplayPageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationDisplayPageNumberValue.booleanValue()); + attr.setValue(presentationDisplayPageNumberValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleDropCapElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleDropCapElement.java index 1e6e42c1b8..5682996a47 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleDropCapElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleDropCapElement.java @@ -97,7 +97,7 @@ public void setStyleDistanceAttribute(String styleDistanceValue) { public Integer getStyleLengthAttribute() { StyleLengthAttribute attr = (StyleLengthAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(StyleLengthAttribute.DEFAULT_VALUE); } @@ -110,7 +110,7 @@ public Integer getStyleLengthAttribute() { public void setStyleLengthAttribute(Integer styleLengthValue) { StyleLengthAttribute attr = new StyleLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleLengthValue.intValue()); + attr.setValue(styleLengthValue.toString()); } /** @@ -121,7 +121,7 @@ public void setStyleLengthAttribute(Integer styleLengthValue) { public Integer getStyleLinesAttribute() { StyleLinesAttribute attr = (StyleLinesAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "lines"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(StyleLinesAttribute.DEFAULT_VALUE); } @@ -134,7 +134,7 @@ public Integer getStyleLinesAttribute() { public void setStyleLinesAttribute(Integer styleLinesValue) { StyleLinesAttribute attr = new StyleLinesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleLinesValue.intValue()); + attr.setValue(styleLinesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleFontFaceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleFontFaceElement.java index f5bfafe3fd..9bdaf83d99 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleFontFaceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleFontFaceElement.java @@ -229,7 +229,7 @@ public void setStyleNameAttribute(String styleNameValue) { public Integer getSvgAccentHeightAttribute() { SvgAccentHeightAttribute attr = (SvgAccentHeightAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "accent-height"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -242,7 +242,7 @@ public Integer getSvgAccentHeightAttribute() { public void setSvgAccentHeightAttribute(Integer svgAccentHeightValue) { SvgAccentHeightAttribute attr = new SvgAccentHeightAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgAccentHeightValue.intValue()); + attr.setValue(svgAccentHeightValue.toString()); } /** @@ -253,7 +253,7 @@ public void setSvgAccentHeightAttribute(Integer svgAccentHeightValue) { public Integer getSvgAlphabeticAttribute() { SvgAlphabeticAttribute attr = (SvgAlphabeticAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "alphabetic"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -266,7 +266,7 @@ public Integer getSvgAlphabeticAttribute() { public void setSvgAlphabeticAttribute(Integer svgAlphabeticValue) { SvgAlphabeticAttribute attr = new SvgAlphabeticAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgAlphabeticValue.intValue()); + attr.setValue(svgAlphabeticValue.toString()); } /** @@ -277,7 +277,7 @@ public void setSvgAlphabeticAttribute(Integer svgAlphabeticValue) { public Integer getSvgAscentAttribute() { SvgAscentAttribute attr = (SvgAscentAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "ascent"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -290,7 +290,7 @@ public Integer getSvgAscentAttribute() { public void setSvgAscentAttribute(Integer svgAscentValue) { SvgAscentAttribute attr = new SvgAscentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgAscentValue.intValue()); + attr.setValue(svgAscentValue.toString()); } /** @@ -325,7 +325,7 @@ public void setSvgBboxAttribute(String svgBboxValue) { public Integer getSvgCapHeightAttribute() { SvgCapHeightAttribute attr = (SvgCapHeightAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "cap-height"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -338,7 +338,7 @@ public Integer getSvgCapHeightAttribute() { public void setSvgCapHeightAttribute(Integer svgCapHeightValue) { SvgCapHeightAttribute attr = new SvgCapHeightAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgCapHeightValue.intValue()); + attr.setValue(svgCapHeightValue.toString()); } /** @@ -349,7 +349,7 @@ public void setSvgCapHeightAttribute(Integer svgCapHeightValue) { public Integer getSvgDescentAttribute() { SvgDescentAttribute attr = (SvgDescentAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "descent"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -362,7 +362,7 @@ public Integer getSvgDescentAttribute() { public void setSvgDescentAttribute(Integer svgDescentValue) { SvgDescentAttribute attr = new SvgDescentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgDescentValue.intValue()); + attr.setValue(svgDescentValue.toString()); } /** @@ -517,7 +517,7 @@ public void setSvgFontWeightAttribute(String svgFontWeightValue) { public Integer getSvgHangingAttribute() { SvgHangingAttribute attr = (SvgHangingAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "hanging"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -530,7 +530,7 @@ public Integer getSvgHangingAttribute() { public void setSvgHangingAttribute(Integer svgHangingValue) { SvgHangingAttribute attr = new SvgHangingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgHangingValue.intValue()); + attr.setValue(svgHangingValue.toString()); } /** @@ -541,7 +541,7 @@ public void setSvgHangingAttribute(Integer svgHangingValue) { public Integer getSvgIdeographicAttribute() { SvgIdeographicAttribute attr = (SvgIdeographicAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "ideographic"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -554,7 +554,7 @@ public Integer getSvgIdeographicAttribute() { public void setSvgIdeographicAttribute(Integer svgIdeographicValue) { SvgIdeographicAttribute attr = new SvgIdeographicAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgIdeographicValue.intValue()); + attr.setValue(svgIdeographicValue.toString()); } /** @@ -565,7 +565,7 @@ public void setSvgIdeographicAttribute(Integer svgIdeographicValue) { public Integer getSvgMathematicalAttribute() { SvgMathematicalAttribute attr = (SvgMathematicalAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "mathematical"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -578,7 +578,7 @@ public Integer getSvgMathematicalAttribute() { public void setSvgMathematicalAttribute(Integer svgMathematicalValue) { SvgMathematicalAttribute attr = new SvgMathematicalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgMathematicalValue.intValue()); + attr.setValue(svgMathematicalValue.toString()); } /** @@ -589,7 +589,7 @@ public void setSvgMathematicalAttribute(Integer svgMathematicalValue) { public Integer getSvgOverlinePositionAttribute() { SvgOverlinePositionAttribute attr = (SvgOverlinePositionAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "overline-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -602,7 +602,7 @@ public Integer getSvgOverlinePositionAttribute() { public void setSvgOverlinePositionAttribute(Integer svgOverlinePositionValue) { SvgOverlinePositionAttribute attr = new SvgOverlinePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgOverlinePositionValue.intValue()); + attr.setValue(svgOverlinePositionValue.toString()); } /** @@ -613,7 +613,7 @@ public void setSvgOverlinePositionAttribute(Integer svgOverlinePositionValue) { public Integer getSvgOverlineThicknessAttribute() { SvgOverlineThicknessAttribute attr = (SvgOverlineThicknessAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "overline-thickness"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -626,7 +626,7 @@ public Integer getSvgOverlineThicknessAttribute() { public void setSvgOverlineThicknessAttribute(Integer svgOverlineThicknessValue) { SvgOverlineThicknessAttribute attr = new SvgOverlineThicknessAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgOverlineThicknessValue.intValue()); + attr.setValue(svgOverlineThicknessValue.toString()); } /** @@ -661,7 +661,7 @@ public void setSvgPanose1Attribute(String svgPanose1Value) { public Integer getSvgSlopeAttribute() { SvgSlopeAttribute attr = (SvgSlopeAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "slope"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -674,7 +674,7 @@ public Integer getSvgSlopeAttribute() { public void setSvgSlopeAttribute(Integer svgSlopeValue) { SvgSlopeAttribute attr = new SvgSlopeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgSlopeValue.intValue()); + attr.setValue(svgSlopeValue.toString()); } /** @@ -685,7 +685,7 @@ public void setSvgSlopeAttribute(Integer svgSlopeValue) { public Integer getSvgStemhAttribute() { SvgStemhAttribute attr = (SvgStemhAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "stemh"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -698,7 +698,7 @@ public Integer getSvgStemhAttribute() { public void setSvgStemhAttribute(Integer svgStemhValue) { SvgStemhAttribute attr = new SvgStemhAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgStemhValue.intValue()); + attr.setValue(svgStemhValue.toString()); } /** @@ -709,7 +709,7 @@ public void setSvgStemhAttribute(Integer svgStemhValue) { public Integer getSvgStemvAttribute() { SvgStemvAttribute attr = (SvgStemvAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "stemv"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -722,7 +722,7 @@ public Integer getSvgStemvAttribute() { public void setSvgStemvAttribute(Integer svgStemvValue) { SvgStemvAttribute attr = new SvgStemvAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgStemvValue.intValue()); + attr.setValue(svgStemvValue.toString()); } /** @@ -733,7 +733,7 @@ public void setSvgStemvAttribute(Integer svgStemvValue) { public Integer getSvgStrikethroughPositionAttribute() { SvgStrikethroughPositionAttribute attr = (SvgStrikethroughPositionAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "strikethrough-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -746,7 +746,7 @@ public Integer getSvgStrikethroughPositionAttribute() { public void setSvgStrikethroughPositionAttribute(Integer svgStrikethroughPositionValue) { SvgStrikethroughPositionAttribute attr = new SvgStrikethroughPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgStrikethroughPositionValue.intValue()); + attr.setValue(svgStrikethroughPositionValue.toString()); } /** @@ -757,7 +757,7 @@ public void setSvgStrikethroughPositionAttribute(Integer svgStrikethroughPositio public Integer getSvgStrikethroughThicknessAttribute() { SvgStrikethroughThicknessAttribute attr = (SvgStrikethroughThicknessAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "strikethrough-thickness"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -770,7 +770,7 @@ public Integer getSvgStrikethroughThicknessAttribute() { public void setSvgStrikethroughThicknessAttribute(Integer svgStrikethroughThicknessValue) { SvgStrikethroughThicknessAttribute attr = new SvgStrikethroughThicknessAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgStrikethroughThicknessValue.intValue()); + attr.setValue(svgStrikethroughThicknessValue.toString()); } /** @@ -781,7 +781,7 @@ public void setSvgStrikethroughThicknessAttribute(Integer svgStrikethroughThickn public Integer getSvgUnderlinePositionAttribute() { SvgUnderlinePositionAttribute attr = (SvgUnderlinePositionAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "underline-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -794,7 +794,7 @@ public Integer getSvgUnderlinePositionAttribute() { public void setSvgUnderlinePositionAttribute(Integer svgUnderlinePositionValue) { SvgUnderlinePositionAttribute attr = new SvgUnderlinePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgUnderlinePositionValue.intValue()); + attr.setValue(svgUnderlinePositionValue.toString()); } /** @@ -805,7 +805,7 @@ public void setSvgUnderlinePositionAttribute(Integer svgUnderlinePositionValue) public Integer getSvgUnderlineThicknessAttribute() { SvgUnderlineThicknessAttribute attr = (SvgUnderlineThicknessAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "underline-thickness"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -818,7 +818,7 @@ public Integer getSvgUnderlineThicknessAttribute() { public void setSvgUnderlineThicknessAttribute(Integer svgUnderlineThicknessValue) { SvgUnderlineThicknessAttribute attr = new SvgUnderlineThicknessAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgUnderlineThicknessValue.intValue()); + attr.setValue(svgUnderlineThicknessValue.toString()); } /** @@ -853,7 +853,7 @@ public void setSvgUnicodeRangeAttribute(String svgUnicodeRangeValue) { public Integer getSvgUnitsPerEmAttribute() { SvgUnitsPerEmAttribute attr = (SvgUnitsPerEmAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "units-per-em"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -866,7 +866,7 @@ public Integer getSvgUnitsPerEmAttribute() { public void setSvgUnitsPerEmAttribute(Integer svgUnitsPerEmValue) { SvgUnitsPerEmAttribute attr = new SvgUnitsPerEmAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgUnitsPerEmValue.intValue()); + attr.setValue(svgUnitsPerEmValue.toString()); } /** @@ -877,7 +877,7 @@ public void setSvgUnitsPerEmAttribute(Integer svgUnitsPerEmValue) { public Integer getSvgVAlphabeticAttribute() { SvgVAlphabeticAttribute attr = (SvgVAlphabeticAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "v-alphabetic"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -890,7 +890,7 @@ public Integer getSvgVAlphabeticAttribute() { public void setSvgVAlphabeticAttribute(Integer svgVAlphabeticValue) { SvgVAlphabeticAttribute attr = new SvgVAlphabeticAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgVAlphabeticValue.intValue()); + attr.setValue(svgVAlphabeticValue.toString()); } /** @@ -901,7 +901,7 @@ public void setSvgVAlphabeticAttribute(Integer svgVAlphabeticValue) { public Integer getSvgVHangingAttribute() { SvgVHangingAttribute attr = (SvgVHangingAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "v-hanging"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -914,7 +914,7 @@ public Integer getSvgVHangingAttribute() { public void setSvgVHangingAttribute(Integer svgVHangingValue) { SvgVHangingAttribute attr = new SvgVHangingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgVHangingValue.intValue()); + attr.setValue(svgVHangingValue.toString()); } /** @@ -925,7 +925,7 @@ public void setSvgVHangingAttribute(Integer svgVHangingValue) { public Integer getSvgVIdeographicAttribute() { SvgVIdeographicAttribute attr = (SvgVIdeographicAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "v-ideographic"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -938,7 +938,7 @@ public Integer getSvgVIdeographicAttribute() { public void setSvgVIdeographicAttribute(Integer svgVIdeographicValue) { SvgVIdeographicAttribute attr = new SvgVIdeographicAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgVIdeographicValue.intValue()); + attr.setValue(svgVIdeographicValue.toString()); } /** @@ -949,7 +949,7 @@ public void setSvgVIdeographicAttribute(Integer svgVIdeographicValue) { public Integer getSvgVMathematicalAttribute() { SvgVMathematicalAttribute attr = (SvgVMathematicalAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "v-mathematical"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -962,7 +962,7 @@ public Integer getSvgVMathematicalAttribute() { public void setSvgVMathematicalAttribute(Integer svgVMathematicalValue) { SvgVMathematicalAttribute attr = new SvgVMathematicalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgVMathematicalValue.intValue()); + attr.setValue(svgVMathematicalValue.toString()); } /** @@ -997,7 +997,7 @@ public void setSvgWidthsAttribute(String svgWidthsValue) { public Integer getSvgXHeightAttribute() { SvgXHeightAttribute attr = (SvgXHeightAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "x-height"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1010,7 +1010,7 @@ public Integer getSvgXHeightAttribute() { public void setSvgXHeightAttribute(Integer svgXHeightValue) { SvgXHeightAttribute attr = new SvgXHeightAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgXHeightValue.intValue()); + attr.setValue(svgXHeightValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleFooterElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleFooterElement.java index 8bfa9bff84..88011590e4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleFooterElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleFooterElement.java @@ -90,7 +90,7 @@ public OdfName getOdfName() { public Boolean getStyleDisplayAttribute() { StyleDisplayAttribute attr = (StyleDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(StyleDisplayAttribute.DEFAULT_VALUE); } @@ -103,7 +103,7 @@ public Boolean getStyleDisplayAttribute() { public void setStyleDisplayAttribute(Boolean styleDisplayValue) { StyleDisplayAttribute attr = new StyleDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleDisplayValue.booleanValue()); + attr.setValue(styleDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleFooterLeftElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleFooterLeftElement.java index 9b28783e7d..a72dbec2d0 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleFooterLeftElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleFooterLeftElement.java @@ -90,7 +90,7 @@ public OdfName getOdfName() { public Boolean getStyleDisplayAttribute() { StyleDisplayAttribute attr = (StyleDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(StyleDisplayAttribute.DEFAULT_VALUE); } @@ -103,7 +103,7 @@ public Boolean getStyleDisplayAttribute() { public void setStyleDisplayAttribute(Boolean styleDisplayValue) { StyleDisplayAttribute attr = new StyleDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleDisplayValue.booleanValue()); + attr.setValue(styleDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleGraphicPropertiesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleGraphicPropertiesElement.java index ef56c4f88d..8494c6a3e9 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleGraphicPropertiesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleGraphicPropertiesElement.java @@ -839,7 +839,7 @@ public void setDr3dBackfaceCullingAttribute(String dr3dBackfaceCullingValue) { public Boolean getDr3dCloseBackAttribute() { Dr3dCloseBackAttribute attr = (Dr3dCloseBackAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "close-back"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -852,7 +852,7 @@ public Boolean getDr3dCloseBackAttribute() { public void setDr3dCloseBackAttribute(Boolean dr3dCloseBackValue) { Dr3dCloseBackAttribute attr = new Dr3dCloseBackAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dr3dCloseBackValue.booleanValue()); + attr.setValue(dr3dCloseBackValue.toString()); } /** @@ -863,7 +863,7 @@ public void setDr3dCloseBackAttribute(Boolean dr3dCloseBackValue) { public Boolean getDr3dCloseFrontAttribute() { Dr3dCloseFrontAttribute attr = (Dr3dCloseFrontAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "close-front"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -876,7 +876,7 @@ public Boolean getDr3dCloseFrontAttribute() { public void setDr3dCloseFrontAttribute(Boolean dr3dCloseFrontValue) { Dr3dCloseFrontAttribute attr = new Dr3dCloseFrontAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dr3dCloseFrontValue.booleanValue()); + attr.setValue(dr3dCloseFrontValue.toString()); } /** @@ -1031,7 +1031,7 @@ public void setDr3dEndAngleAttribute(String dr3dEndAngleValue) { public Integer getDr3dHorizontalSegmentsAttribute() { Dr3dHorizontalSegmentsAttribute attr = (Dr3dHorizontalSegmentsAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "horizontal-segments"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1044,7 +1044,7 @@ public Integer getDr3dHorizontalSegmentsAttribute() { public void setDr3dHorizontalSegmentsAttribute(Integer dr3dHorizontalSegmentsValue) { Dr3dHorizontalSegmentsAttribute attr = new Dr3dHorizontalSegmentsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(dr3dHorizontalSegmentsValue.intValue()); + attr.setValue(dr3dHorizontalSegmentsValue.toString()); } /** @@ -1319,7 +1319,7 @@ public void setDr3dTextureModeAttribute(String dr3dTextureModeValue) { public Integer getDr3dVerticalSegmentsAttribute() { Dr3dVerticalSegmentsAttribute attr = (Dr3dVerticalSegmentsAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "vertical-segments"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1332,7 +1332,7 @@ public Integer getDr3dVerticalSegmentsAttribute() { public void setDr3dVerticalSegmentsAttribute(Integer dr3dVerticalSegmentsValue) { Dr3dVerticalSegmentsAttribute attr = new Dr3dVerticalSegmentsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(dr3dVerticalSegmentsValue.intValue()); + attr.setValue(dr3dVerticalSegmentsValue.toString()); } /** @@ -1343,7 +1343,7 @@ public void setDr3dVerticalSegmentsAttribute(Integer dr3dVerticalSegmentsValue) public Boolean getDrawAutoGrowHeightAttribute() { DrawAutoGrowHeightAttribute attr = (DrawAutoGrowHeightAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "auto-grow-height"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1356,7 +1356,7 @@ public Boolean getDrawAutoGrowHeightAttribute() { public void setDrawAutoGrowHeightAttribute(Boolean drawAutoGrowHeightValue) { DrawAutoGrowHeightAttribute attr = new DrawAutoGrowHeightAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawAutoGrowHeightValue.booleanValue()); + attr.setValue(drawAutoGrowHeightValue.toString()); } /** @@ -1367,7 +1367,7 @@ public void setDrawAutoGrowHeightAttribute(Boolean drawAutoGrowHeightValue) { public Boolean getDrawAutoGrowWidthAttribute() { DrawAutoGrowWidthAttribute attr = (DrawAutoGrowWidthAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "auto-grow-width"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1380,7 +1380,7 @@ public Boolean getDrawAutoGrowWidthAttribute() { public void setDrawAutoGrowWidthAttribute(Boolean drawAutoGrowWidthValue) { DrawAutoGrowWidthAttribute attr = new DrawAutoGrowWidthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawAutoGrowWidthValue.booleanValue()); + attr.setValue(drawAutoGrowWidthValue.toString()); } /** @@ -1511,7 +1511,7 @@ public void setDrawCaptionEscapeDirectionAttribute(String drawCaptionEscapeDirec public Boolean getDrawCaptionFitLineLengthAttribute() { DrawCaptionFitLineLengthAttribute attr = (DrawCaptionFitLineLengthAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "caption-fit-line-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1524,7 +1524,7 @@ public Boolean getDrawCaptionFitLineLengthAttribute() { public void setDrawCaptionFitLineLengthAttribute(Boolean drawCaptionFitLineLengthValue) { DrawCaptionFitLineLengthAttribute attr = new DrawCaptionFitLineLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawCaptionFitLineLengthValue.booleanValue()); + attr.setValue(drawCaptionFitLineLengthValue.toString()); } /** @@ -1607,7 +1607,7 @@ public void setDrawCaptionTypeAttribute(String drawCaptionTypeValue) { public Boolean getDrawColorInversionAttribute() { DrawColorInversionAttribute attr = (DrawColorInversionAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "color-inversion"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1620,7 +1620,7 @@ public Boolean getDrawColorInversionAttribute() { public void setDrawColorInversionAttribute(Boolean drawColorInversionValue) { DrawColorInversionAttribute attr = new DrawColorInversionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawColorInversionValue.booleanValue()); + attr.setValue(drawColorInversionValue.toString()); } /** @@ -1679,7 +1679,7 @@ public void setDrawContrastAttribute(String drawContrastValue) { public Integer getDrawDecimalPlacesAttribute() { DrawDecimalPlacesAttribute attr = (DrawDecimalPlacesAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "decimal-places"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1692,7 +1692,7 @@ public Integer getDrawDecimalPlacesAttribute() { public void setDrawDecimalPlacesAttribute(Integer drawDecimalPlacesValue) { DrawDecimalPlacesAttribute attr = new DrawDecimalPlacesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawDecimalPlacesValue.intValue()); + attr.setValue(drawDecimalPlacesValue.toString()); } /** @@ -1895,7 +1895,7 @@ public void setDrawFillHatchNameAttribute(String drawFillHatchNameValue) { public Boolean getDrawFillHatchSolidAttribute() { DrawFillHatchSolidAttribute attr = (DrawFillHatchSolidAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "fill-hatch-solid"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1908,7 +1908,7 @@ public Boolean getDrawFillHatchSolidAttribute() { public void setDrawFillHatchSolidAttribute(Boolean drawFillHatchSolidValue) { DrawFillHatchSolidAttribute attr = new DrawFillHatchSolidAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawFillHatchSolidValue.booleanValue()); + attr.setValue(drawFillHatchSolidValue.toString()); } /** @@ -2063,7 +2063,7 @@ public void setDrawFillImageWidthAttribute(String drawFillImageWidthValue) { public Boolean getDrawFitToContourAttribute() { DrawFitToContourAttribute attr = (DrawFitToContourAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "fit-to-contour"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2076,7 +2076,7 @@ public Boolean getDrawFitToContourAttribute() { public void setDrawFitToContourAttribute(Boolean drawFitToContourValue) { DrawFitToContourAttribute attr = new DrawFitToContourAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawFitToContourValue.booleanValue()); + attr.setValue(drawFitToContourValue.toString()); } /** @@ -2087,7 +2087,7 @@ public void setDrawFitToContourAttribute(Boolean drawFitToContourValue) { public Boolean getDrawFitToSizeAttribute() { DrawFitToSizeAttribute attr = (DrawFitToSizeAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "fit-to-size"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2100,7 +2100,7 @@ public Boolean getDrawFitToSizeAttribute() { public void setDrawFitToSizeAttribute(Boolean drawFitToSizeValue) { DrawFitToSizeAttribute attr = new DrawFitToSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawFitToSizeValue.booleanValue()); + attr.setValue(drawFitToSizeValue.toString()); } /** @@ -2111,7 +2111,7 @@ public void setDrawFitToSizeAttribute(Boolean drawFitToSizeValue) { public Boolean getDrawFrameDisplayBorderAttribute() { DrawFrameDisplayBorderAttribute attr = (DrawFrameDisplayBorderAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "frame-display-border"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2124,7 +2124,7 @@ public Boolean getDrawFrameDisplayBorderAttribute() { public void setDrawFrameDisplayBorderAttribute(Boolean drawFrameDisplayBorderValue) { DrawFrameDisplayBorderAttribute attr = new DrawFrameDisplayBorderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawFrameDisplayBorderValue.booleanValue()); + attr.setValue(drawFrameDisplayBorderValue.toString()); } /** @@ -2135,7 +2135,7 @@ public void setDrawFrameDisplayBorderAttribute(Boolean drawFrameDisplayBorderVal public Boolean getDrawFrameDisplayScrollbarAttribute() { DrawFrameDisplayScrollbarAttribute attr = (DrawFrameDisplayScrollbarAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "frame-display-scrollbar"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2148,7 +2148,7 @@ public Boolean getDrawFrameDisplayScrollbarAttribute() { public void setDrawFrameDisplayScrollbarAttribute(Boolean drawFrameDisplayScrollbarValue) { DrawFrameDisplayScrollbarAttribute attr = new DrawFrameDisplayScrollbarAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawFrameDisplayScrollbarValue.booleanValue()); + attr.setValue(drawFrameDisplayScrollbarValue.toString()); } /** @@ -2231,7 +2231,7 @@ public void setDrawGammaAttribute(String drawGammaValue) { public Integer getDrawGradientStepCountAttribute() { DrawGradientStepCountAttribute attr = (DrawGradientStepCountAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "gradient-step-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -2244,7 +2244,7 @@ public Integer getDrawGradientStepCountAttribute() { public void setDrawGradientStepCountAttribute(Integer drawGradientStepCountValue) { DrawGradientStepCountAttribute attr = new DrawGradientStepCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawGradientStepCountValue.intValue()); + attr.setValue(drawGradientStepCountValue.toString()); } /** @@ -2423,7 +2423,7 @@ public void setDrawMarkerEndAttribute(String drawMarkerEndValue) { public Boolean getDrawMarkerEndCenterAttribute() { DrawMarkerEndCenterAttribute attr = (DrawMarkerEndCenterAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "marker-end-center"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2436,7 +2436,7 @@ public Boolean getDrawMarkerEndCenterAttribute() { public void setDrawMarkerEndCenterAttribute(Boolean drawMarkerEndCenterValue) { DrawMarkerEndCenterAttribute attr = new DrawMarkerEndCenterAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawMarkerEndCenterValue.booleanValue()); + attr.setValue(drawMarkerEndCenterValue.toString()); } /** @@ -2495,7 +2495,7 @@ public void setDrawMarkerStartAttribute(String drawMarkerStartValue) { public Boolean getDrawMarkerStartCenterAttribute() { DrawMarkerStartCenterAttribute attr = (DrawMarkerStartCenterAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "marker-start-center"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2508,7 +2508,7 @@ public Boolean getDrawMarkerStartCenterAttribute() { public void setDrawMarkerStartCenterAttribute(Boolean drawMarkerStartCenterValue) { DrawMarkerStartCenterAttribute attr = new DrawMarkerStartCenterAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawMarkerStartCenterValue.booleanValue()); + attr.setValue(drawMarkerStartCenterValue.toString()); } /** @@ -2591,7 +2591,7 @@ public void setDrawMeasureVerticalAlignAttribute(String drawMeasureVerticalAlign public Integer getDrawOleDrawAspectAttribute() { DrawOleDrawAspectAttribute attr = (DrawOleDrawAspectAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "ole-draw-aspect"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -2604,7 +2604,7 @@ public Integer getDrawOleDrawAspectAttribute() { public void setDrawOleDrawAspectAttribute(Integer drawOleDrawAspectValue) { DrawOleDrawAspectAttribute attr = new DrawOleDrawAspectAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawOleDrawAspectValue.intValue()); + attr.setValue(drawOleDrawAspectValue.toString()); } /** @@ -2663,7 +2663,7 @@ public void setDrawOpacityNameAttribute(String drawOpacityNameValue) { public Boolean getDrawParallelAttribute() { DrawParallelAttribute attr = (DrawParallelAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "parallel"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2676,7 +2676,7 @@ public Boolean getDrawParallelAttribute() { public void setDrawParallelAttribute(Boolean drawParallelValue) { DrawParallelAttribute attr = new DrawParallelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawParallelValue.booleanValue()); + attr.setValue(drawParallelValue.toString()); } /** @@ -2879,7 +2879,7 @@ public void setDrawShadowOpacityAttribute(String drawShadowOpacityValue) { public Boolean getDrawShowUnitAttribute() { DrawShowUnitAttribute attr = (DrawShowUnitAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "show-unit"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2892,7 +2892,7 @@ public Boolean getDrawShowUnitAttribute() { public void setDrawShowUnitAttribute(Boolean drawShowUnitValue) { DrawShowUnitAttribute attr = new DrawShowUnitAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawShowUnitValue.booleanValue()); + attr.setValue(drawShowUnitValue.toString()); } /** @@ -3983,7 +3983,7 @@ public void setStyleBorderLineWidthTopAttribute(String styleBorderLineWidthTopVa public Boolean getStyleEditableAttribute() { StyleEditableAttribute attr = (StyleEditableAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "editable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -3996,7 +3996,7 @@ public Boolean getStyleEditableAttribute() { public void setStyleEditableAttribute(Boolean styleEditableValue) { StyleEditableAttribute attr = new StyleEditableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleEditableValue.booleanValue()); + attr.setValue(styleEditableValue.toString()); } /** @@ -4007,7 +4007,7 @@ public void setStyleEditableAttribute(Boolean styleEditableValue) { public Boolean getStyleFlowWithTextAttribute() { StyleFlowWithTextAttribute attr = (StyleFlowWithTextAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "flow-with-text"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -4020,7 +4020,7 @@ public Boolean getStyleFlowWithTextAttribute() { public void setStyleFlowWithTextAttribute(Boolean styleFlowWithTextValue) { StyleFlowWithTextAttribute attr = new StyleFlowWithTextAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleFlowWithTextValue.booleanValue()); + attr.setValue(styleFlowWithTextValue.toString()); } /** @@ -4103,7 +4103,7 @@ public void setStyleMirrorAttribute(String styleMirrorValue) { public Integer getStyleNumberWrappedParagraphsAttribute() { StyleNumberWrappedParagraphsAttribute attr = (StyleNumberWrappedParagraphsAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "number-wrapped-paragraphs"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -4116,7 +4116,7 @@ public Integer getStyleNumberWrappedParagraphsAttribute() { public void setStyleNumberWrappedParagraphsAttribute(Integer styleNumberWrappedParagraphsValue) { StyleNumberWrappedParagraphsAttribute attr = new StyleNumberWrappedParagraphsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleNumberWrappedParagraphsValue.intValue()); + attr.setValue(styleNumberWrappedParagraphsValue.toString()); } /** @@ -4151,7 +4151,7 @@ public void setStyleOverflowBehaviorAttribute(String styleOverflowBehaviorValue) public Boolean getStylePrintContentAttribute() { StylePrintContentAttribute attr = (StylePrintContentAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "print-content"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -4164,7 +4164,7 @@ public Boolean getStylePrintContentAttribute() { public void setStylePrintContentAttribute(Boolean stylePrintContentValue) { StylePrintContentAttribute attr = new StylePrintContentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(stylePrintContentValue.booleanValue()); + attr.setValue(stylePrintContentValue.toString()); } /** @@ -4319,7 +4319,7 @@ public void setStyleShadowAttribute(String styleShadowValue) { public Boolean getStyleShrinkToFitAttribute() { StyleShrinkToFitAttribute attr = (StyleShrinkToFitAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "shrink-to-fit"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -4332,7 +4332,7 @@ public Boolean getStyleShrinkToFitAttribute() { public void setStyleShrinkToFitAttribute(Boolean styleShrinkToFitValue) { StyleShrinkToFitAttribute attr = new StyleShrinkToFitAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleShrinkToFitValue.booleanValue()); + attr.setValue(styleShrinkToFitValue.toString()); } /** @@ -4415,7 +4415,7 @@ public void setStyleWrapAttribute(String styleWrapValue) { public Boolean getStyleWrapContourAttribute() { StyleWrapContourAttribute attr = (StyleWrapContourAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "wrap-contour"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -4428,7 +4428,7 @@ public Boolean getStyleWrapContourAttribute() { public void setStyleWrapContourAttribute(Boolean styleWrapContourValue) { StyleWrapContourAttribute attr = new StyleWrapContourAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleWrapContourValue.booleanValue()); + attr.setValue(styleWrapContourValue.toString()); } /** @@ -4727,7 +4727,7 @@ public void setSvgYAttribute(String svgYValue) { public Integer getTextAnchorPageNumberAttribute() { TextAnchorPageNumberAttribute attr = (TextAnchorPageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "anchor-page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -4740,7 +4740,7 @@ public Integer getTextAnchorPageNumberAttribute() { public void setTextAnchorPageNumberAttribute(Integer textAnchorPageNumberValue) { TextAnchorPageNumberAttribute attr = new TextAnchorPageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textAnchorPageNumberValue.intValue()); + attr.setValue(textAnchorPageNumberValue.toString()); } /** @@ -4847,7 +4847,7 @@ public void setTextAnimationDirectionAttribute(String textAnimationDirectionValu public Integer getTextAnimationRepeatAttribute() { TextAnimationRepeatAttribute attr = (TextAnimationRepeatAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "animation-repeat"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -4860,7 +4860,7 @@ public Integer getTextAnimationRepeatAttribute() { public void setTextAnimationRepeatAttribute(Integer textAnimationRepeatValue) { TextAnimationRepeatAttribute attr = new TextAnimationRepeatAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textAnimationRepeatValue.intValue()); + attr.setValue(textAnimationRepeatValue.toString()); } /** @@ -4871,7 +4871,7 @@ public void setTextAnimationRepeatAttribute(Integer textAnimationRepeatValue) { public Boolean getTextAnimationStartInsideAttribute() { TextAnimationStartInsideAttribute attr = (TextAnimationStartInsideAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "animation-start-inside"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -4884,7 +4884,7 @@ public Boolean getTextAnimationStartInsideAttribute() { public void setTextAnimationStartInsideAttribute(Boolean textAnimationStartInsideValue) { TextAnimationStartInsideAttribute attr = new TextAnimationStartInsideAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textAnimationStartInsideValue.booleanValue()); + attr.setValue(textAnimationStartInsideValue.toString()); } /** @@ -4919,7 +4919,7 @@ public void setTextAnimationStepsAttribute(String textAnimationStepsValue) { public Boolean getTextAnimationStopInsideAttribute() { TextAnimationStopInsideAttribute attr = (TextAnimationStopInsideAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "animation-stop-inside"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -4932,7 +4932,7 @@ public Boolean getTextAnimationStopInsideAttribute() { public void setTextAnimationStopInsideAttribute(Boolean textAnimationStopInsideValue) { TextAnimationStopInsideAttribute attr = new TextAnimationStopInsideAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textAnimationStopInsideValue.booleanValue()); + attr.setValue(textAnimationStopInsideValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleHeaderElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleHeaderElement.java index 82418d9c12..28ddec9c76 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleHeaderElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleHeaderElement.java @@ -90,7 +90,7 @@ public OdfName getOdfName() { public Boolean getStyleDisplayAttribute() { StyleDisplayAttribute attr = (StyleDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(StyleDisplayAttribute.DEFAULT_VALUE); } @@ -103,7 +103,7 @@ public Boolean getStyleDisplayAttribute() { public void setStyleDisplayAttribute(Boolean styleDisplayValue) { StyleDisplayAttribute attr = new StyleDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleDisplayValue.booleanValue()); + attr.setValue(styleDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleHeaderFooterPropertiesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleHeaderFooterPropertiesElement.java index 41674c70c4..8214c3bb0e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleHeaderFooterPropertiesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleHeaderFooterPropertiesElement.java @@ -698,7 +698,7 @@ public void setStyleBorderLineWidthTopAttribute(String styleBorderLineWidthTopVa public Boolean getStyleDynamicSpacingAttribute() { StyleDynamicSpacingAttribute attr = (StyleDynamicSpacingAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "dynamic-spacing"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -711,7 +711,7 @@ public Boolean getStyleDynamicSpacingAttribute() { public void setStyleDynamicSpacingAttribute(Boolean styleDynamicSpacingValue) { StyleDynamicSpacingAttribute attr = new StyleDynamicSpacingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleDynamicSpacingValue.booleanValue()); + attr.setValue(styleDynamicSpacingValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleHeaderLeftElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleHeaderLeftElement.java index 55c0ea1927..2cf19eeee2 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleHeaderLeftElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleHeaderLeftElement.java @@ -90,7 +90,7 @@ public OdfName getOdfName() { public Boolean getStyleDisplayAttribute() { StyleDisplayAttribute attr = (StyleDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(StyleDisplayAttribute.DEFAULT_VALUE); } @@ -103,7 +103,7 @@ public Boolean getStyleDisplayAttribute() { public void setStyleDisplayAttribute(Boolean styleDisplayValue) { StyleDisplayAttribute attr = new StyleDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleDisplayValue.booleanValue()); + attr.setValue(styleDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StylePageLayoutPropertiesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StylePageLayoutPropertiesElement.java index a8fcb1db74..f3097d9a1e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StylePageLayoutPropertiesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StylePageLayoutPropertiesElement.java @@ -822,7 +822,7 @@ public void setStyleBorderLineWidthTopAttribute(String styleBorderLineWidthTopVa public Integer getStyleFirstPageNumberAttribute() { StyleFirstPageNumberAttribute attr = (StyleFirstPageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "first-page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -835,7 +835,7 @@ public Integer getStyleFirstPageNumberAttribute() { public void setStyleFirstPageNumberAttribute(Integer styleFirstPageNumberValue) { StyleFirstPageNumberAttribute attr = new StyleFirstPageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleFirstPageNumberValue.intValue()); + attr.setValue(styleFirstPageNumberValue.toString()); } /** @@ -942,7 +942,7 @@ public void setStyleLayoutGridColorAttribute(String styleLayoutGridColorValue) { public Boolean getStyleLayoutGridDisplayAttribute() { StyleLayoutGridDisplayAttribute attr = (StyleLayoutGridDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "layout-grid-display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -955,7 +955,7 @@ public Boolean getStyleLayoutGridDisplayAttribute() { public void setStyleLayoutGridDisplayAttribute(Boolean styleLayoutGridDisplayValue) { StyleLayoutGridDisplayAttribute attr = new StyleLayoutGridDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleLayoutGridDisplayValue.booleanValue()); + attr.setValue(styleLayoutGridDisplayValue.toString()); } /** @@ -966,7 +966,7 @@ public void setStyleLayoutGridDisplayAttribute(Boolean styleLayoutGridDisplayVal public Integer getStyleLayoutGridLinesAttribute() { StyleLayoutGridLinesAttribute attr = (StyleLayoutGridLinesAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "layout-grid-lines"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -979,7 +979,7 @@ public Integer getStyleLayoutGridLinesAttribute() { public void setStyleLayoutGridLinesAttribute(Integer styleLayoutGridLinesValue) { StyleLayoutGridLinesAttribute attr = new StyleLayoutGridLinesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleLayoutGridLinesValue.intValue()); + attr.setValue(styleLayoutGridLinesValue.toString()); } /** @@ -1014,7 +1014,7 @@ public void setStyleLayoutGridModeAttribute(String styleLayoutGridModeValue) { public Boolean getStyleLayoutGridPrintAttribute() { StyleLayoutGridPrintAttribute attr = (StyleLayoutGridPrintAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "layout-grid-print"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1027,7 +1027,7 @@ public Boolean getStyleLayoutGridPrintAttribute() { public void setStyleLayoutGridPrintAttribute(Boolean styleLayoutGridPrintValue) { StyleLayoutGridPrintAttribute attr = new StyleLayoutGridPrintAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleLayoutGridPrintValue.booleanValue()); + attr.setValue(styleLayoutGridPrintValue.toString()); } /** @@ -1038,7 +1038,7 @@ public void setStyleLayoutGridPrintAttribute(Boolean styleLayoutGridPrintValue) public Boolean getStyleLayoutGridRubyBelowAttribute() { StyleLayoutGridRubyBelowAttribute attr = (StyleLayoutGridRubyBelowAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "layout-grid-ruby-below"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1051,7 +1051,7 @@ public Boolean getStyleLayoutGridRubyBelowAttribute() { public void setStyleLayoutGridRubyBelowAttribute(Boolean styleLayoutGridRubyBelowValue) { StyleLayoutGridRubyBelowAttribute attr = new StyleLayoutGridRubyBelowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleLayoutGridRubyBelowValue.booleanValue()); + attr.setValue(styleLayoutGridRubyBelowValue.toString()); } /** @@ -1086,7 +1086,7 @@ public void setStyleLayoutGridRubyHeightAttribute(String styleLayoutGridRubyHeig public Boolean getStyleLayoutGridSnapToAttribute() { StyleLayoutGridSnapToAttribute attr = (StyleLayoutGridSnapToAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "layout-grid-snap-to"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1099,7 +1099,7 @@ public Boolean getStyleLayoutGridSnapToAttribute() { public void setStyleLayoutGridSnapToAttribute(Boolean styleLayoutGridSnapToValue) { StyleLayoutGridSnapToAttribute attr = new StyleLayoutGridSnapToAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleLayoutGridSnapToValue.booleanValue()); + attr.setValue(styleLayoutGridSnapToValue.toString()); } /** @@ -1110,7 +1110,7 @@ public void setStyleLayoutGridSnapToAttribute(Boolean styleLayoutGridSnapToValue public Boolean getStyleLayoutGridStandardModeAttribute() { StyleLayoutGridStandardModeAttribute attr = (StyleLayoutGridStandardModeAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "layout-grid-standard-mode"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1123,7 +1123,7 @@ public Boolean getStyleLayoutGridStandardModeAttribute() { public void setStyleLayoutGridStandardModeAttribute(Boolean styleLayoutGridStandardModeValue) { StyleLayoutGridStandardModeAttribute attr = new StyleLayoutGridStandardModeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleLayoutGridStandardModeValue.booleanValue()); + attr.setValue(styleLayoutGridStandardModeValue.toString()); } /** @@ -1160,7 +1160,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1173,7 +1173,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -1376,7 +1376,7 @@ public void setStyleScaleToAttribute(String styleScaleToValue) { public Integer getStyleScaleToPagesAttribute() { StyleScaleToPagesAttribute attr = (StyleScaleToPagesAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "scale-to-pages"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1389,7 +1389,7 @@ public Integer getStyleScaleToPagesAttribute() { public void setStyleScaleToPagesAttribute(Integer styleScaleToPagesValue) { StyleScaleToPagesAttribute attr = new StyleScaleToPagesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleScaleToPagesValue.intValue()); + attr.setValue(styleScaleToPagesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleParagraphPropertiesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleParagraphPropertiesElement.java index e5a22902c1..04af685cd0 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleParagraphPropertiesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleParagraphPropertiesElement.java @@ -498,7 +498,7 @@ public void setFoHyphenationKeepAttribute(String foHyphenationKeepValue) { public Integer getFoHyphenationLadderCountAttribute() { FoHyphenationLadderCountAttribute attr = (FoHyphenationLadderCountAttribute) getOdfAttribute(OdfDocumentNamespace.FO, "hyphenation-ladder-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -511,7 +511,7 @@ public Integer getFoHyphenationLadderCountAttribute() { public void setFoHyphenationLadderCountAttribute(Integer foHyphenationLadderCountValue) { FoHyphenationLadderCountAttribute attr = new FoHyphenationLadderCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(foHyphenationLadderCountValue.intValue()); + attr.setValue(foHyphenationLadderCountValue.toString()); } /** @@ -714,7 +714,7 @@ public void setFoMarginTopAttribute(String foMarginTopValue) { public Integer getFoOrphansAttribute() { FoOrphansAttribute attr = (FoOrphansAttribute) getOdfAttribute(OdfDocumentNamespace.FO, "orphans"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -727,7 +727,7 @@ public Integer getFoOrphansAttribute() { public void setFoOrphansAttribute(Integer foOrphansValue) { FoOrphansAttribute attr = new FoOrphansAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(foOrphansValue.intValue()); + attr.setValue(foOrphansValue.toString()); } /** @@ -930,7 +930,7 @@ public void setFoTextIndentAttribute(String foTextIndentValue) { public Integer getFoWidowsAttribute() { FoWidowsAttribute attr = (FoWidowsAttribute) getOdfAttribute(OdfDocumentNamespace.FO, "widows"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -943,7 +943,7 @@ public Integer getFoWidowsAttribute() { public void setFoWidowsAttribute(Integer foWidowsValue) { FoWidowsAttribute attr = new FoWidowsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(foWidowsValue.intValue()); + attr.setValue(foWidowsValue.toString()); } /** @@ -954,7 +954,7 @@ public void setFoWidowsAttribute(Integer foWidowsValue) { public Boolean getStyleAutoTextIndentAttribute() { StyleAutoTextIndentAttribute attr = (StyleAutoTextIndentAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "auto-text-indent"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -967,7 +967,7 @@ public Boolean getStyleAutoTextIndentAttribute() { public void setStyleAutoTextIndentAttribute(Boolean styleAutoTextIndentValue) { StyleAutoTextIndentAttribute attr = new StyleAutoTextIndentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleAutoTextIndentValue.booleanValue()); + attr.setValue(styleAutoTextIndentValue.toString()); } /** @@ -1122,7 +1122,7 @@ public void setStyleBorderLineWidthTopAttribute(String styleBorderLineWidthTopVa public Boolean getStyleFontIndependentLineSpacingAttribute() { StyleFontIndependentLineSpacingAttribute attr = (StyleFontIndependentLineSpacingAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "font-independent-line-spacing"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1135,7 +1135,7 @@ public Boolean getStyleFontIndependentLineSpacingAttribute() { public void setStyleFontIndependentLineSpacingAttribute(Boolean styleFontIndependentLineSpacingValue) { StyleFontIndependentLineSpacingAttribute attr = new StyleFontIndependentLineSpacingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleFontIndependentLineSpacingValue.booleanValue()); + attr.setValue(styleFontIndependentLineSpacingValue.toString()); } /** @@ -1146,7 +1146,7 @@ public void setStyleFontIndependentLineSpacingAttribute(Boolean styleFontIndepen public Boolean getStyleJoinBorderAttribute() { StyleJoinBorderAttribute attr = (StyleJoinBorderAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "join-border"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1159,7 +1159,7 @@ public Boolean getStyleJoinBorderAttribute() { public void setStyleJoinBorderAttribute(Boolean styleJoinBorderValue) { StyleJoinBorderAttribute attr = new StyleJoinBorderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleJoinBorderValue.booleanValue()); + attr.setValue(styleJoinBorderValue.toString()); } /** @@ -1170,7 +1170,7 @@ public void setStyleJoinBorderAttribute(Boolean styleJoinBorderValue) { public Boolean getStyleJustifySingleWordAttribute() { StyleJustifySingleWordAttribute attr = (StyleJustifySingleWordAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "justify-single-word"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1183,7 +1183,7 @@ public Boolean getStyleJustifySingleWordAttribute() { public void setStyleJustifySingleWordAttribute(Boolean styleJustifySingleWordValue) { StyleJustifySingleWordAttribute attr = new StyleJustifySingleWordAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleJustifySingleWordValue.booleanValue()); + attr.setValue(styleJustifySingleWordValue.toString()); } /** @@ -1266,7 +1266,7 @@ public void setStyleLineSpacingAttribute(String styleLineSpacingValue) { public Integer getStylePageNumberAttribute() { StylePageNumberAttribute attr = (StylePageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1279,7 +1279,7 @@ public Integer getStylePageNumberAttribute() { public void setStylePageNumberAttribute(Integer stylePageNumberValue) { StylePageNumberAttribute attr = new StylePageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(stylePageNumberValue.intValue()); + attr.setValue(stylePageNumberValue.toString()); } /** @@ -1314,7 +1314,7 @@ public void setStylePunctuationWrapAttribute(String stylePunctuationWrapValue) { public Boolean getStyleRegisterTrueAttribute() { StyleRegisterTrueAttribute attr = (StyleRegisterTrueAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "register-true"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1327,7 +1327,7 @@ public Boolean getStyleRegisterTrueAttribute() { public void setStyleRegisterTrueAttribute(Boolean styleRegisterTrueValue) { StyleRegisterTrueAttribute attr = new StyleRegisterTrueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleRegisterTrueValue.booleanValue()); + attr.setValue(styleRegisterTrueValue.toString()); } /** @@ -1362,7 +1362,7 @@ public void setStyleShadowAttribute(String styleShadowValue) { public Boolean getStyleSnapToLayoutGridAttribute() { StyleSnapToLayoutGridAttribute attr = (StyleSnapToLayoutGridAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "snap-to-layout-grid"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1375,7 +1375,7 @@ public Boolean getStyleSnapToLayoutGridAttribute() { public void setStyleSnapToLayoutGridAttribute(Boolean styleSnapToLayoutGridValue) { StyleSnapToLayoutGridAttribute attr = new StyleSnapToLayoutGridAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleSnapToLayoutGridValue.booleanValue()); + attr.setValue(styleSnapToLayoutGridValue.toString()); } /** @@ -1482,7 +1482,7 @@ public void setStyleWritingModeAttribute(String styleWritingModeValue) { public Boolean getStyleWritingModeAutomaticAttribute() { StyleWritingModeAutomaticAttribute attr = (StyleWritingModeAutomaticAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "writing-mode-automatic"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1495,7 +1495,7 @@ public Boolean getStyleWritingModeAutomaticAttribute() { public void setStyleWritingModeAutomaticAttribute(Boolean styleWritingModeAutomaticValue) { StyleWritingModeAutomaticAttribute attr = new StyleWritingModeAutomaticAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleWritingModeAutomaticValue.booleanValue()); + attr.setValue(styleWritingModeAutomaticValue.toString()); } /** @@ -1506,7 +1506,7 @@ public void setStyleWritingModeAutomaticAttribute(Boolean styleWritingModeAutoma public Integer getTextLineNumberAttribute() { TextLineNumberAttribute attr = (TextLineNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "line-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1519,7 +1519,7 @@ public Integer getTextLineNumberAttribute() { public void setTextLineNumberAttribute(Integer textLineNumberValue) { TextLineNumberAttribute attr = new TextLineNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textLineNumberValue.intValue()); + attr.setValue(textLineNumberValue.toString()); } /** @@ -1530,7 +1530,7 @@ public void setTextLineNumberAttribute(Integer textLineNumberValue) { public Boolean getTextNumberLinesAttribute() { TextNumberLinesAttribute attr = (TextNumberLinesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "number-lines"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1543,7 +1543,7 @@ public Boolean getTextNumberLinesAttribute() { public void setTextNumberLinesAttribute(Boolean textNumberLinesValue) { TextNumberLinesAttribute attr = new TextNumberLinesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textNumberLinesValue.booleanValue()); + attr.setValue(textNumberLinesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleSectionPropertiesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleSectionPropertiesElement.java index d518dacafb..1467057800 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleSectionPropertiesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleSectionPropertiesElement.java @@ -171,7 +171,7 @@ public void setFoMarginRightAttribute(String foMarginRightValue) { public Boolean getStyleEditableAttribute() { StyleEditableAttribute attr = (StyleEditableAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "editable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -184,7 +184,7 @@ public Boolean getStyleEditableAttribute() { public void setStyleEditableAttribute(Boolean styleEditableValue) { StyleEditableAttribute attr = new StyleEditableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleEditableValue.booleanValue()); + attr.setValue(styleEditableValue.toString()); } /** @@ -195,7 +195,7 @@ public void setStyleEditableAttribute(Boolean styleEditableValue) { public Boolean getStyleProtectAttribute() { StyleProtectAttribute attr = (StyleProtectAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "protect"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -208,7 +208,7 @@ public Boolean getStyleProtectAttribute() { public void setStyleProtectAttribute(Boolean styleProtectValue) { StyleProtectAttribute attr = new StyleProtectAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleProtectValue.booleanValue()); + attr.setValue(styleProtectValue.toString()); } /** @@ -243,7 +243,7 @@ public void setStyleWritingModeAttribute(String styleWritingModeValue) { public Boolean getTextDontBalanceTextColumnsAttribute() { TextDontBalanceTextColumnsAttribute attr = (TextDontBalanceTextColumnsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "dont-balance-text-columns"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -256,7 +256,7 @@ public Boolean getTextDontBalanceTextColumnsAttribute() { public void setTextDontBalanceTextColumnsAttribute(Boolean textDontBalanceTextColumnsValue) { TextDontBalanceTextColumnsAttribute attr = new TextDontBalanceTextColumnsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textDontBalanceTextColumnsValue.booleanValue()); + attr.setValue(textDontBalanceTextColumnsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleStyleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleStyleElement.java index b71d41ee0b..b8f0eb4a5d 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleStyleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleStyleElement.java @@ -81,7 +81,7 @@ public OdfName getOdfName() { public Boolean getStyleAutoUpdateAttribute() { StyleAutoUpdateAttribute attr = (StyleAutoUpdateAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "auto-update"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(StyleAutoUpdateAttribute.DEFAULT_VALUE); } @@ -94,7 +94,7 @@ public Boolean getStyleAutoUpdateAttribute() { public void setStyleAutoUpdateAttribute(Boolean styleAutoUpdateValue) { StyleAutoUpdateAttribute attr = new StyleAutoUpdateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleAutoUpdateValue.booleanValue()); + attr.setValue(styleAutoUpdateValue.toString()); } /** @@ -153,7 +153,7 @@ public void setStyleDataStyleNameAttribute(String styleDataStyleNameValue) { public Integer getStyleDefaultOutlineLevelAttribute() { StyleDefaultOutlineLevelAttribute attr = (StyleDefaultOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "default-outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -166,7 +166,7 @@ public Integer getStyleDefaultOutlineLevelAttribute() { public void setStyleDefaultOutlineLevelAttribute(Integer styleDefaultOutlineLevelValue) { StyleDefaultOutlineLevelAttribute attr = new StyleDefaultOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleDefaultOutlineLevelValue.intValue()); + attr.setValue(styleDefaultOutlineLevelValue.toString()); } /** @@ -227,7 +227,7 @@ public void setStyleFamilyAttribute(String styleFamilyValue) { public Integer getStyleListLevelAttribute() { StyleListLevelAttribute attr = (StyleListLevelAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "list-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -240,7 +240,7 @@ public Integer getStyleListLevelAttribute() { public void setStyleListLevelAttribute(Integer styleListLevelValue) { StyleListLevelAttribute attr = new StyleListLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleListLevelValue.intValue()); + attr.setValue(styleListLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleTableCellPropertiesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleTableCellPropertiesElement.java index 7251e77495..492823e929 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleTableCellPropertiesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleTableCellPropertiesElement.java @@ -638,7 +638,7 @@ public void setStyleCellProtectAttribute(String styleCellProtectValue) { public Integer getStyleDecimalPlacesAttribute() { StyleDecimalPlacesAttribute attr = (StyleDecimalPlacesAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "decimal-places"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -651,7 +651,7 @@ public Integer getStyleDecimalPlacesAttribute() { public void setStyleDecimalPlacesAttribute(Integer styleDecimalPlacesValue) { StyleDecimalPlacesAttribute attr = new StyleDecimalPlacesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleDecimalPlacesValue.intValue()); + attr.setValue(styleDecimalPlacesValue.toString()); } /** @@ -806,7 +806,7 @@ public void setStyleGlyphOrientationVerticalAttribute(String styleGlyphOrientati public Boolean getStylePrintContentAttribute() { StylePrintContentAttribute attr = (StylePrintContentAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "print-content"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -819,7 +819,7 @@ public Boolean getStylePrintContentAttribute() { public void setStylePrintContentAttribute(Boolean stylePrintContentValue) { StylePrintContentAttribute attr = new StylePrintContentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(stylePrintContentValue.booleanValue()); + attr.setValue(stylePrintContentValue.toString()); } /** @@ -830,7 +830,7 @@ public void setStylePrintContentAttribute(Boolean stylePrintContentValue) { public Boolean getStyleRepeatContentAttribute() { StyleRepeatContentAttribute attr = (StyleRepeatContentAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "repeat-content"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -843,7 +843,7 @@ public Boolean getStyleRepeatContentAttribute() { public void setStyleRepeatContentAttribute(Boolean styleRepeatContentValue) { StyleRepeatContentAttribute attr = new StyleRepeatContentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleRepeatContentValue.booleanValue()); + attr.setValue(styleRepeatContentValue.toString()); } /** @@ -926,7 +926,7 @@ public void setStyleShadowAttribute(String styleShadowValue) { public Boolean getStyleShrinkToFitAttribute() { StyleShrinkToFitAttribute attr = (StyleShrinkToFitAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "shrink-to-fit"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -939,7 +939,7 @@ public Boolean getStyleShrinkToFitAttribute() { public void setStyleShrinkToFitAttribute(Boolean styleShrinkToFitValue) { StyleShrinkToFitAttribute attr = new StyleShrinkToFitAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleShrinkToFitValue.booleanValue()); + attr.setValue(styleShrinkToFitValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleTableColumnPropertiesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleTableColumnPropertiesElement.java index 9025ed561b..fd86421f50 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleTableColumnPropertiesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleTableColumnPropertiesElement.java @@ -186,7 +186,7 @@ public void setStyleRelColumnWidthAttribute(String styleRelColumnWidthValue) { public Boolean getStyleUseOptimalColumnWidthAttribute() { StyleUseOptimalColumnWidthAttribute attr = (StyleUseOptimalColumnWidthAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "use-optimal-column-width"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -199,7 +199,7 @@ public Boolean getStyleUseOptimalColumnWidthAttribute() { public void setStyleUseOptimalColumnWidthAttribute(Boolean styleUseOptimalColumnWidthValue) { StyleUseOptimalColumnWidthAttribute attr = new StyleUseOptimalColumnWidthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleUseOptimalColumnWidthValue.booleanValue()); + attr.setValue(styleUseOptimalColumnWidthValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleTablePropertiesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleTablePropertiesElement.java index f118a86ec9..1c51bac06a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleTablePropertiesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleTablePropertiesElement.java @@ -358,7 +358,7 @@ public void setFoMarginTopAttribute(String foMarginTopValue) { public Boolean getStyleMayBreakBetweenRowsAttribute() { StyleMayBreakBetweenRowsAttribute attr = (StyleMayBreakBetweenRowsAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "may-break-between-rows"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -371,7 +371,7 @@ public Boolean getStyleMayBreakBetweenRowsAttribute() { public void setStyleMayBreakBetweenRowsAttribute(Boolean styleMayBreakBetweenRowsValue) { StyleMayBreakBetweenRowsAttribute attr = new StyleMayBreakBetweenRowsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleMayBreakBetweenRowsValue.booleanValue()); + attr.setValue(styleMayBreakBetweenRowsValue.toString()); } /** @@ -382,7 +382,7 @@ public void setStyleMayBreakBetweenRowsAttribute(Boolean styleMayBreakBetweenRow public Integer getStylePageNumberAttribute() { StylePageNumberAttribute attr = (StylePageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -395,7 +395,7 @@ public Integer getStylePageNumberAttribute() { public void setStylePageNumberAttribute(Integer stylePageNumberValue) { StylePageNumberAttribute attr = new StylePageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(stylePageNumberValue.intValue()); + attr.setValue(stylePageNumberValue.toString()); } /** @@ -550,7 +550,7 @@ public void setTableBorderModelAttribute(String tableBorderModelValue) { public Boolean getTableDisplayAttribute() { TableDisplayAttribute attr = (TableDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -563,7 +563,7 @@ public Boolean getTableDisplayAttribute() { public void setTableDisplayAttribute(Boolean tableDisplayValue) { TableDisplayAttribute attr = new TableDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayValue.booleanValue()); + attr.setValue(tableDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleTableRowPropertiesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleTableRowPropertiesElement.java index 49c852f28b..eaf9077f03 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleTableRowPropertiesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleTableRowPropertiesElement.java @@ -242,7 +242,7 @@ public void setStyleRowHeightAttribute(String styleRowHeightValue) { public Boolean getStyleUseOptimalRowHeightAttribute() { StyleUseOptimalRowHeightAttribute attr = (StyleUseOptimalRowHeightAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "use-optimal-row-height"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -255,7 +255,7 @@ public Boolean getStyleUseOptimalRowHeightAttribute() { public void setStyleUseOptimalRowHeightAttribute(Boolean styleUseOptimalRowHeightValue) { StyleUseOptimalRowHeightAttribute attr = new StyleUseOptimalRowHeightAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleUseOptimalRowHeightValue.booleanValue()); + attr.setValue(styleUseOptimalRowHeightValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleTextPropertiesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleTextPropertiesElement.java index 34108e5c71..77b3a2f028 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleTextPropertiesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/style/StyleTextPropertiesElement.java @@ -598,7 +598,7 @@ public void setFoFontWeightAttribute(String foFontWeightValue) { public Boolean getFoHyphenateAttribute() { FoHyphenateAttribute attr = (FoHyphenateAttribute) getOdfAttribute(OdfDocumentNamespace.FO, "hyphenate"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -611,7 +611,7 @@ public Boolean getFoHyphenateAttribute() { public void setFoHyphenateAttribute(Boolean foHyphenateValue) { FoHyphenateAttribute attr = new FoHyphenateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(foHyphenateValue.booleanValue()); + attr.setValue(foHyphenateValue.toString()); } /** @@ -622,7 +622,7 @@ public void setFoHyphenateAttribute(Boolean foHyphenateValue) { public Integer getFoHyphenationPushCharCountAttribute() { FoHyphenationPushCharCountAttribute attr = (FoHyphenationPushCharCountAttribute) getOdfAttribute(OdfDocumentNamespace.FO, "hyphenation-push-char-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -635,7 +635,7 @@ public Integer getFoHyphenationPushCharCountAttribute() { public void setFoHyphenationPushCharCountAttribute(Integer foHyphenationPushCharCountValue) { FoHyphenationPushCharCountAttribute attr = new FoHyphenationPushCharCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(foHyphenationPushCharCountValue.intValue()); + attr.setValue(foHyphenationPushCharCountValue.toString()); } /** @@ -646,7 +646,7 @@ public void setFoHyphenationPushCharCountAttribute(Integer foHyphenationPushChar public Integer getFoHyphenationRemainCharCountAttribute() { FoHyphenationRemainCharCountAttribute attr = (FoHyphenationRemainCharCountAttribute) getOdfAttribute(OdfDocumentNamespace.FO, "hyphenation-remain-char-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -659,7 +659,7 @@ public Integer getFoHyphenationRemainCharCountAttribute() { public void setFoHyphenationRemainCharCountAttribute(Integer foHyphenationRemainCharCountValue) { FoHyphenationRemainCharCountAttribute attr = new FoHyphenationRemainCharCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(foHyphenationRemainCharCountValue.intValue()); + attr.setValue(foHyphenationRemainCharCountValue.toString()); } /** @@ -1534,7 +1534,7 @@ public void setStyleLanguageComplexAttribute(String styleLanguageComplexValue) { public Boolean getStyleLetterKerningAttribute() { StyleLetterKerningAttribute attr = (StyleLetterKerningAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "letter-kerning"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1547,7 +1547,7 @@ public Boolean getStyleLetterKerningAttribute() { public void setStyleLetterKerningAttribute(Boolean styleLetterKerningValue) { StyleLetterKerningAttribute attr = new StyleLetterKerningAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleLetterKerningValue.booleanValue()); + attr.setValue(styleLetterKerningValue.toString()); } /** @@ -1702,7 +1702,7 @@ public void setStyleScriptTypeAttribute(String styleScriptTypeValue) { public Boolean getStyleTextBlinkingAttribute() { StyleTextBlinkingAttribute attr = (StyleTextBlinkingAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "text-blinking"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1715,7 +1715,7 @@ public Boolean getStyleTextBlinkingAttribute() { public void setStyleTextBlinkingAttribute(Boolean styleTextBlinkingValue) { StyleTextBlinkingAttribute attr = new StyleTextBlinkingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleTextBlinkingValue.booleanValue()); + attr.setValue(styleTextBlinkingValue.toString()); } /** @@ -1990,7 +1990,7 @@ public void setStyleTextLineThroughWidthAttribute(String styleTextLineThroughWid public Boolean getStyleTextOutlineAttribute() { StyleTextOutlineAttribute attr = (StyleTextOutlineAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "text-outline"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2003,7 +2003,7 @@ public Boolean getStyleTextOutlineAttribute() { public void setStyleTextOutlineAttribute(Boolean styleTextOutlineValue) { StyleTextOutlineAttribute attr = new StyleTextOutlineAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleTextOutlineValue.booleanValue()); + attr.setValue(styleTextOutlineValue.toString()); } /** @@ -2350,7 +2350,7 @@ public void setStyleTextUnderlineWidthAttribute(String styleTextUnderlineWidthVa public Boolean getStyleUseWindowFontColorAttribute() { StyleUseWindowFontColorAttribute attr = (StyleUseWindowFontColorAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "use-window-font-color"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2363,7 +2363,7 @@ public Boolean getStyleUseWindowFontColorAttribute() { public void setStyleUseWindowFontColorAttribute(Boolean styleUseWindowFontColorValue) { StyleUseWindowFontColorAttribute attr = new StyleUseWindowFontColorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleUseWindowFontColorValue.booleanValue()); + attr.setValue(styleUseWindowFontColorValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/svg/SvgStopElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/svg/SvgStopElement.java index 0f7e0d5c9f..24dd32b903 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/svg/SvgStopElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/svg/SvgStopElement.java @@ -120,7 +120,7 @@ public void setSvgStopColorAttribute(String svgStopColorValue) { public Double getSvgStopOpacityAttribute() { SvgStopOpacityAttribute attr = (SvgStopOpacityAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "stop-opacity"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -133,7 +133,7 @@ public Double getSvgStopOpacityAttribute() { public void setSvgStopOpacityAttribute(Double svgStopOpacityValue) { SvgStopOpacityAttribute attr = new SvgStopOpacityAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(svgStopOpacityValue.doubleValue()); + attr.setValue(svgStopOpacityValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java index c0529efe7c..95542cf15f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java @@ -74,7 +74,7 @@ public OdfName getOdfName() { public Boolean getTableAutomaticFindLabelsAttribute() { TableAutomaticFindLabelsAttribute attr = (TableAutomaticFindLabelsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "automatic-find-labels"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableAutomaticFindLabelsAttribute.DEFAULT_VALUE); } @@ -87,7 +87,7 @@ public Boolean getTableAutomaticFindLabelsAttribute() { public void setTableAutomaticFindLabelsAttribute(Boolean tableAutomaticFindLabelsValue) { TableAutomaticFindLabelsAttribute attr = new TableAutomaticFindLabelsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableAutomaticFindLabelsValue.booleanValue()); + attr.setValue(tableAutomaticFindLabelsValue.toString()); } /** @@ -98,7 +98,7 @@ public void setTableAutomaticFindLabelsAttribute(Boolean tableAutomaticFindLabel public Boolean getTableCaseSensitiveAttribute() { TableCaseSensitiveAttribute attr = (TableCaseSensitiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "case-sensitive"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableCaseSensitiveAttribute.DEFAULT_VALUE_TRUE); } @@ -111,7 +111,7 @@ public Boolean getTableCaseSensitiveAttribute() { public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { TableCaseSensitiveAttribute attr = new TableCaseSensitiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableCaseSensitiveValue.booleanValue()); + attr.setValue(tableCaseSensitiveValue.toString()); } /** @@ -122,7 +122,7 @@ public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { public Integer getTableNullYearAttribute() { TableNullYearAttribute attr = (TableNullYearAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "null-year"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNullYearAttribute.DEFAULT_VALUE); } @@ -135,7 +135,7 @@ public Integer getTableNullYearAttribute() { public void setTableNullYearAttribute(Integer tableNullYearValue) { TableNullYearAttribute attr = new TableNullYearAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNullYearValue.intValue()); + attr.setValue(tableNullYearValue.toString()); } /** @@ -146,7 +146,7 @@ public void setTableNullYearAttribute(Integer tableNullYearValue) { public Boolean getTablePrecisionAsShownAttribute() { TablePrecisionAsShownAttribute attr = (TablePrecisionAsShownAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "precision-as-shown"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TablePrecisionAsShownAttribute.DEFAULT_VALUE); } @@ -159,7 +159,7 @@ public Boolean getTablePrecisionAsShownAttribute() { public void setTablePrecisionAsShownAttribute(Boolean tablePrecisionAsShownValue) { TablePrecisionAsShownAttribute attr = new TablePrecisionAsShownAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tablePrecisionAsShownValue.booleanValue()); + attr.setValue(tablePrecisionAsShownValue.toString()); } /** @@ -170,7 +170,7 @@ public void setTablePrecisionAsShownAttribute(Boolean tablePrecisionAsShownValue public Boolean getTableSearchCriteriaMustApplyToWholeCellAttribute() { TableSearchCriteriaMustApplyToWholeCellAttribute attr = (TableSearchCriteriaMustApplyToWholeCellAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "search-criteria-must-apply-to-whole-cell"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableSearchCriteriaMustApplyToWholeCellAttribute.DEFAULT_VALUE); } @@ -183,7 +183,7 @@ public Boolean getTableSearchCriteriaMustApplyToWholeCellAttribute() { public void setTableSearchCriteriaMustApplyToWholeCellAttribute(Boolean tableSearchCriteriaMustApplyToWholeCellValue) { TableSearchCriteriaMustApplyToWholeCellAttribute attr = new TableSearchCriteriaMustApplyToWholeCellAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableSearchCriteriaMustApplyToWholeCellValue.booleanValue()); + attr.setValue(tableSearchCriteriaMustApplyToWholeCellValue.toString()); } /** @@ -194,7 +194,7 @@ public void setTableSearchCriteriaMustApplyToWholeCellAttribute(Boolean tableSea public Boolean getTableUseRegularExpressionsAttribute() { TableUseRegularExpressionsAttribute attr = (TableUseRegularExpressionsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "use-regular-expressions"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableUseRegularExpressionsAttribute.DEFAULT_VALUE); } @@ -207,7 +207,7 @@ public Boolean getTableUseRegularExpressionsAttribute() { public void setTableUseRegularExpressionsAttribute(Boolean tableUseRegularExpressionsValue) { TableUseRegularExpressionsAttribute attr = new TableUseRegularExpressionsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableUseRegularExpressionsValue.booleanValue()); + attr.setValue(tableUseRegularExpressionsValue.toString()); } /** @@ -218,7 +218,7 @@ public void setTableUseRegularExpressionsAttribute(Boolean tableUseRegularExpres public Boolean getTableUseWildcardsAttribute() { TableUseWildcardsAttribute attr = (TableUseWildcardsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "use-wildcards"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableUseWildcardsAttribute.DEFAULT_VALUE); } @@ -231,7 +231,7 @@ public Boolean getTableUseWildcardsAttribute() { public void setTableUseWildcardsAttribute(Boolean tableUseWildcardsValue) { TableUseWildcardsAttribute attr = new TableUseWildcardsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableUseWildcardsValue.booleanValue()); + attr.setValue(tableUseWildcardsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableCellAddressElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableCellAddressElement.java index c2f3204924..daf535053b 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableCellAddressElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableCellAddressElement.java @@ -72,7 +72,7 @@ public OdfName getOdfName() { public Integer getTableColumnAttribute() { TableColumnAttribute attr = (TableColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Integer getTableColumnAttribute() { public void setTableColumnAttribute(Integer tableColumnValue) { TableColumnAttribute attr = new TableColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableColumnValue.intValue()); + attr.setValue(tableColumnValue.toString()); } /** @@ -98,7 +98,7 @@ public void setTableColumnAttribute(Integer tableColumnValue) { public Integer getTableRowAttribute() { TableRowAttribute attr = (TableRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -111,7 +111,7 @@ public Integer getTableRowAttribute() { public void setTableRowAttribute(Integer tableRowValue) { TableRowAttribute attr = new TableRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableRowValue.intValue()); + attr.setValue(tableRowValue.toString()); } /** @@ -124,7 +124,7 @@ public void setTableRowAttribute(Integer tableRowValue) { public Integer getTableTableAttribute() { TableTableAttribute attr = (TableTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -137,7 +137,7 @@ public Integer getTableTableAttribute() { public void setTableTableAttribute(Integer tableTableValue) { TableTableAttribute attr = new TableTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableTableValue.intValue()); + attr.setValue(tableTableValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableCellRangeSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableCellRangeSourceElement.java index 80183e8684..290f65d376 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableCellRangeSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableCellRangeSourceElement.java @@ -126,7 +126,7 @@ public void setTableFilterOptionsAttribute(String tableFilterOptionsValue) { public Integer getTableLastColumnSpannedAttribute() { TableLastColumnSpannedAttribute attr = (TableLastColumnSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "last-column-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -139,7 +139,7 @@ public Integer getTableLastColumnSpannedAttribute() { public void setTableLastColumnSpannedAttribute(Integer tableLastColumnSpannedValue) { TableLastColumnSpannedAttribute attr = new TableLastColumnSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableLastColumnSpannedValue.intValue()); + attr.setValue(tableLastColumnSpannedValue.toString()); } /** @@ -152,7 +152,7 @@ public void setTableLastColumnSpannedAttribute(Integer tableLastColumnSpannedVal public Integer getTableLastRowSpannedAttribute() { TableLastRowSpannedAttribute attr = (TableLastRowSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "last-row-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -165,7 +165,7 @@ public Integer getTableLastRowSpannedAttribute() { public void setTableLastRowSpannedAttribute(Integer tableLastRowSpannedValue) { TableLastRowSpannedAttribute attr = new TableLastRowSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableLastRowSpannedValue.intValue()); + attr.setValue(tableLastRowSpannedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableChangeTrackTableCellElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableChangeTrackTableCellElement.java index b05f4b0935..437bf9417e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableChangeTrackTableCellElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableChangeTrackTableCellElement.java @@ -80,7 +80,7 @@ public OdfName getOdfName() { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -93,7 +93,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -202,7 +202,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -215,7 +215,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** @@ -300,7 +300,7 @@ public void setTableFormulaAttribute(String tableFormulaValue) { public Boolean getTableMatrixCoveredAttribute() { TableMatrixCoveredAttribute attr = (TableMatrixCoveredAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "matrix-covered"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableMatrixCoveredAttribute.DEFAULT_VALUE); } @@ -313,7 +313,7 @@ public Boolean getTableMatrixCoveredAttribute() { public void setTableMatrixCoveredAttribute(Boolean tableMatrixCoveredValue) { TableMatrixCoveredAttribute attr = new TableMatrixCoveredAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableMatrixCoveredValue.booleanValue()); + attr.setValue(tableMatrixCoveredValue.toString()); } /** @@ -324,7 +324,7 @@ public void setTableMatrixCoveredAttribute(Boolean tableMatrixCoveredValue) { public Integer getTableNumberMatrixColumnsSpannedAttribute() { TableNumberMatrixColumnsSpannedAttribute attr = (TableNumberMatrixColumnsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-matrix-columns-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -337,7 +337,7 @@ public Integer getTableNumberMatrixColumnsSpannedAttribute() { public void setTableNumberMatrixColumnsSpannedAttribute(Integer tableNumberMatrixColumnsSpannedValue) { TableNumberMatrixColumnsSpannedAttribute attr = new TableNumberMatrixColumnsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberMatrixColumnsSpannedValue.intValue()); + attr.setValue(tableNumberMatrixColumnsSpannedValue.toString()); } /** @@ -348,7 +348,7 @@ public void setTableNumberMatrixColumnsSpannedAttribute(Integer tableNumberMatri public Integer getTableNumberMatrixRowsSpannedAttribute() { TableNumberMatrixRowsSpannedAttribute attr = (TableNumberMatrixRowsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-matrix-rows-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -361,7 +361,7 @@ public Integer getTableNumberMatrixRowsSpannedAttribute() { public void setTableNumberMatrixRowsSpannedAttribute(Integer tableNumberMatrixRowsSpannedValue) { TableNumberMatrixRowsSpannedAttribute attr = new TableNumberMatrixRowsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberMatrixRowsSpannedValue.intValue()); + attr.setValue(tableNumberMatrixRowsSpannedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableConsolidationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableConsolidationElement.java index 61852bc7a7..7a1abeb770 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableConsolidationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableConsolidationElement.java @@ -98,7 +98,7 @@ public void setTableFunctionAttribute(String tableFunctionValue) { public Boolean getTableLinkToSourceDataAttribute() { TableLinkToSourceDataAttribute attr = (TableLinkToSourceDataAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "link-to-source-data"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableLinkToSourceDataAttribute.DEFAULT_VALUE); } @@ -111,7 +111,7 @@ public Boolean getTableLinkToSourceDataAttribute() { public void setTableLinkToSourceDataAttribute(Boolean tableLinkToSourceDataValue) { TableLinkToSourceDataAttribute attr = new TableLinkToSourceDataAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableLinkToSourceDataValue.booleanValue()); + attr.setValue(tableLinkToSourceDataValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableContentValidationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableContentValidationElement.java index 92876594b5..8118e03599 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableContentValidationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableContentValidationElement.java @@ -73,7 +73,7 @@ public OdfName getOdfName() { public Boolean getTableAllowEmptyCellAttribute() { TableAllowEmptyCellAttribute attr = (TableAllowEmptyCellAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "allow-empty-cell"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableAllowEmptyCellAttribute.DEFAULT_VALUE); } @@ -86,7 +86,7 @@ public Boolean getTableAllowEmptyCellAttribute() { public void setTableAllowEmptyCellAttribute(Boolean tableAllowEmptyCellValue) { TableAllowEmptyCellAttribute attr = new TableAllowEmptyCellAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableAllowEmptyCellValue.booleanValue()); + attr.setValue(tableAllowEmptyCellValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDataPilotDisplayInfoElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDataPilotDisplayInfoElement.java index ed4b578990..5db30a3aa0 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDataPilotDisplayInfoElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDataPilotDisplayInfoElement.java @@ -125,7 +125,7 @@ public void setTableDisplayMemberModeAttribute(String tableDisplayMemberModeValu public Boolean getTableEnabledAttribute() { TableEnabledAttribute attr = (TableEnabledAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "enabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -138,7 +138,7 @@ public Boolean getTableEnabledAttribute() { public void setTableEnabledAttribute(Boolean tableEnabledValue) { TableEnabledAttribute attr = new TableEnabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableEnabledValue.booleanValue()); + attr.setValue(tableEnabledValue.toString()); } /** @@ -151,7 +151,7 @@ public void setTableEnabledAttribute(Boolean tableEnabledValue) { public Integer getTableMemberCountAttribute() { TableMemberCountAttribute attr = (TableMemberCountAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "member-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -164,7 +164,7 @@ public Integer getTableMemberCountAttribute() { public void setTableMemberCountAttribute(Integer tableMemberCountValue) { TableMemberCountAttribute attr = new TableMemberCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableMemberCountValue.intValue()); + attr.setValue(tableMemberCountValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDataPilotFieldElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDataPilotFieldElement.java index a6e8c2e2f6..8529a58d73 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDataPilotFieldElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDataPilotFieldElement.java @@ -197,7 +197,7 @@ public void setTableSourceFieldNameAttribute(String tableSourceFieldNameValue) { public Integer getTableUsedHierarchyAttribute() { TableUsedHierarchyAttribute attr = (TableUsedHierarchyAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "used-hierarchy"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableUsedHierarchyAttribute.DEFAULT_VALUE); } @@ -210,7 +210,7 @@ public Integer getTableUsedHierarchyAttribute() { public void setTableUsedHierarchyAttribute(Integer tableUsedHierarchyValue) { TableUsedHierarchyAttribute attr = new TableUsedHierarchyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableUsedHierarchyValue.intValue()); + attr.setValue(tableUsedHierarchyValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDataPilotGroupsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDataPilotGroupsElement.java index d3cb3948a3..83fad2b4f0 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDataPilotGroupsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDataPilotGroupsElement.java @@ -122,7 +122,7 @@ public void setTableDateStartAttribute(String tableDateStartValue) { public Double getTableEndAttribute() { TableEndAttribute attr = (TableEndAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -135,7 +135,7 @@ public Double getTableEndAttribute() { public void setTableEndAttribute(Double tableEndValue) { TableEndAttribute attr = new TableEndAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(tableEndValue.doubleValue()); + attr.setValue(tableEndValue.toString()); } /** @@ -198,7 +198,7 @@ public void setTableSourceFieldNameAttribute(String tableSourceFieldNameValue) { public Double getTableStartAttribute() { TableStartAttribute attr = (TableStartAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -211,7 +211,7 @@ public Double getTableStartAttribute() { public void setTableStartAttribute(Double tableStartValue) { TableStartAttribute attr = new TableStartAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(tableStartValue.doubleValue()); + attr.setValue(tableStartValue.toString()); } /** @@ -224,7 +224,7 @@ public void setTableStartAttribute(Double tableStartValue) { public Double getTableStepAttribute() { TableStepAttribute attr = (TableStepAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "step"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -237,7 +237,7 @@ public Double getTableStepAttribute() { public void setTableStepAttribute(Double tableStepValue) { TableStepAttribute attr = new TableStepAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(tableStepValue.doubleValue()); + attr.setValue(tableStepValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLayoutInfoElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLayoutInfoElement.java index 60ee6a05d7..2dca765a24 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLayoutInfoElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLayoutInfoElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Boolean getTableAddEmptyLinesAttribute() { TableAddEmptyLinesAttribute attr = (TableAddEmptyLinesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "add-empty-lines"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -84,7 +84,7 @@ public Boolean getTableAddEmptyLinesAttribute() { public void setTableAddEmptyLinesAttribute(Boolean tableAddEmptyLinesValue) { TableAddEmptyLinesAttribute attr = new TableAddEmptyLinesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableAddEmptyLinesValue.booleanValue()); + attr.setValue(tableAddEmptyLinesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLevelElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLevelElement.java index eaacb6a5b0..05c1b233f1 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLevelElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLevelElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTableShowEmptyAttribute() { TableShowEmptyAttribute attr = (TableShowEmptyAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "show-empty"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTableShowEmptyAttribute() { public void setTableShowEmptyAttribute(Boolean tableShowEmptyValue) { TableShowEmptyAttribute attr = new TableShowEmptyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableShowEmptyValue.booleanValue()); + attr.setValue(tableShowEmptyValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDataPilotMemberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDataPilotMemberElement.java index 6da4e78e41..0c90005e8e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDataPilotMemberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDataPilotMemberElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Boolean getTableDisplayAttribute() { TableDisplayAttribute attr = (TableDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -83,7 +83,7 @@ public Boolean getTableDisplayAttribute() { public void setTableDisplayAttribute(Boolean tableDisplayValue) { TableDisplayAttribute attr = new TableDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayValue.booleanValue()); + attr.setValue(tableDisplayValue.toString()); } /** @@ -120,7 +120,7 @@ public void setTableNameAttribute(String tableNameValue) { public Boolean getTableShowDetailsAttribute() { TableShowDetailsAttribute attr = (TableShowDetailsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "show-details"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -133,7 +133,7 @@ public Boolean getTableShowDetailsAttribute() { public void setTableShowDetailsAttribute(Boolean tableShowDetailsValue) { TableShowDetailsAttribute attr = new TableShowDetailsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableShowDetailsValue.booleanValue()); + attr.setValue(tableShowDetailsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDataPilotTableElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDataPilotTableElement.java index 11d153641a..cf86d2a252 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDataPilotTableElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDataPilotTableElement.java @@ -124,7 +124,7 @@ public void setTableButtonsAttribute(String tableButtonsValue) { public Boolean getTableDrillDownOnDoubleClickAttribute() { TableDrillDownOnDoubleClickAttribute attr = (TableDrillDownOnDoubleClickAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "drill-down-on-double-click"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDrillDownOnDoubleClickAttribute.DEFAULT_VALUE); } @@ -137,7 +137,7 @@ public Boolean getTableDrillDownOnDoubleClickAttribute() { public void setTableDrillDownOnDoubleClickAttribute(Boolean tableDrillDownOnDoubleClickValue) { TableDrillDownOnDoubleClickAttribute attr = new TableDrillDownOnDoubleClickAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDrillDownOnDoubleClickValue.booleanValue()); + attr.setValue(tableDrillDownOnDoubleClickValue.toString()); } /** @@ -172,7 +172,7 @@ public void setTableGrandTotalAttribute(String tableGrandTotalValue) { public Boolean getTableIdentifyCategoriesAttribute() { TableIdentifyCategoriesAttribute attr = (TableIdentifyCategoriesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "identify-categories"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableIdentifyCategoriesAttribute.DEFAULT_VALUE); } @@ -185,7 +185,7 @@ public Boolean getTableIdentifyCategoriesAttribute() { public void setTableIdentifyCategoriesAttribute(Boolean tableIdentifyCategoriesValue) { TableIdentifyCategoriesAttribute attr = new TableIdentifyCategoriesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableIdentifyCategoriesValue.booleanValue()); + attr.setValue(tableIdentifyCategoriesValue.toString()); } /** @@ -196,7 +196,7 @@ public void setTableIdentifyCategoriesAttribute(Boolean tableIdentifyCategoriesV public Boolean getTableIgnoreEmptyRowsAttribute() { TableIgnoreEmptyRowsAttribute attr = (TableIgnoreEmptyRowsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "ignore-empty-rows"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableIgnoreEmptyRowsAttribute.DEFAULT_VALUE); } @@ -209,7 +209,7 @@ public Boolean getTableIgnoreEmptyRowsAttribute() { public void setTableIgnoreEmptyRowsAttribute(Boolean tableIgnoreEmptyRowsValue) { TableIgnoreEmptyRowsAttribute attr = new TableIgnoreEmptyRowsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableIgnoreEmptyRowsValue.booleanValue()); + attr.setValue(tableIgnoreEmptyRowsValue.toString()); } /** @@ -246,7 +246,7 @@ public void setTableNameAttribute(String tableNameValue) { public Boolean getTableShowFilterButtonAttribute() { TableShowFilterButtonAttribute attr = (TableShowFilterButtonAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "show-filter-button"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableShowFilterButtonAttribute.DEFAULT_VALUE); } @@ -259,7 +259,7 @@ public Boolean getTableShowFilterButtonAttribute() { public void setTableShowFilterButtonAttribute(Boolean tableShowFilterButtonValue) { TableShowFilterButtonAttribute attr = new TableShowFilterButtonAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableShowFilterButtonValue.booleanValue()); + attr.setValue(tableShowFilterButtonValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java index 1b91550e98..d05edcc1ef 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java @@ -77,7 +77,7 @@ public OdfName getOdfName() { public Boolean getTableContainsHeaderAttribute() { TableContainsHeaderAttribute attr = (TableContainsHeaderAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "contains-header"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableContainsHeaderAttribute.DEFAULT_VALUE); } @@ -90,7 +90,7 @@ public Boolean getTableContainsHeaderAttribute() { public void setTableContainsHeaderAttribute(Boolean tableContainsHeaderValue) { TableContainsHeaderAttribute attr = new TableContainsHeaderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableContainsHeaderValue.booleanValue()); + attr.setValue(tableContainsHeaderValue.toString()); } /** @@ -101,7 +101,7 @@ public void setTableContainsHeaderAttribute(Boolean tableContainsHeaderValue) { public Boolean getTableDisplayFilterButtonsAttribute() { TableDisplayFilterButtonsAttribute attr = (TableDisplayFilterButtonsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display-filter-buttons"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayFilterButtonsAttribute.DEFAULT_VALUE); } @@ -114,7 +114,7 @@ public Boolean getTableDisplayFilterButtonsAttribute() { public void setTableDisplayFilterButtonsAttribute(Boolean tableDisplayFilterButtonsValue) { TableDisplayFilterButtonsAttribute attr = new TableDisplayFilterButtonsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayFilterButtonsValue.booleanValue()); + attr.setValue(tableDisplayFilterButtonsValue.toString()); } /** @@ -125,7 +125,7 @@ public void setTableDisplayFilterButtonsAttribute(Boolean tableDisplayFilterButt public Boolean getTableHasPersistentDataAttribute() { TableHasPersistentDataAttribute attr = (TableHasPersistentDataAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "has-persistent-data"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableHasPersistentDataAttribute.DEFAULT_VALUE); } @@ -138,7 +138,7 @@ public Boolean getTableHasPersistentDataAttribute() { public void setTableHasPersistentDataAttribute(Boolean tableHasPersistentDataValue) { TableHasPersistentDataAttribute attr = new TableHasPersistentDataAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableHasPersistentDataValue.booleanValue()); + attr.setValue(tableHasPersistentDataValue.toString()); } /** @@ -149,7 +149,7 @@ public void setTableHasPersistentDataAttribute(Boolean tableHasPersistentDataVal public Boolean getTableIsSelectionAttribute() { TableIsSelectionAttribute attr = (TableIsSelectionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "is-selection"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableIsSelectionAttribute.DEFAULT_VALUE); } @@ -162,7 +162,7 @@ public Boolean getTableIsSelectionAttribute() { public void setTableIsSelectionAttribute(Boolean tableIsSelectionValue) { TableIsSelectionAttribute attr = new TableIsSelectionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableIsSelectionValue.booleanValue()); + attr.setValue(tableIsSelectionValue.toString()); } /** @@ -197,7 +197,7 @@ public void setTableNameAttribute(String tableNameValue) { public Boolean getTableOnUpdateKeepSizeAttribute() { TableOnUpdateKeepSizeAttribute attr = (TableOnUpdateKeepSizeAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "on-update-keep-size"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableOnUpdateKeepSizeAttribute.DEFAULT_VALUE); } @@ -210,7 +210,7 @@ public Boolean getTableOnUpdateKeepSizeAttribute() { public void setTableOnUpdateKeepSizeAttribute(Boolean tableOnUpdateKeepSizeValue) { TableOnUpdateKeepSizeAttribute attr = new TableOnUpdateKeepSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableOnUpdateKeepSizeValue.booleanValue()); + attr.setValue(tableOnUpdateKeepSizeValue.toString()); } /** @@ -221,7 +221,7 @@ public void setTableOnUpdateKeepSizeAttribute(Boolean tableOnUpdateKeepSizeValue public Boolean getTableOnUpdateKeepStylesAttribute() { TableOnUpdateKeepStylesAttribute attr = (TableOnUpdateKeepStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "on-update-keep-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableOnUpdateKeepStylesAttribute.DEFAULT_VALUE); } @@ -234,7 +234,7 @@ public Boolean getTableOnUpdateKeepStylesAttribute() { public void setTableOnUpdateKeepStylesAttribute(Boolean tableOnUpdateKeepStylesValue) { TableOnUpdateKeepStylesAttribute attr = new TableOnUpdateKeepStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableOnUpdateKeepStylesValue.booleanValue()); + attr.setValue(tableOnUpdateKeepStylesValue.toString()); } /** @@ -269,7 +269,7 @@ public void setTableOrientationAttribute(String tableOrientationValue) { public Boolean getTableRefreshDelayAttribute() { TableRefreshDelayAttribute attr = (TableRefreshDelayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "refresh-delay"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -282,7 +282,7 @@ public Boolean getTableRefreshDelayAttribute() { public void setTableRefreshDelayAttribute(Boolean tableRefreshDelayValue) { TableRefreshDelayAttribute attr = new TableRefreshDelayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableRefreshDelayValue.booleanValue()); + attr.setValue(tableRefreshDelayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDatabaseSourceSqlElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDatabaseSourceSqlElement.java index dfc9cd3ccb..76edc4c41f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDatabaseSourceSqlElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDatabaseSourceSqlElement.java @@ -96,7 +96,7 @@ public void setTableDatabaseNameAttribute(String tableDatabaseNameValue) { public Boolean getTableParseSqlStatementAttribute() { TableParseSqlStatementAttribute attr = (TableParseSqlStatementAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "parse-sql-statement"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableParseSqlStatementAttribute.DEFAULT_VALUE); } @@ -109,7 +109,7 @@ public Boolean getTableParseSqlStatementAttribute() { public void setTableParseSqlStatementAttribute(Boolean tableParseSqlStatementValue) { TableParseSqlStatementAttribute attr = new TableParseSqlStatementAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableParseSqlStatementValue.booleanValue()); + attr.setValue(tableParseSqlStatementValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDeletionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDeletionElement.java index 6b492a7665..048438f35f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDeletionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableDeletionElement.java @@ -125,7 +125,7 @@ public void setTableIdAttribute(String tableIdValue) { public Integer getTableMultiDeletionSpannedAttribute() { TableMultiDeletionSpannedAttribute attr = (TableMultiDeletionSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "multi-deletion-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -138,7 +138,7 @@ public Integer getTableMultiDeletionSpannedAttribute() { public void setTableMultiDeletionSpannedAttribute(Integer tableMultiDeletionSpannedValue) { TableMultiDeletionSpannedAttribute attr = new TableMultiDeletionSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableMultiDeletionSpannedValue.intValue()); + attr.setValue(tableMultiDeletionSpannedValue.toString()); } /** @@ -151,7 +151,7 @@ public void setTableMultiDeletionSpannedAttribute(Integer tableMultiDeletionSpan public Integer getTablePositionAttribute() { TablePositionAttribute attr = (TablePositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -164,7 +164,7 @@ public Integer getTablePositionAttribute() { public void setTablePositionAttribute(Integer tablePositionValue) { TablePositionAttribute attr = new TablePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tablePositionValue.intValue()); + attr.setValue(tablePositionValue.toString()); } /** @@ -199,7 +199,7 @@ public void setTableRejectingChangeIdAttribute(String tableRejectingChangeIdValu public Integer getTableTableAttribute() { TableTableAttribute attr = (TableTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -212,7 +212,7 @@ public Integer getTableTableAttribute() { public void setTableTableAttribute(Integer tableTableValue) { TableTableAttribute attr = new TableTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableTableValue.intValue()); + attr.setValue(tableTableValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableErrorMacroElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableErrorMacroElement.java index 2d57d893cc..2a34ec3dbb 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableErrorMacroElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableErrorMacroElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTableExecuteAttribute() { TableExecuteAttribute attr = (TableExecuteAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "execute"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableExecuteAttribute.DEFAULT_VALUE); } @@ -81,7 +81,7 @@ public Boolean getTableExecuteAttribute() { public void setTableExecuteAttribute(Boolean tableExecuteValue) { TableExecuteAttribute attr = new TableExecuteAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableExecuteValue.booleanValue()); + attr.setValue(tableExecuteValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableErrorMessageElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableErrorMessageElement.java index 1f7c4769a0..d5ef665e82 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableErrorMessageElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableErrorMessageElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Boolean getTableDisplayAttribute() { TableDisplayAttribute attr = (TableDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayAttribute.DEFAULT_VALUE_FALSE); } @@ -84,7 +84,7 @@ public Boolean getTableDisplayAttribute() { public void setTableDisplayAttribute(Boolean tableDisplayValue) { TableDisplayAttribute attr = new TableDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayValue.booleanValue()); + attr.setValue(tableDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableFilterConditionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableFilterConditionElement.java index df24ad8ed1..ef64bc6709 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableFilterConditionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableFilterConditionElement.java @@ -122,7 +122,7 @@ public void setTableDataTypeAttribute(String tableDataTypeValue) { public Integer getTableFieldNumberAttribute() { TableFieldNumberAttribute attr = (TableFieldNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "field-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -135,7 +135,7 @@ public Integer getTableFieldNumberAttribute() { public void setTableFieldNumberAttribute(Integer tableFieldNumberValue) { TableFieldNumberAttribute attr = new TableFieldNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableFieldNumberValue.intValue()); + attr.setValue(tableFieldNumberValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableFilterElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableFilterElement.java index b71e4271ae..6f4dda149f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableFilterElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableFilterElement.java @@ -119,7 +119,7 @@ public void setTableConditionSourceRangeAddressAttribute(String tableConditionSo public Boolean getTableDisplayDuplicatesAttribute() { TableDisplayDuplicatesAttribute attr = (TableDisplayDuplicatesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display-duplicates"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayDuplicatesAttribute.DEFAULT_VALUE); } @@ -132,7 +132,7 @@ public Boolean getTableDisplayDuplicatesAttribute() { public void setTableDisplayDuplicatesAttribute(Boolean tableDisplayDuplicatesValue) { TableDisplayDuplicatesAttribute attr = new TableDisplayDuplicatesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayDuplicatesValue.booleanValue()); + attr.setValue(tableDisplayDuplicatesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableHelpMessageElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableHelpMessageElement.java index fc4cefee7a..3b14a9c739 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableHelpMessageElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableHelpMessageElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Boolean getTableDisplayAttribute() { TableDisplayAttribute attr = (TableDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayAttribute.DEFAULT_VALUE_FALSE); } @@ -83,7 +83,7 @@ public Boolean getTableDisplayAttribute() { public void setTableDisplayAttribute(Boolean tableDisplayValue) { TableDisplayAttribute attr = new TableDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayValue.booleanValue()); + attr.setValue(tableDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableHighlightedRangeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableHighlightedRangeElement.java index b02b575059..3e8b60a279 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableHighlightedRangeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableHighlightedRangeElement.java @@ -95,7 +95,7 @@ public void setTableCellRangeAddressAttribute(String tableCellRangeAddressValue) public Boolean getTableContainsErrorAttribute() { TableContainsErrorAttribute attr = (TableContainsErrorAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "contains-error"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableContainsErrorAttribute.DEFAULT_VALUE); } @@ -108,7 +108,7 @@ public Boolean getTableContainsErrorAttribute() { public void setTableContainsErrorAttribute(Boolean tableContainsErrorValue) { TableContainsErrorAttribute attr = new TableContainsErrorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableContainsErrorValue.booleanValue()); + attr.setValue(tableContainsErrorValue.toString()); } /** @@ -143,7 +143,7 @@ public void setTableDirectionAttribute(String tableDirectionValue) { public Boolean getTableMarkedInvalidAttribute() { TableMarkedInvalidAttribute attr = (TableMarkedInvalidAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "marked-invalid"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -156,7 +156,7 @@ public Boolean getTableMarkedInvalidAttribute() { public void setTableMarkedInvalidAttribute(Boolean tableMarkedInvalidValue) { TableMarkedInvalidAttribute attr = new TableMarkedInvalidAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableMarkedInvalidValue.booleanValue()); + attr.setValue(tableMarkedInvalidValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableInsertionCutOffElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableInsertionCutOffElement.java index a7624eb005..de08dc074f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableInsertionCutOffElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableInsertionCutOffElement.java @@ -97,7 +97,7 @@ public void setTableIdAttribute(String tableIdValue) { public Integer getTablePositionAttribute() { TablePositionAttribute attr = (TablePositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -110,7 +110,7 @@ public Integer getTablePositionAttribute() { public void setTablePositionAttribute(Integer tablePositionValue) { TablePositionAttribute attr = new TablePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tablePositionValue.intValue()); + attr.setValue(tablePositionValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableInsertionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableInsertionElement.java index c724e23e09..e48a82097f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableInsertionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableInsertionElement.java @@ -99,7 +99,7 @@ public void setTableAcceptanceStateAttribute(String tableAcceptanceStateValue) { public Integer getTableCountAttribute() { TableCountAttribute attr = (TableCountAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableCountAttribute.DEFAULT_VALUE); } @@ -112,7 +112,7 @@ public Integer getTableCountAttribute() { public void setTableCountAttribute(Integer tableCountValue) { TableCountAttribute attr = new TableCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableCountValue.intValue()); + attr.setValue(tableCountValue.toString()); } /** @@ -151,7 +151,7 @@ public void setTableIdAttribute(String tableIdValue) { public Integer getTablePositionAttribute() { TablePositionAttribute attr = (TablePositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -164,7 +164,7 @@ public Integer getTablePositionAttribute() { public void setTablePositionAttribute(Integer tablePositionValue) { TablePositionAttribute attr = new TablePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tablePositionValue.intValue()); + attr.setValue(tablePositionValue.toString()); } /** @@ -199,7 +199,7 @@ public void setTableRejectingChangeIdAttribute(String tableRejectingChangeIdValu public Integer getTableTableAttribute() { TableTableAttribute attr = (TableTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -212,7 +212,7 @@ public Integer getTableTableAttribute() { public void setTableTableAttribute(Integer tableTableValue) { TableTableAttribute attr = new TableTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableTableValue.intValue()); + attr.setValue(tableTableValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableIterationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableIterationElement.java index b6a19084e8..e8ffb17259 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableIterationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableIterationElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Double getTableMaximumDifferenceAttribute() { TableMaximumDifferenceAttribute attr = (TableMaximumDifferenceAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "maximum-difference"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(TableMaximumDifferenceAttribute.DEFAULT_VALUE); } @@ -83,7 +83,7 @@ public Double getTableMaximumDifferenceAttribute() { public void setTableMaximumDifferenceAttribute(Double tableMaximumDifferenceValue) { TableMaximumDifferenceAttribute attr = new TableMaximumDifferenceAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(tableMaximumDifferenceValue.doubleValue()); + attr.setValue(tableMaximumDifferenceValue.toString()); } /** @@ -118,7 +118,7 @@ public void setTableStatusAttribute(String tableStatusValue) { public Integer getTableStepsAttribute() { TableStepsAttribute attr = (TableStepsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "steps"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableStepsAttribute.DEFAULT_VALUE); } @@ -131,7 +131,7 @@ public Integer getTableStepsAttribute() { public void setTableStepsAttribute(Integer tableStepsValue) { TableStepsAttribute attr = new TableStepsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStepsValue.intValue()); + attr.setValue(tableStepsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableMovementCutOffElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableMovementCutOffElement.java index a825acdf00..0b2306508f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableMovementCutOffElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableMovementCutOffElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Integer getTableEndPositionAttribute() { TableEndPositionAttribute attr = (TableEndPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -83,7 +83,7 @@ public Integer getTableEndPositionAttribute() { public void setTableEndPositionAttribute(Integer tableEndPositionValue) { TableEndPositionAttribute attr = new TableEndPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndPositionValue.intValue()); + attr.setValue(tableEndPositionValue.toString()); } /** @@ -94,7 +94,7 @@ public void setTableEndPositionAttribute(Integer tableEndPositionValue) { public Integer getTablePositionAttribute() { TablePositionAttribute attr = (TablePositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -107,7 +107,7 @@ public Integer getTablePositionAttribute() { public void setTablePositionAttribute(Integer tablePositionValue) { TablePositionAttribute attr = new TablePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tablePositionValue.intValue()); + attr.setValue(tablePositionValue.toString()); } /** @@ -118,7 +118,7 @@ public void setTablePositionAttribute(Integer tablePositionValue) { public Integer getTableStartPositionAttribute() { TableStartPositionAttribute attr = (TableStartPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -131,7 +131,7 @@ public Integer getTableStartPositionAttribute() { public void setTableStartPositionAttribute(Integer tableStartPositionValue) { TableStartPositionAttribute attr = new TableStartPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartPositionValue.intValue()); + attr.setValue(tableStartPositionValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableOperationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableOperationElement.java index 4379c659ce..b619779e3e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableOperationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableOperationElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Integer getTableIndexAttribute() { TableIndexAttribute attr = (TableIndexAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -84,7 +84,7 @@ public Integer getTableIndexAttribute() { public void setTableIndexAttribute(Integer tableIndexValue) { TableIndexAttribute attr = new TableIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableIndexValue.intValue()); + attr.setValue(tableIndexValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableScenarioElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableScenarioElement.java index 7853b1c627..00c6dbdc72 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableScenarioElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableScenarioElement.java @@ -124,7 +124,7 @@ public void setTableCommentAttribute(String tableCommentValue) { public Boolean getTableCopyBackAttribute() { TableCopyBackAttribute attr = (TableCopyBackAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "copy-back"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableCopyBackAttribute.DEFAULT_VALUE); } @@ -137,7 +137,7 @@ public Boolean getTableCopyBackAttribute() { public void setTableCopyBackAttribute(Boolean tableCopyBackValue) { TableCopyBackAttribute attr = new TableCopyBackAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableCopyBackValue.booleanValue()); + attr.setValue(tableCopyBackValue.toString()); } /** @@ -148,7 +148,7 @@ public void setTableCopyBackAttribute(Boolean tableCopyBackValue) { public Boolean getTableCopyFormulasAttribute() { TableCopyFormulasAttribute attr = (TableCopyFormulasAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "copy-formulas"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableCopyFormulasAttribute.DEFAULT_VALUE); } @@ -161,7 +161,7 @@ public Boolean getTableCopyFormulasAttribute() { public void setTableCopyFormulasAttribute(Boolean tableCopyFormulasValue) { TableCopyFormulasAttribute attr = new TableCopyFormulasAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableCopyFormulasValue.booleanValue()); + attr.setValue(tableCopyFormulasValue.toString()); } /** @@ -172,7 +172,7 @@ public void setTableCopyFormulasAttribute(Boolean tableCopyFormulasValue) { public Boolean getTableCopyStylesAttribute() { TableCopyStylesAttribute attr = (TableCopyStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "copy-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableCopyStylesAttribute.DEFAULT_VALUE); } @@ -185,7 +185,7 @@ public Boolean getTableCopyStylesAttribute() { public void setTableCopyStylesAttribute(Boolean tableCopyStylesValue) { TableCopyStylesAttribute attr = new TableCopyStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableCopyStylesValue.booleanValue()); + attr.setValue(tableCopyStylesValue.toString()); } /** @@ -196,7 +196,7 @@ public void setTableCopyStylesAttribute(Boolean tableCopyStylesValue) { public Boolean getTableDisplayBorderAttribute() { TableDisplayBorderAttribute attr = (TableDisplayBorderAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display-border"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayBorderAttribute.DEFAULT_VALUE); } @@ -209,7 +209,7 @@ public Boolean getTableDisplayBorderAttribute() { public void setTableDisplayBorderAttribute(Boolean tableDisplayBorderValue) { TableDisplayBorderAttribute attr = new TableDisplayBorderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayBorderValue.booleanValue()); + attr.setValue(tableDisplayBorderValue.toString()); } /** @@ -222,7 +222,7 @@ public void setTableDisplayBorderAttribute(Boolean tableDisplayBorderValue) { public Boolean getTableIsActiveAttribute() { TableIsActiveAttribute attr = (TableIsActiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "is-active"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -235,7 +235,7 @@ public Boolean getTableIsActiveAttribute() { public void setTableIsActiveAttribute(Boolean tableIsActiveValue) { TableIsActiveAttribute attr = new TableIsActiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableIsActiveValue.booleanValue()); + attr.setValue(tableIsActiveValue.toString()); } /** @@ -246,7 +246,7 @@ public void setTableIsActiveAttribute(Boolean tableIsActiveValue) { public Boolean getTableProtectedAttribute() { TableProtectedAttribute attr = (TableProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -259,7 +259,7 @@ public Boolean getTableProtectedAttribute() { public void setTableProtectedAttribute(Boolean tableProtectedValue) { TableProtectedAttribute attr = new TableProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableProtectedValue.booleanValue()); + attr.setValue(tableProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSortByElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSortByElement.java index 7499b633c9..8d0d1e5f09 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSortByElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSortByElement.java @@ -96,7 +96,7 @@ public void setTableDataTypeAttribute(String tableDataTypeValue) { public Integer getTableFieldNumberAttribute() { TableFieldNumberAttribute attr = (TableFieldNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "field-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -109,7 +109,7 @@ public Integer getTableFieldNumberAttribute() { public void setTableFieldNumberAttribute(Integer tableFieldNumberValue) { TableFieldNumberAttribute attr = new TableFieldNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableFieldNumberValue.intValue()); + attr.setValue(tableFieldNumberValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java index 5b8f51a0d4..15f6cd8df8 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java @@ -100,7 +100,7 @@ public void setTableAlgorithmAttribute(String tableAlgorithmValue) { public Boolean getTableBindStylesToContentAttribute() { TableBindStylesToContentAttribute attr = (TableBindStylesToContentAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "bind-styles-to-content"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableBindStylesToContentAttribute.DEFAULT_VALUE); } @@ -113,7 +113,7 @@ public Boolean getTableBindStylesToContentAttribute() { public void setTableBindStylesToContentAttribute(Boolean tableBindStylesToContentValue) { TableBindStylesToContentAttribute attr = new TableBindStylesToContentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableBindStylesToContentValue.booleanValue()); + attr.setValue(tableBindStylesToContentValue.toString()); } /** @@ -124,7 +124,7 @@ public void setTableBindStylesToContentAttribute(Boolean tableBindStylesToConten public Boolean getTableCaseSensitiveAttribute() { TableCaseSensitiveAttribute attr = (TableCaseSensitiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "case-sensitive"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableCaseSensitiveAttribute.DEFAULT_VALUE_FALSE); } @@ -137,7 +137,7 @@ public Boolean getTableCaseSensitiveAttribute() { public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { TableCaseSensitiveAttribute attr = new TableCaseSensitiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableCaseSensitiveValue.booleanValue()); + attr.setValue(tableCaseSensitiveValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSourceRangeAddressElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSourceRangeAddressElement.java index 3b6f830d88..67464b9a90 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSourceRangeAddressElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSourceRangeAddressElement.java @@ -76,7 +76,7 @@ public OdfName getOdfName() { public Integer getTableColumnAttribute() { TableColumnAttribute attr = (TableColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -89,7 +89,7 @@ public Integer getTableColumnAttribute() { public void setTableColumnAttribute(Integer tableColumnValue) { TableColumnAttribute attr = new TableColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableColumnValue.intValue()); + attr.setValue(tableColumnValue.toString()); } /** @@ -100,7 +100,7 @@ public void setTableColumnAttribute(Integer tableColumnValue) { public Integer getTableEndColumnAttribute() { TableEndColumnAttribute attr = (TableEndColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -113,7 +113,7 @@ public Integer getTableEndColumnAttribute() { public void setTableEndColumnAttribute(Integer tableEndColumnValue) { TableEndColumnAttribute attr = new TableEndColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndColumnValue.intValue()); + attr.setValue(tableEndColumnValue.toString()); } /** @@ -124,7 +124,7 @@ public void setTableEndColumnAttribute(Integer tableEndColumnValue) { public Integer getTableEndRowAttribute() { TableEndRowAttribute attr = (TableEndRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -137,7 +137,7 @@ public Integer getTableEndRowAttribute() { public void setTableEndRowAttribute(Integer tableEndRowValue) { TableEndRowAttribute attr = new TableEndRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndRowValue.intValue()); + attr.setValue(tableEndRowValue.toString()); } /** @@ -148,7 +148,7 @@ public void setTableEndRowAttribute(Integer tableEndRowValue) { public Integer getTableEndTableAttribute() { TableEndTableAttribute attr = (TableEndTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -161,7 +161,7 @@ public Integer getTableEndTableAttribute() { public void setTableEndTableAttribute(Integer tableEndTableValue) { TableEndTableAttribute attr = new TableEndTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndTableValue.intValue()); + attr.setValue(tableEndTableValue.toString()); } /** @@ -172,7 +172,7 @@ public void setTableEndTableAttribute(Integer tableEndTableValue) { public Integer getTableRowAttribute() { TableRowAttribute attr = (TableRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -185,7 +185,7 @@ public Integer getTableRowAttribute() { public void setTableRowAttribute(Integer tableRowValue) { TableRowAttribute attr = new TableRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableRowValue.intValue()); + attr.setValue(tableRowValue.toString()); } /** @@ -196,7 +196,7 @@ public void setTableRowAttribute(Integer tableRowValue) { public Integer getTableStartColumnAttribute() { TableStartColumnAttribute attr = (TableStartColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -209,7 +209,7 @@ public Integer getTableStartColumnAttribute() { public void setTableStartColumnAttribute(Integer tableStartColumnValue) { TableStartColumnAttribute attr = new TableStartColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartColumnValue.intValue()); + attr.setValue(tableStartColumnValue.toString()); } /** @@ -220,7 +220,7 @@ public void setTableStartColumnAttribute(Integer tableStartColumnValue) { public Integer getTableStartRowAttribute() { TableStartRowAttribute attr = (TableStartRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -233,7 +233,7 @@ public Integer getTableStartRowAttribute() { public void setTableStartRowAttribute(Integer tableStartRowValue) { TableStartRowAttribute attr = new TableStartRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartRowValue.intValue()); + attr.setValue(tableStartRowValue.toString()); } /** @@ -244,7 +244,7 @@ public void setTableStartRowAttribute(Integer tableStartRowValue) { public Integer getTableStartTableAttribute() { TableStartTableAttribute attr = (TableStartTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -257,7 +257,7 @@ public Integer getTableStartTableAttribute() { public void setTableStartTableAttribute(Integer tableStartTableValue) { TableStartTableAttribute attr = new TableStartTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartTableValue.intValue()); + attr.setValue(tableStartTableValue.toString()); } /** @@ -268,7 +268,7 @@ public void setTableStartTableAttribute(Integer tableStartTableValue) { public Integer getTableTableAttribute() { TableTableAttribute attr = (TableTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -281,7 +281,7 @@ public Integer getTableTableAttribute() { public void setTableTableAttribute(Integer tableTableValue) { TableTableAttribute attr = new TableTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableTableValue.intValue()); + attr.setValue(tableTableValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSubtotalFieldElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSubtotalFieldElement.java index 87e7f9704d..7f605f7d0c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSubtotalFieldElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSubtotalFieldElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Integer getTableFieldNumberAttribute() { TableFieldNumberAttribute attr = (TableFieldNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "field-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -84,7 +84,7 @@ public Integer getTableFieldNumberAttribute() { public void setTableFieldNumberAttribute(Integer tableFieldNumberValue) { TableFieldNumberAttribute attr = new TableFieldNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableFieldNumberValue.intValue()); + attr.setValue(tableFieldNumberValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRuleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRuleElement.java index 3938dcb423..1d550aeb3c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRuleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRuleElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Integer getTableGroupByFieldNumberAttribute() { TableGroupByFieldNumberAttribute attr = (TableGroupByFieldNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "group-by-field-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -83,7 +83,7 @@ public Integer getTableGroupByFieldNumberAttribute() { public void setTableGroupByFieldNumberAttribute(Integer tableGroupByFieldNumberValue) { TableGroupByFieldNumberAttribute attr = new TableGroupByFieldNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableGroupByFieldNumberValue.intValue()); + attr.setValue(tableGroupByFieldNumberValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java index 9c39b5f39a..7b5a5760fc 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Boolean getTableBindStylesToContentAttribute() { TableBindStylesToContentAttribute attr = (TableBindStylesToContentAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "bind-styles-to-content"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableBindStylesToContentAttribute.DEFAULT_VALUE); } @@ -83,7 +83,7 @@ public Boolean getTableBindStylesToContentAttribute() { public void setTableBindStylesToContentAttribute(Boolean tableBindStylesToContentValue) { TableBindStylesToContentAttribute attr = new TableBindStylesToContentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableBindStylesToContentValue.booleanValue()); + attr.setValue(tableBindStylesToContentValue.toString()); } /** @@ -94,7 +94,7 @@ public void setTableBindStylesToContentAttribute(Boolean tableBindStylesToConten public Boolean getTableCaseSensitiveAttribute() { TableCaseSensitiveAttribute attr = (TableCaseSensitiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "case-sensitive"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableCaseSensitiveAttribute.DEFAULT_VALUE_FALSE); } @@ -107,7 +107,7 @@ public Boolean getTableCaseSensitiveAttribute() { public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { TableCaseSensitiveAttribute attr = new TableCaseSensitiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableCaseSensitiveValue.booleanValue()); + attr.setValue(tableCaseSensitiveValue.toString()); } /** @@ -118,7 +118,7 @@ public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { public Boolean getTablePageBreaksOnGroupChangeAttribute() { TablePageBreaksOnGroupChangeAttribute attr = (TablePageBreaksOnGroupChangeAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "page-breaks-on-group-change"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TablePageBreaksOnGroupChangeAttribute.DEFAULT_VALUE); } @@ -131,7 +131,7 @@ public Boolean getTablePageBreaksOnGroupChangeAttribute() { public void setTablePageBreaksOnGroupChangeAttribute(Boolean tablePageBreaksOnGroupChangeValue) { TablePageBreaksOnGroupChangeAttribute attr = new TablePageBreaksOnGroupChangeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tablePageBreaksOnGroupChangeValue.booleanValue()); + attr.setValue(tablePageBreaksOnGroupChangeValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTableCellElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTableCellElement.java index f492893314..dcd2f9f2ba 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTableCellElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTableCellElement.java @@ -73,7 +73,7 @@ public OdfName getOdfName() { public Integer getTableNumberColumnsSpannedAttribute() { TableNumberColumnsSpannedAttribute attr = (TableNumberColumnsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-columns-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNumberColumnsSpannedAttribute.DEFAULT_VALUE); } @@ -86,7 +86,7 @@ public Integer getTableNumberColumnsSpannedAttribute() { public void setTableNumberColumnsSpannedAttribute(Integer tableNumberColumnsSpannedValue) { TableNumberColumnsSpannedAttribute attr = new TableNumberColumnsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberColumnsSpannedValue.intValue()); + attr.setValue(tableNumberColumnsSpannedValue.toString()); } /** @@ -97,7 +97,7 @@ public void setTableNumberColumnsSpannedAttribute(Integer tableNumberColumnsSpan public Integer getTableNumberMatrixColumnsSpannedAttribute() { TableNumberMatrixColumnsSpannedAttribute attr = (TableNumberMatrixColumnsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-matrix-columns-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -110,7 +110,7 @@ public Integer getTableNumberMatrixColumnsSpannedAttribute() { public void setTableNumberMatrixColumnsSpannedAttribute(Integer tableNumberMatrixColumnsSpannedValue) { TableNumberMatrixColumnsSpannedAttribute attr = new TableNumberMatrixColumnsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberMatrixColumnsSpannedValue.intValue()); + attr.setValue(tableNumberMatrixColumnsSpannedValue.toString()); } /** @@ -121,7 +121,7 @@ public void setTableNumberMatrixColumnsSpannedAttribute(Integer tableNumberMatri public Integer getTableNumberMatrixRowsSpannedAttribute() { TableNumberMatrixRowsSpannedAttribute attr = (TableNumberMatrixRowsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-matrix-rows-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -134,7 +134,7 @@ public Integer getTableNumberMatrixRowsSpannedAttribute() { public void setTableNumberMatrixRowsSpannedAttribute(Integer tableNumberMatrixRowsSpannedValue) { TableNumberMatrixRowsSpannedAttribute attr = new TableNumberMatrixRowsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberMatrixRowsSpannedValue.intValue()); + attr.setValue(tableNumberMatrixRowsSpannedValue.toString()); } /** @@ -145,7 +145,7 @@ public void setTableNumberMatrixRowsSpannedAttribute(Integer tableNumberMatrixRo public Integer getTableNumberRowsSpannedAttribute() { TableNumberRowsSpannedAttribute attr = (TableNumberRowsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-rows-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNumberRowsSpannedAttribute.DEFAULT_VALUE); } @@ -158,7 +158,7 @@ public Integer getTableNumberRowsSpannedAttribute() { public void setTableNumberRowsSpannedAttribute(Integer tableNumberRowsSpannedValue) { TableNumberRowsSpannedAttribute attr = new TableNumberRowsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberRowsSpannedValue.intValue()); + attr.setValue(tableNumberRowsSpannedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTableCellElementBase.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTableCellElementBase.java index 1c58d7b1cd..67b52b5933 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTableCellElementBase.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTableCellElementBase.java @@ -116,7 +116,7 @@ public TableTableCellElementBase(OdfFileDom ownerDoc, OdfName elementName, OdfSt public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -129,7 +129,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -236,7 +236,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -249,7 +249,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** @@ -332,7 +332,7 @@ public void setTableFormulaAttribute(String tableFormulaValue) { public Integer getTableNumberColumnsRepeatedAttribute() { TableNumberColumnsRepeatedAttribute attr = (TableNumberColumnsRepeatedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-columns-repeated"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNumberColumnsRepeatedAttribute.DEFAULT_VALUE); } @@ -345,7 +345,7 @@ public Integer getTableNumberColumnsRepeatedAttribute() { public void setTableNumberColumnsRepeatedAttribute(Integer tableNumberColumnsRepeatedValue) { TableNumberColumnsRepeatedAttribute attr = new TableNumberColumnsRepeatedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberColumnsRepeatedValue.intValue()); + attr.setValue(tableNumberColumnsRepeatedValue.toString()); } /** @@ -356,7 +356,7 @@ public void setTableNumberColumnsRepeatedAttribute(Integer tableNumberColumnsRep public Boolean getTableProtectAttribute() { TableProtectAttribute attr = (TableProtectAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "protect"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableProtectAttribute.DEFAULT_VALUE); } @@ -369,7 +369,7 @@ public Boolean getTableProtectAttribute() { public void setTableProtectAttribute(Boolean tableProtectValue) { TableProtectAttribute attr = new TableProtectAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableProtectValue.booleanValue()); + attr.setValue(tableProtectValue.toString()); } /** @@ -380,7 +380,7 @@ public void setTableProtectAttribute(Boolean tableProtectValue) { public Boolean getTableProtectedAttribute() { TableProtectedAttribute attr = (TableProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableProtectedAttribute.DEFAULT_VALUE); } @@ -393,7 +393,7 @@ public Boolean getTableProtectedAttribute() { public void setTableProtectedAttribute(Boolean tableProtectedValue) { TableProtectedAttribute attr = new TableProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableProtectedValue.booleanValue()); + attr.setValue(tableProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTableColumnElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTableColumnElement.java index 8226f8022d..a486dd656e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTableColumnElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTableColumnElement.java @@ -100,7 +100,7 @@ public void setTableDefaultCellStyleNameAttribute(String tableDefaultCellStyleNa public Integer getTableNumberColumnsRepeatedAttribute() { TableNumberColumnsRepeatedAttribute attr = (TableNumberColumnsRepeatedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-columns-repeated"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNumberColumnsRepeatedAttribute.DEFAULT_VALUE); } @@ -113,7 +113,7 @@ public Integer getTableNumberColumnsRepeatedAttribute() { public void setTableNumberColumnsRepeatedAttribute(Integer tableNumberColumnsRepeatedValue) { TableNumberColumnsRepeatedAttribute attr = new TableNumberColumnsRepeatedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberColumnsRepeatedValue.intValue()); + attr.setValue(tableNumberColumnsRepeatedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTableColumnGroupElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTableColumnGroupElement.java index e3af6c9ebd..4caae5cff6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTableColumnGroupElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTableColumnGroupElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTableDisplayAttribute() { TableDisplayAttribute attr = (TableDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayAttribute.DEFAULT_VALUE_TRUE); } @@ -81,7 +81,7 @@ public Boolean getTableDisplayAttribute() { public void setTableDisplayAttribute(Boolean tableDisplayValue) { TableDisplayAttribute attr = new TableDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayValue.booleanValue()); + attr.setValue(tableDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTableElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTableElement.java index b92ed480f1..dccec57a7a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTableElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTableElement.java @@ -88,7 +88,7 @@ public OdfName getOdfName() { public Boolean getTableIsSubTableAttribute() { TableIsSubTableAttribute attr = (TableIsSubTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "is-sub-table"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableIsSubTableAttribute.DEFAULT_VALUE); } @@ -101,7 +101,7 @@ public Boolean getTableIsSubTableAttribute() { public void setTableIsSubTableAttribute(Boolean tableIsSubTableValue) { TableIsSubTableAttribute attr = new TableIsSubTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableIsSubTableValue.booleanValue()); + attr.setValue(tableIsSubTableValue.toString()); } /** @@ -136,7 +136,7 @@ public void setTableNameAttribute(String tableNameValue) { public Boolean getTablePrintAttribute() { TablePrintAttribute attr = (TablePrintAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "print"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TablePrintAttribute.DEFAULT_VALUE); } @@ -149,7 +149,7 @@ public Boolean getTablePrintAttribute() { public void setTablePrintAttribute(Boolean tablePrintValue) { TablePrintAttribute attr = new TablePrintAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tablePrintValue.booleanValue()); + attr.setValue(tablePrintValue.toString()); } /** @@ -184,7 +184,7 @@ public void setTablePrintRangesAttribute(String tablePrintRangesValue) { public Boolean getTableProtectedAttribute() { TableProtectedAttribute attr = (TableProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableProtectedAttribute.DEFAULT_VALUE); } @@ -197,7 +197,7 @@ public Boolean getTableProtectedAttribute() { public void setTableProtectedAttribute(Boolean tableProtectedValue) { TableProtectedAttribute attr = new TableProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableProtectedValue.booleanValue()); + attr.setValue(tableProtectedValue.toString()); } /** @@ -304,7 +304,7 @@ public void setTableTemplateNameAttribute(String tableTemplateNameValue) { public Boolean getTableUseBandingColumnsStylesAttribute() { TableUseBandingColumnsStylesAttribute attr = (TableUseBandingColumnsStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "use-banding-columns-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableUseBandingColumnsStylesAttribute.DEFAULT_VALUE); } @@ -317,7 +317,7 @@ public Boolean getTableUseBandingColumnsStylesAttribute() { public void setTableUseBandingColumnsStylesAttribute(Boolean tableUseBandingColumnsStylesValue) { TableUseBandingColumnsStylesAttribute attr = new TableUseBandingColumnsStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableUseBandingColumnsStylesValue.booleanValue()); + attr.setValue(tableUseBandingColumnsStylesValue.toString()); } /** @@ -328,7 +328,7 @@ public void setTableUseBandingColumnsStylesAttribute(Boolean tableUseBandingColu public Boolean getTableUseBandingRowsStylesAttribute() { TableUseBandingRowsStylesAttribute attr = (TableUseBandingRowsStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "use-banding-rows-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableUseBandingRowsStylesAttribute.DEFAULT_VALUE); } @@ -341,7 +341,7 @@ public Boolean getTableUseBandingRowsStylesAttribute() { public void setTableUseBandingRowsStylesAttribute(Boolean tableUseBandingRowsStylesValue) { TableUseBandingRowsStylesAttribute attr = new TableUseBandingRowsStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableUseBandingRowsStylesValue.booleanValue()); + attr.setValue(tableUseBandingRowsStylesValue.toString()); } /** @@ -352,7 +352,7 @@ public void setTableUseBandingRowsStylesAttribute(Boolean tableUseBandingRowsSty public Boolean getTableUseFirstColumnStylesAttribute() { TableUseFirstColumnStylesAttribute attr = (TableUseFirstColumnStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "use-first-column-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableUseFirstColumnStylesAttribute.DEFAULT_VALUE); } @@ -365,7 +365,7 @@ public Boolean getTableUseFirstColumnStylesAttribute() { public void setTableUseFirstColumnStylesAttribute(Boolean tableUseFirstColumnStylesValue) { TableUseFirstColumnStylesAttribute attr = new TableUseFirstColumnStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableUseFirstColumnStylesValue.booleanValue()); + attr.setValue(tableUseFirstColumnStylesValue.toString()); } /** @@ -376,7 +376,7 @@ public void setTableUseFirstColumnStylesAttribute(Boolean tableUseFirstColumnSty public Boolean getTableUseFirstRowStylesAttribute() { TableUseFirstRowStylesAttribute attr = (TableUseFirstRowStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "use-first-row-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableUseFirstRowStylesAttribute.DEFAULT_VALUE); } @@ -389,7 +389,7 @@ public Boolean getTableUseFirstRowStylesAttribute() { public void setTableUseFirstRowStylesAttribute(Boolean tableUseFirstRowStylesValue) { TableUseFirstRowStylesAttribute attr = new TableUseFirstRowStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableUseFirstRowStylesValue.booleanValue()); + attr.setValue(tableUseFirstRowStylesValue.toString()); } /** @@ -400,7 +400,7 @@ public void setTableUseFirstRowStylesAttribute(Boolean tableUseFirstRowStylesVal public Boolean getTableUseLastColumnStylesAttribute() { TableUseLastColumnStylesAttribute attr = (TableUseLastColumnStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "use-last-column-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableUseLastColumnStylesAttribute.DEFAULT_VALUE); } @@ -413,7 +413,7 @@ public Boolean getTableUseLastColumnStylesAttribute() { public void setTableUseLastColumnStylesAttribute(Boolean tableUseLastColumnStylesValue) { TableUseLastColumnStylesAttribute attr = new TableUseLastColumnStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableUseLastColumnStylesValue.booleanValue()); + attr.setValue(tableUseLastColumnStylesValue.toString()); } /** @@ -424,7 +424,7 @@ public void setTableUseLastColumnStylesAttribute(Boolean tableUseLastColumnStyle public Boolean getTableUseLastRowStylesAttribute() { TableUseLastRowStylesAttribute attr = (TableUseLastRowStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "use-last-row-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableUseLastRowStylesAttribute.DEFAULT_VALUE); } @@ -437,7 +437,7 @@ public Boolean getTableUseLastRowStylesAttribute() { public void setTableUseLastRowStylesAttribute(Boolean tableUseLastRowStylesValue) { TableUseLastRowStylesAttribute attr = new TableUseLastRowStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableUseLastRowStylesValue.booleanValue()); + attr.setValue(tableUseLastRowStylesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTableRowElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTableRowElement.java index 9d6dde5042..7b0651a742 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTableRowElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTableRowElement.java @@ -100,7 +100,7 @@ public void setTableDefaultCellStyleNameAttribute(String tableDefaultCellStyleNa public Integer getTableNumberRowsRepeatedAttribute() { TableNumberRowsRepeatedAttribute attr = (TableNumberRowsRepeatedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-rows-repeated"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNumberRowsRepeatedAttribute.DEFAULT_VALUE); } @@ -113,7 +113,7 @@ public Integer getTableNumberRowsRepeatedAttribute() { public void setTableNumberRowsRepeatedAttribute(Integer tableNumberRowsRepeatedValue) { TableNumberRowsRepeatedAttribute attr = new TableNumberRowsRepeatedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberRowsRepeatedValue.intValue()); + attr.setValue(tableNumberRowsRepeatedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTableRowGroupElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTableRowGroupElement.java index 3d4a0cc2ed..4c1f3cb735 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTableRowGroupElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTableRowGroupElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Boolean getTableDisplayAttribute() { TableDisplayAttribute attr = (TableDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayAttribute.DEFAULT_VALUE_TRUE); } @@ -82,7 +82,7 @@ public Boolean getTableDisplayAttribute() { public void setTableDisplayAttribute(Boolean tableDisplayValue) { TableDisplayAttribute attr = new TableDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayValue.booleanValue()); + attr.setValue(tableDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTargetRangeAddressElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTargetRangeAddressElement.java index 7187aae03e..77777dbdb1 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTargetRangeAddressElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTargetRangeAddressElement.java @@ -76,7 +76,7 @@ public OdfName getOdfName() { public Integer getTableColumnAttribute() { TableColumnAttribute attr = (TableColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -89,7 +89,7 @@ public Integer getTableColumnAttribute() { public void setTableColumnAttribute(Integer tableColumnValue) { TableColumnAttribute attr = new TableColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableColumnValue.intValue()); + attr.setValue(tableColumnValue.toString()); } /** @@ -100,7 +100,7 @@ public void setTableColumnAttribute(Integer tableColumnValue) { public Integer getTableEndColumnAttribute() { TableEndColumnAttribute attr = (TableEndColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -113,7 +113,7 @@ public Integer getTableEndColumnAttribute() { public void setTableEndColumnAttribute(Integer tableEndColumnValue) { TableEndColumnAttribute attr = new TableEndColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndColumnValue.intValue()); + attr.setValue(tableEndColumnValue.toString()); } /** @@ -124,7 +124,7 @@ public void setTableEndColumnAttribute(Integer tableEndColumnValue) { public Integer getTableEndRowAttribute() { TableEndRowAttribute attr = (TableEndRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -137,7 +137,7 @@ public Integer getTableEndRowAttribute() { public void setTableEndRowAttribute(Integer tableEndRowValue) { TableEndRowAttribute attr = new TableEndRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndRowValue.intValue()); + attr.setValue(tableEndRowValue.toString()); } /** @@ -148,7 +148,7 @@ public void setTableEndRowAttribute(Integer tableEndRowValue) { public Integer getTableEndTableAttribute() { TableEndTableAttribute attr = (TableEndTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -161,7 +161,7 @@ public Integer getTableEndTableAttribute() { public void setTableEndTableAttribute(Integer tableEndTableValue) { TableEndTableAttribute attr = new TableEndTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndTableValue.intValue()); + attr.setValue(tableEndTableValue.toString()); } /** @@ -172,7 +172,7 @@ public void setTableEndTableAttribute(Integer tableEndTableValue) { public Integer getTableRowAttribute() { TableRowAttribute attr = (TableRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -185,7 +185,7 @@ public Integer getTableRowAttribute() { public void setTableRowAttribute(Integer tableRowValue) { TableRowAttribute attr = new TableRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableRowValue.intValue()); + attr.setValue(tableRowValue.toString()); } /** @@ -196,7 +196,7 @@ public void setTableRowAttribute(Integer tableRowValue) { public Integer getTableStartColumnAttribute() { TableStartColumnAttribute attr = (TableStartColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -209,7 +209,7 @@ public Integer getTableStartColumnAttribute() { public void setTableStartColumnAttribute(Integer tableStartColumnValue) { TableStartColumnAttribute attr = new TableStartColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartColumnValue.intValue()); + attr.setValue(tableStartColumnValue.toString()); } /** @@ -220,7 +220,7 @@ public void setTableStartColumnAttribute(Integer tableStartColumnValue) { public Integer getTableStartRowAttribute() { TableStartRowAttribute attr = (TableStartRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -233,7 +233,7 @@ public Integer getTableStartRowAttribute() { public void setTableStartRowAttribute(Integer tableStartRowValue) { TableStartRowAttribute attr = new TableStartRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartRowValue.intValue()); + attr.setValue(tableStartRowValue.toString()); } /** @@ -244,7 +244,7 @@ public void setTableStartRowAttribute(Integer tableStartRowValue) { public Integer getTableStartTableAttribute() { TableStartTableAttribute attr = (TableStartTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -257,7 +257,7 @@ public Integer getTableStartTableAttribute() { public void setTableStartTableAttribute(Integer tableStartTableValue) { TableStartTableAttribute attr = new TableStartTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartTableValue.intValue()); + attr.setValue(tableStartTableValue.toString()); } /** @@ -268,7 +268,7 @@ public void setTableStartTableAttribute(Integer tableStartTableValue) { public Integer getTableTableAttribute() { TableTableAttribute attr = (TableTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -281,7 +281,7 @@ public Integer getTableTableAttribute() { public void setTableTableAttribute(Integer tableTableValue) { TableTableAttribute attr = new TableTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableTableValue.intValue()); + attr.setValue(tableTableValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTrackedChangesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTrackedChangesElement.java index e91f551f34..ca31fe2951 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTrackedChangesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/table/TableTrackedChangesElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTableTrackChangesAttribute() { TableTrackChangesAttribute attr = (TableTrackChangesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "track-changes"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableTrackChangesAttribute.DEFAULT_VALUE); } @@ -81,7 +81,7 @@ public Boolean getTableTrackChangesAttribute() { public void setTableTrackChangesAttribute(Boolean tableTrackChangesValue) { TableTrackChangesAttribute attr = new TableTrackChangesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableTrackChangesValue.booleanValue()); + attr.setValue(tableTrackChangesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexElement.java index 73d4085602..e3586708ab 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexElement.java @@ -101,7 +101,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -114,7 +114,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkElement.java index 958c692d60..d9078ff5e5 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkElement.java @@ -170,7 +170,7 @@ public void setTextKey2PhoneticAttribute(String textKey2PhoneticValue) { public Boolean getTextMainEntryAttribute() { TextMainEntryAttribute attr = (TextMainEntryAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "main-entry"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextMainEntryAttribute.DEFAULT_VALUE); } @@ -183,7 +183,7 @@ public Boolean getTextMainEntryAttribute() { public void setTextMainEntryAttribute(Boolean textMainEntryValue) { TextMainEntryAttribute attr = new TextMainEntryAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textMainEntryValue.booleanValue()); + attr.setValue(textMainEntryValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkStartElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkStartElement.java index 46b5469dd9..1764fe4578 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkStartElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkStartElement.java @@ -196,7 +196,7 @@ public void setTextKey2PhoneticAttribute(String textKey2PhoneticValue) { public Boolean getTextMainEntryAttribute() { TextMainEntryAttribute attr = (TextMainEntryAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "main-entry"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextMainEntryAttribute.DEFAULT_VALUE); } @@ -209,7 +209,7 @@ public Boolean getTextMainEntryAttribute() { public void setTextMainEntryAttribute(Boolean textMainEntryValue) { TextMainEntryAttribute attr = new TextMainEntryAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textMainEntryValue.booleanValue()); + attr.setValue(textMainEntryValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexSourceElement.java index 2c51b4a80e..1019f73049 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexSourceElement.java @@ -179,7 +179,7 @@ public void setStyleRfcLanguageTagAttribute(String styleRfcLanguageTagValue) { public Boolean getTextAlphabeticalSeparatorsAttribute() { TextAlphabeticalSeparatorsAttribute attr = (TextAlphabeticalSeparatorsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "alphabetical-separators"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextAlphabeticalSeparatorsAttribute.DEFAULT_VALUE); } @@ -192,7 +192,7 @@ public Boolean getTextAlphabeticalSeparatorsAttribute() { public void setTextAlphabeticalSeparatorsAttribute(Boolean textAlphabeticalSeparatorsValue) { TextAlphabeticalSeparatorsAttribute attr = new TextAlphabeticalSeparatorsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textAlphabeticalSeparatorsValue.booleanValue()); + attr.setValue(textAlphabeticalSeparatorsValue.toString()); } /** @@ -203,7 +203,7 @@ public void setTextAlphabeticalSeparatorsAttribute(Boolean textAlphabeticalSepar public Boolean getTextCapitalizeEntriesAttribute() { TextCapitalizeEntriesAttribute attr = (TextCapitalizeEntriesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "capitalize-entries"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCapitalizeEntriesAttribute.DEFAULT_VALUE); } @@ -216,7 +216,7 @@ public Boolean getTextCapitalizeEntriesAttribute() { public void setTextCapitalizeEntriesAttribute(Boolean textCapitalizeEntriesValue) { TextCapitalizeEntriesAttribute attr = new TextCapitalizeEntriesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCapitalizeEntriesValue.booleanValue()); + attr.setValue(textCapitalizeEntriesValue.toString()); } /** @@ -227,7 +227,7 @@ public void setTextCapitalizeEntriesAttribute(Boolean textCapitalizeEntriesValue public Boolean getTextCombineEntriesAttribute() { TextCombineEntriesAttribute attr = (TextCombineEntriesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "combine-entries"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCombineEntriesAttribute.DEFAULT_VALUE); } @@ -240,7 +240,7 @@ public Boolean getTextCombineEntriesAttribute() { public void setTextCombineEntriesAttribute(Boolean textCombineEntriesValue) { TextCombineEntriesAttribute attr = new TextCombineEntriesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCombineEntriesValue.booleanValue()); + attr.setValue(textCombineEntriesValue.toString()); } /** @@ -251,7 +251,7 @@ public void setTextCombineEntriesAttribute(Boolean textCombineEntriesValue) { public Boolean getTextCombineEntriesWithDashAttribute() { TextCombineEntriesWithDashAttribute attr = (TextCombineEntriesWithDashAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "combine-entries-with-dash"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCombineEntriesWithDashAttribute.DEFAULT_VALUE); } @@ -264,7 +264,7 @@ public Boolean getTextCombineEntriesWithDashAttribute() { public void setTextCombineEntriesWithDashAttribute(Boolean textCombineEntriesWithDashValue) { TextCombineEntriesWithDashAttribute attr = new TextCombineEntriesWithDashAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCombineEntriesWithDashValue.booleanValue()); + attr.setValue(textCombineEntriesWithDashValue.toString()); } /** @@ -275,7 +275,7 @@ public void setTextCombineEntriesWithDashAttribute(Boolean textCombineEntriesWit public Boolean getTextCombineEntriesWithPpAttribute() { TextCombineEntriesWithPpAttribute attr = (TextCombineEntriesWithPpAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "combine-entries-with-pp"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCombineEntriesWithPpAttribute.DEFAULT_VALUE); } @@ -288,7 +288,7 @@ public Boolean getTextCombineEntriesWithPpAttribute() { public void setTextCombineEntriesWithPpAttribute(Boolean textCombineEntriesWithPpValue) { TextCombineEntriesWithPpAttribute attr = new TextCombineEntriesWithPpAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCombineEntriesWithPpValue.booleanValue()); + attr.setValue(textCombineEntriesWithPpValue.toString()); } /** @@ -299,7 +299,7 @@ public void setTextCombineEntriesWithPpAttribute(Boolean textCombineEntriesWithP public Boolean getTextCommaSeparatedAttribute() { TextCommaSeparatedAttribute attr = (TextCommaSeparatedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "comma-separated"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCommaSeparatedAttribute.DEFAULT_VALUE); } @@ -312,7 +312,7 @@ public Boolean getTextCommaSeparatedAttribute() { public void setTextCommaSeparatedAttribute(Boolean textCommaSeparatedValue) { TextCommaSeparatedAttribute attr = new TextCommaSeparatedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCommaSeparatedValue.booleanValue()); + attr.setValue(textCommaSeparatedValue.toString()); } /** @@ -323,7 +323,7 @@ public void setTextCommaSeparatedAttribute(Boolean textCommaSeparatedValue) { public Boolean getTextIgnoreCaseAttribute() { TextIgnoreCaseAttribute attr = (TextIgnoreCaseAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "ignore-case"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextIgnoreCaseAttribute.DEFAULT_VALUE); } @@ -336,7 +336,7 @@ public Boolean getTextIgnoreCaseAttribute() { public void setTextIgnoreCaseAttribute(Boolean textIgnoreCaseValue) { TextIgnoreCaseAttribute attr = new TextIgnoreCaseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textIgnoreCaseValue.booleanValue()); + attr.setValue(textIgnoreCaseValue.toString()); } /** @@ -395,7 +395,7 @@ public void setTextMainEntryStyleNameAttribute(String textMainEntryStyleNameValu public Boolean getTextRelativeTabStopPositionAttribute() { TextRelativeTabStopPositionAttribute attr = (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRelativeTabStopPositionAttribute.DEFAULT_VALUE); } @@ -408,7 +408,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopPositionValue) { TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -443,7 +443,7 @@ public void setTextSortAlgorithmAttribute(String textSortAlgorithmValue) { public Boolean getTextUseKeysAsEntriesAttribute() { TextUseKeysAsEntriesAttribute attr = (TextUseKeysAsEntriesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-keys-as-entries"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseKeysAsEntriesAttribute.DEFAULT_VALUE); } @@ -456,17 +456,17 @@ public Boolean getTextUseKeysAsEntriesAttribute() { public void setTextUseKeysAsEntriesAttribute(Boolean textUseKeysAsEntriesValue) { TextUseKeysAsEntriesAttribute attr = new TextUseKeysAsEntriesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseKeysAsEntriesValue.booleanValue()); + attr.setValue(textUseKeysAsEntriesValue.toString()); } /** * Create child element {@odf.element text:alphabetical-index-entry-template}. * - * @param textOutlineLevelValue the Integer value of TextOutlineLevelAttribute, see {@odf.attribute text:outline-level} at specification + * @param textOutlineLevelValue the String value of TextOutlineLevelAttribute, see {@odf.attribute text:outline-level} at specification * @param textStyleNameValue the String value of TextStyleNameAttribute, see {@odf.attribute text:style-name} at specification * @return the element {@odf.element text:alphabetical-index-entry-template} */ - public TextAlphabeticalIndexEntryTemplateElement newTextAlphabeticalIndexEntryTemplateElement(int textOutlineLevelValue, String textStyleNameValue) { + public TextAlphabeticalIndexEntryTemplateElement newTextAlphabeticalIndexEntryTemplateElement(String textOutlineLevelValue, String textStyleNameValue) { TextAlphabeticalIndexEntryTemplateElement textAlphabeticalIndexEntryTemplate = ((OdfFileDom) this.ownerDocument).newOdfElement(TextAlphabeticalIndexEntryTemplateElement.class); textAlphabeticalIndexEntryTemplate.setTextOutlineLevelAttribute(textOutlineLevelValue); textAlphabeticalIndexEntryTemplate.setTextStyleNameAttribute(textStyleNameValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextAuthorInitialsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextAuthorInitialsElement.java index 37fbd90c77..e156d2d8e6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextAuthorInitialsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextAuthorInitialsElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextAuthorNameElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextAuthorNameElement.java index 39f94fc131..1f2f50db96 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextAuthorNameElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextAuthorNameElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextBibliographyConfigurationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextBibliographyConfigurationElement.java index ec12ed6247..ba7d2b7827 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextBibliographyConfigurationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextBibliographyConfigurationElement.java @@ -172,7 +172,7 @@ public void setStyleRfcLanguageTagAttribute(String styleRfcLanguageTagValue) { public Boolean getTextNumberedEntriesAttribute() { TextNumberedEntriesAttribute attr = (TextNumberedEntriesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "numbered-entries"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextNumberedEntriesAttribute.DEFAULT_VALUE); } @@ -185,7 +185,7 @@ public Boolean getTextNumberedEntriesAttribute() { public void setTextNumberedEntriesAttribute(Boolean textNumberedEntriesValue) { TextNumberedEntriesAttribute attr = new TextNumberedEntriesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textNumberedEntriesValue.booleanValue()); + attr.setValue(textNumberedEntriesValue.toString()); } /** @@ -244,7 +244,7 @@ public void setTextSortAlgorithmAttribute(String textSortAlgorithmValue) { public Boolean getTextSortByPositionAttribute() { TextSortByPositionAttribute attr = (TextSortByPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "sort-by-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextSortByPositionAttribute.DEFAULT_VALUE); } @@ -257,7 +257,7 @@ public Boolean getTextSortByPositionAttribute() { public void setTextSortByPositionAttribute(Boolean textSortByPositionValue) { TextSortByPositionAttribute attr = new TextSortByPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textSortByPositionValue.booleanValue()); + attr.setValue(textSortByPositionValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextBibliographyElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextBibliographyElement.java index 89208ed50a..399c534eb3 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextBibliographyElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextBibliographyElement.java @@ -101,7 +101,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -114,7 +114,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextChapterElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextChapterElement.java index 8ad87ff698..d7e14ae276 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextChapterElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextChapterElement.java @@ -97,7 +97,7 @@ public void setTextDisplayAttribute(String textDisplayValue) { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -110,7 +110,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextCharacterCountElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextCharacterCountElement.java index 5c4f08abfd..481e09e0e6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextCharacterCountElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextCharacterCountElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextConditionalTextElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextConditionalTextElement.java index e30c4413f9..90e15afa69 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextConditionalTextElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextConditionalTextElement.java @@ -97,7 +97,7 @@ public void setTextConditionAttribute(String textConditionValue) { public Boolean getTextCurrentValueAttribute() { TextCurrentValueAttribute attr = (TextCurrentValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "current-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -110,7 +110,7 @@ public Boolean getTextCurrentValueAttribute() { public void setTextCurrentValueAttribute(Boolean textCurrentValueValue) { TextCurrentValueAttribute attr = new TextCurrentValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCurrentValueValue.booleanValue()); + attr.setValue(textCurrentValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextCreationDateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextCreationDateElement.java index c99b33db2f..ece720b5b5 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextCreationDateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextCreationDateElement.java @@ -118,7 +118,7 @@ public void setTextDateValueAttribute(String textDateValueValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -131,7 +131,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextCreationTimeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextCreationTimeElement.java index c82fe49706..ae926f4213 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextCreationTimeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextCreationTimeElement.java @@ -94,7 +94,7 @@ public void setStyleDataStyleNameAttribute(String styleDataStyleNameValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -107,7 +107,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextCreatorElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextCreatorElement.java index a0c343436a..edafd374d6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextCreatorElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextCreatorElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowNumberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowNumberElement.java index 89f3814b94..879386a7b2 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowNumberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowNumberElement.java @@ -100,7 +100,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -113,7 +113,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -198,7 +198,7 @@ public void setTextTableTypeAttribute(String textTableTypeValue) { public Integer getTextValueAttribute() { TextValueAttribute attr = (TextValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -211,7 +211,7 @@ public Integer getTextValueAttribute() { public void setTextValueAttribute(Integer textValueValue) { TextValueAttribute attr = new TextValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textValueValue.intValue()); + attr.setValue(textValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowSelectElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowSelectElement.java index 62a980edc6..813046bcf0 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowSelectElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowSelectElement.java @@ -121,7 +121,7 @@ public void setTextDatabaseNameAttribute(String textDatabaseNameValue) { public Integer getTextRowNumberAttribute() { TextRowNumberAttribute attr = (TextRowNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "row-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -134,7 +134,7 @@ public Integer getTextRowNumberAttribute() { public void setTextRowNumberAttribute(Integer textRowNumberValue) { TextRowNumberAttribute attr = new TextRowNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textRowNumberValue.intValue()); + attr.setValue(textRowNumberValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextDateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextDateElement.java index 95882a1b06..9f36678881 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextDateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextDateElement.java @@ -143,7 +143,7 @@ public void setTextDateValueAttribute(String textDateValueValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -156,7 +156,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextDdeConnectionDeclElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextDdeConnectionDeclElement.java index 70acd1ca34..4107d5ba04 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextDdeConnectionDeclElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextDdeConnectionDeclElement.java @@ -72,7 +72,7 @@ public OdfName getOdfName() { public Boolean getOfficeAutomaticUpdateAttribute() { OfficeAutomaticUpdateAttribute attr = (OfficeAutomaticUpdateAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "automatic-update"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(OfficeAutomaticUpdateAttribute.DEFAULT_VALUE); } @@ -85,7 +85,7 @@ public Boolean getOfficeAutomaticUpdateAttribute() { public void setOfficeAutomaticUpdateAttribute(Boolean officeAutomaticUpdateValue) { OfficeAutomaticUpdateAttribute attr = new OfficeAutomaticUpdateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeAutomaticUpdateValue.booleanValue()); + attr.setValue(officeAutomaticUpdateValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextDescriptionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextDescriptionElement.java index 6c2a14c7d9..cf674c7c01 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextDescriptionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextDescriptionElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextEditingCyclesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextEditingCyclesElement.java index fb219b7158..1fd51876fa 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextEditingCyclesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextEditingCyclesElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextEditingDurationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextEditingDurationElement.java index f0478fa9e2..d7b988d6ee 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextEditingDurationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextEditingDurationElement.java @@ -118,7 +118,7 @@ public void setTextDurationAttribute(String textDurationValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -131,7 +131,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextExpressionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextExpressionElement.java index fbf9ff8773..e8e1d6bb7e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextExpressionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextExpressionElement.java @@ -77,7 +77,7 @@ public OdfName getOdfName() { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -90,7 +90,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -199,7 +199,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -212,7 +212,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextFileNameElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextFileNameElement.java index 74b36c395a..298d17d261 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextFileNameElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextFileNameElement.java @@ -93,7 +93,7 @@ public void setTextDisplayAttribute(String textDisplayValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -106,7 +106,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextHElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextHElement.java index a31a43cfd2..ac49cc4bf5 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextHElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextHElement.java @@ -80,7 +80,7 @@ public OdfName getOdfName() { public Boolean getTextIsListHeaderAttribute() { TextIsListHeaderAttribute attr = (TextIsListHeaderAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "is-list-header"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextIsListHeaderAttribute.DEFAULT_VALUE); } @@ -93,7 +93,7 @@ public Boolean getTextIsListHeaderAttribute() { public void setTextIsListHeaderAttribute(Boolean textIsListHeaderValue) { TextIsListHeaderAttribute attr = new TextIsListHeaderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textIsListHeaderValue.booleanValue()); + attr.setValue(textIsListHeaderValue.toString()); } /** @@ -106,7 +106,7 @@ public void setTextIsListHeaderAttribute(Boolean textIsListHeaderValue) { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -119,7 +119,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** @@ -130,7 +130,7 @@ public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { public Boolean getTextRestartNumberingAttribute() { TextRestartNumberingAttribute attr = (TextRestartNumberingAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "restart-numbering"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRestartNumberingAttribute.DEFAULT_VALUE); } @@ -143,7 +143,7 @@ public Boolean getTextRestartNumberingAttribute() { public void setTextRestartNumberingAttribute(Boolean textRestartNumberingValue) { TextRestartNumberingAttribute attr = new TextRestartNumberingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRestartNumberingValue.booleanValue()); + attr.setValue(textRestartNumberingValue.toString()); } /** @@ -154,7 +154,7 @@ public void setTextRestartNumberingAttribute(Boolean textRestartNumberingValue) public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -167,7 +167,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextHiddenParagraphElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextHiddenParagraphElement.java index c4f9ec9b21..b1260c36e7 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextHiddenParagraphElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextHiddenParagraphElement.java @@ -95,7 +95,7 @@ public void setTextConditionAttribute(String textConditionValue) { public Boolean getTextIsHiddenAttribute() { TextIsHiddenAttribute attr = (TextIsHiddenAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "is-hidden"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getTextIsHiddenAttribute() { public void setTextIsHiddenAttribute(Boolean textIsHiddenValue) { TextIsHiddenAttribute attr = new TextIsHiddenAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textIsHiddenValue.booleanValue()); + attr.setValue(textIsHiddenValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextHiddenTextElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextHiddenTextElement.java index 8de37d960a..06bbd3263a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextHiddenTextElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextHiddenTextElement.java @@ -96,7 +96,7 @@ public void setTextConditionAttribute(String textConditionValue) { public Boolean getTextIsHiddenAttribute() { TextIsHiddenAttribute attr = (TextIsHiddenAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "is-hidden"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -109,7 +109,7 @@ public Boolean getTextIsHiddenAttribute() { public void setTextIsHiddenAttribute(Boolean textIsHiddenValue) { TextIsHiddenAttribute attr = new TextIsHiddenAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textIsHiddenValue.booleanValue()); + attr.setValue(textIsHiddenValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexElement.java index c307856c65..c638e474a3 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexElement.java @@ -101,7 +101,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -114,7 +114,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexSourceElement.java index 1961c68918..911b1782d3 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexSourceElement.java @@ -144,7 +144,7 @@ public void setTextIndexScopeAttribute(String textIndexScopeValue) { public Boolean getTextRelativeTabStopPositionAttribute() { TextRelativeTabStopPositionAttribute attr = (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRelativeTabStopPositionAttribute.DEFAULT_VALUE); } @@ -157,7 +157,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopPositionValue) { TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -168,7 +168,7 @@ public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopP public Boolean getTextUseCaptionAttribute() { TextUseCaptionAttribute attr = (TextUseCaptionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-caption"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseCaptionAttribute.DEFAULT_VALUE); } @@ -181,7 +181,7 @@ public Boolean getTextUseCaptionAttribute() { public void setTextUseCaptionAttribute(Boolean textUseCaptionValue) { TextUseCaptionAttribute attr = new TextUseCaptionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseCaptionValue.booleanValue()); + attr.setValue(textUseCaptionValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextImageCountElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextImageCountElement.java index fc03ee6dc5..756bc5ff35 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextImageCountElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextImageCountElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextIndexEntryChapterElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextIndexEntryChapterElement.java index 905e4e3291..2ab46c8eeb 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextIndexEntryChapterElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextIndexEntryChapterElement.java @@ -96,7 +96,7 @@ public void setTextDisplayAttribute(String textDisplayValue) { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -109,7 +109,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextIndexSourceStylesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextIndexSourceStylesElement.java index cb8f9e0339..563179222e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextIndexSourceStylesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextIndexSourceStylesElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -83,7 +83,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextIndexTitleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextIndexTitleElement.java index 3a76be54f5..a97d3577ec 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextIndexTitleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextIndexTitleElement.java @@ -120,7 +120,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -133,7 +133,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextInitialCreatorElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextInitialCreatorElement.java index 2a1d9e864b..067fc39a87 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextInitialCreatorElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextInitialCreatorElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextKeywordsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextKeywordsElement.java index d07ee2501a..92771429c1 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextKeywordsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextKeywordsElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingConfigurationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingConfigurationElement.java index ca81023543..3da2438b46 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingConfigurationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingConfigurationElement.java @@ -105,7 +105,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -118,7 +118,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -129,7 +129,7 @@ public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { public Boolean getTextCountEmptyLinesAttribute() { TextCountEmptyLinesAttribute attr = (TextCountEmptyLinesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "count-empty-lines"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCountEmptyLinesAttribute.DEFAULT_VALUE); } @@ -142,7 +142,7 @@ public Boolean getTextCountEmptyLinesAttribute() { public void setTextCountEmptyLinesAttribute(Boolean textCountEmptyLinesValue) { TextCountEmptyLinesAttribute attr = new TextCountEmptyLinesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCountEmptyLinesValue.booleanValue()); + attr.setValue(textCountEmptyLinesValue.toString()); } /** @@ -153,7 +153,7 @@ public void setTextCountEmptyLinesAttribute(Boolean textCountEmptyLinesValue) { public Boolean getTextCountInTextBoxesAttribute() { TextCountInTextBoxesAttribute attr = (TextCountInTextBoxesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "count-in-text-boxes"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCountInTextBoxesAttribute.DEFAULT_VALUE); } @@ -166,7 +166,7 @@ public Boolean getTextCountInTextBoxesAttribute() { public void setTextCountInTextBoxesAttribute(Boolean textCountInTextBoxesValue) { TextCountInTextBoxesAttribute attr = new TextCountInTextBoxesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCountInTextBoxesValue.booleanValue()); + attr.setValue(textCountInTextBoxesValue.toString()); } /** @@ -177,7 +177,7 @@ public void setTextCountInTextBoxesAttribute(Boolean textCountInTextBoxesValue) public Integer getTextIncrementAttribute() { TextIncrementAttribute attr = (TextIncrementAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "increment"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -190,7 +190,7 @@ public Integer getTextIncrementAttribute() { public void setTextIncrementAttribute(Integer textIncrementValue) { TextIncrementAttribute attr = new TextIncrementAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textIncrementValue.intValue()); + attr.setValue(textIncrementValue.toString()); } /** @@ -201,7 +201,7 @@ public void setTextIncrementAttribute(Integer textIncrementValue) { public Boolean getTextNumberLinesAttribute() { TextNumberLinesAttribute attr = (TextNumberLinesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "number-lines"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextNumberLinesAttribute.DEFAULT_VALUE); } @@ -214,7 +214,7 @@ public Boolean getTextNumberLinesAttribute() { public void setTextNumberLinesAttribute(Boolean textNumberLinesValue) { TextNumberLinesAttribute attr = new TextNumberLinesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textNumberLinesValue.booleanValue()); + attr.setValue(textNumberLinesValue.toString()); } /** @@ -273,7 +273,7 @@ public void setTextOffsetAttribute(String textOffsetValue) { public Boolean getTextRestartOnPageAttribute() { TextRestartOnPageAttribute attr = (TextRestartOnPageAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "restart-on-page"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRestartOnPageAttribute.DEFAULT_VALUE); } @@ -286,7 +286,7 @@ public Boolean getTextRestartOnPageAttribute() { public void setTextRestartOnPageAttribute(Boolean textRestartOnPageValue) { TextRestartOnPageAttribute attr = new TextRestartOnPageAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRestartOnPageValue.booleanValue()); + attr.setValue(textRestartOnPageValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingSeparatorElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingSeparatorElement.java index f671c6a413..c43ae0ffe8 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingSeparatorElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingSeparatorElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Integer getTextIncrementAttribute() { TextIncrementAttribute attr = (TextIncrementAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "increment"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Integer getTextIncrementAttribute() { public void setTextIncrementAttribute(Integer textIncrementValue) { TextIncrementAttribute attr = new TextIncrementAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textIncrementValue.intValue()); + attr.setValue(textIncrementValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextListElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextListElement.java index 424567b907..ae82cf064b 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextListElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextListElement.java @@ -95,7 +95,7 @@ public void setTextContinueListAttribute(String textContinueListValue) { public Boolean getTextContinueNumberingAttribute() { TextContinueNumberingAttribute attr = (TextContinueNumberingAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "continue-numbering"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getTextContinueNumberingAttribute() { public void setTextContinueNumberingAttribute(Boolean textContinueNumberingValue) { TextContinueNumberingAttribute attr = new TextContinueNumberingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textContinueNumberingValue.booleanValue()); + attr.setValue(textContinueNumberingValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextListItemElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextListItemElement.java index 27df9cdc8e..0328e2b6f1 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextListItemElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextListItemElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -83,7 +83,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleElementBase.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleElementBase.java index 7535f28c8c..f101480f46 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleElementBase.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleElementBase.java @@ -62,7 +62,7 @@ public TextListLevelStyleElementBase(OdfFileDom ownerDoc, OdfName elementName) { public Integer getTextLevelAttribute() { TextLevelAttribute attr = (TextLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -75,7 +75,7 @@ public Integer getTextLevelAttribute() { public void setTextLevelAttribute(Integer textLevelValue) { TextLevelAttribute attr = new TextLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textLevelValue.intValue()); + attr.setValue(textLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleNumberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleNumberElement.java index fec379b8e1..99c5a8bb41 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleNumberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleNumberElement.java @@ -101,7 +101,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -114,7 +114,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -173,7 +173,7 @@ public void setStyleNumSuffixAttribute(String styleNumSuffixValue) { public Integer getTextDisplayLevelsAttribute() { TextDisplayLevelsAttribute attr = (TextDisplayLevelsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "display-levels"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextDisplayLevelsAttribute.DEFAULT_VALUE); } @@ -186,7 +186,7 @@ public Integer getTextDisplayLevelsAttribute() { public void setTextDisplayLevelsAttribute(Integer textDisplayLevelsValue) { TextDisplayLevelsAttribute attr = new TextDisplayLevelsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textDisplayLevelsValue.intValue()); + attr.setValue(textDisplayLevelsValue.toString()); } /** @@ -197,7 +197,7 @@ public void setTextDisplayLevelsAttribute(Integer textDisplayLevelsValue) { public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextStartValueAttribute.DEFAULT_VALUE); } @@ -210,7 +210,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextListStyleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextListStyleElement.java index 446d766796..bd7fa2e94a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextListStyleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextListStyleElement.java @@ -121,7 +121,7 @@ public void setStyleNameAttribute(String styleNameValue) { public Boolean getTextConsecutiveNumberingAttribute() { TextConsecutiveNumberingAttribute attr = (TextConsecutiveNumberingAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "consecutive-numbering"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextConsecutiveNumberingAttribute.DEFAULT_VALUE); } @@ -134,7 +134,7 @@ public Boolean getTextConsecutiveNumberingAttribute() { public void setTextConsecutiveNumberingAttribute(Boolean textConsecutiveNumberingValue) { TextConsecutiveNumberingAttribute attr = new TextConsecutiveNumberingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textConsecutiveNumberingValue.booleanValue()); + attr.setValue(textConsecutiveNumberingValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextModificationDateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextModificationDateElement.java index d0684ba324..17ae39a3c0 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextModificationDateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextModificationDateElement.java @@ -118,7 +118,7 @@ public void setTextDateValueAttribute(String textDateValueValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -131,7 +131,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextModificationTimeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextModificationTimeElement.java index e12cdc50e6..5a6556f495 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextModificationTimeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextModificationTimeElement.java @@ -94,7 +94,7 @@ public void setStyleDataStyleNameAttribute(String styleDataStyleNameValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -107,7 +107,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextNotesConfigurationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextNotesConfigurationElement.java index 447af6f2f8..b25541f3d5 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextNotesConfigurationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextNotesConfigurationElement.java @@ -105,7 +105,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -118,7 +118,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -347,7 +347,7 @@ public void setTextStartNumberingAtAttribute(String textStartNumberingAtValue) { public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextStartValueAttribute.DEFAULT_VALUE); } @@ -360,7 +360,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextNumberedParagraphElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextNumberedParagraphElement.java index 59ffd9e5e5..de442ee904 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextNumberedParagraphElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextNumberedParagraphElement.java @@ -75,7 +75,7 @@ public OdfName getOdfName() { public Boolean getTextContinueNumberingAttribute() { TextContinueNumberingAttribute attr = (TextContinueNumberingAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "continue-numbering"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -88,7 +88,7 @@ public Boolean getTextContinueNumberingAttribute() { public void setTextContinueNumberingAttribute(Boolean textContinueNumberingValue) { TextContinueNumberingAttribute attr = new TextContinueNumberingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textContinueNumberingValue.booleanValue()); + attr.setValue(textContinueNumberingValue.toString()); } /** @@ -99,7 +99,7 @@ public void setTextContinueNumberingAttribute(Boolean textContinueNumberingValue public Integer getTextLevelAttribute() { TextLevelAttribute attr = (TextLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextLevelAttribute.DEFAULT_VALUE); } @@ -112,7 +112,7 @@ public Integer getTextLevelAttribute() { public void setTextLevelAttribute(Integer textLevelValue) { TextLevelAttribute attr = new TextLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textLevelValue.intValue()); + attr.setValue(textLevelValue.toString()); } /** @@ -149,7 +149,7 @@ public void setTextListIdAttribute(String textListIdValue) { public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -162,7 +162,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextObjectCountElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextObjectCountElement.java index 52b3ab0168..258570590f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextObjectCountElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextObjectCountElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexElement.java index e4e8bee8d4..ab62aa4243 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexElement.java @@ -101,7 +101,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -114,7 +114,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexSourceElement.java index b15cde5e3d..2455ac9cc4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexSourceElement.java @@ -98,7 +98,7 @@ public void setTextIndexScopeAttribute(String textIndexScopeValue) { public Boolean getTextRelativeTabStopPositionAttribute() { TextRelativeTabStopPositionAttribute attr = (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRelativeTabStopPositionAttribute.DEFAULT_VALUE); } @@ -111,7 +111,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopPositionValue) { TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -122,7 +122,7 @@ public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopP public Boolean getTextUseChartObjectsAttribute() { TextUseChartObjectsAttribute attr = (TextUseChartObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-chart-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseChartObjectsAttribute.DEFAULT_VALUE); } @@ -135,7 +135,7 @@ public Boolean getTextUseChartObjectsAttribute() { public void setTextUseChartObjectsAttribute(Boolean textUseChartObjectsValue) { TextUseChartObjectsAttribute attr = new TextUseChartObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseChartObjectsValue.booleanValue()); + attr.setValue(textUseChartObjectsValue.toString()); } /** @@ -146,7 +146,7 @@ public void setTextUseChartObjectsAttribute(Boolean textUseChartObjectsValue) { public Boolean getTextUseDrawObjectsAttribute() { TextUseDrawObjectsAttribute attr = (TextUseDrawObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-draw-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseDrawObjectsAttribute.DEFAULT_VALUE); } @@ -159,7 +159,7 @@ public Boolean getTextUseDrawObjectsAttribute() { public void setTextUseDrawObjectsAttribute(Boolean textUseDrawObjectsValue) { TextUseDrawObjectsAttribute attr = new TextUseDrawObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseDrawObjectsValue.booleanValue()); + attr.setValue(textUseDrawObjectsValue.toString()); } /** @@ -170,7 +170,7 @@ public void setTextUseDrawObjectsAttribute(Boolean textUseDrawObjectsValue) { public Boolean getTextUseMathObjectsAttribute() { TextUseMathObjectsAttribute attr = (TextUseMathObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-math-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseMathObjectsAttribute.DEFAULT_VALUE); } @@ -183,7 +183,7 @@ public Boolean getTextUseMathObjectsAttribute() { public void setTextUseMathObjectsAttribute(Boolean textUseMathObjectsValue) { TextUseMathObjectsAttribute attr = new TextUseMathObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseMathObjectsValue.booleanValue()); + attr.setValue(textUseMathObjectsValue.toString()); } /** @@ -194,7 +194,7 @@ public void setTextUseMathObjectsAttribute(Boolean textUseMathObjectsValue) { public Boolean getTextUseOtherObjectsAttribute() { TextUseOtherObjectsAttribute attr = (TextUseOtherObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-other-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseOtherObjectsAttribute.DEFAULT_VALUE); } @@ -207,7 +207,7 @@ public Boolean getTextUseOtherObjectsAttribute() { public void setTextUseOtherObjectsAttribute(Boolean textUseOtherObjectsValue) { TextUseOtherObjectsAttribute attr = new TextUseOtherObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseOtherObjectsValue.booleanValue()); + attr.setValue(textUseOtherObjectsValue.toString()); } /** @@ -218,7 +218,7 @@ public void setTextUseOtherObjectsAttribute(Boolean textUseOtherObjectsValue) { public Boolean getTextUseSpreadsheetObjectsAttribute() { TextUseSpreadsheetObjectsAttribute attr = (TextUseSpreadsheetObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-spreadsheet-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseSpreadsheetObjectsAttribute.DEFAULT_VALUE); } @@ -231,7 +231,7 @@ public Boolean getTextUseSpreadsheetObjectsAttribute() { public void setTextUseSpreadsheetObjectsAttribute(Boolean textUseSpreadsheetObjectsValue) { TextUseSpreadsheetObjectsAttribute attr = new TextUseSpreadsheetObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseSpreadsheetObjectsValue.booleanValue()); + attr.setValue(textUseSpreadsheetObjectsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextOutlineLevelStyleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextOutlineLevelStyleElement.java index f36b0a545a..550586fea4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextOutlineLevelStyleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextOutlineLevelStyleElement.java @@ -104,7 +104,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -117,7 +117,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -176,7 +176,7 @@ public void setStyleNumSuffixAttribute(String styleNumSuffixValue) { public Integer getTextDisplayLevelsAttribute() { TextDisplayLevelsAttribute attr = (TextDisplayLevelsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "display-levels"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextDisplayLevelsAttribute.DEFAULT_VALUE); } @@ -189,7 +189,7 @@ public Integer getTextDisplayLevelsAttribute() { public void setTextDisplayLevelsAttribute(Integer textDisplayLevelsValue) { TextDisplayLevelsAttribute attr = new TextDisplayLevelsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textDisplayLevelsValue.intValue()); + attr.setValue(textDisplayLevelsValue.toString()); } /** @@ -202,7 +202,7 @@ public void setTextDisplayLevelsAttribute(Integer textDisplayLevelsValue) { public Integer getTextLevelAttribute() { TextLevelAttribute attr = (TextLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -215,7 +215,7 @@ public Integer getTextLevelAttribute() { public void setTextLevelAttribute(Integer textLevelValue) { TextLevelAttribute attr = new TextLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textLevelValue.intValue()); + attr.setValue(textLevelValue.toString()); } /** @@ -226,7 +226,7 @@ public void setTextLevelAttribute(Integer textLevelValue) { public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextStartValueAttribute.DEFAULT_VALUE); } @@ -239,7 +239,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextPageCountElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextPageCountElement.java index 5c21de82e4..297e0de76f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextPageCountElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextPageCountElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextPageNumberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextPageNumberElement.java index 2d7364aef0..aa22b329aa 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextPageNumberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextPageNumberElement.java @@ -98,7 +98,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -111,7 +111,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -122,7 +122,7 @@ public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -135,7 +135,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** @@ -146,7 +146,7 @@ public void setTextFixedAttribute(Boolean textFixedValue) { public Integer getTextPageAdjustAttribute() { TextPageAdjustAttribute attr = (TextPageAdjustAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "page-adjust"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -159,7 +159,7 @@ public Integer getTextPageAdjustAttribute() { public void setTextPageAdjustAttribute(Integer textPageAdjustValue) { TextPageAdjustAttribute attr = new TextPageAdjustAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textPageAdjustValue.intValue()); + attr.setValue(textPageAdjustValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextPageVariableGetElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextPageVariableGetElement.java index 18e99043b7..af28ee8b02 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextPageVariableGetElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextPageVariableGetElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextPageVariableSetElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextPageVariableSetElement.java index 281155ea1a..342ded3efa 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextPageVariableSetElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextPageVariableSetElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Boolean getTextActiveAttribute() { TextActiveAttribute attr = (TextActiveAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "active"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -82,7 +82,7 @@ public Boolean getTextActiveAttribute() { public void setTextActiveAttribute(Boolean textActiveValue) { TextActiveAttribute attr = new TextActiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textActiveValue.booleanValue()); + attr.setValue(textActiveValue.toString()); } /** @@ -93,7 +93,7 @@ public void setTextActiveAttribute(Boolean textActiveValue) { public Integer getTextPageAdjustAttribute() { TextPageAdjustAttribute attr = (TextPageAdjustAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "page-adjust"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -106,7 +106,7 @@ public Integer getTextPageAdjustAttribute() { public void setTextPageAdjustAttribute(Integer textPageAdjustValue) { TextPageAdjustAttribute attr = new TextPageAdjustAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textPageAdjustValue.intValue()); + attr.setValue(textPageAdjustValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextParagraphCountElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextParagraphCountElement.java index bdd26edb96..21c3e91359 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextParagraphCountElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextParagraphCountElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextPrintDateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextPrintDateElement.java index 4b09328289..84f95742af 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextPrintDateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextPrintDateElement.java @@ -118,7 +118,7 @@ public void setTextDateValueAttribute(String textDateValueValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -131,7 +131,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextPrintTimeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextPrintTimeElement.java index 88ad7e984f..0c00d88afd 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextPrintTimeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextPrintTimeElement.java @@ -94,7 +94,7 @@ public void setStyleDataStyleNameAttribute(String styleDataStyleNameValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -107,7 +107,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextPrintedByElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextPrintedByElement.java index a12ca813a2..7abfd15f80 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextPrintedByElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextPrintedByElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSElement.java index 7b1270a4e4..03092f5de8 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Integer getTextCAttribute() { TextCAttribute attr = (TextCAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "c"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextCAttribute.DEFAULT_VALUE); } @@ -82,7 +82,7 @@ public Integer getTextCAttribute() { public void setTextCAttribute(Integer textCValue) { TextCAttribute attr = new TextCAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textCValue.intValue()); + attr.setValue(textCValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSectionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSectionElement.java index 7232817bb5..4759950d42 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSectionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSectionElement.java @@ -173,7 +173,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -186,7 +186,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderCityElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderCityElement.java index 4c4df241fd..ea8a331ca0 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderCityElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderCityElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderCompanyElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderCompanyElement.java index bb7a3c0717..d2d8088a67 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderCompanyElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderCompanyElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderCountryElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderCountryElement.java index 6d5f78ad96..cb6fed2024 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderCountryElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderCountryElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderEmailElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderEmailElement.java index 0db1bb6095..d34d244d17 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderEmailElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderEmailElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderFaxElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderFaxElement.java index 04647b41b6..462e1fd0b4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderFaxElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderFaxElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderFirstnameElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderFirstnameElement.java index 781be614d7..f050ba9331 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderFirstnameElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderFirstnameElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderInitialsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderInitialsElement.java index 9bd0d16788..378baf542e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderInitialsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderInitialsElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderLastnameElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderLastnameElement.java index 370da67879..a37457741f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderLastnameElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderLastnameElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderPhonePrivateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderPhonePrivateElement.java index 812891f1fb..8037e49fdc 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderPhonePrivateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderPhonePrivateElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderPhoneWorkElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderPhoneWorkElement.java index 2cad116cc8..34a944a72a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderPhoneWorkElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderPhoneWorkElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderPositionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderPositionElement.java index ad73e561c1..85cb51496a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderPositionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderPositionElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderPostalCodeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderPostalCodeElement.java index f8aebb6f11..6544bfd64a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderPostalCodeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderPostalCodeElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderStateOrProvinceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderStateOrProvinceElement.java index 4c5ffd9c05..5128f9c881 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderStateOrProvinceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderStateOrProvinceElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderStreetElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderStreetElement.java index c536a87b0b..0d70bf2168 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderStreetElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderStreetElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderTitleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderTitleElement.java index 36dce26c9c..48d5aed1c7 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderTitleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSenderTitleElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSequenceDeclElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSequenceDeclElement.java index 699f523a60..5da1e93751 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSequenceDeclElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSequenceDeclElement.java @@ -72,7 +72,7 @@ public OdfName getOdfName() { public Integer getTextDisplayOutlineLevelAttribute() { TextDisplayOutlineLevelAttribute attr = (TextDisplayOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "display-outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Integer getTextDisplayOutlineLevelAttribute() { public void setTextDisplayOutlineLevelAttribute(Integer textDisplayOutlineLevelValue) { TextDisplayOutlineLevelAttribute attr = new TextDisplayOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textDisplayOutlineLevelValue.intValue()); + attr.setValue(textDisplayOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSequenceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSequenceElement.java index d4eb24c4a8..309371ff23 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSequenceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSequenceElement.java @@ -98,7 +98,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -111,7 +111,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSortKeyElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSortKeyElement.java index fb027ac4cf..d6b789dc92 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSortKeyElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSortKeyElement.java @@ -95,7 +95,7 @@ public void setTextKeyAttribute(String textKeyValue) { public Boolean getTextSortAscendingAttribute() { TextSortAscendingAttribute attr = (TextSortAscendingAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "sort-ascending"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextSortAscendingAttribute.DEFAULT_VALUE); } @@ -108,7 +108,7 @@ public Boolean getTextSortAscendingAttribute() { public void setTextSortAscendingAttribute(Boolean textSortAscendingValue) { TextSortAscendingAttribute attr = new TextSortAscendingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textSortAscendingValue.booleanValue()); + attr.setValue(textSortAscendingValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSubjectElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSubjectElement.java index faeb6df221..d2951a4234 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSubjectElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextSubjectElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTabElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTabElement.java index 6070cb9955..c043ff42db 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTabElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTabElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Integer getTextTabRefAttribute() { TextTabRefAttribute attr = (TextTabRefAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "tab-ref"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Integer getTextTabRefAttribute() { public void setTextTabRefAttribute(Integer textTabRefValue) { TextTabRefAttribute attr = new TextTabRefAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textTabRefValue.intValue()); + attr.setValue(textTabRefValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTableCountElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTableCountElement.java index 818d5c94cb..f8503b48f7 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTableCountElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTableCountElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTableIndexElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTableIndexElement.java index ad296c21a2..18a8b9bb65 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTableIndexElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTableIndexElement.java @@ -101,7 +101,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -114,7 +114,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTableIndexSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTableIndexSourceElement.java index ae3c410995..06fdc385e8 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTableIndexSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTableIndexSourceElement.java @@ -144,7 +144,7 @@ public void setTextIndexScopeAttribute(String textIndexScopeValue) { public Boolean getTextRelativeTabStopPositionAttribute() { TextRelativeTabStopPositionAttribute attr = (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRelativeTabStopPositionAttribute.DEFAULT_VALUE); } @@ -157,7 +157,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopPositionValue) { TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -168,7 +168,7 @@ public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopP public Boolean getTextUseCaptionAttribute() { TextUseCaptionAttribute attr = (TextUseCaptionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-caption"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseCaptionAttribute.DEFAULT_VALUE); } @@ -181,7 +181,7 @@ public Boolean getTextUseCaptionAttribute() { public void setTextUseCaptionAttribute(Boolean textUseCaptionValue) { TextUseCaptionAttribute attr = new TextUseCaptionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseCaptionValue.booleanValue()); + attr.setValue(textUseCaptionValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentElement.java index 6f1884ace1..55b710f10f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentElement.java @@ -101,7 +101,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -114,7 +114,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentEntryTemplateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentEntryTemplateElement.java index 1bd5deae54..e362462575 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentEntryTemplateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentEntryTemplateElement.java @@ -73,7 +73,7 @@ public OdfName getOdfName() { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -86,7 +86,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentSourceElement.java index c95f103b5a..f490ac22e2 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentSourceElement.java @@ -97,7 +97,7 @@ public void setTextIndexScopeAttribute(String textIndexScopeValue) { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -110,7 +110,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** @@ -121,7 +121,7 @@ public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { public Boolean getTextRelativeTabStopPositionAttribute() { TextRelativeTabStopPositionAttribute attr = (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -134,7 +134,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopPositionValue) { TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -145,7 +145,7 @@ public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopP public Boolean getTextUseIndexMarksAttribute() { TextUseIndexMarksAttribute attr = (TextUseIndexMarksAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-index-marks"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -158,7 +158,7 @@ public Boolean getTextUseIndexMarksAttribute() { public void setTextUseIndexMarksAttribute(Boolean textUseIndexMarksValue) { TextUseIndexMarksAttribute attr = new TextUseIndexMarksAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseIndexMarksValue.booleanValue()); + attr.setValue(textUseIndexMarksValue.toString()); } /** @@ -169,7 +169,7 @@ public void setTextUseIndexMarksAttribute(Boolean textUseIndexMarksValue) { public Boolean getTextUseIndexSourceStylesAttribute() { TextUseIndexSourceStylesAttribute attr = (TextUseIndexSourceStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-index-source-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -182,7 +182,7 @@ public Boolean getTextUseIndexSourceStylesAttribute() { public void setTextUseIndexSourceStylesAttribute(Boolean textUseIndexSourceStylesValue) { TextUseIndexSourceStylesAttribute attr = new TextUseIndexSourceStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseIndexSourceStylesValue.booleanValue()); + attr.setValue(textUseIndexSourceStylesValue.toString()); } /** @@ -193,7 +193,7 @@ public void setTextUseIndexSourceStylesAttribute(Boolean textUseIndexSourceStyle public Boolean getTextUseOutlineLevelAttribute() { TextUseOutlineLevelAttribute attr = (TextUseOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseOutlineLevelAttribute.DEFAULT_VALUE); } @@ -206,7 +206,7 @@ public Boolean getTextUseOutlineLevelAttribute() { public void setTextUseOutlineLevelAttribute(Boolean textUseOutlineLevelValue) { TextUseOutlineLevelAttribute attr = new TextUseOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseOutlineLevelValue.booleanValue()); + attr.setValue(textUseOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTimeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTimeElement.java index c3bab06eef..1cd48f0140 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTimeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTimeElement.java @@ -95,7 +95,7 @@ public void setStyleDataStyleNameAttribute(String styleDataStyleNameValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTitleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTitleElement.java index 5973b87b5e..85d90f47c9 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTitleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTitleElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTocMarkElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTocMarkElement.java index a0c119566e..d08ad43a42 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTocMarkElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTocMarkElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -82,7 +82,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTocMarkStartElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTocMarkStartElement.java index 2cace77831..fcc49ae1c6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTocMarkStartElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTocMarkStartElement.java @@ -95,7 +95,7 @@ public void setTextIdAttribute(String textIdValue) { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTrackedChangesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTrackedChangesElement.java index 32a2cdf18c..b2ed1b1d1d 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTrackedChangesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextTrackedChangesElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextTrackChangesAttribute() { TextTrackChangesAttribute attr = (TextTrackChangesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "track-changes"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextTrackChangesAttribute.DEFAULT_VALUE); } @@ -81,7 +81,7 @@ public Boolean getTextTrackChangesAttribute() { public void setTextTrackChangesAttribute(Boolean textTrackChangesValue) { TextTrackChangesAttribute attr = new TextTrackChangesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textTrackChangesValue.booleanValue()); + attr.setValue(textTrackChangesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextUserDefinedElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextUserDefinedElement.java index 72a33744ec..93333c98c2 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextUserDefinedElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextUserDefinedElement.java @@ -75,7 +75,7 @@ public OdfName getOdfName() { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -88,7 +88,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -171,7 +171,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -184,7 +184,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** @@ -219,7 +219,7 @@ public void setStyleDataStyleNameAttribute(String styleDataStyleNameValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -232,7 +232,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextUserFieldDeclElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextUserFieldDeclElement.java index 922b4588b5..d73d9d77a5 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextUserFieldDeclElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextUserFieldDeclElement.java @@ -76,7 +76,7 @@ public OdfName getOdfName() { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -89,7 +89,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -198,7 +198,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -211,7 +211,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextUserIndexElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextUserIndexElement.java index 445c5c0bad..eba67ab387 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextUserIndexElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextUserIndexElement.java @@ -101,7 +101,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -114,7 +114,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextUserIndexEntryTemplateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextUserIndexEntryTemplateElement.java index 9bf859115d..db95f02cca 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextUserIndexEntryTemplateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextUserIndexEntryTemplateElement.java @@ -73,7 +73,7 @@ public OdfName getOdfName() { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -86,7 +86,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkElement.java index 859bd424fc..cca8ed2c9d 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkElement.java @@ -96,7 +96,7 @@ public void setTextIndexNameAttribute(String textIndexNameValue) { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -109,7 +109,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkStartElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkStartElement.java index 454d4dcca9..e858146579 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkStartElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkStartElement.java @@ -122,7 +122,7 @@ public void setTextIndexNameAttribute(String textIndexNameValue) { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -135,7 +135,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextUserIndexSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextUserIndexSourceElement.java index 68d847b896..f28dc9fc9f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextUserIndexSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextUserIndexSourceElement.java @@ -77,7 +77,7 @@ public OdfName getOdfName() { public Boolean getTextCopyOutlineLevelsAttribute() { TextCopyOutlineLevelsAttribute attr = (TextCopyOutlineLevelsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "copy-outline-levels"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCopyOutlineLevelsAttribute.DEFAULT_VALUE); } @@ -90,7 +90,7 @@ public Boolean getTextCopyOutlineLevelsAttribute() { public void setTextCopyOutlineLevelsAttribute(Boolean textCopyOutlineLevelsValue) { TextCopyOutlineLevelsAttribute attr = new TextCopyOutlineLevelsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCopyOutlineLevelsValue.booleanValue()); + attr.setValue(textCopyOutlineLevelsValue.toString()); } /** @@ -151,7 +151,7 @@ public void setTextIndexScopeAttribute(String textIndexScopeValue) { public Boolean getTextRelativeTabStopPositionAttribute() { TextRelativeTabStopPositionAttribute attr = (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRelativeTabStopPositionAttribute.DEFAULT_VALUE); } @@ -164,7 +164,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopPositionValue) { TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -175,7 +175,7 @@ public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopP public Boolean getTextUseFloatingFramesAttribute() { TextUseFloatingFramesAttribute attr = (TextUseFloatingFramesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-floating-frames"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseFloatingFramesAttribute.DEFAULT_VALUE); } @@ -188,7 +188,7 @@ public Boolean getTextUseFloatingFramesAttribute() { public void setTextUseFloatingFramesAttribute(Boolean textUseFloatingFramesValue) { TextUseFloatingFramesAttribute attr = new TextUseFloatingFramesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseFloatingFramesValue.booleanValue()); + attr.setValue(textUseFloatingFramesValue.toString()); } /** @@ -199,7 +199,7 @@ public void setTextUseFloatingFramesAttribute(Boolean textUseFloatingFramesValue public Boolean getTextUseGraphicsAttribute() { TextUseGraphicsAttribute attr = (TextUseGraphicsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-graphics"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseGraphicsAttribute.DEFAULT_VALUE); } @@ -212,7 +212,7 @@ public Boolean getTextUseGraphicsAttribute() { public void setTextUseGraphicsAttribute(Boolean textUseGraphicsValue) { TextUseGraphicsAttribute attr = new TextUseGraphicsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseGraphicsValue.booleanValue()); + attr.setValue(textUseGraphicsValue.toString()); } /** @@ -223,7 +223,7 @@ public void setTextUseGraphicsAttribute(Boolean textUseGraphicsValue) { public Boolean getTextUseIndexMarksAttribute() { TextUseIndexMarksAttribute attr = (TextUseIndexMarksAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-index-marks"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseIndexMarksAttribute.DEFAULT_VALUE); } @@ -236,7 +236,7 @@ public Boolean getTextUseIndexMarksAttribute() { public void setTextUseIndexMarksAttribute(Boolean textUseIndexMarksValue) { TextUseIndexMarksAttribute attr = new TextUseIndexMarksAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseIndexMarksValue.booleanValue()); + attr.setValue(textUseIndexMarksValue.toString()); } /** @@ -247,7 +247,7 @@ public void setTextUseIndexMarksAttribute(Boolean textUseIndexMarksValue) { public Boolean getTextUseIndexSourceStylesAttribute() { TextUseIndexSourceStylesAttribute attr = (TextUseIndexSourceStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-index-source-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseIndexSourceStylesAttribute.DEFAULT_VALUE); } @@ -260,7 +260,7 @@ public Boolean getTextUseIndexSourceStylesAttribute() { public void setTextUseIndexSourceStylesAttribute(Boolean textUseIndexSourceStylesValue) { TextUseIndexSourceStylesAttribute attr = new TextUseIndexSourceStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseIndexSourceStylesValue.booleanValue()); + attr.setValue(textUseIndexSourceStylesValue.toString()); } /** @@ -271,7 +271,7 @@ public void setTextUseIndexSourceStylesAttribute(Boolean textUseIndexSourceStyle public Boolean getTextUseObjectsAttribute() { TextUseObjectsAttribute attr = (TextUseObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseObjectsAttribute.DEFAULT_VALUE); } @@ -284,7 +284,7 @@ public Boolean getTextUseObjectsAttribute() { public void setTextUseObjectsAttribute(Boolean textUseObjectsValue) { TextUseObjectsAttribute attr = new TextUseObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseObjectsValue.booleanValue()); + attr.setValue(textUseObjectsValue.toString()); } /** @@ -295,7 +295,7 @@ public void setTextUseObjectsAttribute(Boolean textUseObjectsValue) { public Boolean getTextUseTablesAttribute() { TextUseTablesAttribute attr = (TextUseTablesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-tables"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseTablesAttribute.DEFAULT_VALUE); } @@ -308,7 +308,7 @@ public Boolean getTextUseTablesAttribute() { public void setTextUseTablesAttribute(Boolean textUseTablesValue) { TextUseTablesAttribute attr = new TextUseTablesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseTablesValue.booleanValue()); + attr.setValue(textUseTablesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextVariableSetElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextVariableSetElement.java index 31a47a0434..de1cd1ee8e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextVariableSetElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextVariableSetElement.java @@ -78,7 +78,7 @@ public OdfName getOdfName() { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -91,7 +91,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -200,7 +200,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -213,7 +213,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextWordCountElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextWordCountElement.java index 0dc81a7f46..db7322220e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextWordCountElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.2/org/odftoolkit/odfdom/dom/element/text/TextWordCountElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateColorElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateColorElement.java index 2a84ec776d..f3e3c94b51 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateColorElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateColorElement.java @@ -288,7 +288,7 @@ public void setSmilAttributeNameAttribute(String smilAttributeNameValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -301,7 +301,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateElement.java index 602f182677..9dd35c08ae 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateElement.java @@ -238,7 +238,7 @@ public void setSmilAttributeNameAttribute(String smilAttributeNameValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -251,7 +251,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateMotionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateMotionElement.java index d5a27ba554..f0a14ddf58 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateMotionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateMotionElement.java @@ -240,7 +240,7 @@ public void setSmilAttributeNameAttribute(String smilAttributeNameValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -253,7 +253,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateTransformElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateTransformElement.java index 653a8d6046..b0e7daddc3 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateTransformElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateTransformElement.java @@ -236,7 +236,7 @@ public void setSmilAttributeNameAttribute(String smilAttributeNameValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -249,7 +249,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimAudioElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimAudioElement.java index 3c91227743..844a64c67e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimAudioElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimAudioElement.java @@ -86,7 +86,7 @@ public OdfName getOdfName() { public Double getAnimAudioLevelAttribute() { AnimAudioLevelAttribute attr = (AnimAudioLevelAttribute) getOdfAttribute(OdfDocumentNamespace.ANIM, "audio-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -99,7 +99,7 @@ public Double getAnimAudioLevelAttribute() { public void setAnimAudioLevelAttribute(Double animAudioLevelValue) { AnimAudioLevelAttribute attr = new AnimAudioLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(animAudioLevelValue.doubleValue()); + attr.setValue(animAudioLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimIterateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimIterateElement.java index d0d2b36ae6..f2182c1c34 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimIterateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimIterateElement.java @@ -356,7 +356,7 @@ public void setSmilAccelerateAttribute(String smilAccelerateValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -369,7 +369,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimParElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimParElement.java index 32b36f5e24..2d06756ea4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimParElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimParElement.java @@ -280,7 +280,7 @@ public void setSmilAccelerateAttribute(String smilAccelerateValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -293,7 +293,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimSeqElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimSeqElement.java index bd0cee13dd..8fa0987062 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimSeqElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimSeqElement.java @@ -280,7 +280,7 @@ public void setSmilAccelerateAttribute(String smilAccelerateValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -293,7 +293,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimSetElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimSetElement.java index 7b8cb64194..d5bfd57145 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimSetElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimSetElement.java @@ -207,7 +207,7 @@ public void setSmilAttributeNameAttribute(String smilAttributeNameValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -220,7 +220,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimTransitionFilterElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimTransitionFilterElement.java index a8fd888b15..813ad758fe 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimTransitionFilterElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/anim/AnimTransitionFilterElement.java @@ -214,7 +214,7 @@ public void setSmilAdditiveAttribute(String smilAdditiveValue) { public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -227,7 +227,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/chart/ChartDataPointElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/chart/ChartDataPointElement.java index f03d05030c..82188899ee 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/chart/ChartDataPointElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/chart/ChartDataPointElement.java @@ -72,7 +72,7 @@ public OdfName getOdfName() { public Integer getChartRepeatedAttribute() { ChartRepeatedAttribute attr = (ChartRepeatedAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "repeated"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Integer getChartRepeatedAttribute() { public void setChartRepeatedAttribute(Integer chartRepeatedValue) { ChartRepeatedAttribute attr = new ChartRepeatedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(chartRepeatedValue.intValue()); + attr.setValue(chartRepeatedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/chart/ChartEquationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/chart/ChartEquationElement.java index fdcaba2f21..e04c3bb46b 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/chart/ChartEquationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/chart/ChartEquationElement.java @@ -74,7 +74,7 @@ public OdfName getOdfName() { public Boolean getChartAutomaticContentAttribute() { ChartAutomaticContentAttribute attr = (ChartAutomaticContentAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "automatic-content"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(ChartAutomaticContentAttribute.DEFAULT_VALUE); } @@ -87,7 +87,7 @@ public Boolean getChartAutomaticContentAttribute() { public void setChartAutomaticContentAttribute(Boolean chartAutomaticContentValue) { ChartAutomaticContentAttribute attr = new ChartAutomaticContentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartAutomaticContentValue.booleanValue()); + attr.setValue(chartAutomaticContentValue.toString()); } /** @@ -98,7 +98,7 @@ public void setChartAutomaticContentAttribute(Boolean chartAutomaticContentValue public Boolean getChartDisplayEquationAttribute() { ChartDisplayEquationAttribute attr = (ChartDisplayEquationAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "display-equation"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(ChartDisplayEquationAttribute.DEFAULT_VALUE); } @@ -111,7 +111,7 @@ public Boolean getChartDisplayEquationAttribute() { public void setChartDisplayEquationAttribute(Boolean chartDisplayEquationValue) { ChartDisplayEquationAttribute attr = new ChartDisplayEquationAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartDisplayEquationValue.booleanValue()); + attr.setValue(chartDisplayEquationValue.toString()); } /** @@ -122,7 +122,7 @@ public void setChartDisplayEquationAttribute(Boolean chartDisplayEquationValue) public Boolean getChartDisplayRSquareAttribute() { ChartDisplayRSquareAttribute attr = (ChartDisplayRSquareAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "display-r-square"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(ChartDisplayRSquareAttribute.DEFAULT_VALUE); } @@ -135,7 +135,7 @@ public Boolean getChartDisplayRSquareAttribute() { public void setChartDisplayRSquareAttribute(Boolean chartDisplayRSquareValue) { ChartDisplayRSquareAttribute attr = new ChartDisplayRSquareAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartDisplayRSquareValue.booleanValue()); + attr.setValue(chartDisplayRSquareValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/chart/ChartLegendElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/chart/ChartLegendElement.java index 572e49ff77..2e3931f209 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/chart/ChartLegendElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/chart/ChartLegendElement.java @@ -179,7 +179,7 @@ public void setStyleLegendExpansionAttribute(String styleLegendExpansionValue) { public Double getStyleLegendExpansionAspectRatioAttribute() { StyleLegendExpansionAspectRatioAttribute attr = (StyleLegendExpansionAspectRatioAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "legend-expansion-aspect-ratio"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -192,7 +192,7 @@ public Double getStyleLegendExpansionAspectRatioAttribute() { public void setStyleLegendExpansionAspectRatioAttribute(Double styleLegendExpansionAspectRatioValue) { StyleLegendExpansionAspectRatioAttribute attr = new StyleLegendExpansionAspectRatioAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(styleLegendExpansionAspectRatioValue.doubleValue()); + attr.setValue(styleLegendExpansionAspectRatioValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java index dfd7e437ac..5968f5cb1c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java @@ -209,7 +209,7 @@ public void setDr3dFocalLengthAttribute(String dr3dFocalLengthValue) { public Boolean getDr3dLightingModeAttribute() { Dr3dLightingModeAttribute attr = (Dr3dLightingModeAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "lighting-mode"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -222,7 +222,7 @@ public Boolean getDr3dLightingModeAttribute() { public void setDr3dLightingModeAttribute(Boolean dr3dLightingModeValue) { Dr3dLightingModeAttribute attr = new Dr3dLightingModeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dr3dLightingModeValue.booleanValue()); + attr.setValue(dr3dLightingModeValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbApplicationConnectionSettingsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbApplicationConnectionSettingsElement.java index ab89910a67..8aec13db86 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbApplicationConnectionSettingsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbApplicationConnectionSettingsElement.java @@ -75,7 +75,7 @@ public OdfName getOdfName() { public Boolean getDbAppendTableAliasNameAttribute() { DbAppendTableAliasNameAttribute attr = (DbAppendTableAliasNameAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "append-table-alias-name"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbAppendTableAliasNameAttribute.DEFAULT_VALUE); } @@ -88,7 +88,7 @@ public Boolean getDbAppendTableAliasNameAttribute() { public void setDbAppendTableAliasNameAttribute(Boolean dbAppendTableAliasNameValue) { DbAppendTableAliasNameAttribute attr = new DbAppendTableAliasNameAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbAppendTableAliasNameValue.booleanValue()); + attr.setValue(dbAppendTableAliasNameValue.toString()); } /** @@ -123,7 +123,7 @@ public void setDbBooleanComparisonModeAttribute(String dbBooleanComparisonModeVa public Boolean getDbEnableSql92CheckAttribute() { DbEnableSql92CheckAttribute attr = (DbEnableSql92CheckAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "enable-sql92-check"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbEnableSql92CheckAttribute.DEFAULT_VALUE); } @@ -136,7 +136,7 @@ public Boolean getDbEnableSql92CheckAttribute() { public void setDbEnableSql92CheckAttribute(Boolean dbEnableSql92CheckValue) { DbEnableSql92CheckAttribute attr = new DbEnableSql92CheckAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbEnableSql92CheckValue.booleanValue()); + attr.setValue(dbEnableSql92CheckValue.toString()); } /** @@ -147,7 +147,7 @@ public void setDbEnableSql92CheckAttribute(Boolean dbEnableSql92CheckValue) { public Boolean getDbIgnoreDriverPrivilegesAttribute() { DbIgnoreDriverPrivilegesAttribute attr = (DbIgnoreDriverPrivilegesAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "ignore-driver-privileges"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbIgnoreDriverPrivilegesAttribute.DEFAULT_VALUE); } @@ -160,7 +160,7 @@ public Boolean getDbIgnoreDriverPrivilegesAttribute() { public void setDbIgnoreDriverPrivilegesAttribute(Boolean dbIgnoreDriverPrivilegesValue) { DbIgnoreDriverPrivilegesAttribute attr = new DbIgnoreDriverPrivilegesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIgnoreDriverPrivilegesValue.booleanValue()); + attr.setValue(dbIgnoreDriverPrivilegesValue.toString()); } /** @@ -171,7 +171,7 @@ public void setDbIgnoreDriverPrivilegesAttribute(Boolean dbIgnoreDriverPrivilege public Boolean getDbIsTableNameLengthLimitedAttribute() { DbIsTableNameLengthLimitedAttribute attr = (DbIsTableNameLengthLimitedAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "is-table-name-length-limited"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbIsTableNameLengthLimitedAttribute.DEFAULT_VALUE); } @@ -184,7 +184,7 @@ public Boolean getDbIsTableNameLengthLimitedAttribute() { public void setDbIsTableNameLengthLimitedAttribute(Boolean dbIsTableNameLengthLimitedValue) { DbIsTableNameLengthLimitedAttribute attr = new DbIsTableNameLengthLimitedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIsTableNameLengthLimitedValue.booleanValue()); + attr.setValue(dbIsTableNameLengthLimitedValue.toString()); } /** @@ -195,7 +195,7 @@ public void setDbIsTableNameLengthLimitedAttribute(Boolean dbIsTableNameLengthLi public Integer getDbMaxRowCountAttribute() { DbMaxRowCountAttribute attr = (DbMaxRowCountAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "max-row-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -208,7 +208,7 @@ public Integer getDbMaxRowCountAttribute() { public void setDbMaxRowCountAttribute(Integer dbMaxRowCountValue) { DbMaxRowCountAttribute attr = new DbMaxRowCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(dbMaxRowCountValue.intValue()); + attr.setValue(dbMaxRowCountValue.toString()); } /** @@ -219,7 +219,7 @@ public void setDbMaxRowCountAttribute(Integer dbMaxRowCountValue) { public Boolean getDbSuppressVersionColumnsAttribute() { DbSuppressVersionColumnsAttribute attr = (DbSuppressVersionColumnsAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "suppress-version-columns"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbSuppressVersionColumnsAttribute.DEFAULT_VALUE); } @@ -232,7 +232,7 @@ public Boolean getDbSuppressVersionColumnsAttribute() { public void setDbSuppressVersionColumnsAttribute(Boolean dbSuppressVersionColumnsValue) { DbSuppressVersionColumnsAttribute attr = new DbSuppressVersionColumnsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbSuppressVersionColumnsValue.booleanValue()); + attr.setValue(dbSuppressVersionColumnsValue.toString()); } /** @@ -243,7 +243,7 @@ public void setDbSuppressVersionColumnsAttribute(Boolean dbSuppressVersionColumn public Boolean getDbUseCatalogAttribute() { DbUseCatalogAttribute attr = (DbUseCatalogAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "use-catalog"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbUseCatalogAttribute.DEFAULT_VALUE); } @@ -256,7 +256,7 @@ public Boolean getDbUseCatalogAttribute() { public void setDbUseCatalogAttribute(Boolean dbUseCatalogValue) { DbUseCatalogAttribute attr = new DbUseCatalogAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbUseCatalogValue.booleanValue()); + attr.setValue(dbUseCatalogValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbColumnDefinitionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbColumnDefinitionElement.java index 9eb774c41f..16c5a68e7e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbColumnDefinitionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbColumnDefinitionElement.java @@ -106,7 +106,7 @@ public void setDbDataTypeAttribute(String dbDataTypeValue) { public Boolean getDbIsAutoincrementAttribute() { DbIsAutoincrementAttribute attr = (DbIsAutoincrementAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "is-autoincrement"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -119,7 +119,7 @@ public Boolean getDbIsAutoincrementAttribute() { public void setDbIsAutoincrementAttribute(Boolean dbIsAutoincrementValue) { DbIsAutoincrementAttribute attr = new DbIsAutoincrementAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIsAutoincrementValue.booleanValue()); + attr.setValue(dbIsAutoincrementValue.toString()); } /** @@ -130,7 +130,7 @@ public void setDbIsAutoincrementAttribute(Boolean dbIsAutoincrementValue) { public Boolean getDbIsEmptyAllowedAttribute() { DbIsEmptyAllowedAttribute attr = (DbIsEmptyAllowedAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "is-empty-allowed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -143,7 +143,7 @@ public Boolean getDbIsEmptyAllowedAttribute() { public void setDbIsEmptyAllowedAttribute(Boolean dbIsEmptyAllowedValue) { DbIsEmptyAllowedAttribute attr = new DbIsEmptyAllowedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIsEmptyAllowedValue.booleanValue()); + attr.setValue(dbIsEmptyAllowedValue.toString()); } /** @@ -204,7 +204,7 @@ public void setDbNameAttribute(String dbNameValue) { public Integer getDbPrecisionAttribute() { DbPrecisionAttribute attr = (DbPrecisionAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "precision"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -217,7 +217,7 @@ public Integer getDbPrecisionAttribute() { public void setDbPrecisionAttribute(Integer dbPrecisionValue) { DbPrecisionAttribute attr = new DbPrecisionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(dbPrecisionValue.intValue()); + attr.setValue(dbPrecisionValue.toString()); } /** @@ -228,7 +228,7 @@ public void setDbPrecisionAttribute(Integer dbPrecisionValue) { public Integer getDbScaleAttribute() { DbScaleAttribute attr = (DbScaleAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "scale"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -241,7 +241,7 @@ public Integer getDbScaleAttribute() { public void setDbScaleAttribute(Integer dbScaleValue) { DbScaleAttribute attr = new DbScaleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(dbScaleValue.intValue()); + attr.setValue(dbScaleValue.toString()); } /** @@ -276,7 +276,7 @@ public void setDbTypeNameAttribute(String dbTypeNameValue) { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -289,7 +289,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -398,7 +398,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -411,7 +411,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbColumnElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbColumnElement.java index 3da7fbf6fd..c5f445cba4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbColumnElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbColumnElement.java @@ -202,7 +202,7 @@ public void setDbTitleAttribute(String dbTitleValue) { public Boolean getDbVisibleAttribute() { DbVisibleAttribute attr = (DbVisibleAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "visible"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbVisibleAttribute.DEFAULT_VALUE); } @@ -215,7 +215,7 @@ public Boolean getDbVisibleAttribute() { public void setDbVisibleAttribute(Boolean dbVisibleValue) { DbVisibleAttribute attr = new DbVisibleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbVisibleValue.booleanValue()); + attr.setValue(dbVisibleValue.toString()); } /** @@ -226,7 +226,7 @@ public void setDbVisibleAttribute(Boolean dbVisibleValue) { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -239,7 +239,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -348,7 +348,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -361,7 +361,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbComponentElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbComponentElement.java index 6489bae7ac..aa80428786 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbComponentElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbComponentElement.java @@ -77,7 +77,7 @@ public OdfName getOdfName() { public Boolean getDbAsTemplateAttribute() { DbAsTemplateAttribute attr = (DbAsTemplateAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "as-template"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -90,7 +90,7 @@ public Boolean getDbAsTemplateAttribute() { public void setDbAsTemplateAttribute(Boolean dbAsTemplateValue) { DbAsTemplateAttribute attr = new DbAsTemplateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbAsTemplateValue.booleanValue()); + attr.setValue(dbAsTemplateValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbDataSourceSettingElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbDataSourceSettingElement.java index fc879db6a9..9697cac3ee 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbDataSourceSettingElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbDataSourceSettingElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Boolean getDbDataSourceSettingIsListAttribute() { DbDataSourceSettingIsListAttribute attr = (DbDataSourceSettingIsListAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "data-source-setting-is-list"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -83,7 +83,7 @@ public Boolean getDbDataSourceSettingIsListAttribute() { public void setDbDataSourceSettingIsListAttribute(Boolean dbDataSourceSettingIsListValue) { DbDataSourceSettingIsListAttribute attr = new DbDataSourceSettingIsListAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbDataSourceSettingIsListValue.booleanValue()); + attr.setValue(dbDataSourceSettingIsListValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbDriverSettingsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbDriverSettingsElement.java index c1f3f5f438..41e9a3df97 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbDriverSettingsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbDriverSettingsElement.java @@ -96,7 +96,7 @@ public void setDbBaseDnAttribute(String dbBaseDnValue) { public Boolean getDbIsFirstRowHeaderLineAttribute() { DbIsFirstRowHeaderLineAttribute attr = (DbIsFirstRowHeaderLineAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "is-first-row-header-line"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbIsFirstRowHeaderLineAttribute.DEFAULT_VALUE); } @@ -109,7 +109,7 @@ public Boolean getDbIsFirstRowHeaderLineAttribute() { public void setDbIsFirstRowHeaderLineAttribute(Boolean dbIsFirstRowHeaderLineValue) { DbIsFirstRowHeaderLineAttribute attr = new DbIsFirstRowHeaderLineAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIsFirstRowHeaderLineValue.booleanValue()); + attr.setValue(dbIsFirstRowHeaderLineValue.toString()); } /** @@ -120,7 +120,7 @@ public void setDbIsFirstRowHeaderLineAttribute(Boolean dbIsFirstRowHeaderLineVal public Boolean getDbParameterNameSubstitutionAttribute() { DbParameterNameSubstitutionAttribute attr = (DbParameterNameSubstitutionAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "parameter-name-substitution"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbParameterNameSubstitutionAttribute.DEFAULT_VALUE); } @@ -133,7 +133,7 @@ public Boolean getDbParameterNameSubstitutionAttribute() { public void setDbParameterNameSubstitutionAttribute(Boolean dbParameterNameSubstitutionValue) { DbParameterNameSubstitutionAttribute attr = new DbParameterNameSubstitutionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbParameterNameSubstitutionValue.booleanValue()); + attr.setValue(dbParameterNameSubstitutionValue.toString()); } /** @@ -144,7 +144,7 @@ public void setDbParameterNameSubstitutionAttribute(Boolean dbParameterNameSubst public Boolean getDbShowDeletedAttribute() { DbShowDeletedAttribute attr = (DbShowDeletedAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "show-deleted"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbShowDeletedAttribute.DEFAULT_VALUE); } @@ -157,7 +157,7 @@ public Boolean getDbShowDeletedAttribute() { public void setDbShowDeletedAttribute(Boolean dbShowDeletedValue) { DbShowDeletedAttribute attr = new DbShowDeletedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbShowDeletedValue.booleanValue()); + attr.setValue(dbShowDeletedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbFilterStatementElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbFilterStatementElement.java index 0daf0cae4c..3b388a46a2 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbFilterStatementElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbFilterStatementElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Boolean getDbApplyCommandAttribute() { DbApplyCommandAttribute attr = (DbApplyCommandAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "apply-command"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbApplyCommandAttribute.DEFAULT_VALUE); } @@ -82,7 +82,7 @@ public Boolean getDbApplyCommandAttribute() { public void setDbApplyCommandAttribute(Boolean dbApplyCommandValue) { DbApplyCommandAttribute attr = new DbApplyCommandAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbApplyCommandValue.booleanValue()); + attr.setValue(dbApplyCommandValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbIndexColumnElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbIndexColumnElement.java index 5e5e4c155a..12066c10f2 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbIndexColumnElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbIndexColumnElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Boolean getDbIsAscendingAttribute() { DbIsAscendingAttribute attr = (DbIsAscendingAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "is-ascending"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -82,7 +82,7 @@ public Boolean getDbIsAscendingAttribute() { public void setDbIsAscendingAttribute(Boolean dbIsAscendingValue) { DbIsAscendingAttribute attr = new DbIsAscendingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIsAscendingValue.booleanValue()); + attr.setValue(dbIsAscendingValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbIndexElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbIndexElement.java index 929efe12dc..db17903624 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbIndexElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbIndexElement.java @@ -95,7 +95,7 @@ public void setDbCatalogNameAttribute(String dbCatalogNameValue) { public Boolean getDbIsClusteredAttribute() { DbIsClusteredAttribute attr = (DbIsClusteredAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "is-clustered"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getDbIsClusteredAttribute() { public void setDbIsClusteredAttribute(Boolean dbIsClusteredValue) { DbIsClusteredAttribute attr = new DbIsClusteredAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIsClusteredValue.booleanValue()); + attr.setValue(dbIsClusteredValue.toString()); } /** @@ -119,7 +119,7 @@ public void setDbIsClusteredAttribute(Boolean dbIsClusteredValue) { public Boolean getDbIsUniqueAttribute() { DbIsUniqueAttribute attr = (DbIsUniqueAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "is-unique"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -132,7 +132,7 @@ public Boolean getDbIsUniqueAttribute() { public void setDbIsUniqueAttribute(Boolean dbIsUniqueValue) { DbIsUniqueAttribute attr = new DbIsUniqueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIsUniqueValue.booleanValue()); + attr.setValue(dbIsUniqueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbLoginElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbLoginElement.java index 4241578903..37b74c8203 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbLoginElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbLoginElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Boolean getDbIsPasswordRequiredAttribute() { DbIsPasswordRequiredAttribute attr = (DbIsPasswordRequiredAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "is-password-required"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbIsPasswordRequiredAttribute.DEFAULT_VALUE); } @@ -84,7 +84,7 @@ public Boolean getDbIsPasswordRequiredAttribute() { public void setDbIsPasswordRequiredAttribute(Boolean dbIsPasswordRequiredValue) { DbIsPasswordRequiredAttribute attr = new DbIsPasswordRequiredAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIsPasswordRequiredValue.booleanValue()); + attr.setValue(dbIsPasswordRequiredValue.toString()); } /** @@ -95,7 +95,7 @@ public void setDbIsPasswordRequiredAttribute(Boolean dbIsPasswordRequiredValue) public Integer getDbLoginTimeoutAttribute() { DbLoginTimeoutAttribute attr = (DbLoginTimeoutAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "login-timeout"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Integer getDbLoginTimeoutAttribute() { public void setDbLoginTimeoutAttribute(Integer dbLoginTimeoutValue) { DbLoginTimeoutAttribute attr = new DbLoginTimeoutAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(dbLoginTimeoutValue.intValue()); + attr.setValue(dbLoginTimeoutValue.toString()); } /** @@ -119,7 +119,7 @@ public void setDbLoginTimeoutAttribute(Integer dbLoginTimeoutValue) { public Boolean getDbUseSystemUserAttribute() { DbUseSystemUserAttribute attr = (DbUseSystemUserAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "use-system-user"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -132,7 +132,7 @@ public Boolean getDbUseSystemUserAttribute() { public void setDbUseSystemUserAttribute(Boolean dbUseSystemUserValue) { DbUseSystemUserAttribute attr = new DbUseSystemUserAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbUseSystemUserValue.booleanValue()); + attr.setValue(dbUseSystemUserValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbOrderStatementElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbOrderStatementElement.java index b452d000b4..bc8600f825 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbOrderStatementElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbOrderStatementElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Boolean getDbApplyCommandAttribute() { DbApplyCommandAttribute attr = (DbApplyCommandAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "apply-command"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbApplyCommandAttribute.DEFAULT_VALUE); } @@ -82,7 +82,7 @@ public Boolean getDbApplyCommandAttribute() { public void setDbApplyCommandAttribute(Boolean dbApplyCommandValue) { DbApplyCommandAttribute attr = new DbApplyCommandAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbApplyCommandValue.booleanValue()); + attr.setValue(dbApplyCommandValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbQueryElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbQueryElement.java index 90fc0e6a7b..bf06738007 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbQueryElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbQueryElement.java @@ -148,7 +148,7 @@ public void setDbDescriptionAttribute(String dbDescriptionValue) { public Boolean getDbEscapeProcessingAttribute() { DbEscapeProcessingAttribute attr = (DbEscapeProcessingAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "escape-processing"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbEscapeProcessingAttribute.DEFAULT_VALUE); } @@ -161,7 +161,7 @@ public Boolean getDbEscapeProcessingAttribute() { public void setDbEscapeProcessingAttribute(Boolean dbEscapeProcessingValue) { DbEscapeProcessingAttribute attr = new DbEscapeProcessingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbEscapeProcessingValue.booleanValue()); + attr.setValue(dbEscapeProcessingValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbServerDatabaseElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbServerDatabaseElement.java index 8acd06e17c..eb8999d509 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbServerDatabaseElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbServerDatabaseElement.java @@ -144,7 +144,7 @@ public void setDbLocalSocketAttribute(String dbLocalSocketValue) { public Integer getDbPortAttribute() { DbPortAttribute attr = (DbPortAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "port"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -157,7 +157,7 @@ public Integer getDbPortAttribute() { public void setDbPortAttribute(Integer dbPortValue) { DbPortAttribute attr = new DbPortAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(dbPortValue.intValue()); + attr.setValue(dbPortValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbTableSettingElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbTableSettingElement.java index 92d57dd90a..ca91ea0aa6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbTableSettingElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/db/DbTableSettingElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Boolean getDbIsFirstRowHeaderLineAttribute() { DbIsFirstRowHeaderLineAttribute attr = (DbIsFirstRowHeaderLineAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "is-first-row-header-line"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbIsFirstRowHeaderLineAttribute.DEFAULT_VALUE); } @@ -82,7 +82,7 @@ public Boolean getDbIsFirstRowHeaderLineAttribute() { public void setDbIsFirstRowHeaderLineAttribute(Boolean dbIsFirstRowHeaderLineValue) { DbIsFirstRowHeaderLineAttribute attr = new DbIsFirstRowHeaderLineAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIsFirstRowHeaderLineValue.booleanValue()); + attr.setValue(dbIsFirstRowHeaderLineValue.toString()); } /** @@ -93,7 +93,7 @@ public void setDbIsFirstRowHeaderLineAttribute(Boolean dbIsFirstRowHeaderLineVal public Boolean getDbShowDeletedAttribute() { DbShowDeletedAttribute attr = (DbShowDeletedAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "show-deleted"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbShowDeletedAttribute.DEFAULT_VALUE); } @@ -106,7 +106,7 @@ public Boolean getDbShowDeletedAttribute() { public void setDbShowDeletedAttribute(Boolean dbShowDeletedValue) { DbShowDeletedAttribute attr = new DbShowDeletedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbShowDeletedValue.booleanValue()); + attr.setValue(dbShowDeletedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dCubeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dCubeElement.java index f8c9cab8c5..e38b25bd8e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dCubeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dCubeElement.java @@ -248,7 +248,7 @@ public void setDrawStyleNameAttribute(String drawStyleNameValue) { public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -261,7 +261,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dExtrudeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dExtrudeElement.java index 5cd38cb371..24ed9a58a2 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dExtrudeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dExtrudeElement.java @@ -200,7 +200,7 @@ public void setDrawStyleNameAttribute(String drawStyleNameValue) { public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -213,7 +213,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** @@ -300,7 +300,7 @@ public void setSvgDAttribute(String svgDValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -313,7 +313,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dLightElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dLightElement.java index 802be504de..782a1d4d6f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dLightElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dLightElement.java @@ -121,7 +121,7 @@ public void setDr3dDirectionAttribute(String dr3dDirectionValue) { public Boolean getDr3dEnabledAttribute() { Dr3dEnabledAttribute attr = (Dr3dEnabledAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "enabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -134,7 +134,7 @@ public Boolean getDr3dEnabledAttribute() { public void setDr3dEnabledAttribute(Boolean dr3dEnabledValue) { Dr3dEnabledAttribute attr = new Dr3dEnabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dr3dEnabledValue.booleanValue()); + attr.setValue(dr3dEnabledValue.toString()); } /** @@ -145,7 +145,7 @@ public void setDr3dEnabledAttribute(Boolean dr3dEnabledValue) { public Boolean getDr3dSpecularAttribute() { Dr3dSpecularAttribute attr = (Dr3dSpecularAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "specular"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -158,7 +158,7 @@ public Boolean getDr3dSpecularAttribute() { public void setDr3dSpecularAttribute(Boolean dr3dSpecularValue) { Dr3dSpecularAttribute attr = new Dr3dSpecularAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dr3dSpecularValue.booleanValue()); + attr.setValue(dr3dSpecularValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dRotateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dRotateElement.java index 3b886b776e..51d601323b 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dRotateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dRotateElement.java @@ -200,7 +200,7 @@ public void setDrawStyleNameAttribute(String drawStyleNameValue) { public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -213,7 +213,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** @@ -300,7 +300,7 @@ public void setSvgDAttribute(String svgDValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -313,7 +313,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSceneElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSceneElement.java index 03aa81c467..62a9de0fb6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSceneElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSceneElement.java @@ -174,7 +174,7 @@ public void setDr3dFocalLengthAttribute(String dr3dFocalLengthValue) { public Boolean getDr3dLightingModeAttribute() { Dr3dLightingModeAttribute attr = (Dr3dLightingModeAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "lighting-mode"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -187,7 +187,7 @@ public Boolean getDr3dLightingModeAttribute() { public void setDr3dLightingModeAttribute(Boolean dr3dLightingModeValue) { Dr3dLightingModeAttribute attr = new Dr3dLightingModeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dr3dLightingModeValue.booleanValue()); + attr.setValue(dr3dLightingModeValue.toString()); } /** @@ -486,7 +486,7 @@ public void setDrawStyleNameAttribute(String drawStyleNameValue) { public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -499,7 +499,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** @@ -726,7 +726,7 @@ public void setTableEndYAttribute(String tableEndYValue) { public Boolean getTableTableBackgroundAttribute() { TableTableBackgroundAttribute attr = (TableTableBackgroundAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table-background"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -739,7 +739,7 @@ public Boolean getTableTableBackgroundAttribute() { public void setTableTableBackgroundAttribute(Boolean tableTableBackgroundValue) { TableTableBackgroundAttribute attr = new TableTableBackgroundAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableTableBackgroundValue.booleanValue()); + attr.setValue(tableTableBackgroundValue.toString()); } /** @@ -750,7 +750,7 @@ public void setTableTableBackgroundAttribute(Boolean tableTableBackgroundValue) public Integer getTextAnchorPageNumberAttribute() { TextAnchorPageNumberAttribute attr = (TextAnchorPageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "anchor-page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -763,7 +763,7 @@ public Integer getTextAnchorPageNumberAttribute() { public void setTextAnchorPageNumberAttribute(Integer textAnchorPageNumberValue) { TextAnchorPageNumberAttribute attr = new TextAnchorPageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textAnchorPageNumberValue.intValue()); + attr.setValue(textAnchorPageNumberValue.toString()); } /** @@ -894,14 +894,14 @@ public Dr3dSphereElement newDr3dSphereElement() { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * Child element was added in ODF 1.2 * * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSphereElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSphereElement.java index 45745c599b..6824fb2633 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSphereElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSphereElement.java @@ -248,7 +248,7 @@ public void setDrawStyleNameAttribute(String drawStyleNameValue) { public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -261,7 +261,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawAElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawAElement.java index 2b27ec0112..68fbfd547c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawAElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawAElement.java @@ -101,7 +101,7 @@ public void setOfficeNameAttribute(String officeNameValue) { public Boolean getOfficeServerMapAttribute() { OfficeServerMapAttribute attr = (OfficeServerMapAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "server-map"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(OfficeServerMapAttribute.DEFAULT_VALUE); } @@ -114,7 +114,7 @@ public Boolean getOfficeServerMapAttribute() { public void setOfficeServerMapAttribute(Boolean officeServerMapValue) { OfficeServerMapAttribute attr = new OfficeServerMapAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeServerMapValue.booleanValue()); + attr.setValue(officeServerMapValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawAppletElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawAppletElement.java index e8edb3cb86..8efb324096 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawAppletElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawAppletElement.java @@ -124,7 +124,7 @@ public void setDrawCodeAttribute(String drawCodeValue) { public Boolean getDrawMayScriptAttribute() { DrawMayScriptAttribute attr = (DrawMayScriptAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "may-script"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawMayScriptAttribute.DEFAULT_VALUE); } @@ -137,7 +137,7 @@ public Boolean getDrawMayScriptAttribute() { public void setDrawMayScriptAttribute(Boolean drawMayScriptValue) { DrawMayScriptAttribute attr = new DrawMayScriptAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawMayScriptValue.booleanValue()); + attr.setValue(drawMayScriptValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawAreaPolygonElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawAreaPolygonElement.java index 3f6bfbf2ec..0e9ac975c3 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawAreaPolygonElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawAreaPolygonElement.java @@ -208,7 +208,7 @@ public void setSvgHeightAttribute(String svgHeightValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -221,7 +221,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawCaptionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawCaptionElement.java index 1c481e0d61..5722ecc62c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawCaptionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawCaptionElement.java @@ -345,12 +345,12 @@ public void setSvgYAttribute(String svgYValue) { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawCircleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawCircleElement.java index 2f79c45c28..96db78be35 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawCircleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawCircleElement.java @@ -420,12 +420,12 @@ public void setSvgYAttribute(String svgYValue) { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawConnectorElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawConnectorElement.java index 307c49e52b..55d13c6fec 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawConnectorElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawConnectorElement.java @@ -114,7 +114,7 @@ public void setDrawCaptionIdAttribute(String drawCaptionIdValue) { public Integer getDrawEndGluePointAttribute() { DrawEndGluePointAttribute attr = (DrawEndGluePointAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "end-glue-point"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -127,7 +127,7 @@ public Integer getDrawEndGluePointAttribute() { public void setDrawEndGluePointAttribute(Integer drawEndGluePointValue) { DrawEndGluePointAttribute attr = new DrawEndGluePointAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawEndGluePointValue.intValue()); + attr.setValue(drawEndGluePointValue.toString()); } /** @@ -210,7 +210,7 @@ public void setDrawLineSkewAttribute(String drawLineSkewValue) { public Integer getDrawStartGluePointAttribute() { DrawStartGluePointAttribute attr = (DrawStartGluePointAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "start-glue-point"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -223,7 +223,7 @@ public Integer getDrawStartGluePointAttribute() { public void setDrawStartGluePointAttribute(Integer drawStartGluePointValue) { DrawStartGluePointAttribute attr = new DrawStartGluePointAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawStartGluePointValue.intValue()); + attr.setValue(drawStartGluePointValue.toString()); } /** @@ -356,7 +356,7 @@ public void setSvgDAttribute(String svgDValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -369,7 +369,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** @@ -472,12 +472,12 @@ public void setSvgY2Attribute(String svgY2Value) { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawContourPathElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawContourPathElement.java index d91b7c36b0..a6fb48e28f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawContourPathElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawContourPathElement.java @@ -74,7 +74,7 @@ public OdfName getOdfName() { public Boolean getDrawRecreateOnEditAttribute() { DrawRecreateOnEditAttribute attr = (DrawRecreateOnEditAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "recreate-on-edit"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -87,7 +87,7 @@ public Boolean getDrawRecreateOnEditAttribute() { public void setDrawRecreateOnEditAttribute(Boolean drawRecreateOnEditValue) { DrawRecreateOnEditAttribute attr = new DrawRecreateOnEditAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawRecreateOnEditValue.booleanValue()); + attr.setValue(drawRecreateOnEditValue.toString()); } /** @@ -150,7 +150,7 @@ public void setSvgHeightAttribute(String svgHeightValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -163,7 +163,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawContourPolygonElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawContourPolygonElement.java index cbd3f97129..7c04abbc88 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawContourPolygonElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawContourPolygonElement.java @@ -100,7 +100,7 @@ public void setDrawPointsAttribute(String drawPointsValue) { public Boolean getDrawRecreateOnEditAttribute() { DrawRecreateOnEditAttribute attr = (DrawRecreateOnEditAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "recreate-on-edit"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -113,7 +113,7 @@ public Boolean getDrawRecreateOnEditAttribute() { public void setDrawRecreateOnEditAttribute(Boolean drawRecreateOnEditValue) { DrawRecreateOnEditAttribute attr = new DrawRecreateOnEditAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawRecreateOnEditValue.booleanValue()); + attr.setValue(drawRecreateOnEditValue.toString()); } /** @@ -150,7 +150,7 @@ public void setSvgHeightAttribute(String svgHeightValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -163,7 +163,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawControlElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawControlElement.java index b1486c6b96..54f9e88a86 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawControlElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawControlElement.java @@ -294,12 +294,12 @@ public void setSvgYAttribute(String svgYValue) { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawCustomShapeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawCustomShapeElement.java index c5c10bdbfa..56757d6a9b 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawCustomShapeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawCustomShapeElement.java @@ -331,12 +331,12 @@ public DrawEnhancedGeometryElement newDrawEnhancedGeometryElement() { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawEllipseElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawEllipseElement.java index c4d67266d9..4209d75657 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawEllipseElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawEllipseElement.java @@ -445,12 +445,12 @@ public void setSvgYAttribute(String svgYValue) { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawEnhancedGeometryElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawEnhancedGeometryElement.java index 1a5c0d7848..391a53be2c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawEnhancedGeometryElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawEnhancedGeometryElement.java @@ -158,7 +158,7 @@ public void setDr3dShadeModeAttribute(String dr3dShadeModeValue) { public Boolean getDrawConcentricGradientFillAllowedAttribute() { DrawConcentricGradientFillAllowedAttribute attr = (DrawConcentricGradientFillAllowedAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "concentric-gradient-fill-allowed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawConcentricGradientFillAllowedAttribute.DEFAULT_VALUE); } @@ -171,7 +171,7 @@ public Boolean getDrawConcentricGradientFillAllowedAttribute() { public void setDrawConcentricGradientFillAllowedAttribute(Boolean drawConcentricGradientFillAllowedValue) { DrawConcentricGradientFillAllowedAttribute attr = new DrawConcentricGradientFillAllowedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawConcentricGradientFillAllowedValue.booleanValue()); + attr.setValue(drawConcentricGradientFillAllowedValue.toString()); } /** @@ -206,7 +206,7 @@ public void setDrawEnhancedPathAttribute(String drawEnhancedPathValue) { public Boolean getDrawExtrusionAttribute() { DrawExtrusionAttribute attr = (DrawExtrusionAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionAttribute.DEFAULT_VALUE); } @@ -219,7 +219,7 @@ public Boolean getDrawExtrusionAttribute() { public void setDrawExtrusionAttribute(Boolean drawExtrusionValue) { DrawExtrusionAttribute attr = new DrawExtrusionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionValue.booleanValue()); + attr.setValue(drawExtrusionValue.toString()); } /** @@ -230,7 +230,7 @@ public void setDrawExtrusionAttribute(Boolean drawExtrusionValue) { public Boolean getDrawExtrusionAllowedAttribute() { DrawExtrusionAllowedAttribute attr = (DrawExtrusionAllowedAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-allowed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionAllowedAttribute.DEFAULT_VALUE); } @@ -243,7 +243,7 @@ public Boolean getDrawExtrusionAllowedAttribute() { public void setDrawExtrusionAllowedAttribute(Boolean drawExtrusionAllowedValue) { DrawExtrusionAllowedAttribute attr = new DrawExtrusionAllowedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionAllowedValue.booleanValue()); + attr.setValue(drawExtrusionAllowedValue.toString()); } /** @@ -278,7 +278,7 @@ public void setDrawExtrusionBrightnessAttribute(String drawExtrusionBrightnessVa public Boolean getDrawExtrusionColorAttribute() { DrawExtrusionColorAttribute attr = (DrawExtrusionColorAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-color"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionColorAttribute.DEFAULT_VALUE); } @@ -291,7 +291,7 @@ public Boolean getDrawExtrusionColorAttribute() { public void setDrawExtrusionColorAttribute(Boolean drawExtrusionColorValue) { DrawExtrusionColorAttribute attr = new DrawExtrusionColorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionColorValue.booleanValue()); + attr.setValue(drawExtrusionColorValue.toString()); } /** @@ -374,7 +374,7 @@ public void setDrawExtrusionFirstLightDirectionAttribute(String drawExtrusionFir public Boolean getDrawExtrusionFirstLightHarshAttribute() { DrawExtrusionFirstLightHarshAttribute attr = (DrawExtrusionFirstLightHarshAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-first-light-harsh"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionFirstLightHarshAttribute.DEFAULT_VALUE); } @@ -387,7 +387,7 @@ public Boolean getDrawExtrusionFirstLightHarshAttribute() { public void setDrawExtrusionFirstLightHarshAttribute(Boolean drawExtrusionFirstLightHarshValue) { DrawExtrusionFirstLightHarshAttribute attr = new DrawExtrusionFirstLightHarshAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionFirstLightHarshValue.booleanValue()); + attr.setValue(drawExtrusionFirstLightHarshValue.toString()); } /** @@ -422,7 +422,7 @@ public void setDrawExtrusionFirstLightLevelAttribute(String drawExtrusionFirstLi public Boolean getDrawExtrusionLightFaceAttribute() { DrawExtrusionLightFaceAttribute attr = (DrawExtrusionLightFaceAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-light-face"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionLightFaceAttribute.DEFAULT_VALUE); } @@ -435,7 +435,7 @@ public Boolean getDrawExtrusionLightFaceAttribute() { public void setDrawExtrusionLightFaceAttribute(Boolean drawExtrusionLightFaceValue) { DrawExtrusionLightFaceAttribute attr = new DrawExtrusionLightFaceAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionLightFaceValue.booleanValue()); + attr.setValue(drawExtrusionLightFaceValue.toString()); } /** @@ -446,7 +446,7 @@ public void setDrawExtrusionLightFaceAttribute(Boolean drawExtrusionLightFaceVal public Boolean getDrawExtrusionMetalAttribute() { DrawExtrusionMetalAttribute attr = (DrawExtrusionMetalAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-metal"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionMetalAttribute.DEFAULT_VALUE); } @@ -459,7 +459,7 @@ public Boolean getDrawExtrusionMetalAttribute() { public void setDrawExtrusionMetalAttribute(Boolean drawExtrusionMetalValue) { DrawExtrusionMetalAttribute attr = new DrawExtrusionMetalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionMetalValue.booleanValue()); + attr.setValue(drawExtrusionMetalValue.toString()); } /** @@ -470,7 +470,7 @@ public void setDrawExtrusionMetalAttribute(Boolean drawExtrusionMetalValue) { public Integer getDrawExtrusionNumberOfLineSegmentsAttribute() { DrawExtrusionNumberOfLineSegmentsAttribute attr = (DrawExtrusionNumberOfLineSegmentsAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-number-of-line-segments"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(DrawExtrusionNumberOfLineSegmentsAttribute.DEFAULT_VALUE); } @@ -483,7 +483,7 @@ public Integer getDrawExtrusionNumberOfLineSegmentsAttribute() { public void setDrawExtrusionNumberOfLineSegmentsAttribute(Integer drawExtrusionNumberOfLineSegmentsValue) { DrawExtrusionNumberOfLineSegmentsAttribute attr = new DrawExtrusionNumberOfLineSegmentsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawExtrusionNumberOfLineSegmentsValue.intValue()); + attr.setValue(drawExtrusionNumberOfLineSegmentsValue.toString()); } /** @@ -494,7 +494,7 @@ public void setDrawExtrusionNumberOfLineSegmentsAttribute(Integer drawExtrusionN public Double getDrawExtrusionOriginAttribute() { DrawExtrusionOriginAttribute attr = (DrawExtrusionOriginAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-origin"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(DrawExtrusionOriginAttribute.DEFAULT_VALUE); } @@ -507,7 +507,7 @@ public Double getDrawExtrusionOriginAttribute() { public void setDrawExtrusionOriginAttribute(Double drawExtrusionOriginValue) { DrawExtrusionOriginAttribute attr = new DrawExtrusionOriginAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(drawExtrusionOriginValue.doubleValue()); + attr.setValue(drawExtrusionOriginValue.toString()); } /** @@ -590,7 +590,7 @@ public void setDrawExtrusionSecondLightDirectionAttribute(String drawExtrusionSe public Boolean getDrawExtrusionSecondLightHarshAttribute() { DrawExtrusionSecondLightHarshAttribute attr = (DrawExtrusionSecondLightHarshAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-second-light-harsh"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionSecondLightHarshAttribute.DEFAULT_VALUE); } @@ -603,7 +603,7 @@ public Boolean getDrawExtrusionSecondLightHarshAttribute() { public void setDrawExtrusionSecondLightHarshAttribute(Boolean drawExtrusionSecondLightHarshValue) { DrawExtrusionSecondLightHarshAttribute attr = new DrawExtrusionSecondLightHarshAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionSecondLightHarshValue.booleanValue()); + attr.setValue(drawExtrusionSecondLightHarshValue.toString()); } /** @@ -806,7 +806,7 @@ public void setDrawGluePointsAttribute(String drawGluePointsValue) { public Boolean getDrawMirrorHorizontalAttribute() { DrawMirrorHorizontalAttribute attr = (DrawMirrorHorizontalAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "mirror-horizontal"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawMirrorHorizontalAttribute.DEFAULT_VALUE); } @@ -819,7 +819,7 @@ public Boolean getDrawMirrorHorizontalAttribute() { public void setDrawMirrorHorizontalAttribute(Boolean drawMirrorHorizontalValue) { DrawMirrorHorizontalAttribute attr = new DrawMirrorHorizontalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawMirrorHorizontalValue.booleanValue()); + attr.setValue(drawMirrorHorizontalValue.toString()); } /** @@ -830,7 +830,7 @@ public void setDrawMirrorHorizontalAttribute(Boolean drawMirrorHorizontalValue) public Boolean getDrawMirrorVerticalAttribute() { DrawMirrorVerticalAttribute attr = (DrawMirrorVerticalAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "mirror-vertical"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawMirrorVerticalAttribute.DEFAULT_VALUE); } @@ -843,7 +843,7 @@ public Boolean getDrawMirrorVerticalAttribute() { public void setDrawMirrorVerticalAttribute(Boolean drawMirrorVerticalValue) { DrawMirrorVerticalAttribute attr = new DrawMirrorVerticalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawMirrorVerticalValue.booleanValue()); + attr.setValue(drawMirrorVerticalValue.toString()); } /** @@ -878,7 +878,7 @@ public void setDrawModifiersAttribute(String drawModifiersValue) { public Double getDrawPathStretchpointXAttribute() { DrawPathStretchpointXAttribute attr = (DrawPathStretchpointXAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "path-stretchpoint-x"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -891,7 +891,7 @@ public Double getDrawPathStretchpointXAttribute() { public void setDrawPathStretchpointXAttribute(Double drawPathStretchpointXValue) { DrawPathStretchpointXAttribute attr = new DrawPathStretchpointXAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(drawPathStretchpointXValue.doubleValue()); + attr.setValue(drawPathStretchpointXValue.toString()); } /** @@ -902,7 +902,7 @@ public void setDrawPathStretchpointXAttribute(Double drawPathStretchpointXValue) public Double getDrawPathStretchpointYAttribute() { DrawPathStretchpointYAttribute attr = (DrawPathStretchpointYAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "path-stretchpoint-y"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -915,7 +915,7 @@ public Double getDrawPathStretchpointYAttribute() { public void setDrawPathStretchpointYAttribute(Double drawPathStretchpointYValue) { DrawPathStretchpointYAttribute attr = new DrawPathStretchpointYAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(drawPathStretchpointYValue.doubleValue()); + attr.setValue(drawPathStretchpointYValue.toString()); } /** @@ -950,7 +950,7 @@ public void setDrawTextAreasAttribute(String drawTextAreasValue) { public Boolean getDrawTextPathAttribute() { DrawTextPathAttribute attr = (DrawTextPathAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "text-path"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawTextPathAttribute.DEFAULT_VALUE); } @@ -963,7 +963,7 @@ public Boolean getDrawTextPathAttribute() { public void setDrawTextPathAttribute(Boolean drawTextPathValue) { DrawTextPathAttribute attr = new DrawTextPathAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawTextPathValue.booleanValue()); + attr.setValue(drawTextPathValue.toString()); } /** @@ -974,7 +974,7 @@ public void setDrawTextPathAttribute(Boolean drawTextPathValue) { public Boolean getDrawTextPathAllowedAttribute() { DrawTextPathAllowedAttribute attr = (DrawTextPathAllowedAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "text-path-allowed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawTextPathAllowedAttribute.DEFAULT_VALUE); } @@ -987,7 +987,7 @@ public Boolean getDrawTextPathAllowedAttribute() { public void setDrawTextPathAllowedAttribute(Boolean drawTextPathAllowedValue) { DrawTextPathAllowedAttribute attr = new DrawTextPathAllowedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawTextPathAllowedValue.booleanValue()); + attr.setValue(drawTextPathAllowedValue.toString()); } /** @@ -1022,7 +1022,7 @@ public void setDrawTextPathModeAttribute(String drawTextPathModeValue) { public Boolean getDrawTextPathSameLetterHeightsAttribute() { DrawTextPathSameLetterHeightsAttribute attr = (DrawTextPathSameLetterHeightsAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "text-path-same-letter-heights"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawTextPathSameLetterHeightsAttribute.DEFAULT_VALUE); } @@ -1035,7 +1035,7 @@ public Boolean getDrawTextPathSameLetterHeightsAttribute() { public void setDrawTextPathSameLetterHeightsAttribute(Boolean drawTextPathSameLetterHeightsValue) { DrawTextPathSameLetterHeightsAttribute attr = new DrawTextPathSameLetterHeightsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawTextPathSameLetterHeightsValue.booleanValue()); + attr.setValue(drawTextPathSameLetterHeightsValue.toString()); } /** @@ -1118,7 +1118,7 @@ public void setDrawTypeAttribute(String drawTypeValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1131,7 +1131,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawFrameElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawFrameElement.java index 3109885c17..7a1564fd1e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawFrameElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawFrameElement.java @@ -231,7 +231,7 @@ public void setPresentationClassAttribute(String presentationClassValue) { public Boolean getPresentationPlaceholderAttribute() { PresentationPlaceholderAttribute attr = (PresentationPlaceholderAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "placeholder"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -244,7 +244,7 @@ public Boolean getPresentationPlaceholderAttribute() { public void setPresentationPlaceholderAttribute(Boolean presentationPlaceholderValue) { PresentationPlaceholderAttribute attr = new PresentationPlaceholderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationPlaceholderValue.booleanValue()); + attr.setValue(presentationPlaceholderValue.toString()); } /** @@ -255,7 +255,7 @@ public void setPresentationPlaceholderAttribute(Boolean presentationPlaceholderV public Boolean getPresentationUserTransformedAttribute() { PresentationUserTransformedAttribute attr = (PresentationUserTransformedAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "user-transformed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -268,7 +268,7 @@ public Boolean getPresentationUserTransformedAttribute() { public void setPresentationUserTransformedAttribute(Boolean presentationUserTransformedValue) { PresentationUserTransformedAttribute attr = new PresentationUserTransformedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationUserTransformedValue.booleanValue()); + attr.setValue(presentationUserTransformedValue.toString()); } /** @@ -479,12 +479,12 @@ public DrawFloatingFrameElement newDrawFloatingFrameElement(String xlinkHrefValu * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawGElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawGElement.java index 09c5389101..c97784f61e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawGElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawGElement.java @@ -239,12 +239,12 @@ public DrawGElement newDrawGElement() { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java index d9868042b2..c35766de39 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java @@ -124,7 +124,7 @@ public void setDrawEscapeDirectionAttribute(String drawEscapeDirectionValue) { public Integer getDrawIdAttribute() { DrawIdAttribute attr = (DrawIdAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "id"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -137,7 +137,7 @@ public Integer getDrawIdAttribute() { public void setDrawIdAttribute(Integer drawIdValue) { DrawIdAttribute attr = new DrawIdAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawIdValue.intValue()); + attr.setValue(drawIdValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawHandleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawHandleElement.java index 9abb21d9f0..834cb2886d 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawHandleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawHandleElement.java @@ -78,7 +78,7 @@ public OdfName getOdfName() { public Boolean getDrawHandleMirrorHorizontalAttribute() { DrawHandleMirrorHorizontalAttribute attr = (DrawHandleMirrorHorizontalAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "handle-mirror-horizontal"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawHandleMirrorHorizontalAttribute.DEFAULT_VALUE); } @@ -91,7 +91,7 @@ public Boolean getDrawHandleMirrorHorizontalAttribute() { public void setDrawHandleMirrorHorizontalAttribute(Boolean drawHandleMirrorHorizontalValue) { DrawHandleMirrorHorizontalAttribute attr = new DrawHandleMirrorHorizontalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawHandleMirrorHorizontalValue.booleanValue()); + attr.setValue(drawHandleMirrorHorizontalValue.toString()); } /** @@ -102,7 +102,7 @@ public void setDrawHandleMirrorHorizontalAttribute(Boolean drawHandleMirrorHoriz public Boolean getDrawHandleMirrorVerticalAttribute() { DrawHandleMirrorVerticalAttribute attr = (DrawHandleMirrorVerticalAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "handle-mirror-vertical"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawHandleMirrorVerticalAttribute.DEFAULT_VALUE); } @@ -115,7 +115,7 @@ public Boolean getDrawHandleMirrorVerticalAttribute() { public void setDrawHandleMirrorVerticalAttribute(Boolean drawHandleMirrorVerticalValue) { DrawHandleMirrorVerticalAttribute attr = new DrawHandleMirrorVerticalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawHandleMirrorVerticalValue.booleanValue()); + attr.setValue(drawHandleMirrorVerticalValue.toString()); } /** @@ -320,7 +320,7 @@ public void setDrawHandleRangeYMinimumAttribute(String drawHandleRangeYMinimumVa public Boolean getDrawHandleSwitchedAttribute() { DrawHandleSwitchedAttribute attr = (DrawHandleSwitchedAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "handle-switched"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawHandleSwitchedAttribute.DEFAULT_VALUE); } @@ -333,7 +333,7 @@ public Boolean getDrawHandleSwitchedAttribute() { public void setDrawHandleSwitchedAttribute(Boolean drawHandleSwitchedValue) { DrawHandleSwitchedAttribute attr = new DrawHandleSwitchedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawHandleSwitchedValue.booleanValue()); + attr.setValue(drawHandleSwitchedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawLayerElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawLayerElement.java index 640a354884..f8549e0028 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawLayerElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawLayerElement.java @@ -122,7 +122,7 @@ public void setDrawNameAttribute(String drawNameValue) { public Boolean getDrawProtectedAttribute() { DrawProtectedAttribute attr = (DrawProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawProtectedAttribute.DEFAULT_VALUE); } @@ -135,7 +135,7 @@ public Boolean getDrawProtectedAttribute() { public void setDrawProtectedAttribute(Boolean drawProtectedValue) { DrawProtectedAttribute attr = new DrawProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawProtectedValue.booleanValue()); + attr.setValue(drawProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawLineElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawLineElement.java index 885558c43f..340207f0fd 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawLineElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawLineElement.java @@ -278,12 +278,12 @@ public void setSvgY2Attribute(String svgY2Value) { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawMarkerElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawMarkerElement.java index ee6ea79914..8e6ea9b3a3 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawMarkerElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawMarkerElement.java @@ -149,7 +149,7 @@ public void setSvgDAttribute(String svgDValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -162,7 +162,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawMeasureElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawMeasureElement.java index 6bf82d7d13..530da8dc74 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawMeasureElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawMeasureElement.java @@ -278,12 +278,12 @@ public void setSvgY2Attribute(String svgY2Value) { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawPageThumbnailElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawPageThumbnailElement.java index 1243b8eefd..2da5e3bfbc 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawPageThumbnailElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawPageThumbnailElement.java @@ -130,7 +130,7 @@ public void setDrawLayerAttribute(String drawLayerValue) { public Integer getDrawPageNumberAttribute() { DrawPageNumberAttribute attr = (DrawPageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -143,7 +143,7 @@ public Integer getDrawPageNumberAttribute() { public void setDrawPageNumberAttribute(Integer drawPageNumberValue) { DrawPageNumberAttribute attr = new DrawPageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawPageNumberValue.intValue()); + attr.setValue(drawPageNumberValue.toString()); } /** @@ -202,7 +202,7 @@ public void setPresentationClassAttribute(String presentationClassValue) { public Boolean getPresentationPlaceholderAttribute() { PresentationPlaceholderAttribute attr = (PresentationPlaceholderAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "placeholder"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -215,7 +215,7 @@ public Boolean getPresentationPlaceholderAttribute() { public void setPresentationPlaceholderAttribute(Boolean presentationPlaceholderValue) { PresentationPlaceholderAttribute attr = new PresentationPlaceholderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationPlaceholderValue.booleanValue()); + attr.setValue(presentationPlaceholderValue.toString()); } /** @@ -226,7 +226,7 @@ public void setPresentationPlaceholderAttribute(Boolean presentationPlaceholderV public Boolean getPresentationUserTransformedAttribute() { PresentationUserTransformedAttribute attr = (PresentationUserTransformedAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "user-transformed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -239,7 +239,7 @@ public Boolean getPresentationUserTransformedAttribute() { public void setPresentationUserTransformedAttribute(Boolean presentationUserTransformedValue) { PresentationUserTransformedAttribute attr = new PresentationUserTransformedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationUserTransformedValue.booleanValue()); + attr.setValue(presentationUserTransformedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawPathElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawPathElement.java index c81d6c8a3e..75698dcd74 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawPathElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawPathElement.java @@ -232,7 +232,7 @@ public void setSvgHeightAttribute(String svgHeightValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -245,7 +245,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** @@ -324,12 +324,12 @@ public void setSvgYAttribute(String svgYValue) { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawPolygonElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawPolygonElement.java index 49fe4ca4e5..7dfdc4daf1 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawPolygonElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawPolygonElement.java @@ -232,7 +232,7 @@ public void setSvgHeightAttribute(String svgHeightValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -245,7 +245,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** @@ -324,12 +324,12 @@ public void setSvgYAttribute(String svgYValue) { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawPolylineElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawPolylineElement.java index a1dd6182d7..76b48c2920 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawPolylineElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawPolylineElement.java @@ -232,7 +232,7 @@ public void setSvgHeightAttribute(String svgHeightValue) { public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -245,7 +245,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** @@ -324,12 +324,12 @@ public void setSvgYAttribute(String svgYValue) { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawRectElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawRectElement.java index 7851f3694d..3cfe166a42 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawRectElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawRectElement.java @@ -345,12 +345,12 @@ public void setSvgYAttribute(String svgYValue) { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java index b9836fd0a9..ca61b7b6ee 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java @@ -111,7 +111,7 @@ public void setDrawCaptionIdAttribute(String drawCaptionIdValue) { public Boolean getDrawConcaveAttribute() { DrawConcaveAttribute attr = (DrawConcaveAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "concave"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -124,7 +124,7 @@ public Boolean getDrawConcaveAttribute() { public void setDrawConcaveAttribute(Boolean drawConcaveValue) { DrawConcaveAttribute attr = new DrawConcaveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawConcaveValue.booleanValue()); + attr.setValue(drawConcaveValue.toString()); } /** @@ -137,7 +137,7 @@ public void setDrawConcaveAttribute(Boolean drawConcaveValue) { public Integer getDrawCornersAttribute() { DrawCornersAttribute attr = (DrawCornersAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "corners"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -150,7 +150,7 @@ public Integer getDrawCornersAttribute() { public void setDrawCornersAttribute(Integer drawCornersValue) { DrawCornersAttribute attr = new DrawCornersAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawCornersValue.intValue()); + attr.setValue(drawCornersValue.toString()); } /** @@ -349,12 +349,12 @@ public void setSvgYAttribute(String svgYValue) { * Create child element {@odf.element draw:glue-point}. * * @param drawEscapeDirectionValue the String value of DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at specification - * @param drawIdValue the String value of DrawIdAttribute, see {@odf.attribute draw:id} at specification + * @param drawIdValue the Integer value of DrawIdAttribute, see {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see {@odf.attribute svg:x} at specification * @param svgYValue the String value of SvgYAttribute, see {@odf.attribute svg:y} at specification * @return the element {@odf.element draw:glue-point} */ - public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); drawGluePoint.setDrawIdAttribute(drawIdValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawShapeElementBase.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawShapeElementBase.java index cbf338f0e1..b793878daa 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawShapeElementBase.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawShapeElementBase.java @@ -169,7 +169,7 @@ public void setDrawStyleNameAttribute(String drawStyleNameValue) { public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -182,7 +182,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** @@ -313,7 +313,7 @@ public void setTableEndYAttribute(String tableEndYValue) { public Boolean getTableTableBackgroundAttribute() { TableTableBackgroundAttribute attr = (TableTableBackgroundAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table-background"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -326,7 +326,7 @@ public Boolean getTableTableBackgroundAttribute() { public void setTableTableBackgroundAttribute(Boolean tableTableBackgroundValue) { TableTableBackgroundAttribute attr = new TableTableBackgroundAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableTableBackgroundValue.booleanValue()); + attr.setValue(tableTableBackgroundValue.toString()); } /** @@ -337,7 +337,7 @@ public void setTableTableBackgroundAttribute(Boolean tableTableBackgroundValue) public Integer getTextAnchorPageNumberAttribute() { TextAnchorPageNumberAttribute attr = (TextAnchorPageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "anchor-page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -350,7 +350,7 @@ public Integer getTextAnchorPageNumberAttribute() { public void setTextAnchorPageNumberAttribute(Integer textAnchorPageNumberValue) { TextAnchorPageNumberAttribute attr = new TextAnchorPageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textAnchorPageNumberValue.intValue()); + attr.setValue(textAnchorPageNumberValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawStrokeDashElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawStrokeDashElement.java index eb89d39f8c..2dfb5ca973 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawStrokeDashElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/draw/DrawStrokeDashElement.java @@ -123,7 +123,7 @@ public void setDrawDistanceAttribute(String drawDistanceValue) { public Integer getDrawDots1Attribute() { DrawDots1Attribute attr = (DrawDots1Attribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "dots1"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -136,7 +136,7 @@ public Integer getDrawDots1Attribute() { public void setDrawDots1Attribute(Integer drawDots1Value) { DrawDots1Attribute attr = new DrawDots1Attribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawDots1Value.intValue()); + attr.setValue(drawDots1Value.toString()); } /** @@ -171,7 +171,7 @@ public void setDrawDots1LengthAttribute(String drawDots1LengthValue) { public Integer getDrawDots2Attribute() { DrawDots2Attribute attr = (DrawDots2Attribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "dots2"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -184,7 +184,7 @@ public Integer getDrawDots2Attribute() { public void setDrawDots2Attribute(Integer drawDots2Value) { DrawDots2Attribute attr = new DrawDots2Attribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawDots2Value.intValue()); + attr.setValue(drawDots2Value.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormButtonElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormButtonElement.java index d553d08364..4674033d4b 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormButtonElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormButtonElement.java @@ -140,7 +140,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormDefaultButtonAttribute() { FormDefaultButtonAttribute attr = (FormDefaultButtonAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "default-button"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDefaultButtonAttribute.DEFAULT_VALUE); } @@ -153,7 +153,7 @@ public Boolean getFormDefaultButtonAttribute() { public void setFormDefaultButtonAttribute(Boolean formDefaultButtonValue) { FormDefaultButtonAttribute attr = new FormDefaultButtonAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDefaultButtonValue.booleanValue()); + attr.setValue(formDefaultButtonValue.toString()); } /** @@ -188,7 +188,7 @@ public void setFormDelayForRepeatAttribute(String formDelayForRepeatValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -201,7 +201,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -212,7 +212,7 @@ public void setFormDisabledAttribute(Boolean formDisabledValue) { public Boolean getFormFocusOnClickAttribute() { FormFocusOnClickAttribute attr = (FormFocusOnClickAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "focus-on-click"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -225,7 +225,7 @@ public Boolean getFormFocusOnClickAttribute() { public void setFormFocusOnClickAttribute(Boolean formFocusOnClickValue) { FormFocusOnClickAttribute attr = new FormFocusOnClickAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formFocusOnClickValue.booleanValue()); + attr.setValue(formFocusOnClickValue.toString()); } /** @@ -382,7 +382,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -395,7 +395,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -406,7 +406,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormRepeatAttribute() { FormRepeatAttribute attr = (FormRepeatAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "repeat"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -419,7 +419,7 @@ public Boolean getFormRepeatAttribute() { public void setFormRepeatAttribute(Boolean formRepeatValue) { FormRepeatAttribute attr = new FormRepeatAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formRepeatValue.booleanValue()); + attr.setValue(formRepeatValue.toString()); } /** @@ -430,7 +430,7 @@ public void setFormRepeatAttribute(Boolean formRepeatValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -443,7 +443,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -454,7 +454,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -467,7 +467,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** @@ -502,7 +502,7 @@ public void setFormTitleAttribute(String formTitleValue) { public Boolean getFormToggleAttribute() { FormToggleAttribute attr = (FormToggleAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "toggle"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormToggleAttribute.DEFAULT_VALUE); } @@ -515,7 +515,7 @@ public Boolean getFormToggleAttribute() { public void setFormToggleAttribute(Boolean formToggleValue) { FormToggleAttribute attr = new FormToggleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formToggleValue.booleanValue()); + attr.setValue(formToggleValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormCheckboxElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormCheckboxElement.java index 1e9133c865..0be177ebdb 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormCheckboxElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormCheckboxElement.java @@ -160,7 +160,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -173,7 +173,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -258,7 +258,7 @@ public void setFormImagePositionAttribute(String formImagePositionValue) { public Boolean getFormIsTristateAttribute() { FormIsTristateAttribute attr = (FormIsTristateAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "is-tristate"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormIsTristateAttribute.DEFAULT_VALUE); } @@ -271,7 +271,7 @@ public Boolean getFormIsTristateAttribute() { public void setFormIsTristateAttribute(Boolean formIsTristateValue) { FormIsTristateAttribute attr = new FormIsTristateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formIsTristateValue.booleanValue()); + attr.setValue(formIsTristateValue.toString()); } /** @@ -354,7 +354,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -367,7 +367,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -402,7 +402,7 @@ public void setFormStateAttribute(String formStateValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -415,7 +415,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -426,7 +426,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -439,7 +439,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormComboboxElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormComboboxElement.java index 262d8d9ffc..76b2e98eaa 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormComboboxElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormComboboxElement.java @@ -91,7 +91,7 @@ public OdfName getOdfName() { public Boolean getFormAutoCompleteAttribute() { FormAutoCompleteAttribute attr = (FormAutoCompleteAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "auto-complete"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -104,7 +104,7 @@ public Boolean getFormAutoCompleteAttribute() { public void setFormAutoCompleteAttribute(Boolean formAutoCompleteValue) { FormAutoCompleteAttribute attr = new FormAutoCompleteAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formAutoCompleteValue.booleanValue()); + attr.setValue(formAutoCompleteValue.toString()); } /** @@ -139,7 +139,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -152,7 +152,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -211,7 +211,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -224,7 +224,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -235,7 +235,7 @@ public void setFormDisabledAttribute(Boolean formDisabledValue) { public Boolean getFormDropdownAttribute() { FormDropdownAttribute attr = (FormDropdownAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "dropdown"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDropdownAttribute.DEFAULT_VALUE); } @@ -248,7 +248,7 @@ public Boolean getFormDropdownAttribute() { public void setFormDropdownAttribute(Boolean formDropdownValue) { FormDropdownAttribute attr = new FormDropdownAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDropdownValue.booleanValue()); + attr.setValue(formDropdownValue.toString()); } /** @@ -355,7 +355,7 @@ public void setFormListSourceTypeAttribute(String formListSourceTypeValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -368,7 +368,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -403,7 +403,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -416,7 +416,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -427,7 +427,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -440,7 +440,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -451,7 +451,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Integer getFormSizeAttribute() { FormSizeAttribute attr = (FormSizeAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "size"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -464,7 +464,7 @@ public Integer getFormSizeAttribute() { public void setFormSizeAttribute(Integer formSizeValue) { FormSizeAttribute attr = new FormSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formSizeValue.intValue()); + attr.setValue(formSizeValue.toString()); } /** @@ -499,7 +499,7 @@ public void setFormSourceCellRangeAttribute(String formSourceCellRangeValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -512,7 +512,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -523,7 +523,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -536,7 +536,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormDateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormDateElement.java index dc776f665e..c32ea77007 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormDateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormDateElement.java @@ -114,7 +114,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -127,7 +127,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -210,7 +210,7 @@ public void setFormDelayForRepeatAttribute(String formDelayForRepeatValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -223,7 +223,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -282,7 +282,7 @@ public void setFormLinkedCellAttribute(String formLinkedCellValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -295,7 +295,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -378,7 +378,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -391,7 +391,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -402,7 +402,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -415,7 +415,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -426,7 +426,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Boolean getFormRepeatAttribute() { FormRepeatAttribute attr = (FormRepeatAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "repeat"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -439,7 +439,7 @@ public Boolean getFormRepeatAttribute() { public void setFormRepeatAttribute(Boolean formRepeatValue) { FormRepeatAttribute attr = new FormRepeatAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formRepeatValue.booleanValue()); + attr.setValue(formRepeatValue.toString()); } /** @@ -450,7 +450,7 @@ public void setFormRepeatAttribute(Boolean formRepeatValue) { public Boolean getFormSpinButtonAttribute() { FormSpinButtonAttribute attr = (FormSpinButtonAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "spin-button"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormSpinButtonAttribute.DEFAULT_VALUE); } @@ -463,7 +463,7 @@ public Boolean getFormSpinButtonAttribute() { public void setFormSpinButtonAttribute(Boolean formSpinButtonValue) { FormSpinButtonAttribute attr = new FormSpinButtonAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formSpinButtonValue.booleanValue()); + attr.setValue(formSpinButtonValue.toString()); } /** @@ -474,7 +474,7 @@ public void setFormSpinButtonAttribute(Boolean formSpinButtonValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -487,7 +487,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -498,7 +498,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -511,7 +511,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormFileElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormFileElement.java index 2e740e01ea..cb3522f069 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormFileElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormFileElement.java @@ -131,7 +131,7 @@ public void setFormCurrentValueAttribute(String formCurrentValueValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -144,7 +144,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -203,7 +203,7 @@ public void setFormLinkedCellAttribute(String formLinkedCellValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -216,7 +216,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -251,7 +251,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -264,7 +264,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -275,7 +275,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -288,7 +288,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -299,7 +299,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -312,7 +312,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -323,7 +323,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -336,7 +336,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormFixedTextElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormFixedTextElement.java index 8f30cb24a6..f6445ecc41 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormFixedTextElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormFixedTextElement.java @@ -103,7 +103,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -116,7 +116,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -199,7 +199,7 @@ public void setFormLabelAttribute(String formLabelValue) { public Boolean getFormMultiLineAttribute() { FormMultiLineAttribute attr = (FormMultiLineAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "multi-line"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormMultiLineAttribute.DEFAULT_VALUE); } @@ -212,7 +212,7 @@ public Boolean getFormMultiLineAttribute() { public void setFormMultiLineAttribute(Boolean formMultiLineValue) { FormMultiLineAttribute attr = new FormMultiLineAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formMultiLineValue.booleanValue()); + attr.setValue(formMultiLineValue.toString()); } /** @@ -247,7 +247,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -260,7 +260,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormFormElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormFormElement.java index 4613328c6d..049dce35f8 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormFormElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormFormElement.java @@ -91,7 +91,7 @@ public OdfName getOdfName() { public Boolean getFormAllowDeletesAttribute() { FormAllowDeletesAttribute attr = (FormAllowDeletesAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "allow-deletes"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormAllowDeletesAttribute.DEFAULT_VALUE); } @@ -104,7 +104,7 @@ public Boolean getFormAllowDeletesAttribute() { public void setFormAllowDeletesAttribute(Boolean formAllowDeletesValue) { FormAllowDeletesAttribute attr = new FormAllowDeletesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formAllowDeletesValue.booleanValue()); + attr.setValue(formAllowDeletesValue.toString()); } /** @@ -115,7 +115,7 @@ public void setFormAllowDeletesAttribute(Boolean formAllowDeletesValue) { public Boolean getFormAllowInsertsAttribute() { FormAllowInsertsAttribute attr = (FormAllowInsertsAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "allow-inserts"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormAllowInsertsAttribute.DEFAULT_VALUE); } @@ -128,7 +128,7 @@ public Boolean getFormAllowInsertsAttribute() { public void setFormAllowInsertsAttribute(Boolean formAllowInsertsValue) { FormAllowInsertsAttribute attr = new FormAllowInsertsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formAllowInsertsValue.booleanValue()); + attr.setValue(formAllowInsertsValue.toString()); } /** @@ -139,7 +139,7 @@ public void setFormAllowInsertsAttribute(Boolean formAllowInsertsValue) { public Boolean getFormAllowUpdatesAttribute() { FormAllowUpdatesAttribute attr = (FormAllowUpdatesAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "allow-updates"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormAllowUpdatesAttribute.DEFAULT_VALUE); } @@ -152,7 +152,7 @@ public Boolean getFormAllowUpdatesAttribute() { public void setFormAllowUpdatesAttribute(Boolean formAllowUpdatesValue) { FormAllowUpdatesAttribute attr = new FormAllowUpdatesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formAllowUpdatesValue.booleanValue()); + attr.setValue(formAllowUpdatesValue.toString()); } /** @@ -163,7 +163,7 @@ public void setFormAllowUpdatesAttribute(Boolean formAllowUpdatesValue) { public Boolean getFormApplyFilterAttribute() { FormApplyFilterAttribute attr = (FormApplyFilterAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "apply-filter"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormApplyFilterAttribute.DEFAULT_VALUE); } @@ -176,7 +176,7 @@ public Boolean getFormApplyFilterAttribute() { public void setFormApplyFilterAttribute(Boolean formApplyFilterValue) { FormApplyFilterAttribute attr = new FormApplyFilterAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formApplyFilterValue.booleanValue()); + attr.setValue(formApplyFilterValue.toString()); } /** @@ -331,7 +331,7 @@ public void setFormEnctypeAttribute(String formEnctypeValue) { public Boolean getFormEscapeProcessingAttribute() { FormEscapeProcessingAttribute attr = (FormEscapeProcessingAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "escape-processing"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormEscapeProcessingAttribute.DEFAULT_VALUE); } @@ -344,7 +344,7 @@ public Boolean getFormEscapeProcessingAttribute() { public void setFormEscapeProcessingAttribute(Boolean formEscapeProcessingValue) { FormEscapeProcessingAttribute attr = new FormEscapeProcessingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formEscapeProcessingValue.booleanValue()); + attr.setValue(formEscapeProcessingValue.toString()); } /** @@ -379,7 +379,7 @@ public void setFormFilterAttribute(String formFilterValue) { public Boolean getFormIgnoreResultAttribute() { FormIgnoreResultAttribute attr = (FormIgnoreResultAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "ignore-result"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormIgnoreResultAttribute.DEFAULT_VALUE); } @@ -392,7 +392,7 @@ public Boolean getFormIgnoreResultAttribute() { public void setFormIgnoreResultAttribute(Boolean formIgnoreResultValue) { FormIgnoreResultAttribute attr = new FormIgnoreResultAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formIgnoreResultValue.booleanValue()); + attr.setValue(formIgnoreResultValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormFormattedTextElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormFormattedTextElement.java index b5cce86458..4d082a6f63 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormFormattedTextElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormFormattedTextElement.java @@ -115,7 +115,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -128,7 +128,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -211,7 +211,7 @@ public void setFormDelayForRepeatAttribute(String formDelayForRepeatValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -224,7 +224,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -283,7 +283,7 @@ public void setFormLinkedCellAttribute(String formLinkedCellValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -296,7 +296,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -379,7 +379,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -392,7 +392,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -403,7 +403,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -416,7 +416,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -427,7 +427,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Boolean getFormRepeatAttribute() { FormRepeatAttribute attr = (FormRepeatAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "repeat"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -440,7 +440,7 @@ public Boolean getFormRepeatAttribute() { public void setFormRepeatAttribute(Boolean formRepeatValue) { FormRepeatAttribute attr = new FormRepeatAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formRepeatValue.booleanValue()); + attr.setValue(formRepeatValue.toString()); } /** @@ -451,7 +451,7 @@ public void setFormRepeatAttribute(Boolean formRepeatValue) { public Boolean getFormSpinButtonAttribute() { FormSpinButtonAttribute attr = (FormSpinButtonAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "spin-button"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormSpinButtonAttribute.DEFAULT_VALUE); } @@ -464,7 +464,7 @@ public Boolean getFormSpinButtonAttribute() { public void setFormSpinButtonAttribute(Boolean formSpinButtonValue) { FormSpinButtonAttribute attr = new FormSpinButtonAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formSpinButtonValue.booleanValue()); + attr.setValue(formSpinButtonValue.toString()); } /** @@ -475,7 +475,7 @@ public void setFormSpinButtonAttribute(Boolean formSpinButtonValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -488,7 +488,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -499,7 +499,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -512,7 +512,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** @@ -547,7 +547,7 @@ public void setFormTitleAttribute(String formTitleValue) { public Boolean getFormValidationAttribute() { FormValidationAttribute attr = (FormValidationAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "validation"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormValidationAttribute.DEFAULT_VALUE); } @@ -560,7 +560,7 @@ public Boolean getFormValidationAttribute() { public void setFormValidationAttribute(Boolean formValidationValue) { FormValidationAttribute attr = new FormValidationAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formValidationValue.booleanValue()); + attr.setValue(formValidationValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormFrameElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormFrameElement.java index 97a86b0268..00d9e4af79 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormFrameElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormFrameElement.java @@ -102,7 +102,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -115,7 +115,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -222,7 +222,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -235,7 +235,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormGridElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormGridElement.java index 3b10d9d1de..b4ce0366a5 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormGridElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormGridElement.java @@ -102,7 +102,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -115,7 +115,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -174,7 +174,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -187,7 +187,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -198,7 +198,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -211,7 +211,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -222,7 +222,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -235,7 +235,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormImageElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormImageElement.java index 5f58853e32..f36b4b9ea6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormImageElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormImageElement.java @@ -131,7 +131,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -144,7 +144,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -227,7 +227,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -240,7 +240,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -251,7 +251,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -264,7 +264,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -275,7 +275,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -288,7 +288,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormImageFrameElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormImageFrameElement.java index a517424b73..de48e684dd 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormImageFrameElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormImageFrameElement.java @@ -127,7 +127,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -140,7 +140,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -223,7 +223,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -236,7 +236,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -247,7 +247,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -260,7 +260,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormListValueElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormListValueElement.java index 8b9ef7e371..25b4cf77f3 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormListValueElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormListValueElement.java @@ -75,7 +75,7 @@ public OdfName getOdfName() { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -88,7 +88,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -203,7 +203,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -216,7 +216,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormListboxElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormListboxElement.java index 97bfd2f751..7ac9058fde 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormListboxElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormListboxElement.java @@ -161,7 +161,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -174,7 +174,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -185,7 +185,7 @@ public void setFormDisabledAttribute(Boolean formDisabledValue) { public Boolean getFormDropdownAttribute() { FormDropdownAttribute attr = (FormDropdownAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "dropdown"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDropdownAttribute.DEFAULT_VALUE); } @@ -198,7 +198,7 @@ public Boolean getFormDropdownAttribute() { public void setFormDropdownAttribute(Boolean formDropdownValue) { FormDropdownAttribute attr = new FormDropdownAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDropdownValue.booleanValue()); + attr.setValue(formDropdownValue.toString()); } /** @@ -329,7 +329,7 @@ public void setFormListSourceTypeAttribute(String formListSourceTypeValue) { public Boolean getFormMultipleAttribute() { FormMultipleAttribute attr = (FormMultipleAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "multiple"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormMultipleAttribute.DEFAULT_VALUE); } @@ -342,7 +342,7 @@ public Boolean getFormMultipleAttribute() { public void setFormMultipleAttribute(Boolean formMultipleValue) { FormMultipleAttribute attr = new FormMultipleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formMultipleValue.booleanValue()); + attr.setValue(formMultipleValue.toString()); } /** @@ -377,7 +377,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -390,7 +390,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -401,7 +401,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Integer getFormSizeAttribute() { FormSizeAttribute attr = (FormSizeAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "size"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -414,7 +414,7 @@ public Integer getFormSizeAttribute() { public void setFormSizeAttribute(Integer formSizeValue) { FormSizeAttribute attr = new FormSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formSizeValue.intValue()); + attr.setValue(formSizeValue.toString()); } /** @@ -449,7 +449,7 @@ public void setFormSourceCellRangeAttribute(String formSourceCellRangeValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -462,7 +462,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -473,7 +473,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -486,7 +486,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java index 34401aa819..4d7f9e3e04 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java @@ -114,7 +114,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -127,7 +127,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -138,7 +138,7 @@ public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullVal public Double getFormCurrentValueAttribute() { FormCurrentValueAttribute attr = (FormCurrentValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "current-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -151,7 +151,7 @@ public Double getFormCurrentValueAttribute() { public void setFormCurrentValueAttribute(Double formCurrentValueValue) { FormCurrentValueAttribute attr = new FormCurrentValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(formCurrentValueValue.doubleValue()); + attr.setValue(formCurrentValueValue.toString()); } /** @@ -210,7 +210,7 @@ public void setFormDelayForRepeatAttribute(String formDelayForRepeatValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -223,7 +223,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -282,7 +282,7 @@ public void setFormLinkedCellAttribute(String formLinkedCellValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -295,7 +295,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -306,7 +306,7 @@ public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { public Double getFormMaxValueAttribute() { FormMaxValueAttribute attr = (FormMaxValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -319,7 +319,7 @@ public Double getFormMaxValueAttribute() { public void setFormMaxValueAttribute(Double formMaxValueValue) { FormMaxValueAttribute attr = new FormMaxValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(formMaxValueValue.doubleValue()); + attr.setValue(formMaxValueValue.toString()); } /** @@ -330,7 +330,7 @@ public void setFormMaxValueAttribute(Double formMaxValueValue) { public Double getFormMinValueAttribute() { FormMinValueAttribute attr = (FormMinValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "min-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -343,7 +343,7 @@ public Double getFormMinValueAttribute() { public void setFormMinValueAttribute(Double formMinValueValue) { FormMinValueAttribute attr = new FormMinValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(formMinValueValue.doubleValue()); + attr.setValue(formMinValueValue.toString()); } /** @@ -378,7 +378,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -391,7 +391,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -402,7 +402,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -415,7 +415,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -426,7 +426,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Boolean getFormRepeatAttribute() { FormRepeatAttribute attr = (FormRepeatAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "repeat"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -439,7 +439,7 @@ public Boolean getFormRepeatAttribute() { public void setFormRepeatAttribute(Boolean formRepeatValue) { FormRepeatAttribute attr = new FormRepeatAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formRepeatValue.booleanValue()); + attr.setValue(formRepeatValue.toString()); } /** @@ -450,7 +450,7 @@ public void setFormRepeatAttribute(Boolean formRepeatValue) { public Boolean getFormSpinButtonAttribute() { FormSpinButtonAttribute attr = (FormSpinButtonAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "spin-button"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormSpinButtonAttribute.DEFAULT_VALUE); } @@ -463,7 +463,7 @@ public Boolean getFormSpinButtonAttribute() { public void setFormSpinButtonAttribute(Boolean formSpinButtonValue) { FormSpinButtonAttribute attr = new FormSpinButtonAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formSpinButtonValue.booleanValue()); + attr.setValue(formSpinButtonValue.toString()); } /** @@ -474,7 +474,7 @@ public void setFormSpinButtonAttribute(Boolean formSpinButtonValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -487,7 +487,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -498,7 +498,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -511,7 +511,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** @@ -546,7 +546,7 @@ public void setFormTitleAttribute(String formTitleValue) { public Double getFormValueAttribute() { FormValueAttribute attr = (FormValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -559,7 +559,7 @@ public Double getFormValueAttribute() { public void setFormValueAttribute(Double formValueValue) { FormValueAttribute attr = new FormValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(formValueValue.doubleValue()); + attr.setValue(formValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormOptionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormOptionElement.java index cdc7f4156e..f744265f11 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormOptionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormOptionElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Boolean getFormCurrentSelectedAttribute() { FormCurrentSelectedAttribute attr = (FormCurrentSelectedAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "current-selected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormCurrentSelectedAttribute.DEFAULT_VALUE); } @@ -84,7 +84,7 @@ public Boolean getFormCurrentSelectedAttribute() { public void setFormCurrentSelectedAttribute(Boolean formCurrentSelectedValue) { FormCurrentSelectedAttribute attr = new FormCurrentSelectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formCurrentSelectedValue.booleanValue()); + attr.setValue(formCurrentSelectedValue.toString()); } /** @@ -119,7 +119,7 @@ public void setFormLabelAttribute(String formLabelValue) { public Boolean getFormSelectedAttribute() { FormSelectedAttribute attr = (FormSelectedAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "selected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormSelectedAttribute.DEFAULT_VALUE); } @@ -132,7 +132,7 @@ public Boolean getFormSelectedAttribute() { public void setFormSelectedAttribute(Boolean formSelectedValue) { FormSelectedAttribute attr = new FormSelectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formSelectedValue.booleanValue()); + attr.setValue(formSelectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormPasswordElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormPasswordElement.java index f4e27e966b..044e9c4d49 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormPasswordElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormPasswordElement.java @@ -107,7 +107,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -120,7 +120,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -131,7 +131,7 @@ public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullVal public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -144,7 +144,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -227,7 +227,7 @@ public void setFormLinkedCellAttribute(String formLinkedCellValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -240,7 +240,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -275,7 +275,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -288,7 +288,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -299,7 +299,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -312,7 +312,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -323,7 +323,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -336,7 +336,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormPropertyElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormPropertyElement.java index 0392cef51a..c390892919 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormPropertyElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormPropertyElement.java @@ -101,7 +101,7 @@ public void setFormPropertyNameAttribute(String formPropertyNameValue) { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -114,7 +114,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -223,7 +223,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -236,7 +236,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormRadioElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormRadioElement.java index 1dc4d1b061..0e46555ae2 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormRadioElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormRadioElement.java @@ -111,7 +111,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormCurrentSelectedAttribute() { FormCurrentSelectedAttribute attr = (FormCurrentSelectedAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "current-selected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormCurrentSelectedAttribute.DEFAULT_VALUE); } @@ -124,7 +124,7 @@ public Boolean getFormCurrentSelectedAttribute() { public void setFormCurrentSelectedAttribute(Boolean formCurrentSelectedValue) { FormCurrentSelectedAttribute attr = new FormCurrentSelectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formCurrentSelectedValue.booleanValue()); + attr.setValue(formCurrentSelectedValue.toString()); } /** @@ -159,7 +159,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -172,7 +172,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -329,7 +329,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -342,7 +342,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -353,7 +353,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormSelectedAttribute() { FormSelectedAttribute attr = (FormSelectedAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "selected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormSelectedAttribute.DEFAULT_VALUE); } @@ -366,7 +366,7 @@ public Boolean getFormSelectedAttribute() { public void setFormSelectedAttribute(Boolean formSelectedValue) { FormSelectedAttribute attr = new FormSelectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formSelectedValue.booleanValue()); + attr.setValue(formSelectedValue.toString()); } /** @@ -377,7 +377,7 @@ public void setFormSelectedAttribute(Boolean formSelectedValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -390,7 +390,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -401,7 +401,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -414,7 +414,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormTextElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormTextElement.java index f1d5917688..1634138e62 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormTextElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormTextElement.java @@ -109,7 +109,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -122,7 +122,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -181,7 +181,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -194,7 +194,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -253,7 +253,7 @@ public void setFormLinkedCellAttribute(String formLinkedCellValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -266,7 +266,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -301,7 +301,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -314,7 +314,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -325,7 +325,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -338,7 +338,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -349,7 +349,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -362,7 +362,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -373,7 +373,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -386,7 +386,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormTextareaElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormTextareaElement.java index f30ac460a8..8726080387 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormTextareaElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormTextareaElement.java @@ -110,7 +110,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -123,7 +123,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -182,7 +182,7 @@ public void setFormDataFieldAttribute(String formDataFieldValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -195,7 +195,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -254,7 +254,7 @@ public void setFormLinkedCellAttribute(String formLinkedCellValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -267,7 +267,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -302,7 +302,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -315,7 +315,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -326,7 +326,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -339,7 +339,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -350,7 +350,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -363,7 +363,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -374,7 +374,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -387,7 +387,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormTimeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormTimeElement.java index e52a0f95bb..0ba4dabd2c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormTimeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormTimeElement.java @@ -114,7 +114,7 @@ public void setFormControlImplementationAttribute(String formControlImplementati public Boolean getFormConvertEmptyToNullAttribute() { FormConvertEmptyToNullAttribute attr = (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -127,7 +127,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullValue) { FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -210,7 +210,7 @@ public void setFormDelayForRepeatAttribute(String formDelayForRepeatValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -223,7 +223,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -282,7 +282,7 @@ public void setFormLinkedCellAttribute(String formLinkedCellValue) { public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -295,7 +295,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -378,7 +378,7 @@ public void setFormNameAttribute(String formNameValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -391,7 +391,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -402,7 +402,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -415,7 +415,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -426,7 +426,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Boolean getFormRepeatAttribute() { FormRepeatAttribute attr = (FormRepeatAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "repeat"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -439,7 +439,7 @@ public Boolean getFormRepeatAttribute() { public void setFormRepeatAttribute(Boolean formRepeatValue) { FormRepeatAttribute attr = new FormRepeatAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formRepeatValue.booleanValue()); + attr.setValue(formRepeatValue.toString()); } /** @@ -450,7 +450,7 @@ public void setFormRepeatAttribute(Boolean formRepeatValue) { public Boolean getFormSpinButtonAttribute() { FormSpinButtonAttribute attr = (FormSpinButtonAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "spin-button"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormSpinButtonAttribute.DEFAULT_VALUE); } @@ -463,7 +463,7 @@ public Boolean getFormSpinButtonAttribute() { public void setFormSpinButtonAttribute(Boolean formSpinButtonValue) { FormSpinButtonAttribute attr = new FormSpinButtonAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formSpinButtonValue.booleanValue()); + attr.setValue(formSpinButtonValue.toString()); } /** @@ -474,7 +474,7 @@ public void setFormSpinButtonAttribute(Boolean formSpinButtonValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -487,7 +487,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -498,7 +498,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -511,7 +511,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormValueRangeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormValueRangeElement.java index 35cb55c2d8..1fdecba5b3 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormValueRangeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/form/FormValueRangeElement.java @@ -135,7 +135,7 @@ public void setFormDelayForRepeatAttribute(String formDelayForRepeatValue) { public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -148,7 +148,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -207,7 +207,7 @@ public void setFormLinkedCellAttribute(String formLinkedCellValue) { public Integer getFormMaxValueAttribute() { FormMaxValueAttribute attr = (FormMaxValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -220,7 +220,7 @@ public Integer getFormMaxValueAttribute() { public void setFormMaxValueAttribute(Integer formMaxValueValue) { FormMaxValueAttribute attr = new FormMaxValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxValueValue.intValue()); + attr.setValue(formMaxValueValue.toString()); } /** @@ -231,7 +231,7 @@ public void setFormMaxValueAttribute(Integer formMaxValueValue) { public Integer getFormMinValueAttribute() { FormMinValueAttribute attr = (FormMinValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "min-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -244,7 +244,7 @@ public Integer getFormMinValueAttribute() { public void setFormMinValueAttribute(Integer formMinValueValue) { FormMinValueAttribute attr = new FormMinValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMinValueValue.intValue()); + attr.setValue(formMinValueValue.toString()); } /** @@ -303,7 +303,7 @@ public void setFormOrientationAttribute(String formOrientationValue) { public Integer getFormPageStepSizeAttribute() { FormPageStepSizeAttribute attr = (FormPageStepSizeAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "page-step-size"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -316,7 +316,7 @@ public Integer getFormPageStepSizeAttribute() { public void setFormPageStepSizeAttribute(Integer formPageStepSizeValue) { FormPageStepSizeAttribute attr = new FormPageStepSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formPageStepSizeValue.intValue()); + attr.setValue(formPageStepSizeValue.toString()); } /** @@ -327,7 +327,7 @@ public void setFormPageStepSizeAttribute(Integer formPageStepSizeValue) { public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -340,7 +340,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -351,7 +351,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Boolean getFormRepeatAttribute() { FormRepeatAttribute attr = (FormRepeatAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "repeat"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -364,7 +364,7 @@ public Boolean getFormRepeatAttribute() { public void setFormRepeatAttribute(Boolean formRepeatValue) { FormRepeatAttribute attr = new FormRepeatAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formRepeatValue.booleanValue()); + attr.setValue(formRepeatValue.toString()); } /** @@ -375,7 +375,7 @@ public void setFormRepeatAttribute(Boolean formRepeatValue) { public Integer getFormStepSizeAttribute() { FormStepSizeAttribute attr = (FormStepSizeAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "step-size"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormStepSizeAttribute.DEFAULT_VALUE); } @@ -388,7 +388,7 @@ public Integer getFormStepSizeAttribute() { public void setFormStepSizeAttribute(Integer formStepSizeValue) { FormStepSizeAttribute attr = new FormStepSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formStepSizeValue.intValue()); + attr.setValue(formStepSizeValue.toString()); } /** @@ -399,7 +399,7 @@ public void setFormStepSizeAttribute(Integer formStepSizeValue) { public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -412,7 +412,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -423,7 +423,7 @@ public void setFormTabIndexAttribute(Integer formTabIndexValue) { public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -436,7 +436,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/meta/MetaDocumentStatisticElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/meta/MetaDocumentStatisticElement.java index eb54d730bc..d8b064d6ee 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/meta/MetaDocumentStatisticElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/meta/MetaDocumentStatisticElement.java @@ -82,7 +82,7 @@ public OdfName getOdfName() { public Integer getMetaCellCountAttribute() { MetaCellCountAttribute attr = (MetaCellCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "cell-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -95,7 +95,7 @@ public Integer getMetaCellCountAttribute() { public void setMetaCellCountAttribute(Integer metaCellCountValue) { MetaCellCountAttribute attr = new MetaCellCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaCellCountValue.intValue()); + attr.setValue(metaCellCountValue.toString()); } /** @@ -106,7 +106,7 @@ public void setMetaCellCountAttribute(Integer metaCellCountValue) { public Integer getMetaCharacterCountAttribute() { MetaCharacterCountAttribute attr = (MetaCharacterCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "character-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -119,7 +119,7 @@ public Integer getMetaCharacterCountAttribute() { public void setMetaCharacterCountAttribute(Integer metaCharacterCountValue) { MetaCharacterCountAttribute attr = new MetaCharacterCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaCharacterCountValue.intValue()); + attr.setValue(metaCharacterCountValue.toString()); } /** @@ -130,7 +130,7 @@ public void setMetaCharacterCountAttribute(Integer metaCharacterCountValue) { public Integer getMetaDrawCountAttribute() { MetaDrawCountAttribute attr = (MetaDrawCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "draw-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -143,7 +143,7 @@ public Integer getMetaDrawCountAttribute() { public void setMetaDrawCountAttribute(Integer metaDrawCountValue) { MetaDrawCountAttribute attr = new MetaDrawCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaDrawCountValue.intValue()); + attr.setValue(metaDrawCountValue.toString()); } /** @@ -154,7 +154,7 @@ public void setMetaDrawCountAttribute(Integer metaDrawCountValue) { public Integer getMetaFrameCountAttribute() { MetaFrameCountAttribute attr = (MetaFrameCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "frame-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -167,7 +167,7 @@ public Integer getMetaFrameCountAttribute() { public void setMetaFrameCountAttribute(Integer metaFrameCountValue) { MetaFrameCountAttribute attr = new MetaFrameCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaFrameCountValue.intValue()); + attr.setValue(metaFrameCountValue.toString()); } /** @@ -178,7 +178,7 @@ public void setMetaFrameCountAttribute(Integer metaFrameCountValue) { public Integer getMetaImageCountAttribute() { MetaImageCountAttribute attr = (MetaImageCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "image-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -191,7 +191,7 @@ public Integer getMetaImageCountAttribute() { public void setMetaImageCountAttribute(Integer metaImageCountValue) { MetaImageCountAttribute attr = new MetaImageCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaImageCountValue.intValue()); + attr.setValue(metaImageCountValue.toString()); } /** @@ -202,7 +202,7 @@ public void setMetaImageCountAttribute(Integer metaImageCountValue) { public Integer getMetaNonWhitespaceCharacterCountAttribute() { MetaNonWhitespaceCharacterCountAttribute attr = (MetaNonWhitespaceCharacterCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "non-whitespace-character-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -215,7 +215,7 @@ public Integer getMetaNonWhitespaceCharacterCountAttribute() { public void setMetaNonWhitespaceCharacterCountAttribute(Integer metaNonWhitespaceCharacterCountValue) { MetaNonWhitespaceCharacterCountAttribute attr = new MetaNonWhitespaceCharacterCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaNonWhitespaceCharacterCountValue.intValue()); + attr.setValue(metaNonWhitespaceCharacterCountValue.toString()); } /** @@ -226,7 +226,7 @@ public void setMetaNonWhitespaceCharacterCountAttribute(Integer metaNonWhitespac public Integer getMetaObjectCountAttribute() { MetaObjectCountAttribute attr = (MetaObjectCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "object-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -239,7 +239,7 @@ public Integer getMetaObjectCountAttribute() { public void setMetaObjectCountAttribute(Integer metaObjectCountValue) { MetaObjectCountAttribute attr = new MetaObjectCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaObjectCountValue.intValue()); + attr.setValue(metaObjectCountValue.toString()); } /** @@ -250,7 +250,7 @@ public void setMetaObjectCountAttribute(Integer metaObjectCountValue) { public Integer getMetaOleObjectCountAttribute() { MetaOleObjectCountAttribute attr = (MetaOleObjectCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "ole-object-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -263,7 +263,7 @@ public Integer getMetaOleObjectCountAttribute() { public void setMetaOleObjectCountAttribute(Integer metaOleObjectCountValue) { MetaOleObjectCountAttribute attr = new MetaOleObjectCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaOleObjectCountValue.intValue()); + attr.setValue(metaOleObjectCountValue.toString()); } /** @@ -274,7 +274,7 @@ public void setMetaOleObjectCountAttribute(Integer metaOleObjectCountValue) { public Integer getMetaPageCountAttribute() { MetaPageCountAttribute attr = (MetaPageCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "page-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -287,7 +287,7 @@ public Integer getMetaPageCountAttribute() { public void setMetaPageCountAttribute(Integer metaPageCountValue) { MetaPageCountAttribute attr = new MetaPageCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaPageCountValue.intValue()); + attr.setValue(metaPageCountValue.toString()); } /** @@ -298,7 +298,7 @@ public void setMetaPageCountAttribute(Integer metaPageCountValue) { public Integer getMetaParagraphCountAttribute() { MetaParagraphCountAttribute attr = (MetaParagraphCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "paragraph-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -311,7 +311,7 @@ public Integer getMetaParagraphCountAttribute() { public void setMetaParagraphCountAttribute(Integer metaParagraphCountValue) { MetaParagraphCountAttribute attr = new MetaParagraphCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaParagraphCountValue.intValue()); + attr.setValue(metaParagraphCountValue.toString()); } /** @@ -322,7 +322,7 @@ public void setMetaParagraphCountAttribute(Integer metaParagraphCountValue) { public Integer getMetaRowCountAttribute() { MetaRowCountAttribute attr = (MetaRowCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "row-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -335,7 +335,7 @@ public Integer getMetaRowCountAttribute() { public void setMetaRowCountAttribute(Integer metaRowCountValue) { MetaRowCountAttribute attr = new MetaRowCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaRowCountValue.intValue()); + attr.setValue(metaRowCountValue.toString()); } /** @@ -346,7 +346,7 @@ public void setMetaRowCountAttribute(Integer metaRowCountValue) { public Integer getMetaSentenceCountAttribute() { MetaSentenceCountAttribute attr = (MetaSentenceCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "sentence-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -359,7 +359,7 @@ public Integer getMetaSentenceCountAttribute() { public void setMetaSentenceCountAttribute(Integer metaSentenceCountValue) { MetaSentenceCountAttribute attr = new MetaSentenceCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaSentenceCountValue.intValue()); + attr.setValue(metaSentenceCountValue.toString()); } /** @@ -370,7 +370,7 @@ public void setMetaSentenceCountAttribute(Integer metaSentenceCountValue) { public Integer getMetaSyllableCountAttribute() { MetaSyllableCountAttribute attr = (MetaSyllableCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "syllable-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -383,7 +383,7 @@ public Integer getMetaSyllableCountAttribute() { public void setMetaSyllableCountAttribute(Integer metaSyllableCountValue) { MetaSyllableCountAttribute attr = new MetaSyllableCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaSyllableCountValue.intValue()); + attr.setValue(metaSyllableCountValue.toString()); } /** @@ -394,7 +394,7 @@ public void setMetaSyllableCountAttribute(Integer metaSyllableCountValue) { public Integer getMetaTableCountAttribute() { MetaTableCountAttribute attr = (MetaTableCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "table-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -407,7 +407,7 @@ public Integer getMetaTableCountAttribute() { public void setMetaTableCountAttribute(Integer metaTableCountValue) { MetaTableCountAttribute attr = new MetaTableCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaTableCountValue.intValue()); + attr.setValue(metaTableCountValue.toString()); } /** @@ -418,7 +418,7 @@ public void setMetaTableCountAttribute(Integer metaTableCountValue) { public Integer getMetaWordCountAttribute() { MetaWordCountAttribute attr = (MetaWordCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "word-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -431,7 +431,7 @@ public Integer getMetaWordCountAttribute() { public void setMetaWordCountAttribute(Integer metaWordCountValue) { MetaWordCountAttribute attr = new MetaWordCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaWordCountValue.intValue()); + attr.setValue(metaWordCountValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberCurrencyStyleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberCurrencyStyleElement.java index 21d5cdb5e1..df7f3f18c5 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberCurrencyStyleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberCurrencyStyleElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getNumberAutomaticOrderAttribute() { NumberAutomaticOrderAttribute attr = (NumberAutomaticOrderAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "automatic-order"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberAutomaticOrderAttribute.DEFAULT_VALUE); } @@ -81,7 +81,7 @@ public Boolean getNumberAutomaticOrderAttribute() { public void setNumberAutomaticOrderAttribute(Boolean numberAutomaticOrderValue) { NumberAutomaticOrderAttribute attr = new NumberAutomaticOrderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberAutomaticOrderValue.booleanValue()); + attr.setValue(numberAutomaticOrderValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberDataStyleElementBase.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberDataStyleElementBase.java index 9ffecfb4cf..05f87644cc 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberDataStyleElementBase.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberDataStyleElementBase.java @@ -337,7 +337,7 @@ public void setStyleNameAttribute(String styleNameValue) { public Boolean getStyleVolatileAttribute() { StyleVolatileAttribute attr = (StyleVolatileAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "volatile"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -350,7 +350,7 @@ public Boolean getStyleVolatileAttribute() { public void setStyleVolatileAttribute(Boolean styleVolatileValue) { StyleVolatileAttribute attr = new StyleVolatileAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleVolatileValue.booleanValue()); + attr.setValue(styleVolatileValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberDateStyleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberDateStyleElement.java index 26db628317..175fa20bfa 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberDateStyleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberDateStyleElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Boolean getNumberAutomaticOrderAttribute() { NumberAutomaticOrderAttribute attr = (NumberAutomaticOrderAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "automatic-order"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberAutomaticOrderAttribute.DEFAULT_VALUE); } @@ -82,7 +82,7 @@ public Boolean getNumberAutomaticOrderAttribute() { public void setNumberAutomaticOrderAttribute(Boolean numberAutomaticOrderValue) { NumberAutomaticOrderAttribute attr = new NumberAutomaticOrderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberAutomaticOrderValue.booleanValue()); + attr.setValue(numberAutomaticOrderValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberEmbeddedTextElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberEmbeddedTextElement.java index 7f60fb0ec9..dcbeba74f1 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberEmbeddedTextElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberEmbeddedTextElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Integer getNumberPositionAttribute() { NumberPositionAttribute attr = (NumberPositionAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -83,7 +83,7 @@ public Integer getNumberPositionAttribute() { public void setNumberPositionAttribute(Integer numberPositionValue) { NumberPositionAttribute attr = new NumberPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberPositionValue.intValue()); + attr.setValue(numberPositionValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberFractionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberFractionElement.java index 61dd9deb8a..171126465c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberFractionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberFractionElement.java @@ -73,7 +73,7 @@ public OdfName getOdfName() { public Integer getNumberDenominatorValueAttribute() { NumberDenominatorValueAttribute attr = (NumberDenominatorValueAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "denominator-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -86,7 +86,7 @@ public Integer getNumberDenominatorValueAttribute() { public void setNumberDenominatorValueAttribute(Integer numberDenominatorValueValue) { NumberDenominatorValueAttribute attr = new NumberDenominatorValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberDenominatorValueValue.intValue()); + attr.setValue(numberDenominatorValueValue.toString()); } /** @@ -97,7 +97,7 @@ public void setNumberDenominatorValueAttribute(Integer numberDenominatorValueVal public Boolean getNumberGroupingAttribute() { NumberGroupingAttribute attr = (NumberGroupingAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "grouping"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberGroupingAttribute.DEFAULT_VALUE); } @@ -110,7 +110,7 @@ public Boolean getNumberGroupingAttribute() { public void setNumberGroupingAttribute(Boolean numberGroupingValue) { NumberGroupingAttribute attr = new NumberGroupingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberGroupingValue.booleanValue()); + attr.setValue(numberGroupingValue.toString()); } /** @@ -121,7 +121,7 @@ public void setNumberGroupingAttribute(Boolean numberGroupingValue) { public Integer getNumberMaxDenominatorValueAttribute() { NumberMaxDenominatorValueAttribute attr = (NumberMaxDenominatorValueAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "max-denominator-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -134,7 +134,7 @@ public Integer getNumberMaxDenominatorValueAttribute() { public void setNumberMaxDenominatorValueAttribute(Integer numberMaxDenominatorValueValue) { NumberMaxDenominatorValueAttribute attr = new NumberMaxDenominatorValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMaxDenominatorValueValue.intValue()); + attr.setValue(numberMaxDenominatorValueValue.toString()); } /** @@ -145,7 +145,7 @@ public void setNumberMaxDenominatorValueAttribute(Integer numberMaxDenominatorVa public Integer getNumberMinDenominatorDigitsAttribute() { NumberMinDenominatorDigitsAttribute attr = (NumberMinDenominatorDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-denominator-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -158,7 +158,7 @@ public Integer getNumberMinDenominatorDigitsAttribute() { public void setNumberMinDenominatorDigitsAttribute(Integer numberMinDenominatorDigitsValue) { NumberMinDenominatorDigitsAttribute attr = new NumberMinDenominatorDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinDenominatorDigitsValue.intValue()); + attr.setValue(numberMinDenominatorDigitsValue.toString()); } /** @@ -169,7 +169,7 @@ public void setNumberMinDenominatorDigitsAttribute(Integer numberMinDenominatorD public Integer getNumberMinIntegerDigitsAttribute() { NumberMinIntegerDigitsAttribute attr = (NumberMinIntegerDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-integer-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -182,7 +182,7 @@ public Integer getNumberMinIntegerDigitsAttribute() { public void setNumberMinIntegerDigitsAttribute(Integer numberMinIntegerDigitsValue) { NumberMinIntegerDigitsAttribute attr = new NumberMinIntegerDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinIntegerDigitsValue.intValue()); + attr.setValue(numberMinIntegerDigitsValue.toString()); } /** @@ -193,7 +193,7 @@ public void setNumberMinIntegerDigitsAttribute(Integer numberMinIntegerDigitsVal public Integer getNumberMinNumeratorDigitsAttribute() { NumberMinNumeratorDigitsAttribute attr = (NumberMinNumeratorDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-numerator-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -206,7 +206,7 @@ public Integer getNumberMinNumeratorDigitsAttribute() { public void setNumberMinNumeratorDigitsAttribute(Integer numberMinNumeratorDigitsValue) { NumberMinNumeratorDigitsAttribute attr = new NumberMinNumeratorDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinNumeratorDigitsValue.intValue()); + attr.setValue(numberMinNumeratorDigitsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberMonthElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberMonthElement.java index 1787ce431c..728dbb6c9e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberMonthElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberMonthElement.java @@ -95,7 +95,7 @@ public void setNumberCalendarAttribute(String numberCalendarValue) { public Boolean getNumberPossessiveFormAttribute() { NumberPossessiveFormAttribute attr = (NumberPossessiveFormAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "possessive-form"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getNumberPossessiveFormAttribute() { public void setNumberPossessiveFormAttribute(Boolean numberPossessiveFormValue) { NumberPossessiveFormAttribute attr = new NumberPossessiveFormAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberPossessiveFormValue.booleanValue()); + attr.setValue(numberPossessiveFormValue.toString()); } /** @@ -143,7 +143,7 @@ public void setNumberStyleAttribute(String numberStyleValue) { public Boolean getNumberTextualAttribute() { NumberTextualAttribute attr = (NumberTextualAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "textual"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberTextualAttribute.DEFAULT_VALUE); } @@ -156,7 +156,7 @@ public Boolean getNumberTextualAttribute() { public void setNumberTextualAttribute(Boolean numberTextualValue) { NumberTextualAttribute attr = new NumberTextualAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberTextualValue.booleanValue()); + attr.setValue(numberTextualValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberNumberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberNumberElement.java index 5d819483b6..505028480a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberNumberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberNumberElement.java @@ -73,7 +73,7 @@ public OdfName getOdfName() { public Integer getNumberDecimalPlacesAttribute() { NumberDecimalPlacesAttribute attr = (NumberDecimalPlacesAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "decimal-places"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -86,7 +86,7 @@ public Integer getNumberDecimalPlacesAttribute() { public void setNumberDecimalPlacesAttribute(Integer numberDecimalPlacesValue) { NumberDecimalPlacesAttribute attr = new NumberDecimalPlacesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberDecimalPlacesValue.intValue()); + attr.setValue(numberDecimalPlacesValue.toString()); } /** @@ -121,7 +121,7 @@ public void setNumberDecimalReplacementAttribute(String numberDecimalReplacement public Double getNumberDisplayFactorAttribute() { NumberDisplayFactorAttribute attr = (NumberDisplayFactorAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "display-factor"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(NumberDisplayFactorAttribute.DEFAULT_VALUE); } @@ -134,7 +134,7 @@ public Double getNumberDisplayFactorAttribute() { public void setNumberDisplayFactorAttribute(Double numberDisplayFactorValue) { NumberDisplayFactorAttribute attr = new NumberDisplayFactorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(numberDisplayFactorValue.doubleValue()); + attr.setValue(numberDisplayFactorValue.toString()); } /** @@ -145,7 +145,7 @@ public void setNumberDisplayFactorAttribute(Double numberDisplayFactorValue) { public Boolean getNumberGroupingAttribute() { NumberGroupingAttribute attr = (NumberGroupingAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "grouping"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberGroupingAttribute.DEFAULT_VALUE); } @@ -158,7 +158,7 @@ public Boolean getNumberGroupingAttribute() { public void setNumberGroupingAttribute(Boolean numberGroupingValue) { NumberGroupingAttribute attr = new NumberGroupingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberGroupingValue.booleanValue()); + attr.setValue(numberGroupingValue.toString()); } /** @@ -169,7 +169,7 @@ public void setNumberGroupingAttribute(Boolean numberGroupingValue) { public Integer getNumberMinDecimalPlacesAttribute() { NumberMinDecimalPlacesAttribute attr = (NumberMinDecimalPlacesAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-decimal-places"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -182,7 +182,7 @@ public Integer getNumberMinDecimalPlacesAttribute() { public void setNumberMinDecimalPlacesAttribute(Integer numberMinDecimalPlacesValue) { NumberMinDecimalPlacesAttribute attr = new NumberMinDecimalPlacesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinDecimalPlacesValue.intValue()); + attr.setValue(numberMinDecimalPlacesValue.toString()); } /** @@ -193,7 +193,7 @@ public void setNumberMinDecimalPlacesAttribute(Integer numberMinDecimalPlacesVal public Integer getNumberMinIntegerDigitsAttribute() { NumberMinIntegerDigitsAttribute attr = (NumberMinIntegerDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-integer-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -206,7 +206,7 @@ public Integer getNumberMinIntegerDigitsAttribute() { public void setNumberMinIntegerDigitsAttribute(Integer numberMinIntegerDigitsValue) { NumberMinIntegerDigitsAttribute attr = new NumberMinIntegerDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinIntegerDigitsValue.intValue()); + attr.setValue(numberMinIntegerDigitsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberScientificNumberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberScientificNumberElement.java index 1f2fb41faa..e3398d36d9 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberScientificNumberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberScientificNumberElement.java @@ -74,7 +74,7 @@ public OdfName getOdfName() { public Integer getNumberDecimalPlacesAttribute() { NumberDecimalPlacesAttribute attr = (NumberDecimalPlacesAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "decimal-places"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -87,7 +87,7 @@ public Integer getNumberDecimalPlacesAttribute() { public void setNumberDecimalPlacesAttribute(Integer numberDecimalPlacesValue) { NumberDecimalPlacesAttribute attr = new NumberDecimalPlacesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberDecimalPlacesValue.intValue()); + attr.setValue(numberDecimalPlacesValue.toString()); } /** @@ -98,7 +98,7 @@ public void setNumberDecimalPlacesAttribute(Integer numberDecimalPlacesValue) { public Integer getNumberExponentIntervalAttribute() { NumberExponentIntervalAttribute attr = (NumberExponentIntervalAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "exponent-interval"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -111,7 +111,7 @@ public Integer getNumberExponentIntervalAttribute() { public void setNumberExponentIntervalAttribute(Integer numberExponentIntervalValue) { NumberExponentIntervalAttribute attr = new NumberExponentIntervalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberExponentIntervalValue.intValue()); + attr.setValue(numberExponentIntervalValue.toString()); } /** @@ -122,7 +122,7 @@ public void setNumberExponentIntervalAttribute(Integer numberExponentIntervalVal public Boolean getNumberForcedExponentSignAttribute() { NumberForcedExponentSignAttribute attr = (NumberForcedExponentSignAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "forced-exponent-sign"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -135,7 +135,7 @@ public Boolean getNumberForcedExponentSignAttribute() { public void setNumberForcedExponentSignAttribute(Boolean numberForcedExponentSignValue) { NumberForcedExponentSignAttribute attr = new NumberForcedExponentSignAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberForcedExponentSignValue.booleanValue()); + attr.setValue(numberForcedExponentSignValue.toString()); } /** @@ -146,7 +146,7 @@ public void setNumberForcedExponentSignAttribute(Boolean numberForcedExponentSig public Boolean getNumberGroupingAttribute() { NumberGroupingAttribute attr = (NumberGroupingAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "grouping"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberGroupingAttribute.DEFAULT_VALUE); } @@ -159,7 +159,7 @@ public Boolean getNumberGroupingAttribute() { public void setNumberGroupingAttribute(Boolean numberGroupingValue) { NumberGroupingAttribute attr = new NumberGroupingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberGroupingValue.booleanValue()); + attr.setValue(numberGroupingValue.toString()); } /** @@ -170,7 +170,7 @@ public void setNumberGroupingAttribute(Boolean numberGroupingValue) { public Integer getNumberMinDecimalPlacesAttribute() { NumberMinDecimalPlacesAttribute attr = (NumberMinDecimalPlacesAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-decimal-places"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -183,7 +183,7 @@ public Integer getNumberMinDecimalPlacesAttribute() { public void setNumberMinDecimalPlacesAttribute(Integer numberMinDecimalPlacesValue) { NumberMinDecimalPlacesAttribute attr = new NumberMinDecimalPlacesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinDecimalPlacesValue.intValue()); + attr.setValue(numberMinDecimalPlacesValue.toString()); } /** @@ -194,7 +194,7 @@ public void setNumberMinDecimalPlacesAttribute(Integer numberMinDecimalPlacesVal public Integer getNumberMinExponentDigitsAttribute() { NumberMinExponentDigitsAttribute attr = (NumberMinExponentDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-exponent-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -207,7 +207,7 @@ public Integer getNumberMinExponentDigitsAttribute() { public void setNumberMinExponentDigitsAttribute(Integer numberMinExponentDigitsValue) { NumberMinExponentDigitsAttribute attr = new NumberMinExponentDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinExponentDigitsValue.intValue()); + attr.setValue(numberMinExponentDigitsValue.toString()); } /** @@ -218,7 +218,7 @@ public void setNumberMinExponentDigitsAttribute(Integer numberMinExponentDigitsV public Integer getNumberMinIntegerDigitsAttribute() { NumberMinIntegerDigitsAttribute attr = (NumberMinIntegerDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-integer-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -231,7 +231,7 @@ public Integer getNumberMinIntegerDigitsAttribute() { public void setNumberMinIntegerDigitsAttribute(Integer numberMinIntegerDigitsValue) { NumberMinIntegerDigitsAttribute attr = new NumberMinIntegerDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinIntegerDigitsValue.intValue()); + attr.setValue(numberMinIntegerDigitsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberSecondsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberSecondsElement.java index 3806d40e70..79e65e3ce5 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberSecondsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberSecondsElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Integer getNumberDecimalPlacesAttribute() { NumberDecimalPlacesAttribute attr = (NumberDecimalPlacesAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "decimal-places"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(NumberDecimalPlacesAttribute.DEFAULT_VALUE); } @@ -82,7 +82,7 @@ public Integer getNumberDecimalPlacesAttribute() { public void setNumberDecimalPlacesAttribute(Integer numberDecimalPlacesValue) { NumberDecimalPlacesAttribute attr = new NumberDecimalPlacesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberDecimalPlacesValue.intValue()); + attr.setValue(numberDecimalPlacesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberTimeStyleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberTimeStyleElement.java index 32048feb4c..f6a531062c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberTimeStyleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/number/NumberTimeStyleElement.java @@ -93,7 +93,7 @@ public void setNumberFormatSourceAttribute(String numberFormatSourceValue) { public Boolean getNumberTruncateOnOverflowAttribute() { NumberTruncateOnOverflowAttribute attr = (NumberTruncateOnOverflowAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "truncate-on-overflow"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberTruncateOnOverflowAttribute.DEFAULT_VALUE); } @@ -106,7 +106,7 @@ public Boolean getNumberTruncateOnOverflowAttribute() { public void setNumberTruncateOnOverflowAttribute(Boolean numberTruncateOnOverflowValue) { NumberTruncateOnOverflowAttribute attr = new NumberTruncateOnOverflowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberTruncateOnOverflowValue.booleanValue()); + attr.setValue(numberTruncateOnOverflowValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/office/OfficeAnnotationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/office/OfficeAnnotationElement.java index a7ab0cbb2b..c0051ebe47 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/office/OfficeAnnotationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/office/OfficeAnnotationElement.java @@ -232,7 +232,7 @@ public void setDrawTransformAttribute(String drawTransformValue) { public Boolean getOfficeDisplayAttribute() { OfficeDisplayAttribute attr = (OfficeDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -245,7 +245,7 @@ public Boolean getOfficeDisplayAttribute() { public void setOfficeDisplayAttribute(Boolean officeDisplayValue) { OfficeDisplayAttribute attr = new OfficeDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeDisplayValue.booleanValue()); + attr.setValue(officeDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/office/OfficeDdeSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/office/OfficeDdeSourceElement.java index 9defd26915..0cc8338a0e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/office/OfficeDdeSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/office/OfficeDdeSourceElement.java @@ -73,7 +73,7 @@ public OdfName getOdfName() { public Boolean getOfficeAutomaticUpdateAttribute() { OfficeAutomaticUpdateAttribute attr = (OfficeAutomaticUpdateAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "automatic-update"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(OfficeAutomaticUpdateAttribute.DEFAULT_VALUE); } @@ -86,7 +86,7 @@ public Boolean getOfficeAutomaticUpdateAttribute() { public void setOfficeAutomaticUpdateAttribute(Boolean officeAutomaticUpdateValue) { OfficeAutomaticUpdateAttribute attr = new OfficeAutomaticUpdateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeAutomaticUpdateValue.booleanValue()); + attr.setValue(officeAutomaticUpdateValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/office/OfficeFormsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/office/OfficeFormsElement.java index afc94a358e..3e32839220 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/office/OfficeFormsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/office/OfficeFormsElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Boolean getFormApplyDesignModeAttribute() { FormApplyDesignModeAttribute attr = (FormApplyDesignModeAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "apply-design-mode"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormApplyDesignModeAttribute.DEFAULT_VALUE); } @@ -84,7 +84,7 @@ public Boolean getFormApplyDesignModeAttribute() { public void setFormApplyDesignModeAttribute(Boolean formApplyDesignModeValue) { FormApplyDesignModeAttribute attr = new FormApplyDesignModeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formApplyDesignModeValue.booleanValue()); + attr.setValue(formApplyDesignModeValue.toString()); } /** @@ -95,7 +95,7 @@ public void setFormApplyDesignModeAttribute(Boolean formApplyDesignModeValue) { public Boolean getFormAutomaticFocusAttribute() { FormAutomaticFocusAttribute attr = (FormAutomaticFocusAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "automatic-focus"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormAutomaticFocusAttribute.DEFAULT_VALUE); } @@ -108,7 +108,7 @@ public Boolean getFormAutomaticFocusAttribute() { public void setFormAutomaticFocusAttribute(Boolean formAutomaticFocusValue) { FormAutomaticFocusAttribute attr = new FormAutomaticFocusAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formAutomaticFocusValue.booleanValue()); + attr.setValue(formAutomaticFocusValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/office/OfficeSpreadsheetElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/office/OfficeSpreadsheetElement.java index 70d73d32e0..4780cf32f8 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/office/OfficeSpreadsheetElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/office/OfficeSpreadsheetElement.java @@ -133,7 +133,7 @@ public void setTableProtectionKeyDigestAlgorithmAttribute(String tableProtection public Boolean getTableStructureProtectedAttribute() { TableStructureProtectedAttribute attr = (TableStructureProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "structure-protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableStructureProtectedAttribute.DEFAULT_VALUE); } @@ -146,7 +146,7 @@ public Boolean getTableStructureProtectedAttribute() { public void setTableStructureProtectedAttribute(Boolean tableStructureProtectedValue) { TableStructureProtectedAttribute attr = new TableStructureProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableStructureProtectedValue.booleanValue()); + attr.setValue(tableStructureProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/office/OfficeTextElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/office/OfficeTextElement.java index 804d2d1cc1..feb4e21ac1 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/office/OfficeTextElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/office/OfficeTextElement.java @@ -119,7 +119,7 @@ public OdfName getOdfName() { public Boolean getTextGlobalAttribute() { TextGlobalAttribute attr = (TextGlobalAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "global"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextGlobalAttribute.DEFAULT_VALUE); } @@ -132,7 +132,7 @@ public Boolean getTextGlobalAttribute() { public void setTextGlobalAttribute(Boolean textGlobalValue) { TextGlobalAttribute attr = new TextGlobalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textGlobalValue.booleanValue()); + attr.setValue(textGlobalValue.toString()); } /** @@ -143,7 +143,7 @@ public void setTextGlobalAttribute(Boolean textGlobalValue) { public Boolean getTextUseSoftPageBreaksAttribute() { TextUseSoftPageBreaksAttribute attr = (TextUseSoftPageBreaksAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-soft-page-breaks"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseSoftPageBreaksAttribute.DEFAULT_VALUE); } @@ -156,7 +156,7 @@ public Boolean getTextUseSoftPageBreaksAttribute() { public void setTextUseSoftPageBreaksAttribute(Boolean textUseSoftPageBreaksValue) { TextUseSoftPageBreaksAttribute attr = new TextUseSoftPageBreaksAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseSoftPageBreaksValue.booleanValue()); + attr.setValue(textUseSoftPageBreaksValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/presentation/PresentationEventListenerElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/presentation/PresentationEventListenerElement.java index 1670d2e5de..ed86c48a5b 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/presentation/PresentationEventListenerElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/presentation/PresentationEventListenerElement.java @@ -200,7 +200,7 @@ public void setPresentationStartScaleAttribute(String presentationStartScaleValu public Integer getPresentationVerbAttribute() { PresentationVerbAttribute attr = (PresentationVerbAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "verb"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -213,7 +213,7 @@ public Integer getPresentationVerbAttribute() { public void setPresentationVerbAttribute(Integer presentationVerbValue) { PresentationVerbAttribute attr = new PresentationVerbAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(presentationVerbValue.intValue()); + attr.setValue(presentationVerbValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/presentation/PresentationSettingsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/presentation/PresentationSettingsElement.java index bd7d7c9680..940722a67e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/presentation/PresentationSettingsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/presentation/PresentationSettingsElement.java @@ -105,7 +105,7 @@ public void setPresentationAnimationsAttribute(String presentationAnimationsValu public Boolean getPresentationEndlessAttribute() { PresentationEndlessAttribute attr = (PresentationEndlessAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "endless"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationEndlessAttribute.DEFAULT_VALUE); } @@ -118,7 +118,7 @@ public Boolean getPresentationEndlessAttribute() { public void setPresentationEndlessAttribute(Boolean presentationEndlessValue) { PresentationEndlessAttribute attr = new PresentationEndlessAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationEndlessValue.booleanValue()); + attr.setValue(presentationEndlessValue.toString()); } /** @@ -129,7 +129,7 @@ public void setPresentationEndlessAttribute(Boolean presentationEndlessValue) { public Boolean getPresentationForceManualAttribute() { PresentationForceManualAttribute attr = (PresentationForceManualAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "force-manual"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationForceManualAttribute.DEFAULT_VALUE); } @@ -142,7 +142,7 @@ public Boolean getPresentationForceManualAttribute() { public void setPresentationForceManualAttribute(Boolean presentationForceManualValue) { PresentationForceManualAttribute attr = new PresentationForceManualAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationForceManualValue.booleanValue()); + attr.setValue(presentationForceManualValue.toString()); } /** @@ -153,7 +153,7 @@ public void setPresentationForceManualAttribute(Boolean presentationForceManualV public Boolean getPresentationFullScreenAttribute() { PresentationFullScreenAttribute attr = (PresentationFullScreenAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "full-screen"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationFullScreenAttribute.DEFAULT_VALUE); } @@ -166,7 +166,7 @@ public Boolean getPresentationFullScreenAttribute() { public void setPresentationFullScreenAttribute(Boolean presentationFullScreenValue) { PresentationFullScreenAttribute attr = new PresentationFullScreenAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationFullScreenValue.booleanValue()); + attr.setValue(presentationFullScreenValue.toString()); } /** @@ -177,7 +177,7 @@ public void setPresentationFullScreenAttribute(Boolean presentationFullScreenVal public Boolean getPresentationMouseAsPenAttribute() { PresentationMouseAsPenAttribute attr = (PresentationMouseAsPenAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "mouse-as-pen"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationMouseAsPenAttribute.DEFAULT_VALUE); } @@ -190,7 +190,7 @@ public Boolean getPresentationMouseAsPenAttribute() { public void setPresentationMouseAsPenAttribute(Boolean presentationMouseAsPenValue) { PresentationMouseAsPenAttribute attr = new PresentationMouseAsPenAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationMouseAsPenValue.booleanValue()); + attr.setValue(presentationMouseAsPenValue.toString()); } /** @@ -201,7 +201,7 @@ public void setPresentationMouseAsPenAttribute(Boolean presentationMouseAsPenVal public Boolean getPresentationMouseVisibleAttribute() { PresentationMouseVisibleAttribute attr = (PresentationMouseVisibleAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "mouse-visible"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationMouseVisibleAttribute.DEFAULT_VALUE); } @@ -214,7 +214,7 @@ public Boolean getPresentationMouseVisibleAttribute() { public void setPresentationMouseVisibleAttribute(Boolean presentationMouseVisibleValue) { PresentationMouseVisibleAttribute attr = new PresentationMouseVisibleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationMouseVisibleValue.booleanValue()); + attr.setValue(presentationMouseVisibleValue.toString()); } /** @@ -273,7 +273,7 @@ public void setPresentationShowAttribute(String presentationShowValue) { public Boolean getPresentationShowEndOfPresentationSlideAttribute() { PresentationShowEndOfPresentationSlideAttribute attr = (PresentationShowEndOfPresentationSlideAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "show-end-of-presentation-slide"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationShowEndOfPresentationSlideAttribute.DEFAULT_VALUE); } @@ -286,7 +286,7 @@ public Boolean getPresentationShowEndOfPresentationSlideAttribute() { public void setPresentationShowEndOfPresentationSlideAttribute(Boolean presentationShowEndOfPresentationSlideValue) { PresentationShowEndOfPresentationSlideAttribute attr = new PresentationShowEndOfPresentationSlideAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationShowEndOfPresentationSlideValue.booleanValue()); + attr.setValue(presentationShowEndOfPresentationSlideValue.toString()); } /** @@ -297,7 +297,7 @@ public void setPresentationShowEndOfPresentationSlideAttribute(Boolean presentat public Boolean getPresentationShowLogoAttribute() { PresentationShowLogoAttribute attr = (PresentationShowLogoAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "show-logo"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationShowLogoAttribute.DEFAULT_VALUE); } @@ -310,7 +310,7 @@ public Boolean getPresentationShowLogoAttribute() { public void setPresentationShowLogoAttribute(Boolean presentationShowLogoValue) { PresentationShowLogoAttribute attr = new PresentationShowLogoAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationShowLogoValue.booleanValue()); + attr.setValue(presentationShowLogoValue.toString()); } /** @@ -345,7 +345,7 @@ public void setPresentationStartPageAttribute(String presentationStartPageValue) public Boolean getPresentationStartWithNavigatorAttribute() { PresentationStartWithNavigatorAttribute attr = (PresentationStartWithNavigatorAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "start-with-navigator"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationStartWithNavigatorAttribute.DEFAULT_VALUE); } @@ -358,7 +358,7 @@ public Boolean getPresentationStartWithNavigatorAttribute() { public void setPresentationStartWithNavigatorAttribute(Boolean presentationStartWithNavigatorValue) { PresentationStartWithNavigatorAttribute attr = new PresentationStartWithNavigatorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationStartWithNavigatorValue.booleanValue()); + attr.setValue(presentationStartWithNavigatorValue.toString()); } /** @@ -369,7 +369,7 @@ public void setPresentationStartWithNavigatorAttribute(Boolean presentationStart public Boolean getPresentationStayOnTopAttribute() { PresentationStayOnTopAttribute attr = (PresentationStayOnTopAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "stay-on-top"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationStayOnTopAttribute.DEFAULT_VALUE); } @@ -382,7 +382,7 @@ public Boolean getPresentationStayOnTopAttribute() { public void setPresentationStayOnTopAttribute(Boolean presentationStayOnTopValue) { PresentationStayOnTopAttribute attr = new PresentationStayOnTopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationStayOnTopValue.booleanValue()); + attr.setValue(presentationStayOnTopValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/presentation/PresentationSoundElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/presentation/PresentationSoundElement.java index 0f516013d4..e25b6c5a43 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/presentation/PresentationSoundElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/presentation/PresentationSoundElement.java @@ -73,7 +73,7 @@ public OdfName getOdfName() { public Boolean getPresentationPlayFullAttribute() { PresentationPlayFullAttribute attr = (PresentationPlayFullAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "play-full"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -86,7 +86,7 @@ public Boolean getPresentationPlayFullAttribute() { public void setPresentationPlayFullAttribute(Boolean presentationPlayFullValue) { PresentationPlayFullAttribute attr = new PresentationPlayFullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationPlayFullValue.booleanValue()); + attr.setValue(presentationPlayFullValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleChartPropertiesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleChartPropertiesElement.java index 2207881c8e..62f73fc52a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleChartPropertiesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleChartPropertiesElement.java @@ -396,7 +396,7 @@ public void setChartAngleOffsetAttribute(String chartAngleOffsetValue) { public Boolean getChartAutoPositionAttribute() { ChartAutoPositionAttribute attr = (ChartAutoPositionAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "auto-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -409,7 +409,7 @@ public Boolean getChartAutoPositionAttribute() { public void setChartAutoPositionAttribute(Boolean chartAutoPositionValue) { ChartAutoPositionAttribute attr = new ChartAutoPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartAutoPositionValue.booleanValue()); + attr.setValue(chartAutoPositionValue.toString()); } /** @@ -420,7 +420,7 @@ public void setChartAutoPositionAttribute(Boolean chartAutoPositionValue) { public Boolean getChartAutoSizeAttribute() { ChartAutoSizeAttribute attr = (ChartAutoSizeAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "auto-size"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -433,7 +433,7 @@ public Boolean getChartAutoSizeAttribute() { public void setChartAutoSizeAttribute(Boolean chartAutoSizeValue) { ChartAutoSizeAttribute attr = new ChartAutoSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartAutoSizeValue.booleanValue()); + attr.setValue(chartAutoSizeValue.toString()); } /** @@ -468,7 +468,7 @@ public void setChartAxisLabelPositionAttribute(String chartAxisLabelPositionValu public Double getChartAxisPositionAttribute() { ChartAxisPositionAttribute attr = (ChartAxisPositionAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "axis-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -481,7 +481,7 @@ public Double getChartAxisPositionAttribute() { public void setChartAxisPositionAttribute(Double chartAxisPositionValue) { ChartAxisPositionAttribute attr = new ChartAxisPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(chartAxisPositionValue.doubleValue()); + attr.setValue(chartAxisPositionValue.toString()); } /** @@ -492,7 +492,7 @@ public void setChartAxisPositionAttribute(Double chartAxisPositionValue) { public Boolean getChartConnectBarsAttribute() { ChartConnectBarsAttribute attr = (ChartConnectBarsAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "connect-bars"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -505,7 +505,7 @@ public Boolean getChartConnectBarsAttribute() { public void setChartConnectBarsAttribute(Boolean chartConnectBarsValue) { ChartConnectBarsAttribute attr = new ChartConnectBarsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartConnectBarsValue.booleanValue()); + attr.setValue(chartConnectBarsValue.toString()); } /** @@ -540,7 +540,7 @@ public void setChartDataLabelNumberAttribute(String chartDataLabelNumberValue) { public Boolean getChartDataLabelSeriesAttribute() { ChartDataLabelSeriesAttribute attr = (ChartDataLabelSeriesAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "data-label-series"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -553,7 +553,7 @@ public Boolean getChartDataLabelSeriesAttribute() { public void setChartDataLabelSeriesAttribute(Boolean chartDataLabelSeriesValue) { ChartDataLabelSeriesAttribute attr = new ChartDataLabelSeriesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartDataLabelSeriesValue.booleanValue()); + attr.setValue(chartDataLabelSeriesValue.toString()); } /** @@ -564,7 +564,7 @@ public void setChartDataLabelSeriesAttribute(Boolean chartDataLabelSeriesValue) public Boolean getChartDataLabelSymbolAttribute() { ChartDataLabelSymbolAttribute attr = (ChartDataLabelSymbolAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "data-label-symbol"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -577,7 +577,7 @@ public Boolean getChartDataLabelSymbolAttribute() { public void setChartDataLabelSymbolAttribute(Boolean chartDataLabelSymbolValue) { ChartDataLabelSymbolAttribute attr = new ChartDataLabelSymbolAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartDataLabelSymbolValue.booleanValue()); + attr.setValue(chartDataLabelSymbolValue.toString()); } /** @@ -588,7 +588,7 @@ public void setChartDataLabelSymbolAttribute(Boolean chartDataLabelSymbolValue) public Boolean getChartDataLabelTextAttribute() { ChartDataLabelTextAttribute attr = (ChartDataLabelTextAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "data-label-text"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -601,7 +601,7 @@ public Boolean getChartDataLabelTextAttribute() { public void setChartDataLabelTextAttribute(Boolean chartDataLabelTextValue) { ChartDataLabelTextAttribute attr = new ChartDataLabelTextAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartDataLabelTextValue.booleanValue()); + attr.setValue(chartDataLabelTextValue.toString()); } /** @@ -612,7 +612,7 @@ public void setChartDataLabelTextAttribute(Boolean chartDataLabelTextValue) { public Boolean getChartDeepAttribute() { ChartDeepAttribute attr = (ChartDeepAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "deep"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -625,7 +625,7 @@ public Boolean getChartDeepAttribute() { public void setChartDeepAttribute(Boolean chartDeepValue) { ChartDeepAttribute attr = new ChartDeepAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartDeepValue.booleanValue()); + attr.setValue(chartDeepValue.toString()); } /** @@ -636,7 +636,7 @@ public void setChartDeepAttribute(Boolean chartDeepValue) { public Boolean getChartDisplayLabelAttribute() { ChartDisplayLabelAttribute attr = (ChartDisplayLabelAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "display-label"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -649,7 +649,7 @@ public Boolean getChartDisplayLabelAttribute() { public void setChartDisplayLabelAttribute(Boolean chartDisplayLabelValue) { ChartDisplayLabelAttribute attr = new ChartDisplayLabelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartDisplayLabelValue.booleanValue()); + attr.setValue(chartDisplayLabelValue.toString()); } /** @@ -684,7 +684,7 @@ public void setChartErrorCategoryAttribute(String chartErrorCategoryValue) { public Boolean getChartErrorLowerIndicatorAttribute() { ChartErrorLowerIndicatorAttribute attr = (ChartErrorLowerIndicatorAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "error-lower-indicator"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -697,7 +697,7 @@ public Boolean getChartErrorLowerIndicatorAttribute() { public void setChartErrorLowerIndicatorAttribute(Boolean chartErrorLowerIndicatorValue) { ChartErrorLowerIndicatorAttribute attr = new ChartErrorLowerIndicatorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartErrorLowerIndicatorValue.booleanValue()); + attr.setValue(chartErrorLowerIndicatorValue.toString()); } /** @@ -708,7 +708,7 @@ public void setChartErrorLowerIndicatorAttribute(Boolean chartErrorLowerIndicato public Double getChartErrorLowerLimitAttribute() { ChartErrorLowerLimitAttribute attr = (ChartErrorLowerLimitAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "error-lower-limit"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -721,7 +721,7 @@ public Double getChartErrorLowerLimitAttribute() { public void setChartErrorLowerLimitAttribute(Double chartErrorLowerLimitValue) { ChartErrorLowerLimitAttribute attr = new ChartErrorLowerLimitAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(chartErrorLowerLimitValue.doubleValue()); + attr.setValue(chartErrorLowerLimitValue.toString()); } /** @@ -756,7 +756,7 @@ public void setChartErrorLowerRangeAttribute(String chartErrorLowerRangeValue) { public Double getChartErrorMarginAttribute() { ChartErrorMarginAttribute attr = (ChartErrorMarginAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "error-margin"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -769,7 +769,7 @@ public Double getChartErrorMarginAttribute() { public void setChartErrorMarginAttribute(Double chartErrorMarginValue) { ChartErrorMarginAttribute attr = new ChartErrorMarginAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(chartErrorMarginValue.doubleValue()); + attr.setValue(chartErrorMarginValue.toString()); } /** @@ -780,7 +780,7 @@ public void setChartErrorMarginAttribute(Double chartErrorMarginValue) { public Double getChartErrorPercentageAttribute() { ChartErrorPercentageAttribute attr = (ChartErrorPercentageAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "error-percentage"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -793,7 +793,7 @@ public Double getChartErrorPercentageAttribute() { public void setChartErrorPercentageAttribute(Double chartErrorPercentageValue) { ChartErrorPercentageAttribute attr = new ChartErrorPercentageAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(chartErrorPercentageValue.doubleValue()); + attr.setValue(chartErrorPercentageValue.toString()); } /** @@ -804,7 +804,7 @@ public void setChartErrorPercentageAttribute(Double chartErrorPercentageValue) { public Boolean getChartErrorUpperIndicatorAttribute() { ChartErrorUpperIndicatorAttribute attr = (ChartErrorUpperIndicatorAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "error-upper-indicator"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -817,7 +817,7 @@ public Boolean getChartErrorUpperIndicatorAttribute() { public void setChartErrorUpperIndicatorAttribute(Boolean chartErrorUpperIndicatorValue) { ChartErrorUpperIndicatorAttribute attr = new ChartErrorUpperIndicatorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartErrorUpperIndicatorValue.booleanValue()); + attr.setValue(chartErrorUpperIndicatorValue.toString()); } /** @@ -828,7 +828,7 @@ public void setChartErrorUpperIndicatorAttribute(Boolean chartErrorUpperIndicato public Double getChartErrorUpperLimitAttribute() { ChartErrorUpperLimitAttribute attr = (ChartErrorUpperLimitAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "error-upper-limit"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -841,7 +841,7 @@ public Double getChartErrorUpperLimitAttribute() { public void setChartErrorUpperLimitAttribute(Double chartErrorUpperLimitValue) { ChartErrorUpperLimitAttribute attr = new ChartErrorUpperLimitAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(chartErrorUpperLimitValue.doubleValue()); + attr.setValue(chartErrorUpperLimitValue.toString()); } /** @@ -876,7 +876,7 @@ public void setChartErrorUpperRangeAttribute(String chartErrorUpperRangeValue) { public Integer getChartGapWidthAttribute() { ChartGapWidthAttribute attr = (ChartGapWidthAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "gap-width"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -889,7 +889,7 @@ public Integer getChartGapWidthAttribute() { public void setChartGapWidthAttribute(Integer chartGapWidthValue) { ChartGapWidthAttribute attr = new ChartGapWidthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(chartGapWidthValue.intValue()); + attr.setValue(chartGapWidthValue.toString()); } /** @@ -900,7 +900,7 @@ public void setChartGapWidthAttribute(Integer chartGapWidthValue) { public Boolean getChartGroupBarsPerAxisAttribute() { ChartGroupBarsPerAxisAttribute attr = (ChartGroupBarsPerAxisAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "group-bars-per-axis"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -913,7 +913,7 @@ public Boolean getChartGroupBarsPerAxisAttribute() { public void setChartGroupBarsPerAxisAttribute(Boolean chartGroupBarsPerAxisValue) { ChartGroupBarsPerAxisAttribute attr = new ChartGroupBarsPerAxisAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartGroupBarsPerAxisValue.booleanValue()); + attr.setValue(chartGroupBarsPerAxisValue.toString()); } /** @@ -948,7 +948,7 @@ public void setChartHoleSizeAttribute(String chartHoleSizeValue) { public Boolean getChartIncludeHiddenCellsAttribute() { ChartIncludeHiddenCellsAttribute attr = (ChartIncludeHiddenCellsAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "include-hidden-cells"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -961,7 +961,7 @@ public Boolean getChartIncludeHiddenCellsAttribute() { public void setChartIncludeHiddenCellsAttribute(Boolean chartIncludeHiddenCellsValue) { ChartIncludeHiddenCellsAttribute attr = new ChartIncludeHiddenCellsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartIncludeHiddenCellsValue.booleanValue()); + attr.setValue(chartIncludeHiddenCellsValue.toString()); } /** @@ -996,7 +996,7 @@ public void setChartInterpolationAttribute(String chartInterpolationValue) { public Double getChartIntervalMajorAttribute() { ChartIntervalMajorAttribute attr = (ChartIntervalMajorAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "interval-major"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -1009,7 +1009,7 @@ public Double getChartIntervalMajorAttribute() { public void setChartIntervalMajorAttribute(Double chartIntervalMajorValue) { ChartIntervalMajorAttribute attr = new ChartIntervalMajorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(chartIntervalMajorValue.doubleValue()); + attr.setValue(chartIntervalMajorValue.toString()); } /** @@ -1020,7 +1020,7 @@ public void setChartIntervalMajorAttribute(Double chartIntervalMajorValue) { public Integer getChartIntervalMinorDivisorAttribute() { ChartIntervalMinorDivisorAttribute attr = (ChartIntervalMinorDivisorAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "interval-minor-divisor"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1033,7 +1033,7 @@ public Integer getChartIntervalMinorDivisorAttribute() { public void setChartIntervalMinorDivisorAttribute(Integer chartIntervalMinorDivisorValue) { ChartIntervalMinorDivisorAttribute attr = new ChartIntervalMinorDivisorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(chartIntervalMinorDivisorValue.intValue()); + attr.setValue(chartIntervalMinorDivisorValue.toString()); } /** @@ -1044,7 +1044,7 @@ public void setChartIntervalMinorDivisorAttribute(Integer chartIntervalMinorDivi public Boolean getChartJapaneseCandleStickAttribute() { ChartJapaneseCandleStickAttribute attr = (ChartJapaneseCandleStickAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "japanese-candle-stick"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1057,7 +1057,7 @@ public Boolean getChartJapaneseCandleStickAttribute() { public void setChartJapaneseCandleStickAttribute(Boolean chartJapaneseCandleStickValue) { ChartJapaneseCandleStickAttribute attr = new ChartJapaneseCandleStickAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartJapaneseCandleStickValue.booleanValue()); + attr.setValue(chartJapaneseCandleStickValue.toString()); } /** @@ -1140,7 +1140,7 @@ public void setChartLabelPositionNegativeAttribute(String chartLabelPositionNega public Boolean getChartLinesAttribute() { ChartLinesAttribute attr = (ChartLinesAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "lines"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1153,7 +1153,7 @@ public Boolean getChartLinesAttribute() { public void setChartLinesAttribute(Boolean chartLinesValue) { ChartLinesAttribute attr = new ChartLinesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartLinesValue.booleanValue()); + attr.setValue(chartLinesValue.toString()); } /** @@ -1164,7 +1164,7 @@ public void setChartLinesAttribute(Boolean chartLinesValue) { public Boolean getChartLinkDataStyleToSourceAttribute() { ChartLinkDataStyleToSourceAttribute attr = (ChartLinkDataStyleToSourceAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "link-data-style-to-source"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1177,7 +1177,7 @@ public Boolean getChartLinkDataStyleToSourceAttribute() { public void setChartLinkDataStyleToSourceAttribute(Boolean chartLinkDataStyleToSourceValue) { ChartLinkDataStyleToSourceAttribute attr = new ChartLinkDataStyleToSourceAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartLinkDataStyleToSourceValue.booleanValue()); + attr.setValue(chartLinkDataStyleToSourceValue.toString()); } /** @@ -1188,7 +1188,7 @@ public void setChartLinkDataStyleToSourceAttribute(Boolean chartLinkDataStyleToS public Boolean getChartLogarithmicAttribute() { ChartLogarithmicAttribute attr = (ChartLogarithmicAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "logarithmic"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1201,7 +1201,7 @@ public Boolean getChartLogarithmicAttribute() { public void setChartLogarithmicAttribute(Boolean chartLogarithmicValue) { ChartLogarithmicAttribute attr = new ChartLogarithmicAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartLogarithmicValue.booleanValue()); + attr.setValue(chartLogarithmicValue.toString()); } /** @@ -1212,7 +1212,7 @@ public void setChartLogarithmicAttribute(Boolean chartLogarithmicValue) { public Double getChartMaximumAttribute() { ChartMaximumAttribute attr = (ChartMaximumAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "maximum"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -1225,7 +1225,7 @@ public Double getChartMaximumAttribute() { public void setChartMaximumAttribute(Double chartMaximumValue) { ChartMaximumAttribute attr = new ChartMaximumAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(chartMaximumValue.doubleValue()); + attr.setValue(chartMaximumValue.toString()); } /** @@ -1236,7 +1236,7 @@ public void setChartMaximumAttribute(Double chartMaximumValue) { public Boolean getChartMeanValueAttribute() { ChartMeanValueAttribute attr = (ChartMeanValueAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "mean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1249,7 +1249,7 @@ public Boolean getChartMeanValueAttribute() { public void setChartMeanValueAttribute(Boolean chartMeanValueValue) { ChartMeanValueAttribute attr = new ChartMeanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartMeanValueValue.booleanValue()); + attr.setValue(chartMeanValueValue.toString()); } /** @@ -1260,7 +1260,7 @@ public void setChartMeanValueAttribute(Boolean chartMeanValueValue) { public Double getChartMinimumAttribute() { ChartMinimumAttribute attr = (ChartMinimumAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "minimum"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -1273,7 +1273,7 @@ public Double getChartMinimumAttribute() { public void setChartMinimumAttribute(Double chartMinimumValue) { ChartMinimumAttribute attr = new ChartMinimumAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(chartMinimumValue.doubleValue()); + attr.setValue(chartMinimumValue.toString()); } /** @@ -1284,7 +1284,7 @@ public void setChartMinimumAttribute(Double chartMinimumValue) { public Double getChartOriginAttribute() { ChartOriginAttribute attr = (ChartOriginAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "origin"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -1297,7 +1297,7 @@ public Double getChartOriginAttribute() { public void setChartOriginAttribute(Double chartOriginValue) { ChartOriginAttribute attr = new ChartOriginAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(chartOriginValue.doubleValue()); + attr.setValue(chartOriginValue.toString()); } /** @@ -1308,7 +1308,7 @@ public void setChartOriginAttribute(Double chartOriginValue) { public Integer getChartOverlapAttribute() { ChartOverlapAttribute attr = (ChartOverlapAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "overlap"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1321,7 +1321,7 @@ public Integer getChartOverlapAttribute() { public void setChartOverlapAttribute(Integer chartOverlapValue) { ChartOverlapAttribute attr = new ChartOverlapAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(chartOverlapValue.intValue()); + attr.setValue(chartOverlapValue.toString()); } /** @@ -1332,7 +1332,7 @@ public void setChartOverlapAttribute(Integer chartOverlapValue) { public Boolean getChartPercentageAttribute() { ChartPercentageAttribute attr = (ChartPercentageAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "percentage"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1345,7 +1345,7 @@ public Boolean getChartPercentageAttribute() { public void setChartPercentageAttribute(Boolean chartPercentageValue) { ChartPercentageAttribute attr = new ChartPercentageAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartPercentageValue.booleanValue()); + attr.setValue(chartPercentageValue.toString()); } /** @@ -1356,7 +1356,7 @@ public void setChartPercentageAttribute(Boolean chartPercentageValue) { public Integer getChartPieOffsetAttribute() { ChartPieOffsetAttribute attr = (ChartPieOffsetAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "pie-offset"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1369,7 +1369,7 @@ public Integer getChartPieOffsetAttribute() { public void setChartPieOffsetAttribute(Integer chartPieOffsetValue) { ChartPieOffsetAttribute attr = new ChartPieOffsetAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(chartPieOffsetValue.intValue()); + attr.setValue(chartPieOffsetValue.toString()); } /** @@ -1380,7 +1380,7 @@ public void setChartPieOffsetAttribute(Integer chartPieOffsetValue) { public Boolean getChartRegressionForceInterceptAttribute() { ChartRegressionForceInterceptAttribute attr = (ChartRegressionForceInterceptAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "regression-force-intercept"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1393,7 +1393,7 @@ public Boolean getChartRegressionForceInterceptAttribute() { public void setChartRegressionForceInterceptAttribute(Boolean chartRegressionForceInterceptValue) { ChartRegressionForceInterceptAttribute attr = new ChartRegressionForceInterceptAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartRegressionForceInterceptValue.booleanValue()); + attr.setValue(chartRegressionForceInterceptValue.toString()); } /** @@ -1404,7 +1404,7 @@ public void setChartRegressionForceInterceptAttribute(Boolean chartRegressionFor public Double getChartRegressionInterceptValueAttribute() { ChartRegressionInterceptValueAttribute attr = (ChartRegressionInterceptValueAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "regression-intercept-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -1417,7 +1417,7 @@ public Double getChartRegressionInterceptValueAttribute() { public void setChartRegressionInterceptValueAttribute(Double chartRegressionInterceptValueValue) { ChartRegressionInterceptValueAttribute attr = new ChartRegressionInterceptValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(chartRegressionInterceptValueValue.doubleValue()); + attr.setValue(chartRegressionInterceptValueValue.toString()); } /** @@ -1428,7 +1428,7 @@ public void setChartRegressionInterceptValueAttribute(Double chartRegressionInte public Integer getChartRegressionMaxDegreeAttribute() { ChartRegressionMaxDegreeAttribute attr = (ChartRegressionMaxDegreeAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "regression-max-degree"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1441,7 +1441,7 @@ public Integer getChartRegressionMaxDegreeAttribute() { public void setChartRegressionMaxDegreeAttribute(Integer chartRegressionMaxDegreeValue) { ChartRegressionMaxDegreeAttribute attr = new ChartRegressionMaxDegreeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(chartRegressionMaxDegreeValue.intValue()); + attr.setValue(chartRegressionMaxDegreeValue.toString()); } /** @@ -1500,7 +1500,7 @@ public void setChartRegressionNameAttribute(String chartRegressionNameValue) { public Integer getChartRegressionPeriodAttribute() { ChartRegressionPeriodAttribute attr = (ChartRegressionPeriodAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "regression-period"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1513,7 +1513,7 @@ public Integer getChartRegressionPeriodAttribute() { public void setChartRegressionPeriodAttribute(Integer chartRegressionPeriodValue) { ChartRegressionPeriodAttribute attr = new ChartRegressionPeriodAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(chartRegressionPeriodValue.intValue()); + attr.setValue(chartRegressionPeriodValue.toString()); } /** @@ -1548,7 +1548,7 @@ public void setChartRegressionTypeAttribute(String chartRegressionTypeValue) { public Boolean getChartReverseDirectionAttribute() { ChartReverseDirectionAttribute attr = (ChartReverseDirectionAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "reverse-direction"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1561,7 +1561,7 @@ public Boolean getChartReverseDirectionAttribute() { public void setChartReverseDirectionAttribute(Boolean chartReverseDirectionValue) { ChartReverseDirectionAttribute attr = new ChartReverseDirectionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartReverseDirectionValue.booleanValue()); + attr.setValue(chartReverseDirectionValue.toString()); } /** @@ -1572,7 +1572,7 @@ public void setChartReverseDirectionAttribute(Boolean chartReverseDirectionValue public Boolean getChartRightAngledAxesAttribute() { ChartRightAngledAxesAttribute attr = (ChartRightAngledAxesAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "right-angled-axes"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1585,7 +1585,7 @@ public Boolean getChartRightAngledAxesAttribute() { public void setChartRightAngledAxesAttribute(Boolean chartRightAngledAxesValue) { ChartRightAngledAxesAttribute attr = new ChartRightAngledAxesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartRightAngledAxesValue.booleanValue()); + attr.setValue(chartRightAngledAxesValue.toString()); } /** @@ -1596,7 +1596,7 @@ public void setChartRightAngledAxesAttribute(Boolean chartRightAngledAxesValue) public Boolean getChartScaleTextAttribute() { ChartScaleTextAttribute attr = (ChartScaleTextAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "scale-text"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1609,7 +1609,7 @@ public Boolean getChartScaleTextAttribute() { public void setChartScaleTextAttribute(Boolean chartScaleTextValue) { ChartScaleTextAttribute attr = new ChartScaleTextAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartScaleTextValue.booleanValue()); + attr.setValue(chartScaleTextValue.toString()); } /** @@ -1668,7 +1668,7 @@ public void setChartSolidTypeAttribute(String chartSolidTypeValue) { public Boolean getChartSortByXValuesAttribute() { ChartSortByXValuesAttribute attr = (ChartSortByXValuesAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "sort-by-x-values"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1681,7 +1681,7 @@ public Boolean getChartSortByXValuesAttribute() { public void setChartSortByXValuesAttribute(Boolean chartSortByXValuesValue) { ChartSortByXValuesAttribute attr = new ChartSortByXValuesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartSortByXValuesValue.booleanValue()); + attr.setValue(chartSortByXValuesValue.toString()); } /** @@ -1692,7 +1692,7 @@ public void setChartSortByXValuesAttribute(Boolean chartSortByXValuesValue) { public Integer getChartSplineOrderAttribute() { ChartSplineOrderAttribute attr = (ChartSplineOrderAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "spline-order"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1705,7 +1705,7 @@ public Integer getChartSplineOrderAttribute() { public void setChartSplineOrderAttribute(Integer chartSplineOrderValue) { ChartSplineOrderAttribute attr = new ChartSplineOrderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(chartSplineOrderValue.intValue()); + attr.setValue(chartSplineOrderValue.toString()); } /** @@ -1716,7 +1716,7 @@ public void setChartSplineOrderAttribute(Integer chartSplineOrderValue) { public Integer getChartSplineResolutionAttribute() { ChartSplineResolutionAttribute attr = (ChartSplineResolutionAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "spline-resolution"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1729,7 +1729,7 @@ public Integer getChartSplineResolutionAttribute() { public void setChartSplineResolutionAttribute(Integer chartSplineResolutionValue) { ChartSplineResolutionAttribute attr = new ChartSplineResolutionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(chartSplineResolutionValue.intValue()); + attr.setValue(chartSplineResolutionValue.toString()); } /** @@ -1740,7 +1740,7 @@ public void setChartSplineResolutionAttribute(Integer chartSplineResolutionValue public Boolean getChartStackedAttribute() { ChartStackedAttribute attr = (ChartStackedAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "stacked"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1753,7 +1753,7 @@ public Boolean getChartStackedAttribute() { public void setChartStackedAttribute(Boolean chartStackedValue) { ChartStackedAttribute attr = new ChartStackedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartStackedValue.booleanValue()); + attr.setValue(chartStackedValue.toString()); } /** @@ -1862,7 +1862,7 @@ public void setChartSymbolWidthAttribute(String chartSymbolWidthValue) { public Boolean getChartTextOverlapAttribute() { ChartTextOverlapAttribute attr = (ChartTextOverlapAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "text-overlap"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1875,7 +1875,7 @@ public Boolean getChartTextOverlapAttribute() { public void setChartTextOverlapAttribute(Boolean chartTextOverlapValue) { ChartTextOverlapAttribute attr = new ChartTextOverlapAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartTextOverlapValue.booleanValue()); + attr.setValue(chartTextOverlapValue.toString()); } /** @@ -1886,7 +1886,7 @@ public void setChartTextOverlapAttribute(Boolean chartTextOverlapValue) { public Boolean getChartThreeDimensionalAttribute() { ChartThreeDimensionalAttribute attr = (ChartThreeDimensionalAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "three-dimensional"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1899,7 +1899,7 @@ public Boolean getChartThreeDimensionalAttribute() { public void setChartThreeDimensionalAttribute(Boolean chartThreeDimensionalValue) { ChartThreeDimensionalAttribute attr = new ChartThreeDimensionalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartThreeDimensionalValue.booleanValue()); + attr.setValue(chartThreeDimensionalValue.toString()); } /** @@ -1934,7 +1934,7 @@ public void setChartTickMarkPositionAttribute(String chartTickMarkPositionValue) public Boolean getChartTickMarksMajorInnerAttribute() { ChartTickMarksMajorInnerAttribute attr = (ChartTickMarksMajorInnerAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "tick-marks-major-inner"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1947,7 +1947,7 @@ public Boolean getChartTickMarksMajorInnerAttribute() { public void setChartTickMarksMajorInnerAttribute(Boolean chartTickMarksMajorInnerValue) { ChartTickMarksMajorInnerAttribute attr = new ChartTickMarksMajorInnerAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartTickMarksMajorInnerValue.booleanValue()); + attr.setValue(chartTickMarksMajorInnerValue.toString()); } /** @@ -1958,7 +1958,7 @@ public void setChartTickMarksMajorInnerAttribute(Boolean chartTickMarksMajorInne public Boolean getChartTickMarksMajorOuterAttribute() { ChartTickMarksMajorOuterAttribute attr = (ChartTickMarksMajorOuterAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "tick-marks-major-outer"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1971,7 +1971,7 @@ public Boolean getChartTickMarksMajorOuterAttribute() { public void setChartTickMarksMajorOuterAttribute(Boolean chartTickMarksMajorOuterValue) { ChartTickMarksMajorOuterAttribute attr = new ChartTickMarksMajorOuterAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartTickMarksMajorOuterValue.booleanValue()); + attr.setValue(chartTickMarksMajorOuterValue.toString()); } /** @@ -1982,7 +1982,7 @@ public void setChartTickMarksMajorOuterAttribute(Boolean chartTickMarksMajorOute public Boolean getChartTickMarksMinorInnerAttribute() { ChartTickMarksMinorInnerAttribute attr = (ChartTickMarksMinorInnerAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "tick-marks-minor-inner"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1995,7 +1995,7 @@ public Boolean getChartTickMarksMinorInnerAttribute() { public void setChartTickMarksMinorInnerAttribute(Boolean chartTickMarksMinorInnerValue) { ChartTickMarksMinorInnerAttribute attr = new ChartTickMarksMinorInnerAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartTickMarksMinorInnerValue.booleanValue()); + attr.setValue(chartTickMarksMinorInnerValue.toString()); } /** @@ -2006,7 +2006,7 @@ public void setChartTickMarksMinorInnerAttribute(Boolean chartTickMarksMinorInne public Boolean getChartTickMarksMinorOuterAttribute() { ChartTickMarksMinorOuterAttribute attr = (ChartTickMarksMinorOuterAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "tick-marks-minor-outer"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2019,7 +2019,7 @@ public Boolean getChartTickMarksMinorOuterAttribute() { public void setChartTickMarksMinorOuterAttribute(Boolean chartTickMarksMinorOuterValue) { ChartTickMarksMinorOuterAttribute attr = new ChartTickMarksMinorOuterAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartTickMarksMinorOuterValue.booleanValue()); + attr.setValue(chartTickMarksMinorOuterValue.toString()); } /** @@ -2054,7 +2054,7 @@ public void setChartTreatEmptyCellsAttribute(String chartTreatEmptyCellsValue) { public Boolean getChartVerticalAttribute() { ChartVerticalAttribute attr = (ChartVerticalAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "vertical"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2067,7 +2067,7 @@ public Boolean getChartVerticalAttribute() { public void setChartVerticalAttribute(Boolean chartVerticalValue) { ChartVerticalAttribute attr = new ChartVerticalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartVerticalValue.booleanValue()); + attr.setValue(chartVerticalValue.toString()); } /** @@ -2078,7 +2078,7 @@ public void setChartVerticalAttribute(Boolean chartVerticalValue) { public Boolean getChartVisibleAttribute() { ChartVisibleAttribute attr = (ChartVisibleAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "visible"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2091,7 +2091,7 @@ public Boolean getChartVisibleAttribute() { public void setChartVisibleAttribute(Boolean chartVisibleValue) { ChartVisibleAttribute attr = new ChartVisibleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartVisibleValue.booleanValue()); + attr.setValue(chartVisibleValue.toString()); } /** @@ -2150,7 +2150,7 @@ public void setStyleRotationAngleAttribute(String styleRotationAngleValue) { public Boolean getTextLineBreakAttribute() { TextLineBreakAttribute attr = (TextLineBreakAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "line-break"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2163,7 +2163,7 @@ public Boolean getTextLineBreakAttribute() { public void setTextLineBreakAttribute(Boolean textLineBreakValue) { TextLineBreakAttribute attr = new TextLineBreakAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textLineBreakValue.booleanValue()); + attr.setValue(textLineBreakValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleColumnsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleColumnsElement.java index 2e55efda4c..9543fdb93a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleColumnsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleColumnsElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Integer getFoColumnCountAttribute() { FoColumnCountAttribute attr = (FoColumnCountAttribute) getOdfAttribute(OdfDocumentNamespace.FO, "column-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -84,7 +84,7 @@ public Integer getFoColumnCountAttribute() { public void setFoColumnCountAttribute(Integer foColumnCountValue) { FoColumnCountAttribute attr = new FoColumnCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(foColumnCountValue.intValue()); + attr.setValue(foColumnCountValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleDrawingPagePropertiesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleDrawingPagePropertiesElement.java index 7342e4a17e..33c0e4ca8c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleDrawingPagePropertiesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleDrawingPagePropertiesElement.java @@ -327,7 +327,7 @@ public void setDrawFillHatchNameAttribute(String drawFillHatchNameValue) { public Boolean getDrawFillHatchSolidAttribute() { DrawFillHatchSolidAttribute attr = (DrawFillHatchSolidAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "fill-hatch-solid"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -340,7 +340,7 @@ public Boolean getDrawFillHatchSolidAttribute() { public void setDrawFillHatchSolidAttribute(Boolean drawFillHatchSolidValue) { DrawFillHatchSolidAttribute attr = new DrawFillHatchSolidAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawFillHatchSolidValue.booleanValue()); + attr.setValue(drawFillHatchSolidValue.toString()); } /** @@ -495,7 +495,7 @@ public void setDrawFillImageWidthAttribute(String drawFillImageWidthValue) { public Integer getDrawGradientStepCountAttribute() { DrawGradientStepCountAttribute attr = (DrawGradientStepCountAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "gradient-step-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -508,7 +508,7 @@ public Integer getDrawGradientStepCountAttribute() { public void setDrawGradientStepCountAttribute(Integer drawGradientStepCountValue) { DrawGradientStepCountAttribute attr = new DrawGradientStepCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawGradientStepCountValue.intValue()); + attr.setValue(drawGradientStepCountValue.toString()); } /** @@ -615,7 +615,7 @@ public void setDrawTileRepeatOffsetAttribute(String drawTileRepeatOffsetValue) { public Boolean getPresentationBackgroundObjectsVisibleAttribute() { PresentationBackgroundObjectsVisibleAttribute attr = (PresentationBackgroundObjectsVisibleAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "background-objects-visible"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -628,7 +628,7 @@ public Boolean getPresentationBackgroundObjectsVisibleAttribute() { public void setPresentationBackgroundObjectsVisibleAttribute(Boolean presentationBackgroundObjectsVisibleValue) { PresentationBackgroundObjectsVisibleAttribute attr = new PresentationBackgroundObjectsVisibleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationBackgroundObjectsVisibleValue.booleanValue()); + attr.setValue(presentationBackgroundObjectsVisibleValue.toString()); } /** @@ -639,7 +639,7 @@ public void setPresentationBackgroundObjectsVisibleAttribute(Boolean presentatio public Boolean getPresentationBackgroundVisibleAttribute() { PresentationBackgroundVisibleAttribute attr = (PresentationBackgroundVisibleAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "background-visible"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -652,7 +652,7 @@ public Boolean getPresentationBackgroundVisibleAttribute() { public void setPresentationBackgroundVisibleAttribute(Boolean presentationBackgroundVisibleValue) { PresentationBackgroundVisibleAttribute attr = new PresentationBackgroundVisibleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationBackgroundVisibleValue.booleanValue()); + attr.setValue(presentationBackgroundVisibleValue.toString()); } /** @@ -663,7 +663,7 @@ public void setPresentationBackgroundVisibleAttribute(Boolean presentationBackgr public Boolean getPresentationDisplayDateTimeAttribute() { PresentationDisplayDateTimeAttribute attr = (PresentationDisplayDateTimeAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "display-date-time"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -676,7 +676,7 @@ public Boolean getPresentationDisplayDateTimeAttribute() { public void setPresentationDisplayDateTimeAttribute(Boolean presentationDisplayDateTimeValue) { PresentationDisplayDateTimeAttribute attr = new PresentationDisplayDateTimeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationDisplayDateTimeValue.booleanValue()); + attr.setValue(presentationDisplayDateTimeValue.toString()); } /** @@ -687,7 +687,7 @@ public void setPresentationDisplayDateTimeAttribute(Boolean presentationDisplayD public Boolean getPresentationDisplayFooterAttribute() { PresentationDisplayFooterAttribute attr = (PresentationDisplayFooterAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "display-footer"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -700,7 +700,7 @@ public Boolean getPresentationDisplayFooterAttribute() { public void setPresentationDisplayFooterAttribute(Boolean presentationDisplayFooterValue) { PresentationDisplayFooterAttribute attr = new PresentationDisplayFooterAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationDisplayFooterValue.booleanValue()); + attr.setValue(presentationDisplayFooterValue.toString()); } /** @@ -711,7 +711,7 @@ public void setPresentationDisplayFooterAttribute(Boolean presentationDisplayFoo public Boolean getPresentationDisplayHeaderAttribute() { PresentationDisplayHeaderAttribute attr = (PresentationDisplayHeaderAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "display-header"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -724,7 +724,7 @@ public Boolean getPresentationDisplayHeaderAttribute() { public void setPresentationDisplayHeaderAttribute(Boolean presentationDisplayHeaderValue) { PresentationDisplayHeaderAttribute attr = new PresentationDisplayHeaderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationDisplayHeaderValue.booleanValue()); + attr.setValue(presentationDisplayHeaderValue.toString()); } /** @@ -735,7 +735,7 @@ public void setPresentationDisplayHeaderAttribute(Boolean presentationDisplayHea public Boolean getPresentationDisplayPageNumberAttribute() { PresentationDisplayPageNumberAttribute attr = (PresentationDisplayPageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "display-page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -748,7 +748,7 @@ public Boolean getPresentationDisplayPageNumberAttribute() { public void setPresentationDisplayPageNumberAttribute(Boolean presentationDisplayPageNumberValue) { PresentationDisplayPageNumberAttribute attr = new PresentationDisplayPageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationDisplayPageNumberValue.booleanValue()); + attr.setValue(presentationDisplayPageNumberValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleDropCapElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleDropCapElement.java index 1e6e42c1b8..5682996a47 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleDropCapElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleDropCapElement.java @@ -97,7 +97,7 @@ public void setStyleDistanceAttribute(String styleDistanceValue) { public Integer getStyleLengthAttribute() { StyleLengthAttribute attr = (StyleLengthAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(StyleLengthAttribute.DEFAULT_VALUE); } @@ -110,7 +110,7 @@ public Integer getStyleLengthAttribute() { public void setStyleLengthAttribute(Integer styleLengthValue) { StyleLengthAttribute attr = new StyleLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleLengthValue.intValue()); + attr.setValue(styleLengthValue.toString()); } /** @@ -121,7 +121,7 @@ public void setStyleLengthAttribute(Integer styleLengthValue) { public Integer getStyleLinesAttribute() { StyleLinesAttribute attr = (StyleLinesAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "lines"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(StyleLinesAttribute.DEFAULT_VALUE); } @@ -134,7 +134,7 @@ public Integer getStyleLinesAttribute() { public void setStyleLinesAttribute(Integer styleLinesValue) { StyleLinesAttribute attr = new StyleLinesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleLinesValue.intValue()); + attr.setValue(styleLinesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleFontFaceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleFontFaceElement.java index f5bfafe3fd..9bdaf83d99 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleFontFaceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleFontFaceElement.java @@ -229,7 +229,7 @@ public void setStyleNameAttribute(String styleNameValue) { public Integer getSvgAccentHeightAttribute() { SvgAccentHeightAttribute attr = (SvgAccentHeightAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "accent-height"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -242,7 +242,7 @@ public Integer getSvgAccentHeightAttribute() { public void setSvgAccentHeightAttribute(Integer svgAccentHeightValue) { SvgAccentHeightAttribute attr = new SvgAccentHeightAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgAccentHeightValue.intValue()); + attr.setValue(svgAccentHeightValue.toString()); } /** @@ -253,7 +253,7 @@ public void setSvgAccentHeightAttribute(Integer svgAccentHeightValue) { public Integer getSvgAlphabeticAttribute() { SvgAlphabeticAttribute attr = (SvgAlphabeticAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "alphabetic"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -266,7 +266,7 @@ public Integer getSvgAlphabeticAttribute() { public void setSvgAlphabeticAttribute(Integer svgAlphabeticValue) { SvgAlphabeticAttribute attr = new SvgAlphabeticAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgAlphabeticValue.intValue()); + attr.setValue(svgAlphabeticValue.toString()); } /** @@ -277,7 +277,7 @@ public void setSvgAlphabeticAttribute(Integer svgAlphabeticValue) { public Integer getSvgAscentAttribute() { SvgAscentAttribute attr = (SvgAscentAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "ascent"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -290,7 +290,7 @@ public Integer getSvgAscentAttribute() { public void setSvgAscentAttribute(Integer svgAscentValue) { SvgAscentAttribute attr = new SvgAscentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgAscentValue.intValue()); + attr.setValue(svgAscentValue.toString()); } /** @@ -325,7 +325,7 @@ public void setSvgBboxAttribute(String svgBboxValue) { public Integer getSvgCapHeightAttribute() { SvgCapHeightAttribute attr = (SvgCapHeightAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "cap-height"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -338,7 +338,7 @@ public Integer getSvgCapHeightAttribute() { public void setSvgCapHeightAttribute(Integer svgCapHeightValue) { SvgCapHeightAttribute attr = new SvgCapHeightAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgCapHeightValue.intValue()); + attr.setValue(svgCapHeightValue.toString()); } /** @@ -349,7 +349,7 @@ public void setSvgCapHeightAttribute(Integer svgCapHeightValue) { public Integer getSvgDescentAttribute() { SvgDescentAttribute attr = (SvgDescentAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "descent"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -362,7 +362,7 @@ public Integer getSvgDescentAttribute() { public void setSvgDescentAttribute(Integer svgDescentValue) { SvgDescentAttribute attr = new SvgDescentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgDescentValue.intValue()); + attr.setValue(svgDescentValue.toString()); } /** @@ -517,7 +517,7 @@ public void setSvgFontWeightAttribute(String svgFontWeightValue) { public Integer getSvgHangingAttribute() { SvgHangingAttribute attr = (SvgHangingAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "hanging"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -530,7 +530,7 @@ public Integer getSvgHangingAttribute() { public void setSvgHangingAttribute(Integer svgHangingValue) { SvgHangingAttribute attr = new SvgHangingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgHangingValue.intValue()); + attr.setValue(svgHangingValue.toString()); } /** @@ -541,7 +541,7 @@ public void setSvgHangingAttribute(Integer svgHangingValue) { public Integer getSvgIdeographicAttribute() { SvgIdeographicAttribute attr = (SvgIdeographicAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "ideographic"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -554,7 +554,7 @@ public Integer getSvgIdeographicAttribute() { public void setSvgIdeographicAttribute(Integer svgIdeographicValue) { SvgIdeographicAttribute attr = new SvgIdeographicAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgIdeographicValue.intValue()); + attr.setValue(svgIdeographicValue.toString()); } /** @@ -565,7 +565,7 @@ public void setSvgIdeographicAttribute(Integer svgIdeographicValue) { public Integer getSvgMathematicalAttribute() { SvgMathematicalAttribute attr = (SvgMathematicalAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "mathematical"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -578,7 +578,7 @@ public Integer getSvgMathematicalAttribute() { public void setSvgMathematicalAttribute(Integer svgMathematicalValue) { SvgMathematicalAttribute attr = new SvgMathematicalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgMathematicalValue.intValue()); + attr.setValue(svgMathematicalValue.toString()); } /** @@ -589,7 +589,7 @@ public void setSvgMathematicalAttribute(Integer svgMathematicalValue) { public Integer getSvgOverlinePositionAttribute() { SvgOverlinePositionAttribute attr = (SvgOverlinePositionAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "overline-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -602,7 +602,7 @@ public Integer getSvgOverlinePositionAttribute() { public void setSvgOverlinePositionAttribute(Integer svgOverlinePositionValue) { SvgOverlinePositionAttribute attr = new SvgOverlinePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgOverlinePositionValue.intValue()); + attr.setValue(svgOverlinePositionValue.toString()); } /** @@ -613,7 +613,7 @@ public void setSvgOverlinePositionAttribute(Integer svgOverlinePositionValue) { public Integer getSvgOverlineThicknessAttribute() { SvgOverlineThicknessAttribute attr = (SvgOverlineThicknessAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "overline-thickness"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -626,7 +626,7 @@ public Integer getSvgOverlineThicknessAttribute() { public void setSvgOverlineThicknessAttribute(Integer svgOverlineThicknessValue) { SvgOverlineThicknessAttribute attr = new SvgOverlineThicknessAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgOverlineThicknessValue.intValue()); + attr.setValue(svgOverlineThicknessValue.toString()); } /** @@ -661,7 +661,7 @@ public void setSvgPanose1Attribute(String svgPanose1Value) { public Integer getSvgSlopeAttribute() { SvgSlopeAttribute attr = (SvgSlopeAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "slope"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -674,7 +674,7 @@ public Integer getSvgSlopeAttribute() { public void setSvgSlopeAttribute(Integer svgSlopeValue) { SvgSlopeAttribute attr = new SvgSlopeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgSlopeValue.intValue()); + attr.setValue(svgSlopeValue.toString()); } /** @@ -685,7 +685,7 @@ public void setSvgSlopeAttribute(Integer svgSlopeValue) { public Integer getSvgStemhAttribute() { SvgStemhAttribute attr = (SvgStemhAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "stemh"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -698,7 +698,7 @@ public Integer getSvgStemhAttribute() { public void setSvgStemhAttribute(Integer svgStemhValue) { SvgStemhAttribute attr = new SvgStemhAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgStemhValue.intValue()); + attr.setValue(svgStemhValue.toString()); } /** @@ -709,7 +709,7 @@ public void setSvgStemhAttribute(Integer svgStemhValue) { public Integer getSvgStemvAttribute() { SvgStemvAttribute attr = (SvgStemvAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "stemv"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -722,7 +722,7 @@ public Integer getSvgStemvAttribute() { public void setSvgStemvAttribute(Integer svgStemvValue) { SvgStemvAttribute attr = new SvgStemvAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgStemvValue.intValue()); + attr.setValue(svgStemvValue.toString()); } /** @@ -733,7 +733,7 @@ public void setSvgStemvAttribute(Integer svgStemvValue) { public Integer getSvgStrikethroughPositionAttribute() { SvgStrikethroughPositionAttribute attr = (SvgStrikethroughPositionAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "strikethrough-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -746,7 +746,7 @@ public Integer getSvgStrikethroughPositionAttribute() { public void setSvgStrikethroughPositionAttribute(Integer svgStrikethroughPositionValue) { SvgStrikethroughPositionAttribute attr = new SvgStrikethroughPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgStrikethroughPositionValue.intValue()); + attr.setValue(svgStrikethroughPositionValue.toString()); } /** @@ -757,7 +757,7 @@ public void setSvgStrikethroughPositionAttribute(Integer svgStrikethroughPositio public Integer getSvgStrikethroughThicknessAttribute() { SvgStrikethroughThicknessAttribute attr = (SvgStrikethroughThicknessAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "strikethrough-thickness"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -770,7 +770,7 @@ public Integer getSvgStrikethroughThicknessAttribute() { public void setSvgStrikethroughThicknessAttribute(Integer svgStrikethroughThicknessValue) { SvgStrikethroughThicknessAttribute attr = new SvgStrikethroughThicknessAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgStrikethroughThicknessValue.intValue()); + attr.setValue(svgStrikethroughThicknessValue.toString()); } /** @@ -781,7 +781,7 @@ public void setSvgStrikethroughThicknessAttribute(Integer svgStrikethroughThickn public Integer getSvgUnderlinePositionAttribute() { SvgUnderlinePositionAttribute attr = (SvgUnderlinePositionAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "underline-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -794,7 +794,7 @@ public Integer getSvgUnderlinePositionAttribute() { public void setSvgUnderlinePositionAttribute(Integer svgUnderlinePositionValue) { SvgUnderlinePositionAttribute attr = new SvgUnderlinePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgUnderlinePositionValue.intValue()); + attr.setValue(svgUnderlinePositionValue.toString()); } /** @@ -805,7 +805,7 @@ public void setSvgUnderlinePositionAttribute(Integer svgUnderlinePositionValue) public Integer getSvgUnderlineThicknessAttribute() { SvgUnderlineThicknessAttribute attr = (SvgUnderlineThicknessAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "underline-thickness"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -818,7 +818,7 @@ public Integer getSvgUnderlineThicknessAttribute() { public void setSvgUnderlineThicknessAttribute(Integer svgUnderlineThicknessValue) { SvgUnderlineThicknessAttribute attr = new SvgUnderlineThicknessAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgUnderlineThicknessValue.intValue()); + attr.setValue(svgUnderlineThicknessValue.toString()); } /** @@ -853,7 +853,7 @@ public void setSvgUnicodeRangeAttribute(String svgUnicodeRangeValue) { public Integer getSvgUnitsPerEmAttribute() { SvgUnitsPerEmAttribute attr = (SvgUnitsPerEmAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "units-per-em"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -866,7 +866,7 @@ public Integer getSvgUnitsPerEmAttribute() { public void setSvgUnitsPerEmAttribute(Integer svgUnitsPerEmValue) { SvgUnitsPerEmAttribute attr = new SvgUnitsPerEmAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgUnitsPerEmValue.intValue()); + attr.setValue(svgUnitsPerEmValue.toString()); } /** @@ -877,7 +877,7 @@ public void setSvgUnitsPerEmAttribute(Integer svgUnitsPerEmValue) { public Integer getSvgVAlphabeticAttribute() { SvgVAlphabeticAttribute attr = (SvgVAlphabeticAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "v-alphabetic"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -890,7 +890,7 @@ public Integer getSvgVAlphabeticAttribute() { public void setSvgVAlphabeticAttribute(Integer svgVAlphabeticValue) { SvgVAlphabeticAttribute attr = new SvgVAlphabeticAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgVAlphabeticValue.intValue()); + attr.setValue(svgVAlphabeticValue.toString()); } /** @@ -901,7 +901,7 @@ public void setSvgVAlphabeticAttribute(Integer svgVAlphabeticValue) { public Integer getSvgVHangingAttribute() { SvgVHangingAttribute attr = (SvgVHangingAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "v-hanging"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -914,7 +914,7 @@ public Integer getSvgVHangingAttribute() { public void setSvgVHangingAttribute(Integer svgVHangingValue) { SvgVHangingAttribute attr = new SvgVHangingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgVHangingValue.intValue()); + attr.setValue(svgVHangingValue.toString()); } /** @@ -925,7 +925,7 @@ public void setSvgVHangingAttribute(Integer svgVHangingValue) { public Integer getSvgVIdeographicAttribute() { SvgVIdeographicAttribute attr = (SvgVIdeographicAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "v-ideographic"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -938,7 +938,7 @@ public Integer getSvgVIdeographicAttribute() { public void setSvgVIdeographicAttribute(Integer svgVIdeographicValue) { SvgVIdeographicAttribute attr = new SvgVIdeographicAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgVIdeographicValue.intValue()); + attr.setValue(svgVIdeographicValue.toString()); } /** @@ -949,7 +949,7 @@ public void setSvgVIdeographicAttribute(Integer svgVIdeographicValue) { public Integer getSvgVMathematicalAttribute() { SvgVMathematicalAttribute attr = (SvgVMathematicalAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "v-mathematical"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -962,7 +962,7 @@ public Integer getSvgVMathematicalAttribute() { public void setSvgVMathematicalAttribute(Integer svgVMathematicalValue) { SvgVMathematicalAttribute attr = new SvgVMathematicalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgVMathematicalValue.intValue()); + attr.setValue(svgVMathematicalValue.toString()); } /** @@ -997,7 +997,7 @@ public void setSvgWidthsAttribute(String svgWidthsValue) { public Integer getSvgXHeightAttribute() { SvgXHeightAttribute attr = (SvgXHeightAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "x-height"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1010,7 +1010,7 @@ public Integer getSvgXHeightAttribute() { public void setSvgXHeightAttribute(Integer svgXHeightValue) { SvgXHeightAttribute attr = new SvgXHeightAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgXHeightValue.intValue()); + attr.setValue(svgXHeightValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleFooterElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleFooterElement.java index 8bfa9bff84..88011590e4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleFooterElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleFooterElement.java @@ -90,7 +90,7 @@ public OdfName getOdfName() { public Boolean getStyleDisplayAttribute() { StyleDisplayAttribute attr = (StyleDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(StyleDisplayAttribute.DEFAULT_VALUE); } @@ -103,7 +103,7 @@ public Boolean getStyleDisplayAttribute() { public void setStyleDisplayAttribute(Boolean styleDisplayValue) { StyleDisplayAttribute attr = new StyleDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleDisplayValue.booleanValue()); + attr.setValue(styleDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleFooterFirstElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleFooterFirstElement.java index 317a1b4472..c04e705d7f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleFooterFirstElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleFooterFirstElement.java @@ -90,7 +90,7 @@ public OdfName getOdfName() { public Boolean getStyleDisplayAttribute() { StyleDisplayAttribute attr = (StyleDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(StyleDisplayAttribute.DEFAULT_VALUE); } @@ -103,7 +103,7 @@ public Boolean getStyleDisplayAttribute() { public void setStyleDisplayAttribute(Boolean styleDisplayValue) { StyleDisplayAttribute attr = new StyleDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleDisplayValue.booleanValue()); + attr.setValue(styleDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleFooterLeftElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleFooterLeftElement.java index 9b28783e7d..a72dbec2d0 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleFooterLeftElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleFooterLeftElement.java @@ -90,7 +90,7 @@ public OdfName getOdfName() { public Boolean getStyleDisplayAttribute() { StyleDisplayAttribute attr = (StyleDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(StyleDisplayAttribute.DEFAULT_VALUE); } @@ -103,7 +103,7 @@ public Boolean getStyleDisplayAttribute() { public void setStyleDisplayAttribute(Boolean styleDisplayValue) { StyleDisplayAttribute attr = new StyleDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleDisplayValue.booleanValue()); + attr.setValue(styleDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleGraphicPropertiesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleGraphicPropertiesElement.java index ef56c4f88d..8494c6a3e9 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleGraphicPropertiesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleGraphicPropertiesElement.java @@ -839,7 +839,7 @@ public void setDr3dBackfaceCullingAttribute(String dr3dBackfaceCullingValue) { public Boolean getDr3dCloseBackAttribute() { Dr3dCloseBackAttribute attr = (Dr3dCloseBackAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "close-back"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -852,7 +852,7 @@ public Boolean getDr3dCloseBackAttribute() { public void setDr3dCloseBackAttribute(Boolean dr3dCloseBackValue) { Dr3dCloseBackAttribute attr = new Dr3dCloseBackAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dr3dCloseBackValue.booleanValue()); + attr.setValue(dr3dCloseBackValue.toString()); } /** @@ -863,7 +863,7 @@ public void setDr3dCloseBackAttribute(Boolean dr3dCloseBackValue) { public Boolean getDr3dCloseFrontAttribute() { Dr3dCloseFrontAttribute attr = (Dr3dCloseFrontAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "close-front"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -876,7 +876,7 @@ public Boolean getDr3dCloseFrontAttribute() { public void setDr3dCloseFrontAttribute(Boolean dr3dCloseFrontValue) { Dr3dCloseFrontAttribute attr = new Dr3dCloseFrontAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dr3dCloseFrontValue.booleanValue()); + attr.setValue(dr3dCloseFrontValue.toString()); } /** @@ -1031,7 +1031,7 @@ public void setDr3dEndAngleAttribute(String dr3dEndAngleValue) { public Integer getDr3dHorizontalSegmentsAttribute() { Dr3dHorizontalSegmentsAttribute attr = (Dr3dHorizontalSegmentsAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "horizontal-segments"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1044,7 +1044,7 @@ public Integer getDr3dHorizontalSegmentsAttribute() { public void setDr3dHorizontalSegmentsAttribute(Integer dr3dHorizontalSegmentsValue) { Dr3dHorizontalSegmentsAttribute attr = new Dr3dHorizontalSegmentsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(dr3dHorizontalSegmentsValue.intValue()); + attr.setValue(dr3dHorizontalSegmentsValue.toString()); } /** @@ -1319,7 +1319,7 @@ public void setDr3dTextureModeAttribute(String dr3dTextureModeValue) { public Integer getDr3dVerticalSegmentsAttribute() { Dr3dVerticalSegmentsAttribute attr = (Dr3dVerticalSegmentsAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "vertical-segments"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1332,7 +1332,7 @@ public Integer getDr3dVerticalSegmentsAttribute() { public void setDr3dVerticalSegmentsAttribute(Integer dr3dVerticalSegmentsValue) { Dr3dVerticalSegmentsAttribute attr = new Dr3dVerticalSegmentsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(dr3dVerticalSegmentsValue.intValue()); + attr.setValue(dr3dVerticalSegmentsValue.toString()); } /** @@ -1343,7 +1343,7 @@ public void setDr3dVerticalSegmentsAttribute(Integer dr3dVerticalSegmentsValue) public Boolean getDrawAutoGrowHeightAttribute() { DrawAutoGrowHeightAttribute attr = (DrawAutoGrowHeightAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "auto-grow-height"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1356,7 +1356,7 @@ public Boolean getDrawAutoGrowHeightAttribute() { public void setDrawAutoGrowHeightAttribute(Boolean drawAutoGrowHeightValue) { DrawAutoGrowHeightAttribute attr = new DrawAutoGrowHeightAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawAutoGrowHeightValue.booleanValue()); + attr.setValue(drawAutoGrowHeightValue.toString()); } /** @@ -1367,7 +1367,7 @@ public void setDrawAutoGrowHeightAttribute(Boolean drawAutoGrowHeightValue) { public Boolean getDrawAutoGrowWidthAttribute() { DrawAutoGrowWidthAttribute attr = (DrawAutoGrowWidthAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "auto-grow-width"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1380,7 +1380,7 @@ public Boolean getDrawAutoGrowWidthAttribute() { public void setDrawAutoGrowWidthAttribute(Boolean drawAutoGrowWidthValue) { DrawAutoGrowWidthAttribute attr = new DrawAutoGrowWidthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawAutoGrowWidthValue.booleanValue()); + attr.setValue(drawAutoGrowWidthValue.toString()); } /** @@ -1511,7 +1511,7 @@ public void setDrawCaptionEscapeDirectionAttribute(String drawCaptionEscapeDirec public Boolean getDrawCaptionFitLineLengthAttribute() { DrawCaptionFitLineLengthAttribute attr = (DrawCaptionFitLineLengthAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "caption-fit-line-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1524,7 +1524,7 @@ public Boolean getDrawCaptionFitLineLengthAttribute() { public void setDrawCaptionFitLineLengthAttribute(Boolean drawCaptionFitLineLengthValue) { DrawCaptionFitLineLengthAttribute attr = new DrawCaptionFitLineLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawCaptionFitLineLengthValue.booleanValue()); + attr.setValue(drawCaptionFitLineLengthValue.toString()); } /** @@ -1607,7 +1607,7 @@ public void setDrawCaptionTypeAttribute(String drawCaptionTypeValue) { public Boolean getDrawColorInversionAttribute() { DrawColorInversionAttribute attr = (DrawColorInversionAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "color-inversion"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1620,7 +1620,7 @@ public Boolean getDrawColorInversionAttribute() { public void setDrawColorInversionAttribute(Boolean drawColorInversionValue) { DrawColorInversionAttribute attr = new DrawColorInversionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawColorInversionValue.booleanValue()); + attr.setValue(drawColorInversionValue.toString()); } /** @@ -1679,7 +1679,7 @@ public void setDrawContrastAttribute(String drawContrastValue) { public Integer getDrawDecimalPlacesAttribute() { DrawDecimalPlacesAttribute attr = (DrawDecimalPlacesAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "decimal-places"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1692,7 +1692,7 @@ public Integer getDrawDecimalPlacesAttribute() { public void setDrawDecimalPlacesAttribute(Integer drawDecimalPlacesValue) { DrawDecimalPlacesAttribute attr = new DrawDecimalPlacesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawDecimalPlacesValue.intValue()); + attr.setValue(drawDecimalPlacesValue.toString()); } /** @@ -1895,7 +1895,7 @@ public void setDrawFillHatchNameAttribute(String drawFillHatchNameValue) { public Boolean getDrawFillHatchSolidAttribute() { DrawFillHatchSolidAttribute attr = (DrawFillHatchSolidAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "fill-hatch-solid"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1908,7 +1908,7 @@ public Boolean getDrawFillHatchSolidAttribute() { public void setDrawFillHatchSolidAttribute(Boolean drawFillHatchSolidValue) { DrawFillHatchSolidAttribute attr = new DrawFillHatchSolidAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawFillHatchSolidValue.booleanValue()); + attr.setValue(drawFillHatchSolidValue.toString()); } /** @@ -2063,7 +2063,7 @@ public void setDrawFillImageWidthAttribute(String drawFillImageWidthValue) { public Boolean getDrawFitToContourAttribute() { DrawFitToContourAttribute attr = (DrawFitToContourAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "fit-to-contour"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2076,7 +2076,7 @@ public Boolean getDrawFitToContourAttribute() { public void setDrawFitToContourAttribute(Boolean drawFitToContourValue) { DrawFitToContourAttribute attr = new DrawFitToContourAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawFitToContourValue.booleanValue()); + attr.setValue(drawFitToContourValue.toString()); } /** @@ -2087,7 +2087,7 @@ public void setDrawFitToContourAttribute(Boolean drawFitToContourValue) { public Boolean getDrawFitToSizeAttribute() { DrawFitToSizeAttribute attr = (DrawFitToSizeAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "fit-to-size"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2100,7 +2100,7 @@ public Boolean getDrawFitToSizeAttribute() { public void setDrawFitToSizeAttribute(Boolean drawFitToSizeValue) { DrawFitToSizeAttribute attr = new DrawFitToSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawFitToSizeValue.booleanValue()); + attr.setValue(drawFitToSizeValue.toString()); } /** @@ -2111,7 +2111,7 @@ public void setDrawFitToSizeAttribute(Boolean drawFitToSizeValue) { public Boolean getDrawFrameDisplayBorderAttribute() { DrawFrameDisplayBorderAttribute attr = (DrawFrameDisplayBorderAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "frame-display-border"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2124,7 +2124,7 @@ public Boolean getDrawFrameDisplayBorderAttribute() { public void setDrawFrameDisplayBorderAttribute(Boolean drawFrameDisplayBorderValue) { DrawFrameDisplayBorderAttribute attr = new DrawFrameDisplayBorderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawFrameDisplayBorderValue.booleanValue()); + attr.setValue(drawFrameDisplayBorderValue.toString()); } /** @@ -2135,7 +2135,7 @@ public void setDrawFrameDisplayBorderAttribute(Boolean drawFrameDisplayBorderVal public Boolean getDrawFrameDisplayScrollbarAttribute() { DrawFrameDisplayScrollbarAttribute attr = (DrawFrameDisplayScrollbarAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "frame-display-scrollbar"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2148,7 +2148,7 @@ public Boolean getDrawFrameDisplayScrollbarAttribute() { public void setDrawFrameDisplayScrollbarAttribute(Boolean drawFrameDisplayScrollbarValue) { DrawFrameDisplayScrollbarAttribute attr = new DrawFrameDisplayScrollbarAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawFrameDisplayScrollbarValue.booleanValue()); + attr.setValue(drawFrameDisplayScrollbarValue.toString()); } /** @@ -2231,7 +2231,7 @@ public void setDrawGammaAttribute(String drawGammaValue) { public Integer getDrawGradientStepCountAttribute() { DrawGradientStepCountAttribute attr = (DrawGradientStepCountAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "gradient-step-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -2244,7 +2244,7 @@ public Integer getDrawGradientStepCountAttribute() { public void setDrawGradientStepCountAttribute(Integer drawGradientStepCountValue) { DrawGradientStepCountAttribute attr = new DrawGradientStepCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawGradientStepCountValue.intValue()); + attr.setValue(drawGradientStepCountValue.toString()); } /** @@ -2423,7 +2423,7 @@ public void setDrawMarkerEndAttribute(String drawMarkerEndValue) { public Boolean getDrawMarkerEndCenterAttribute() { DrawMarkerEndCenterAttribute attr = (DrawMarkerEndCenterAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "marker-end-center"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2436,7 +2436,7 @@ public Boolean getDrawMarkerEndCenterAttribute() { public void setDrawMarkerEndCenterAttribute(Boolean drawMarkerEndCenterValue) { DrawMarkerEndCenterAttribute attr = new DrawMarkerEndCenterAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawMarkerEndCenterValue.booleanValue()); + attr.setValue(drawMarkerEndCenterValue.toString()); } /** @@ -2495,7 +2495,7 @@ public void setDrawMarkerStartAttribute(String drawMarkerStartValue) { public Boolean getDrawMarkerStartCenterAttribute() { DrawMarkerStartCenterAttribute attr = (DrawMarkerStartCenterAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "marker-start-center"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2508,7 +2508,7 @@ public Boolean getDrawMarkerStartCenterAttribute() { public void setDrawMarkerStartCenterAttribute(Boolean drawMarkerStartCenterValue) { DrawMarkerStartCenterAttribute attr = new DrawMarkerStartCenterAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawMarkerStartCenterValue.booleanValue()); + attr.setValue(drawMarkerStartCenterValue.toString()); } /** @@ -2591,7 +2591,7 @@ public void setDrawMeasureVerticalAlignAttribute(String drawMeasureVerticalAlign public Integer getDrawOleDrawAspectAttribute() { DrawOleDrawAspectAttribute attr = (DrawOleDrawAspectAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "ole-draw-aspect"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -2604,7 +2604,7 @@ public Integer getDrawOleDrawAspectAttribute() { public void setDrawOleDrawAspectAttribute(Integer drawOleDrawAspectValue) { DrawOleDrawAspectAttribute attr = new DrawOleDrawAspectAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawOleDrawAspectValue.intValue()); + attr.setValue(drawOleDrawAspectValue.toString()); } /** @@ -2663,7 +2663,7 @@ public void setDrawOpacityNameAttribute(String drawOpacityNameValue) { public Boolean getDrawParallelAttribute() { DrawParallelAttribute attr = (DrawParallelAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "parallel"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2676,7 +2676,7 @@ public Boolean getDrawParallelAttribute() { public void setDrawParallelAttribute(Boolean drawParallelValue) { DrawParallelAttribute attr = new DrawParallelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawParallelValue.booleanValue()); + attr.setValue(drawParallelValue.toString()); } /** @@ -2879,7 +2879,7 @@ public void setDrawShadowOpacityAttribute(String drawShadowOpacityValue) { public Boolean getDrawShowUnitAttribute() { DrawShowUnitAttribute attr = (DrawShowUnitAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "show-unit"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2892,7 +2892,7 @@ public Boolean getDrawShowUnitAttribute() { public void setDrawShowUnitAttribute(Boolean drawShowUnitValue) { DrawShowUnitAttribute attr = new DrawShowUnitAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawShowUnitValue.booleanValue()); + attr.setValue(drawShowUnitValue.toString()); } /** @@ -3983,7 +3983,7 @@ public void setStyleBorderLineWidthTopAttribute(String styleBorderLineWidthTopVa public Boolean getStyleEditableAttribute() { StyleEditableAttribute attr = (StyleEditableAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "editable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -3996,7 +3996,7 @@ public Boolean getStyleEditableAttribute() { public void setStyleEditableAttribute(Boolean styleEditableValue) { StyleEditableAttribute attr = new StyleEditableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleEditableValue.booleanValue()); + attr.setValue(styleEditableValue.toString()); } /** @@ -4007,7 +4007,7 @@ public void setStyleEditableAttribute(Boolean styleEditableValue) { public Boolean getStyleFlowWithTextAttribute() { StyleFlowWithTextAttribute attr = (StyleFlowWithTextAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "flow-with-text"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -4020,7 +4020,7 @@ public Boolean getStyleFlowWithTextAttribute() { public void setStyleFlowWithTextAttribute(Boolean styleFlowWithTextValue) { StyleFlowWithTextAttribute attr = new StyleFlowWithTextAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleFlowWithTextValue.booleanValue()); + attr.setValue(styleFlowWithTextValue.toString()); } /** @@ -4103,7 +4103,7 @@ public void setStyleMirrorAttribute(String styleMirrorValue) { public Integer getStyleNumberWrappedParagraphsAttribute() { StyleNumberWrappedParagraphsAttribute attr = (StyleNumberWrappedParagraphsAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "number-wrapped-paragraphs"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -4116,7 +4116,7 @@ public Integer getStyleNumberWrappedParagraphsAttribute() { public void setStyleNumberWrappedParagraphsAttribute(Integer styleNumberWrappedParagraphsValue) { StyleNumberWrappedParagraphsAttribute attr = new StyleNumberWrappedParagraphsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleNumberWrappedParagraphsValue.intValue()); + attr.setValue(styleNumberWrappedParagraphsValue.toString()); } /** @@ -4151,7 +4151,7 @@ public void setStyleOverflowBehaviorAttribute(String styleOverflowBehaviorValue) public Boolean getStylePrintContentAttribute() { StylePrintContentAttribute attr = (StylePrintContentAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "print-content"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -4164,7 +4164,7 @@ public Boolean getStylePrintContentAttribute() { public void setStylePrintContentAttribute(Boolean stylePrintContentValue) { StylePrintContentAttribute attr = new StylePrintContentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(stylePrintContentValue.booleanValue()); + attr.setValue(stylePrintContentValue.toString()); } /** @@ -4319,7 +4319,7 @@ public void setStyleShadowAttribute(String styleShadowValue) { public Boolean getStyleShrinkToFitAttribute() { StyleShrinkToFitAttribute attr = (StyleShrinkToFitAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "shrink-to-fit"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -4332,7 +4332,7 @@ public Boolean getStyleShrinkToFitAttribute() { public void setStyleShrinkToFitAttribute(Boolean styleShrinkToFitValue) { StyleShrinkToFitAttribute attr = new StyleShrinkToFitAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleShrinkToFitValue.booleanValue()); + attr.setValue(styleShrinkToFitValue.toString()); } /** @@ -4415,7 +4415,7 @@ public void setStyleWrapAttribute(String styleWrapValue) { public Boolean getStyleWrapContourAttribute() { StyleWrapContourAttribute attr = (StyleWrapContourAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "wrap-contour"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -4428,7 +4428,7 @@ public Boolean getStyleWrapContourAttribute() { public void setStyleWrapContourAttribute(Boolean styleWrapContourValue) { StyleWrapContourAttribute attr = new StyleWrapContourAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleWrapContourValue.booleanValue()); + attr.setValue(styleWrapContourValue.toString()); } /** @@ -4727,7 +4727,7 @@ public void setSvgYAttribute(String svgYValue) { public Integer getTextAnchorPageNumberAttribute() { TextAnchorPageNumberAttribute attr = (TextAnchorPageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "anchor-page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -4740,7 +4740,7 @@ public Integer getTextAnchorPageNumberAttribute() { public void setTextAnchorPageNumberAttribute(Integer textAnchorPageNumberValue) { TextAnchorPageNumberAttribute attr = new TextAnchorPageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textAnchorPageNumberValue.intValue()); + attr.setValue(textAnchorPageNumberValue.toString()); } /** @@ -4847,7 +4847,7 @@ public void setTextAnimationDirectionAttribute(String textAnimationDirectionValu public Integer getTextAnimationRepeatAttribute() { TextAnimationRepeatAttribute attr = (TextAnimationRepeatAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "animation-repeat"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -4860,7 +4860,7 @@ public Integer getTextAnimationRepeatAttribute() { public void setTextAnimationRepeatAttribute(Integer textAnimationRepeatValue) { TextAnimationRepeatAttribute attr = new TextAnimationRepeatAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textAnimationRepeatValue.intValue()); + attr.setValue(textAnimationRepeatValue.toString()); } /** @@ -4871,7 +4871,7 @@ public void setTextAnimationRepeatAttribute(Integer textAnimationRepeatValue) { public Boolean getTextAnimationStartInsideAttribute() { TextAnimationStartInsideAttribute attr = (TextAnimationStartInsideAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "animation-start-inside"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -4884,7 +4884,7 @@ public Boolean getTextAnimationStartInsideAttribute() { public void setTextAnimationStartInsideAttribute(Boolean textAnimationStartInsideValue) { TextAnimationStartInsideAttribute attr = new TextAnimationStartInsideAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textAnimationStartInsideValue.booleanValue()); + attr.setValue(textAnimationStartInsideValue.toString()); } /** @@ -4919,7 +4919,7 @@ public void setTextAnimationStepsAttribute(String textAnimationStepsValue) { public Boolean getTextAnimationStopInsideAttribute() { TextAnimationStopInsideAttribute attr = (TextAnimationStopInsideAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "animation-stop-inside"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -4932,7 +4932,7 @@ public Boolean getTextAnimationStopInsideAttribute() { public void setTextAnimationStopInsideAttribute(Boolean textAnimationStopInsideValue) { TextAnimationStopInsideAttribute attr = new TextAnimationStopInsideAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textAnimationStopInsideValue.booleanValue()); + attr.setValue(textAnimationStopInsideValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleHeaderElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleHeaderElement.java index 82418d9c12..28ddec9c76 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleHeaderElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleHeaderElement.java @@ -90,7 +90,7 @@ public OdfName getOdfName() { public Boolean getStyleDisplayAttribute() { StyleDisplayAttribute attr = (StyleDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(StyleDisplayAttribute.DEFAULT_VALUE); } @@ -103,7 +103,7 @@ public Boolean getStyleDisplayAttribute() { public void setStyleDisplayAttribute(Boolean styleDisplayValue) { StyleDisplayAttribute attr = new StyleDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleDisplayValue.booleanValue()); + attr.setValue(styleDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleHeaderFirstElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleHeaderFirstElement.java index e61bace526..0812728dfa 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleHeaderFirstElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleHeaderFirstElement.java @@ -90,7 +90,7 @@ public OdfName getOdfName() { public Boolean getStyleDisplayAttribute() { StyleDisplayAttribute attr = (StyleDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(StyleDisplayAttribute.DEFAULT_VALUE); } @@ -103,7 +103,7 @@ public Boolean getStyleDisplayAttribute() { public void setStyleDisplayAttribute(Boolean styleDisplayValue) { StyleDisplayAttribute attr = new StyleDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleDisplayValue.booleanValue()); + attr.setValue(styleDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleHeaderFooterPropertiesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleHeaderFooterPropertiesElement.java index 41674c70c4..8214c3bb0e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleHeaderFooterPropertiesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleHeaderFooterPropertiesElement.java @@ -698,7 +698,7 @@ public void setStyleBorderLineWidthTopAttribute(String styleBorderLineWidthTopVa public Boolean getStyleDynamicSpacingAttribute() { StyleDynamicSpacingAttribute attr = (StyleDynamicSpacingAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "dynamic-spacing"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -711,7 +711,7 @@ public Boolean getStyleDynamicSpacingAttribute() { public void setStyleDynamicSpacingAttribute(Boolean styleDynamicSpacingValue) { StyleDynamicSpacingAttribute attr = new StyleDynamicSpacingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleDynamicSpacingValue.booleanValue()); + attr.setValue(styleDynamicSpacingValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleHeaderLeftElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleHeaderLeftElement.java index 55c0ea1927..2cf19eeee2 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleHeaderLeftElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleHeaderLeftElement.java @@ -90,7 +90,7 @@ public OdfName getOdfName() { public Boolean getStyleDisplayAttribute() { StyleDisplayAttribute attr = (StyleDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(StyleDisplayAttribute.DEFAULT_VALUE); } @@ -103,7 +103,7 @@ public Boolean getStyleDisplayAttribute() { public void setStyleDisplayAttribute(Boolean styleDisplayValue) { StyleDisplayAttribute attr = new StyleDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleDisplayValue.booleanValue()); + attr.setValue(styleDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StylePageLayoutPropertiesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StylePageLayoutPropertiesElement.java index c67fc068b6..e234a98a15 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StylePageLayoutPropertiesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StylePageLayoutPropertiesElement.java @@ -830,7 +830,7 @@ public void setStyleBorderLineWidthTopAttribute(String styleBorderLineWidthTopVa public Integer getStyleFirstPageNumberAttribute() { StyleFirstPageNumberAttribute attr = (StyleFirstPageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "first-page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -843,7 +843,7 @@ public Integer getStyleFirstPageNumberAttribute() { public void setStyleFirstPageNumberAttribute(Integer styleFirstPageNumberValue) { StyleFirstPageNumberAttribute attr = new StyleFirstPageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleFirstPageNumberValue.intValue()); + attr.setValue(styleFirstPageNumberValue.toString()); } /** @@ -950,7 +950,7 @@ public void setStyleLayoutGridColorAttribute(String styleLayoutGridColorValue) { public Boolean getStyleLayoutGridDisplayAttribute() { StyleLayoutGridDisplayAttribute attr = (StyleLayoutGridDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "layout-grid-display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -963,7 +963,7 @@ public Boolean getStyleLayoutGridDisplayAttribute() { public void setStyleLayoutGridDisplayAttribute(Boolean styleLayoutGridDisplayValue) { StyleLayoutGridDisplayAttribute attr = new StyleLayoutGridDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleLayoutGridDisplayValue.booleanValue()); + attr.setValue(styleLayoutGridDisplayValue.toString()); } /** @@ -974,7 +974,7 @@ public void setStyleLayoutGridDisplayAttribute(Boolean styleLayoutGridDisplayVal public Integer getStyleLayoutGridLinesAttribute() { StyleLayoutGridLinesAttribute attr = (StyleLayoutGridLinesAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "layout-grid-lines"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -987,7 +987,7 @@ public Integer getStyleLayoutGridLinesAttribute() { public void setStyleLayoutGridLinesAttribute(Integer styleLayoutGridLinesValue) { StyleLayoutGridLinesAttribute attr = new StyleLayoutGridLinesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleLayoutGridLinesValue.intValue()); + attr.setValue(styleLayoutGridLinesValue.toString()); } /** @@ -1022,7 +1022,7 @@ public void setStyleLayoutGridModeAttribute(String styleLayoutGridModeValue) { public Boolean getStyleLayoutGridPrintAttribute() { StyleLayoutGridPrintAttribute attr = (StyleLayoutGridPrintAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "layout-grid-print"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1035,7 +1035,7 @@ public Boolean getStyleLayoutGridPrintAttribute() { public void setStyleLayoutGridPrintAttribute(Boolean styleLayoutGridPrintValue) { StyleLayoutGridPrintAttribute attr = new StyleLayoutGridPrintAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleLayoutGridPrintValue.booleanValue()); + attr.setValue(styleLayoutGridPrintValue.toString()); } /** @@ -1046,7 +1046,7 @@ public void setStyleLayoutGridPrintAttribute(Boolean styleLayoutGridPrintValue) public Boolean getStyleLayoutGridRubyBelowAttribute() { StyleLayoutGridRubyBelowAttribute attr = (StyleLayoutGridRubyBelowAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "layout-grid-ruby-below"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1059,7 +1059,7 @@ public Boolean getStyleLayoutGridRubyBelowAttribute() { public void setStyleLayoutGridRubyBelowAttribute(Boolean styleLayoutGridRubyBelowValue) { StyleLayoutGridRubyBelowAttribute attr = new StyleLayoutGridRubyBelowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleLayoutGridRubyBelowValue.booleanValue()); + attr.setValue(styleLayoutGridRubyBelowValue.toString()); } /** @@ -1094,7 +1094,7 @@ public void setStyleLayoutGridRubyHeightAttribute(String styleLayoutGridRubyHeig public Boolean getStyleLayoutGridSnapToAttribute() { StyleLayoutGridSnapToAttribute attr = (StyleLayoutGridSnapToAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "layout-grid-snap-to"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1107,7 +1107,7 @@ public Boolean getStyleLayoutGridSnapToAttribute() { public void setStyleLayoutGridSnapToAttribute(Boolean styleLayoutGridSnapToValue) { StyleLayoutGridSnapToAttribute attr = new StyleLayoutGridSnapToAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleLayoutGridSnapToValue.booleanValue()); + attr.setValue(styleLayoutGridSnapToValue.toString()); } /** @@ -1118,7 +1118,7 @@ public void setStyleLayoutGridSnapToAttribute(Boolean styleLayoutGridSnapToValue public Boolean getStyleLayoutGridStandardModeAttribute() { StyleLayoutGridStandardModeAttribute attr = (StyleLayoutGridStandardModeAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "layout-grid-standard-mode"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1131,7 +1131,7 @@ public Boolean getStyleLayoutGridStandardModeAttribute() { public void setStyleLayoutGridStandardModeAttribute(Boolean styleLayoutGridStandardModeValue) { StyleLayoutGridStandardModeAttribute attr = new StyleLayoutGridStandardModeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleLayoutGridStandardModeValue.booleanValue()); + attr.setValue(styleLayoutGridStandardModeValue.toString()); } /** @@ -1168,7 +1168,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1181,7 +1181,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -1384,7 +1384,7 @@ public void setStyleScaleToAttribute(String styleScaleToValue) { public Integer getStyleScaleToXAttribute() { StyleScaleToXAttribute attr = (StyleScaleToXAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "scale-to-X"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1397,7 +1397,7 @@ public Integer getStyleScaleToXAttribute() { public void setStyleScaleToXAttribute(Integer styleScaleToXValue) { StyleScaleToXAttribute attr = new StyleScaleToXAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleScaleToXValue.intValue()); + attr.setValue(styleScaleToXValue.toString()); } /** @@ -1408,7 +1408,7 @@ public void setStyleScaleToXAttribute(Integer styleScaleToXValue) { public Integer getStyleScaleToYAttribute() { StyleScaleToYAttribute attr = (StyleScaleToYAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "scale-to-Y"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1421,7 +1421,7 @@ public Integer getStyleScaleToYAttribute() { public void setStyleScaleToYAttribute(Integer styleScaleToYValue) { StyleScaleToYAttribute attr = new StyleScaleToYAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleScaleToYValue.intValue()); + attr.setValue(styleScaleToYValue.toString()); } /** @@ -1432,7 +1432,7 @@ public void setStyleScaleToYAttribute(Integer styleScaleToYValue) { public Integer getStyleScaleToPagesAttribute() { StyleScaleToPagesAttribute attr = (StyleScaleToPagesAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "scale-to-pages"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1445,7 +1445,7 @@ public Integer getStyleScaleToPagesAttribute() { public void setStyleScaleToPagesAttribute(Integer styleScaleToPagesValue) { StyleScaleToPagesAttribute attr = new StyleScaleToPagesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleScaleToPagesValue.intValue()); + attr.setValue(styleScaleToPagesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleParagraphPropertiesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleParagraphPropertiesElement.java index 36d38efd65..e09d7b9fa2 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleParagraphPropertiesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleParagraphPropertiesElement.java @@ -502,7 +502,7 @@ public void setFoHyphenationKeepAttribute(String foHyphenationKeepValue) { public Integer getFoHyphenationLadderCountAttribute() { FoHyphenationLadderCountAttribute attr = (FoHyphenationLadderCountAttribute) getOdfAttribute(OdfDocumentNamespace.FO, "hyphenation-ladder-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -515,7 +515,7 @@ public Integer getFoHyphenationLadderCountAttribute() { public void setFoHyphenationLadderCountAttribute(Integer foHyphenationLadderCountValue) { FoHyphenationLadderCountAttribute attr = new FoHyphenationLadderCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(foHyphenationLadderCountValue.intValue()); + attr.setValue(foHyphenationLadderCountValue.toString()); } /** @@ -718,7 +718,7 @@ public void setFoMarginTopAttribute(String foMarginTopValue) { public Integer getFoOrphansAttribute() { FoOrphansAttribute attr = (FoOrphansAttribute) getOdfAttribute(OdfDocumentNamespace.FO, "orphans"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -731,7 +731,7 @@ public Integer getFoOrphansAttribute() { public void setFoOrphansAttribute(Integer foOrphansValue) { FoOrphansAttribute attr = new FoOrphansAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(foOrphansValue.intValue()); + attr.setValue(foOrphansValue.toString()); } /** @@ -934,7 +934,7 @@ public void setFoTextIndentAttribute(String foTextIndentValue) { public Integer getFoWidowsAttribute() { FoWidowsAttribute attr = (FoWidowsAttribute) getOdfAttribute(OdfDocumentNamespace.FO, "widows"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -947,7 +947,7 @@ public Integer getFoWidowsAttribute() { public void setFoWidowsAttribute(Integer foWidowsValue) { FoWidowsAttribute attr = new FoWidowsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(foWidowsValue.intValue()); + attr.setValue(foWidowsValue.toString()); } /** @@ -958,7 +958,7 @@ public void setFoWidowsAttribute(Integer foWidowsValue) { public Boolean getStyleAutoTextIndentAttribute() { StyleAutoTextIndentAttribute attr = (StyleAutoTextIndentAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "auto-text-indent"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -971,7 +971,7 @@ public Boolean getStyleAutoTextIndentAttribute() { public void setStyleAutoTextIndentAttribute(Boolean styleAutoTextIndentValue) { StyleAutoTextIndentAttribute attr = new StyleAutoTextIndentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleAutoTextIndentValue.booleanValue()); + attr.setValue(styleAutoTextIndentValue.toString()); } /** @@ -1126,7 +1126,7 @@ public void setStyleBorderLineWidthTopAttribute(String styleBorderLineWidthTopVa public Boolean getStyleContextualSpacingAttribute() { StyleContextualSpacingAttribute attr = (StyleContextualSpacingAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "contextual-spacing"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1139,7 +1139,7 @@ public Boolean getStyleContextualSpacingAttribute() { public void setStyleContextualSpacingAttribute(Boolean styleContextualSpacingValue) { StyleContextualSpacingAttribute attr = new StyleContextualSpacingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleContextualSpacingValue.booleanValue()); + attr.setValue(styleContextualSpacingValue.toString()); } /** @@ -1150,7 +1150,7 @@ public void setStyleContextualSpacingAttribute(Boolean styleContextualSpacingVal public Boolean getStyleFontIndependentLineSpacingAttribute() { StyleFontIndependentLineSpacingAttribute attr = (StyleFontIndependentLineSpacingAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "font-independent-line-spacing"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1163,7 +1163,7 @@ public Boolean getStyleFontIndependentLineSpacingAttribute() { public void setStyleFontIndependentLineSpacingAttribute(Boolean styleFontIndependentLineSpacingValue) { StyleFontIndependentLineSpacingAttribute attr = new StyleFontIndependentLineSpacingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleFontIndependentLineSpacingValue.booleanValue()); + attr.setValue(styleFontIndependentLineSpacingValue.toString()); } /** @@ -1174,7 +1174,7 @@ public void setStyleFontIndependentLineSpacingAttribute(Boolean styleFontIndepen public Boolean getStyleJoinBorderAttribute() { StyleJoinBorderAttribute attr = (StyleJoinBorderAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "join-border"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1187,7 +1187,7 @@ public Boolean getStyleJoinBorderAttribute() { public void setStyleJoinBorderAttribute(Boolean styleJoinBorderValue) { StyleJoinBorderAttribute attr = new StyleJoinBorderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleJoinBorderValue.booleanValue()); + attr.setValue(styleJoinBorderValue.toString()); } /** @@ -1198,7 +1198,7 @@ public void setStyleJoinBorderAttribute(Boolean styleJoinBorderValue) { public Boolean getStyleJustifySingleWordAttribute() { StyleJustifySingleWordAttribute attr = (StyleJustifySingleWordAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "justify-single-word"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1211,7 +1211,7 @@ public Boolean getStyleJustifySingleWordAttribute() { public void setStyleJustifySingleWordAttribute(Boolean styleJustifySingleWordValue) { StyleJustifySingleWordAttribute attr = new StyleJustifySingleWordAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleJustifySingleWordValue.booleanValue()); + attr.setValue(styleJustifySingleWordValue.toString()); } /** @@ -1294,7 +1294,7 @@ public void setStyleLineSpacingAttribute(String styleLineSpacingValue) { public Integer getStylePageNumberAttribute() { StylePageNumberAttribute attr = (StylePageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1307,7 +1307,7 @@ public Integer getStylePageNumberAttribute() { public void setStylePageNumberAttribute(Integer stylePageNumberValue) { StylePageNumberAttribute attr = new StylePageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(stylePageNumberValue.intValue()); + attr.setValue(stylePageNumberValue.toString()); } /** @@ -1342,7 +1342,7 @@ public void setStylePunctuationWrapAttribute(String stylePunctuationWrapValue) { public Boolean getStyleRegisterTrueAttribute() { StyleRegisterTrueAttribute attr = (StyleRegisterTrueAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "register-true"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1355,7 +1355,7 @@ public Boolean getStyleRegisterTrueAttribute() { public void setStyleRegisterTrueAttribute(Boolean styleRegisterTrueValue) { StyleRegisterTrueAttribute attr = new StyleRegisterTrueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleRegisterTrueValue.booleanValue()); + attr.setValue(styleRegisterTrueValue.toString()); } /** @@ -1390,7 +1390,7 @@ public void setStyleShadowAttribute(String styleShadowValue) { public Boolean getStyleSnapToLayoutGridAttribute() { StyleSnapToLayoutGridAttribute attr = (StyleSnapToLayoutGridAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "snap-to-layout-grid"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1403,7 +1403,7 @@ public Boolean getStyleSnapToLayoutGridAttribute() { public void setStyleSnapToLayoutGridAttribute(Boolean styleSnapToLayoutGridValue) { StyleSnapToLayoutGridAttribute attr = new StyleSnapToLayoutGridAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleSnapToLayoutGridValue.booleanValue()); + attr.setValue(styleSnapToLayoutGridValue.toString()); } /** @@ -1510,7 +1510,7 @@ public void setStyleWritingModeAttribute(String styleWritingModeValue) { public Boolean getStyleWritingModeAutomaticAttribute() { StyleWritingModeAutomaticAttribute attr = (StyleWritingModeAutomaticAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "writing-mode-automatic"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1523,7 +1523,7 @@ public Boolean getStyleWritingModeAutomaticAttribute() { public void setStyleWritingModeAutomaticAttribute(Boolean styleWritingModeAutomaticValue) { StyleWritingModeAutomaticAttribute attr = new StyleWritingModeAutomaticAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleWritingModeAutomaticValue.booleanValue()); + attr.setValue(styleWritingModeAutomaticValue.toString()); } /** @@ -1534,7 +1534,7 @@ public void setStyleWritingModeAutomaticAttribute(Boolean styleWritingModeAutoma public Integer getTextLineNumberAttribute() { TextLineNumberAttribute attr = (TextLineNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "line-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1547,7 +1547,7 @@ public Integer getTextLineNumberAttribute() { public void setTextLineNumberAttribute(Integer textLineNumberValue) { TextLineNumberAttribute attr = new TextLineNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textLineNumberValue.intValue()); + attr.setValue(textLineNumberValue.toString()); } /** @@ -1558,7 +1558,7 @@ public void setTextLineNumberAttribute(Integer textLineNumberValue) { public Boolean getTextNumberLinesAttribute() { TextNumberLinesAttribute attr = (TextNumberLinesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "number-lines"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1571,7 +1571,7 @@ public Boolean getTextNumberLinesAttribute() { public void setTextNumberLinesAttribute(Boolean textNumberLinesValue) { TextNumberLinesAttribute attr = new TextNumberLinesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textNumberLinesValue.booleanValue()); + attr.setValue(textNumberLinesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleSectionPropertiesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleSectionPropertiesElement.java index d518dacafb..1467057800 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleSectionPropertiesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleSectionPropertiesElement.java @@ -171,7 +171,7 @@ public void setFoMarginRightAttribute(String foMarginRightValue) { public Boolean getStyleEditableAttribute() { StyleEditableAttribute attr = (StyleEditableAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "editable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -184,7 +184,7 @@ public Boolean getStyleEditableAttribute() { public void setStyleEditableAttribute(Boolean styleEditableValue) { StyleEditableAttribute attr = new StyleEditableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleEditableValue.booleanValue()); + attr.setValue(styleEditableValue.toString()); } /** @@ -195,7 +195,7 @@ public void setStyleEditableAttribute(Boolean styleEditableValue) { public Boolean getStyleProtectAttribute() { StyleProtectAttribute attr = (StyleProtectAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "protect"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -208,7 +208,7 @@ public Boolean getStyleProtectAttribute() { public void setStyleProtectAttribute(Boolean styleProtectValue) { StyleProtectAttribute attr = new StyleProtectAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleProtectValue.booleanValue()); + attr.setValue(styleProtectValue.toString()); } /** @@ -243,7 +243,7 @@ public void setStyleWritingModeAttribute(String styleWritingModeValue) { public Boolean getTextDontBalanceTextColumnsAttribute() { TextDontBalanceTextColumnsAttribute attr = (TextDontBalanceTextColumnsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "dont-balance-text-columns"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -256,7 +256,7 @@ public Boolean getTextDontBalanceTextColumnsAttribute() { public void setTextDontBalanceTextColumnsAttribute(Boolean textDontBalanceTextColumnsValue) { TextDontBalanceTextColumnsAttribute attr = new TextDontBalanceTextColumnsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textDontBalanceTextColumnsValue.booleanValue()); + attr.setValue(textDontBalanceTextColumnsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleStyleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleStyleElement.java index b71d41ee0b..b8f0eb4a5d 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleStyleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleStyleElement.java @@ -81,7 +81,7 @@ public OdfName getOdfName() { public Boolean getStyleAutoUpdateAttribute() { StyleAutoUpdateAttribute attr = (StyleAutoUpdateAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "auto-update"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(StyleAutoUpdateAttribute.DEFAULT_VALUE); } @@ -94,7 +94,7 @@ public Boolean getStyleAutoUpdateAttribute() { public void setStyleAutoUpdateAttribute(Boolean styleAutoUpdateValue) { StyleAutoUpdateAttribute attr = new StyleAutoUpdateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleAutoUpdateValue.booleanValue()); + attr.setValue(styleAutoUpdateValue.toString()); } /** @@ -153,7 +153,7 @@ public void setStyleDataStyleNameAttribute(String styleDataStyleNameValue) { public Integer getStyleDefaultOutlineLevelAttribute() { StyleDefaultOutlineLevelAttribute attr = (StyleDefaultOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "default-outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -166,7 +166,7 @@ public Integer getStyleDefaultOutlineLevelAttribute() { public void setStyleDefaultOutlineLevelAttribute(Integer styleDefaultOutlineLevelValue) { StyleDefaultOutlineLevelAttribute attr = new StyleDefaultOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleDefaultOutlineLevelValue.intValue()); + attr.setValue(styleDefaultOutlineLevelValue.toString()); } /** @@ -227,7 +227,7 @@ public void setStyleFamilyAttribute(String styleFamilyValue) { public Integer getStyleListLevelAttribute() { StyleListLevelAttribute attr = (StyleListLevelAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "list-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -240,7 +240,7 @@ public Integer getStyleListLevelAttribute() { public void setStyleListLevelAttribute(Integer styleListLevelValue) { StyleListLevelAttribute attr = new StyleListLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleListLevelValue.intValue()); + attr.setValue(styleListLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleTableCellPropertiesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleTableCellPropertiesElement.java index 7251e77495..492823e929 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleTableCellPropertiesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleTableCellPropertiesElement.java @@ -638,7 +638,7 @@ public void setStyleCellProtectAttribute(String styleCellProtectValue) { public Integer getStyleDecimalPlacesAttribute() { StyleDecimalPlacesAttribute attr = (StyleDecimalPlacesAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "decimal-places"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -651,7 +651,7 @@ public Integer getStyleDecimalPlacesAttribute() { public void setStyleDecimalPlacesAttribute(Integer styleDecimalPlacesValue) { StyleDecimalPlacesAttribute attr = new StyleDecimalPlacesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleDecimalPlacesValue.intValue()); + attr.setValue(styleDecimalPlacesValue.toString()); } /** @@ -806,7 +806,7 @@ public void setStyleGlyphOrientationVerticalAttribute(String styleGlyphOrientati public Boolean getStylePrintContentAttribute() { StylePrintContentAttribute attr = (StylePrintContentAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "print-content"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -819,7 +819,7 @@ public Boolean getStylePrintContentAttribute() { public void setStylePrintContentAttribute(Boolean stylePrintContentValue) { StylePrintContentAttribute attr = new StylePrintContentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(stylePrintContentValue.booleanValue()); + attr.setValue(stylePrintContentValue.toString()); } /** @@ -830,7 +830,7 @@ public void setStylePrintContentAttribute(Boolean stylePrintContentValue) { public Boolean getStyleRepeatContentAttribute() { StyleRepeatContentAttribute attr = (StyleRepeatContentAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "repeat-content"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -843,7 +843,7 @@ public Boolean getStyleRepeatContentAttribute() { public void setStyleRepeatContentAttribute(Boolean styleRepeatContentValue) { StyleRepeatContentAttribute attr = new StyleRepeatContentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleRepeatContentValue.booleanValue()); + attr.setValue(styleRepeatContentValue.toString()); } /** @@ -926,7 +926,7 @@ public void setStyleShadowAttribute(String styleShadowValue) { public Boolean getStyleShrinkToFitAttribute() { StyleShrinkToFitAttribute attr = (StyleShrinkToFitAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "shrink-to-fit"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -939,7 +939,7 @@ public Boolean getStyleShrinkToFitAttribute() { public void setStyleShrinkToFitAttribute(Boolean styleShrinkToFitValue) { StyleShrinkToFitAttribute attr = new StyleShrinkToFitAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleShrinkToFitValue.booleanValue()); + attr.setValue(styleShrinkToFitValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleTableColumnPropertiesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleTableColumnPropertiesElement.java index 9025ed561b..fd86421f50 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleTableColumnPropertiesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleTableColumnPropertiesElement.java @@ -186,7 +186,7 @@ public void setStyleRelColumnWidthAttribute(String styleRelColumnWidthValue) { public Boolean getStyleUseOptimalColumnWidthAttribute() { StyleUseOptimalColumnWidthAttribute attr = (StyleUseOptimalColumnWidthAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "use-optimal-column-width"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -199,7 +199,7 @@ public Boolean getStyleUseOptimalColumnWidthAttribute() { public void setStyleUseOptimalColumnWidthAttribute(Boolean styleUseOptimalColumnWidthValue) { StyleUseOptimalColumnWidthAttribute attr = new StyleUseOptimalColumnWidthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleUseOptimalColumnWidthValue.booleanValue()); + attr.setValue(styleUseOptimalColumnWidthValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleTablePropertiesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleTablePropertiesElement.java index 16a36d09f7..e21b0f6c9f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleTablePropertiesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleTablePropertiesElement.java @@ -362,7 +362,7 @@ public void setFoMarginTopAttribute(String foMarginTopValue) { public Boolean getStyleMayBreakBetweenRowsAttribute() { StyleMayBreakBetweenRowsAttribute attr = (StyleMayBreakBetweenRowsAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "may-break-between-rows"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -375,7 +375,7 @@ public Boolean getStyleMayBreakBetweenRowsAttribute() { public void setStyleMayBreakBetweenRowsAttribute(Boolean styleMayBreakBetweenRowsValue) { StyleMayBreakBetweenRowsAttribute attr = new StyleMayBreakBetweenRowsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleMayBreakBetweenRowsValue.booleanValue()); + attr.setValue(styleMayBreakBetweenRowsValue.toString()); } /** @@ -386,7 +386,7 @@ public void setStyleMayBreakBetweenRowsAttribute(Boolean styleMayBreakBetweenRow public Integer getStylePageNumberAttribute() { StylePageNumberAttribute attr = (StylePageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -399,7 +399,7 @@ public Integer getStylePageNumberAttribute() { public void setStylePageNumberAttribute(Integer stylePageNumberValue) { StylePageNumberAttribute attr = new StylePageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(stylePageNumberValue.intValue()); + attr.setValue(stylePageNumberValue.toString()); } /** @@ -554,7 +554,7 @@ public void setTableBorderModelAttribute(String tableBorderModelValue) { public Boolean getTableDisplayAttribute() { TableDisplayAttribute attr = (TableDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -567,7 +567,7 @@ public Boolean getTableDisplayAttribute() { public void setTableDisplayAttribute(Boolean tableDisplayValue) { TableDisplayAttribute attr = new TableDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayValue.booleanValue()); + attr.setValue(tableDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleTableRowPropertiesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleTableRowPropertiesElement.java index 49c852f28b..eaf9077f03 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleTableRowPropertiesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleTableRowPropertiesElement.java @@ -242,7 +242,7 @@ public void setStyleRowHeightAttribute(String styleRowHeightValue) { public Boolean getStyleUseOptimalRowHeightAttribute() { StyleUseOptimalRowHeightAttribute attr = (StyleUseOptimalRowHeightAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "use-optimal-row-height"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -255,7 +255,7 @@ public Boolean getStyleUseOptimalRowHeightAttribute() { public void setStyleUseOptimalRowHeightAttribute(Boolean styleUseOptimalRowHeightValue) { StyleUseOptimalRowHeightAttribute attr = new StyleUseOptimalRowHeightAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleUseOptimalRowHeightValue.booleanValue()); + attr.setValue(styleUseOptimalRowHeightValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleTextPropertiesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleTextPropertiesElement.java index 34108e5c71..77b3a2f028 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleTextPropertiesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/style/StyleTextPropertiesElement.java @@ -598,7 +598,7 @@ public void setFoFontWeightAttribute(String foFontWeightValue) { public Boolean getFoHyphenateAttribute() { FoHyphenateAttribute attr = (FoHyphenateAttribute) getOdfAttribute(OdfDocumentNamespace.FO, "hyphenate"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -611,7 +611,7 @@ public Boolean getFoHyphenateAttribute() { public void setFoHyphenateAttribute(Boolean foHyphenateValue) { FoHyphenateAttribute attr = new FoHyphenateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(foHyphenateValue.booleanValue()); + attr.setValue(foHyphenateValue.toString()); } /** @@ -622,7 +622,7 @@ public void setFoHyphenateAttribute(Boolean foHyphenateValue) { public Integer getFoHyphenationPushCharCountAttribute() { FoHyphenationPushCharCountAttribute attr = (FoHyphenationPushCharCountAttribute) getOdfAttribute(OdfDocumentNamespace.FO, "hyphenation-push-char-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -635,7 +635,7 @@ public Integer getFoHyphenationPushCharCountAttribute() { public void setFoHyphenationPushCharCountAttribute(Integer foHyphenationPushCharCountValue) { FoHyphenationPushCharCountAttribute attr = new FoHyphenationPushCharCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(foHyphenationPushCharCountValue.intValue()); + attr.setValue(foHyphenationPushCharCountValue.toString()); } /** @@ -646,7 +646,7 @@ public void setFoHyphenationPushCharCountAttribute(Integer foHyphenationPushChar public Integer getFoHyphenationRemainCharCountAttribute() { FoHyphenationRemainCharCountAttribute attr = (FoHyphenationRemainCharCountAttribute) getOdfAttribute(OdfDocumentNamespace.FO, "hyphenation-remain-char-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -659,7 +659,7 @@ public Integer getFoHyphenationRemainCharCountAttribute() { public void setFoHyphenationRemainCharCountAttribute(Integer foHyphenationRemainCharCountValue) { FoHyphenationRemainCharCountAttribute attr = new FoHyphenationRemainCharCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(foHyphenationRemainCharCountValue.intValue()); + attr.setValue(foHyphenationRemainCharCountValue.toString()); } /** @@ -1534,7 +1534,7 @@ public void setStyleLanguageComplexAttribute(String styleLanguageComplexValue) { public Boolean getStyleLetterKerningAttribute() { StyleLetterKerningAttribute attr = (StyleLetterKerningAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "letter-kerning"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1547,7 +1547,7 @@ public Boolean getStyleLetterKerningAttribute() { public void setStyleLetterKerningAttribute(Boolean styleLetterKerningValue) { StyleLetterKerningAttribute attr = new StyleLetterKerningAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleLetterKerningValue.booleanValue()); + attr.setValue(styleLetterKerningValue.toString()); } /** @@ -1702,7 +1702,7 @@ public void setStyleScriptTypeAttribute(String styleScriptTypeValue) { public Boolean getStyleTextBlinkingAttribute() { StyleTextBlinkingAttribute attr = (StyleTextBlinkingAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "text-blinking"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1715,7 +1715,7 @@ public Boolean getStyleTextBlinkingAttribute() { public void setStyleTextBlinkingAttribute(Boolean styleTextBlinkingValue) { StyleTextBlinkingAttribute attr = new StyleTextBlinkingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleTextBlinkingValue.booleanValue()); + attr.setValue(styleTextBlinkingValue.toString()); } /** @@ -1990,7 +1990,7 @@ public void setStyleTextLineThroughWidthAttribute(String styleTextLineThroughWid public Boolean getStyleTextOutlineAttribute() { StyleTextOutlineAttribute attr = (StyleTextOutlineAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "text-outline"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2003,7 +2003,7 @@ public Boolean getStyleTextOutlineAttribute() { public void setStyleTextOutlineAttribute(Boolean styleTextOutlineValue) { StyleTextOutlineAttribute attr = new StyleTextOutlineAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleTextOutlineValue.booleanValue()); + attr.setValue(styleTextOutlineValue.toString()); } /** @@ -2350,7 +2350,7 @@ public void setStyleTextUnderlineWidthAttribute(String styleTextUnderlineWidthVa public Boolean getStyleUseWindowFontColorAttribute() { StyleUseWindowFontColorAttribute attr = (StyleUseWindowFontColorAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "use-window-font-color"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2363,7 +2363,7 @@ public Boolean getStyleUseWindowFontColorAttribute() { public void setStyleUseWindowFontColorAttribute(Boolean styleUseWindowFontColorValue) { StyleUseWindowFontColorAttribute attr = new StyleUseWindowFontColorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleUseWindowFontColorValue.booleanValue()); + attr.setValue(styleUseWindowFontColorValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/svg/SvgStopElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/svg/SvgStopElement.java index 0f7e0d5c9f..24dd32b903 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/svg/SvgStopElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/svg/SvgStopElement.java @@ -120,7 +120,7 @@ public void setSvgStopColorAttribute(String svgStopColorValue) { public Double getSvgStopOpacityAttribute() { SvgStopOpacityAttribute attr = (SvgStopOpacityAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "stop-opacity"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -133,7 +133,7 @@ public Double getSvgStopOpacityAttribute() { public void setSvgStopOpacityAttribute(Double svgStopOpacityValue) { SvgStopOpacityAttribute attr = new SvgStopOpacityAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(svgStopOpacityValue.doubleValue()); + attr.setValue(svgStopOpacityValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java index c0529efe7c..95542cf15f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java @@ -74,7 +74,7 @@ public OdfName getOdfName() { public Boolean getTableAutomaticFindLabelsAttribute() { TableAutomaticFindLabelsAttribute attr = (TableAutomaticFindLabelsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "automatic-find-labels"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableAutomaticFindLabelsAttribute.DEFAULT_VALUE); } @@ -87,7 +87,7 @@ public Boolean getTableAutomaticFindLabelsAttribute() { public void setTableAutomaticFindLabelsAttribute(Boolean tableAutomaticFindLabelsValue) { TableAutomaticFindLabelsAttribute attr = new TableAutomaticFindLabelsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableAutomaticFindLabelsValue.booleanValue()); + attr.setValue(tableAutomaticFindLabelsValue.toString()); } /** @@ -98,7 +98,7 @@ public void setTableAutomaticFindLabelsAttribute(Boolean tableAutomaticFindLabel public Boolean getTableCaseSensitiveAttribute() { TableCaseSensitiveAttribute attr = (TableCaseSensitiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "case-sensitive"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableCaseSensitiveAttribute.DEFAULT_VALUE_TRUE); } @@ -111,7 +111,7 @@ public Boolean getTableCaseSensitiveAttribute() { public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { TableCaseSensitiveAttribute attr = new TableCaseSensitiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableCaseSensitiveValue.booleanValue()); + attr.setValue(tableCaseSensitiveValue.toString()); } /** @@ -122,7 +122,7 @@ public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { public Integer getTableNullYearAttribute() { TableNullYearAttribute attr = (TableNullYearAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "null-year"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNullYearAttribute.DEFAULT_VALUE); } @@ -135,7 +135,7 @@ public Integer getTableNullYearAttribute() { public void setTableNullYearAttribute(Integer tableNullYearValue) { TableNullYearAttribute attr = new TableNullYearAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNullYearValue.intValue()); + attr.setValue(tableNullYearValue.toString()); } /** @@ -146,7 +146,7 @@ public void setTableNullYearAttribute(Integer tableNullYearValue) { public Boolean getTablePrecisionAsShownAttribute() { TablePrecisionAsShownAttribute attr = (TablePrecisionAsShownAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "precision-as-shown"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TablePrecisionAsShownAttribute.DEFAULT_VALUE); } @@ -159,7 +159,7 @@ public Boolean getTablePrecisionAsShownAttribute() { public void setTablePrecisionAsShownAttribute(Boolean tablePrecisionAsShownValue) { TablePrecisionAsShownAttribute attr = new TablePrecisionAsShownAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tablePrecisionAsShownValue.booleanValue()); + attr.setValue(tablePrecisionAsShownValue.toString()); } /** @@ -170,7 +170,7 @@ public void setTablePrecisionAsShownAttribute(Boolean tablePrecisionAsShownValue public Boolean getTableSearchCriteriaMustApplyToWholeCellAttribute() { TableSearchCriteriaMustApplyToWholeCellAttribute attr = (TableSearchCriteriaMustApplyToWholeCellAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "search-criteria-must-apply-to-whole-cell"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableSearchCriteriaMustApplyToWholeCellAttribute.DEFAULT_VALUE); } @@ -183,7 +183,7 @@ public Boolean getTableSearchCriteriaMustApplyToWholeCellAttribute() { public void setTableSearchCriteriaMustApplyToWholeCellAttribute(Boolean tableSearchCriteriaMustApplyToWholeCellValue) { TableSearchCriteriaMustApplyToWholeCellAttribute attr = new TableSearchCriteriaMustApplyToWholeCellAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableSearchCriteriaMustApplyToWholeCellValue.booleanValue()); + attr.setValue(tableSearchCriteriaMustApplyToWholeCellValue.toString()); } /** @@ -194,7 +194,7 @@ public void setTableSearchCriteriaMustApplyToWholeCellAttribute(Boolean tableSea public Boolean getTableUseRegularExpressionsAttribute() { TableUseRegularExpressionsAttribute attr = (TableUseRegularExpressionsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "use-regular-expressions"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableUseRegularExpressionsAttribute.DEFAULT_VALUE); } @@ -207,7 +207,7 @@ public Boolean getTableUseRegularExpressionsAttribute() { public void setTableUseRegularExpressionsAttribute(Boolean tableUseRegularExpressionsValue) { TableUseRegularExpressionsAttribute attr = new TableUseRegularExpressionsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableUseRegularExpressionsValue.booleanValue()); + attr.setValue(tableUseRegularExpressionsValue.toString()); } /** @@ -218,7 +218,7 @@ public void setTableUseRegularExpressionsAttribute(Boolean tableUseRegularExpres public Boolean getTableUseWildcardsAttribute() { TableUseWildcardsAttribute attr = (TableUseWildcardsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "use-wildcards"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableUseWildcardsAttribute.DEFAULT_VALUE); } @@ -231,7 +231,7 @@ public Boolean getTableUseWildcardsAttribute() { public void setTableUseWildcardsAttribute(Boolean tableUseWildcardsValue) { TableUseWildcardsAttribute attr = new TableUseWildcardsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableUseWildcardsValue.booleanValue()); + attr.setValue(tableUseWildcardsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableCellAddressElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableCellAddressElement.java index c2f3204924..daf535053b 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableCellAddressElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableCellAddressElement.java @@ -72,7 +72,7 @@ public OdfName getOdfName() { public Integer getTableColumnAttribute() { TableColumnAttribute attr = (TableColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Integer getTableColumnAttribute() { public void setTableColumnAttribute(Integer tableColumnValue) { TableColumnAttribute attr = new TableColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableColumnValue.intValue()); + attr.setValue(tableColumnValue.toString()); } /** @@ -98,7 +98,7 @@ public void setTableColumnAttribute(Integer tableColumnValue) { public Integer getTableRowAttribute() { TableRowAttribute attr = (TableRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -111,7 +111,7 @@ public Integer getTableRowAttribute() { public void setTableRowAttribute(Integer tableRowValue) { TableRowAttribute attr = new TableRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableRowValue.intValue()); + attr.setValue(tableRowValue.toString()); } /** @@ -124,7 +124,7 @@ public void setTableRowAttribute(Integer tableRowValue) { public Integer getTableTableAttribute() { TableTableAttribute attr = (TableTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -137,7 +137,7 @@ public Integer getTableTableAttribute() { public void setTableTableAttribute(Integer tableTableValue) { TableTableAttribute attr = new TableTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableTableValue.intValue()); + attr.setValue(tableTableValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableCellRangeSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableCellRangeSourceElement.java index 80183e8684..290f65d376 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableCellRangeSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableCellRangeSourceElement.java @@ -126,7 +126,7 @@ public void setTableFilterOptionsAttribute(String tableFilterOptionsValue) { public Integer getTableLastColumnSpannedAttribute() { TableLastColumnSpannedAttribute attr = (TableLastColumnSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "last-column-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -139,7 +139,7 @@ public Integer getTableLastColumnSpannedAttribute() { public void setTableLastColumnSpannedAttribute(Integer tableLastColumnSpannedValue) { TableLastColumnSpannedAttribute attr = new TableLastColumnSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableLastColumnSpannedValue.intValue()); + attr.setValue(tableLastColumnSpannedValue.toString()); } /** @@ -152,7 +152,7 @@ public void setTableLastColumnSpannedAttribute(Integer tableLastColumnSpannedVal public Integer getTableLastRowSpannedAttribute() { TableLastRowSpannedAttribute attr = (TableLastRowSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "last-row-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -165,7 +165,7 @@ public Integer getTableLastRowSpannedAttribute() { public void setTableLastRowSpannedAttribute(Integer tableLastRowSpannedValue) { TableLastRowSpannedAttribute attr = new TableLastRowSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableLastRowSpannedValue.intValue()); + attr.setValue(tableLastRowSpannedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableChangeTrackTableCellElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableChangeTrackTableCellElement.java index b05f4b0935..437bf9417e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableChangeTrackTableCellElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableChangeTrackTableCellElement.java @@ -80,7 +80,7 @@ public OdfName getOdfName() { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -93,7 +93,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -202,7 +202,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -215,7 +215,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** @@ -300,7 +300,7 @@ public void setTableFormulaAttribute(String tableFormulaValue) { public Boolean getTableMatrixCoveredAttribute() { TableMatrixCoveredAttribute attr = (TableMatrixCoveredAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "matrix-covered"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableMatrixCoveredAttribute.DEFAULT_VALUE); } @@ -313,7 +313,7 @@ public Boolean getTableMatrixCoveredAttribute() { public void setTableMatrixCoveredAttribute(Boolean tableMatrixCoveredValue) { TableMatrixCoveredAttribute attr = new TableMatrixCoveredAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableMatrixCoveredValue.booleanValue()); + attr.setValue(tableMatrixCoveredValue.toString()); } /** @@ -324,7 +324,7 @@ public void setTableMatrixCoveredAttribute(Boolean tableMatrixCoveredValue) { public Integer getTableNumberMatrixColumnsSpannedAttribute() { TableNumberMatrixColumnsSpannedAttribute attr = (TableNumberMatrixColumnsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-matrix-columns-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -337,7 +337,7 @@ public Integer getTableNumberMatrixColumnsSpannedAttribute() { public void setTableNumberMatrixColumnsSpannedAttribute(Integer tableNumberMatrixColumnsSpannedValue) { TableNumberMatrixColumnsSpannedAttribute attr = new TableNumberMatrixColumnsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberMatrixColumnsSpannedValue.intValue()); + attr.setValue(tableNumberMatrixColumnsSpannedValue.toString()); } /** @@ -348,7 +348,7 @@ public void setTableNumberMatrixColumnsSpannedAttribute(Integer tableNumberMatri public Integer getTableNumberMatrixRowsSpannedAttribute() { TableNumberMatrixRowsSpannedAttribute attr = (TableNumberMatrixRowsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-matrix-rows-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -361,7 +361,7 @@ public Integer getTableNumberMatrixRowsSpannedAttribute() { public void setTableNumberMatrixRowsSpannedAttribute(Integer tableNumberMatrixRowsSpannedValue) { TableNumberMatrixRowsSpannedAttribute attr = new TableNumberMatrixRowsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberMatrixRowsSpannedValue.intValue()); + attr.setValue(tableNumberMatrixRowsSpannedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableConsolidationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableConsolidationElement.java index 61852bc7a7..7a1abeb770 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableConsolidationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableConsolidationElement.java @@ -98,7 +98,7 @@ public void setTableFunctionAttribute(String tableFunctionValue) { public Boolean getTableLinkToSourceDataAttribute() { TableLinkToSourceDataAttribute attr = (TableLinkToSourceDataAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "link-to-source-data"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableLinkToSourceDataAttribute.DEFAULT_VALUE); } @@ -111,7 +111,7 @@ public Boolean getTableLinkToSourceDataAttribute() { public void setTableLinkToSourceDataAttribute(Boolean tableLinkToSourceDataValue) { TableLinkToSourceDataAttribute attr = new TableLinkToSourceDataAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableLinkToSourceDataValue.booleanValue()); + attr.setValue(tableLinkToSourceDataValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableContentValidationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableContentValidationElement.java index 92876594b5..8118e03599 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableContentValidationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableContentValidationElement.java @@ -73,7 +73,7 @@ public OdfName getOdfName() { public Boolean getTableAllowEmptyCellAttribute() { TableAllowEmptyCellAttribute attr = (TableAllowEmptyCellAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "allow-empty-cell"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableAllowEmptyCellAttribute.DEFAULT_VALUE); } @@ -86,7 +86,7 @@ public Boolean getTableAllowEmptyCellAttribute() { public void setTableAllowEmptyCellAttribute(Boolean tableAllowEmptyCellValue) { TableAllowEmptyCellAttribute attr = new TableAllowEmptyCellAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableAllowEmptyCellValue.booleanValue()); + attr.setValue(tableAllowEmptyCellValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDataPilotDisplayInfoElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDataPilotDisplayInfoElement.java index ed4b578990..5db30a3aa0 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDataPilotDisplayInfoElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDataPilotDisplayInfoElement.java @@ -125,7 +125,7 @@ public void setTableDisplayMemberModeAttribute(String tableDisplayMemberModeValu public Boolean getTableEnabledAttribute() { TableEnabledAttribute attr = (TableEnabledAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "enabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -138,7 +138,7 @@ public Boolean getTableEnabledAttribute() { public void setTableEnabledAttribute(Boolean tableEnabledValue) { TableEnabledAttribute attr = new TableEnabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableEnabledValue.booleanValue()); + attr.setValue(tableEnabledValue.toString()); } /** @@ -151,7 +151,7 @@ public void setTableEnabledAttribute(Boolean tableEnabledValue) { public Integer getTableMemberCountAttribute() { TableMemberCountAttribute attr = (TableMemberCountAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "member-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -164,7 +164,7 @@ public Integer getTableMemberCountAttribute() { public void setTableMemberCountAttribute(Integer tableMemberCountValue) { TableMemberCountAttribute attr = new TableMemberCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableMemberCountValue.intValue()); + attr.setValue(tableMemberCountValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDataPilotFieldElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDataPilotFieldElement.java index 7ecc182885..4298a8134d 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDataPilotFieldElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDataPilotFieldElement.java @@ -197,7 +197,7 @@ public void setTableSourceFieldNameAttribute(String tableSourceFieldNameValue) { public Integer getTableUsedHierarchyAttribute() { TableUsedHierarchyAttribute attr = (TableUsedHierarchyAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "used-hierarchy"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableUsedHierarchyAttribute.DEFAULT_VALUE); } @@ -210,7 +210,7 @@ public Integer getTableUsedHierarchyAttribute() { public void setTableUsedHierarchyAttribute(Integer tableUsedHierarchyValue) { TableUsedHierarchyAttribute attr = new TableUsedHierarchyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableUsedHierarchyValue.intValue()); + attr.setValue(tableUsedHierarchyValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDataPilotGroupsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDataPilotGroupsElement.java index fd101724b8..b2635f0505 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDataPilotGroupsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDataPilotGroupsElement.java @@ -122,7 +122,7 @@ public void setTableDateStartAttribute(String tableDateStartValue) { public Double getTableEndAttribute() { TableEndAttribute attr = (TableEndAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -135,7 +135,7 @@ public Double getTableEndAttribute() { public void setTableEndAttribute(Double tableEndValue) { TableEndAttribute attr = new TableEndAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(tableEndValue.doubleValue()); + attr.setValue(tableEndValue.toString()); } /** @@ -196,7 +196,7 @@ public void setTableSourceFieldNameAttribute(String tableSourceFieldNameValue) { public Double getTableStartAttribute() { TableStartAttribute attr = (TableStartAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -209,7 +209,7 @@ public Double getTableStartAttribute() { public void setTableStartAttribute(Double tableStartValue) { TableStartAttribute attr = new TableStartAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(tableStartValue.doubleValue()); + attr.setValue(tableStartValue.toString()); } /** @@ -220,7 +220,7 @@ public void setTableStartAttribute(Double tableStartValue) { public Double getTableStepAttribute() { TableStepAttribute attr = (TableStepAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "step"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -233,7 +233,7 @@ public Double getTableStepAttribute() { public void setTableStepAttribute(Double tableStepValue) { TableStepAttribute attr = new TableStepAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(tableStepValue.doubleValue()); + attr.setValue(tableStepValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLayoutInfoElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLayoutInfoElement.java index 60ee6a05d7..2dca765a24 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLayoutInfoElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLayoutInfoElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Boolean getTableAddEmptyLinesAttribute() { TableAddEmptyLinesAttribute attr = (TableAddEmptyLinesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "add-empty-lines"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -84,7 +84,7 @@ public Boolean getTableAddEmptyLinesAttribute() { public void setTableAddEmptyLinesAttribute(Boolean tableAddEmptyLinesValue) { TableAddEmptyLinesAttribute attr = new TableAddEmptyLinesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableAddEmptyLinesValue.booleanValue()); + attr.setValue(tableAddEmptyLinesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLevelElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLevelElement.java index eaacb6a5b0..05c1b233f1 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLevelElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLevelElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTableShowEmptyAttribute() { TableShowEmptyAttribute attr = (TableShowEmptyAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "show-empty"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTableShowEmptyAttribute() { public void setTableShowEmptyAttribute(Boolean tableShowEmptyValue) { TableShowEmptyAttribute attr = new TableShowEmptyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableShowEmptyValue.booleanValue()); + attr.setValue(tableShowEmptyValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDataPilotMemberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDataPilotMemberElement.java index 6da4e78e41..0c90005e8e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDataPilotMemberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDataPilotMemberElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Boolean getTableDisplayAttribute() { TableDisplayAttribute attr = (TableDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -83,7 +83,7 @@ public Boolean getTableDisplayAttribute() { public void setTableDisplayAttribute(Boolean tableDisplayValue) { TableDisplayAttribute attr = new TableDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayValue.booleanValue()); + attr.setValue(tableDisplayValue.toString()); } /** @@ -120,7 +120,7 @@ public void setTableNameAttribute(String tableNameValue) { public Boolean getTableShowDetailsAttribute() { TableShowDetailsAttribute attr = (TableShowDetailsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "show-details"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -133,7 +133,7 @@ public Boolean getTableShowDetailsAttribute() { public void setTableShowDetailsAttribute(Boolean tableShowDetailsValue) { TableShowDetailsAttribute attr = new TableShowDetailsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableShowDetailsValue.booleanValue()); + attr.setValue(tableShowDetailsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDataPilotTableElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDataPilotTableElement.java index 0d03f97e5b..9f38f77094 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDataPilotTableElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDataPilotTableElement.java @@ -124,7 +124,7 @@ public void setTableButtonsAttribute(String tableButtonsValue) { public Boolean getTableDrillDownOnDoubleClickAttribute() { TableDrillDownOnDoubleClickAttribute attr = (TableDrillDownOnDoubleClickAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "drill-down-on-double-click"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDrillDownOnDoubleClickAttribute.DEFAULT_VALUE); } @@ -137,7 +137,7 @@ public Boolean getTableDrillDownOnDoubleClickAttribute() { public void setTableDrillDownOnDoubleClickAttribute(Boolean tableDrillDownOnDoubleClickValue) { TableDrillDownOnDoubleClickAttribute attr = new TableDrillDownOnDoubleClickAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDrillDownOnDoubleClickValue.booleanValue()); + attr.setValue(tableDrillDownOnDoubleClickValue.toString()); } /** @@ -172,7 +172,7 @@ public void setTableGrandTotalAttribute(String tableGrandTotalValue) { public Boolean getTableIdentifyCategoriesAttribute() { TableIdentifyCategoriesAttribute attr = (TableIdentifyCategoriesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "identify-categories"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableIdentifyCategoriesAttribute.DEFAULT_VALUE); } @@ -185,7 +185,7 @@ public Boolean getTableIdentifyCategoriesAttribute() { public void setTableIdentifyCategoriesAttribute(Boolean tableIdentifyCategoriesValue) { TableIdentifyCategoriesAttribute attr = new TableIdentifyCategoriesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableIdentifyCategoriesValue.booleanValue()); + attr.setValue(tableIdentifyCategoriesValue.toString()); } /** @@ -196,7 +196,7 @@ public void setTableIdentifyCategoriesAttribute(Boolean tableIdentifyCategoriesV public Boolean getTableIgnoreEmptyRowsAttribute() { TableIgnoreEmptyRowsAttribute attr = (TableIgnoreEmptyRowsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "ignore-empty-rows"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableIgnoreEmptyRowsAttribute.DEFAULT_VALUE); } @@ -209,7 +209,7 @@ public Boolean getTableIgnoreEmptyRowsAttribute() { public void setTableIgnoreEmptyRowsAttribute(Boolean tableIgnoreEmptyRowsValue) { TableIgnoreEmptyRowsAttribute attr = new TableIgnoreEmptyRowsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableIgnoreEmptyRowsValue.booleanValue()); + attr.setValue(tableIgnoreEmptyRowsValue.toString()); } /** @@ -246,7 +246,7 @@ public void setTableNameAttribute(String tableNameValue) { public Boolean getTableShowFilterButtonAttribute() { TableShowFilterButtonAttribute attr = (TableShowFilterButtonAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "show-filter-button"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableShowFilterButtonAttribute.DEFAULT_VALUE); } @@ -259,7 +259,7 @@ public Boolean getTableShowFilterButtonAttribute() { public void setTableShowFilterButtonAttribute(Boolean tableShowFilterButtonValue) { TableShowFilterButtonAttribute attr = new TableShowFilterButtonAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableShowFilterButtonValue.booleanValue()); + attr.setValue(tableShowFilterButtonValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java index 1b91550e98..d05edcc1ef 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java @@ -77,7 +77,7 @@ public OdfName getOdfName() { public Boolean getTableContainsHeaderAttribute() { TableContainsHeaderAttribute attr = (TableContainsHeaderAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "contains-header"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableContainsHeaderAttribute.DEFAULT_VALUE); } @@ -90,7 +90,7 @@ public Boolean getTableContainsHeaderAttribute() { public void setTableContainsHeaderAttribute(Boolean tableContainsHeaderValue) { TableContainsHeaderAttribute attr = new TableContainsHeaderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableContainsHeaderValue.booleanValue()); + attr.setValue(tableContainsHeaderValue.toString()); } /** @@ -101,7 +101,7 @@ public void setTableContainsHeaderAttribute(Boolean tableContainsHeaderValue) { public Boolean getTableDisplayFilterButtonsAttribute() { TableDisplayFilterButtonsAttribute attr = (TableDisplayFilterButtonsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display-filter-buttons"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayFilterButtonsAttribute.DEFAULT_VALUE); } @@ -114,7 +114,7 @@ public Boolean getTableDisplayFilterButtonsAttribute() { public void setTableDisplayFilterButtonsAttribute(Boolean tableDisplayFilterButtonsValue) { TableDisplayFilterButtonsAttribute attr = new TableDisplayFilterButtonsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayFilterButtonsValue.booleanValue()); + attr.setValue(tableDisplayFilterButtonsValue.toString()); } /** @@ -125,7 +125,7 @@ public void setTableDisplayFilterButtonsAttribute(Boolean tableDisplayFilterButt public Boolean getTableHasPersistentDataAttribute() { TableHasPersistentDataAttribute attr = (TableHasPersistentDataAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "has-persistent-data"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableHasPersistentDataAttribute.DEFAULT_VALUE); } @@ -138,7 +138,7 @@ public Boolean getTableHasPersistentDataAttribute() { public void setTableHasPersistentDataAttribute(Boolean tableHasPersistentDataValue) { TableHasPersistentDataAttribute attr = new TableHasPersistentDataAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableHasPersistentDataValue.booleanValue()); + attr.setValue(tableHasPersistentDataValue.toString()); } /** @@ -149,7 +149,7 @@ public void setTableHasPersistentDataAttribute(Boolean tableHasPersistentDataVal public Boolean getTableIsSelectionAttribute() { TableIsSelectionAttribute attr = (TableIsSelectionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "is-selection"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableIsSelectionAttribute.DEFAULT_VALUE); } @@ -162,7 +162,7 @@ public Boolean getTableIsSelectionAttribute() { public void setTableIsSelectionAttribute(Boolean tableIsSelectionValue) { TableIsSelectionAttribute attr = new TableIsSelectionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableIsSelectionValue.booleanValue()); + attr.setValue(tableIsSelectionValue.toString()); } /** @@ -197,7 +197,7 @@ public void setTableNameAttribute(String tableNameValue) { public Boolean getTableOnUpdateKeepSizeAttribute() { TableOnUpdateKeepSizeAttribute attr = (TableOnUpdateKeepSizeAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "on-update-keep-size"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableOnUpdateKeepSizeAttribute.DEFAULT_VALUE); } @@ -210,7 +210,7 @@ public Boolean getTableOnUpdateKeepSizeAttribute() { public void setTableOnUpdateKeepSizeAttribute(Boolean tableOnUpdateKeepSizeValue) { TableOnUpdateKeepSizeAttribute attr = new TableOnUpdateKeepSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableOnUpdateKeepSizeValue.booleanValue()); + attr.setValue(tableOnUpdateKeepSizeValue.toString()); } /** @@ -221,7 +221,7 @@ public void setTableOnUpdateKeepSizeAttribute(Boolean tableOnUpdateKeepSizeValue public Boolean getTableOnUpdateKeepStylesAttribute() { TableOnUpdateKeepStylesAttribute attr = (TableOnUpdateKeepStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "on-update-keep-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableOnUpdateKeepStylesAttribute.DEFAULT_VALUE); } @@ -234,7 +234,7 @@ public Boolean getTableOnUpdateKeepStylesAttribute() { public void setTableOnUpdateKeepStylesAttribute(Boolean tableOnUpdateKeepStylesValue) { TableOnUpdateKeepStylesAttribute attr = new TableOnUpdateKeepStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableOnUpdateKeepStylesValue.booleanValue()); + attr.setValue(tableOnUpdateKeepStylesValue.toString()); } /** @@ -269,7 +269,7 @@ public void setTableOrientationAttribute(String tableOrientationValue) { public Boolean getTableRefreshDelayAttribute() { TableRefreshDelayAttribute attr = (TableRefreshDelayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "refresh-delay"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -282,7 +282,7 @@ public Boolean getTableRefreshDelayAttribute() { public void setTableRefreshDelayAttribute(Boolean tableRefreshDelayValue) { TableRefreshDelayAttribute attr = new TableRefreshDelayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableRefreshDelayValue.booleanValue()); + attr.setValue(tableRefreshDelayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDatabaseSourceSqlElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDatabaseSourceSqlElement.java index dfc9cd3ccb..76edc4c41f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDatabaseSourceSqlElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDatabaseSourceSqlElement.java @@ -96,7 +96,7 @@ public void setTableDatabaseNameAttribute(String tableDatabaseNameValue) { public Boolean getTableParseSqlStatementAttribute() { TableParseSqlStatementAttribute attr = (TableParseSqlStatementAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "parse-sql-statement"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableParseSqlStatementAttribute.DEFAULT_VALUE); } @@ -109,7 +109,7 @@ public Boolean getTableParseSqlStatementAttribute() { public void setTableParseSqlStatementAttribute(Boolean tableParseSqlStatementValue) { TableParseSqlStatementAttribute attr = new TableParseSqlStatementAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableParseSqlStatementValue.booleanValue()); + attr.setValue(tableParseSqlStatementValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDeletionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDeletionElement.java index 6b492a7665..048438f35f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDeletionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableDeletionElement.java @@ -125,7 +125,7 @@ public void setTableIdAttribute(String tableIdValue) { public Integer getTableMultiDeletionSpannedAttribute() { TableMultiDeletionSpannedAttribute attr = (TableMultiDeletionSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "multi-deletion-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -138,7 +138,7 @@ public Integer getTableMultiDeletionSpannedAttribute() { public void setTableMultiDeletionSpannedAttribute(Integer tableMultiDeletionSpannedValue) { TableMultiDeletionSpannedAttribute attr = new TableMultiDeletionSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableMultiDeletionSpannedValue.intValue()); + attr.setValue(tableMultiDeletionSpannedValue.toString()); } /** @@ -151,7 +151,7 @@ public void setTableMultiDeletionSpannedAttribute(Integer tableMultiDeletionSpan public Integer getTablePositionAttribute() { TablePositionAttribute attr = (TablePositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -164,7 +164,7 @@ public Integer getTablePositionAttribute() { public void setTablePositionAttribute(Integer tablePositionValue) { TablePositionAttribute attr = new TablePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tablePositionValue.intValue()); + attr.setValue(tablePositionValue.toString()); } /** @@ -199,7 +199,7 @@ public void setTableRejectingChangeIdAttribute(String tableRejectingChangeIdValu public Integer getTableTableAttribute() { TableTableAttribute attr = (TableTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -212,7 +212,7 @@ public Integer getTableTableAttribute() { public void setTableTableAttribute(Integer tableTableValue) { TableTableAttribute attr = new TableTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableTableValue.intValue()); + attr.setValue(tableTableValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableErrorMacroElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableErrorMacroElement.java index 2d57d893cc..2a34ec3dbb 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableErrorMacroElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableErrorMacroElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTableExecuteAttribute() { TableExecuteAttribute attr = (TableExecuteAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "execute"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableExecuteAttribute.DEFAULT_VALUE); } @@ -81,7 +81,7 @@ public Boolean getTableExecuteAttribute() { public void setTableExecuteAttribute(Boolean tableExecuteValue) { TableExecuteAttribute attr = new TableExecuteAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableExecuteValue.booleanValue()); + attr.setValue(tableExecuteValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableErrorMessageElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableErrorMessageElement.java index 1f7c4769a0..d5ef665e82 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableErrorMessageElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableErrorMessageElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Boolean getTableDisplayAttribute() { TableDisplayAttribute attr = (TableDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayAttribute.DEFAULT_VALUE_FALSE); } @@ -84,7 +84,7 @@ public Boolean getTableDisplayAttribute() { public void setTableDisplayAttribute(Boolean tableDisplayValue) { TableDisplayAttribute attr = new TableDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayValue.booleanValue()); + attr.setValue(tableDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableFilterConditionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableFilterConditionElement.java index df24ad8ed1..ef64bc6709 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableFilterConditionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableFilterConditionElement.java @@ -122,7 +122,7 @@ public void setTableDataTypeAttribute(String tableDataTypeValue) { public Integer getTableFieldNumberAttribute() { TableFieldNumberAttribute attr = (TableFieldNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "field-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -135,7 +135,7 @@ public Integer getTableFieldNumberAttribute() { public void setTableFieldNumberAttribute(Integer tableFieldNumberValue) { TableFieldNumberAttribute attr = new TableFieldNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableFieldNumberValue.intValue()); + attr.setValue(tableFieldNumberValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableFilterElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableFilterElement.java index b71e4271ae..6f4dda149f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableFilterElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableFilterElement.java @@ -119,7 +119,7 @@ public void setTableConditionSourceRangeAddressAttribute(String tableConditionSo public Boolean getTableDisplayDuplicatesAttribute() { TableDisplayDuplicatesAttribute attr = (TableDisplayDuplicatesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display-duplicates"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayDuplicatesAttribute.DEFAULT_VALUE); } @@ -132,7 +132,7 @@ public Boolean getTableDisplayDuplicatesAttribute() { public void setTableDisplayDuplicatesAttribute(Boolean tableDisplayDuplicatesValue) { TableDisplayDuplicatesAttribute attr = new TableDisplayDuplicatesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayDuplicatesValue.booleanValue()); + attr.setValue(tableDisplayDuplicatesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableHelpMessageElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableHelpMessageElement.java index fc4cefee7a..3b14a9c739 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableHelpMessageElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableHelpMessageElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Boolean getTableDisplayAttribute() { TableDisplayAttribute attr = (TableDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayAttribute.DEFAULT_VALUE_FALSE); } @@ -83,7 +83,7 @@ public Boolean getTableDisplayAttribute() { public void setTableDisplayAttribute(Boolean tableDisplayValue) { TableDisplayAttribute attr = new TableDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayValue.booleanValue()); + attr.setValue(tableDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableHighlightedRangeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableHighlightedRangeElement.java index b02b575059..3e8b60a279 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableHighlightedRangeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableHighlightedRangeElement.java @@ -95,7 +95,7 @@ public void setTableCellRangeAddressAttribute(String tableCellRangeAddressValue) public Boolean getTableContainsErrorAttribute() { TableContainsErrorAttribute attr = (TableContainsErrorAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "contains-error"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableContainsErrorAttribute.DEFAULT_VALUE); } @@ -108,7 +108,7 @@ public Boolean getTableContainsErrorAttribute() { public void setTableContainsErrorAttribute(Boolean tableContainsErrorValue) { TableContainsErrorAttribute attr = new TableContainsErrorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableContainsErrorValue.booleanValue()); + attr.setValue(tableContainsErrorValue.toString()); } /** @@ -143,7 +143,7 @@ public void setTableDirectionAttribute(String tableDirectionValue) { public Boolean getTableMarkedInvalidAttribute() { TableMarkedInvalidAttribute attr = (TableMarkedInvalidAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "marked-invalid"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -156,7 +156,7 @@ public Boolean getTableMarkedInvalidAttribute() { public void setTableMarkedInvalidAttribute(Boolean tableMarkedInvalidValue) { TableMarkedInvalidAttribute attr = new TableMarkedInvalidAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableMarkedInvalidValue.booleanValue()); + attr.setValue(tableMarkedInvalidValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableInsertionCutOffElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableInsertionCutOffElement.java index a7624eb005..de08dc074f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableInsertionCutOffElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableInsertionCutOffElement.java @@ -97,7 +97,7 @@ public void setTableIdAttribute(String tableIdValue) { public Integer getTablePositionAttribute() { TablePositionAttribute attr = (TablePositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -110,7 +110,7 @@ public Integer getTablePositionAttribute() { public void setTablePositionAttribute(Integer tablePositionValue) { TablePositionAttribute attr = new TablePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tablePositionValue.intValue()); + attr.setValue(tablePositionValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableInsertionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableInsertionElement.java index c724e23e09..e48a82097f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableInsertionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableInsertionElement.java @@ -99,7 +99,7 @@ public void setTableAcceptanceStateAttribute(String tableAcceptanceStateValue) { public Integer getTableCountAttribute() { TableCountAttribute attr = (TableCountAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableCountAttribute.DEFAULT_VALUE); } @@ -112,7 +112,7 @@ public Integer getTableCountAttribute() { public void setTableCountAttribute(Integer tableCountValue) { TableCountAttribute attr = new TableCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableCountValue.intValue()); + attr.setValue(tableCountValue.toString()); } /** @@ -151,7 +151,7 @@ public void setTableIdAttribute(String tableIdValue) { public Integer getTablePositionAttribute() { TablePositionAttribute attr = (TablePositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -164,7 +164,7 @@ public Integer getTablePositionAttribute() { public void setTablePositionAttribute(Integer tablePositionValue) { TablePositionAttribute attr = new TablePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tablePositionValue.intValue()); + attr.setValue(tablePositionValue.toString()); } /** @@ -199,7 +199,7 @@ public void setTableRejectingChangeIdAttribute(String tableRejectingChangeIdValu public Integer getTableTableAttribute() { TableTableAttribute attr = (TableTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -212,7 +212,7 @@ public Integer getTableTableAttribute() { public void setTableTableAttribute(Integer tableTableValue) { TableTableAttribute attr = new TableTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableTableValue.intValue()); + attr.setValue(tableTableValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableIterationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableIterationElement.java index b6a19084e8..e8ffb17259 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableIterationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableIterationElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Double getTableMaximumDifferenceAttribute() { TableMaximumDifferenceAttribute attr = (TableMaximumDifferenceAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "maximum-difference"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(TableMaximumDifferenceAttribute.DEFAULT_VALUE); } @@ -83,7 +83,7 @@ public Double getTableMaximumDifferenceAttribute() { public void setTableMaximumDifferenceAttribute(Double tableMaximumDifferenceValue) { TableMaximumDifferenceAttribute attr = new TableMaximumDifferenceAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(tableMaximumDifferenceValue.doubleValue()); + attr.setValue(tableMaximumDifferenceValue.toString()); } /** @@ -118,7 +118,7 @@ public void setTableStatusAttribute(String tableStatusValue) { public Integer getTableStepsAttribute() { TableStepsAttribute attr = (TableStepsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "steps"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableStepsAttribute.DEFAULT_VALUE); } @@ -131,7 +131,7 @@ public Integer getTableStepsAttribute() { public void setTableStepsAttribute(Integer tableStepsValue) { TableStepsAttribute attr = new TableStepsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStepsValue.intValue()); + attr.setValue(tableStepsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableMovementCutOffElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableMovementCutOffElement.java index a825acdf00..0b2306508f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableMovementCutOffElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableMovementCutOffElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Integer getTableEndPositionAttribute() { TableEndPositionAttribute attr = (TableEndPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -83,7 +83,7 @@ public Integer getTableEndPositionAttribute() { public void setTableEndPositionAttribute(Integer tableEndPositionValue) { TableEndPositionAttribute attr = new TableEndPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndPositionValue.intValue()); + attr.setValue(tableEndPositionValue.toString()); } /** @@ -94,7 +94,7 @@ public void setTableEndPositionAttribute(Integer tableEndPositionValue) { public Integer getTablePositionAttribute() { TablePositionAttribute attr = (TablePositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -107,7 +107,7 @@ public Integer getTablePositionAttribute() { public void setTablePositionAttribute(Integer tablePositionValue) { TablePositionAttribute attr = new TablePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tablePositionValue.intValue()); + attr.setValue(tablePositionValue.toString()); } /** @@ -118,7 +118,7 @@ public void setTablePositionAttribute(Integer tablePositionValue) { public Integer getTableStartPositionAttribute() { TableStartPositionAttribute attr = (TableStartPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -131,7 +131,7 @@ public Integer getTableStartPositionAttribute() { public void setTableStartPositionAttribute(Integer tableStartPositionValue) { TableStartPositionAttribute attr = new TableStartPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartPositionValue.intValue()); + attr.setValue(tableStartPositionValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableOperationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableOperationElement.java index 4379c659ce..b619779e3e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableOperationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableOperationElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Integer getTableIndexAttribute() { TableIndexAttribute attr = (TableIndexAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -84,7 +84,7 @@ public Integer getTableIndexAttribute() { public void setTableIndexAttribute(Integer tableIndexValue) { TableIndexAttribute attr = new TableIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableIndexValue.intValue()); + attr.setValue(tableIndexValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableScenarioElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableScenarioElement.java index 7853b1c627..00c6dbdc72 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableScenarioElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableScenarioElement.java @@ -124,7 +124,7 @@ public void setTableCommentAttribute(String tableCommentValue) { public Boolean getTableCopyBackAttribute() { TableCopyBackAttribute attr = (TableCopyBackAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "copy-back"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableCopyBackAttribute.DEFAULT_VALUE); } @@ -137,7 +137,7 @@ public Boolean getTableCopyBackAttribute() { public void setTableCopyBackAttribute(Boolean tableCopyBackValue) { TableCopyBackAttribute attr = new TableCopyBackAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableCopyBackValue.booleanValue()); + attr.setValue(tableCopyBackValue.toString()); } /** @@ -148,7 +148,7 @@ public void setTableCopyBackAttribute(Boolean tableCopyBackValue) { public Boolean getTableCopyFormulasAttribute() { TableCopyFormulasAttribute attr = (TableCopyFormulasAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "copy-formulas"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableCopyFormulasAttribute.DEFAULT_VALUE); } @@ -161,7 +161,7 @@ public Boolean getTableCopyFormulasAttribute() { public void setTableCopyFormulasAttribute(Boolean tableCopyFormulasValue) { TableCopyFormulasAttribute attr = new TableCopyFormulasAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableCopyFormulasValue.booleanValue()); + attr.setValue(tableCopyFormulasValue.toString()); } /** @@ -172,7 +172,7 @@ public void setTableCopyFormulasAttribute(Boolean tableCopyFormulasValue) { public Boolean getTableCopyStylesAttribute() { TableCopyStylesAttribute attr = (TableCopyStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "copy-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableCopyStylesAttribute.DEFAULT_VALUE); } @@ -185,7 +185,7 @@ public Boolean getTableCopyStylesAttribute() { public void setTableCopyStylesAttribute(Boolean tableCopyStylesValue) { TableCopyStylesAttribute attr = new TableCopyStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableCopyStylesValue.booleanValue()); + attr.setValue(tableCopyStylesValue.toString()); } /** @@ -196,7 +196,7 @@ public void setTableCopyStylesAttribute(Boolean tableCopyStylesValue) { public Boolean getTableDisplayBorderAttribute() { TableDisplayBorderAttribute attr = (TableDisplayBorderAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display-border"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayBorderAttribute.DEFAULT_VALUE); } @@ -209,7 +209,7 @@ public Boolean getTableDisplayBorderAttribute() { public void setTableDisplayBorderAttribute(Boolean tableDisplayBorderValue) { TableDisplayBorderAttribute attr = new TableDisplayBorderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayBorderValue.booleanValue()); + attr.setValue(tableDisplayBorderValue.toString()); } /** @@ -222,7 +222,7 @@ public void setTableDisplayBorderAttribute(Boolean tableDisplayBorderValue) { public Boolean getTableIsActiveAttribute() { TableIsActiveAttribute attr = (TableIsActiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "is-active"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -235,7 +235,7 @@ public Boolean getTableIsActiveAttribute() { public void setTableIsActiveAttribute(Boolean tableIsActiveValue) { TableIsActiveAttribute attr = new TableIsActiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableIsActiveValue.booleanValue()); + attr.setValue(tableIsActiveValue.toString()); } /** @@ -246,7 +246,7 @@ public void setTableIsActiveAttribute(Boolean tableIsActiveValue) { public Boolean getTableProtectedAttribute() { TableProtectedAttribute attr = (TableProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -259,7 +259,7 @@ public Boolean getTableProtectedAttribute() { public void setTableProtectedAttribute(Boolean tableProtectedValue) { TableProtectedAttribute attr = new TableProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableProtectedValue.booleanValue()); + attr.setValue(tableProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSortByElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSortByElement.java index 7499b633c9..8d0d1e5f09 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSortByElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSortByElement.java @@ -96,7 +96,7 @@ public void setTableDataTypeAttribute(String tableDataTypeValue) { public Integer getTableFieldNumberAttribute() { TableFieldNumberAttribute attr = (TableFieldNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "field-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -109,7 +109,7 @@ public Integer getTableFieldNumberAttribute() { public void setTableFieldNumberAttribute(Integer tableFieldNumberValue) { TableFieldNumberAttribute attr = new TableFieldNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableFieldNumberValue.intValue()); + attr.setValue(tableFieldNumberValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java index 5b8f51a0d4..15f6cd8df8 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java @@ -100,7 +100,7 @@ public void setTableAlgorithmAttribute(String tableAlgorithmValue) { public Boolean getTableBindStylesToContentAttribute() { TableBindStylesToContentAttribute attr = (TableBindStylesToContentAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "bind-styles-to-content"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableBindStylesToContentAttribute.DEFAULT_VALUE); } @@ -113,7 +113,7 @@ public Boolean getTableBindStylesToContentAttribute() { public void setTableBindStylesToContentAttribute(Boolean tableBindStylesToContentValue) { TableBindStylesToContentAttribute attr = new TableBindStylesToContentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableBindStylesToContentValue.booleanValue()); + attr.setValue(tableBindStylesToContentValue.toString()); } /** @@ -124,7 +124,7 @@ public void setTableBindStylesToContentAttribute(Boolean tableBindStylesToConten public Boolean getTableCaseSensitiveAttribute() { TableCaseSensitiveAttribute attr = (TableCaseSensitiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "case-sensitive"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableCaseSensitiveAttribute.DEFAULT_VALUE_FALSE); } @@ -137,7 +137,7 @@ public Boolean getTableCaseSensitiveAttribute() { public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { TableCaseSensitiveAttribute attr = new TableCaseSensitiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableCaseSensitiveValue.booleanValue()); + attr.setValue(tableCaseSensitiveValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSourceRangeAddressElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSourceRangeAddressElement.java index 3b6f830d88..67464b9a90 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSourceRangeAddressElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSourceRangeAddressElement.java @@ -76,7 +76,7 @@ public OdfName getOdfName() { public Integer getTableColumnAttribute() { TableColumnAttribute attr = (TableColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -89,7 +89,7 @@ public Integer getTableColumnAttribute() { public void setTableColumnAttribute(Integer tableColumnValue) { TableColumnAttribute attr = new TableColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableColumnValue.intValue()); + attr.setValue(tableColumnValue.toString()); } /** @@ -100,7 +100,7 @@ public void setTableColumnAttribute(Integer tableColumnValue) { public Integer getTableEndColumnAttribute() { TableEndColumnAttribute attr = (TableEndColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -113,7 +113,7 @@ public Integer getTableEndColumnAttribute() { public void setTableEndColumnAttribute(Integer tableEndColumnValue) { TableEndColumnAttribute attr = new TableEndColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndColumnValue.intValue()); + attr.setValue(tableEndColumnValue.toString()); } /** @@ -124,7 +124,7 @@ public void setTableEndColumnAttribute(Integer tableEndColumnValue) { public Integer getTableEndRowAttribute() { TableEndRowAttribute attr = (TableEndRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -137,7 +137,7 @@ public Integer getTableEndRowAttribute() { public void setTableEndRowAttribute(Integer tableEndRowValue) { TableEndRowAttribute attr = new TableEndRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndRowValue.intValue()); + attr.setValue(tableEndRowValue.toString()); } /** @@ -148,7 +148,7 @@ public void setTableEndRowAttribute(Integer tableEndRowValue) { public Integer getTableEndTableAttribute() { TableEndTableAttribute attr = (TableEndTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -161,7 +161,7 @@ public Integer getTableEndTableAttribute() { public void setTableEndTableAttribute(Integer tableEndTableValue) { TableEndTableAttribute attr = new TableEndTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndTableValue.intValue()); + attr.setValue(tableEndTableValue.toString()); } /** @@ -172,7 +172,7 @@ public void setTableEndTableAttribute(Integer tableEndTableValue) { public Integer getTableRowAttribute() { TableRowAttribute attr = (TableRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -185,7 +185,7 @@ public Integer getTableRowAttribute() { public void setTableRowAttribute(Integer tableRowValue) { TableRowAttribute attr = new TableRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableRowValue.intValue()); + attr.setValue(tableRowValue.toString()); } /** @@ -196,7 +196,7 @@ public void setTableRowAttribute(Integer tableRowValue) { public Integer getTableStartColumnAttribute() { TableStartColumnAttribute attr = (TableStartColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -209,7 +209,7 @@ public Integer getTableStartColumnAttribute() { public void setTableStartColumnAttribute(Integer tableStartColumnValue) { TableStartColumnAttribute attr = new TableStartColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartColumnValue.intValue()); + attr.setValue(tableStartColumnValue.toString()); } /** @@ -220,7 +220,7 @@ public void setTableStartColumnAttribute(Integer tableStartColumnValue) { public Integer getTableStartRowAttribute() { TableStartRowAttribute attr = (TableStartRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -233,7 +233,7 @@ public Integer getTableStartRowAttribute() { public void setTableStartRowAttribute(Integer tableStartRowValue) { TableStartRowAttribute attr = new TableStartRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartRowValue.intValue()); + attr.setValue(tableStartRowValue.toString()); } /** @@ -244,7 +244,7 @@ public void setTableStartRowAttribute(Integer tableStartRowValue) { public Integer getTableStartTableAttribute() { TableStartTableAttribute attr = (TableStartTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -257,7 +257,7 @@ public Integer getTableStartTableAttribute() { public void setTableStartTableAttribute(Integer tableStartTableValue) { TableStartTableAttribute attr = new TableStartTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartTableValue.intValue()); + attr.setValue(tableStartTableValue.toString()); } /** @@ -268,7 +268,7 @@ public void setTableStartTableAttribute(Integer tableStartTableValue) { public Integer getTableTableAttribute() { TableTableAttribute attr = (TableTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -281,7 +281,7 @@ public Integer getTableTableAttribute() { public void setTableTableAttribute(Integer tableTableValue) { TableTableAttribute attr = new TableTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableTableValue.intValue()); + attr.setValue(tableTableValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSubtotalFieldElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSubtotalFieldElement.java index 87e7f9704d..7f605f7d0c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSubtotalFieldElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSubtotalFieldElement.java @@ -71,7 +71,7 @@ public OdfName getOdfName() { public Integer getTableFieldNumberAttribute() { TableFieldNumberAttribute attr = (TableFieldNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "field-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -84,7 +84,7 @@ public Integer getTableFieldNumberAttribute() { public void setTableFieldNumberAttribute(Integer tableFieldNumberValue) { TableFieldNumberAttribute attr = new TableFieldNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableFieldNumberValue.intValue()); + attr.setValue(tableFieldNumberValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRuleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRuleElement.java index 3938dcb423..1d550aeb3c 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRuleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRuleElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Integer getTableGroupByFieldNumberAttribute() { TableGroupByFieldNumberAttribute attr = (TableGroupByFieldNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "group-by-field-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -83,7 +83,7 @@ public Integer getTableGroupByFieldNumberAttribute() { public void setTableGroupByFieldNumberAttribute(Integer tableGroupByFieldNumberValue) { TableGroupByFieldNumberAttribute attr = new TableGroupByFieldNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableGroupByFieldNumberValue.intValue()); + attr.setValue(tableGroupByFieldNumberValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java index 9c39b5f39a..7b5a5760fc 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Boolean getTableBindStylesToContentAttribute() { TableBindStylesToContentAttribute attr = (TableBindStylesToContentAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "bind-styles-to-content"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableBindStylesToContentAttribute.DEFAULT_VALUE); } @@ -83,7 +83,7 @@ public Boolean getTableBindStylesToContentAttribute() { public void setTableBindStylesToContentAttribute(Boolean tableBindStylesToContentValue) { TableBindStylesToContentAttribute attr = new TableBindStylesToContentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableBindStylesToContentValue.booleanValue()); + attr.setValue(tableBindStylesToContentValue.toString()); } /** @@ -94,7 +94,7 @@ public void setTableBindStylesToContentAttribute(Boolean tableBindStylesToConten public Boolean getTableCaseSensitiveAttribute() { TableCaseSensitiveAttribute attr = (TableCaseSensitiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "case-sensitive"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableCaseSensitiveAttribute.DEFAULT_VALUE_FALSE); } @@ -107,7 +107,7 @@ public Boolean getTableCaseSensitiveAttribute() { public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { TableCaseSensitiveAttribute attr = new TableCaseSensitiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableCaseSensitiveValue.booleanValue()); + attr.setValue(tableCaseSensitiveValue.toString()); } /** @@ -118,7 +118,7 @@ public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { public Boolean getTablePageBreaksOnGroupChangeAttribute() { TablePageBreaksOnGroupChangeAttribute attr = (TablePageBreaksOnGroupChangeAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "page-breaks-on-group-change"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TablePageBreaksOnGroupChangeAttribute.DEFAULT_VALUE); } @@ -131,7 +131,7 @@ public Boolean getTablePageBreaksOnGroupChangeAttribute() { public void setTablePageBreaksOnGroupChangeAttribute(Boolean tablePageBreaksOnGroupChangeValue) { TablePageBreaksOnGroupChangeAttribute attr = new TablePageBreaksOnGroupChangeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tablePageBreaksOnGroupChangeValue.booleanValue()); + attr.setValue(tablePageBreaksOnGroupChangeValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTableCellElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTableCellElement.java index f492893314..dcd2f9f2ba 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTableCellElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTableCellElement.java @@ -73,7 +73,7 @@ public OdfName getOdfName() { public Integer getTableNumberColumnsSpannedAttribute() { TableNumberColumnsSpannedAttribute attr = (TableNumberColumnsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-columns-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNumberColumnsSpannedAttribute.DEFAULT_VALUE); } @@ -86,7 +86,7 @@ public Integer getTableNumberColumnsSpannedAttribute() { public void setTableNumberColumnsSpannedAttribute(Integer tableNumberColumnsSpannedValue) { TableNumberColumnsSpannedAttribute attr = new TableNumberColumnsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberColumnsSpannedValue.intValue()); + attr.setValue(tableNumberColumnsSpannedValue.toString()); } /** @@ -97,7 +97,7 @@ public void setTableNumberColumnsSpannedAttribute(Integer tableNumberColumnsSpan public Integer getTableNumberMatrixColumnsSpannedAttribute() { TableNumberMatrixColumnsSpannedAttribute attr = (TableNumberMatrixColumnsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-matrix-columns-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -110,7 +110,7 @@ public Integer getTableNumberMatrixColumnsSpannedAttribute() { public void setTableNumberMatrixColumnsSpannedAttribute(Integer tableNumberMatrixColumnsSpannedValue) { TableNumberMatrixColumnsSpannedAttribute attr = new TableNumberMatrixColumnsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberMatrixColumnsSpannedValue.intValue()); + attr.setValue(tableNumberMatrixColumnsSpannedValue.toString()); } /** @@ -121,7 +121,7 @@ public void setTableNumberMatrixColumnsSpannedAttribute(Integer tableNumberMatri public Integer getTableNumberMatrixRowsSpannedAttribute() { TableNumberMatrixRowsSpannedAttribute attr = (TableNumberMatrixRowsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-matrix-rows-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -134,7 +134,7 @@ public Integer getTableNumberMatrixRowsSpannedAttribute() { public void setTableNumberMatrixRowsSpannedAttribute(Integer tableNumberMatrixRowsSpannedValue) { TableNumberMatrixRowsSpannedAttribute attr = new TableNumberMatrixRowsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberMatrixRowsSpannedValue.intValue()); + attr.setValue(tableNumberMatrixRowsSpannedValue.toString()); } /** @@ -145,7 +145,7 @@ public void setTableNumberMatrixRowsSpannedAttribute(Integer tableNumberMatrixRo public Integer getTableNumberRowsSpannedAttribute() { TableNumberRowsSpannedAttribute attr = (TableNumberRowsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-rows-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNumberRowsSpannedAttribute.DEFAULT_VALUE); } @@ -158,7 +158,7 @@ public Integer getTableNumberRowsSpannedAttribute() { public void setTableNumberRowsSpannedAttribute(Integer tableNumberRowsSpannedValue) { TableNumberRowsSpannedAttribute attr = new TableNumberRowsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberRowsSpannedValue.intValue()); + attr.setValue(tableNumberRowsSpannedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTableCellElementBase.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTableCellElementBase.java index 1c58d7b1cd..67b52b5933 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTableCellElementBase.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTableCellElementBase.java @@ -116,7 +116,7 @@ public TableTableCellElementBase(OdfFileDom ownerDoc, OdfName elementName, OdfSt public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -129,7 +129,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -236,7 +236,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -249,7 +249,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** @@ -332,7 +332,7 @@ public void setTableFormulaAttribute(String tableFormulaValue) { public Integer getTableNumberColumnsRepeatedAttribute() { TableNumberColumnsRepeatedAttribute attr = (TableNumberColumnsRepeatedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-columns-repeated"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNumberColumnsRepeatedAttribute.DEFAULT_VALUE); } @@ -345,7 +345,7 @@ public Integer getTableNumberColumnsRepeatedAttribute() { public void setTableNumberColumnsRepeatedAttribute(Integer tableNumberColumnsRepeatedValue) { TableNumberColumnsRepeatedAttribute attr = new TableNumberColumnsRepeatedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberColumnsRepeatedValue.intValue()); + attr.setValue(tableNumberColumnsRepeatedValue.toString()); } /** @@ -356,7 +356,7 @@ public void setTableNumberColumnsRepeatedAttribute(Integer tableNumberColumnsRep public Boolean getTableProtectAttribute() { TableProtectAttribute attr = (TableProtectAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "protect"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableProtectAttribute.DEFAULT_VALUE); } @@ -369,7 +369,7 @@ public Boolean getTableProtectAttribute() { public void setTableProtectAttribute(Boolean tableProtectValue) { TableProtectAttribute attr = new TableProtectAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableProtectValue.booleanValue()); + attr.setValue(tableProtectValue.toString()); } /** @@ -380,7 +380,7 @@ public void setTableProtectAttribute(Boolean tableProtectValue) { public Boolean getTableProtectedAttribute() { TableProtectedAttribute attr = (TableProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableProtectedAttribute.DEFAULT_VALUE); } @@ -393,7 +393,7 @@ public Boolean getTableProtectedAttribute() { public void setTableProtectedAttribute(Boolean tableProtectedValue) { TableProtectedAttribute attr = new TableProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableProtectedValue.booleanValue()); + attr.setValue(tableProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTableColumnElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTableColumnElement.java index 8226f8022d..a486dd656e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTableColumnElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTableColumnElement.java @@ -100,7 +100,7 @@ public void setTableDefaultCellStyleNameAttribute(String tableDefaultCellStyleNa public Integer getTableNumberColumnsRepeatedAttribute() { TableNumberColumnsRepeatedAttribute attr = (TableNumberColumnsRepeatedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-columns-repeated"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNumberColumnsRepeatedAttribute.DEFAULT_VALUE); } @@ -113,7 +113,7 @@ public Integer getTableNumberColumnsRepeatedAttribute() { public void setTableNumberColumnsRepeatedAttribute(Integer tableNumberColumnsRepeatedValue) { TableNumberColumnsRepeatedAttribute attr = new TableNumberColumnsRepeatedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberColumnsRepeatedValue.intValue()); + attr.setValue(tableNumberColumnsRepeatedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTableColumnGroupElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTableColumnGroupElement.java index e3af6c9ebd..4caae5cff6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTableColumnGroupElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTableColumnGroupElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTableDisplayAttribute() { TableDisplayAttribute attr = (TableDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayAttribute.DEFAULT_VALUE_TRUE); } @@ -81,7 +81,7 @@ public Boolean getTableDisplayAttribute() { public void setTableDisplayAttribute(Boolean tableDisplayValue) { TableDisplayAttribute attr = new TableDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayValue.booleanValue()); + attr.setValue(tableDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTableElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTableElement.java index b92ed480f1..dccec57a7a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTableElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTableElement.java @@ -88,7 +88,7 @@ public OdfName getOdfName() { public Boolean getTableIsSubTableAttribute() { TableIsSubTableAttribute attr = (TableIsSubTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "is-sub-table"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableIsSubTableAttribute.DEFAULT_VALUE); } @@ -101,7 +101,7 @@ public Boolean getTableIsSubTableAttribute() { public void setTableIsSubTableAttribute(Boolean tableIsSubTableValue) { TableIsSubTableAttribute attr = new TableIsSubTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableIsSubTableValue.booleanValue()); + attr.setValue(tableIsSubTableValue.toString()); } /** @@ -136,7 +136,7 @@ public void setTableNameAttribute(String tableNameValue) { public Boolean getTablePrintAttribute() { TablePrintAttribute attr = (TablePrintAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "print"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TablePrintAttribute.DEFAULT_VALUE); } @@ -149,7 +149,7 @@ public Boolean getTablePrintAttribute() { public void setTablePrintAttribute(Boolean tablePrintValue) { TablePrintAttribute attr = new TablePrintAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tablePrintValue.booleanValue()); + attr.setValue(tablePrintValue.toString()); } /** @@ -184,7 +184,7 @@ public void setTablePrintRangesAttribute(String tablePrintRangesValue) { public Boolean getTableProtectedAttribute() { TableProtectedAttribute attr = (TableProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableProtectedAttribute.DEFAULT_VALUE); } @@ -197,7 +197,7 @@ public Boolean getTableProtectedAttribute() { public void setTableProtectedAttribute(Boolean tableProtectedValue) { TableProtectedAttribute attr = new TableProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableProtectedValue.booleanValue()); + attr.setValue(tableProtectedValue.toString()); } /** @@ -304,7 +304,7 @@ public void setTableTemplateNameAttribute(String tableTemplateNameValue) { public Boolean getTableUseBandingColumnsStylesAttribute() { TableUseBandingColumnsStylesAttribute attr = (TableUseBandingColumnsStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "use-banding-columns-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableUseBandingColumnsStylesAttribute.DEFAULT_VALUE); } @@ -317,7 +317,7 @@ public Boolean getTableUseBandingColumnsStylesAttribute() { public void setTableUseBandingColumnsStylesAttribute(Boolean tableUseBandingColumnsStylesValue) { TableUseBandingColumnsStylesAttribute attr = new TableUseBandingColumnsStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableUseBandingColumnsStylesValue.booleanValue()); + attr.setValue(tableUseBandingColumnsStylesValue.toString()); } /** @@ -328,7 +328,7 @@ public void setTableUseBandingColumnsStylesAttribute(Boolean tableUseBandingColu public Boolean getTableUseBandingRowsStylesAttribute() { TableUseBandingRowsStylesAttribute attr = (TableUseBandingRowsStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "use-banding-rows-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableUseBandingRowsStylesAttribute.DEFAULT_VALUE); } @@ -341,7 +341,7 @@ public Boolean getTableUseBandingRowsStylesAttribute() { public void setTableUseBandingRowsStylesAttribute(Boolean tableUseBandingRowsStylesValue) { TableUseBandingRowsStylesAttribute attr = new TableUseBandingRowsStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableUseBandingRowsStylesValue.booleanValue()); + attr.setValue(tableUseBandingRowsStylesValue.toString()); } /** @@ -352,7 +352,7 @@ public void setTableUseBandingRowsStylesAttribute(Boolean tableUseBandingRowsSty public Boolean getTableUseFirstColumnStylesAttribute() { TableUseFirstColumnStylesAttribute attr = (TableUseFirstColumnStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "use-first-column-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableUseFirstColumnStylesAttribute.DEFAULT_VALUE); } @@ -365,7 +365,7 @@ public Boolean getTableUseFirstColumnStylesAttribute() { public void setTableUseFirstColumnStylesAttribute(Boolean tableUseFirstColumnStylesValue) { TableUseFirstColumnStylesAttribute attr = new TableUseFirstColumnStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableUseFirstColumnStylesValue.booleanValue()); + attr.setValue(tableUseFirstColumnStylesValue.toString()); } /** @@ -376,7 +376,7 @@ public void setTableUseFirstColumnStylesAttribute(Boolean tableUseFirstColumnSty public Boolean getTableUseFirstRowStylesAttribute() { TableUseFirstRowStylesAttribute attr = (TableUseFirstRowStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "use-first-row-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableUseFirstRowStylesAttribute.DEFAULT_VALUE); } @@ -389,7 +389,7 @@ public Boolean getTableUseFirstRowStylesAttribute() { public void setTableUseFirstRowStylesAttribute(Boolean tableUseFirstRowStylesValue) { TableUseFirstRowStylesAttribute attr = new TableUseFirstRowStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableUseFirstRowStylesValue.booleanValue()); + attr.setValue(tableUseFirstRowStylesValue.toString()); } /** @@ -400,7 +400,7 @@ public void setTableUseFirstRowStylesAttribute(Boolean tableUseFirstRowStylesVal public Boolean getTableUseLastColumnStylesAttribute() { TableUseLastColumnStylesAttribute attr = (TableUseLastColumnStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "use-last-column-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableUseLastColumnStylesAttribute.DEFAULT_VALUE); } @@ -413,7 +413,7 @@ public Boolean getTableUseLastColumnStylesAttribute() { public void setTableUseLastColumnStylesAttribute(Boolean tableUseLastColumnStylesValue) { TableUseLastColumnStylesAttribute attr = new TableUseLastColumnStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableUseLastColumnStylesValue.booleanValue()); + attr.setValue(tableUseLastColumnStylesValue.toString()); } /** @@ -424,7 +424,7 @@ public void setTableUseLastColumnStylesAttribute(Boolean tableUseLastColumnStyle public Boolean getTableUseLastRowStylesAttribute() { TableUseLastRowStylesAttribute attr = (TableUseLastRowStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "use-last-row-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableUseLastRowStylesAttribute.DEFAULT_VALUE); } @@ -437,7 +437,7 @@ public Boolean getTableUseLastRowStylesAttribute() { public void setTableUseLastRowStylesAttribute(Boolean tableUseLastRowStylesValue) { TableUseLastRowStylesAttribute attr = new TableUseLastRowStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableUseLastRowStylesValue.booleanValue()); + attr.setValue(tableUseLastRowStylesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTableRowElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTableRowElement.java index 9d6dde5042..7b0651a742 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTableRowElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTableRowElement.java @@ -100,7 +100,7 @@ public void setTableDefaultCellStyleNameAttribute(String tableDefaultCellStyleNa public Integer getTableNumberRowsRepeatedAttribute() { TableNumberRowsRepeatedAttribute attr = (TableNumberRowsRepeatedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-rows-repeated"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNumberRowsRepeatedAttribute.DEFAULT_VALUE); } @@ -113,7 +113,7 @@ public Integer getTableNumberRowsRepeatedAttribute() { public void setTableNumberRowsRepeatedAttribute(Integer tableNumberRowsRepeatedValue) { TableNumberRowsRepeatedAttribute attr = new TableNumberRowsRepeatedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberRowsRepeatedValue.intValue()); + attr.setValue(tableNumberRowsRepeatedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTableRowGroupElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTableRowGroupElement.java index 3d4a0cc2ed..4c1f3cb735 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTableRowGroupElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTableRowGroupElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Boolean getTableDisplayAttribute() { TableDisplayAttribute attr = (TableDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayAttribute.DEFAULT_VALUE_TRUE); } @@ -82,7 +82,7 @@ public Boolean getTableDisplayAttribute() { public void setTableDisplayAttribute(Boolean tableDisplayValue) { TableDisplayAttribute attr = new TableDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayValue.booleanValue()); + attr.setValue(tableDisplayValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTargetRangeAddressElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTargetRangeAddressElement.java index 7187aae03e..77777dbdb1 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTargetRangeAddressElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTargetRangeAddressElement.java @@ -76,7 +76,7 @@ public OdfName getOdfName() { public Integer getTableColumnAttribute() { TableColumnAttribute attr = (TableColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -89,7 +89,7 @@ public Integer getTableColumnAttribute() { public void setTableColumnAttribute(Integer tableColumnValue) { TableColumnAttribute attr = new TableColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableColumnValue.intValue()); + attr.setValue(tableColumnValue.toString()); } /** @@ -100,7 +100,7 @@ public void setTableColumnAttribute(Integer tableColumnValue) { public Integer getTableEndColumnAttribute() { TableEndColumnAttribute attr = (TableEndColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -113,7 +113,7 @@ public Integer getTableEndColumnAttribute() { public void setTableEndColumnAttribute(Integer tableEndColumnValue) { TableEndColumnAttribute attr = new TableEndColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndColumnValue.intValue()); + attr.setValue(tableEndColumnValue.toString()); } /** @@ -124,7 +124,7 @@ public void setTableEndColumnAttribute(Integer tableEndColumnValue) { public Integer getTableEndRowAttribute() { TableEndRowAttribute attr = (TableEndRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -137,7 +137,7 @@ public Integer getTableEndRowAttribute() { public void setTableEndRowAttribute(Integer tableEndRowValue) { TableEndRowAttribute attr = new TableEndRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndRowValue.intValue()); + attr.setValue(tableEndRowValue.toString()); } /** @@ -148,7 +148,7 @@ public void setTableEndRowAttribute(Integer tableEndRowValue) { public Integer getTableEndTableAttribute() { TableEndTableAttribute attr = (TableEndTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -161,7 +161,7 @@ public Integer getTableEndTableAttribute() { public void setTableEndTableAttribute(Integer tableEndTableValue) { TableEndTableAttribute attr = new TableEndTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndTableValue.intValue()); + attr.setValue(tableEndTableValue.toString()); } /** @@ -172,7 +172,7 @@ public void setTableEndTableAttribute(Integer tableEndTableValue) { public Integer getTableRowAttribute() { TableRowAttribute attr = (TableRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -185,7 +185,7 @@ public Integer getTableRowAttribute() { public void setTableRowAttribute(Integer tableRowValue) { TableRowAttribute attr = new TableRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableRowValue.intValue()); + attr.setValue(tableRowValue.toString()); } /** @@ -196,7 +196,7 @@ public void setTableRowAttribute(Integer tableRowValue) { public Integer getTableStartColumnAttribute() { TableStartColumnAttribute attr = (TableStartColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -209,7 +209,7 @@ public Integer getTableStartColumnAttribute() { public void setTableStartColumnAttribute(Integer tableStartColumnValue) { TableStartColumnAttribute attr = new TableStartColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartColumnValue.intValue()); + attr.setValue(tableStartColumnValue.toString()); } /** @@ -220,7 +220,7 @@ public void setTableStartColumnAttribute(Integer tableStartColumnValue) { public Integer getTableStartRowAttribute() { TableStartRowAttribute attr = (TableStartRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -233,7 +233,7 @@ public Integer getTableStartRowAttribute() { public void setTableStartRowAttribute(Integer tableStartRowValue) { TableStartRowAttribute attr = new TableStartRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartRowValue.intValue()); + attr.setValue(tableStartRowValue.toString()); } /** @@ -244,7 +244,7 @@ public void setTableStartRowAttribute(Integer tableStartRowValue) { public Integer getTableStartTableAttribute() { TableStartTableAttribute attr = (TableStartTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -257,7 +257,7 @@ public Integer getTableStartTableAttribute() { public void setTableStartTableAttribute(Integer tableStartTableValue) { TableStartTableAttribute attr = new TableStartTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartTableValue.intValue()); + attr.setValue(tableStartTableValue.toString()); } /** @@ -268,7 +268,7 @@ public void setTableStartTableAttribute(Integer tableStartTableValue) { public Integer getTableTableAttribute() { TableTableAttribute attr = (TableTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -281,7 +281,7 @@ public Integer getTableTableAttribute() { public void setTableTableAttribute(Integer tableTableValue) { TableTableAttribute attr = new TableTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableTableValue.intValue()); + attr.setValue(tableTableValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTrackedChangesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTrackedChangesElement.java index e91f551f34..ca31fe2951 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTrackedChangesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/table/TableTrackedChangesElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTableTrackChangesAttribute() { TableTrackChangesAttribute attr = (TableTrackChangesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "track-changes"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableTrackChangesAttribute.DEFAULT_VALUE); } @@ -81,7 +81,7 @@ public Boolean getTableTrackChangesAttribute() { public void setTableTrackChangesAttribute(Boolean tableTrackChangesValue) { TableTrackChangesAttribute attr = new TableTrackChangesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableTrackChangesValue.booleanValue()); + attr.setValue(tableTrackChangesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexElement.java index 73d4085602..e3586708ab 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexElement.java @@ -101,7 +101,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -114,7 +114,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkElement.java index 958c692d60..d9078ff5e5 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkElement.java @@ -170,7 +170,7 @@ public void setTextKey2PhoneticAttribute(String textKey2PhoneticValue) { public Boolean getTextMainEntryAttribute() { TextMainEntryAttribute attr = (TextMainEntryAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "main-entry"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextMainEntryAttribute.DEFAULT_VALUE); } @@ -183,7 +183,7 @@ public Boolean getTextMainEntryAttribute() { public void setTextMainEntryAttribute(Boolean textMainEntryValue) { TextMainEntryAttribute attr = new TextMainEntryAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textMainEntryValue.booleanValue()); + attr.setValue(textMainEntryValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkStartElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkStartElement.java index 46b5469dd9..1764fe4578 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkStartElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkStartElement.java @@ -196,7 +196,7 @@ public void setTextKey2PhoneticAttribute(String textKey2PhoneticValue) { public Boolean getTextMainEntryAttribute() { TextMainEntryAttribute attr = (TextMainEntryAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "main-entry"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextMainEntryAttribute.DEFAULT_VALUE); } @@ -209,7 +209,7 @@ public Boolean getTextMainEntryAttribute() { public void setTextMainEntryAttribute(Boolean textMainEntryValue) { TextMainEntryAttribute attr = new TextMainEntryAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textMainEntryValue.booleanValue()); + attr.setValue(textMainEntryValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexSourceElement.java index 2c51b4a80e..1019f73049 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexSourceElement.java @@ -179,7 +179,7 @@ public void setStyleRfcLanguageTagAttribute(String styleRfcLanguageTagValue) { public Boolean getTextAlphabeticalSeparatorsAttribute() { TextAlphabeticalSeparatorsAttribute attr = (TextAlphabeticalSeparatorsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "alphabetical-separators"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextAlphabeticalSeparatorsAttribute.DEFAULT_VALUE); } @@ -192,7 +192,7 @@ public Boolean getTextAlphabeticalSeparatorsAttribute() { public void setTextAlphabeticalSeparatorsAttribute(Boolean textAlphabeticalSeparatorsValue) { TextAlphabeticalSeparatorsAttribute attr = new TextAlphabeticalSeparatorsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textAlphabeticalSeparatorsValue.booleanValue()); + attr.setValue(textAlphabeticalSeparatorsValue.toString()); } /** @@ -203,7 +203,7 @@ public void setTextAlphabeticalSeparatorsAttribute(Boolean textAlphabeticalSepar public Boolean getTextCapitalizeEntriesAttribute() { TextCapitalizeEntriesAttribute attr = (TextCapitalizeEntriesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "capitalize-entries"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCapitalizeEntriesAttribute.DEFAULT_VALUE); } @@ -216,7 +216,7 @@ public Boolean getTextCapitalizeEntriesAttribute() { public void setTextCapitalizeEntriesAttribute(Boolean textCapitalizeEntriesValue) { TextCapitalizeEntriesAttribute attr = new TextCapitalizeEntriesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCapitalizeEntriesValue.booleanValue()); + attr.setValue(textCapitalizeEntriesValue.toString()); } /** @@ -227,7 +227,7 @@ public void setTextCapitalizeEntriesAttribute(Boolean textCapitalizeEntriesValue public Boolean getTextCombineEntriesAttribute() { TextCombineEntriesAttribute attr = (TextCombineEntriesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "combine-entries"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCombineEntriesAttribute.DEFAULT_VALUE); } @@ -240,7 +240,7 @@ public Boolean getTextCombineEntriesAttribute() { public void setTextCombineEntriesAttribute(Boolean textCombineEntriesValue) { TextCombineEntriesAttribute attr = new TextCombineEntriesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCombineEntriesValue.booleanValue()); + attr.setValue(textCombineEntriesValue.toString()); } /** @@ -251,7 +251,7 @@ public void setTextCombineEntriesAttribute(Boolean textCombineEntriesValue) { public Boolean getTextCombineEntriesWithDashAttribute() { TextCombineEntriesWithDashAttribute attr = (TextCombineEntriesWithDashAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "combine-entries-with-dash"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCombineEntriesWithDashAttribute.DEFAULT_VALUE); } @@ -264,7 +264,7 @@ public Boolean getTextCombineEntriesWithDashAttribute() { public void setTextCombineEntriesWithDashAttribute(Boolean textCombineEntriesWithDashValue) { TextCombineEntriesWithDashAttribute attr = new TextCombineEntriesWithDashAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCombineEntriesWithDashValue.booleanValue()); + attr.setValue(textCombineEntriesWithDashValue.toString()); } /** @@ -275,7 +275,7 @@ public void setTextCombineEntriesWithDashAttribute(Boolean textCombineEntriesWit public Boolean getTextCombineEntriesWithPpAttribute() { TextCombineEntriesWithPpAttribute attr = (TextCombineEntriesWithPpAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "combine-entries-with-pp"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCombineEntriesWithPpAttribute.DEFAULT_VALUE); } @@ -288,7 +288,7 @@ public Boolean getTextCombineEntriesWithPpAttribute() { public void setTextCombineEntriesWithPpAttribute(Boolean textCombineEntriesWithPpValue) { TextCombineEntriesWithPpAttribute attr = new TextCombineEntriesWithPpAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCombineEntriesWithPpValue.booleanValue()); + attr.setValue(textCombineEntriesWithPpValue.toString()); } /** @@ -299,7 +299,7 @@ public void setTextCombineEntriesWithPpAttribute(Boolean textCombineEntriesWithP public Boolean getTextCommaSeparatedAttribute() { TextCommaSeparatedAttribute attr = (TextCommaSeparatedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "comma-separated"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCommaSeparatedAttribute.DEFAULT_VALUE); } @@ -312,7 +312,7 @@ public Boolean getTextCommaSeparatedAttribute() { public void setTextCommaSeparatedAttribute(Boolean textCommaSeparatedValue) { TextCommaSeparatedAttribute attr = new TextCommaSeparatedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCommaSeparatedValue.booleanValue()); + attr.setValue(textCommaSeparatedValue.toString()); } /** @@ -323,7 +323,7 @@ public void setTextCommaSeparatedAttribute(Boolean textCommaSeparatedValue) { public Boolean getTextIgnoreCaseAttribute() { TextIgnoreCaseAttribute attr = (TextIgnoreCaseAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "ignore-case"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextIgnoreCaseAttribute.DEFAULT_VALUE); } @@ -336,7 +336,7 @@ public Boolean getTextIgnoreCaseAttribute() { public void setTextIgnoreCaseAttribute(Boolean textIgnoreCaseValue) { TextIgnoreCaseAttribute attr = new TextIgnoreCaseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textIgnoreCaseValue.booleanValue()); + attr.setValue(textIgnoreCaseValue.toString()); } /** @@ -395,7 +395,7 @@ public void setTextMainEntryStyleNameAttribute(String textMainEntryStyleNameValu public Boolean getTextRelativeTabStopPositionAttribute() { TextRelativeTabStopPositionAttribute attr = (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRelativeTabStopPositionAttribute.DEFAULT_VALUE); } @@ -408,7 +408,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopPositionValue) { TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -443,7 +443,7 @@ public void setTextSortAlgorithmAttribute(String textSortAlgorithmValue) { public Boolean getTextUseKeysAsEntriesAttribute() { TextUseKeysAsEntriesAttribute attr = (TextUseKeysAsEntriesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-keys-as-entries"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseKeysAsEntriesAttribute.DEFAULT_VALUE); } @@ -456,17 +456,17 @@ public Boolean getTextUseKeysAsEntriesAttribute() { public void setTextUseKeysAsEntriesAttribute(Boolean textUseKeysAsEntriesValue) { TextUseKeysAsEntriesAttribute attr = new TextUseKeysAsEntriesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseKeysAsEntriesValue.booleanValue()); + attr.setValue(textUseKeysAsEntriesValue.toString()); } /** * Create child element {@odf.element text:alphabetical-index-entry-template}. * - * @param textOutlineLevelValue the Integer value of TextOutlineLevelAttribute, see {@odf.attribute text:outline-level} at specification + * @param textOutlineLevelValue the String value of TextOutlineLevelAttribute, see {@odf.attribute text:outline-level} at specification * @param textStyleNameValue the String value of TextStyleNameAttribute, see {@odf.attribute text:style-name} at specification * @return the element {@odf.element text:alphabetical-index-entry-template} */ - public TextAlphabeticalIndexEntryTemplateElement newTextAlphabeticalIndexEntryTemplateElement(int textOutlineLevelValue, String textStyleNameValue) { + public TextAlphabeticalIndexEntryTemplateElement newTextAlphabeticalIndexEntryTemplateElement(String textOutlineLevelValue, String textStyleNameValue) { TextAlphabeticalIndexEntryTemplateElement textAlphabeticalIndexEntryTemplate = ((OdfFileDom) this.ownerDocument).newOdfElement(TextAlphabeticalIndexEntryTemplateElement.class); textAlphabeticalIndexEntryTemplate.setTextOutlineLevelAttribute(textOutlineLevelValue); textAlphabeticalIndexEntryTemplate.setTextStyleNameAttribute(textStyleNameValue); diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextAuthorInitialsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextAuthorInitialsElement.java index 37fbd90c77..e156d2d8e6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextAuthorInitialsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextAuthorInitialsElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextAuthorNameElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextAuthorNameElement.java index 39f94fc131..1f2f50db96 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextAuthorNameElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextAuthorNameElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextBibliographyConfigurationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextBibliographyConfigurationElement.java index ec12ed6247..ba7d2b7827 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextBibliographyConfigurationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextBibliographyConfigurationElement.java @@ -172,7 +172,7 @@ public void setStyleRfcLanguageTagAttribute(String styleRfcLanguageTagValue) { public Boolean getTextNumberedEntriesAttribute() { TextNumberedEntriesAttribute attr = (TextNumberedEntriesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "numbered-entries"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextNumberedEntriesAttribute.DEFAULT_VALUE); } @@ -185,7 +185,7 @@ public Boolean getTextNumberedEntriesAttribute() { public void setTextNumberedEntriesAttribute(Boolean textNumberedEntriesValue) { TextNumberedEntriesAttribute attr = new TextNumberedEntriesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textNumberedEntriesValue.booleanValue()); + attr.setValue(textNumberedEntriesValue.toString()); } /** @@ -244,7 +244,7 @@ public void setTextSortAlgorithmAttribute(String textSortAlgorithmValue) { public Boolean getTextSortByPositionAttribute() { TextSortByPositionAttribute attr = (TextSortByPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "sort-by-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextSortByPositionAttribute.DEFAULT_VALUE); } @@ -257,7 +257,7 @@ public Boolean getTextSortByPositionAttribute() { public void setTextSortByPositionAttribute(Boolean textSortByPositionValue) { TextSortByPositionAttribute attr = new TextSortByPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textSortByPositionValue.booleanValue()); + attr.setValue(textSortByPositionValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextBibliographyElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextBibliographyElement.java index 89208ed50a..399c534eb3 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextBibliographyElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextBibliographyElement.java @@ -101,7 +101,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -114,7 +114,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextChapterElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextChapterElement.java index 8ad87ff698..d7e14ae276 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextChapterElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextChapterElement.java @@ -97,7 +97,7 @@ public void setTextDisplayAttribute(String textDisplayValue) { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -110,7 +110,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextCharacterCountElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextCharacterCountElement.java index 5c4f08abfd..481e09e0e6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextCharacterCountElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextCharacterCountElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextConditionalTextElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextConditionalTextElement.java index e30c4413f9..90e15afa69 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextConditionalTextElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextConditionalTextElement.java @@ -97,7 +97,7 @@ public void setTextConditionAttribute(String textConditionValue) { public Boolean getTextCurrentValueAttribute() { TextCurrentValueAttribute attr = (TextCurrentValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "current-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -110,7 +110,7 @@ public Boolean getTextCurrentValueAttribute() { public void setTextCurrentValueAttribute(Boolean textCurrentValueValue) { TextCurrentValueAttribute attr = new TextCurrentValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCurrentValueValue.booleanValue()); + attr.setValue(textCurrentValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextCreationDateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextCreationDateElement.java index c99b33db2f..ece720b5b5 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextCreationDateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextCreationDateElement.java @@ -118,7 +118,7 @@ public void setTextDateValueAttribute(String textDateValueValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -131,7 +131,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextCreationTimeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextCreationTimeElement.java index c82fe49706..ae926f4213 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextCreationTimeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextCreationTimeElement.java @@ -94,7 +94,7 @@ public void setStyleDataStyleNameAttribute(String styleDataStyleNameValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -107,7 +107,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextCreatorElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextCreatorElement.java index a0c343436a..edafd374d6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextCreatorElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextCreatorElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowNumberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowNumberElement.java index 89f3814b94..879386a7b2 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowNumberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowNumberElement.java @@ -100,7 +100,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -113,7 +113,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -198,7 +198,7 @@ public void setTextTableTypeAttribute(String textTableTypeValue) { public Integer getTextValueAttribute() { TextValueAttribute attr = (TextValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -211,7 +211,7 @@ public Integer getTextValueAttribute() { public void setTextValueAttribute(Integer textValueValue) { TextValueAttribute attr = new TextValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textValueValue.intValue()); + attr.setValue(textValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowSelectElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowSelectElement.java index 62a980edc6..813046bcf0 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowSelectElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowSelectElement.java @@ -121,7 +121,7 @@ public void setTextDatabaseNameAttribute(String textDatabaseNameValue) { public Integer getTextRowNumberAttribute() { TextRowNumberAttribute attr = (TextRowNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "row-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -134,7 +134,7 @@ public Integer getTextRowNumberAttribute() { public void setTextRowNumberAttribute(Integer textRowNumberValue) { TextRowNumberAttribute attr = new TextRowNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textRowNumberValue.intValue()); + attr.setValue(textRowNumberValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextDateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextDateElement.java index 95882a1b06..9f36678881 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextDateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextDateElement.java @@ -143,7 +143,7 @@ public void setTextDateValueAttribute(String textDateValueValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -156,7 +156,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextDdeConnectionDeclElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextDdeConnectionDeclElement.java index 70acd1ca34..4107d5ba04 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextDdeConnectionDeclElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextDdeConnectionDeclElement.java @@ -72,7 +72,7 @@ public OdfName getOdfName() { public Boolean getOfficeAutomaticUpdateAttribute() { OfficeAutomaticUpdateAttribute attr = (OfficeAutomaticUpdateAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "automatic-update"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(OfficeAutomaticUpdateAttribute.DEFAULT_VALUE); } @@ -85,7 +85,7 @@ public Boolean getOfficeAutomaticUpdateAttribute() { public void setOfficeAutomaticUpdateAttribute(Boolean officeAutomaticUpdateValue) { OfficeAutomaticUpdateAttribute attr = new OfficeAutomaticUpdateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeAutomaticUpdateValue.booleanValue()); + attr.setValue(officeAutomaticUpdateValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextDescriptionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextDescriptionElement.java index 6c2a14c7d9..cf674c7c01 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextDescriptionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextDescriptionElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextEditingCyclesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextEditingCyclesElement.java index fb219b7158..1fd51876fa 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextEditingCyclesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextEditingCyclesElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextEditingDurationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextEditingDurationElement.java index f0478fa9e2..d7b988d6ee 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextEditingDurationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextEditingDurationElement.java @@ -118,7 +118,7 @@ public void setTextDurationAttribute(String textDurationValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -131,7 +131,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextExpressionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextExpressionElement.java index fbf9ff8773..e8e1d6bb7e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextExpressionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextExpressionElement.java @@ -77,7 +77,7 @@ public OdfName getOdfName() { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -90,7 +90,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -199,7 +199,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -212,7 +212,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextFileNameElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextFileNameElement.java index 74b36c395a..298d17d261 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextFileNameElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextFileNameElement.java @@ -93,7 +93,7 @@ public void setTextDisplayAttribute(String textDisplayValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -106,7 +106,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextHElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextHElement.java index a31a43cfd2..ac49cc4bf5 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextHElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextHElement.java @@ -80,7 +80,7 @@ public OdfName getOdfName() { public Boolean getTextIsListHeaderAttribute() { TextIsListHeaderAttribute attr = (TextIsListHeaderAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "is-list-header"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextIsListHeaderAttribute.DEFAULT_VALUE); } @@ -93,7 +93,7 @@ public Boolean getTextIsListHeaderAttribute() { public void setTextIsListHeaderAttribute(Boolean textIsListHeaderValue) { TextIsListHeaderAttribute attr = new TextIsListHeaderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textIsListHeaderValue.booleanValue()); + attr.setValue(textIsListHeaderValue.toString()); } /** @@ -106,7 +106,7 @@ public void setTextIsListHeaderAttribute(Boolean textIsListHeaderValue) { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -119,7 +119,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** @@ -130,7 +130,7 @@ public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { public Boolean getTextRestartNumberingAttribute() { TextRestartNumberingAttribute attr = (TextRestartNumberingAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "restart-numbering"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRestartNumberingAttribute.DEFAULT_VALUE); } @@ -143,7 +143,7 @@ public Boolean getTextRestartNumberingAttribute() { public void setTextRestartNumberingAttribute(Boolean textRestartNumberingValue) { TextRestartNumberingAttribute attr = new TextRestartNumberingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRestartNumberingValue.booleanValue()); + attr.setValue(textRestartNumberingValue.toString()); } /** @@ -154,7 +154,7 @@ public void setTextRestartNumberingAttribute(Boolean textRestartNumberingValue) public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -167,7 +167,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextHiddenParagraphElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextHiddenParagraphElement.java index c4f9ec9b21..b1260c36e7 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextHiddenParagraphElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextHiddenParagraphElement.java @@ -95,7 +95,7 @@ public void setTextConditionAttribute(String textConditionValue) { public Boolean getTextIsHiddenAttribute() { TextIsHiddenAttribute attr = (TextIsHiddenAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "is-hidden"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getTextIsHiddenAttribute() { public void setTextIsHiddenAttribute(Boolean textIsHiddenValue) { TextIsHiddenAttribute attr = new TextIsHiddenAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textIsHiddenValue.booleanValue()); + attr.setValue(textIsHiddenValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextHiddenTextElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextHiddenTextElement.java index 8de37d960a..06bbd3263a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextHiddenTextElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextHiddenTextElement.java @@ -96,7 +96,7 @@ public void setTextConditionAttribute(String textConditionValue) { public Boolean getTextIsHiddenAttribute() { TextIsHiddenAttribute attr = (TextIsHiddenAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "is-hidden"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -109,7 +109,7 @@ public Boolean getTextIsHiddenAttribute() { public void setTextIsHiddenAttribute(Boolean textIsHiddenValue) { TextIsHiddenAttribute attr = new TextIsHiddenAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textIsHiddenValue.booleanValue()); + attr.setValue(textIsHiddenValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexElement.java index c307856c65..c638e474a3 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexElement.java @@ -101,7 +101,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -114,7 +114,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexSourceElement.java index 1961c68918..911b1782d3 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexSourceElement.java @@ -144,7 +144,7 @@ public void setTextIndexScopeAttribute(String textIndexScopeValue) { public Boolean getTextRelativeTabStopPositionAttribute() { TextRelativeTabStopPositionAttribute attr = (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRelativeTabStopPositionAttribute.DEFAULT_VALUE); } @@ -157,7 +157,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopPositionValue) { TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -168,7 +168,7 @@ public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopP public Boolean getTextUseCaptionAttribute() { TextUseCaptionAttribute attr = (TextUseCaptionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-caption"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseCaptionAttribute.DEFAULT_VALUE); } @@ -181,7 +181,7 @@ public Boolean getTextUseCaptionAttribute() { public void setTextUseCaptionAttribute(Boolean textUseCaptionValue) { TextUseCaptionAttribute attr = new TextUseCaptionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseCaptionValue.booleanValue()); + attr.setValue(textUseCaptionValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextImageCountElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextImageCountElement.java index fc03ee6dc5..756bc5ff35 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextImageCountElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextImageCountElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextIndexEntryChapterElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextIndexEntryChapterElement.java index 905e4e3291..2ab46c8eeb 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextIndexEntryChapterElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextIndexEntryChapterElement.java @@ -96,7 +96,7 @@ public void setTextDisplayAttribute(String textDisplayValue) { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -109,7 +109,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextIndexSourceStylesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextIndexSourceStylesElement.java index cb8f9e0339..563179222e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextIndexSourceStylesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextIndexSourceStylesElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -83,7 +83,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextIndexTitleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextIndexTitleElement.java index 3a76be54f5..a97d3577ec 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextIndexTitleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextIndexTitleElement.java @@ -120,7 +120,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -133,7 +133,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextInitialCreatorElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextInitialCreatorElement.java index 2a1d9e864b..067fc39a87 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextInitialCreatorElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextInitialCreatorElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextKeywordsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextKeywordsElement.java index d07ee2501a..92771429c1 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextKeywordsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextKeywordsElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextLabelElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextLabelElement.java index d56689ac3e..6dd2728c7a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextLabelElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextLabelElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Boolean getTextCurrentSelectedAttribute() { TextCurrentSelectedAttribute attr = (TextCurrentSelectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "current-selected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -82,7 +82,7 @@ public Boolean getTextCurrentSelectedAttribute() { public void setTextCurrentSelectedAttribute(Boolean textCurrentSelectedValue) { TextCurrentSelectedAttribute attr = new TextCurrentSelectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCurrentSelectedValue.booleanValue()); + attr.setValue(textCurrentSelectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingConfigurationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingConfigurationElement.java index ca81023543..3da2438b46 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingConfigurationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingConfigurationElement.java @@ -105,7 +105,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -118,7 +118,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -129,7 +129,7 @@ public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { public Boolean getTextCountEmptyLinesAttribute() { TextCountEmptyLinesAttribute attr = (TextCountEmptyLinesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "count-empty-lines"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCountEmptyLinesAttribute.DEFAULT_VALUE); } @@ -142,7 +142,7 @@ public Boolean getTextCountEmptyLinesAttribute() { public void setTextCountEmptyLinesAttribute(Boolean textCountEmptyLinesValue) { TextCountEmptyLinesAttribute attr = new TextCountEmptyLinesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCountEmptyLinesValue.booleanValue()); + attr.setValue(textCountEmptyLinesValue.toString()); } /** @@ -153,7 +153,7 @@ public void setTextCountEmptyLinesAttribute(Boolean textCountEmptyLinesValue) { public Boolean getTextCountInTextBoxesAttribute() { TextCountInTextBoxesAttribute attr = (TextCountInTextBoxesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "count-in-text-boxes"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCountInTextBoxesAttribute.DEFAULT_VALUE); } @@ -166,7 +166,7 @@ public Boolean getTextCountInTextBoxesAttribute() { public void setTextCountInTextBoxesAttribute(Boolean textCountInTextBoxesValue) { TextCountInTextBoxesAttribute attr = new TextCountInTextBoxesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCountInTextBoxesValue.booleanValue()); + attr.setValue(textCountInTextBoxesValue.toString()); } /** @@ -177,7 +177,7 @@ public void setTextCountInTextBoxesAttribute(Boolean textCountInTextBoxesValue) public Integer getTextIncrementAttribute() { TextIncrementAttribute attr = (TextIncrementAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "increment"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -190,7 +190,7 @@ public Integer getTextIncrementAttribute() { public void setTextIncrementAttribute(Integer textIncrementValue) { TextIncrementAttribute attr = new TextIncrementAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textIncrementValue.intValue()); + attr.setValue(textIncrementValue.toString()); } /** @@ -201,7 +201,7 @@ public void setTextIncrementAttribute(Integer textIncrementValue) { public Boolean getTextNumberLinesAttribute() { TextNumberLinesAttribute attr = (TextNumberLinesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "number-lines"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextNumberLinesAttribute.DEFAULT_VALUE); } @@ -214,7 +214,7 @@ public Boolean getTextNumberLinesAttribute() { public void setTextNumberLinesAttribute(Boolean textNumberLinesValue) { TextNumberLinesAttribute attr = new TextNumberLinesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textNumberLinesValue.booleanValue()); + attr.setValue(textNumberLinesValue.toString()); } /** @@ -273,7 +273,7 @@ public void setTextOffsetAttribute(String textOffsetValue) { public Boolean getTextRestartOnPageAttribute() { TextRestartOnPageAttribute attr = (TextRestartOnPageAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "restart-on-page"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRestartOnPageAttribute.DEFAULT_VALUE); } @@ -286,7 +286,7 @@ public Boolean getTextRestartOnPageAttribute() { public void setTextRestartOnPageAttribute(Boolean textRestartOnPageValue) { TextRestartOnPageAttribute attr = new TextRestartOnPageAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRestartOnPageValue.booleanValue()); + attr.setValue(textRestartOnPageValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingSeparatorElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingSeparatorElement.java index f671c6a413..c43ae0ffe8 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingSeparatorElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingSeparatorElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Integer getTextIncrementAttribute() { TextIncrementAttribute attr = (TextIncrementAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "increment"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Integer getTextIncrementAttribute() { public void setTextIncrementAttribute(Integer textIncrementValue) { TextIncrementAttribute attr = new TextIncrementAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textIncrementValue.intValue()); + attr.setValue(textIncrementValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextListElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextListElement.java index 424567b907..ae82cf064b 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextListElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextListElement.java @@ -95,7 +95,7 @@ public void setTextContinueListAttribute(String textContinueListValue) { public Boolean getTextContinueNumberingAttribute() { TextContinueNumberingAttribute attr = (TextContinueNumberingAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "continue-numbering"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getTextContinueNumberingAttribute() { public void setTextContinueNumberingAttribute(Boolean textContinueNumberingValue) { TextContinueNumberingAttribute attr = new TextContinueNumberingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textContinueNumberingValue.booleanValue()); + attr.setValue(textContinueNumberingValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextListItemElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextListItemElement.java index 27df9cdc8e..0328e2b6f1 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextListItemElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextListItemElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -83,7 +83,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleElementBase.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleElementBase.java index 7535f28c8c..f101480f46 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleElementBase.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleElementBase.java @@ -62,7 +62,7 @@ public TextListLevelStyleElementBase(OdfFileDom ownerDoc, OdfName elementName) { public Integer getTextLevelAttribute() { TextLevelAttribute attr = (TextLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -75,7 +75,7 @@ public Integer getTextLevelAttribute() { public void setTextLevelAttribute(Integer textLevelValue) { TextLevelAttribute attr = new TextLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textLevelValue.intValue()); + attr.setValue(textLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleNumberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleNumberElement.java index fec379b8e1..99c5a8bb41 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleNumberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleNumberElement.java @@ -101,7 +101,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -114,7 +114,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -173,7 +173,7 @@ public void setStyleNumSuffixAttribute(String styleNumSuffixValue) { public Integer getTextDisplayLevelsAttribute() { TextDisplayLevelsAttribute attr = (TextDisplayLevelsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "display-levels"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextDisplayLevelsAttribute.DEFAULT_VALUE); } @@ -186,7 +186,7 @@ public Integer getTextDisplayLevelsAttribute() { public void setTextDisplayLevelsAttribute(Integer textDisplayLevelsValue) { TextDisplayLevelsAttribute attr = new TextDisplayLevelsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textDisplayLevelsValue.intValue()); + attr.setValue(textDisplayLevelsValue.toString()); } /** @@ -197,7 +197,7 @@ public void setTextDisplayLevelsAttribute(Integer textDisplayLevelsValue) { public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextStartValueAttribute.DEFAULT_VALUE); } @@ -210,7 +210,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextListStyleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextListStyleElement.java index 446d766796..bd7fa2e94a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextListStyleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextListStyleElement.java @@ -121,7 +121,7 @@ public void setStyleNameAttribute(String styleNameValue) { public Boolean getTextConsecutiveNumberingAttribute() { TextConsecutiveNumberingAttribute attr = (TextConsecutiveNumberingAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "consecutive-numbering"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextConsecutiveNumberingAttribute.DEFAULT_VALUE); } @@ -134,7 +134,7 @@ public Boolean getTextConsecutiveNumberingAttribute() { public void setTextConsecutiveNumberingAttribute(Boolean textConsecutiveNumberingValue) { TextConsecutiveNumberingAttribute attr = new TextConsecutiveNumberingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textConsecutiveNumberingValue.booleanValue()); + attr.setValue(textConsecutiveNumberingValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextModificationDateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextModificationDateElement.java index d0684ba324..17ae39a3c0 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextModificationDateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextModificationDateElement.java @@ -118,7 +118,7 @@ public void setTextDateValueAttribute(String textDateValueValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -131,7 +131,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextModificationTimeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextModificationTimeElement.java index e12cdc50e6..5a6556f495 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextModificationTimeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextModificationTimeElement.java @@ -94,7 +94,7 @@ public void setStyleDataStyleNameAttribute(String styleDataStyleNameValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -107,7 +107,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextNotesConfigurationElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextNotesConfigurationElement.java index 447af6f2f8..b25541f3d5 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextNotesConfigurationElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextNotesConfigurationElement.java @@ -105,7 +105,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -118,7 +118,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -347,7 +347,7 @@ public void setTextStartNumberingAtAttribute(String textStartNumberingAtValue) { public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextStartValueAttribute.DEFAULT_VALUE); } @@ -360,7 +360,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextNumberedParagraphElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextNumberedParagraphElement.java index 59ffd9e5e5..de442ee904 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextNumberedParagraphElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextNumberedParagraphElement.java @@ -75,7 +75,7 @@ public OdfName getOdfName() { public Boolean getTextContinueNumberingAttribute() { TextContinueNumberingAttribute attr = (TextContinueNumberingAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "continue-numbering"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -88,7 +88,7 @@ public Boolean getTextContinueNumberingAttribute() { public void setTextContinueNumberingAttribute(Boolean textContinueNumberingValue) { TextContinueNumberingAttribute attr = new TextContinueNumberingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textContinueNumberingValue.booleanValue()); + attr.setValue(textContinueNumberingValue.toString()); } /** @@ -99,7 +99,7 @@ public void setTextContinueNumberingAttribute(Boolean textContinueNumberingValue public Integer getTextLevelAttribute() { TextLevelAttribute attr = (TextLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextLevelAttribute.DEFAULT_VALUE); } @@ -112,7 +112,7 @@ public Integer getTextLevelAttribute() { public void setTextLevelAttribute(Integer textLevelValue) { TextLevelAttribute attr = new TextLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textLevelValue.intValue()); + attr.setValue(textLevelValue.toString()); } /** @@ -149,7 +149,7 @@ public void setTextListIdAttribute(String textListIdValue) { public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -162,7 +162,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextObjectCountElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextObjectCountElement.java index 52b3ab0168..258570590f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextObjectCountElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextObjectCountElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexElement.java index e4e8bee8d4..ab62aa4243 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexElement.java @@ -101,7 +101,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -114,7 +114,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexSourceElement.java index b15cde5e3d..2455ac9cc4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexSourceElement.java @@ -98,7 +98,7 @@ public void setTextIndexScopeAttribute(String textIndexScopeValue) { public Boolean getTextRelativeTabStopPositionAttribute() { TextRelativeTabStopPositionAttribute attr = (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRelativeTabStopPositionAttribute.DEFAULT_VALUE); } @@ -111,7 +111,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopPositionValue) { TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -122,7 +122,7 @@ public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopP public Boolean getTextUseChartObjectsAttribute() { TextUseChartObjectsAttribute attr = (TextUseChartObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-chart-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseChartObjectsAttribute.DEFAULT_VALUE); } @@ -135,7 +135,7 @@ public Boolean getTextUseChartObjectsAttribute() { public void setTextUseChartObjectsAttribute(Boolean textUseChartObjectsValue) { TextUseChartObjectsAttribute attr = new TextUseChartObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseChartObjectsValue.booleanValue()); + attr.setValue(textUseChartObjectsValue.toString()); } /** @@ -146,7 +146,7 @@ public void setTextUseChartObjectsAttribute(Boolean textUseChartObjectsValue) { public Boolean getTextUseDrawObjectsAttribute() { TextUseDrawObjectsAttribute attr = (TextUseDrawObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-draw-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseDrawObjectsAttribute.DEFAULT_VALUE); } @@ -159,7 +159,7 @@ public Boolean getTextUseDrawObjectsAttribute() { public void setTextUseDrawObjectsAttribute(Boolean textUseDrawObjectsValue) { TextUseDrawObjectsAttribute attr = new TextUseDrawObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseDrawObjectsValue.booleanValue()); + attr.setValue(textUseDrawObjectsValue.toString()); } /** @@ -170,7 +170,7 @@ public void setTextUseDrawObjectsAttribute(Boolean textUseDrawObjectsValue) { public Boolean getTextUseMathObjectsAttribute() { TextUseMathObjectsAttribute attr = (TextUseMathObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-math-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseMathObjectsAttribute.DEFAULT_VALUE); } @@ -183,7 +183,7 @@ public Boolean getTextUseMathObjectsAttribute() { public void setTextUseMathObjectsAttribute(Boolean textUseMathObjectsValue) { TextUseMathObjectsAttribute attr = new TextUseMathObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseMathObjectsValue.booleanValue()); + attr.setValue(textUseMathObjectsValue.toString()); } /** @@ -194,7 +194,7 @@ public void setTextUseMathObjectsAttribute(Boolean textUseMathObjectsValue) { public Boolean getTextUseOtherObjectsAttribute() { TextUseOtherObjectsAttribute attr = (TextUseOtherObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-other-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseOtherObjectsAttribute.DEFAULT_VALUE); } @@ -207,7 +207,7 @@ public Boolean getTextUseOtherObjectsAttribute() { public void setTextUseOtherObjectsAttribute(Boolean textUseOtherObjectsValue) { TextUseOtherObjectsAttribute attr = new TextUseOtherObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseOtherObjectsValue.booleanValue()); + attr.setValue(textUseOtherObjectsValue.toString()); } /** @@ -218,7 +218,7 @@ public void setTextUseOtherObjectsAttribute(Boolean textUseOtherObjectsValue) { public Boolean getTextUseSpreadsheetObjectsAttribute() { TextUseSpreadsheetObjectsAttribute attr = (TextUseSpreadsheetObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-spreadsheet-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseSpreadsheetObjectsAttribute.DEFAULT_VALUE); } @@ -231,7 +231,7 @@ public Boolean getTextUseSpreadsheetObjectsAttribute() { public void setTextUseSpreadsheetObjectsAttribute(Boolean textUseSpreadsheetObjectsValue) { TextUseSpreadsheetObjectsAttribute attr = new TextUseSpreadsheetObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseSpreadsheetObjectsValue.booleanValue()); + attr.setValue(textUseSpreadsheetObjectsValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextOutlineLevelStyleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextOutlineLevelStyleElement.java index f36b0a545a..550586fea4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextOutlineLevelStyleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextOutlineLevelStyleElement.java @@ -104,7 +104,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -117,7 +117,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -176,7 +176,7 @@ public void setStyleNumSuffixAttribute(String styleNumSuffixValue) { public Integer getTextDisplayLevelsAttribute() { TextDisplayLevelsAttribute attr = (TextDisplayLevelsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "display-levels"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextDisplayLevelsAttribute.DEFAULT_VALUE); } @@ -189,7 +189,7 @@ public Integer getTextDisplayLevelsAttribute() { public void setTextDisplayLevelsAttribute(Integer textDisplayLevelsValue) { TextDisplayLevelsAttribute attr = new TextDisplayLevelsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textDisplayLevelsValue.intValue()); + attr.setValue(textDisplayLevelsValue.toString()); } /** @@ -202,7 +202,7 @@ public void setTextDisplayLevelsAttribute(Integer textDisplayLevelsValue) { public Integer getTextLevelAttribute() { TextLevelAttribute attr = (TextLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -215,7 +215,7 @@ public Integer getTextLevelAttribute() { public void setTextLevelAttribute(Integer textLevelValue) { TextLevelAttribute attr = new TextLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textLevelValue.intValue()); + attr.setValue(textLevelValue.toString()); } /** @@ -226,7 +226,7 @@ public void setTextLevelAttribute(Integer textLevelValue) { public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextStartValueAttribute.DEFAULT_VALUE); } @@ -239,7 +239,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextPageCountElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextPageCountElement.java index 5c21de82e4..297e0de76f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextPageCountElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextPageCountElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextPageNumberElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextPageNumberElement.java index 2d7364aef0..aa22b329aa 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextPageNumberElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextPageNumberElement.java @@ -98,7 +98,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -111,7 +111,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -122,7 +122,7 @@ public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -135,7 +135,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** @@ -146,7 +146,7 @@ public void setTextFixedAttribute(Boolean textFixedValue) { public Integer getTextPageAdjustAttribute() { TextPageAdjustAttribute attr = (TextPageAdjustAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "page-adjust"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -159,7 +159,7 @@ public Integer getTextPageAdjustAttribute() { public void setTextPageAdjustAttribute(Integer textPageAdjustValue) { TextPageAdjustAttribute attr = new TextPageAdjustAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textPageAdjustValue.intValue()); + attr.setValue(textPageAdjustValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextPageVariableGetElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextPageVariableGetElement.java index 18e99043b7..af28ee8b02 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextPageVariableGetElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextPageVariableGetElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextPageVariableSetElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextPageVariableSetElement.java index 281155ea1a..342ded3efa 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextPageVariableSetElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextPageVariableSetElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Boolean getTextActiveAttribute() { TextActiveAttribute attr = (TextActiveAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "active"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -82,7 +82,7 @@ public Boolean getTextActiveAttribute() { public void setTextActiveAttribute(Boolean textActiveValue) { TextActiveAttribute attr = new TextActiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textActiveValue.booleanValue()); + attr.setValue(textActiveValue.toString()); } /** @@ -93,7 +93,7 @@ public void setTextActiveAttribute(Boolean textActiveValue) { public Integer getTextPageAdjustAttribute() { TextPageAdjustAttribute attr = (TextPageAdjustAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "page-adjust"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -106,7 +106,7 @@ public Integer getTextPageAdjustAttribute() { public void setTextPageAdjustAttribute(Integer textPageAdjustValue) { TextPageAdjustAttribute attr = new TextPageAdjustAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textPageAdjustValue.intValue()); + attr.setValue(textPageAdjustValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextParagraphCountElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextParagraphCountElement.java index bdd26edb96..21c3e91359 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextParagraphCountElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextParagraphCountElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextPrintDateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextPrintDateElement.java index 4b09328289..84f95742af 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextPrintDateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextPrintDateElement.java @@ -118,7 +118,7 @@ public void setTextDateValueAttribute(String textDateValueValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -131,7 +131,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextPrintTimeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextPrintTimeElement.java index 88ad7e984f..0c00d88afd 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextPrintTimeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextPrintTimeElement.java @@ -94,7 +94,7 @@ public void setStyleDataStyleNameAttribute(String styleDataStyleNameValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -107,7 +107,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextPrintedByElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextPrintedByElement.java index a12ca813a2..7abfd15f80 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextPrintedByElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextPrintedByElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSElement.java index 7b1270a4e4..03092f5de8 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Integer getTextCAttribute() { TextCAttribute attr = (TextCAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "c"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextCAttribute.DEFAULT_VALUE); } @@ -82,7 +82,7 @@ public Integer getTextCAttribute() { public void setTextCAttribute(Integer textCValue) { TextCAttribute attr = new TextCAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textCValue.intValue()); + attr.setValue(textCValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSectionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSectionElement.java index 7232817bb5..4759950d42 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSectionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSectionElement.java @@ -173,7 +173,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -186,7 +186,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderCityElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderCityElement.java index 4c4df241fd..ea8a331ca0 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderCityElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderCityElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderCompanyElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderCompanyElement.java index bb7a3c0717..d2d8088a67 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderCompanyElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderCompanyElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderCountryElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderCountryElement.java index 6d5f78ad96..cb6fed2024 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderCountryElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderCountryElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderEmailElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderEmailElement.java index 0db1bb6095..d34d244d17 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderEmailElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderEmailElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderFaxElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderFaxElement.java index 04647b41b6..462e1fd0b4 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderFaxElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderFaxElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderFirstnameElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderFirstnameElement.java index 781be614d7..f050ba9331 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderFirstnameElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderFirstnameElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderInitialsElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderInitialsElement.java index 9bd0d16788..378baf542e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderInitialsElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderInitialsElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderLastnameElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderLastnameElement.java index 370da67879..a37457741f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderLastnameElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderLastnameElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderPhonePrivateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderPhonePrivateElement.java index 812891f1fb..8037e49fdc 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderPhonePrivateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderPhonePrivateElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderPhoneWorkElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderPhoneWorkElement.java index 2cad116cc8..34a944a72a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderPhoneWorkElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderPhoneWorkElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderPositionElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderPositionElement.java index ad73e561c1..85cb51496a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderPositionElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderPositionElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderPostalCodeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderPostalCodeElement.java index f8aebb6f11..6544bfd64a 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderPostalCodeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderPostalCodeElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderStateOrProvinceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderStateOrProvinceElement.java index 4c5ffd9c05..5128f9c881 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderStateOrProvinceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderStateOrProvinceElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderStreetElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderStreetElement.java index c536a87b0b..0d70bf2168 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderStreetElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderStreetElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderTitleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderTitleElement.java index 36dce26c9c..48d5aed1c7 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderTitleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSenderTitleElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSequenceDeclElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSequenceDeclElement.java index 699f523a60..5da1e93751 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSequenceDeclElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSequenceDeclElement.java @@ -72,7 +72,7 @@ public OdfName getOdfName() { public Integer getTextDisplayOutlineLevelAttribute() { TextDisplayOutlineLevelAttribute attr = (TextDisplayOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "display-outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Integer getTextDisplayOutlineLevelAttribute() { public void setTextDisplayOutlineLevelAttribute(Integer textDisplayOutlineLevelValue) { TextDisplayOutlineLevelAttribute attr = new TextDisplayOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textDisplayOutlineLevelValue.intValue()); + attr.setValue(textDisplayOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSequenceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSequenceElement.java index d4eb24c4a8..309371ff23 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSequenceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSequenceElement.java @@ -98,7 +98,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -111,7 +111,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSortKeyElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSortKeyElement.java index fb027ac4cf..d6b789dc92 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSortKeyElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSortKeyElement.java @@ -95,7 +95,7 @@ public void setTextKeyAttribute(String textKeyValue) { public Boolean getTextSortAscendingAttribute() { TextSortAscendingAttribute attr = (TextSortAscendingAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "sort-ascending"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextSortAscendingAttribute.DEFAULT_VALUE); } @@ -108,7 +108,7 @@ public Boolean getTextSortAscendingAttribute() { public void setTextSortAscendingAttribute(Boolean textSortAscendingValue) { TextSortAscendingAttribute attr = new TextSortAscendingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textSortAscendingValue.booleanValue()); + attr.setValue(textSortAscendingValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSubjectElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSubjectElement.java index faeb6df221..d2951a4234 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSubjectElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextSubjectElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTabElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTabElement.java index 6070cb9955..c043ff42db 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTabElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTabElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Integer getTextTabRefAttribute() { TextTabRefAttribute attr = (TextTabRefAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "tab-ref"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Integer getTextTabRefAttribute() { public void setTextTabRefAttribute(Integer textTabRefValue) { TextTabRefAttribute attr = new TextTabRefAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textTabRefValue.intValue()); + attr.setValue(textTabRefValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTableCountElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTableCountElement.java index 818d5c94cb..f8503b48f7 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTableCountElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTableCountElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTableIndexElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTableIndexElement.java index ad296c21a2..18a8b9bb65 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTableIndexElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTableIndexElement.java @@ -101,7 +101,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -114,7 +114,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTableIndexSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTableIndexSourceElement.java index ae3c410995..06fdc385e8 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTableIndexSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTableIndexSourceElement.java @@ -144,7 +144,7 @@ public void setTextIndexScopeAttribute(String textIndexScopeValue) { public Boolean getTextRelativeTabStopPositionAttribute() { TextRelativeTabStopPositionAttribute attr = (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRelativeTabStopPositionAttribute.DEFAULT_VALUE); } @@ -157,7 +157,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopPositionValue) { TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -168,7 +168,7 @@ public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopP public Boolean getTextUseCaptionAttribute() { TextUseCaptionAttribute attr = (TextUseCaptionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-caption"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseCaptionAttribute.DEFAULT_VALUE); } @@ -181,7 +181,7 @@ public Boolean getTextUseCaptionAttribute() { public void setTextUseCaptionAttribute(Boolean textUseCaptionValue) { TextUseCaptionAttribute attr = new TextUseCaptionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseCaptionValue.booleanValue()); + attr.setValue(textUseCaptionValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentElement.java index 6f1884ace1..55b710f10f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentElement.java @@ -101,7 +101,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -114,7 +114,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentEntryTemplateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentEntryTemplateElement.java index 1bd5deae54..e362462575 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentEntryTemplateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentEntryTemplateElement.java @@ -73,7 +73,7 @@ public OdfName getOdfName() { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -86,7 +86,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentSourceElement.java index c95f103b5a..f490ac22e2 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentSourceElement.java @@ -97,7 +97,7 @@ public void setTextIndexScopeAttribute(String textIndexScopeValue) { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -110,7 +110,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** @@ -121,7 +121,7 @@ public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { public Boolean getTextRelativeTabStopPositionAttribute() { TextRelativeTabStopPositionAttribute attr = (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -134,7 +134,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopPositionValue) { TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -145,7 +145,7 @@ public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopP public Boolean getTextUseIndexMarksAttribute() { TextUseIndexMarksAttribute attr = (TextUseIndexMarksAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-index-marks"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -158,7 +158,7 @@ public Boolean getTextUseIndexMarksAttribute() { public void setTextUseIndexMarksAttribute(Boolean textUseIndexMarksValue) { TextUseIndexMarksAttribute attr = new TextUseIndexMarksAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseIndexMarksValue.booleanValue()); + attr.setValue(textUseIndexMarksValue.toString()); } /** @@ -169,7 +169,7 @@ public void setTextUseIndexMarksAttribute(Boolean textUseIndexMarksValue) { public Boolean getTextUseIndexSourceStylesAttribute() { TextUseIndexSourceStylesAttribute attr = (TextUseIndexSourceStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-index-source-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -182,7 +182,7 @@ public Boolean getTextUseIndexSourceStylesAttribute() { public void setTextUseIndexSourceStylesAttribute(Boolean textUseIndexSourceStylesValue) { TextUseIndexSourceStylesAttribute attr = new TextUseIndexSourceStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseIndexSourceStylesValue.booleanValue()); + attr.setValue(textUseIndexSourceStylesValue.toString()); } /** @@ -193,7 +193,7 @@ public void setTextUseIndexSourceStylesAttribute(Boolean textUseIndexSourceStyle public Boolean getTextUseOutlineLevelAttribute() { TextUseOutlineLevelAttribute attr = (TextUseOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseOutlineLevelAttribute.DEFAULT_VALUE); } @@ -206,7 +206,7 @@ public Boolean getTextUseOutlineLevelAttribute() { public void setTextUseOutlineLevelAttribute(Boolean textUseOutlineLevelValue) { TextUseOutlineLevelAttribute attr = new TextUseOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseOutlineLevelValue.booleanValue()); + attr.setValue(textUseOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTimeElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTimeElement.java index c3bab06eef..1cd48f0140 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTimeElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTimeElement.java @@ -95,7 +95,7 @@ public void setStyleDataStyleNameAttribute(String styleDataStyleNameValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTitleElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTitleElement.java index 5973b87b5e..85d90f47c9 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTitleElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTitleElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -81,7 +81,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTocMarkElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTocMarkElement.java index a0c119566e..d08ad43a42 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTocMarkElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTocMarkElement.java @@ -69,7 +69,7 @@ public OdfName getOdfName() { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -82,7 +82,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTocMarkStartElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTocMarkStartElement.java index 2cace77831..fcc49ae1c6 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTocMarkStartElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTocMarkStartElement.java @@ -95,7 +95,7 @@ public void setTextIdAttribute(String textIdValue) { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTrackedChangesElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTrackedChangesElement.java index 32a2cdf18c..b2ed1b1d1d 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTrackedChangesElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextTrackedChangesElement.java @@ -68,7 +68,7 @@ public OdfName getOdfName() { public Boolean getTextTrackChangesAttribute() { TextTrackChangesAttribute attr = (TextTrackChangesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "track-changes"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextTrackChangesAttribute.DEFAULT_VALUE); } @@ -81,7 +81,7 @@ public Boolean getTextTrackChangesAttribute() { public void setTextTrackChangesAttribute(Boolean textTrackChangesValue) { TextTrackChangesAttribute attr = new TextTrackChangesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textTrackChangesValue.booleanValue()); + attr.setValue(textTrackChangesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextUserDefinedElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextUserDefinedElement.java index 72a33744ec..93333c98c2 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextUserDefinedElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextUserDefinedElement.java @@ -75,7 +75,7 @@ public OdfName getOdfName() { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -88,7 +88,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -171,7 +171,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -184,7 +184,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** @@ -219,7 +219,7 @@ public void setStyleDataStyleNameAttribute(String styleDataStyleNameValue) { public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -232,7 +232,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextUserFieldDeclElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextUserFieldDeclElement.java index 922b4588b5..d73d9d77a5 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextUserFieldDeclElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextUserFieldDeclElement.java @@ -76,7 +76,7 @@ public OdfName getOdfName() { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -89,7 +89,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -198,7 +198,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -211,7 +211,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextUserIndexElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextUserIndexElement.java index 445c5c0bad..eba67ab387 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextUserIndexElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextUserIndexElement.java @@ -101,7 +101,7 @@ public void setTextNameAttribute(String textNameValue) { public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -114,7 +114,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextUserIndexEntryTemplateElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextUserIndexEntryTemplateElement.java index 19a1015234..166f0cd8d1 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextUserIndexEntryTemplateElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextUserIndexEntryTemplateElement.java @@ -73,7 +73,7 @@ public OdfName getOdfName() { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -86,7 +86,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkElement.java index 859bd424fc..cca8ed2c9d 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkElement.java @@ -96,7 +96,7 @@ public void setTextIndexNameAttribute(String textIndexNameValue) { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -109,7 +109,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkStartElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkStartElement.java index 454d4dcca9..e858146579 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkStartElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkStartElement.java @@ -122,7 +122,7 @@ public void setTextIndexNameAttribute(String textIndexNameValue) { public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -135,7 +135,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextUserIndexSourceElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextUserIndexSourceElement.java index 68d847b896..f28dc9fc9f 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextUserIndexSourceElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextUserIndexSourceElement.java @@ -77,7 +77,7 @@ public OdfName getOdfName() { public Boolean getTextCopyOutlineLevelsAttribute() { TextCopyOutlineLevelsAttribute attr = (TextCopyOutlineLevelsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "copy-outline-levels"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCopyOutlineLevelsAttribute.DEFAULT_VALUE); } @@ -90,7 +90,7 @@ public Boolean getTextCopyOutlineLevelsAttribute() { public void setTextCopyOutlineLevelsAttribute(Boolean textCopyOutlineLevelsValue) { TextCopyOutlineLevelsAttribute attr = new TextCopyOutlineLevelsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCopyOutlineLevelsValue.booleanValue()); + attr.setValue(textCopyOutlineLevelsValue.toString()); } /** @@ -151,7 +151,7 @@ public void setTextIndexScopeAttribute(String textIndexScopeValue) { public Boolean getTextRelativeTabStopPositionAttribute() { TextRelativeTabStopPositionAttribute attr = (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRelativeTabStopPositionAttribute.DEFAULT_VALUE); } @@ -164,7 +164,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopPositionValue) { TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -175,7 +175,7 @@ public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopP public Boolean getTextUseFloatingFramesAttribute() { TextUseFloatingFramesAttribute attr = (TextUseFloatingFramesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-floating-frames"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseFloatingFramesAttribute.DEFAULT_VALUE); } @@ -188,7 +188,7 @@ public Boolean getTextUseFloatingFramesAttribute() { public void setTextUseFloatingFramesAttribute(Boolean textUseFloatingFramesValue) { TextUseFloatingFramesAttribute attr = new TextUseFloatingFramesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseFloatingFramesValue.booleanValue()); + attr.setValue(textUseFloatingFramesValue.toString()); } /** @@ -199,7 +199,7 @@ public void setTextUseFloatingFramesAttribute(Boolean textUseFloatingFramesValue public Boolean getTextUseGraphicsAttribute() { TextUseGraphicsAttribute attr = (TextUseGraphicsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-graphics"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseGraphicsAttribute.DEFAULT_VALUE); } @@ -212,7 +212,7 @@ public Boolean getTextUseGraphicsAttribute() { public void setTextUseGraphicsAttribute(Boolean textUseGraphicsValue) { TextUseGraphicsAttribute attr = new TextUseGraphicsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseGraphicsValue.booleanValue()); + attr.setValue(textUseGraphicsValue.toString()); } /** @@ -223,7 +223,7 @@ public void setTextUseGraphicsAttribute(Boolean textUseGraphicsValue) { public Boolean getTextUseIndexMarksAttribute() { TextUseIndexMarksAttribute attr = (TextUseIndexMarksAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-index-marks"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseIndexMarksAttribute.DEFAULT_VALUE); } @@ -236,7 +236,7 @@ public Boolean getTextUseIndexMarksAttribute() { public void setTextUseIndexMarksAttribute(Boolean textUseIndexMarksValue) { TextUseIndexMarksAttribute attr = new TextUseIndexMarksAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseIndexMarksValue.booleanValue()); + attr.setValue(textUseIndexMarksValue.toString()); } /** @@ -247,7 +247,7 @@ public void setTextUseIndexMarksAttribute(Boolean textUseIndexMarksValue) { public Boolean getTextUseIndexSourceStylesAttribute() { TextUseIndexSourceStylesAttribute attr = (TextUseIndexSourceStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-index-source-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseIndexSourceStylesAttribute.DEFAULT_VALUE); } @@ -260,7 +260,7 @@ public Boolean getTextUseIndexSourceStylesAttribute() { public void setTextUseIndexSourceStylesAttribute(Boolean textUseIndexSourceStylesValue) { TextUseIndexSourceStylesAttribute attr = new TextUseIndexSourceStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseIndexSourceStylesValue.booleanValue()); + attr.setValue(textUseIndexSourceStylesValue.toString()); } /** @@ -271,7 +271,7 @@ public void setTextUseIndexSourceStylesAttribute(Boolean textUseIndexSourceStyle public Boolean getTextUseObjectsAttribute() { TextUseObjectsAttribute attr = (TextUseObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseObjectsAttribute.DEFAULT_VALUE); } @@ -284,7 +284,7 @@ public Boolean getTextUseObjectsAttribute() { public void setTextUseObjectsAttribute(Boolean textUseObjectsValue) { TextUseObjectsAttribute attr = new TextUseObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseObjectsValue.booleanValue()); + attr.setValue(textUseObjectsValue.toString()); } /** @@ -295,7 +295,7 @@ public void setTextUseObjectsAttribute(Boolean textUseObjectsValue) { public Boolean getTextUseTablesAttribute() { TextUseTablesAttribute attr = (TextUseTablesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-tables"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseTablesAttribute.DEFAULT_VALUE); } @@ -308,7 +308,7 @@ public Boolean getTextUseTablesAttribute() { public void setTextUseTablesAttribute(Boolean textUseTablesValue) { TextUseTablesAttribute attr = new TextUseTablesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseTablesValue.booleanValue()); + attr.setValue(textUseTablesValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextVariableSetElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextVariableSetElement.java index 31a47a0434..de1cd1ee8e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextVariableSetElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextVariableSetElement.java @@ -78,7 +78,7 @@ public OdfName getOdfName() { public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -91,7 +91,7 @@ public Boolean getOfficeBooleanValueAttribute() { public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -200,7 +200,7 @@ public void setOfficeTimeValueAttribute(String officeTimeValueValue) { public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -213,7 +213,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextWordCountElement.java b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextWordCountElement.java index 0dc81a7f46..db7322220e 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextWordCountElement.java +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-java/odf-schema-1.3/org/odftoolkit/odfdom/dom/element/text/TextWordCountElement.java @@ -95,7 +95,7 @@ public void setStyleNumFormatAttribute(String styleNumFormatValue) { public Boolean getStyleNumLetterSyncAttribute() { StyleNumLetterSyncAttribute attr = (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -108,7 +108,7 @@ public Boolean getStyleNumLetterSyncAttribute() { public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateColorElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateColorElement.java index 3a61ab0cc6..33892adf0f 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateColorElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateColorElement.java @@ -331,7 +331,7 @@ public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -345,7 +345,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateElement.java index 5498b3a9ca..68a68dfea7 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateElement.java @@ -265,7 +265,7 @@ public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -279,7 +279,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateMotionElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateMotionElement.java index c0a170d4d9..0fa18e0d90 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateMotionElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateMotionElement.java @@ -268,7 +268,7 @@ public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -282,7 +282,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateTransformElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateTransformElement.java index e08d8776ae..8f34a016ba 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateTransformElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimAnimateTransformElement.java @@ -264,7 +264,7 @@ public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -278,7 +278,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimAudioElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimAudioElement.java index 02b83aa6b9..4f7c2539b1 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimAudioElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimAudioElement.java @@ -88,7 +88,7 @@ public Double getAnimAudioLevelAttribute() { AnimAudioLevelAttribute attr = (AnimAudioLevelAttribute) getOdfAttribute(OdfDocumentNamespace.ANIM, "audio-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -102,7 +102,7 @@ public Double getAnimAudioLevelAttribute() { public void setAnimAudioLevelAttribute(Double animAudioLevelValue) { AnimAudioLevelAttribute attr = new AnimAudioLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(animAudioLevelValue.doubleValue()); + attr.setValue(animAudioLevelValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimIterateElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimIterateElement.java index 4ae3446153..5bebbd3046 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimIterateElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimIterateElement.java @@ -415,7 +415,7 @@ public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -429,7 +429,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimParElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimParElement.java index 3fa01ad767..12af3dd16d 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimParElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimParElement.java @@ -325,7 +325,7 @@ public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -339,7 +339,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimSeqElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimSeqElement.java index a122c6f9db..c538b81f63 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimSeqElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimSeqElement.java @@ -325,7 +325,7 @@ public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -339,7 +339,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimSetElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimSetElement.java index 326dcbb1fd..449c29de05 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimSetElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimSetElement.java @@ -230,7 +230,7 @@ public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -244,7 +244,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimTransitionFilterElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimTransitionFilterElement.java index 9cf86ce282..e401bce67a 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimTransitionFilterElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/anim/AnimTransitionFilterElement.java @@ -237,7 +237,7 @@ public Boolean getSmilAutoReverseAttribute() { SmilAutoReverseAttribute attr = (SmilAutoReverseAttribute) getOdfAttribute(OdfDocumentNamespace.SMIL, "autoReverse"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(SmilAutoReverseAttribute.DEFAULT_VALUE); } @@ -251,7 +251,7 @@ public Boolean getSmilAutoReverseAttribute() { public void setSmilAutoReverseAttribute(Boolean smilAutoReverseValue) { SmilAutoReverseAttribute attr = new SmilAutoReverseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(smilAutoReverseValue.booleanValue()); + attr.setValue(smilAutoReverseValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartDataPointElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartDataPointElement.java index d310c2cb61..5fc54b2c0b 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartDataPointElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartDataPointElement.java @@ -78,7 +78,7 @@ public Integer getChartRepeatedAttribute() { ChartRepeatedAttribute attr = (ChartRepeatedAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "repeated"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -92,7 +92,7 @@ public Integer getChartRepeatedAttribute() { public void setChartRepeatedAttribute(Integer chartRepeatedValue) { ChartRepeatedAttribute attr = new ChartRepeatedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(chartRepeatedValue.intValue()); + attr.setValue(chartRepeatedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartEquationElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartEquationElement.java index 2ad900c41a..179bcbe66f 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartEquationElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartEquationElement.java @@ -78,7 +78,7 @@ public Boolean getChartAutomaticContentAttribute() { (ChartAutomaticContentAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "automatic-content"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(ChartAutomaticContentAttribute.DEFAULT_VALUE); } @@ -93,7 +93,7 @@ public void setChartAutomaticContentAttribute(Boolean chartAutomaticContentValue ChartAutomaticContentAttribute attr = new ChartAutomaticContentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartAutomaticContentValue.booleanValue()); + attr.setValue(chartAutomaticContentValue.toString()); } /** @@ -108,7 +108,7 @@ public Boolean getChartDisplayEquationAttribute() { (ChartDisplayEquationAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "display-equation"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(ChartDisplayEquationAttribute.DEFAULT_VALUE); } @@ -123,7 +123,7 @@ public void setChartDisplayEquationAttribute(Boolean chartDisplayEquationValue) ChartDisplayEquationAttribute attr = new ChartDisplayEquationAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartDisplayEquationValue.booleanValue()); + attr.setValue(chartDisplayEquationValue.toString()); } /** @@ -138,7 +138,7 @@ public Boolean getChartDisplayRSquareAttribute() { (ChartDisplayRSquareAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "display-r-square"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(ChartDisplayRSquareAttribute.DEFAULT_VALUE); } @@ -153,7 +153,7 @@ public void setChartDisplayRSquareAttribute(Boolean chartDisplayRSquareValue) { ChartDisplayRSquareAttribute attr = new ChartDisplayRSquareAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartDisplayRSquareValue.booleanValue()); + attr.setValue(chartDisplayRSquareValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartLegendElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartLegendElement.java index bcaa6e410e..d1ef238e79 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartLegendElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartLegendElement.java @@ -206,7 +206,7 @@ public Double getStyleLegendExpansionAspectRatioAttribute() { (StyleLegendExpansionAspectRatioAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "legend-expansion-aspect-ratio"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -223,7 +223,7 @@ public void setStyleLegendExpansionAspectRatioAttribute( StyleLegendExpansionAspectRatioAttribute attr = new StyleLegendExpansionAspectRatioAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(styleLegendExpansionAspectRatioValue.doubleValue()); + attr.setValue(styleLegendExpansionAspectRatioValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java index c7ce264d9c..1d8ccf81f2 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/chart/ChartPlotAreaElement.java @@ -230,14 +230,14 @@ public void setDr3dFocalLengthAttribute(String dr3dFocalLengthValue) { * Receives the value of the ODFDOM attribute representation Dr3dLightingModeAttribute * , See {@odf.attribute dr3d:lighting-mode} * - * @return - the String , the value or null, if the attribute is not set - * and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not + * set and no default value defined. */ - public String getDr3dLightingModeAttribute() { + public Boolean getDr3dLightingModeAttribute() { Dr3dLightingModeAttribute attr = (Dr3dLightingModeAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "lighting-mode"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.getValue()); } return null; } @@ -246,12 +246,12 @@ public String getDr3dLightingModeAttribute() { * Sets the value of ODFDOM attribute representation Dr3dLightingModeAttribute , See * {@odf.attribute dr3d:lighting-mode} * - * @param dr3dLightingModeValue The type is String + * @param dr3dLightingModeValue The type is Boolean */ - public void setDr3dLightingModeAttribute(String dr3dLightingModeValue) { + public void setDr3dLightingModeAttribute(Boolean dr3dLightingModeValue) { Dr3dLightingModeAttribute attr = new Dr3dLightingModeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(dr3dLightingModeValue); + attr.setValue(dr3dLightingModeValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbApplicationConnectionSettingsElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbApplicationConnectionSettingsElement.java index 04f626e7b3..65a2860da7 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbApplicationConnectionSettingsElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbApplicationConnectionSettingsElement.java @@ -80,7 +80,7 @@ public Boolean getDbAppendTableAliasNameAttribute() { (DbAppendTableAliasNameAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "append-table-alias-name"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbAppendTableAliasNameAttribute.DEFAULT_VALUE); } @@ -95,7 +95,7 @@ public void setDbAppendTableAliasNameAttribute(Boolean dbAppendTableAliasNameVal DbAppendTableAliasNameAttribute attr = new DbAppendTableAliasNameAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbAppendTableAliasNameValue.booleanValue()); + attr.setValue(dbAppendTableAliasNameValue.toString()); } /** @@ -140,7 +140,7 @@ public Boolean getDbEnableSql92CheckAttribute() { (DbEnableSql92CheckAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "enable-sql92-check"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbEnableSql92CheckAttribute.DEFAULT_VALUE); } @@ -155,7 +155,7 @@ public void setDbEnableSql92CheckAttribute(Boolean dbEnableSql92CheckValue) { DbEnableSql92CheckAttribute attr = new DbEnableSql92CheckAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbEnableSql92CheckValue.booleanValue()); + attr.setValue(dbEnableSql92CheckValue.toString()); } /** @@ -170,7 +170,7 @@ public Boolean getDbIgnoreDriverPrivilegesAttribute() { (DbIgnoreDriverPrivilegesAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "ignore-driver-privileges"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbIgnoreDriverPrivilegesAttribute.DEFAULT_VALUE); } @@ -185,7 +185,7 @@ public void setDbIgnoreDriverPrivilegesAttribute(Boolean dbIgnoreDriverPrivilege DbIgnoreDriverPrivilegesAttribute attr = new DbIgnoreDriverPrivilegesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIgnoreDriverPrivilegesValue.booleanValue()); + attr.setValue(dbIgnoreDriverPrivilegesValue.toString()); } /** @@ -201,7 +201,7 @@ public Boolean getDbIsTableNameLengthLimitedAttribute() { (DbIsTableNameLengthLimitedAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "is-table-name-length-limited"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbIsTableNameLengthLimitedAttribute.DEFAULT_VALUE); } @@ -216,7 +216,7 @@ public void setDbIsTableNameLengthLimitedAttribute(Boolean dbIsTableNameLengthLi DbIsTableNameLengthLimitedAttribute attr = new DbIsTableNameLengthLimitedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIsTableNameLengthLimitedValue.booleanValue()); + attr.setValue(dbIsTableNameLengthLimitedValue.toString()); } /** @@ -230,7 +230,7 @@ public Integer getDbMaxRowCountAttribute() { DbMaxRowCountAttribute attr = (DbMaxRowCountAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "max-row-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -244,7 +244,7 @@ public Integer getDbMaxRowCountAttribute() { public void setDbMaxRowCountAttribute(Integer dbMaxRowCountValue) { DbMaxRowCountAttribute attr = new DbMaxRowCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(dbMaxRowCountValue.intValue()); + attr.setValue(dbMaxRowCountValue.toString()); } /** @@ -259,7 +259,7 @@ public Boolean getDbSuppressVersionColumnsAttribute() { (DbSuppressVersionColumnsAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "suppress-version-columns"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbSuppressVersionColumnsAttribute.DEFAULT_VALUE); } @@ -274,7 +274,7 @@ public void setDbSuppressVersionColumnsAttribute(Boolean dbSuppressVersionColumn DbSuppressVersionColumnsAttribute attr = new DbSuppressVersionColumnsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbSuppressVersionColumnsValue.booleanValue()); + attr.setValue(dbSuppressVersionColumnsValue.toString()); } /** @@ -288,7 +288,7 @@ public Boolean getDbUseCatalogAttribute() { DbUseCatalogAttribute attr = (DbUseCatalogAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "use-catalog"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbUseCatalogAttribute.DEFAULT_VALUE); } @@ -302,7 +302,7 @@ public Boolean getDbUseCatalogAttribute() { public void setDbUseCatalogAttribute(Boolean dbUseCatalogValue) { DbUseCatalogAttribute attr = new DbUseCatalogAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbUseCatalogValue.booleanValue()); + attr.setValue(dbUseCatalogValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbColumnDefinitionElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbColumnDefinitionElement.java index 5afb3b5557..ce3b20a6a8 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbColumnDefinitionElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbColumnDefinitionElement.java @@ -113,7 +113,7 @@ public Boolean getDbIsAutoincrementAttribute() { DbIsAutoincrementAttribute attr = (DbIsAutoincrementAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "is-autoincrement"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -128,7 +128,7 @@ public void setDbIsAutoincrementAttribute(Boolean dbIsAutoincrementValue) { DbIsAutoincrementAttribute attr = new DbIsAutoincrementAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIsAutoincrementValue.booleanValue()); + attr.setValue(dbIsAutoincrementValue.toString()); } /** @@ -142,7 +142,7 @@ public Boolean getDbIsEmptyAllowedAttribute() { DbIsEmptyAllowedAttribute attr = (DbIsEmptyAllowedAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "is-empty-allowed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -156,7 +156,7 @@ public Boolean getDbIsEmptyAllowedAttribute() { public void setDbIsEmptyAllowedAttribute(Boolean dbIsEmptyAllowedValue) { DbIsEmptyAllowedAttribute attr = new DbIsEmptyAllowedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIsEmptyAllowedValue.booleanValue()); + attr.setValue(dbIsEmptyAllowedValue.toString()); } /** @@ -227,7 +227,7 @@ public Integer getDbPrecisionAttribute() { DbPrecisionAttribute attr = (DbPrecisionAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "precision"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -241,7 +241,7 @@ public Integer getDbPrecisionAttribute() { public void setDbPrecisionAttribute(Integer dbPrecisionValue) { DbPrecisionAttribute attr = new DbPrecisionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(dbPrecisionValue.intValue()); + attr.setValue(dbPrecisionValue.toString()); } /** @@ -254,7 +254,7 @@ public void setDbPrecisionAttribute(Integer dbPrecisionValue) { public Integer getDbScaleAttribute() { DbScaleAttribute attr = (DbScaleAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "scale"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -268,7 +268,7 @@ public Integer getDbScaleAttribute() { public void setDbScaleAttribute(Integer dbScaleValue) { DbScaleAttribute attr = new DbScaleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(dbScaleValue.intValue()); + attr.setValue(dbScaleValue.toString()); } /** @@ -310,7 +310,7 @@ public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -325,7 +325,7 @@ public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -454,7 +454,7 @@ public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -468,7 +468,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbColumnElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbColumnElement.java index 6e0ec076cf..4c139303c1 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbColumnElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbColumnElement.java @@ -224,7 +224,7 @@ public Boolean getDbVisibleAttribute() { DbVisibleAttribute attr = (DbVisibleAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "visible"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbVisibleAttribute.DEFAULT_VALUE); } @@ -238,7 +238,7 @@ public Boolean getDbVisibleAttribute() { public void setDbVisibleAttribute(Boolean dbVisibleValue) { DbVisibleAttribute attr = new DbVisibleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbVisibleValue.booleanValue()); + attr.setValue(dbVisibleValue.toString()); } /** @@ -252,7 +252,7 @@ public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -267,7 +267,7 @@ public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -396,7 +396,7 @@ public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -410,7 +410,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbComponentElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbComponentElement.java index 854c3d7ea8..fbf0885c9f 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbComponentElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbComponentElement.java @@ -79,7 +79,7 @@ public Boolean getDbAsTemplateAttribute() { DbAsTemplateAttribute attr = (DbAsTemplateAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "as-template"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -93,7 +93,7 @@ public Boolean getDbAsTemplateAttribute() { public void setDbAsTemplateAttribute(Boolean dbAsTemplateValue) { DbAsTemplateAttribute attr = new DbAsTemplateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbAsTemplateValue.booleanValue()); + attr.setValue(dbAsTemplateValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbDataSourceSettingElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbDataSourceSettingElement.java index bc372d4579..f1a722c850 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbDataSourceSettingElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbDataSourceSettingElement.java @@ -74,7 +74,7 @@ public Boolean getDbDataSourceSettingIsListAttribute() { (DbDataSourceSettingIsListAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "data-source-setting-is-list"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -89,7 +89,7 @@ public void setDbDataSourceSettingIsListAttribute(Boolean dbDataSourceSettingIsL DbDataSourceSettingIsListAttribute attr = new DbDataSourceSettingIsListAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbDataSourceSettingIsListValue.booleanValue()); + attr.setValue(dbDataSourceSettingIsListValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbDriverSettingsElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbDriverSettingsElement.java index 52ac0adcce..1adbf3b11b 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbDriverSettingsElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbDriverSettingsElement.java @@ -104,7 +104,7 @@ public Boolean getDbIsFirstRowHeaderLineAttribute() { (DbIsFirstRowHeaderLineAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "is-first-row-header-line"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbIsFirstRowHeaderLineAttribute.DEFAULT_VALUE); } @@ -119,7 +119,7 @@ public void setDbIsFirstRowHeaderLineAttribute(Boolean dbIsFirstRowHeaderLineVal DbIsFirstRowHeaderLineAttribute attr = new DbIsFirstRowHeaderLineAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIsFirstRowHeaderLineValue.booleanValue()); + attr.setValue(dbIsFirstRowHeaderLineValue.toString()); } /** @@ -135,7 +135,7 @@ public Boolean getDbParameterNameSubstitutionAttribute() { (DbParameterNameSubstitutionAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "parameter-name-substitution"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbParameterNameSubstitutionAttribute.DEFAULT_VALUE); } @@ -150,7 +150,7 @@ public void setDbParameterNameSubstitutionAttribute(Boolean dbParameterNameSubst DbParameterNameSubstitutionAttribute attr = new DbParameterNameSubstitutionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbParameterNameSubstitutionValue.booleanValue()); + attr.setValue(dbParameterNameSubstitutionValue.toString()); } /** @@ -164,7 +164,7 @@ public Boolean getDbShowDeletedAttribute() { DbShowDeletedAttribute attr = (DbShowDeletedAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "show-deleted"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbShowDeletedAttribute.DEFAULT_VALUE); } @@ -178,7 +178,7 @@ public Boolean getDbShowDeletedAttribute() { public void setDbShowDeletedAttribute(Boolean dbShowDeletedValue) { DbShowDeletedAttribute attr = new DbShowDeletedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbShowDeletedValue.booleanValue()); + attr.setValue(dbShowDeletedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbFilterStatementElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbFilterStatementElement.java index c70e260b69..8631f9247c 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbFilterStatementElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbFilterStatementElement.java @@ -72,7 +72,7 @@ public Boolean getDbApplyCommandAttribute() { DbApplyCommandAttribute attr = (DbApplyCommandAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "apply-command"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbApplyCommandAttribute.DEFAULT_VALUE); } @@ -86,7 +86,7 @@ public Boolean getDbApplyCommandAttribute() { public void setDbApplyCommandAttribute(Boolean dbApplyCommandValue) { DbApplyCommandAttribute attr = new DbApplyCommandAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbApplyCommandValue.booleanValue()); + attr.setValue(dbApplyCommandValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbIndexColumnElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbIndexColumnElement.java index fdf7a0cf37..d24c34860b 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbIndexColumnElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbIndexColumnElement.java @@ -72,7 +72,7 @@ public Boolean getDbIsAscendingAttribute() { DbIsAscendingAttribute attr = (DbIsAscendingAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "is-ascending"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -86,7 +86,7 @@ public Boolean getDbIsAscendingAttribute() { public void setDbIsAscendingAttribute(Boolean dbIsAscendingValue) { DbIsAscendingAttribute attr = new DbIsAscendingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIsAscendingValue.booleanValue()); + attr.setValue(dbIsAscendingValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbIndexElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbIndexElement.java index 9ee63a0fdf..635c5a7b92 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbIndexElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbIndexElement.java @@ -101,7 +101,7 @@ public Boolean getDbIsClusteredAttribute() { DbIsClusteredAttribute attr = (DbIsClusteredAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "is-clustered"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -115,7 +115,7 @@ public Boolean getDbIsClusteredAttribute() { public void setDbIsClusteredAttribute(Boolean dbIsClusteredValue) { DbIsClusteredAttribute attr = new DbIsClusteredAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIsClusteredValue.booleanValue()); + attr.setValue(dbIsClusteredValue.toString()); } /** @@ -129,7 +129,7 @@ public Boolean getDbIsUniqueAttribute() { DbIsUniqueAttribute attr = (DbIsUniqueAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "is-unique"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -143,7 +143,7 @@ public Boolean getDbIsUniqueAttribute() { public void setDbIsUniqueAttribute(Boolean dbIsUniqueValue) { DbIsUniqueAttribute attr = new DbIsUniqueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIsUniqueValue.booleanValue()); + attr.setValue(dbIsUniqueValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbLoginElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbLoginElement.java index d7eb3449a6..c8cb34b367 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbLoginElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbLoginElement.java @@ -74,7 +74,7 @@ public Boolean getDbIsPasswordRequiredAttribute() { (DbIsPasswordRequiredAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "is-password-required"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbIsPasswordRequiredAttribute.DEFAULT_VALUE); } @@ -89,7 +89,7 @@ public void setDbIsPasswordRequiredAttribute(Boolean dbIsPasswordRequiredValue) DbIsPasswordRequiredAttribute attr = new DbIsPasswordRequiredAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIsPasswordRequiredValue.booleanValue()); + attr.setValue(dbIsPasswordRequiredValue.toString()); } /** @@ -103,7 +103,7 @@ public Integer getDbLoginTimeoutAttribute() { DbLoginTimeoutAttribute attr = (DbLoginTimeoutAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "login-timeout"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -117,7 +117,7 @@ public Integer getDbLoginTimeoutAttribute() { public void setDbLoginTimeoutAttribute(Integer dbLoginTimeoutValue) { DbLoginTimeoutAttribute attr = new DbLoginTimeoutAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(dbLoginTimeoutValue.intValue()); + attr.setValue(dbLoginTimeoutValue.toString()); } /** @@ -131,7 +131,7 @@ public Boolean getDbUseSystemUserAttribute() { DbUseSystemUserAttribute attr = (DbUseSystemUserAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "use-system-user"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -145,7 +145,7 @@ public Boolean getDbUseSystemUserAttribute() { public void setDbUseSystemUserAttribute(Boolean dbUseSystemUserValue) { DbUseSystemUserAttribute attr = new DbUseSystemUserAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbUseSystemUserValue.booleanValue()); + attr.setValue(dbUseSystemUserValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbOrderStatementElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbOrderStatementElement.java index 2887abe41f..7d8be02937 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbOrderStatementElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbOrderStatementElement.java @@ -72,7 +72,7 @@ public Boolean getDbApplyCommandAttribute() { DbApplyCommandAttribute attr = (DbApplyCommandAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "apply-command"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbApplyCommandAttribute.DEFAULT_VALUE); } @@ -86,7 +86,7 @@ public Boolean getDbApplyCommandAttribute() { public void setDbApplyCommandAttribute(Boolean dbApplyCommandValue) { DbApplyCommandAttribute attr = new DbApplyCommandAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbApplyCommandValue.booleanValue()); + attr.setValue(dbApplyCommandValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbQueryElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbQueryElement.java index 2927a2c77f..d6be51b903 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbQueryElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbQueryElement.java @@ -164,7 +164,7 @@ public Boolean getDbEscapeProcessingAttribute() { DbEscapeProcessingAttribute attr = (DbEscapeProcessingAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "escape-processing"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbEscapeProcessingAttribute.DEFAULT_VALUE); } @@ -179,7 +179,7 @@ public void setDbEscapeProcessingAttribute(Boolean dbEscapeProcessingValue) { DbEscapeProcessingAttribute attr = new DbEscapeProcessingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbEscapeProcessingValue.booleanValue()); + attr.setValue(dbEscapeProcessingValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbServerDatabaseElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbServerDatabaseElement.java index fee1738af6..892667e95c 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbServerDatabaseElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbServerDatabaseElement.java @@ -158,7 +158,7 @@ public void setDbLocalSocketAttribute(String dbLocalSocketValue) { public Integer getDbPortAttribute() { DbPortAttribute attr = (DbPortAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "port"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -172,7 +172,7 @@ public Integer getDbPortAttribute() { public void setDbPortAttribute(Integer dbPortValue) { DbPortAttribute attr = new DbPortAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(dbPortValue.intValue()); + attr.setValue(dbPortValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbTableSettingElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbTableSettingElement.java index 564654a6df..a7d57cf4a7 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbTableSettingElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/db/DbTableSettingElement.java @@ -73,7 +73,7 @@ public Boolean getDbIsFirstRowHeaderLineAttribute() { (DbIsFirstRowHeaderLineAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "is-first-row-header-line"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbIsFirstRowHeaderLineAttribute.DEFAULT_VALUE); } @@ -88,7 +88,7 @@ public void setDbIsFirstRowHeaderLineAttribute(Boolean dbIsFirstRowHeaderLineVal DbIsFirstRowHeaderLineAttribute attr = new DbIsFirstRowHeaderLineAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbIsFirstRowHeaderLineValue.booleanValue()); + attr.setValue(dbIsFirstRowHeaderLineValue.toString()); } /** @@ -102,7 +102,7 @@ public Boolean getDbShowDeletedAttribute() { DbShowDeletedAttribute attr = (DbShowDeletedAttribute) getOdfAttribute(OdfDocumentNamespace.DB, "show-deleted"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DbShowDeletedAttribute.DEFAULT_VALUE); } @@ -116,7 +116,7 @@ public Boolean getDbShowDeletedAttribute() { public void setDbShowDeletedAttribute(Boolean dbShowDeletedValue) { DbShowDeletedAttribute attr = new DbShowDeletedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dbShowDeletedValue.booleanValue()); + attr.setValue(dbShowDeletedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dCubeElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dCubeElement.java index e707a705ab..fd66e30e1f 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dCubeElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dCubeElement.java @@ -275,7 +275,7 @@ public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -289,7 +289,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dExtrudeElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dExtrudeElement.java index 089cef2613..67bd3b4235 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dExtrudeElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dExtrudeElement.java @@ -219,7 +219,7 @@ public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -233,7 +233,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** @@ -338,7 +338,7 @@ public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -352,7 +352,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dLightElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dLightElement.java index 6e39e201f8..7607bfbfeb 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dLightElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dLightElement.java @@ -131,7 +131,7 @@ public Boolean getDr3dEnabledAttribute() { Dr3dEnabledAttribute attr = (Dr3dEnabledAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "enabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -145,7 +145,7 @@ public Boolean getDr3dEnabledAttribute() { public void setDr3dEnabledAttribute(Boolean dr3dEnabledValue) { Dr3dEnabledAttribute attr = new Dr3dEnabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dr3dEnabledValue.booleanValue()); + attr.setValue(dr3dEnabledValue.toString()); } /** @@ -159,7 +159,7 @@ public Boolean getDr3dSpecularAttribute() { Dr3dSpecularAttribute attr = (Dr3dSpecularAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "specular"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -173,7 +173,7 @@ public Boolean getDr3dSpecularAttribute() { public void setDr3dSpecularAttribute(Boolean dr3dSpecularValue) { Dr3dSpecularAttribute attr = new Dr3dSpecularAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dr3dSpecularValue.booleanValue()); + attr.setValue(dr3dSpecularValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dRotateElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dRotateElement.java index 2eba95fad1..b4008da94c 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dRotateElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dRotateElement.java @@ -219,7 +219,7 @@ public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -233,7 +233,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** @@ -338,7 +338,7 @@ public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -352,7 +352,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSceneElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSceneElement.java index 1c64daed81..67c0b8dfef 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSceneElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSceneElement.java @@ -179,14 +179,14 @@ public void setDr3dFocalLengthAttribute(String dr3dFocalLengthValue) { * Receives the value of the ODFDOM attribute representation Dr3dLightingModeAttribute * , See {@odf.attribute dr3d:lighting-mode} * - * @return - the String , the value or null, if the attribute is not set - * and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not + * set and no default value defined. */ - public String getDr3dLightingModeAttribute() { + public Boolean getDr3dLightingModeAttribute() { Dr3dLightingModeAttribute attr = (Dr3dLightingModeAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "lighting-mode"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.getValue()); } return null; } @@ -195,12 +195,12 @@ public String getDr3dLightingModeAttribute() { * Sets the value of ODFDOM attribute representation Dr3dLightingModeAttribute , See * {@odf.attribute dr3d:lighting-mode} * - * @param dr3dLightingModeValue The type is String + * @param dr3dLightingModeValue The type is Boolean */ - public void setDr3dLightingModeAttribute(String dr3dLightingModeValue) { + public void setDr3dLightingModeAttribute(Boolean dr3dLightingModeValue) { Dr3dLightingModeAttribute attr = new Dr3dLightingModeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(dr3dLightingModeValue); + attr.setValue(dr3dLightingModeValue.toString()); } /** @@ -546,7 +546,7 @@ public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -560,7 +560,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** @@ -830,7 +830,7 @@ public Boolean getTableTableBackgroundAttribute() { (TableTableBackgroundAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table-background"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -845,7 +845,7 @@ public void setTableTableBackgroundAttribute(Boolean tableTableBackgroundValue) TableTableBackgroundAttribute attr = new TableTableBackgroundAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableTableBackgroundValue.booleanValue()); + attr.setValue(tableTableBackgroundValue.toString()); } /** @@ -860,7 +860,7 @@ public Integer getTextAnchorPageNumberAttribute() { (TextAnchorPageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "anchor-page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -875,7 +875,7 @@ public void setTextAnchorPageNumberAttribute(Integer textAnchorPageNumberValue) TextAnchorPageNumberAttribute attr = new TextAnchorPageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textAnchorPageNumberValue.intValue()); + attr.setValue(textAnchorPageNumberValue.toString()); } /** @@ -1026,7 +1026,7 @@ public Dr3dSphereElement newDr3dSphereElement() { * @param drawEscapeDirectionValue the String value of * DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at * specification - * @param drawIdValue the String value of DrawIdAttribute, see + * @param drawIdValue the Integer value of DrawIdAttribute, see * {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see * {@odf.attribute svg:x} at specification @@ -1035,7 +1035,7 @@ public Dr3dSphereElement newDr3dSphereElement() { * @return the element {@odf.element draw:glue-point} */ public DrawGluePointElement newDrawGluePointElement( - String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSphereElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSphereElement.java index 1dd03fa820..dbcc043380 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSphereElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/dr3d/Dr3dSphereElement.java @@ -274,7 +274,7 @@ public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -288,7 +288,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawAElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawAElement.java index 4c4d5f3ab8..0f613198ef 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawAElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawAElement.java @@ -107,7 +107,7 @@ public Boolean getOfficeServerMapAttribute() { OfficeServerMapAttribute attr = (OfficeServerMapAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "server-map"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(OfficeServerMapAttribute.DEFAULT_VALUE); } @@ -121,7 +121,7 @@ public Boolean getOfficeServerMapAttribute() { public void setOfficeServerMapAttribute(Boolean officeServerMapValue) { OfficeServerMapAttribute attr = new OfficeServerMapAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeServerMapValue.booleanValue()); + attr.setValue(officeServerMapValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawAppletElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawAppletElement.java index 6ab00a55a7..a2e281c15e 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawAppletElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawAppletElement.java @@ -133,7 +133,7 @@ public Boolean getDrawMayScriptAttribute() { DrawMayScriptAttribute attr = (DrawMayScriptAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "may-script"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawMayScriptAttribute.DEFAULT_VALUE); } @@ -147,7 +147,7 @@ public Boolean getDrawMayScriptAttribute() { public void setDrawMayScriptAttribute(Boolean drawMayScriptValue) { DrawMayScriptAttribute attr = new DrawMayScriptAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawMayScriptValue.booleanValue()); + attr.setValue(drawMayScriptValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawAreaPolygonElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawAreaPolygonElement.java index 488120af15..cfc9cf1ba6 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawAreaPolygonElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawAreaPolygonElement.java @@ -233,7 +233,7 @@ public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -247,7 +247,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawCaptionElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawCaptionElement.java index 27a5df99c8..baf08fc797 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawCaptionElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawCaptionElement.java @@ -387,7 +387,7 @@ public void setSvgYAttribute(String svgYValue) { * @param drawEscapeDirectionValue the String value of * DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at * specification - * @param drawIdValue the String value of DrawIdAttribute, see + * @param drawIdValue the Integer value of DrawIdAttribute, see * {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see * {@odf.attribute svg:x} at specification @@ -396,7 +396,7 @@ public void setSvgYAttribute(String svgYValue) { * @return the element {@odf.element draw:glue-point} */ public DrawGluePointElement newDrawGluePointElement( - String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawCircleElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawCircleElement.java index d9560a6657..e2ec176694 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawCircleElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawCircleElement.java @@ -468,7 +468,7 @@ public void setSvgYAttribute(String svgYValue) { * @param drawEscapeDirectionValue the String value of * DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at * specification - * @param drawIdValue the String value of DrawIdAttribute, see + * @param drawIdValue the Integer value of DrawIdAttribute, see * {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see * {@odf.attribute svg:x} at specification @@ -477,7 +477,7 @@ public void setSvgYAttribute(String svgYValue) { * @return the element {@odf.element draw:glue-point} */ public DrawGluePointElement newDrawGluePointElement( - String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawConnectorElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawConnectorElement.java index 1a55dcb834..8942e3c28c 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawConnectorElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawConnectorElement.java @@ -118,7 +118,7 @@ public Integer getDrawEndGluePointAttribute() { DrawEndGluePointAttribute attr = (DrawEndGluePointAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "end-glue-point"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -132,7 +132,7 @@ public Integer getDrawEndGluePointAttribute() { public void setDrawEndGluePointAttribute(Integer drawEndGluePointValue) { DrawEndGluePointAttribute attr = new DrawEndGluePointAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawEndGluePointValue.intValue()); + attr.setValue(drawEndGluePointValue.toString()); } /** @@ -231,7 +231,7 @@ public Integer getDrawStartGluePointAttribute() { (DrawStartGluePointAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "start-glue-point"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -246,7 +246,7 @@ public void setDrawStartGluePointAttribute(Integer drawStartGluePointValue) { DrawStartGluePointAttribute attr = new DrawStartGluePointAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawStartGluePointValue.intValue()); + attr.setValue(drawStartGluePointValue.toString()); } /** @@ -401,7 +401,7 @@ public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -415,7 +415,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** @@ -532,7 +532,7 @@ public void setSvgY2Attribute(String svgY2Value) { * @param drawEscapeDirectionValue the String value of * DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at * specification - * @param drawIdValue the String value of DrawIdAttribute, see + * @param drawIdValue the Integer value of DrawIdAttribute, see * {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see * {@odf.attribute svg:x} at specification @@ -541,7 +541,7 @@ public void setSvgY2Attribute(String svgY2Value) { * @return the element {@odf.element draw:glue-point} */ public DrawGluePointElement newDrawGluePointElement( - String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawContourPathElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawContourPathElement.java index 1eaf96f4ac..8b15492244 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawContourPathElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawContourPathElement.java @@ -78,7 +78,7 @@ public Boolean getDrawRecreateOnEditAttribute() { (DrawRecreateOnEditAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "recreate-on-edit"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -93,7 +93,7 @@ public void setDrawRecreateOnEditAttribute(Boolean drawRecreateOnEditValue) { DrawRecreateOnEditAttribute attr = new DrawRecreateOnEditAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawRecreateOnEditValue.booleanValue()); + attr.setValue(drawRecreateOnEditValue.toString()); } /** @@ -166,7 +166,7 @@ public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -180,7 +180,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawContourPolygonElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawContourPolygonElement.java index 0a9c2573a2..c7ba91811b 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawContourPolygonElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawContourPolygonElement.java @@ -108,7 +108,7 @@ public Boolean getDrawRecreateOnEditAttribute() { (DrawRecreateOnEditAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "recreate-on-edit"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -123,7 +123,7 @@ public void setDrawRecreateOnEditAttribute(Boolean drawRecreateOnEditValue) { DrawRecreateOnEditAttribute attr = new DrawRecreateOnEditAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawRecreateOnEditValue.booleanValue()); + attr.setValue(drawRecreateOnEditValue.toString()); } /** @@ -167,7 +167,7 @@ public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -181,7 +181,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawControlElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawControlElement.java index 61e5004cf8..7482211eee 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawControlElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawControlElement.java @@ -326,7 +326,7 @@ public void setSvgYAttribute(String svgYValue) { * @param drawEscapeDirectionValue the String value of * DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at * specification - * @param drawIdValue the String value of DrawIdAttribute, see + * @param drawIdValue the Integer value of DrawIdAttribute, see * {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see * {@odf.attribute svg:x} at specification @@ -335,7 +335,7 @@ public void setSvgYAttribute(String svgYValue) { * @return the element {@odf.element draw:glue-point} */ public DrawGluePointElement newDrawGluePointElement( - String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawCustomShapeElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawCustomShapeElement.java index 6e98a2c7ec..7a55a318ca 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawCustomShapeElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawCustomShapeElement.java @@ -368,7 +368,7 @@ public DrawEnhancedGeometryElement newDrawEnhancedGeometryElement() { * @param drawEscapeDirectionValue the String value of * DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at * specification - * @param drawIdValue the String value of DrawIdAttribute, see + * @param drawIdValue the Integer value of DrawIdAttribute, see * {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see * {@odf.attribute svg:x} at specification @@ -377,7 +377,7 @@ public DrawEnhancedGeometryElement newDrawEnhancedGeometryElement() { * @return the element {@odf.element draw:glue-point} */ public DrawGluePointElement newDrawGluePointElement( - String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawEllipseElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawEllipseElement.java index 3986a25c8a..dc07a45082 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawEllipseElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawEllipseElement.java @@ -496,7 +496,7 @@ public void setSvgYAttribute(String svgYValue) { * @param drawEscapeDirectionValue the String value of * DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at * specification - * @param drawIdValue the String value of DrawIdAttribute, see + * @param drawIdValue the Integer value of DrawIdAttribute, see * {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see * {@odf.attribute svg:x} at specification @@ -505,7 +505,7 @@ public void setSvgYAttribute(String svgYValue) { * @return the element {@odf.element draw:glue-point} */ public DrawGluePointElement newDrawGluePointElement( - String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawEnhancedGeometryElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawEnhancedGeometryElement.java index 822d2e38bd..3fdd57b354 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawEnhancedGeometryElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawEnhancedGeometryElement.java @@ -171,7 +171,7 @@ public Boolean getDrawConcentricGradientFillAllowedAttribute() { (DrawConcentricGradientFillAllowedAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "concentric-gradient-fill-allowed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawConcentricGradientFillAllowedAttribute.DEFAULT_VALUE); } @@ -188,7 +188,7 @@ public void setDrawConcentricGradientFillAllowedAttribute( DrawConcentricGradientFillAllowedAttribute attr = new DrawConcentricGradientFillAllowedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawConcentricGradientFillAllowedValue.booleanValue()); + attr.setValue(drawConcentricGradientFillAllowedValue.toString()); } /** @@ -230,7 +230,7 @@ public Boolean getDrawExtrusionAttribute() { DrawExtrusionAttribute attr = (DrawExtrusionAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionAttribute.DEFAULT_VALUE); } @@ -244,7 +244,7 @@ public Boolean getDrawExtrusionAttribute() { public void setDrawExtrusionAttribute(Boolean drawExtrusionValue) { DrawExtrusionAttribute attr = new DrawExtrusionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionValue.booleanValue()); + attr.setValue(drawExtrusionValue.toString()); } /** @@ -259,7 +259,7 @@ public Boolean getDrawExtrusionAllowedAttribute() { (DrawExtrusionAllowedAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-allowed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionAllowedAttribute.DEFAULT_VALUE); } @@ -274,7 +274,7 @@ public void setDrawExtrusionAllowedAttribute(Boolean drawExtrusionAllowedValue) DrawExtrusionAllowedAttribute attr = new DrawExtrusionAllowedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionAllowedValue.booleanValue()); + attr.setValue(drawExtrusionAllowedValue.toString()); } /** @@ -318,7 +318,7 @@ public Boolean getDrawExtrusionColorAttribute() { DrawExtrusionColorAttribute attr = (DrawExtrusionColorAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-color"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionColorAttribute.DEFAULT_VALUE); } @@ -333,7 +333,7 @@ public void setDrawExtrusionColorAttribute(Boolean drawExtrusionColorValue) { DrawExtrusionColorAttribute attr = new DrawExtrusionColorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionColorValue.booleanValue()); + attr.setValue(drawExtrusionColorValue.toString()); } /** @@ -441,7 +441,7 @@ public Boolean getDrawExtrusionFirstLightHarshAttribute() { (DrawExtrusionFirstLightHarshAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-first-light-harsh"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionFirstLightHarshAttribute.DEFAULT_VALUE); } @@ -456,7 +456,7 @@ public void setDrawExtrusionFirstLightHarshAttribute(Boolean drawExtrusionFirstL DrawExtrusionFirstLightHarshAttribute attr = new DrawExtrusionFirstLightHarshAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionFirstLightHarshValue.booleanValue()); + attr.setValue(drawExtrusionFirstLightHarshValue.toString()); } /** @@ -502,7 +502,7 @@ public Boolean getDrawExtrusionLightFaceAttribute() { (DrawExtrusionLightFaceAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-light-face"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionLightFaceAttribute.DEFAULT_VALUE); } @@ -517,7 +517,7 @@ public void setDrawExtrusionLightFaceAttribute(Boolean drawExtrusionLightFaceVal DrawExtrusionLightFaceAttribute attr = new DrawExtrusionLightFaceAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionLightFaceValue.booleanValue()); + attr.setValue(drawExtrusionLightFaceValue.toString()); } /** @@ -531,7 +531,7 @@ public Boolean getDrawExtrusionMetalAttribute() { DrawExtrusionMetalAttribute attr = (DrawExtrusionMetalAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-metal"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionMetalAttribute.DEFAULT_VALUE); } @@ -546,7 +546,7 @@ public void setDrawExtrusionMetalAttribute(Boolean drawExtrusionMetalValue) { DrawExtrusionMetalAttribute attr = new DrawExtrusionMetalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionMetalValue.booleanValue()); + attr.setValue(drawExtrusionMetalValue.toString()); } /** @@ -562,7 +562,7 @@ public Integer getDrawExtrusionNumberOfLineSegmentsAttribute() { (DrawExtrusionNumberOfLineSegmentsAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-number-of-line-segments"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(DrawExtrusionNumberOfLineSegmentsAttribute.DEFAULT_VALUE); } @@ -579,7 +579,7 @@ public void setDrawExtrusionNumberOfLineSegmentsAttribute( DrawExtrusionNumberOfLineSegmentsAttribute attr = new DrawExtrusionNumberOfLineSegmentsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawExtrusionNumberOfLineSegmentsValue.intValue()); + attr.setValue(drawExtrusionNumberOfLineSegmentsValue.toString()); } /** @@ -594,7 +594,7 @@ public Double getDrawExtrusionOriginAttribute() { (DrawExtrusionOriginAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-origin"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(DrawExtrusionOriginAttribute.DEFAULT_VALUE); } @@ -609,7 +609,7 @@ public void setDrawExtrusionOriginAttribute(Double drawExtrusionOriginValue) { DrawExtrusionOriginAttribute attr = new DrawExtrusionOriginAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(drawExtrusionOriginValue.doubleValue()); + attr.setValue(drawExtrusionOriginValue.toString()); } /** @@ -719,7 +719,7 @@ public Boolean getDrawExtrusionSecondLightHarshAttribute() { (DrawExtrusionSecondLightHarshAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-second-light-harsh"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawExtrusionSecondLightHarshAttribute.DEFAULT_VALUE); } @@ -735,7 +735,7 @@ public void setDrawExtrusionSecondLightHarshAttribute( DrawExtrusionSecondLightHarshAttribute attr = new DrawExtrusionSecondLightHarshAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawExtrusionSecondLightHarshValue.booleanValue()); + attr.setValue(drawExtrusionSecondLightHarshValue.toString()); } /** @@ -989,7 +989,7 @@ public Boolean getDrawMirrorHorizontalAttribute() { (DrawMirrorHorizontalAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "mirror-horizontal"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawMirrorHorizontalAttribute.DEFAULT_VALUE); } @@ -1004,7 +1004,7 @@ public void setDrawMirrorHorizontalAttribute(Boolean drawMirrorHorizontalValue) DrawMirrorHorizontalAttribute attr = new DrawMirrorHorizontalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawMirrorHorizontalValue.booleanValue()); + attr.setValue(drawMirrorHorizontalValue.toString()); } /** @@ -1018,7 +1018,7 @@ public Boolean getDrawMirrorVerticalAttribute() { DrawMirrorVerticalAttribute attr = (DrawMirrorVerticalAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "mirror-vertical"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawMirrorVerticalAttribute.DEFAULT_VALUE); } @@ -1033,7 +1033,7 @@ public void setDrawMirrorVerticalAttribute(Boolean drawMirrorVerticalValue) { DrawMirrorVerticalAttribute attr = new DrawMirrorVerticalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawMirrorVerticalValue.booleanValue()); + attr.setValue(drawMirrorVerticalValue.toString()); } /** @@ -1076,7 +1076,7 @@ public Double getDrawPathStretchpointXAttribute() { (DrawPathStretchpointXAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "path-stretchpoint-x"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -1091,7 +1091,7 @@ public void setDrawPathStretchpointXAttribute(Double drawPathStretchpointXValue) DrawPathStretchpointXAttribute attr = new DrawPathStretchpointXAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(drawPathStretchpointXValue.doubleValue()); + attr.setValue(drawPathStretchpointXValue.toString()); } /** @@ -1106,7 +1106,7 @@ public Double getDrawPathStretchpointYAttribute() { (DrawPathStretchpointYAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "path-stretchpoint-y"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -1121,7 +1121,7 @@ public void setDrawPathStretchpointYAttribute(Double drawPathStretchpointYValue) DrawPathStretchpointYAttribute attr = new DrawPathStretchpointYAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(drawPathStretchpointYValue.doubleValue()); + attr.setValue(drawPathStretchpointYValue.toString()); } /** @@ -1163,7 +1163,7 @@ public Boolean getDrawTextPathAttribute() { DrawTextPathAttribute attr = (DrawTextPathAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "text-path"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawTextPathAttribute.DEFAULT_VALUE); } @@ -1177,7 +1177,7 @@ public Boolean getDrawTextPathAttribute() { public void setDrawTextPathAttribute(Boolean drawTextPathValue) { DrawTextPathAttribute attr = new DrawTextPathAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawTextPathValue.booleanValue()); + attr.setValue(drawTextPathValue.toString()); } /** @@ -1192,7 +1192,7 @@ public Boolean getDrawTextPathAllowedAttribute() { (DrawTextPathAllowedAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "text-path-allowed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawTextPathAllowedAttribute.DEFAULT_VALUE); } @@ -1207,7 +1207,7 @@ public void setDrawTextPathAllowedAttribute(Boolean drawTextPathAllowedValue) { DrawTextPathAllowedAttribute attr = new DrawTextPathAllowedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawTextPathAllowedValue.booleanValue()); + attr.setValue(drawTextPathAllowedValue.toString()); } /** @@ -1251,7 +1251,7 @@ public Boolean getDrawTextPathSameLetterHeightsAttribute() { (DrawTextPathSameLetterHeightsAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "text-path-same-letter-heights"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawTextPathSameLetterHeightsAttribute.DEFAULT_VALUE); } @@ -1267,7 +1267,7 @@ public void setDrawTextPathSameLetterHeightsAttribute( DrawTextPathSameLetterHeightsAttribute attr = new DrawTextPathSameLetterHeightsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawTextPathSameLetterHeightsValue.booleanValue()); + attr.setValue(drawTextPathSameLetterHeightsValue.toString()); } /** @@ -1367,7 +1367,7 @@ public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1381,7 +1381,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawFrameElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawFrameElement.java index 8a432cd6f0..817e5a6e15 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawFrameElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawFrameElement.java @@ -257,7 +257,7 @@ public Boolean getPresentationPlaceholderAttribute() { (PresentationPlaceholderAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "placeholder"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -272,7 +272,7 @@ public void setPresentationPlaceholderAttribute(Boolean presentationPlaceholderV PresentationPlaceholderAttribute attr = new PresentationPlaceholderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationPlaceholderValue.booleanValue()); + attr.setValue(presentationPlaceholderValue.toString()); } /** @@ -288,7 +288,7 @@ public Boolean getPresentationUserTransformedAttribute() { (PresentationUserTransformedAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "user-transformed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -303,7 +303,7 @@ public void setPresentationUserTransformedAttribute(Boolean presentationUserTran PresentationUserTransformedAttribute attr = new PresentationUserTransformedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationUserTransformedValue.booleanValue()); + attr.setValue(presentationUserTransformedValue.toString()); } /** @@ -554,7 +554,7 @@ public DrawFloatingFrameElement newDrawFloatingFrameElement( * @param drawEscapeDirectionValue the String value of * DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at * specification - * @param drawIdValue the String value of DrawIdAttribute, see + * @param drawIdValue the Integer value of DrawIdAttribute, see * {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see * {@odf.attribute svg:x} at specification @@ -563,7 +563,7 @@ public DrawFloatingFrameElement newDrawFloatingFrameElement( * @return the element {@odf.element draw:glue-point} */ public DrawGluePointElement newDrawGluePointElement( - String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawGElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawGElement.java index 286e2afb6a..5720bb4345 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawGElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawGElement.java @@ -254,7 +254,7 @@ public DrawGElement newDrawGElement() { * @param drawEscapeDirectionValue the String value of * DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at * specification - * @param drawIdValue the String value of DrawIdAttribute, see + * @param drawIdValue the Integer value of DrawIdAttribute, see * {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see * {@odf.attribute svg:x} at specification @@ -263,7 +263,7 @@ public DrawGElement newDrawGElement() { * @return the element {@odf.element draw:glue-point} */ public DrawGluePointElement newDrawGluePointElement( - String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java index f4782e0d2f..327afa9cbd 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawGluePointElement.java @@ -130,13 +130,13 @@ public void setDrawEscapeDirectionAttribute(String drawEscapeDirectionValue) { * *

    Attribute is mandatory. * - * @return - the String , the value or null, if the attribute is not set - * and no default value defined. + * @return - the Integer , the value or null, if the attribute is not + * set and no default value defined. */ - public String getDrawIdAttribute() { + public Integer getDrawIdAttribute() { DrawIdAttribute attr = (DrawIdAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "id"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Integer.valueOf(attr.getValue()); } return null; } @@ -145,12 +145,12 @@ public String getDrawIdAttribute() { * Sets the value of ODFDOM attribute representation DrawIdAttribute , See * {@odf.attribute draw:id} * - * @param drawIdValue The type is String + * @param drawIdValue The type is Integer */ - public void setDrawIdAttribute(String drawIdValue) { + public void setDrawIdAttribute(Integer drawIdValue) { DrawIdAttribute attr = new DrawIdAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(drawIdValue); + attr.setValue(drawIdValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawHandleElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawHandleElement.java index ed383792b4..bce0855c9f 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawHandleElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawHandleElement.java @@ -81,7 +81,7 @@ public Boolean getDrawHandleMirrorHorizontalAttribute() { (DrawHandleMirrorHorizontalAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "handle-mirror-horizontal"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawHandleMirrorHorizontalAttribute.DEFAULT_VALUE); } @@ -96,7 +96,7 @@ public void setDrawHandleMirrorHorizontalAttribute(Boolean drawHandleMirrorHoriz DrawHandleMirrorHorizontalAttribute attr = new DrawHandleMirrorHorizontalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawHandleMirrorHorizontalValue.booleanValue()); + attr.setValue(drawHandleMirrorHorizontalValue.toString()); } /** @@ -111,7 +111,7 @@ public Boolean getDrawHandleMirrorVerticalAttribute() { (DrawHandleMirrorVerticalAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "handle-mirror-vertical"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawHandleMirrorVerticalAttribute.DEFAULT_VALUE); } @@ -126,7 +126,7 @@ public void setDrawHandleMirrorVerticalAttribute(Boolean drawHandleMirrorVertica DrawHandleMirrorVerticalAttribute attr = new DrawHandleMirrorVerticalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawHandleMirrorVerticalValue.booleanValue()); + attr.setValue(drawHandleMirrorVerticalValue.toString()); } /** @@ -381,7 +381,7 @@ public Boolean getDrawHandleSwitchedAttribute() { DrawHandleSwitchedAttribute attr = (DrawHandleSwitchedAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "handle-switched"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawHandleSwitchedAttribute.DEFAULT_VALUE); } @@ -396,7 +396,7 @@ public void setDrawHandleSwitchedAttribute(Boolean drawHandleSwitchedValue) { DrawHandleSwitchedAttribute attr = new DrawHandleSwitchedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawHandleSwitchedValue.booleanValue()); + attr.setValue(drawHandleSwitchedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawLayerElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawLayerElement.java index 0f59b4a896..da638ea701 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawLayerElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawLayerElement.java @@ -131,7 +131,7 @@ public Boolean getDrawProtectedAttribute() { DrawProtectedAttribute attr = (DrawProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(DrawProtectedAttribute.DEFAULT_VALUE); } @@ -145,7 +145,7 @@ public Boolean getDrawProtectedAttribute() { public void setDrawProtectedAttribute(Boolean drawProtectedValue) { DrawProtectedAttribute attr = new DrawProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawProtectedValue.booleanValue()); + attr.setValue(drawProtectedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawLineElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawLineElement.java index d65475c599..0ae1cea033 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawLineElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawLineElement.java @@ -305,7 +305,7 @@ public void setSvgY2Attribute(String svgY2Value) { * @param drawEscapeDirectionValue the String value of * DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at * specification - * @param drawIdValue the String value of DrawIdAttribute, see + * @param drawIdValue the Integer value of DrawIdAttribute, see * {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see * {@odf.attribute svg:x} at specification @@ -314,7 +314,7 @@ public void setSvgY2Attribute(String svgY2Value) { * @return the element {@odf.element draw:glue-point} */ public DrawGluePointElement newDrawGluePointElement( - String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawMarkerElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawMarkerElement.java index 2998620011..8c385fc861 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawMarkerElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawMarkerElement.java @@ -161,7 +161,7 @@ public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -175,7 +175,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawMeasureElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawMeasureElement.java index 7f0e9b5b0b..791a6b6fe4 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawMeasureElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawMeasureElement.java @@ -305,7 +305,7 @@ public void setSvgY2Attribute(String svgY2Value) { * @param drawEscapeDirectionValue the String value of * DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at * specification - * @param drawIdValue the String value of DrawIdAttribute, see + * @param drawIdValue the Integer value of DrawIdAttribute, see * {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see * {@odf.attribute svg:x} at specification @@ -314,7 +314,7 @@ public void setSvgY2Attribute(String svgY2Value) { * @return the element {@odf.element draw:glue-point} */ public DrawGluePointElement newDrawGluePointElement( - String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPageThumbnailElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPageThumbnailElement.java index 2820836bd6..2d82eda87e 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPageThumbnailElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPageThumbnailElement.java @@ -138,7 +138,7 @@ public Integer getDrawPageNumberAttribute() { DrawPageNumberAttribute attr = (DrawPageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -152,7 +152,7 @@ public Integer getDrawPageNumberAttribute() { public void setDrawPageNumberAttribute(Integer drawPageNumberValue) { DrawPageNumberAttribute attr = new DrawPageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawPageNumberValue.intValue()); + attr.setValue(drawPageNumberValue.toString()); } /** @@ -224,7 +224,7 @@ public Boolean getPresentationPlaceholderAttribute() { (PresentationPlaceholderAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "placeholder"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -239,7 +239,7 @@ public void setPresentationPlaceholderAttribute(Boolean presentationPlaceholderV PresentationPlaceholderAttribute attr = new PresentationPlaceholderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationPlaceholderValue.booleanValue()); + attr.setValue(presentationPlaceholderValue.toString()); } /** @@ -255,7 +255,7 @@ public Boolean getPresentationUserTransformedAttribute() { (PresentationUserTransformedAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "user-transformed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -270,7 +270,7 @@ public void setPresentationUserTransformedAttribute(Boolean presentationUserTran PresentationUserTransformedAttribute attr = new PresentationUserTransformedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationUserTransformedValue.booleanValue()); + attr.setValue(presentationUserTransformedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPathElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPathElement.java index 4bd7b3d3d8..1597c92143 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPathElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPathElement.java @@ -255,7 +255,7 @@ public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -269,7 +269,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** @@ -359,7 +359,7 @@ public void setSvgYAttribute(String svgYValue) { * @param drawEscapeDirectionValue the String value of * DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at * specification - * @param drawIdValue the String value of DrawIdAttribute, see + * @param drawIdValue the Integer value of DrawIdAttribute, see * {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see * {@odf.attribute svg:x} at specification @@ -368,7 +368,7 @@ public void setSvgYAttribute(String svgYValue) { * @return the element {@odf.element draw:glue-point} */ public DrawGluePointElement newDrawGluePointElement( - String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPolygonElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPolygonElement.java index 6658790fea..a7ce3bdbcb 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPolygonElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPolygonElement.java @@ -256,7 +256,7 @@ public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -270,7 +270,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** @@ -360,7 +360,7 @@ public void setSvgYAttribute(String svgYValue) { * @param drawEscapeDirectionValue the String value of * DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at * specification - * @param drawIdValue the String value of DrawIdAttribute, see + * @param drawIdValue the Integer value of DrawIdAttribute, see * {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see * {@odf.attribute svg:x} at specification @@ -369,7 +369,7 @@ public void setSvgYAttribute(String svgYValue) { * @return the element {@odf.element draw:glue-point} */ public DrawGluePointElement newDrawGluePointElement( - String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPolylineElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPolylineElement.java index 7aa1076e75..493cc62e34 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPolylineElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPolylineElement.java @@ -256,7 +256,7 @@ public Integer getSvgViewBoxAttribute() { SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -270,7 +270,7 @@ public Integer getSvgViewBoxAttribute() { public void setSvgViewBoxAttribute(Integer svgViewBoxValue) { SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgViewBoxValue.intValue()); + attr.setValue(svgViewBoxValue.toString()); } /** @@ -360,7 +360,7 @@ public void setSvgYAttribute(String svgYValue) { * @param drawEscapeDirectionValue the String value of * DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at * specification - * @param drawIdValue the String value of DrawIdAttribute, see + * @param drawIdValue the Integer value of DrawIdAttribute, see * {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see * {@odf.attribute svg:x} at specification @@ -369,7 +369,7 @@ public void setSvgYAttribute(String svgYValue) { * @return the element {@odf.element draw:glue-point} */ public DrawGluePointElement newDrawGluePointElement( - String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawRectElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawRectElement.java index b8192e56fa..451f005ab0 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawRectElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawRectElement.java @@ -383,7 +383,7 @@ public void setSvgYAttribute(String svgYValue) { * @param drawEscapeDirectionValue the String value of * DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at * specification - * @param drawIdValue the String value of DrawIdAttribute, see + * @param drawIdValue the Integer value of DrawIdAttribute, see * {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see * {@odf.attribute svg:x} at specification @@ -392,7 +392,7 @@ public void setSvgYAttribute(String svgYValue) { * @return the element {@odf.element draw:glue-point} */ public DrawGluePointElement newDrawGluePointElement( - String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java index e2ad9b3f79..714b1b9e1c 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawRegularPolygonElement.java @@ -115,7 +115,7 @@ public Boolean getDrawConcaveAttribute() { DrawConcaveAttribute attr = (DrawConcaveAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "concave"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -129,7 +129,7 @@ public Boolean getDrawConcaveAttribute() { public void setDrawConcaveAttribute(Boolean drawConcaveValue) { DrawConcaveAttribute attr = new DrawConcaveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawConcaveValue.booleanValue()); + attr.setValue(drawConcaveValue.toString()); } /** @@ -145,7 +145,7 @@ public Integer getDrawCornersAttribute() { DrawCornersAttribute attr = (DrawCornersAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "corners"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -159,7 +159,7 @@ public Integer getDrawCornersAttribute() { public void setDrawCornersAttribute(Integer drawCornersValue) { DrawCornersAttribute attr = new DrawCornersAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawCornersValue.intValue()); + attr.setValue(drawCornersValue.toString()); } /** @@ -390,7 +390,7 @@ public void setSvgYAttribute(String svgYValue) { * @param drawEscapeDirectionValue the String value of * DrawEscapeDirectionAttribute, see {@odf.attribute draw:escape-direction} at * specification - * @param drawIdValue the String value of DrawIdAttribute, see + * @param drawIdValue the Integer value of DrawIdAttribute, see * {@odf.attribute draw:id} at specification * @param svgXValue the String value of SvgXAttribute, see * {@odf.attribute svg:x} at specification @@ -399,7 +399,7 @@ public void setSvgYAttribute(String svgYValue) { * @return the element {@odf.element draw:glue-point} */ public DrawGluePointElement newDrawGluePointElement( - String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue) { + String drawEscapeDirectionValue, int drawIdValue, String svgXValue, String svgYValue) { DrawGluePointElement drawGluePoint = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawGluePointElement.class); drawGluePoint.setDrawEscapeDirectionAttribute(drawEscapeDirectionValue); diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawShapeElementBase.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawShapeElementBase.java index 653e336e12..99776c41ef 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawShapeElementBase.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawShapeElementBase.java @@ -181,7 +181,7 @@ public Integer getDrawZIndexAttribute() { DrawZIndexAttribute attr = (DrawZIndexAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "z-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -195,7 +195,7 @@ public Integer getDrawZIndexAttribute() { public void setDrawZIndexAttribute(Integer drawZIndexValue) { DrawZIndexAttribute attr = new DrawZIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawZIndexValue.intValue()); + attr.setValue(drawZIndexValue.toString()); } /** @@ -356,7 +356,7 @@ public Boolean getTableTableBackgroundAttribute() { (TableTableBackgroundAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table-background"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -371,7 +371,7 @@ public void setTableTableBackgroundAttribute(Boolean tableTableBackgroundValue) TableTableBackgroundAttribute attr = new TableTableBackgroundAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableTableBackgroundValue.booleanValue()); + attr.setValue(tableTableBackgroundValue.toString()); } /** @@ -386,7 +386,7 @@ public Integer getTextAnchorPageNumberAttribute() { (TextAnchorPageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "anchor-page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -401,7 +401,7 @@ public void setTextAnchorPageNumberAttribute(Integer textAnchorPageNumberValue) TextAnchorPageNumberAttribute attr = new TextAnchorPageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textAnchorPageNumberValue.intValue()); + attr.setValue(textAnchorPageNumberValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawStrokeDashElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawStrokeDashElement.java index 6d2f58cf19..7788a6a2d7 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawStrokeDashElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawStrokeDashElement.java @@ -134,7 +134,7 @@ public Integer getDrawDots1Attribute() { DrawDots1Attribute attr = (DrawDots1Attribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "dots1"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -148,7 +148,7 @@ public Integer getDrawDots1Attribute() { public void setDrawDots1Attribute(Integer drawDots1Value) { DrawDots1Attribute attr = new DrawDots1Attribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawDots1Value.intValue()); + attr.setValue(drawDots1Value.toString()); } /** @@ -190,7 +190,7 @@ public Integer getDrawDots2Attribute() { DrawDots2Attribute attr = (DrawDots2Attribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "dots2"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -204,7 +204,7 @@ public Integer getDrawDots2Attribute() { public void setDrawDots2Attribute(Integer drawDots2Value) { DrawDots2Attribute attr = new DrawDots2Attribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawDots2Value.intValue()); + attr.setValue(drawDots2Value.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormButtonElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormButtonElement.java index ac44169626..3bef73d9d8 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormButtonElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormButtonElement.java @@ -152,7 +152,7 @@ public Boolean getFormDefaultButtonAttribute() { FormDefaultButtonAttribute attr = (FormDefaultButtonAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "default-button"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDefaultButtonAttribute.DEFAULT_VALUE); } @@ -167,7 +167,7 @@ public void setFormDefaultButtonAttribute(Boolean formDefaultButtonValue) { FormDefaultButtonAttribute attr = new FormDefaultButtonAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDefaultButtonValue.booleanValue()); + attr.setValue(formDefaultButtonValue.toString()); } /** @@ -211,7 +211,7 @@ public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -225,7 +225,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -239,7 +239,7 @@ public Boolean getFormFocusOnClickAttribute() { FormFocusOnClickAttribute attr = (FormFocusOnClickAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "focus-on-click"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -253,7 +253,7 @@ public Boolean getFormFocusOnClickAttribute() { public void setFormFocusOnClickAttribute(Boolean formFocusOnClickValue) { FormFocusOnClickAttribute attr = new FormFocusOnClickAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formFocusOnClickValue.booleanValue()); + attr.setValue(formFocusOnClickValue.toString()); } /** @@ -436,7 +436,7 @@ public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -450,7 +450,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -464,7 +464,7 @@ public Boolean getFormRepeatAttribute() { FormRepeatAttribute attr = (FormRepeatAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "repeat"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -478,7 +478,7 @@ public Boolean getFormRepeatAttribute() { public void setFormRepeatAttribute(Boolean formRepeatValue) { FormRepeatAttribute attr = new FormRepeatAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formRepeatValue.booleanValue()); + attr.setValue(formRepeatValue.toString()); } /** @@ -492,7 +492,7 @@ public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -506,7 +506,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -520,7 +520,7 @@ public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -534,7 +534,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** @@ -576,7 +576,7 @@ public Boolean getFormToggleAttribute() { FormToggleAttribute attr = (FormToggleAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "toggle"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormToggleAttribute.DEFAULT_VALUE); } @@ -590,7 +590,7 @@ public Boolean getFormToggleAttribute() { public void setFormToggleAttribute(Boolean formToggleValue) { FormToggleAttribute attr = new FormToggleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formToggleValue.booleanValue()); + attr.setValue(formToggleValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormCheckboxElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormCheckboxElement.java index 997f82e37f..92d91c73ad 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormCheckboxElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormCheckboxElement.java @@ -176,7 +176,7 @@ public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -190,7 +190,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -290,7 +290,7 @@ public Boolean getFormIsTristateAttribute() { FormIsTristateAttribute attr = (FormIsTristateAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "is-tristate"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormIsTristateAttribute.DEFAULT_VALUE); } @@ -304,7 +304,7 @@ public Boolean getFormIsTristateAttribute() { public void setFormIsTristateAttribute(Boolean formIsTristateValue) { FormIsTristateAttribute attr = new FormIsTristateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formIsTristateValue.booleanValue()); + attr.setValue(formIsTristateValue.toString()); } /** @@ -401,7 +401,7 @@ public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -415,7 +415,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -457,7 +457,7 @@ public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -471,7 +471,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -485,7 +485,7 @@ public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -499,7 +499,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormComboboxElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormComboboxElement.java index 10fb61dee7..cc5db4f6bf 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormComboboxElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormComboboxElement.java @@ -93,7 +93,7 @@ public Boolean getFormAutoCompleteAttribute() { FormAutoCompleteAttribute attr = (FormAutoCompleteAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "auto-complete"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -107,7 +107,7 @@ public Boolean getFormAutoCompleteAttribute() { public void setFormAutoCompleteAttribute(Boolean formAutoCompleteValue) { FormAutoCompleteAttribute attr = new FormAutoCompleteAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formAutoCompleteValue.booleanValue()); + attr.setValue(formAutoCompleteValue.toString()); } /** @@ -152,7 +152,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -167,7 +167,7 @@ public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullVal FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -237,7 +237,7 @@ public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -251,7 +251,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -265,7 +265,7 @@ public Boolean getFormDropdownAttribute() { FormDropdownAttribute attr = (FormDropdownAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "dropdown"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDropdownAttribute.DEFAULT_VALUE); } @@ -279,7 +279,7 @@ public Boolean getFormDropdownAttribute() { public void setFormDropdownAttribute(Boolean formDropdownValue) { FormDropdownAttribute attr = new FormDropdownAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDropdownValue.booleanValue()); + attr.setValue(formDropdownValue.toString()); } /** @@ -406,7 +406,7 @@ public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -420,7 +420,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -461,7 +461,7 @@ public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -475,7 +475,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -489,7 +489,7 @@ public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -503,7 +503,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -516,7 +516,7 @@ public void setFormReadonlyAttribute(Boolean formReadonlyValue) { public Integer getFormSizeAttribute() { FormSizeAttribute attr = (FormSizeAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "size"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -530,7 +530,7 @@ public Integer getFormSizeAttribute() { public void setFormSizeAttribute(Integer formSizeValue) { FormSizeAttribute attr = new FormSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formSizeValue.intValue()); + attr.setValue(formSizeValue.toString()); } /** @@ -574,7 +574,7 @@ public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -588,7 +588,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -602,7 +602,7 @@ public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -616,7 +616,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormDateElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormDateElement.java index a15382926b..95aef82612 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormDateElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormDateElement.java @@ -123,7 +123,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -138,7 +138,7 @@ public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullVal FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -238,7 +238,7 @@ public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -252,7 +252,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -321,7 +321,7 @@ public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -335,7 +335,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -432,7 +432,7 @@ public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -446,7 +446,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -460,7 +460,7 @@ public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -474,7 +474,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -488,7 +488,7 @@ public Boolean getFormRepeatAttribute() { FormRepeatAttribute attr = (FormRepeatAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "repeat"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -502,7 +502,7 @@ public Boolean getFormRepeatAttribute() { public void setFormRepeatAttribute(Boolean formRepeatValue) { FormRepeatAttribute attr = new FormRepeatAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formRepeatValue.booleanValue()); + attr.setValue(formRepeatValue.toString()); } /** @@ -516,7 +516,7 @@ public Boolean getFormSpinButtonAttribute() { FormSpinButtonAttribute attr = (FormSpinButtonAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "spin-button"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormSpinButtonAttribute.DEFAULT_VALUE); } @@ -530,7 +530,7 @@ public Boolean getFormSpinButtonAttribute() { public void setFormSpinButtonAttribute(Boolean formSpinButtonValue) { FormSpinButtonAttribute attr = new FormSpinButtonAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formSpinButtonValue.booleanValue()); + attr.setValue(formSpinButtonValue.toString()); } /** @@ -544,7 +544,7 @@ public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -558,7 +558,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -572,7 +572,7 @@ public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -586,7 +586,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormFileElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormFileElement.java index c9e4fc9cee..2acb2e07c7 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormFileElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormFileElement.java @@ -143,7 +143,7 @@ public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -157,7 +157,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -226,7 +226,7 @@ public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -240,7 +240,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -281,7 +281,7 @@ public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -295,7 +295,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -309,7 +309,7 @@ public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -323,7 +323,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -337,7 +337,7 @@ public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -351,7 +351,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -365,7 +365,7 @@ public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -379,7 +379,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormFixedTextElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormFixedTextElement.java index 1527d6b007..fd762344b8 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormFixedTextElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormFixedTextElement.java @@ -112,7 +112,7 @@ public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -126,7 +126,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -222,7 +222,7 @@ public Boolean getFormMultiLineAttribute() { FormMultiLineAttribute attr = (FormMultiLineAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "multi-line"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormMultiLineAttribute.DEFAULT_VALUE); } @@ -236,7 +236,7 @@ public Boolean getFormMultiLineAttribute() { public void setFormMultiLineAttribute(Boolean formMultiLineValue) { FormMultiLineAttribute attr = new FormMultiLineAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formMultiLineValue.booleanValue()); + attr.setValue(formMultiLineValue.toString()); } /** @@ -277,7 +277,7 @@ public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -291,7 +291,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormFormElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormFormElement.java index ca2ef7699d..41e807ea9f 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormFormElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormFormElement.java @@ -93,7 +93,7 @@ public Boolean getFormAllowDeletesAttribute() { FormAllowDeletesAttribute attr = (FormAllowDeletesAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "allow-deletes"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormAllowDeletesAttribute.DEFAULT_VALUE); } @@ -107,7 +107,7 @@ public Boolean getFormAllowDeletesAttribute() { public void setFormAllowDeletesAttribute(Boolean formAllowDeletesValue) { FormAllowDeletesAttribute attr = new FormAllowDeletesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formAllowDeletesValue.booleanValue()); + attr.setValue(formAllowDeletesValue.toString()); } /** @@ -121,7 +121,7 @@ public Boolean getFormAllowInsertsAttribute() { FormAllowInsertsAttribute attr = (FormAllowInsertsAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "allow-inserts"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormAllowInsertsAttribute.DEFAULT_VALUE); } @@ -135,7 +135,7 @@ public Boolean getFormAllowInsertsAttribute() { public void setFormAllowInsertsAttribute(Boolean formAllowInsertsValue) { FormAllowInsertsAttribute attr = new FormAllowInsertsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formAllowInsertsValue.booleanValue()); + attr.setValue(formAllowInsertsValue.toString()); } /** @@ -149,7 +149,7 @@ public Boolean getFormAllowUpdatesAttribute() { FormAllowUpdatesAttribute attr = (FormAllowUpdatesAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "allow-updates"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormAllowUpdatesAttribute.DEFAULT_VALUE); } @@ -163,7 +163,7 @@ public Boolean getFormAllowUpdatesAttribute() { public void setFormAllowUpdatesAttribute(Boolean formAllowUpdatesValue) { FormAllowUpdatesAttribute attr = new FormAllowUpdatesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formAllowUpdatesValue.booleanValue()); + attr.setValue(formAllowUpdatesValue.toString()); } /** @@ -177,7 +177,7 @@ public Boolean getFormApplyFilterAttribute() { FormApplyFilterAttribute attr = (FormApplyFilterAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "apply-filter"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormApplyFilterAttribute.DEFAULT_VALUE); } @@ -191,7 +191,7 @@ public Boolean getFormApplyFilterAttribute() { public void setFormApplyFilterAttribute(Boolean formApplyFilterValue) { FormApplyFilterAttribute attr = new FormApplyFilterAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formApplyFilterValue.booleanValue()); + attr.setValue(formApplyFilterValue.toString()); } /** @@ -376,7 +376,7 @@ public Boolean getFormEscapeProcessingAttribute() { (FormEscapeProcessingAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "escape-processing"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormEscapeProcessingAttribute.DEFAULT_VALUE); } @@ -391,7 +391,7 @@ public void setFormEscapeProcessingAttribute(Boolean formEscapeProcessingValue) FormEscapeProcessingAttribute attr = new FormEscapeProcessingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formEscapeProcessingValue.booleanValue()); + attr.setValue(formEscapeProcessingValue.toString()); } /** @@ -433,7 +433,7 @@ public Boolean getFormIgnoreResultAttribute() { FormIgnoreResultAttribute attr = (FormIgnoreResultAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "ignore-result"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormIgnoreResultAttribute.DEFAULT_VALUE); } @@ -447,7 +447,7 @@ public Boolean getFormIgnoreResultAttribute() { public void setFormIgnoreResultAttribute(Boolean formIgnoreResultValue) { FormIgnoreResultAttribute attr = new FormIgnoreResultAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formIgnoreResultValue.booleanValue()); + attr.setValue(formIgnoreResultValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormFormattedTextElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormFormattedTextElement.java index 6320d65fdb..6eb866b45f 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormFormattedTextElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormFormattedTextElement.java @@ -125,7 +125,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -140,7 +140,7 @@ public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullVal FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -240,7 +240,7 @@ public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -254,7 +254,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -323,7 +323,7 @@ public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -337,7 +337,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -434,7 +434,7 @@ public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -448,7 +448,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -462,7 +462,7 @@ public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -476,7 +476,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -490,7 +490,7 @@ public Boolean getFormRepeatAttribute() { FormRepeatAttribute attr = (FormRepeatAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "repeat"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -504,7 +504,7 @@ public Boolean getFormRepeatAttribute() { public void setFormRepeatAttribute(Boolean formRepeatValue) { FormRepeatAttribute attr = new FormRepeatAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formRepeatValue.booleanValue()); + attr.setValue(formRepeatValue.toString()); } /** @@ -518,7 +518,7 @@ public Boolean getFormSpinButtonAttribute() { FormSpinButtonAttribute attr = (FormSpinButtonAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "spin-button"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormSpinButtonAttribute.DEFAULT_VALUE); } @@ -532,7 +532,7 @@ public Boolean getFormSpinButtonAttribute() { public void setFormSpinButtonAttribute(Boolean formSpinButtonValue) { FormSpinButtonAttribute attr = new FormSpinButtonAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formSpinButtonValue.booleanValue()); + attr.setValue(formSpinButtonValue.toString()); } /** @@ -546,7 +546,7 @@ public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -560,7 +560,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -574,7 +574,7 @@ public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -588,7 +588,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** @@ -630,7 +630,7 @@ public Boolean getFormValidationAttribute() { FormValidationAttribute attr = (FormValidationAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "validation"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormValidationAttribute.DEFAULT_VALUE); } @@ -644,7 +644,7 @@ public Boolean getFormValidationAttribute() { public void setFormValidationAttribute(Boolean formValidationValue) { FormValidationAttribute attr = new FormValidationAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formValidationValue.booleanValue()); + attr.setValue(formValidationValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormFrameElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormFrameElement.java index 693633b779..2be64c35d8 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormFrameElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormFrameElement.java @@ -110,7 +110,7 @@ public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -124,7 +124,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -247,7 +247,7 @@ public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -261,7 +261,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormGridElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormGridElement.java index bcb8f18d29..31c0d1734e 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormGridElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormGridElement.java @@ -110,7 +110,7 @@ public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -124,7 +124,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -192,7 +192,7 @@ public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -206,7 +206,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -220,7 +220,7 @@ public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -234,7 +234,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -248,7 +248,7 @@ public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -262,7 +262,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormImageElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormImageElement.java index 05b0c1a258..9908752953 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormImageElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormImageElement.java @@ -143,7 +143,7 @@ public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -157,7 +157,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -253,7 +253,7 @@ public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -267,7 +267,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -281,7 +281,7 @@ public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -295,7 +295,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -309,7 +309,7 @@ public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -323,7 +323,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormImageFrameElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormImageFrameElement.java index 6d4ceb00f8..ae6c6413fd 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormImageFrameElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormImageFrameElement.java @@ -140,7 +140,7 @@ public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -154,7 +154,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -250,7 +250,7 @@ public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -264,7 +264,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -278,7 +278,7 @@ public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -292,7 +292,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormListValueElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormListValueElement.java index 9977ed34a8..131add17cc 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormListValueElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormListValueElement.java @@ -78,7 +78,7 @@ public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -93,7 +93,7 @@ public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -228,7 +228,7 @@ public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -242,7 +242,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormListboxElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormListboxElement.java index 647bf6a48b..d2b8a56478 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormListboxElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormListboxElement.java @@ -177,7 +177,7 @@ public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -191,7 +191,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -205,7 +205,7 @@ public Boolean getFormDropdownAttribute() { FormDropdownAttribute attr = (FormDropdownAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "dropdown"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDropdownAttribute.DEFAULT_VALUE); } @@ -219,7 +219,7 @@ public Boolean getFormDropdownAttribute() { public void setFormDropdownAttribute(Boolean formDropdownValue) { FormDropdownAttribute attr = new FormDropdownAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDropdownValue.booleanValue()); + attr.setValue(formDropdownValue.toString()); } /** @@ -376,7 +376,7 @@ public Boolean getFormMultipleAttribute() { FormMultipleAttribute attr = (FormMultipleAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "multiple"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormMultipleAttribute.DEFAULT_VALUE); } @@ -390,7 +390,7 @@ public Boolean getFormMultipleAttribute() { public void setFormMultipleAttribute(Boolean formMultipleValue) { FormMultipleAttribute attr = new FormMultipleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formMultipleValue.booleanValue()); + attr.setValue(formMultipleValue.toString()); } /** @@ -431,7 +431,7 @@ public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -445,7 +445,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -458,7 +458,7 @@ public void setFormPrintableAttribute(Boolean formPrintableValue) { public Integer getFormSizeAttribute() { FormSizeAttribute attr = (FormSizeAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "size"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -472,7 +472,7 @@ public Integer getFormSizeAttribute() { public void setFormSizeAttribute(Integer formSizeValue) { FormSizeAttribute attr = new FormSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formSizeValue.intValue()); + attr.setValue(formSizeValue.toString()); } /** @@ -516,7 +516,7 @@ public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -530,7 +530,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -544,7 +544,7 @@ public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -558,7 +558,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java index 7d42a462ac..7f12b630f3 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormNumberElement.java @@ -123,7 +123,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -138,21 +138,21 @@ public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullVal FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** * Receives the value of the ODFDOM attribute representation FormCurrentValueAttribute * , See {@odf.attribute form:current-value} * - * @return - the String , the value or null, if the attribute is not set + * @return - the Double , the value or null, if the attribute is not set * and no default value defined. */ - public String getFormCurrentValueAttribute() { + public Double getFormCurrentValueAttribute() { FormCurrentValueAttribute attr = (FormCurrentValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "current-value"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Double.valueOf(attr.getValue()); } return null; } @@ -161,12 +161,12 @@ public String getFormCurrentValueAttribute() { * Sets the value of ODFDOM attribute representation FormCurrentValueAttribute , See * {@odf.attribute form:current-value} * - * @param formCurrentValueValue The type is String + * @param formCurrentValueValue The type is Double */ - public void setFormCurrentValueAttribute(String formCurrentValueValue) { + public void setFormCurrentValueAttribute(Double formCurrentValueValue) { FormCurrentValueAttribute attr = new FormCurrentValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(formCurrentValueValue); + attr.setValue(formCurrentValueValue.toString()); } /** @@ -238,7 +238,7 @@ public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -252,7 +252,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -321,7 +321,7 @@ public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -335,21 +335,21 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** * Receives the value of the ODFDOM attribute representation FormMaxValueAttribute , * See {@odf.attribute form:max-value} * - * @return - the String , the value or null, if the attribute is not set + * @return - the Double , the value or null, if the attribute is not set * and no default value defined. */ - public String getFormMaxValueAttribute() { + public Double getFormMaxValueAttribute() { FormMaxValueAttribute attr = (FormMaxValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-value"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Double.valueOf(attr.getValue()); } return null; } @@ -358,26 +358,26 @@ public String getFormMaxValueAttribute() { * Sets the value of ODFDOM attribute representation FormMaxValueAttribute , See * {@odf.attribute form:max-value} * - * @param formMaxValueValue The type is String + * @param formMaxValueValue The type is Double */ - public void setFormMaxValueAttribute(String formMaxValueValue) { + public void setFormMaxValueAttribute(Double formMaxValueValue) { FormMaxValueAttribute attr = new FormMaxValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(formMaxValueValue); + attr.setValue(formMaxValueValue.toString()); } /** * Receives the value of the ODFDOM attribute representation FormMinValueAttribute , * See {@odf.attribute form:min-value} * - * @return - the String , the value or null, if the attribute is not set + * @return - the Double , the value or null, if the attribute is not set * and no default value defined. */ - public String getFormMinValueAttribute() { + public Double getFormMinValueAttribute() { FormMinValueAttribute attr = (FormMinValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "min-value"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Double.valueOf(attr.getValue()); } return null; } @@ -386,12 +386,12 @@ public String getFormMinValueAttribute() { * Sets the value of ODFDOM attribute representation FormMinValueAttribute , See * {@odf.attribute form:min-value} * - * @param formMinValueValue The type is String + * @param formMinValueValue The type is Double */ - public void setFormMinValueAttribute(String formMinValueValue) { + public void setFormMinValueAttribute(Double formMinValueValue) { FormMinValueAttribute attr = new FormMinValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(formMinValueValue); + attr.setValue(formMinValueValue.toString()); } /** @@ -432,7 +432,7 @@ public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -446,7 +446,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -460,7 +460,7 @@ public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -474,7 +474,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -488,7 +488,7 @@ public Boolean getFormRepeatAttribute() { FormRepeatAttribute attr = (FormRepeatAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "repeat"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -502,7 +502,7 @@ public Boolean getFormRepeatAttribute() { public void setFormRepeatAttribute(Boolean formRepeatValue) { FormRepeatAttribute attr = new FormRepeatAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formRepeatValue.booleanValue()); + attr.setValue(formRepeatValue.toString()); } /** @@ -516,7 +516,7 @@ public Boolean getFormSpinButtonAttribute() { FormSpinButtonAttribute attr = (FormSpinButtonAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "spin-button"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormSpinButtonAttribute.DEFAULT_VALUE); } @@ -530,7 +530,7 @@ public Boolean getFormSpinButtonAttribute() { public void setFormSpinButtonAttribute(Boolean formSpinButtonValue) { FormSpinButtonAttribute attr = new FormSpinButtonAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formSpinButtonValue.booleanValue()); + attr.setValue(formSpinButtonValue.toString()); } /** @@ -544,7 +544,7 @@ public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -558,7 +558,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -572,7 +572,7 @@ public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -586,7 +586,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** @@ -621,14 +621,14 @@ public void setFormTitleAttribute(String formTitleValue) { * Receives the value of the ODFDOM attribute representation FormValueAttribute , See * {@odf.attribute form:value} * - * @return - the String , the value or null, if the attribute is not set + * @return - the Double , the value or null, if the attribute is not set * and no default value defined. */ - public String getFormValueAttribute() { + public Double getFormValueAttribute() { FormValueAttribute attr = (FormValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "value"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Double.valueOf(attr.getValue()); } return null; } @@ -637,12 +637,12 @@ public String getFormValueAttribute() { * Sets the value of ODFDOM attribute representation FormValueAttribute , See * {@odf.attribute form:value} * - * @param formValueValue The type is String + * @param formValueValue The type is Double */ - public void setFormValueAttribute(String formValueValue) { + public void setFormValueAttribute(Double formValueValue) { FormValueAttribute attr = new FormValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(formValueValue); + attr.setValue(formValueValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormOptionElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormOptionElement.java index deaadf66c2..6e1609df0c 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormOptionElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormOptionElement.java @@ -74,7 +74,7 @@ public Boolean getFormCurrentSelectedAttribute() { (FormCurrentSelectedAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "current-selected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormCurrentSelectedAttribute.DEFAULT_VALUE); } @@ -89,7 +89,7 @@ public void setFormCurrentSelectedAttribute(Boolean formCurrentSelectedValue) { FormCurrentSelectedAttribute attr = new FormCurrentSelectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formCurrentSelectedValue.booleanValue()); + attr.setValue(formCurrentSelectedValue.toString()); } /** @@ -131,7 +131,7 @@ public Boolean getFormSelectedAttribute() { FormSelectedAttribute attr = (FormSelectedAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "selected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormSelectedAttribute.DEFAULT_VALUE); } @@ -145,7 +145,7 @@ public Boolean getFormSelectedAttribute() { public void setFormSelectedAttribute(Boolean formSelectedValue) { FormSelectedAttribute attr = new FormSelectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formSelectedValue.booleanValue()); + attr.setValue(formSelectedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormPasswordElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormPasswordElement.java index 3d15865863..913f9de830 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormPasswordElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormPasswordElement.java @@ -116,7 +116,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -131,7 +131,7 @@ public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullVal FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -145,7 +145,7 @@ public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -159,7 +159,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -256,7 +256,7 @@ public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -270,7 +270,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -311,7 +311,7 @@ public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -325,7 +325,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -339,7 +339,7 @@ public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -353,7 +353,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -367,7 +367,7 @@ public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -381,7 +381,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormPropertyElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormPropertyElement.java index bf923fa0bc..f7e5bad75f 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormPropertyElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormPropertyElement.java @@ -107,7 +107,7 @@ public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -122,7 +122,7 @@ public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -251,7 +251,7 @@ public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -265,7 +265,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormRadioElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormRadioElement.java index 453198cbf4..48e648506c 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormRadioElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormRadioElement.java @@ -120,7 +120,7 @@ public Boolean getFormCurrentSelectedAttribute() { (FormCurrentSelectedAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "current-selected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormCurrentSelectedAttribute.DEFAULT_VALUE); } @@ -135,7 +135,7 @@ public void setFormCurrentSelectedAttribute(Boolean formCurrentSelectedValue) { FormCurrentSelectedAttribute attr = new FormCurrentSelectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formCurrentSelectedValue.booleanValue()); + attr.setValue(formCurrentSelectedValue.toString()); } /** @@ -177,7 +177,7 @@ public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -191,7 +191,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -374,7 +374,7 @@ public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -388,7 +388,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -402,7 +402,7 @@ public Boolean getFormSelectedAttribute() { FormSelectedAttribute attr = (FormSelectedAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "selected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormSelectedAttribute.DEFAULT_VALUE); } @@ -416,7 +416,7 @@ public Boolean getFormSelectedAttribute() { public void setFormSelectedAttribute(Boolean formSelectedValue) { FormSelectedAttribute attr = new FormSelectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formSelectedValue.booleanValue()); + attr.setValue(formSelectedValue.toString()); } /** @@ -430,7 +430,7 @@ public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -444,7 +444,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -458,7 +458,7 @@ public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -472,7 +472,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormTextElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormTextElement.java index 52cf832aed..18bb26b52e 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormTextElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormTextElement.java @@ -118,7 +118,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -133,7 +133,7 @@ public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullVal FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -203,7 +203,7 @@ public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -217,7 +217,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -286,7 +286,7 @@ public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -300,7 +300,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -341,7 +341,7 @@ public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -355,7 +355,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -369,7 +369,7 @@ public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -383,7 +383,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -397,7 +397,7 @@ public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -411,7 +411,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -425,7 +425,7 @@ public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -439,7 +439,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormTextareaElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormTextareaElement.java index cc95612f19..7fc74e0bd5 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormTextareaElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormTextareaElement.java @@ -119,7 +119,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -134,7 +134,7 @@ public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullVal FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -204,7 +204,7 @@ public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -218,7 +218,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -287,7 +287,7 @@ public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -301,7 +301,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -342,7 +342,7 @@ public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -356,7 +356,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -370,7 +370,7 @@ public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -384,7 +384,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -398,7 +398,7 @@ public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -412,7 +412,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -426,7 +426,7 @@ public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -440,7 +440,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormTimeElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormTimeElement.java index 2fbe5f2580..9feacf172a 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormTimeElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormTimeElement.java @@ -123,7 +123,7 @@ public Boolean getFormConvertEmptyToNullAttribute() { (FormConvertEmptyToNullAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "convert-empty-to-null"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormConvertEmptyToNullAttribute.DEFAULT_VALUE); } @@ -138,7 +138,7 @@ public void setFormConvertEmptyToNullAttribute(Boolean formConvertEmptyToNullVal FormConvertEmptyToNullAttribute attr = new FormConvertEmptyToNullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formConvertEmptyToNullValue.booleanValue()); + attr.setValue(formConvertEmptyToNullValue.toString()); } /** @@ -238,7 +238,7 @@ public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -252,7 +252,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -321,7 +321,7 @@ public Integer getFormMaxLengthAttribute() { FormMaxLengthAttribute attr = (FormMaxLengthAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -335,7 +335,7 @@ public Integer getFormMaxLengthAttribute() { public void setFormMaxLengthAttribute(Integer formMaxLengthValue) { FormMaxLengthAttribute attr = new FormMaxLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formMaxLengthValue.intValue()); + attr.setValue(formMaxLengthValue.toString()); } /** @@ -432,7 +432,7 @@ public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -446,7 +446,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -460,7 +460,7 @@ public Boolean getFormReadonlyAttribute() { FormReadonlyAttribute attr = (FormReadonlyAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "readonly"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormReadonlyAttribute.DEFAULT_VALUE); } @@ -474,7 +474,7 @@ public Boolean getFormReadonlyAttribute() { public void setFormReadonlyAttribute(Boolean formReadonlyValue) { FormReadonlyAttribute attr = new FormReadonlyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formReadonlyValue.booleanValue()); + attr.setValue(formReadonlyValue.toString()); } /** @@ -488,7 +488,7 @@ public Boolean getFormRepeatAttribute() { FormRepeatAttribute attr = (FormRepeatAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "repeat"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -502,7 +502,7 @@ public Boolean getFormRepeatAttribute() { public void setFormRepeatAttribute(Boolean formRepeatValue) { FormRepeatAttribute attr = new FormRepeatAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formRepeatValue.booleanValue()); + attr.setValue(formRepeatValue.toString()); } /** @@ -516,7 +516,7 @@ public Boolean getFormSpinButtonAttribute() { FormSpinButtonAttribute attr = (FormSpinButtonAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "spin-button"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormSpinButtonAttribute.DEFAULT_VALUE); } @@ -530,7 +530,7 @@ public Boolean getFormSpinButtonAttribute() { public void setFormSpinButtonAttribute(Boolean formSpinButtonValue) { FormSpinButtonAttribute attr = new FormSpinButtonAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formSpinButtonValue.booleanValue()); + attr.setValue(formSpinButtonValue.toString()); } /** @@ -544,7 +544,7 @@ public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -558,7 +558,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -572,7 +572,7 @@ public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -586,7 +586,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormValueRangeElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormValueRangeElement.java index f24edb5fca..68bf504904 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormValueRangeElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/form/FormValueRangeElement.java @@ -150,7 +150,7 @@ public Boolean getFormDisabledAttribute() { FormDisabledAttribute attr = (FormDisabledAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "disabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormDisabledAttribute.DEFAULT_VALUE); } @@ -164,7 +164,7 @@ public Boolean getFormDisabledAttribute() { public void setFormDisabledAttribute(Boolean formDisabledValue) { FormDisabledAttribute attr = new FormDisabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formDisabledValue.booleanValue()); + attr.setValue(formDisabledValue.toString()); } /** @@ -226,14 +226,14 @@ public void setFormLinkedCellAttribute(String formLinkedCellValue) { * Receives the value of the ODFDOM attribute representation FormMaxValueAttribute , * See {@odf.attribute form:max-value} * - * @return - the String , the value or null, if the attribute is not set - * and no default value defined. + * @return - the Integer , the value or null, if the attribute is not + * set and no default value defined. */ - public String getFormMaxValueAttribute() { + public Integer getFormMaxValueAttribute() { FormMaxValueAttribute attr = (FormMaxValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "max-value"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Integer.valueOf(attr.getValue()); } return null; } @@ -242,26 +242,26 @@ public String getFormMaxValueAttribute() { * Sets the value of ODFDOM attribute representation FormMaxValueAttribute , See * {@odf.attribute form:max-value} * - * @param formMaxValueValue The type is String + * @param formMaxValueValue The type is Integer */ - public void setFormMaxValueAttribute(String formMaxValueValue) { + public void setFormMaxValueAttribute(Integer formMaxValueValue) { FormMaxValueAttribute attr = new FormMaxValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(formMaxValueValue); + attr.setValue(formMaxValueValue.toString()); } /** * Receives the value of the ODFDOM attribute representation FormMinValueAttribute , * See {@odf.attribute form:min-value} * - * @return - the String , the value or null, if the attribute is not set - * and no default value defined. + * @return - the Integer , the value or null, if the attribute is not + * set and no default value defined. */ - public String getFormMinValueAttribute() { + public Integer getFormMinValueAttribute() { FormMinValueAttribute attr = (FormMinValueAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "min-value"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Integer.valueOf(attr.getValue()); } return null; } @@ -270,12 +270,12 @@ public String getFormMinValueAttribute() { * Sets the value of ODFDOM attribute representation FormMinValueAttribute , See * {@odf.attribute form:min-value} * - * @param formMinValueValue The type is String + * @param formMinValueValue The type is Integer */ - public void setFormMinValueAttribute(String formMinValueValue) { + public void setFormMinValueAttribute(Integer formMinValueValue) { FormMinValueAttribute attr = new FormMinValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(formMinValueValue); + attr.setValue(formMinValueValue.toString()); } /** @@ -344,7 +344,7 @@ public Integer getFormPageStepSizeAttribute() { FormPageStepSizeAttribute attr = (FormPageStepSizeAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "page-step-size"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -358,7 +358,7 @@ public Integer getFormPageStepSizeAttribute() { public void setFormPageStepSizeAttribute(Integer formPageStepSizeValue) { FormPageStepSizeAttribute attr = new FormPageStepSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formPageStepSizeValue.intValue()); + attr.setValue(formPageStepSizeValue.toString()); } /** @@ -372,7 +372,7 @@ public Boolean getFormPrintableAttribute() { FormPrintableAttribute attr = (FormPrintableAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "printable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormPrintableAttribute.DEFAULT_VALUE); } @@ -386,7 +386,7 @@ public Boolean getFormPrintableAttribute() { public void setFormPrintableAttribute(Boolean formPrintableValue) { FormPrintableAttribute attr = new FormPrintableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formPrintableValue.booleanValue()); + attr.setValue(formPrintableValue.toString()); } /** @@ -400,7 +400,7 @@ public Boolean getFormRepeatAttribute() { FormRepeatAttribute attr = (FormRepeatAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "repeat"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -414,7 +414,7 @@ public Boolean getFormRepeatAttribute() { public void setFormRepeatAttribute(Boolean formRepeatValue) { FormRepeatAttribute attr = new FormRepeatAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formRepeatValue.booleanValue()); + attr.setValue(formRepeatValue.toString()); } /** @@ -428,7 +428,7 @@ public Integer getFormStepSizeAttribute() { FormStepSizeAttribute attr = (FormStepSizeAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "step-size"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormStepSizeAttribute.DEFAULT_VALUE); } @@ -442,7 +442,7 @@ public Integer getFormStepSizeAttribute() { public void setFormStepSizeAttribute(Integer formStepSizeValue) { FormStepSizeAttribute attr = new FormStepSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formStepSizeValue.intValue()); + attr.setValue(formStepSizeValue.toString()); } /** @@ -456,7 +456,7 @@ public Integer getFormTabIndexAttribute() { FormTabIndexAttribute attr = (FormTabIndexAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(FormTabIndexAttribute.DEFAULT_VALUE); } @@ -470,7 +470,7 @@ public Integer getFormTabIndexAttribute() { public void setFormTabIndexAttribute(Integer formTabIndexValue) { FormTabIndexAttribute attr = new FormTabIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(formTabIndexValue.intValue()); + attr.setValue(formTabIndexValue.toString()); } /** @@ -484,7 +484,7 @@ public Boolean getFormTabStopAttribute() { FormTabStopAttribute attr = (FormTabStopAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "tab-stop"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormTabStopAttribute.DEFAULT_VALUE); } @@ -498,7 +498,7 @@ public Boolean getFormTabStopAttribute() { public void setFormTabStopAttribute(Boolean formTabStopValue) { FormTabStopAttribute attr = new FormTabStopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formTabStopValue.booleanValue()); + attr.setValue(formTabStopValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/meta/MetaDocumentStatisticElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/meta/MetaDocumentStatisticElement.java index 34e5c82625..ffaa7b391a 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/meta/MetaDocumentStatisticElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/meta/MetaDocumentStatisticElement.java @@ -85,7 +85,7 @@ public Integer getMetaCellCountAttribute() { MetaCellCountAttribute attr = (MetaCellCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "cell-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -99,7 +99,7 @@ public Integer getMetaCellCountAttribute() { public void setMetaCellCountAttribute(Integer metaCellCountValue) { MetaCellCountAttribute attr = new MetaCellCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaCellCountValue.intValue()); + attr.setValue(metaCellCountValue.toString()); } /** @@ -113,7 +113,7 @@ public Integer getMetaCharacterCountAttribute() { MetaCharacterCountAttribute attr = (MetaCharacterCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "character-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -128,7 +128,7 @@ public void setMetaCharacterCountAttribute(Integer metaCharacterCountValue) { MetaCharacterCountAttribute attr = new MetaCharacterCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaCharacterCountValue.intValue()); + attr.setValue(metaCharacterCountValue.toString()); } /** @@ -142,7 +142,7 @@ public Integer getMetaDrawCountAttribute() { MetaDrawCountAttribute attr = (MetaDrawCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "draw-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -156,7 +156,7 @@ public Integer getMetaDrawCountAttribute() { public void setMetaDrawCountAttribute(Integer metaDrawCountValue) { MetaDrawCountAttribute attr = new MetaDrawCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaDrawCountValue.intValue()); + attr.setValue(metaDrawCountValue.toString()); } /** @@ -170,7 +170,7 @@ public Integer getMetaFrameCountAttribute() { MetaFrameCountAttribute attr = (MetaFrameCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "frame-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -184,7 +184,7 @@ public Integer getMetaFrameCountAttribute() { public void setMetaFrameCountAttribute(Integer metaFrameCountValue) { MetaFrameCountAttribute attr = new MetaFrameCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaFrameCountValue.intValue()); + attr.setValue(metaFrameCountValue.toString()); } /** @@ -198,7 +198,7 @@ public Integer getMetaImageCountAttribute() { MetaImageCountAttribute attr = (MetaImageCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "image-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -212,7 +212,7 @@ public Integer getMetaImageCountAttribute() { public void setMetaImageCountAttribute(Integer metaImageCountValue) { MetaImageCountAttribute attr = new MetaImageCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaImageCountValue.intValue()); + attr.setValue(metaImageCountValue.toString()); } /** @@ -228,7 +228,7 @@ public Integer getMetaNonWhitespaceCharacterCountAttribute() { (MetaNonWhitespaceCharacterCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "non-whitespace-character-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -245,7 +245,7 @@ public void setMetaNonWhitespaceCharacterCountAttribute( MetaNonWhitespaceCharacterCountAttribute attr = new MetaNonWhitespaceCharacterCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaNonWhitespaceCharacterCountValue.intValue()); + attr.setValue(metaNonWhitespaceCharacterCountValue.toString()); } /** @@ -259,7 +259,7 @@ public Integer getMetaObjectCountAttribute() { MetaObjectCountAttribute attr = (MetaObjectCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "object-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -273,7 +273,7 @@ public Integer getMetaObjectCountAttribute() { public void setMetaObjectCountAttribute(Integer metaObjectCountValue) { MetaObjectCountAttribute attr = new MetaObjectCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaObjectCountValue.intValue()); + attr.setValue(metaObjectCountValue.toString()); } /** @@ -288,7 +288,7 @@ public Integer getMetaOleObjectCountAttribute() { (MetaOleObjectCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "ole-object-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -303,7 +303,7 @@ public void setMetaOleObjectCountAttribute(Integer metaOleObjectCountValue) { MetaOleObjectCountAttribute attr = new MetaOleObjectCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaOleObjectCountValue.intValue()); + attr.setValue(metaOleObjectCountValue.toString()); } /** @@ -317,7 +317,7 @@ public Integer getMetaPageCountAttribute() { MetaPageCountAttribute attr = (MetaPageCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "page-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -331,7 +331,7 @@ public Integer getMetaPageCountAttribute() { public void setMetaPageCountAttribute(Integer metaPageCountValue) { MetaPageCountAttribute attr = new MetaPageCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaPageCountValue.intValue()); + attr.setValue(metaPageCountValue.toString()); } /** @@ -345,7 +345,7 @@ public Integer getMetaParagraphCountAttribute() { MetaParagraphCountAttribute attr = (MetaParagraphCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "paragraph-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -360,7 +360,7 @@ public void setMetaParagraphCountAttribute(Integer metaParagraphCountValue) { MetaParagraphCountAttribute attr = new MetaParagraphCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaParagraphCountValue.intValue()); + attr.setValue(metaParagraphCountValue.toString()); } /** @@ -374,7 +374,7 @@ public Integer getMetaRowCountAttribute() { MetaRowCountAttribute attr = (MetaRowCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "row-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -388,7 +388,7 @@ public Integer getMetaRowCountAttribute() { public void setMetaRowCountAttribute(Integer metaRowCountValue) { MetaRowCountAttribute attr = new MetaRowCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaRowCountValue.intValue()); + attr.setValue(metaRowCountValue.toString()); } /** @@ -402,7 +402,7 @@ public Integer getMetaSentenceCountAttribute() { MetaSentenceCountAttribute attr = (MetaSentenceCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "sentence-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -417,7 +417,7 @@ public void setMetaSentenceCountAttribute(Integer metaSentenceCountValue) { MetaSentenceCountAttribute attr = new MetaSentenceCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaSentenceCountValue.intValue()); + attr.setValue(metaSentenceCountValue.toString()); } /** @@ -431,7 +431,7 @@ public Integer getMetaSyllableCountAttribute() { MetaSyllableCountAttribute attr = (MetaSyllableCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "syllable-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -446,7 +446,7 @@ public void setMetaSyllableCountAttribute(Integer metaSyllableCountValue) { MetaSyllableCountAttribute attr = new MetaSyllableCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaSyllableCountValue.intValue()); + attr.setValue(metaSyllableCountValue.toString()); } /** @@ -460,7 +460,7 @@ public Integer getMetaTableCountAttribute() { MetaTableCountAttribute attr = (MetaTableCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "table-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -474,7 +474,7 @@ public Integer getMetaTableCountAttribute() { public void setMetaTableCountAttribute(Integer metaTableCountValue) { MetaTableCountAttribute attr = new MetaTableCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaTableCountValue.intValue()); + attr.setValue(metaTableCountValue.toString()); } /** @@ -488,7 +488,7 @@ public Integer getMetaWordCountAttribute() { MetaWordCountAttribute attr = (MetaWordCountAttribute) getOdfAttribute(OdfDocumentNamespace.META, "word-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -502,7 +502,7 @@ public Integer getMetaWordCountAttribute() { public void setMetaWordCountAttribute(Integer metaWordCountValue) { MetaWordCountAttribute attr = new MetaWordCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(metaWordCountValue.intValue()); + attr.setValue(metaWordCountValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberCurrencyStyleElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberCurrencyStyleElement.java index b471321184..216cb6df64 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberCurrencyStyleElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberCurrencyStyleElement.java @@ -71,7 +71,7 @@ public Boolean getNumberAutomaticOrderAttribute() { (NumberAutomaticOrderAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "automatic-order"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberAutomaticOrderAttribute.DEFAULT_VALUE); } @@ -86,7 +86,7 @@ public void setNumberAutomaticOrderAttribute(Boolean numberAutomaticOrderValue) NumberAutomaticOrderAttribute attr = new NumberAutomaticOrderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberAutomaticOrderValue.booleanValue()); + attr.setValue(numberAutomaticOrderValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberDataStyleElementBase.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberDataStyleElementBase.java index 25c519a81c..365372f02c 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberDataStyleElementBase.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberDataStyleElementBase.java @@ -391,7 +391,7 @@ public Boolean getStyleVolatileAttribute() { StyleVolatileAttribute attr = (StyleVolatileAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "volatile"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -405,7 +405,7 @@ public Boolean getStyleVolatileAttribute() { public void setStyleVolatileAttribute(Boolean styleVolatileValue) { StyleVolatileAttribute attr = new StyleVolatileAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleVolatileValue.booleanValue()); + attr.setValue(styleVolatileValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberDateStyleElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberDateStyleElement.java index b2ed01e868..9d90a709f5 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberDateStyleElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberDateStyleElement.java @@ -72,7 +72,7 @@ public Boolean getNumberAutomaticOrderAttribute() { (NumberAutomaticOrderAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "automatic-order"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberAutomaticOrderAttribute.DEFAULT_VALUE); } @@ -87,7 +87,7 @@ public void setNumberAutomaticOrderAttribute(Boolean numberAutomaticOrderValue) NumberAutomaticOrderAttribute attr = new NumberAutomaticOrderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberAutomaticOrderValue.booleanValue()); + attr.setValue(numberAutomaticOrderValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberEmbeddedTextElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberEmbeddedTextElement.java index 4e46ce1f46..b4b3c3dcee 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberEmbeddedTextElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberEmbeddedTextElement.java @@ -73,7 +73,7 @@ public Integer getNumberPositionAttribute() { NumberPositionAttribute attr = (NumberPositionAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -87,7 +87,7 @@ public Integer getNumberPositionAttribute() { public void setNumberPositionAttribute(Integer numberPositionValue) { NumberPositionAttribute attr = new NumberPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberPositionValue.intValue()); + attr.setValue(numberPositionValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberFractionElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberFractionElement.java index b5c38c930f..065d3bf3b9 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberFractionElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberFractionElement.java @@ -77,7 +77,7 @@ public Integer getNumberDenominatorValueAttribute() { (NumberDenominatorValueAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "denominator-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -92,7 +92,7 @@ public void setNumberDenominatorValueAttribute(Integer numberDenominatorValueVal NumberDenominatorValueAttribute attr = new NumberDenominatorValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberDenominatorValueValue.intValue()); + attr.setValue(numberDenominatorValueValue.toString()); } /** @@ -106,7 +106,7 @@ public Boolean getNumberGroupingAttribute() { NumberGroupingAttribute attr = (NumberGroupingAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "grouping"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberGroupingAttribute.DEFAULT_VALUE); } @@ -120,7 +120,7 @@ public Boolean getNumberGroupingAttribute() { public void setNumberGroupingAttribute(Boolean numberGroupingValue) { NumberGroupingAttribute attr = new NumberGroupingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberGroupingValue.booleanValue()); + attr.setValue(numberGroupingValue.toString()); } /** @@ -135,7 +135,7 @@ public Integer getNumberMaxDenominatorValueAttribute() { (NumberMaxDenominatorValueAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "max-denominator-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -150,7 +150,7 @@ public void setNumberMaxDenominatorValueAttribute(Integer numberMaxDenominatorVa NumberMaxDenominatorValueAttribute attr = new NumberMaxDenominatorValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMaxDenominatorValueValue.intValue()); + attr.setValue(numberMaxDenominatorValueValue.toString()); } /** @@ -165,7 +165,7 @@ public Integer getNumberMinDenominatorDigitsAttribute() { (NumberMinDenominatorDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-denominator-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -180,7 +180,7 @@ public void setNumberMinDenominatorDigitsAttribute(Integer numberMinDenominatorD NumberMinDenominatorDigitsAttribute attr = new NumberMinDenominatorDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinDenominatorDigitsValue.intValue()); + attr.setValue(numberMinDenominatorDigitsValue.toString()); } /** @@ -195,7 +195,7 @@ public Integer getNumberMinIntegerDigitsAttribute() { (NumberMinIntegerDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-integer-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -210,7 +210,7 @@ public void setNumberMinIntegerDigitsAttribute(Integer numberMinIntegerDigitsVal NumberMinIntegerDigitsAttribute attr = new NumberMinIntegerDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinIntegerDigitsValue.intValue()); + attr.setValue(numberMinIntegerDigitsValue.toString()); } /** @@ -225,7 +225,7 @@ public Integer getNumberMinNumeratorDigitsAttribute() { (NumberMinNumeratorDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-numerator-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -240,7 +240,7 @@ public void setNumberMinNumeratorDigitsAttribute(Integer numberMinNumeratorDigit NumberMinNumeratorDigitsAttribute attr = new NumberMinNumeratorDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinNumeratorDigitsValue.intValue()); + attr.setValue(numberMinNumeratorDigitsValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberMonthElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberMonthElement.java index 276c471b71..da3651cd47 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberMonthElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberMonthElement.java @@ -102,7 +102,7 @@ public Boolean getNumberPossessiveFormAttribute() { (NumberPossessiveFormAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "possessive-form"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -117,7 +117,7 @@ public void setNumberPossessiveFormAttribute(Boolean numberPossessiveFormValue) NumberPossessiveFormAttribute attr = new NumberPossessiveFormAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberPossessiveFormValue.booleanValue()); + attr.setValue(numberPossessiveFormValue.toString()); } /** @@ -159,7 +159,7 @@ public Boolean getNumberTextualAttribute() { NumberTextualAttribute attr = (NumberTextualAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "textual"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberTextualAttribute.DEFAULT_VALUE); } @@ -173,7 +173,7 @@ public Boolean getNumberTextualAttribute() { public void setNumberTextualAttribute(Boolean numberTextualValue) { NumberTextualAttribute attr = new NumberTextualAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberTextualValue.booleanValue()); + attr.setValue(numberTextualValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberNumberElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberNumberElement.java index 2cfd312acc..296db3d186 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberNumberElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberNumberElement.java @@ -76,7 +76,7 @@ public Integer getNumberDecimalPlacesAttribute() { (NumberDecimalPlacesAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "decimal-places"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -91,7 +91,7 @@ public void setNumberDecimalPlacesAttribute(Integer numberDecimalPlacesValue) { NumberDecimalPlacesAttribute attr = new NumberDecimalPlacesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberDecimalPlacesValue.intValue()); + attr.setValue(numberDecimalPlacesValue.toString()); } /** @@ -136,7 +136,7 @@ public Double getNumberDisplayFactorAttribute() { (NumberDisplayFactorAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "display-factor"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(NumberDisplayFactorAttribute.DEFAULT_VALUE); } @@ -151,7 +151,7 @@ public void setNumberDisplayFactorAttribute(Double numberDisplayFactorValue) { NumberDisplayFactorAttribute attr = new NumberDisplayFactorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(numberDisplayFactorValue.doubleValue()); + attr.setValue(numberDisplayFactorValue.toString()); } /** @@ -165,7 +165,7 @@ public Boolean getNumberGroupingAttribute() { NumberGroupingAttribute attr = (NumberGroupingAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "grouping"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberGroupingAttribute.DEFAULT_VALUE); } @@ -179,7 +179,7 @@ public Boolean getNumberGroupingAttribute() { public void setNumberGroupingAttribute(Boolean numberGroupingValue) { NumberGroupingAttribute attr = new NumberGroupingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberGroupingValue.booleanValue()); + attr.setValue(numberGroupingValue.toString()); } /** @@ -194,7 +194,7 @@ public Integer getNumberMinDecimalPlacesAttribute() { (NumberMinDecimalPlacesAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-decimal-places"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -209,7 +209,7 @@ public void setNumberMinDecimalPlacesAttribute(Integer numberMinDecimalPlacesVal NumberMinDecimalPlacesAttribute attr = new NumberMinDecimalPlacesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinDecimalPlacesValue.intValue()); + attr.setValue(numberMinDecimalPlacesValue.toString()); } /** @@ -224,7 +224,7 @@ public Integer getNumberMinIntegerDigitsAttribute() { (NumberMinIntegerDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-integer-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -239,7 +239,7 @@ public void setNumberMinIntegerDigitsAttribute(Integer numberMinIntegerDigitsVal NumberMinIntegerDigitsAttribute attr = new NumberMinIntegerDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinIntegerDigitsValue.intValue()); + attr.setValue(numberMinIntegerDigitsValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberScientificNumberElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberScientificNumberElement.java index 7615edaef8..1729877070 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberScientificNumberElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberScientificNumberElement.java @@ -79,7 +79,7 @@ public Integer getNumberDecimalPlacesAttribute() { (NumberDecimalPlacesAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "decimal-places"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -94,7 +94,7 @@ public void setNumberDecimalPlacesAttribute(Integer numberDecimalPlacesValue) { NumberDecimalPlacesAttribute attr = new NumberDecimalPlacesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberDecimalPlacesValue.intValue()); + attr.setValue(numberDecimalPlacesValue.toString()); } /** @@ -109,7 +109,7 @@ public Integer getNumberExponentIntervalAttribute() { (NumberExponentIntervalAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "exponent-interval"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -124,7 +124,7 @@ public void setNumberExponentIntervalAttribute(Integer numberExponentIntervalVal NumberExponentIntervalAttribute attr = new NumberExponentIntervalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberExponentIntervalValue.intValue()); + attr.setValue(numberExponentIntervalValue.toString()); } /** @@ -139,7 +139,7 @@ public Boolean getNumberForcedExponentSignAttribute() { (NumberForcedExponentSignAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "forced-exponent-sign"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -154,7 +154,7 @@ public void setNumberForcedExponentSignAttribute(Boolean numberForcedExponentSig NumberForcedExponentSignAttribute attr = new NumberForcedExponentSignAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberForcedExponentSignValue.booleanValue()); + attr.setValue(numberForcedExponentSignValue.toString()); } /** @@ -168,7 +168,7 @@ public Boolean getNumberGroupingAttribute() { NumberGroupingAttribute attr = (NumberGroupingAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "grouping"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberGroupingAttribute.DEFAULT_VALUE); } @@ -182,7 +182,7 @@ public Boolean getNumberGroupingAttribute() { public void setNumberGroupingAttribute(Boolean numberGroupingValue) { NumberGroupingAttribute attr = new NumberGroupingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberGroupingValue.booleanValue()); + attr.setValue(numberGroupingValue.toString()); } /** @@ -197,7 +197,7 @@ public Integer getNumberMinDecimalPlacesAttribute() { (NumberMinDecimalPlacesAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-decimal-places"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -212,7 +212,7 @@ public void setNumberMinDecimalPlacesAttribute(Integer numberMinDecimalPlacesVal NumberMinDecimalPlacesAttribute attr = new NumberMinDecimalPlacesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinDecimalPlacesValue.intValue()); + attr.setValue(numberMinDecimalPlacesValue.toString()); } /** @@ -227,7 +227,7 @@ public Integer getNumberMinExponentDigitsAttribute() { (NumberMinExponentDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-exponent-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -242,7 +242,7 @@ public void setNumberMinExponentDigitsAttribute(Integer numberMinExponentDigitsV NumberMinExponentDigitsAttribute attr = new NumberMinExponentDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinExponentDigitsValue.intValue()); + attr.setValue(numberMinExponentDigitsValue.toString()); } /** @@ -257,7 +257,7 @@ public Integer getNumberMinIntegerDigitsAttribute() { (NumberMinIntegerDigitsAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "min-integer-digits"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -272,7 +272,7 @@ public void setNumberMinIntegerDigitsAttribute(Integer numberMinIntegerDigitsVal NumberMinIntegerDigitsAttribute attr = new NumberMinIntegerDigitsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberMinIntegerDigitsValue.intValue()); + attr.setValue(numberMinIntegerDigitsValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberSecondsElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberSecondsElement.java index 45872b00d7..afd0ef9673 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberSecondsElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberSecondsElement.java @@ -73,7 +73,7 @@ public Integer getNumberDecimalPlacesAttribute() { (NumberDecimalPlacesAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "decimal-places"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(NumberDecimalPlacesAttribute.DEFAULT_VALUE); } @@ -88,7 +88,7 @@ public void setNumberDecimalPlacesAttribute(Integer numberDecimalPlacesValue) { NumberDecimalPlacesAttribute attr = new NumberDecimalPlacesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(numberDecimalPlacesValue.intValue()); + attr.setValue(numberDecimalPlacesValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberTimeStyleElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberTimeStyleElement.java index 5d06a84ab9..16696c7b98 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberTimeStyleElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/number/NumberTimeStyleElement.java @@ -101,7 +101,7 @@ public Boolean getNumberTruncateOnOverflowAttribute() { (NumberTruncateOnOverflowAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "truncate-on-overflow"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(NumberTruncateOnOverflowAttribute.DEFAULT_VALUE); } @@ -116,7 +116,7 @@ public void setNumberTruncateOnOverflowAttribute(Boolean numberTruncateOnOverflo NumberTruncateOnOverflowAttribute attr = new NumberTruncateOnOverflowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(numberTruncateOnOverflowValue.booleanValue()); + attr.setValue(numberTruncateOnOverflowValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeAnnotationElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeAnnotationElement.java index 42b36176d2..1e0136cf39 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeAnnotationElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeAnnotationElement.java @@ -259,7 +259,7 @@ public Boolean getOfficeDisplayAttribute() { OfficeDisplayAttribute attr = (OfficeDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -273,7 +273,7 @@ public Boolean getOfficeDisplayAttribute() { public void setOfficeDisplayAttribute(Boolean officeDisplayValue) { OfficeDisplayAttribute attr = new OfficeDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeDisplayValue.booleanValue()); + attr.setValue(officeDisplayValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeDdeSourceElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeDdeSourceElement.java index c545801d52..30ab1b8d96 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeDdeSourceElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeDdeSourceElement.java @@ -77,7 +77,7 @@ public Boolean getOfficeAutomaticUpdateAttribute() { (OfficeAutomaticUpdateAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "automatic-update"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(OfficeAutomaticUpdateAttribute.DEFAULT_VALUE); } @@ -92,7 +92,7 @@ public void setOfficeAutomaticUpdateAttribute(Boolean officeAutomaticUpdateValue OfficeAutomaticUpdateAttribute attr = new OfficeAutomaticUpdateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeAutomaticUpdateValue.booleanValue()); + attr.setValue(officeAutomaticUpdateValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeFormsElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeFormsElement.java index d915c44551..0009eca916 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeFormsElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeFormsElement.java @@ -74,7 +74,7 @@ public Boolean getFormApplyDesignModeAttribute() { (FormApplyDesignModeAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "apply-design-mode"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormApplyDesignModeAttribute.DEFAULT_VALUE); } @@ -89,7 +89,7 @@ public void setFormApplyDesignModeAttribute(Boolean formApplyDesignModeValue) { FormApplyDesignModeAttribute attr = new FormApplyDesignModeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formApplyDesignModeValue.booleanValue()); + attr.setValue(formApplyDesignModeValue.toString()); } /** @@ -103,7 +103,7 @@ public Boolean getFormAutomaticFocusAttribute() { FormAutomaticFocusAttribute attr = (FormAutomaticFocusAttribute) getOdfAttribute(OdfDocumentNamespace.FORM, "automatic-focus"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(FormAutomaticFocusAttribute.DEFAULT_VALUE); } @@ -118,7 +118,7 @@ public void setFormAutomaticFocusAttribute(Boolean formAutomaticFocusValue) { FormAutomaticFocusAttribute attr = new FormAutomaticFocusAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(formAutomaticFocusValue.booleanValue()); + attr.setValue(formAutomaticFocusValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeSpreadsheetElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeSpreadsheetElement.java index 5da2d1c2cd..5501ea33b0 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeSpreadsheetElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeSpreadsheetElement.java @@ -151,7 +151,7 @@ public Boolean getTableStructureProtectedAttribute() { (TableStructureProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "structure-protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableStructureProtectedAttribute.DEFAULT_VALUE); } @@ -166,7 +166,7 @@ public void setTableStructureProtectedAttribute(Boolean tableStructureProtectedV TableStructureProtectedAttribute attr = new TableStructureProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableStructureProtectedValue.booleanValue()); + attr.setValue(tableStructureProtectedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeTextElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeTextElement.java index 27118cb5d4..26691c71be 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeTextElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeTextElement.java @@ -121,7 +121,7 @@ public Boolean getTextGlobalAttribute() { TextGlobalAttribute attr = (TextGlobalAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "global"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextGlobalAttribute.DEFAULT_VALUE); } @@ -135,7 +135,7 @@ public Boolean getTextGlobalAttribute() { public void setTextGlobalAttribute(Boolean textGlobalValue) { TextGlobalAttribute attr = new TextGlobalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textGlobalValue.booleanValue()); + attr.setValue(textGlobalValue.toString()); } /** @@ -150,7 +150,7 @@ public Boolean getTextUseSoftPageBreaksAttribute() { (TextUseSoftPageBreaksAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-soft-page-breaks"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseSoftPageBreaksAttribute.DEFAULT_VALUE); } @@ -165,7 +165,7 @@ public void setTextUseSoftPageBreaksAttribute(Boolean textUseSoftPageBreaksValue TextUseSoftPageBreaksAttribute attr = new TextUseSoftPageBreaksAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseSoftPageBreaksValue.booleanValue()); + attr.setValue(textUseSoftPageBreaksValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/presentation/PresentationEventListenerElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/presentation/PresentationEventListenerElement.java index 266f67bc16..49b2a00189 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/presentation/PresentationEventListenerElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/presentation/PresentationEventListenerElement.java @@ -231,7 +231,7 @@ public Integer getPresentationVerbAttribute() { PresentationVerbAttribute attr = (PresentationVerbAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "verb"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -245,7 +245,7 @@ public Integer getPresentationVerbAttribute() { public void setPresentationVerbAttribute(Integer presentationVerbValue) { PresentationVerbAttribute attr = new PresentationVerbAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(presentationVerbValue.intValue()); + attr.setValue(presentationVerbValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/presentation/PresentationSettingsElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/presentation/PresentationSettingsElement.java index ece895554a..ae471937c5 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/presentation/PresentationSettingsElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/presentation/PresentationSettingsElement.java @@ -115,7 +115,7 @@ public Boolean getPresentationEndlessAttribute() { (PresentationEndlessAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "endless"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationEndlessAttribute.DEFAULT_VALUE); } @@ -130,7 +130,7 @@ public void setPresentationEndlessAttribute(Boolean presentationEndlessValue) { PresentationEndlessAttribute attr = new PresentationEndlessAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationEndlessValue.booleanValue()); + attr.setValue(presentationEndlessValue.toString()); } /** @@ -145,7 +145,7 @@ public Boolean getPresentationForceManualAttribute() { (PresentationForceManualAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "force-manual"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationForceManualAttribute.DEFAULT_VALUE); } @@ -160,7 +160,7 @@ public void setPresentationForceManualAttribute(Boolean presentationForceManualV PresentationForceManualAttribute attr = new PresentationForceManualAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationForceManualValue.booleanValue()); + attr.setValue(presentationForceManualValue.toString()); } /** @@ -175,7 +175,7 @@ public Boolean getPresentationFullScreenAttribute() { (PresentationFullScreenAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "full-screen"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationFullScreenAttribute.DEFAULT_VALUE); } @@ -190,7 +190,7 @@ public void setPresentationFullScreenAttribute(Boolean presentationFullScreenVal PresentationFullScreenAttribute attr = new PresentationFullScreenAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationFullScreenValue.booleanValue()); + attr.setValue(presentationFullScreenValue.toString()); } /** @@ -205,7 +205,7 @@ public Boolean getPresentationMouseAsPenAttribute() { (PresentationMouseAsPenAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "mouse-as-pen"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationMouseAsPenAttribute.DEFAULT_VALUE); } @@ -220,7 +220,7 @@ public void setPresentationMouseAsPenAttribute(Boolean presentationMouseAsPenVal PresentationMouseAsPenAttribute attr = new PresentationMouseAsPenAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationMouseAsPenValue.booleanValue()); + attr.setValue(presentationMouseAsPenValue.toString()); } /** @@ -235,7 +235,7 @@ public Boolean getPresentationMouseVisibleAttribute() { (PresentationMouseVisibleAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "mouse-visible"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationMouseVisibleAttribute.DEFAULT_VALUE); } @@ -250,7 +250,7 @@ public void setPresentationMouseVisibleAttribute(Boolean presentationMouseVisibl PresentationMouseVisibleAttribute attr = new PresentationMouseVisibleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationMouseVisibleValue.booleanValue()); + attr.setValue(presentationMouseVisibleValue.toString()); } /** @@ -323,7 +323,7 @@ public Boolean getPresentationShowEndOfPresentationSlideAttribute() { (PresentationShowEndOfPresentationSlideAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "show-end-of-presentation-slide"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationShowEndOfPresentationSlideAttribute.DEFAULT_VALUE); } @@ -340,7 +340,7 @@ public void setPresentationShowEndOfPresentationSlideAttribute( PresentationShowEndOfPresentationSlideAttribute attr = new PresentationShowEndOfPresentationSlideAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationShowEndOfPresentationSlideValue.booleanValue()); + attr.setValue(presentationShowEndOfPresentationSlideValue.toString()); } /** @@ -355,7 +355,7 @@ public Boolean getPresentationShowLogoAttribute() { (PresentationShowLogoAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "show-logo"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationShowLogoAttribute.DEFAULT_VALUE); } @@ -370,7 +370,7 @@ public void setPresentationShowLogoAttribute(Boolean presentationShowLogoValue) PresentationShowLogoAttribute attr = new PresentationShowLogoAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationShowLogoValue.booleanValue()); + attr.setValue(presentationShowLogoValue.toString()); } /** @@ -416,7 +416,7 @@ public Boolean getPresentationStartWithNavigatorAttribute() { (PresentationStartWithNavigatorAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "start-with-navigator"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationStartWithNavigatorAttribute.DEFAULT_VALUE); } @@ -432,7 +432,7 @@ public void setPresentationStartWithNavigatorAttribute( PresentationStartWithNavigatorAttribute attr = new PresentationStartWithNavigatorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationStartWithNavigatorValue.booleanValue()); + attr.setValue(presentationStartWithNavigatorValue.toString()); } /** @@ -447,7 +447,7 @@ public Boolean getPresentationStayOnTopAttribute() { (PresentationStayOnTopAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "stay-on-top"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(PresentationStayOnTopAttribute.DEFAULT_VALUE); } @@ -462,7 +462,7 @@ public void setPresentationStayOnTopAttribute(Boolean presentationStayOnTopValue PresentationStayOnTopAttribute attr = new PresentationStayOnTopAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationStayOnTopValue.booleanValue()); + attr.setValue(presentationStayOnTopValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/presentation/PresentationSoundElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/presentation/PresentationSoundElement.java index 6b07cb7822..b5dc1b37b1 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/presentation/PresentationSoundElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/presentation/PresentationSoundElement.java @@ -77,7 +77,7 @@ public Boolean getPresentationPlayFullAttribute() { (PresentationPlayFullAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "play-full"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -92,7 +92,7 @@ public void setPresentationPlayFullAttribute(Boolean presentationPlayFullValue) PresentationPlayFullAttribute attr = new PresentationPlayFullAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationPlayFullValue.booleanValue()); + attr.setValue(presentationPlayFullValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleChartPropertiesElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleChartPropertiesElement.java index 027863d60b..b479feb2d3 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleChartPropertiesElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleChartPropertiesElement.java @@ -552,7 +552,7 @@ public Boolean getChartAutoPositionAttribute() { ChartAutoPositionAttribute attr = (ChartAutoPositionAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "auto-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -567,7 +567,7 @@ public void setChartAutoPositionAttribute(Boolean chartAutoPositionValue) { ChartAutoPositionAttribute attr = new ChartAutoPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartAutoPositionValue.booleanValue()); + attr.setValue(chartAutoPositionValue.toString()); } /** @@ -581,7 +581,7 @@ public Boolean getChartAutoSizeAttribute() { ChartAutoSizeAttribute attr = (ChartAutoSizeAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "auto-size"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -595,7 +595,7 @@ public Boolean getChartAutoSizeAttribute() { public void setChartAutoSizeAttribute(Boolean chartAutoSizeValue) { ChartAutoSizeAttribute attr = new ChartAutoSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartAutoSizeValue.booleanValue()); + attr.setValue(chartAutoSizeValue.toString()); } /** @@ -639,7 +639,7 @@ public Double getChartAxisPositionAttribute() { ChartAxisPositionAttribute attr = (ChartAxisPositionAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "axis-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -654,7 +654,7 @@ public void setChartAxisPositionAttribute(Double chartAxisPositionValue) { ChartAxisPositionAttribute attr = new ChartAxisPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(chartAxisPositionValue.doubleValue()); + attr.setValue(chartAxisPositionValue.toString()); } /** @@ -668,7 +668,7 @@ public Boolean getChartConnectBarsAttribute() { ChartConnectBarsAttribute attr = (ChartConnectBarsAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "connect-bars"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -682,7 +682,7 @@ public Boolean getChartConnectBarsAttribute() { public void setChartConnectBarsAttribute(Boolean chartConnectBarsValue) { ChartConnectBarsAttribute attr = new ChartConnectBarsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartConnectBarsValue.booleanValue()); + attr.setValue(chartConnectBarsValue.toString()); } /** @@ -727,7 +727,7 @@ public Boolean getChartDataLabelSeriesAttribute() { (ChartDataLabelSeriesAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "data-label-series"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -742,7 +742,7 @@ public void setChartDataLabelSeriesAttribute(Boolean chartDataLabelSeriesValue) ChartDataLabelSeriesAttribute attr = new ChartDataLabelSeriesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartDataLabelSeriesValue.booleanValue()); + attr.setValue(chartDataLabelSeriesValue.toString()); } /** @@ -757,7 +757,7 @@ public Boolean getChartDataLabelSymbolAttribute() { (ChartDataLabelSymbolAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "data-label-symbol"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -772,7 +772,7 @@ public void setChartDataLabelSymbolAttribute(Boolean chartDataLabelSymbolValue) ChartDataLabelSymbolAttribute attr = new ChartDataLabelSymbolAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartDataLabelSymbolValue.booleanValue()); + attr.setValue(chartDataLabelSymbolValue.toString()); } /** @@ -787,7 +787,7 @@ public Boolean getChartDataLabelTextAttribute() { (ChartDataLabelTextAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "data-label-text"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -802,7 +802,7 @@ public void setChartDataLabelTextAttribute(Boolean chartDataLabelTextValue) { ChartDataLabelTextAttribute attr = new ChartDataLabelTextAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartDataLabelTextValue.booleanValue()); + attr.setValue(chartDataLabelTextValue.toString()); } /** @@ -816,7 +816,7 @@ public Boolean getChartDeepAttribute() { ChartDeepAttribute attr = (ChartDeepAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "deep"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -830,7 +830,7 @@ public Boolean getChartDeepAttribute() { public void setChartDeepAttribute(Boolean chartDeepValue) { ChartDeepAttribute attr = new ChartDeepAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartDeepValue.booleanValue()); + attr.setValue(chartDeepValue.toString()); } /** @@ -844,7 +844,7 @@ public Boolean getChartDisplayLabelAttribute() { ChartDisplayLabelAttribute attr = (ChartDisplayLabelAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "display-label"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -859,7 +859,7 @@ public void setChartDisplayLabelAttribute(Boolean chartDisplayLabelValue) { ChartDisplayLabelAttribute attr = new ChartDisplayLabelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartDisplayLabelValue.booleanValue()); + attr.setValue(chartDisplayLabelValue.toString()); } /** @@ -903,7 +903,7 @@ public Boolean getChartErrorLowerIndicatorAttribute() { (ChartErrorLowerIndicatorAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "error-lower-indicator"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -918,7 +918,7 @@ public void setChartErrorLowerIndicatorAttribute(Boolean chartErrorLowerIndicato ChartErrorLowerIndicatorAttribute attr = new ChartErrorLowerIndicatorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartErrorLowerIndicatorValue.booleanValue()); + attr.setValue(chartErrorLowerIndicatorValue.toString()); } /** @@ -933,7 +933,7 @@ public Double getChartErrorLowerLimitAttribute() { (ChartErrorLowerLimitAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "error-lower-limit"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -948,7 +948,7 @@ public void setChartErrorLowerLimitAttribute(Double chartErrorLowerLimitValue) { ChartErrorLowerLimitAttribute attr = new ChartErrorLowerLimitAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(chartErrorLowerLimitValue.doubleValue()); + attr.setValue(chartErrorLowerLimitValue.toString()); } /** @@ -992,7 +992,7 @@ public Double getChartErrorMarginAttribute() { ChartErrorMarginAttribute attr = (ChartErrorMarginAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "error-margin"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -1006,7 +1006,7 @@ public Double getChartErrorMarginAttribute() { public void setChartErrorMarginAttribute(Double chartErrorMarginValue) { ChartErrorMarginAttribute attr = new ChartErrorMarginAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(chartErrorMarginValue.doubleValue()); + attr.setValue(chartErrorMarginValue.toString()); } /** @@ -1021,7 +1021,7 @@ public Double getChartErrorPercentageAttribute() { (ChartErrorPercentageAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "error-percentage"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -1036,7 +1036,7 @@ public void setChartErrorPercentageAttribute(Double chartErrorPercentageValue) { ChartErrorPercentageAttribute attr = new ChartErrorPercentageAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(chartErrorPercentageValue.doubleValue()); + attr.setValue(chartErrorPercentageValue.toString()); } /** @@ -1051,7 +1051,7 @@ public Boolean getChartErrorUpperIndicatorAttribute() { (ChartErrorUpperIndicatorAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "error-upper-indicator"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1066,7 +1066,7 @@ public void setChartErrorUpperIndicatorAttribute(Boolean chartErrorUpperIndicato ChartErrorUpperIndicatorAttribute attr = new ChartErrorUpperIndicatorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartErrorUpperIndicatorValue.booleanValue()); + attr.setValue(chartErrorUpperIndicatorValue.toString()); } /** @@ -1081,7 +1081,7 @@ public Double getChartErrorUpperLimitAttribute() { (ChartErrorUpperLimitAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "error-upper-limit"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -1096,7 +1096,7 @@ public void setChartErrorUpperLimitAttribute(Double chartErrorUpperLimitValue) { ChartErrorUpperLimitAttribute attr = new ChartErrorUpperLimitAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(chartErrorUpperLimitValue.doubleValue()); + attr.setValue(chartErrorUpperLimitValue.toString()); } /** @@ -1140,7 +1140,7 @@ public Integer getChartGapWidthAttribute() { ChartGapWidthAttribute attr = (ChartGapWidthAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "gap-width"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1154,7 +1154,7 @@ public Integer getChartGapWidthAttribute() { public void setChartGapWidthAttribute(Integer chartGapWidthValue) { ChartGapWidthAttribute attr = new ChartGapWidthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(chartGapWidthValue.intValue()); + attr.setValue(chartGapWidthValue.toString()); } /** @@ -1169,7 +1169,7 @@ public Boolean getChartGroupBarsPerAxisAttribute() { (ChartGroupBarsPerAxisAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "group-bars-per-axis"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1184,7 +1184,7 @@ public void setChartGroupBarsPerAxisAttribute(Boolean chartGroupBarsPerAxisValue ChartGroupBarsPerAxisAttribute attr = new ChartGroupBarsPerAxisAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartGroupBarsPerAxisValue.booleanValue()); + attr.setValue(chartGroupBarsPerAxisValue.toString()); } /** @@ -1227,7 +1227,7 @@ public Boolean getChartIncludeHiddenCellsAttribute() { (ChartIncludeHiddenCellsAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "include-hidden-cells"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1242,7 +1242,7 @@ public void setChartIncludeHiddenCellsAttribute(Boolean chartIncludeHiddenCellsV ChartIncludeHiddenCellsAttribute attr = new ChartIncludeHiddenCellsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartIncludeHiddenCellsValue.booleanValue()); + attr.setValue(chartIncludeHiddenCellsValue.toString()); } /** @@ -1285,7 +1285,7 @@ public Double getChartIntervalMajorAttribute() { ChartIntervalMajorAttribute attr = (ChartIntervalMajorAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "interval-major"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -1300,7 +1300,7 @@ public void setChartIntervalMajorAttribute(Double chartIntervalMajorValue) { ChartIntervalMajorAttribute attr = new ChartIntervalMajorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(chartIntervalMajorValue.doubleValue()); + attr.setValue(chartIntervalMajorValue.toString()); } /** @@ -1315,7 +1315,7 @@ public Integer getChartIntervalMinorDivisorAttribute() { (ChartIntervalMinorDivisorAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "interval-minor-divisor"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1330,7 +1330,7 @@ public void setChartIntervalMinorDivisorAttribute(Integer chartIntervalMinorDivi ChartIntervalMinorDivisorAttribute attr = new ChartIntervalMinorDivisorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(chartIntervalMinorDivisorValue.intValue()); + attr.setValue(chartIntervalMinorDivisorValue.toString()); } /** @@ -1345,7 +1345,7 @@ public Boolean getChartJapaneseCandleStickAttribute() { (ChartJapaneseCandleStickAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "japanese-candle-stick"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1360,7 +1360,7 @@ public void setChartJapaneseCandleStickAttribute(Boolean chartJapaneseCandleStic ChartJapaneseCandleStickAttribute attr = new ChartJapaneseCandleStickAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartJapaneseCandleStickValue.booleanValue()); + attr.setValue(chartJapaneseCandleStickValue.toString()); } /** @@ -1463,7 +1463,7 @@ public Boolean getChartLinesAttribute() { ChartLinesAttribute attr = (ChartLinesAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "lines"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1477,7 +1477,7 @@ public Boolean getChartLinesAttribute() { public void setChartLinesAttribute(Boolean chartLinesValue) { ChartLinesAttribute attr = new ChartLinesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartLinesValue.booleanValue()); + attr.setValue(chartLinesValue.toString()); } /** @@ -1493,7 +1493,7 @@ public Boolean getChartLinkDataStyleToSourceAttribute() { (ChartLinkDataStyleToSourceAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "link-data-style-to-source"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1508,7 +1508,7 @@ public void setChartLinkDataStyleToSourceAttribute(Boolean chartLinkDataStyleToS ChartLinkDataStyleToSourceAttribute attr = new ChartLinkDataStyleToSourceAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartLinkDataStyleToSourceValue.booleanValue()); + attr.setValue(chartLinkDataStyleToSourceValue.toString()); } /** @@ -1522,7 +1522,7 @@ public Boolean getChartLogarithmicAttribute() { ChartLogarithmicAttribute attr = (ChartLogarithmicAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "logarithmic"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1536,7 +1536,7 @@ public Boolean getChartLogarithmicAttribute() { public void setChartLogarithmicAttribute(Boolean chartLogarithmicValue) { ChartLogarithmicAttribute attr = new ChartLogarithmicAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartLogarithmicValue.booleanValue()); + attr.setValue(chartLogarithmicValue.toString()); } /** @@ -1550,7 +1550,7 @@ public Double getChartMaximumAttribute() { ChartMaximumAttribute attr = (ChartMaximumAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "maximum"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -1564,7 +1564,7 @@ public Double getChartMaximumAttribute() { public void setChartMaximumAttribute(Double chartMaximumValue) { ChartMaximumAttribute attr = new ChartMaximumAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(chartMaximumValue.doubleValue()); + attr.setValue(chartMaximumValue.toString()); } /** @@ -1578,7 +1578,7 @@ public Boolean getChartMeanValueAttribute() { ChartMeanValueAttribute attr = (ChartMeanValueAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "mean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1592,7 +1592,7 @@ public Boolean getChartMeanValueAttribute() { public void setChartMeanValueAttribute(Boolean chartMeanValueValue) { ChartMeanValueAttribute attr = new ChartMeanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartMeanValueValue.booleanValue()); + attr.setValue(chartMeanValueValue.toString()); } /** @@ -1606,7 +1606,7 @@ public Double getChartMinimumAttribute() { ChartMinimumAttribute attr = (ChartMinimumAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "minimum"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -1620,7 +1620,7 @@ public Double getChartMinimumAttribute() { public void setChartMinimumAttribute(Double chartMinimumValue) { ChartMinimumAttribute attr = new ChartMinimumAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(chartMinimumValue.doubleValue()); + attr.setValue(chartMinimumValue.toString()); } /** @@ -1634,7 +1634,7 @@ public Double getChartOriginAttribute() { ChartOriginAttribute attr = (ChartOriginAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "origin"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -1648,7 +1648,7 @@ public Double getChartOriginAttribute() { public void setChartOriginAttribute(Double chartOriginValue) { ChartOriginAttribute attr = new ChartOriginAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(chartOriginValue.doubleValue()); + attr.setValue(chartOriginValue.toString()); } /** @@ -1662,7 +1662,7 @@ public Integer getChartOverlapAttribute() { ChartOverlapAttribute attr = (ChartOverlapAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "overlap"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1676,7 +1676,7 @@ public Integer getChartOverlapAttribute() { public void setChartOverlapAttribute(Integer chartOverlapValue) { ChartOverlapAttribute attr = new ChartOverlapAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(chartOverlapValue.intValue()); + attr.setValue(chartOverlapValue.toString()); } /** @@ -1690,7 +1690,7 @@ public Boolean getChartPercentageAttribute() { ChartPercentageAttribute attr = (ChartPercentageAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "percentage"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1704,7 +1704,7 @@ public Boolean getChartPercentageAttribute() { public void setChartPercentageAttribute(Boolean chartPercentageValue) { ChartPercentageAttribute attr = new ChartPercentageAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartPercentageValue.booleanValue()); + attr.setValue(chartPercentageValue.toString()); } /** @@ -1718,7 +1718,7 @@ public Integer getChartPieOffsetAttribute() { ChartPieOffsetAttribute attr = (ChartPieOffsetAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "pie-offset"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1732,7 +1732,7 @@ public Integer getChartPieOffsetAttribute() { public void setChartPieOffsetAttribute(Integer chartPieOffsetValue) { ChartPieOffsetAttribute attr = new ChartPieOffsetAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(chartPieOffsetValue.intValue()); + attr.setValue(chartPieOffsetValue.toString()); } /** @@ -1748,7 +1748,7 @@ public Boolean getChartRegressionForceInterceptAttribute() { (ChartRegressionForceInterceptAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "regression-force-intercept"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1764,7 +1764,7 @@ public void setChartRegressionForceInterceptAttribute( ChartRegressionForceInterceptAttribute attr = new ChartRegressionForceInterceptAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartRegressionForceInterceptValue.booleanValue()); + attr.setValue(chartRegressionForceInterceptValue.toString()); } /** @@ -1780,7 +1780,7 @@ public Double getChartRegressionInterceptValueAttribute() { (ChartRegressionInterceptValueAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "regression-intercept-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -1795,7 +1795,7 @@ public void setChartRegressionInterceptValueAttribute(Double chartRegressionInte ChartRegressionInterceptValueAttribute attr = new ChartRegressionInterceptValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(chartRegressionInterceptValueValue.doubleValue()); + attr.setValue(chartRegressionInterceptValueValue.toString()); } /** @@ -1810,7 +1810,7 @@ public Integer getChartRegressionMaxDegreeAttribute() { (ChartRegressionMaxDegreeAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "regression-max-degree"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1825,7 +1825,7 @@ public void setChartRegressionMaxDegreeAttribute(Integer chartRegressionMaxDegre ChartRegressionMaxDegreeAttribute attr = new ChartRegressionMaxDegreeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(chartRegressionMaxDegreeValue.intValue()); + attr.setValue(chartRegressionMaxDegreeValue.toString()); } /** @@ -1900,7 +1900,7 @@ public Integer getChartRegressionPeriodAttribute() { (ChartRegressionPeriodAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "regression-period"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1915,7 +1915,7 @@ public void setChartRegressionPeriodAttribute(Integer chartRegressionPeriodValue ChartRegressionPeriodAttribute attr = new ChartRegressionPeriodAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(chartRegressionPeriodValue.intValue()); + attr.setValue(chartRegressionPeriodValue.toString()); } /** @@ -1960,7 +1960,7 @@ public Boolean getChartReverseDirectionAttribute() { (ChartReverseDirectionAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "reverse-direction"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1975,7 +1975,7 @@ public void setChartReverseDirectionAttribute(Boolean chartReverseDirectionValue ChartReverseDirectionAttribute attr = new ChartReverseDirectionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartReverseDirectionValue.booleanValue()); + attr.setValue(chartReverseDirectionValue.toString()); } /** @@ -1990,7 +1990,7 @@ public Boolean getChartRightAngledAxesAttribute() { (ChartRightAngledAxesAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "right-angled-axes"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2005,7 +2005,7 @@ public void setChartRightAngledAxesAttribute(Boolean chartRightAngledAxesValue) ChartRightAngledAxesAttribute attr = new ChartRightAngledAxesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartRightAngledAxesValue.booleanValue()); + attr.setValue(chartRightAngledAxesValue.toString()); } /** @@ -2019,7 +2019,7 @@ public Boolean getChartScaleTextAttribute() { ChartScaleTextAttribute attr = (ChartScaleTextAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "scale-text"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2033,7 +2033,7 @@ public Boolean getChartScaleTextAttribute() { public void setChartScaleTextAttribute(Boolean chartScaleTextValue) { ChartScaleTextAttribute attr = new ChartScaleTextAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartScaleTextValue.booleanValue()); + attr.setValue(chartScaleTextValue.toString()); } /** @@ -2105,7 +2105,7 @@ public Boolean getChartSortByXValuesAttribute() { (ChartSortByXValuesAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "sort-by-x-values"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2120,7 +2120,7 @@ public void setChartSortByXValuesAttribute(Boolean chartSortByXValuesValue) { ChartSortByXValuesAttribute attr = new ChartSortByXValuesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartSortByXValuesValue.booleanValue()); + attr.setValue(chartSortByXValuesValue.toString()); } /** @@ -2134,7 +2134,7 @@ public Integer getChartSplineOrderAttribute() { ChartSplineOrderAttribute attr = (ChartSplineOrderAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "spline-order"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -2148,7 +2148,7 @@ public Integer getChartSplineOrderAttribute() { public void setChartSplineOrderAttribute(Integer chartSplineOrderValue) { ChartSplineOrderAttribute attr = new ChartSplineOrderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(chartSplineOrderValue.intValue()); + attr.setValue(chartSplineOrderValue.toString()); } /** @@ -2163,7 +2163,7 @@ public Integer getChartSplineResolutionAttribute() { (ChartSplineResolutionAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "spline-resolution"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -2178,7 +2178,7 @@ public void setChartSplineResolutionAttribute(Integer chartSplineResolutionValue ChartSplineResolutionAttribute attr = new ChartSplineResolutionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(chartSplineResolutionValue.intValue()); + attr.setValue(chartSplineResolutionValue.toString()); } /** @@ -2192,7 +2192,7 @@ public Boolean getChartStackedAttribute() { ChartStackedAttribute attr = (ChartStackedAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "stacked"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2206,7 +2206,7 @@ public Boolean getChartStackedAttribute() { public void setChartStackedAttribute(Boolean chartStackedValue) { ChartStackedAttribute attr = new ChartStackedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartStackedValue.booleanValue()); + attr.setValue(chartStackedValue.toString()); } /** @@ -2335,7 +2335,7 @@ public Boolean getChartTextOverlapAttribute() { ChartTextOverlapAttribute attr = (ChartTextOverlapAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "text-overlap"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2349,7 +2349,7 @@ public Boolean getChartTextOverlapAttribute() { public void setChartTextOverlapAttribute(Boolean chartTextOverlapValue) { ChartTextOverlapAttribute attr = new ChartTextOverlapAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartTextOverlapValue.booleanValue()); + attr.setValue(chartTextOverlapValue.toString()); } /** @@ -2364,7 +2364,7 @@ public Boolean getChartThreeDimensionalAttribute() { (ChartThreeDimensionalAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "three-dimensional"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2379,7 +2379,7 @@ public void setChartThreeDimensionalAttribute(Boolean chartThreeDimensionalValue ChartThreeDimensionalAttribute attr = new ChartThreeDimensionalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartThreeDimensionalValue.booleanValue()); + attr.setValue(chartThreeDimensionalValue.toString()); } /** @@ -2424,7 +2424,7 @@ public Boolean getChartTickMarksMajorInnerAttribute() { (ChartTickMarksMajorInnerAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "tick-marks-major-inner"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2439,7 +2439,7 @@ public void setChartTickMarksMajorInnerAttribute(Boolean chartTickMarksMajorInne ChartTickMarksMajorInnerAttribute attr = new ChartTickMarksMajorInnerAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartTickMarksMajorInnerValue.booleanValue()); + attr.setValue(chartTickMarksMajorInnerValue.toString()); } /** @@ -2454,7 +2454,7 @@ public Boolean getChartTickMarksMajorOuterAttribute() { (ChartTickMarksMajorOuterAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "tick-marks-major-outer"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2469,7 +2469,7 @@ public void setChartTickMarksMajorOuterAttribute(Boolean chartTickMarksMajorOute ChartTickMarksMajorOuterAttribute attr = new ChartTickMarksMajorOuterAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartTickMarksMajorOuterValue.booleanValue()); + attr.setValue(chartTickMarksMajorOuterValue.toString()); } /** @@ -2484,7 +2484,7 @@ public Boolean getChartTickMarksMinorInnerAttribute() { (ChartTickMarksMinorInnerAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "tick-marks-minor-inner"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2499,7 +2499,7 @@ public void setChartTickMarksMinorInnerAttribute(Boolean chartTickMarksMinorInne ChartTickMarksMinorInnerAttribute attr = new ChartTickMarksMinorInnerAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartTickMarksMinorInnerValue.booleanValue()); + attr.setValue(chartTickMarksMinorInnerValue.toString()); } /** @@ -2514,7 +2514,7 @@ public Boolean getChartTickMarksMinorOuterAttribute() { (ChartTickMarksMinorOuterAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "tick-marks-minor-outer"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2529,7 +2529,7 @@ public void setChartTickMarksMinorOuterAttribute(Boolean chartTickMarksMinorOute ChartTickMarksMinorOuterAttribute attr = new ChartTickMarksMinorOuterAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartTickMarksMinorOuterValue.booleanValue()); + attr.setValue(chartTickMarksMinorOuterValue.toString()); } /** @@ -2573,7 +2573,7 @@ public Boolean getChartVerticalAttribute() { ChartVerticalAttribute attr = (ChartVerticalAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "vertical"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2587,7 +2587,7 @@ public Boolean getChartVerticalAttribute() { public void setChartVerticalAttribute(Boolean chartVerticalValue) { ChartVerticalAttribute attr = new ChartVerticalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartVerticalValue.booleanValue()); + attr.setValue(chartVerticalValue.toString()); } /** @@ -2601,7 +2601,7 @@ public Boolean getChartVisibleAttribute() { ChartVisibleAttribute attr = (ChartVisibleAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "visible"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2615,7 +2615,7 @@ public Boolean getChartVisibleAttribute() { public void setChartVisibleAttribute(Boolean chartVisibleValue) { ChartVisibleAttribute attr = new ChartVisibleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(chartVisibleValue.booleanValue()); + attr.setValue(chartVisibleValue.toString()); } /** @@ -2686,7 +2686,7 @@ public Boolean getTextLineBreakAttribute() { TextLineBreakAttribute attr = (TextLineBreakAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "line-break"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2700,7 +2700,7 @@ public Boolean getTextLineBreakAttribute() { public void setTextLineBreakAttribute(Boolean textLineBreakValue) { TextLineBreakAttribute attr = new TextLineBreakAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textLineBreakValue.booleanValue()); + attr.setValue(textLineBreakValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleColumnsElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleColumnsElement.java index bd2c62e67a..42c55400df 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleColumnsElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleColumnsElement.java @@ -73,7 +73,7 @@ public Integer getFoColumnCountAttribute() { FoColumnCountAttribute attr = (FoColumnCountAttribute) getOdfAttribute(OdfDocumentNamespace.FO, "column-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -87,7 +87,7 @@ public Integer getFoColumnCountAttribute() { public void setFoColumnCountAttribute(Integer foColumnCountValue) { FoColumnCountAttribute attr = new FoColumnCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(foColumnCountValue.intValue()); + attr.setValue(foColumnCountValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleDrawingPagePropertiesElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleDrawingPagePropertiesElement.java index 69ff0c8802..fd90292451 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleDrawingPagePropertiesElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleDrawingPagePropertiesElement.java @@ -422,7 +422,7 @@ public Boolean getDrawFillHatchSolidAttribute() { (DrawFillHatchSolidAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "fill-hatch-solid"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -437,7 +437,7 @@ public void setDrawFillHatchSolidAttribute(Boolean drawFillHatchSolidValue) { DrawFillHatchSolidAttribute attr = new DrawFillHatchSolidAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawFillHatchSolidValue.booleanValue()); + attr.setValue(drawFillHatchSolidValue.toString()); } /** @@ -631,7 +631,7 @@ public Integer getDrawGradientStepCountAttribute() { (DrawGradientStepCountAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "gradient-step-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -646,7 +646,7 @@ public void setDrawGradientStepCountAttribute(Integer drawGradientStepCountValue DrawGradientStepCountAttribute attr = new DrawGradientStepCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawGradientStepCountValue.intValue()); + attr.setValue(drawGradientStepCountValue.toString()); } /** @@ -778,7 +778,7 @@ public Boolean getPresentationBackgroundObjectsVisibleAttribute() { (PresentationBackgroundObjectsVisibleAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "background-objects-visible"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -795,7 +795,7 @@ public void setPresentationBackgroundObjectsVisibleAttribute( PresentationBackgroundObjectsVisibleAttribute attr = new PresentationBackgroundObjectsVisibleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationBackgroundObjectsVisibleValue.booleanValue()); + attr.setValue(presentationBackgroundObjectsVisibleValue.toString()); } /** @@ -811,7 +811,7 @@ public Boolean getPresentationBackgroundVisibleAttribute() { (PresentationBackgroundVisibleAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "background-visible"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -827,7 +827,7 @@ public void setPresentationBackgroundVisibleAttribute( PresentationBackgroundVisibleAttribute attr = new PresentationBackgroundVisibleAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationBackgroundVisibleValue.booleanValue()); + attr.setValue(presentationBackgroundVisibleValue.toString()); } /** @@ -843,7 +843,7 @@ public Boolean getPresentationDisplayDateTimeAttribute() { (PresentationDisplayDateTimeAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "display-date-time"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -858,7 +858,7 @@ public void setPresentationDisplayDateTimeAttribute(Boolean presentationDisplayD PresentationDisplayDateTimeAttribute attr = new PresentationDisplayDateTimeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationDisplayDateTimeValue.booleanValue()); + attr.setValue(presentationDisplayDateTimeValue.toString()); } /** @@ -873,7 +873,7 @@ public Boolean getPresentationDisplayFooterAttribute() { (PresentationDisplayFooterAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "display-footer"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -888,7 +888,7 @@ public void setPresentationDisplayFooterAttribute(Boolean presentationDisplayFoo PresentationDisplayFooterAttribute attr = new PresentationDisplayFooterAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationDisplayFooterValue.booleanValue()); + attr.setValue(presentationDisplayFooterValue.toString()); } /** @@ -903,7 +903,7 @@ public Boolean getPresentationDisplayHeaderAttribute() { (PresentationDisplayHeaderAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "display-header"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -918,7 +918,7 @@ public void setPresentationDisplayHeaderAttribute(Boolean presentationDisplayHea PresentationDisplayHeaderAttribute attr = new PresentationDisplayHeaderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationDisplayHeaderValue.booleanValue()); + attr.setValue(presentationDisplayHeaderValue.toString()); } /** @@ -934,7 +934,7 @@ public Boolean getPresentationDisplayPageNumberAttribute() { (PresentationDisplayPageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.PRESENTATION, "display-page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -950,7 +950,7 @@ public void setPresentationDisplayPageNumberAttribute( PresentationDisplayPageNumberAttribute attr = new PresentationDisplayPageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(presentationDisplayPageNumberValue.booleanValue()); + attr.setValue(presentationDisplayPageNumberValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleDropCapElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleDropCapElement.java index 272b3126d2..8cb5c9a762 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleDropCapElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleDropCapElement.java @@ -107,7 +107,7 @@ public Integer getStyleLengthAttribute() { StyleLengthAttribute attr = (StyleLengthAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "length"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(StyleLengthAttribute.DEFAULT_VALUE); } @@ -121,7 +121,7 @@ public Integer getStyleLengthAttribute() { public void setStyleLengthAttribute(Integer styleLengthValue) { StyleLengthAttribute attr = new StyleLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleLengthValue.intValue()); + attr.setValue(styleLengthValue.toString()); } /** @@ -135,7 +135,7 @@ public Integer getStyleLinesAttribute() { StyleLinesAttribute attr = (StyleLinesAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "lines"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(StyleLinesAttribute.DEFAULT_VALUE); } @@ -149,7 +149,7 @@ public Integer getStyleLinesAttribute() { public void setStyleLinesAttribute(Integer styleLinesValue) { StyleLinesAttribute attr = new StyleLinesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleLinesValue.intValue()); + attr.setValue(styleLinesValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleFontFaceElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleFontFaceElement.java index dfb3f7b5a9..789f2eedab 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleFontFaceElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleFontFaceElement.java @@ -256,7 +256,7 @@ public Integer getSvgAccentHeightAttribute() { SvgAccentHeightAttribute attr = (SvgAccentHeightAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "accent-height"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -270,7 +270,7 @@ public Integer getSvgAccentHeightAttribute() { public void setSvgAccentHeightAttribute(Integer svgAccentHeightValue) { SvgAccentHeightAttribute attr = new SvgAccentHeightAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgAccentHeightValue.intValue()); + attr.setValue(svgAccentHeightValue.toString()); } /** @@ -284,7 +284,7 @@ public Integer getSvgAlphabeticAttribute() { SvgAlphabeticAttribute attr = (SvgAlphabeticAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "alphabetic"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -298,7 +298,7 @@ public Integer getSvgAlphabeticAttribute() { public void setSvgAlphabeticAttribute(Integer svgAlphabeticValue) { SvgAlphabeticAttribute attr = new SvgAlphabeticAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgAlphabeticValue.intValue()); + attr.setValue(svgAlphabeticValue.toString()); } /** @@ -312,7 +312,7 @@ public Integer getSvgAscentAttribute() { SvgAscentAttribute attr = (SvgAscentAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "ascent"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -326,7 +326,7 @@ public Integer getSvgAscentAttribute() { public void setSvgAscentAttribute(Integer svgAscentValue) { SvgAscentAttribute attr = new SvgAscentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgAscentValue.intValue()); + attr.setValue(svgAscentValue.toString()); } /** @@ -367,7 +367,7 @@ public Integer getSvgCapHeightAttribute() { SvgCapHeightAttribute attr = (SvgCapHeightAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "cap-height"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -381,7 +381,7 @@ public Integer getSvgCapHeightAttribute() { public void setSvgCapHeightAttribute(Integer svgCapHeightValue) { SvgCapHeightAttribute attr = new SvgCapHeightAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgCapHeightValue.intValue()); + attr.setValue(svgCapHeightValue.toString()); } /** @@ -395,7 +395,7 @@ public Integer getSvgDescentAttribute() { SvgDescentAttribute attr = (SvgDescentAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "descent"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -409,7 +409,7 @@ public Integer getSvgDescentAttribute() { public void setSvgDescentAttribute(Integer svgDescentValue) { SvgDescentAttribute attr = new SvgDescentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgDescentValue.intValue()); + attr.setValue(svgDescentValue.toString()); } /** @@ -591,7 +591,7 @@ public Integer getSvgHangingAttribute() { SvgHangingAttribute attr = (SvgHangingAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "hanging"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -605,7 +605,7 @@ public Integer getSvgHangingAttribute() { public void setSvgHangingAttribute(Integer svgHangingValue) { SvgHangingAttribute attr = new SvgHangingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgHangingValue.intValue()); + attr.setValue(svgHangingValue.toString()); } /** @@ -619,7 +619,7 @@ public Integer getSvgIdeographicAttribute() { SvgIdeographicAttribute attr = (SvgIdeographicAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "ideographic"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -633,7 +633,7 @@ public Integer getSvgIdeographicAttribute() { public void setSvgIdeographicAttribute(Integer svgIdeographicValue) { SvgIdeographicAttribute attr = new SvgIdeographicAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgIdeographicValue.intValue()); + attr.setValue(svgIdeographicValue.toString()); } /** @@ -647,7 +647,7 @@ public Integer getSvgMathematicalAttribute() { SvgMathematicalAttribute attr = (SvgMathematicalAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "mathematical"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -661,7 +661,7 @@ public Integer getSvgMathematicalAttribute() { public void setSvgMathematicalAttribute(Integer svgMathematicalValue) { SvgMathematicalAttribute attr = new SvgMathematicalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgMathematicalValue.intValue()); + attr.setValue(svgMathematicalValue.toString()); } /** @@ -676,7 +676,7 @@ public Integer getSvgOverlinePositionAttribute() { (SvgOverlinePositionAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "overline-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -691,7 +691,7 @@ public void setSvgOverlinePositionAttribute(Integer svgOverlinePositionValue) { SvgOverlinePositionAttribute attr = new SvgOverlinePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgOverlinePositionValue.intValue()); + attr.setValue(svgOverlinePositionValue.toString()); } /** @@ -706,7 +706,7 @@ public Integer getSvgOverlineThicknessAttribute() { (SvgOverlineThicknessAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "overline-thickness"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -721,7 +721,7 @@ public void setSvgOverlineThicknessAttribute(Integer svgOverlineThicknessValue) SvgOverlineThicknessAttribute attr = new SvgOverlineThicknessAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgOverlineThicknessValue.intValue()); + attr.setValue(svgOverlineThicknessValue.toString()); } /** @@ -762,7 +762,7 @@ public void setSvgPanose1Attribute(String svgPanose1Value) { public Integer getSvgSlopeAttribute() { SvgSlopeAttribute attr = (SvgSlopeAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "slope"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -776,7 +776,7 @@ public Integer getSvgSlopeAttribute() { public void setSvgSlopeAttribute(Integer svgSlopeValue) { SvgSlopeAttribute attr = new SvgSlopeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgSlopeValue.intValue()); + attr.setValue(svgSlopeValue.toString()); } /** @@ -789,7 +789,7 @@ public void setSvgSlopeAttribute(Integer svgSlopeValue) { public Integer getSvgStemhAttribute() { SvgStemhAttribute attr = (SvgStemhAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "stemh"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -803,7 +803,7 @@ public Integer getSvgStemhAttribute() { public void setSvgStemhAttribute(Integer svgStemhValue) { SvgStemhAttribute attr = new SvgStemhAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgStemhValue.intValue()); + attr.setValue(svgStemhValue.toString()); } /** @@ -816,7 +816,7 @@ public void setSvgStemhAttribute(Integer svgStemhValue) { public Integer getSvgStemvAttribute() { SvgStemvAttribute attr = (SvgStemvAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "stemv"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -830,7 +830,7 @@ public Integer getSvgStemvAttribute() { public void setSvgStemvAttribute(Integer svgStemvValue) { SvgStemvAttribute attr = new SvgStemvAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgStemvValue.intValue()); + attr.setValue(svgStemvValue.toString()); } /** @@ -845,7 +845,7 @@ public Integer getSvgStrikethroughPositionAttribute() { (SvgStrikethroughPositionAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "strikethrough-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -860,7 +860,7 @@ public void setSvgStrikethroughPositionAttribute(Integer svgStrikethroughPositio SvgStrikethroughPositionAttribute attr = new SvgStrikethroughPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgStrikethroughPositionValue.intValue()); + attr.setValue(svgStrikethroughPositionValue.toString()); } /** @@ -875,7 +875,7 @@ public Integer getSvgStrikethroughThicknessAttribute() { (SvgStrikethroughThicknessAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "strikethrough-thickness"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -890,7 +890,7 @@ public void setSvgStrikethroughThicknessAttribute(Integer svgStrikethroughThickn SvgStrikethroughThicknessAttribute attr = new SvgStrikethroughThicknessAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgStrikethroughThicknessValue.intValue()); + attr.setValue(svgStrikethroughThicknessValue.toString()); } /** @@ -905,7 +905,7 @@ public Integer getSvgUnderlinePositionAttribute() { (SvgUnderlinePositionAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "underline-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -920,7 +920,7 @@ public void setSvgUnderlinePositionAttribute(Integer svgUnderlinePositionValue) SvgUnderlinePositionAttribute attr = new SvgUnderlinePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgUnderlinePositionValue.intValue()); + attr.setValue(svgUnderlinePositionValue.toString()); } /** @@ -935,7 +935,7 @@ public Integer getSvgUnderlineThicknessAttribute() { (SvgUnderlineThicknessAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "underline-thickness"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -950,7 +950,7 @@ public void setSvgUnderlineThicknessAttribute(Integer svgUnderlineThicknessValue SvgUnderlineThicknessAttribute attr = new SvgUnderlineThicknessAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgUnderlineThicknessValue.intValue()); + attr.setValue(svgUnderlineThicknessValue.toString()); } /** @@ -992,7 +992,7 @@ public Integer getSvgUnitsPerEmAttribute() { SvgUnitsPerEmAttribute attr = (SvgUnitsPerEmAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "units-per-em"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1006,7 +1006,7 @@ public Integer getSvgUnitsPerEmAttribute() { public void setSvgUnitsPerEmAttribute(Integer svgUnitsPerEmValue) { SvgUnitsPerEmAttribute attr = new SvgUnitsPerEmAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgUnitsPerEmValue.intValue()); + attr.setValue(svgUnitsPerEmValue.toString()); } /** @@ -1020,7 +1020,7 @@ public Integer getSvgVAlphabeticAttribute() { SvgVAlphabeticAttribute attr = (SvgVAlphabeticAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "v-alphabetic"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1034,7 +1034,7 @@ public Integer getSvgVAlphabeticAttribute() { public void setSvgVAlphabeticAttribute(Integer svgVAlphabeticValue) { SvgVAlphabeticAttribute attr = new SvgVAlphabeticAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgVAlphabeticValue.intValue()); + attr.setValue(svgVAlphabeticValue.toString()); } /** @@ -1048,7 +1048,7 @@ public Integer getSvgVHangingAttribute() { SvgVHangingAttribute attr = (SvgVHangingAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "v-hanging"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1062,7 +1062,7 @@ public Integer getSvgVHangingAttribute() { public void setSvgVHangingAttribute(Integer svgVHangingValue) { SvgVHangingAttribute attr = new SvgVHangingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgVHangingValue.intValue()); + attr.setValue(svgVHangingValue.toString()); } /** @@ -1076,7 +1076,7 @@ public Integer getSvgVIdeographicAttribute() { SvgVIdeographicAttribute attr = (SvgVIdeographicAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "v-ideographic"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1090,7 +1090,7 @@ public Integer getSvgVIdeographicAttribute() { public void setSvgVIdeographicAttribute(Integer svgVIdeographicValue) { SvgVIdeographicAttribute attr = new SvgVIdeographicAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgVIdeographicValue.intValue()); + attr.setValue(svgVIdeographicValue.toString()); } /** @@ -1104,7 +1104,7 @@ public Integer getSvgVMathematicalAttribute() { SvgVMathematicalAttribute attr = (SvgVMathematicalAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "v-mathematical"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1118,7 +1118,7 @@ public Integer getSvgVMathematicalAttribute() { public void setSvgVMathematicalAttribute(Integer svgVMathematicalValue) { SvgVMathematicalAttribute attr = new SvgVMathematicalAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgVMathematicalValue.intValue()); + attr.setValue(svgVMathematicalValue.toString()); } /** @@ -1160,7 +1160,7 @@ public Integer getSvgXHeightAttribute() { SvgXHeightAttribute attr = (SvgXHeightAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "x-height"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1174,7 +1174,7 @@ public Integer getSvgXHeightAttribute() { public void setSvgXHeightAttribute(Integer svgXHeightValue) { SvgXHeightAttribute attr = new SvgXHeightAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(svgXHeightValue.intValue()); + attr.setValue(svgXHeightValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleFooterElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleFooterElement.java index 84d6c66f28..4209d94ab7 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleFooterElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleFooterElement.java @@ -92,7 +92,7 @@ public Boolean getStyleDisplayAttribute() { StyleDisplayAttribute attr = (StyleDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(StyleDisplayAttribute.DEFAULT_VALUE); } @@ -106,7 +106,7 @@ public Boolean getStyleDisplayAttribute() { public void setStyleDisplayAttribute(Boolean styleDisplayValue) { StyleDisplayAttribute attr = new StyleDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleDisplayValue.booleanValue()); + attr.setValue(styleDisplayValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleFooterFirstElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleFooterFirstElement.java index ef781fb546..179f9685cc 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleFooterFirstElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleFooterFirstElement.java @@ -93,7 +93,7 @@ public Boolean getStyleDisplayAttribute() { StyleDisplayAttribute attr = (StyleDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(StyleDisplayAttribute.DEFAULT_VALUE); } @@ -107,7 +107,7 @@ public Boolean getStyleDisplayAttribute() { public void setStyleDisplayAttribute(Boolean styleDisplayValue) { StyleDisplayAttribute attr = new StyleDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleDisplayValue.booleanValue()); + attr.setValue(styleDisplayValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleFooterLeftElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleFooterLeftElement.java index 42e1530a18..85bc200837 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleFooterLeftElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleFooterLeftElement.java @@ -93,7 +93,7 @@ public Boolean getStyleDisplayAttribute() { StyleDisplayAttribute attr = (StyleDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(StyleDisplayAttribute.DEFAULT_VALUE); } @@ -107,7 +107,7 @@ public Boolean getStyleDisplayAttribute() { public void setStyleDisplayAttribute(Boolean styleDisplayValue) { StyleDisplayAttribute attr = new StyleDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleDisplayValue.booleanValue()); + attr.setValue(styleDisplayValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleGraphicPropertiesElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleGraphicPropertiesElement.java index f825a0d968..42395c1196 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleGraphicPropertiesElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleGraphicPropertiesElement.java @@ -1202,7 +1202,7 @@ public Boolean getDr3dCloseBackAttribute() { Dr3dCloseBackAttribute attr = (Dr3dCloseBackAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "close-back"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1216,7 +1216,7 @@ public Boolean getDr3dCloseBackAttribute() { public void setDr3dCloseBackAttribute(Boolean dr3dCloseBackValue) { Dr3dCloseBackAttribute attr = new Dr3dCloseBackAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dr3dCloseBackValue.booleanValue()); + attr.setValue(dr3dCloseBackValue.toString()); } /** @@ -1230,7 +1230,7 @@ public Boolean getDr3dCloseFrontAttribute() { Dr3dCloseFrontAttribute attr = (Dr3dCloseFrontAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "close-front"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1244,7 +1244,7 @@ public Boolean getDr3dCloseFrontAttribute() { public void setDr3dCloseFrontAttribute(Boolean dr3dCloseFrontValue) { Dr3dCloseFrontAttribute attr = new Dr3dCloseFrontAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(dr3dCloseFrontValue.booleanValue()); + attr.setValue(dr3dCloseFrontValue.toString()); } /** @@ -1430,7 +1430,7 @@ public Integer getDr3dHorizontalSegmentsAttribute() { (Dr3dHorizontalSegmentsAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "horizontal-segments"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1445,7 +1445,7 @@ public void setDr3dHorizontalSegmentsAttribute(Integer dr3dHorizontalSegmentsVal Dr3dHorizontalSegmentsAttribute attr = new Dr3dHorizontalSegmentsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(dr3dHorizontalSegmentsValue.intValue()); + attr.setValue(dr3dHorizontalSegmentsValue.toString()); } /** @@ -1778,7 +1778,7 @@ public Integer getDr3dVerticalSegmentsAttribute() { (Dr3dVerticalSegmentsAttribute) getOdfAttribute(OdfDocumentNamespace.DR3D, "vertical-segments"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1793,7 +1793,7 @@ public void setDr3dVerticalSegmentsAttribute(Integer dr3dVerticalSegmentsValue) Dr3dVerticalSegmentsAttribute attr = new Dr3dVerticalSegmentsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(dr3dVerticalSegmentsValue.intValue()); + attr.setValue(dr3dVerticalSegmentsValue.toString()); } /** @@ -1808,7 +1808,7 @@ public Boolean getDrawAutoGrowHeightAttribute() { (DrawAutoGrowHeightAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "auto-grow-height"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1823,7 +1823,7 @@ public void setDrawAutoGrowHeightAttribute(Boolean drawAutoGrowHeightValue) { DrawAutoGrowHeightAttribute attr = new DrawAutoGrowHeightAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawAutoGrowHeightValue.booleanValue()); + attr.setValue(drawAutoGrowHeightValue.toString()); } /** @@ -1837,7 +1837,7 @@ public Boolean getDrawAutoGrowWidthAttribute() { DrawAutoGrowWidthAttribute attr = (DrawAutoGrowWidthAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "auto-grow-width"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1852,7 +1852,7 @@ public void setDrawAutoGrowWidthAttribute(Boolean drawAutoGrowWidthValue) { DrawAutoGrowWidthAttribute attr = new DrawAutoGrowWidthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawAutoGrowWidthValue.booleanValue()); + attr.setValue(drawAutoGrowWidthValue.toString()); } /** @@ -2011,7 +2011,7 @@ public Boolean getDrawCaptionFitLineLengthAttribute() { (DrawCaptionFitLineLengthAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "caption-fit-line-length"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2026,7 +2026,7 @@ public void setDrawCaptionFitLineLengthAttribute(Boolean drawCaptionFitLineLengt DrawCaptionFitLineLengthAttribute attr = new DrawCaptionFitLineLengthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawCaptionFitLineLengthValue.booleanValue()); + attr.setValue(drawCaptionFitLineLengthValue.toString()); } /** @@ -2126,7 +2126,7 @@ public Boolean getDrawColorInversionAttribute() { DrawColorInversionAttribute attr = (DrawColorInversionAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "color-inversion"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2141,7 +2141,7 @@ public void setDrawColorInversionAttribute(Boolean drawColorInversionValue) { DrawColorInversionAttribute attr = new DrawColorInversionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawColorInversionValue.booleanValue()); + attr.setValue(drawColorInversionValue.toString()); } /** @@ -2211,7 +2211,7 @@ public Integer getDrawDecimalPlacesAttribute() { DrawDecimalPlacesAttribute attr = (DrawDecimalPlacesAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "decimal-places"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -2226,7 +2226,7 @@ public void setDrawDecimalPlacesAttribute(Integer drawDecimalPlacesValue) { DrawDecimalPlacesAttribute attr = new DrawDecimalPlacesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawDecimalPlacesValue.intValue()); + attr.setValue(drawDecimalPlacesValue.toString()); } /** @@ -2473,7 +2473,7 @@ public Boolean getDrawFillHatchSolidAttribute() { (DrawFillHatchSolidAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "fill-hatch-solid"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2488,7 +2488,7 @@ public void setDrawFillHatchSolidAttribute(Boolean drawFillHatchSolidValue) { DrawFillHatchSolidAttribute attr = new DrawFillHatchSolidAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawFillHatchSolidValue.booleanValue()); + attr.setValue(drawFillHatchSolidValue.toString()); } /** @@ -2681,7 +2681,7 @@ public Boolean getDrawFitToContourAttribute() { DrawFitToContourAttribute attr = (DrawFitToContourAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "fit-to-contour"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2695,7 +2695,7 @@ public Boolean getDrawFitToContourAttribute() { public void setDrawFitToContourAttribute(Boolean drawFitToContourValue) { DrawFitToContourAttribute attr = new DrawFitToContourAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawFitToContourValue.booleanValue()); + attr.setValue(drawFitToContourValue.toString()); } /** @@ -2709,7 +2709,7 @@ public Boolean getDrawFitToSizeAttribute() { DrawFitToSizeAttribute attr = (DrawFitToSizeAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "fit-to-size"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2723,7 +2723,7 @@ public Boolean getDrawFitToSizeAttribute() { public void setDrawFitToSizeAttribute(Boolean drawFitToSizeValue) { DrawFitToSizeAttribute attr = new DrawFitToSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawFitToSizeValue.booleanValue()); + attr.setValue(drawFitToSizeValue.toString()); } /** @@ -2738,7 +2738,7 @@ public Boolean getDrawFrameDisplayBorderAttribute() { (DrawFrameDisplayBorderAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "frame-display-border"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2753,7 +2753,7 @@ public void setDrawFrameDisplayBorderAttribute(Boolean drawFrameDisplayBorderVal DrawFrameDisplayBorderAttribute attr = new DrawFrameDisplayBorderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawFrameDisplayBorderValue.booleanValue()); + attr.setValue(drawFrameDisplayBorderValue.toString()); } /** @@ -2768,7 +2768,7 @@ public Boolean getDrawFrameDisplayScrollbarAttribute() { (DrawFrameDisplayScrollbarAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "frame-display-scrollbar"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2783,7 +2783,7 @@ public void setDrawFrameDisplayScrollbarAttribute(Boolean drawFrameDisplayScroll DrawFrameDisplayScrollbarAttribute attr = new DrawFrameDisplayScrollbarAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawFrameDisplayScrollbarValue.booleanValue()); + attr.setValue(drawFrameDisplayScrollbarValue.toString()); } /** @@ -2886,7 +2886,7 @@ public Integer getDrawGradientStepCountAttribute() { (DrawGradientStepCountAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "gradient-step-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -2901,7 +2901,7 @@ public void setDrawGradientStepCountAttribute(Integer drawGradientStepCountValue DrawGradientStepCountAttribute attr = new DrawGradientStepCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawGradientStepCountValue.intValue()); + attr.setValue(drawGradientStepCountValue.toString()); } /** @@ -3114,7 +3114,7 @@ public Boolean getDrawMarkerEndCenterAttribute() { (DrawMarkerEndCenterAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "marker-end-center"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -3129,7 +3129,7 @@ public void setDrawMarkerEndCenterAttribute(Boolean drawMarkerEndCenterValue) { DrawMarkerEndCenterAttribute attr = new DrawMarkerEndCenterAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawMarkerEndCenterValue.booleanValue()); + attr.setValue(drawMarkerEndCenterValue.toString()); } /** @@ -3202,7 +3202,7 @@ public Boolean getDrawMarkerStartCenterAttribute() { (DrawMarkerStartCenterAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "marker-start-center"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -3217,7 +3217,7 @@ public void setDrawMarkerStartCenterAttribute(Boolean drawMarkerStartCenterValue DrawMarkerStartCenterAttribute attr = new DrawMarkerStartCenterAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawMarkerStartCenterValue.booleanValue()); + attr.setValue(drawMarkerStartCenterValue.toString()); } /** @@ -3319,7 +3319,7 @@ public Integer getDrawOleDrawAspectAttribute() { DrawOleDrawAspectAttribute attr = (DrawOleDrawAspectAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "ole-draw-aspect"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -3334,7 +3334,7 @@ public void setDrawOleDrawAspectAttribute(Integer drawOleDrawAspectValue) { DrawOleDrawAspectAttribute attr = new DrawOleDrawAspectAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(drawOleDrawAspectValue.intValue()); + attr.setValue(drawOleDrawAspectValue.toString()); } /** @@ -3404,7 +3404,7 @@ public Boolean getDrawParallelAttribute() { DrawParallelAttribute attr = (DrawParallelAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "parallel"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -3418,7 +3418,7 @@ public Boolean getDrawParallelAttribute() { public void setDrawParallelAttribute(Boolean drawParallelValue) { DrawParallelAttribute attr = new DrawParallelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawParallelValue.booleanValue()); + attr.setValue(drawParallelValue.toString()); } /** @@ -3660,7 +3660,7 @@ public Boolean getDrawShowUnitAttribute() { DrawShowUnitAttribute attr = (DrawShowUnitAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "show-unit"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -3674,7 +3674,7 @@ public Boolean getDrawShowUnitAttribute() { public void setDrawShowUnitAttribute(Boolean drawShowUnitValue) { DrawShowUnitAttribute attr = new DrawShowUnitAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(drawShowUnitValue.booleanValue()); + attr.setValue(drawShowUnitValue.toString()); } /** @@ -4987,7 +4987,7 @@ public Boolean getStyleEditableAttribute() { StyleEditableAttribute attr = (StyleEditableAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "editable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -5001,7 +5001,7 @@ public Boolean getStyleEditableAttribute() { public void setStyleEditableAttribute(Boolean styleEditableValue) { StyleEditableAttribute attr = new StyleEditableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleEditableValue.booleanValue()); + attr.setValue(styleEditableValue.toString()); } /** @@ -5015,7 +5015,7 @@ public Boolean getStyleFlowWithTextAttribute() { StyleFlowWithTextAttribute attr = (StyleFlowWithTextAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "flow-with-text"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -5030,7 +5030,7 @@ public void setStyleFlowWithTextAttribute(Boolean styleFlowWithTextValue) { StyleFlowWithTextAttribute attr = new StyleFlowWithTextAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleFlowWithTextValue.booleanValue()); + attr.setValue(styleFlowWithTextValue.toString()); } /** @@ -5132,7 +5132,7 @@ public Integer getStyleNumberWrappedParagraphsAttribute() { (StyleNumberWrappedParagraphsAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "number-wrapped-paragraphs"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -5147,7 +5147,7 @@ public void setStyleNumberWrappedParagraphsAttribute(Integer styleNumberWrappedP StyleNumberWrappedParagraphsAttribute attr = new StyleNumberWrappedParagraphsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleNumberWrappedParagraphsValue.intValue()); + attr.setValue(styleNumberWrappedParagraphsValue.toString()); } /** @@ -5191,7 +5191,7 @@ public Boolean getStylePrintContentAttribute() { StylePrintContentAttribute attr = (StylePrintContentAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "print-content"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -5206,7 +5206,7 @@ public void setStylePrintContentAttribute(Boolean stylePrintContentValue) { StylePrintContentAttribute attr = new StylePrintContentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(stylePrintContentValue.booleanValue()); + attr.setValue(stylePrintContentValue.toString()); } /** @@ -5388,7 +5388,7 @@ public Boolean getStyleShrinkToFitAttribute() { StyleShrinkToFitAttribute attr = (StyleShrinkToFitAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "shrink-to-fit"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -5402,7 +5402,7 @@ public Boolean getStyleShrinkToFitAttribute() { public void setStyleShrinkToFitAttribute(Boolean styleShrinkToFitValue) { StyleShrinkToFitAttribute attr = new StyleShrinkToFitAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleShrinkToFitValue.booleanValue()); + attr.setValue(styleShrinkToFitValue.toString()); } /** @@ -5500,7 +5500,7 @@ public Boolean getStyleWrapContourAttribute() { StyleWrapContourAttribute attr = (StyleWrapContourAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "wrap-contour"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -5514,7 +5514,7 @@ public Boolean getStyleWrapContourAttribute() { public void setStyleWrapContourAttribute(Boolean styleWrapContourValue) { StyleWrapContourAttribute attr = new StyleWrapContourAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleWrapContourValue.booleanValue()); + attr.setValue(styleWrapContourValue.toString()); } /** @@ -5866,7 +5866,7 @@ public Integer getTextAnchorPageNumberAttribute() { (TextAnchorPageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "anchor-page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -5881,7 +5881,7 @@ public void setTextAnchorPageNumberAttribute(Integer textAnchorPageNumberValue) TextAnchorPageNumberAttribute attr = new TextAnchorPageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textAnchorPageNumberValue.intValue()); + attr.setValue(textAnchorPageNumberValue.toString()); } /** @@ -6011,7 +6011,7 @@ public Integer getTextAnimationRepeatAttribute() { (TextAnimationRepeatAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "animation-repeat"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -6026,7 +6026,7 @@ public void setTextAnimationRepeatAttribute(Integer textAnimationRepeatValue) { TextAnimationRepeatAttribute attr = new TextAnimationRepeatAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textAnimationRepeatValue.intValue()); + attr.setValue(textAnimationRepeatValue.toString()); } /** @@ -6041,7 +6041,7 @@ public Boolean getTextAnimationStartInsideAttribute() { (TextAnimationStartInsideAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "animation-start-inside"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -6056,7 +6056,7 @@ public void setTextAnimationStartInsideAttribute(Boolean textAnimationStartInsid TextAnimationStartInsideAttribute attr = new TextAnimationStartInsideAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textAnimationStartInsideValue.booleanValue()); + attr.setValue(textAnimationStartInsideValue.toString()); } /** @@ -6100,7 +6100,7 @@ public Boolean getTextAnimationStopInsideAttribute() { (TextAnimationStopInsideAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "animation-stop-inside"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -6115,7 +6115,7 @@ public void setTextAnimationStopInsideAttribute(Boolean textAnimationStopInsideV TextAnimationStopInsideAttribute attr = new TextAnimationStopInsideAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textAnimationStopInsideValue.booleanValue()); + attr.setValue(textAnimationStopInsideValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHeaderElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHeaderElement.java index 47aaca87be..1b1ec4c16f 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHeaderElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHeaderElement.java @@ -92,7 +92,7 @@ public Boolean getStyleDisplayAttribute() { StyleDisplayAttribute attr = (StyleDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(StyleDisplayAttribute.DEFAULT_VALUE); } @@ -106,7 +106,7 @@ public Boolean getStyleDisplayAttribute() { public void setStyleDisplayAttribute(Boolean styleDisplayValue) { StyleDisplayAttribute attr = new StyleDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleDisplayValue.booleanValue()); + attr.setValue(styleDisplayValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHeaderFirstElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHeaderFirstElement.java index 366549f0d9..3584ee5001 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHeaderFirstElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHeaderFirstElement.java @@ -93,7 +93,7 @@ public Boolean getStyleDisplayAttribute() { StyleDisplayAttribute attr = (StyleDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(StyleDisplayAttribute.DEFAULT_VALUE); } @@ -107,7 +107,7 @@ public Boolean getStyleDisplayAttribute() { public void setStyleDisplayAttribute(Boolean styleDisplayValue) { StyleDisplayAttribute attr = new StyleDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleDisplayValue.booleanValue()); + attr.setValue(styleDisplayValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHeaderFooterPropertiesElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHeaderFooterPropertiesElement.java index 079f906acd..cece041088 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHeaderFooterPropertiesElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHeaderFooterPropertiesElement.java @@ -850,7 +850,7 @@ public Boolean getStyleDynamicSpacingAttribute() { (StyleDynamicSpacingAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "dynamic-spacing"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -865,7 +865,7 @@ public void setStyleDynamicSpacingAttribute(Boolean styleDynamicSpacingValue) { StyleDynamicSpacingAttribute attr = new StyleDynamicSpacingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleDynamicSpacingValue.booleanValue()); + attr.setValue(styleDynamicSpacingValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHeaderLeftElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHeaderLeftElement.java index 21d4f9d4f5..836ce2563d 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHeaderLeftElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHeaderLeftElement.java @@ -93,7 +93,7 @@ public Boolean getStyleDisplayAttribute() { StyleDisplayAttribute attr = (StyleDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(StyleDisplayAttribute.DEFAULT_VALUE); } @@ -107,7 +107,7 @@ public Boolean getStyleDisplayAttribute() { public void setStyleDisplayAttribute(Boolean styleDisplayValue) { StyleDisplayAttribute attr = new StyleDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleDisplayValue.booleanValue()); + attr.setValue(styleDisplayValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StylePageLayoutPropertiesElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StylePageLayoutPropertiesElement.java index 292566fe1f..0cda84a4f2 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StylePageLayoutPropertiesElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StylePageLayoutPropertiesElement.java @@ -1040,7 +1040,7 @@ public Integer getStyleFirstPageNumberAttribute() { (StyleFirstPageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "first-page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1055,7 +1055,7 @@ public void setStyleFirstPageNumberAttribute(Integer styleFirstPageNumberValue) StyleFirstPageNumberAttribute attr = new StyleFirstPageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleFirstPageNumberValue.intValue()); + attr.setValue(styleFirstPageNumberValue.toString()); } /** @@ -1190,7 +1190,7 @@ public Boolean getStyleLayoutGridDisplayAttribute() { (StyleLayoutGridDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "layout-grid-display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1205,7 +1205,7 @@ public void setStyleLayoutGridDisplayAttribute(Boolean styleLayoutGridDisplayVal StyleLayoutGridDisplayAttribute attr = new StyleLayoutGridDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleLayoutGridDisplayValue.booleanValue()); + attr.setValue(styleLayoutGridDisplayValue.toString()); } /** @@ -1220,7 +1220,7 @@ public Integer getStyleLayoutGridLinesAttribute() { (StyleLayoutGridLinesAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "layout-grid-lines"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1235,7 +1235,7 @@ public void setStyleLayoutGridLinesAttribute(Integer styleLayoutGridLinesValue) StyleLayoutGridLinesAttribute attr = new StyleLayoutGridLinesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleLayoutGridLinesValue.intValue()); + attr.setValue(styleLayoutGridLinesValue.toString()); } /** @@ -1280,7 +1280,7 @@ public Boolean getStyleLayoutGridPrintAttribute() { (StyleLayoutGridPrintAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "layout-grid-print"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1295,7 +1295,7 @@ public void setStyleLayoutGridPrintAttribute(Boolean styleLayoutGridPrintValue) StyleLayoutGridPrintAttribute attr = new StyleLayoutGridPrintAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleLayoutGridPrintValue.booleanValue()); + attr.setValue(styleLayoutGridPrintValue.toString()); } /** @@ -1310,7 +1310,7 @@ public Boolean getStyleLayoutGridRubyBelowAttribute() { (StyleLayoutGridRubyBelowAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "layout-grid-ruby-below"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1325,7 +1325,7 @@ public void setStyleLayoutGridRubyBelowAttribute(Boolean styleLayoutGridRubyBelo StyleLayoutGridRubyBelowAttribute attr = new StyleLayoutGridRubyBelowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleLayoutGridRubyBelowValue.booleanValue()); + attr.setValue(styleLayoutGridRubyBelowValue.toString()); } /** @@ -1370,7 +1370,7 @@ public Boolean getStyleLayoutGridSnapToAttribute() { (StyleLayoutGridSnapToAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "layout-grid-snap-to"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1385,7 +1385,7 @@ public void setStyleLayoutGridSnapToAttribute(Boolean styleLayoutGridSnapToValue StyleLayoutGridSnapToAttribute attr = new StyleLayoutGridSnapToAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleLayoutGridSnapToValue.booleanValue()); + attr.setValue(styleLayoutGridSnapToValue.toString()); } /** @@ -1401,7 +1401,7 @@ public Boolean getStyleLayoutGridStandardModeAttribute() { (StyleLayoutGridStandardModeAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "layout-grid-standard-mode"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1416,7 +1416,7 @@ public void setStyleLayoutGridStandardModeAttribute(Boolean styleLayoutGridStand StyleLayoutGridStandardModeAttribute attr = new StyleLayoutGridStandardModeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleLayoutGridStandardModeValue.booleanValue()); + attr.setValue(styleLayoutGridStandardModeValue.toString()); } /** @@ -1461,7 +1461,7 @@ public Boolean getStyleNumLetterSyncAttribute() { (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1476,7 +1476,7 @@ public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -1724,7 +1724,7 @@ public Integer getStyleScaleToXAttribute() { StyleScaleToXAttribute attr = (StyleScaleToXAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "scale-to-X"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1738,7 +1738,7 @@ public Integer getStyleScaleToXAttribute() { public void setStyleScaleToXAttribute(Integer styleScaleToXValue) { StyleScaleToXAttribute attr = new StyleScaleToXAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleScaleToXValue.intValue()); + attr.setValue(styleScaleToXValue.toString()); } /** @@ -1752,7 +1752,7 @@ public Integer getStyleScaleToYAttribute() { StyleScaleToYAttribute attr = (StyleScaleToYAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "scale-to-Y"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1766,7 +1766,7 @@ public Integer getStyleScaleToYAttribute() { public void setStyleScaleToYAttribute(Integer styleScaleToYValue) { StyleScaleToYAttribute attr = new StyleScaleToYAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleScaleToYValue.intValue()); + attr.setValue(styleScaleToYValue.toString()); } /** @@ -1780,7 +1780,7 @@ public Integer getStyleScaleToPagesAttribute() { StyleScaleToPagesAttribute attr = (StyleScaleToPagesAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "scale-to-pages"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1795,7 +1795,7 @@ public void setStyleScaleToPagesAttribute(Integer styleScaleToPagesValue) { StyleScaleToPagesAttribute attr = new StyleScaleToPagesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleScaleToPagesValue.intValue()); + attr.setValue(styleScaleToPagesValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleParagraphPropertiesElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleParagraphPropertiesElement.java index a49a9bb033..244faaa49d 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleParagraphPropertiesElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleParagraphPropertiesElement.java @@ -651,7 +651,7 @@ public Integer getFoHyphenationLadderCountAttribute() { (FoHyphenationLadderCountAttribute) getOdfAttribute(OdfDocumentNamespace.FO, "hyphenation-ladder-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -666,7 +666,7 @@ public void setFoHyphenationLadderCountAttribute(Integer foHyphenationLadderCoun FoHyphenationLadderCountAttribute attr = new FoHyphenationLadderCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(foHyphenationLadderCountValue.intValue()); + attr.setValue(foHyphenationLadderCountValue.toString()); } /** @@ -903,7 +903,7 @@ public Integer getFoOrphansAttribute() { FoOrphansAttribute attr = (FoOrphansAttribute) getOdfAttribute(OdfDocumentNamespace.FO, "orphans"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -917,7 +917,7 @@ public Integer getFoOrphansAttribute() { public void setFoOrphansAttribute(Integer foOrphansValue) { FoOrphansAttribute attr = new FoOrphansAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(foOrphansValue.intValue()); + attr.setValue(foOrphansValue.toString()); } /** @@ -1154,7 +1154,7 @@ public void setFoTextIndentAttribute(String foTextIndentValue) { public Integer getFoWidowsAttribute() { FoWidowsAttribute attr = (FoWidowsAttribute) getOdfAttribute(OdfDocumentNamespace.FO, "widows"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1168,7 +1168,7 @@ public Integer getFoWidowsAttribute() { public void setFoWidowsAttribute(Integer foWidowsValue) { FoWidowsAttribute attr = new FoWidowsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(foWidowsValue.intValue()); + attr.setValue(foWidowsValue.toString()); } /** @@ -1183,7 +1183,7 @@ public Boolean getStyleAutoTextIndentAttribute() { (StyleAutoTextIndentAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "auto-text-indent"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1198,7 +1198,7 @@ public void setStyleAutoTextIndentAttribute(Boolean styleAutoTextIndentValue) { StyleAutoTextIndentAttribute attr = new StyleAutoTextIndentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleAutoTextIndentValue.booleanValue()); + attr.setValue(styleAutoTextIndentValue.toString()); } /** @@ -1395,7 +1395,7 @@ public Boolean getStyleContextualSpacingAttribute() { (StyleContextualSpacingAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "contextual-spacing"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1410,7 +1410,7 @@ public void setStyleContextualSpacingAttribute(Boolean styleContextualSpacingVal StyleContextualSpacingAttribute attr = new StyleContextualSpacingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleContextualSpacingValue.booleanValue()); + attr.setValue(styleContextualSpacingValue.toString()); } /** @@ -1426,7 +1426,7 @@ public Boolean getStyleFontIndependentLineSpacingAttribute() { (StyleFontIndependentLineSpacingAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "font-independent-line-spacing"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1443,7 +1443,7 @@ public void setStyleFontIndependentLineSpacingAttribute( StyleFontIndependentLineSpacingAttribute attr = new StyleFontIndependentLineSpacingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleFontIndependentLineSpacingValue.booleanValue()); + attr.setValue(styleFontIndependentLineSpacingValue.toString()); } /** @@ -1457,7 +1457,7 @@ public Boolean getStyleJoinBorderAttribute() { StyleJoinBorderAttribute attr = (StyleJoinBorderAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "join-border"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1471,7 +1471,7 @@ public Boolean getStyleJoinBorderAttribute() { public void setStyleJoinBorderAttribute(Boolean styleJoinBorderValue) { StyleJoinBorderAttribute attr = new StyleJoinBorderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleJoinBorderValue.booleanValue()); + attr.setValue(styleJoinBorderValue.toString()); } /** @@ -1486,7 +1486,7 @@ public Boolean getStyleJustifySingleWordAttribute() { (StyleJustifySingleWordAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "justify-single-word"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1501,7 +1501,7 @@ public void setStyleJustifySingleWordAttribute(Boolean styleJustifySingleWordVal StyleJustifySingleWordAttribute attr = new StyleJustifySingleWordAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleJustifySingleWordValue.booleanValue()); + attr.setValue(styleJustifySingleWordValue.toString()); } /** @@ -1601,7 +1601,7 @@ public Integer getStylePageNumberAttribute() { StylePageNumberAttribute attr = (StylePageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1615,7 +1615,7 @@ public Integer getStylePageNumberAttribute() { public void setStylePageNumberAttribute(Integer stylePageNumberValue) { StylePageNumberAttribute attr = new StylePageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(stylePageNumberValue.intValue()); + attr.setValue(stylePageNumberValue.toString()); } /** @@ -1659,7 +1659,7 @@ public Boolean getStyleRegisterTrueAttribute() { StyleRegisterTrueAttribute attr = (StyleRegisterTrueAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "register-true"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1674,7 +1674,7 @@ public void setStyleRegisterTrueAttribute(Boolean styleRegisterTrueValue) { StyleRegisterTrueAttribute attr = new StyleRegisterTrueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleRegisterTrueValue.booleanValue()); + attr.setValue(styleRegisterTrueValue.toString()); } /** @@ -1717,7 +1717,7 @@ public Boolean getStyleSnapToLayoutGridAttribute() { (StyleSnapToLayoutGridAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "snap-to-layout-grid"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1732,7 +1732,7 @@ public void setStyleSnapToLayoutGridAttribute(Boolean styleSnapToLayoutGridValue StyleSnapToLayoutGridAttribute attr = new StyleSnapToLayoutGridAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleSnapToLayoutGridValue.booleanValue()); + attr.setValue(styleSnapToLayoutGridValue.toString()); } /** @@ -1863,7 +1863,7 @@ public Boolean getStyleWritingModeAutomaticAttribute() { (StyleWritingModeAutomaticAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "writing-mode-automatic"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1878,7 +1878,7 @@ public void setStyleWritingModeAutomaticAttribute(Boolean styleWritingModeAutoma StyleWritingModeAutomaticAttribute attr = new StyleWritingModeAutomaticAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleWritingModeAutomaticValue.booleanValue()); + attr.setValue(styleWritingModeAutomaticValue.toString()); } /** @@ -1892,7 +1892,7 @@ public Integer getTextLineNumberAttribute() { TextLineNumberAttribute attr = (TextLineNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "line-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -1906,7 +1906,7 @@ public Integer getTextLineNumberAttribute() { public void setTextLineNumberAttribute(Integer textLineNumberValue) { TextLineNumberAttribute attr = new TextLineNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textLineNumberValue.intValue()); + attr.setValue(textLineNumberValue.toString()); } /** @@ -1920,7 +1920,7 @@ public Boolean getTextNumberLinesAttribute() { TextNumberLinesAttribute attr = (TextNumberLinesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "number-lines"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1934,7 +1934,7 @@ public Boolean getTextNumberLinesAttribute() { public void setTextNumberLinesAttribute(Boolean textNumberLinesValue) { TextNumberLinesAttribute attr = new TextNumberLinesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textNumberLinesValue.booleanValue()); + attr.setValue(textNumberLinesValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleSectionPropertiesElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleSectionPropertiesElement.java index d7eacdf207..dc6b4c6581 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleSectionPropertiesElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleSectionPropertiesElement.java @@ -201,7 +201,7 @@ public Boolean getStyleEditableAttribute() { StyleEditableAttribute attr = (StyleEditableAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "editable"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -215,21 +215,21 @@ public Boolean getStyleEditableAttribute() { public void setStyleEditableAttribute(Boolean styleEditableValue) { StyleEditableAttribute attr = new StyleEditableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleEditableValue.booleanValue()); + attr.setValue(styleEditableValue.toString()); } /** * Receives the value of the ODFDOM attribute representation StyleProtectAttribute , * See {@odf.attribute style:protect} * - * @return - the String , the value or null, if the attribute is not set - * and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not + * set and no default value defined. */ - public String getStyleProtectAttribute() { + public Boolean getStyleProtectAttribute() { StyleProtectAttribute attr = (StyleProtectAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "protect"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.getValue()); } return null; } @@ -238,12 +238,12 @@ public String getStyleProtectAttribute() { * Sets the value of ODFDOM attribute representation StyleProtectAttribute , See * {@odf.attribute style:protect} * - * @param styleProtectValue The type is String + * @param styleProtectValue The type is Boolean */ - public void setStyleProtectAttribute(String styleProtectValue) { + public void setStyleProtectAttribute(Boolean styleProtectValue) { StyleProtectAttribute attr = new StyleProtectAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(styleProtectValue); + attr.setValue(styleProtectValue.toString()); } /** @@ -287,7 +287,7 @@ public Boolean getTextDontBalanceTextColumnsAttribute() { (TextDontBalanceTextColumnsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "dont-balance-text-columns"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -302,7 +302,7 @@ public void setTextDontBalanceTextColumnsAttribute(Boolean textDontBalanceTextCo TextDontBalanceTextColumnsAttribute attr = new TextDontBalanceTextColumnsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textDontBalanceTextColumnsValue.booleanValue()); + attr.setValue(textDontBalanceTextColumnsValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleStyleElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleStyleElement.java index c0fcb0ef7d..a71e3d846a 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleStyleElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleStyleElement.java @@ -82,7 +82,7 @@ public Boolean getStyleAutoUpdateAttribute() { StyleAutoUpdateAttribute attr = (StyleAutoUpdateAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "auto-update"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(StyleAutoUpdateAttribute.DEFAULT_VALUE); } @@ -96,7 +96,7 @@ public Boolean getStyleAutoUpdateAttribute() { public void setStyleAutoUpdateAttribute(Boolean styleAutoUpdateValue) { StyleAutoUpdateAttribute attr = new StyleAutoUpdateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleAutoUpdateValue.booleanValue()); + attr.setValue(styleAutoUpdateValue.toString()); } /** @@ -169,7 +169,7 @@ public Integer getStyleDefaultOutlineLevelAttribute() { (StyleDefaultOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "default-outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -184,7 +184,7 @@ public void setStyleDefaultOutlineLevelAttribute(Integer styleDefaultOutlineLeve StyleDefaultOutlineLevelAttribute attr = new StyleDefaultOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleDefaultOutlineLevelValue.intValue()); + attr.setValue(styleDefaultOutlineLevelValue.toString()); } /** @@ -256,7 +256,7 @@ public Integer getStyleListLevelAttribute() { StyleListLevelAttribute attr = (StyleListLevelAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "list-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -270,7 +270,7 @@ public Integer getStyleListLevelAttribute() { public void setStyleListLevelAttribute(Integer styleListLevelValue) { StyleListLevelAttribute attr = new StyleListLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleListLevelValue.intValue()); + attr.setValue(styleListLevelValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleTableCellPropertiesElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleTableCellPropertiesElement.java index 6372f9157f..879afe6bbc 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleTableCellPropertiesElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleTableCellPropertiesElement.java @@ -792,7 +792,7 @@ public Integer getStyleDecimalPlacesAttribute() { StyleDecimalPlacesAttribute attr = (StyleDecimalPlacesAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "decimal-places"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -807,7 +807,7 @@ public void setStyleDecimalPlacesAttribute(Integer styleDecimalPlacesValue) { StyleDecimalPlacesAttribute attr = new StyleDecimalPlacesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(styleDecimalPlacesValue.intValue()); + attr.setValue(styleDecimalPlacesValue.toString()); } /** @@ -998,7 +998,7 @@ public Boolean getStylePrintContentAttribute() { StylePrintContentAttribute attr = (StylePrintContentAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "print-content"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1013,7 +1013,7 @@ public void setStylePrintContentAttribute(Boolean stylePrintContentValue) { StylePrintContentAttribute attr = new StylePrintContentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(stylePrintContentValue.booleanValue()); + attr.setValue(stylePrintContentValue.toString()); } /** @@ -1027,7 +1027,7 @@ public Boolean getStyleRepeatContentAttribute() { StyleRepeatContentAttribute attr = (StyleRepeatContentAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "repeat-content"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1042,7 +1042,7 @@ public void setStyleRepeatContentAttribute(Boolean styleRepeatContentValue) { StyleRepeatContentAttribute attr = new StyleRepeatContentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleRepeatContentValue.booleanValue()); + attr.setValue(styleRepeatContentValue.toString()); } /** @@ -1142,7 +1142,7 @@ public Boolean getStyleShrinkToFitAttribute() { StyleShrinkToFitAttribute attr = (StyleShrinkToFitAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "shrink-to-fit"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1156,7 +1156,7 @@ public Boolean getStyleShrinkToFitAttribute() { public void setStyleShrinkToFitAttribute(Boolean styleShrinkToFitValue) { StyleShrinkToFitAttribute attr = new StyleShrinkToFitAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleShrinkToFitValue.booleanValue()); + attr.setValue(styleShrinkToFitValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleTableColumnPropertiesElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleTableColumnPropertiesElement.java index 5e47012991..e2bb25d8f0 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleTableColumnPropertiesElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleTableColumnPropertiesElement.java @@ -219,7 +219,7 @@ public Boolean getStyleUseOptimalColumnWidthAttribute() { (StyleUseOptimalColumnWidthAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "use-optimal-column-width"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -234,7 +234,7 @@ public void setStyleUseOptimalColumnWidthAttribute(Boolean styleUseOptimalColumn StyleUseOptimalColumnWidthAttribute attr = new StyleUseOptimalColumnWidthAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleUseOptimalColumnWidthValue.booleanValue()); + attr.setValue(styleUseOptimalColumnWidthValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleTablePropertiesElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleTablePropertiesElement.java index b14b634217..97e0cc4259 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleTablePropertiesElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleTablePropertiesElement.java @@ -439,7 +439,7 @@ public Boolean getStyleMayBreakBetweenRowsAttribute() { (StyleMayBreakBetweenRowsAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "may-break-between-rows"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -454,7 +454,7 @@ public void setStyleMayBreakBetweenRowsAttribute(Boolean styleMayBreakBetweenRow StyleMayBreakBetweenRowsAttribute attr = new StyleMayBreakBetweenRowsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleMayBreakBetweenRowsValue.booleanValue()); + attr.setValue(styleMayBreakBetweenRowsValue.toString()); } /** @@ -468,7 +468,7 @@ public Integer getStylePageNumberAttribute() { StylePageNumberAttribute attr = (StylePageNumberAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "page-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -482,7 +482,7 @@ public Integer getStylePageNumberAttribute() { public void setStylePageNumberAttribute(Integer stylePageNumberValue) { StylePageNumberAttribute attr = new StylePageNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(stylePageNumberValue.intValue()); + attr.setValue(stylePageNumberValue.toString()); } /** @@ -664,7 +664,7 @@ public Boolean getTableDisplayAttribute() { TableDisplayAttribute attr = (TableDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -678,7 +678,7 @@ public Boolean getTableDisplayAttribute() { public void setTableDisplayAttribute(Boolean tableDisplayValue) { TableDisplayAttribute attr = new TableDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayValue.booleanValue()); + attr.setValue(tableDisplayValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleTableRowPropertiesElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleTableRowPropertiesElement.java index dc39d2d89e..09c550a7b3 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleTableRowPropertiesElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleTableRowPropertiesElement.java @@ -286,7 +286,7 @@ public Boolean getStyleUseOptimalRowHeightAttribute() { (StyleUseOptimalRowHeightAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "use-optimal-row-height"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -301,7 +301,7 @@ public void setStyleUseOptimalRowHeightAttribute(Boolean styleUseOptimalRowHeigh StyleUseOptimalRowHeightAttribute attr = new StyleUseOptimalRowHeightAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleUseOptimalRowHeightValue.booleanValue()); + attr.setValue(styleUseOptimalRowHeightValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleTextPropertiesElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleTextPropertiesElement.java index 9a493fd6bd..84da801acb 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleTextPropertiesElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleTextPropertiesElement.java @@ -798,7 +798,7 @@ public Boolean getFoHyphenateAttribute() { FoHyphenateAttribute attr = (FoHyphenateAttribute) getOdfAttribute(OdfDocumentNamespace.FO, "hyphenate"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -812,7 +812,7 @@ public Boolean getFoHyphenateAttribute() { public void setFoHyphenateAttribute(Boolean foHyphenateValue) { FoHyphenateAttribute attr = new FoHyphenateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(foHyphenateValue.booleanValue()); + attr.setValue(foHyphenateValue.toString()); } /** @@ -828,7 +828,7 @@ public Integer getFoHyphenationPushCharCountAttribute() { (FoHyphenationPushCharCountAttribute) getOdfAttribute(OdfDocumentNamespace.FO, "hyphenation-push-char-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -843,7 +843,7 @@ public void setFoHyphenationPushCharCountAttribute(Integer foHyphenationPushChar FoHyphenationPushCharCountAttribute attr = new FoHyphenationPushCharCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(foHyphenationPushCharCountValue.intValue()); + attr.setValue(foHyphenationPushCharCountValue.toString()); } /** @@ -859,7 +859,7 @@ public Integer getFoHyphenationRemainCharCountAttribute() { (FoHyphenationRemainCharCountAttribute) getOdfAttribute(OdfDocumentNamespace.FO, "hyphenation-remain-char-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -874,7 +874,7 @@ public void setFoHyphenationRemainCharCountAttribute(Integer foHyphenationRemain FoHyphenationRemainCharCountAttribute attr = new FoHyphenationRemainCharCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(foHyphenationRemainCharCountValue.intValue()); + attr.setValue(foHyphenationRemainCharCountValue.toString()); } /** @@ -1947,7 +1947,7 @@ public Boolean getStyleLetterKerningAttribute() { StyleLetterKerningAttribute attr = (StyleLetterKerningAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "letter-kerning"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -1962,7 +1962,7 @@ public void setStyleLetterKerningAttribute(Boolean styleLetterKerningValue) { StyleLetterKerningAttribute attr = new StyleLetterKerningAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleLetterKerningValue.booleanValue()); + attr.setValue(styleLetterKerningValue.toString()); } /** @@ -2152,7 +2152,7 @@ public Boolean getStyleTextBlinkingAttribute() { StyleTextBlinkingAttribute attr = (StyleTextBlinkingAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "text-blinking"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2167,7 +2167,7 @@ public void setStyleTextBlinkingAttribute(Boolean styleTextBlinkingValue) { StyleTextBlinkingAttribute attr = new StyleTextBlinkingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleTextBlinkingValue.booleanValue()); + attr.setValue(styleTextBlinkingValue.toString()); } /** @@ -2509,7 +2509,7 @@ public Boolean getStyleTextOutlineAttribute() { StyleTextOutlineAttribute attr = (StyleTextOutlineAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "text-outline"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2523,7 +2523,7 @@ public Boolean getStyleTextOutlineAttribute() { public void setStyleTextOutlineAttribute(Boolean styleTextOutlineValue) { StyleTextOutlineAttribute attr = new StyleTextOutlineAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleTextOutlineValue.booleanValue()); + attr.setValue(styleTextOutlineValue.toString()); } /** @@ -2955,7 +2955,7 @@ public Boolean getStyleUseWindowFontColorAttribute() { (StyleUseWindowFontColorAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "use-window-font-color"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -2970,7 +2970,7 @@ public void setStyleUseWindowFontColorAttribute(Boolean styleUseWindowFontColorV StyleUseWindowFontColorAttribute attr = new StyleUseWindowFontColorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleUseWindowFontColorValue.booleanValue()); + attr.setValue(styleUseWindowFontColorValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/svg/SvgStopElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/svg/SvgStopElement.java index 25d45d23c6..9e7b6f1276 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/svg/SvgStopElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/svg/SvgStopElement.java @@ -130,7 +130,7 @@ public Double getSvgStopOpacityAttribute() { SvgStopOpacityAttribute attr = (SvgStopOpacityAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "stop-opacity"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -144,7 +144,7 @@ public Double getSvgStopOpacityAttribute() { public void setSvgStopOpacityAttribute(Double svgStopOpacityValue) { SvgStopOpacityAttribute attr = new SvgStopOpacityAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(svgStopOpacityValue.doubleValue()); + attr.setValue(svgStopOpacityValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java index 966f597c62..11510b352a 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableCalculationSettingsElement.java @@ -79,7 +79,7 @@ public Boolean getTableAutomaticFindLabelsAttribute() { (TableAutomaticFindLabelsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "automatic-find-labels"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableAutomaticFindLabelsAttribute.DEFAULT_VALUE); } @@ -94,36 +94,36 @@ public void setTableAutomaticFindLabelsAttribute(Boolean tableAutomaticFindLabel TableAutomaticFindLabelsAttribute attr = new TableAutomaticFindLabelsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableAutomaticFindLabelsValue.booleanValue()); + attr.setValue(tableAutomaticFindLabelsValue.toString()); } /** * Receives the value of the ODFDOM attribute representation TableCaseSensitiveAttribute * , See {@odf.attribute table:case-sensitive} * - * @return - the String , the value or null, if the attribute is not set - * and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not + * set and no default value defined. */ - public String getTableCaseSensitiveAttribute() { + public Boolean getTableCaseSensitiveAttribute() { TableCaseSensitiveAttribute attr = (TableCaseSensitiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "case-sensitive"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.getValue()); } - return TableCaseSensitiveAttribute.DEFAULT_VALUE_TRUE; + return Boolean.valueOf(TableCaseSensitiveAttribute.DEFAULT_VALUE_TRUE); } /** * Sets the value of ODFDOM attribute representation TableCaseSensitiveAttribute , * See {@odf.attribute table:case-sensitive} * - * @param tableCaseSensitiveValue The type is String + * @param tableCaseSensitiveValue The type is Boolean */ - public void setTableCaseSensitiveAttribute(String tableCaseSensitiveValue) { + public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { TableCaseSensitiveAttribute attr = new TableCaseSensitiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(tableCaseSensitiveValue); + attr.setValue(tableCaseSensitiveValue.toString()); } /** @@ -137,7 +137,7 @@ public Integer getTableNullYearAttribute() { TableNullYearAttribute attr = (TableNullYearAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "null-year"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNullYearAttribute.DEFAULT_VALUE); } @@ -151,7 +151,7 @@ public Integer getTableNullYearAttribute() { public void setTableNullYearAttribute(Integer tableNullYearValue) { TableNullYearAttribute attr = new TableNullYearAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNullYearValue.intValue()); + attr.setValue(tableNullYearValue.toString()); } /** @@ -166,7 +166,7 @@ public Boolean getTablePrecisionAsShownAttribute() { (TablePrecisionAsShownAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "precision-as-shown"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TablePrecisionAsShownAttribute.DEFAULT_VALUE); } @@ -181,7 +181,7 @@ public void setTablePrecisionAsShownAttribute(Boolean tablePrecisionAsShownValue TablePrecisionAsShownAttribute attr = new TablePrecisionAsShownAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tablePrecisionAsShownValue.booleanValue()); + attr.setValue(tablePrecisionAsShownValue.toString()); } /** @@ -197,7 +197,7 @@ public Boolean getTableSearchCriteriaMustApplyToWholeCellAttribute() { (TableSearchCriteriaMustApplyToWholeCellAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "search-criteria-must-apply-to-whole-cell"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableSearchCriteriaMustApplyToWholeCellAttribute.DEFAULT_VALUE); } @@ -214,7 +214,7 @@ public void setTableSearchCriteriaMustApplyToWholeCellAttribute( TableSearchCriteriaMustApplyToWholeCellAttribute attr = new TableSearchCriteriaMustApplyToWholeCellAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableSearchCriteriaMustApplyToWholeCellValue.booleanValue()); + attr.setValue(tableSearchCriteriaMustApplyToWholeCellValue.toString()); } /** @@ -229,7 +229,7 @@ public Boolean getTableUseRegularExpressionsAttribute() { (TableUseRegularExpressionsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "use-regular-expressions"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableUseRegularExpressionsAttribute.DEFAULT_VALUE); } @@ -244,7 +244,7 @@ public void setTableUseRegularExpressionsAttribute(Boolean tableUseRegularExpres TableUseRegularExpressionsAttribute attr = new TableUseRegularExpressionsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableUseRegularExpressionsValue.booleanValue()); + attr.setValue(tableUseRegularExpressionsValue.toString()); } /** @@ -258,7 +258,7 @@ public Boolean getTableUseWildcardsAttribute() { TableUseWildcardsAttribute attr = (TableUseWildcardsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "use-wildcards"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableUseWildcardsAttribute.DEFAULT_VALUE); } @@ -273,7 +273,7 @@ public void setTableUseWildcardsAttribute(Boolean tableUseWildcardsValue) { TableUseWildcardsAttribute attr = new TableUseWildcardsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableUseWildcardsValue.booleanValue()); + attr.setValue(tableUseWildcardsValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableCellAddressElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableCellAddressElement.java index 5eda18e22b..0352aac4f9 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableCellAddressElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableCellAddressElement.java @@ -75,7 +75,7 @@ public Integer getTableColumnAttribute() { TableColumnAttribute attr = (TableColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -89,7 +89,7 @@ public Integer getTableColumnAttribute() { public void setTableColumnAttribute(Integer tableColumnValue) { TableColumnAttribute attr = new TableColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableColumnValue.intValue()); + attr.setValue(tableColumnValue.toString()); } /** @@ -104,7 +104,7 @@ public void setTableColumnAttribute(Integer tableColumnValue) { public Integer getTableRowAttribute() { TableRowAttribute attr = (TableRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -118,7 +118,7 @@ public Integer getTableRowAttribute() { public void setTableRowAttribute(Integer tableRowValue) { TableRowAttribute attr = new TableRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableRowValue.intValue()); + attr.setValue(tableRowValue.toString()); } /** @@ -134,7 +134,7 @@ public Integer getTableTableAttribute() { TableTableAttribute attr = (TableTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -148,7 +148,7 @@ public Integer getTableTableAttribute() { public void setTableTableAttribute(Integer tableTableValue) { TableTableAttribute attr = new TableTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableTableValue.intValue()); + attr.setValue(tableTableValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableCellRangeSourceElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableCellRangeSourceElement.java index 7a6cb6e496..07adc0a6af 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableCellRangeSourceElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableCellRangeSourceElement.java @@ -139,7 +139,7 @@ public Integer getTableLastColumnSpannedAttribute() { (TableLastColumnSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "last-column-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -154,7 +154,7 @@ public void setTableLastColumnSpannedAttribute(Integer tableLastColumnSpannedVal TableLastColumnSpannedAttribute attr = new TableLastColumnSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableLastColumnSpannedValue.intValue()); + attr.setValue(tableLastColumnSpannedValue.toString()); } /** @@ -171,7 +171,7 @@ public Integer getTableLastRowSpannedAttribute() { (TableLastRowSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "last-row-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -186,7 +186,7 @@ public void setTableLastRowSpannedAttribute(Integer tableLastRowSpannedValue) { TableLastRowSpannedAttribute attr = new TableLastRowSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableLastRowSpannedValue.intValue()); + attr.setValue(tableLastRowSpannedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableChangeTrackTableCellElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableChangeTrackTableCellElement.java index c56b730f2a..7498314b85 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableChangeTrackTableCellElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableChangeTrackTableCellElement.java @@ -84,7 +84,7 @@ public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -99,7 +99,7 @@ public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -228,7 +228,7 @@ public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -242,7 +242,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** @@ -342,7 +342,7 @@ public Boolean getTableMatrixCoveredAttribute() { TableMatrixCoveredAttribute attr = (TableMatrixCoveredAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "matrix-covered"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableMatrixCoveredAttribute.DEFAULT_VALUE); } @@ -357,7 +357,7 @@ public void setTableMatrixCoveredAttribute(Boolean tableMatrixCoveredValue) { TableMatrixCoveredAttribute attr = new TableMatrixCoveredAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableMatrixCoveredValue.booleanValue()); + attr.setValue(tableMatrixCoveredValue.toString()); } /** @@ -373,7 +373,7 @@ public Integer getTableNumberMatrixColumnsSpannedAttribute() { (TableNumberMatrixColumnsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-matrix-columns-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -390,7 +390,7 @@ public void setTableNumberMatrixColumnsSpannedAttribute( TableNumberMatrixColumnsSpannedAttribute attr = new TableNumberMatrixColumnsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberMatrixColumnsSpannedValue.intValue()); + attr.setValue(tableNumberMatrixColumnsSpannedValue.toString()); } /** @@ -406,7 +406,7 @@ public Integer getTableNumberMatrixRowsSpannedAttribute() { (TableNumberMatrixRowsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-matrix-rows-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -421,7 +421,7 @@ public void setTableNumberMatrixRowsSpannedAttribute(Integer tableNumberMatrixRo TableNumberMatrixRowsSpannedAttribute attr = new TableNumberMatrixRowsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberMatrixRowsSpannedValue.intValue()); + attr.setValue(tableNumberMatrixRowsSpannedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableConsolidationElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableConsolidationElement.java index 38372f4ebb..87014586ca 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableConsolidationElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableConsolidationElement.java @@ -106,7 +106,7 @@ public Boolean getTableLinkToSourceDataAttribute() { (TableLinkToSourceDataAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "link-to-source-data"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableLinkToSourceDataAttribute.DEFAULT_VALUE); } @@ -121,7 +121,7 @@ public void setTableLinkToSourceDataAttribute(Boolean tableLinkToSourceDataValue TableLinkToSourceDataAttribute attr = new TableLinkToSourceDataAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableLinkToSourceDataValue.booleanValue()); + attr.setValue(tableLinkToSourceDataValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableContentValidationElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableContentValidationElement.java index bf5b2a8b3f..458e23a5c8 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableContentValidationElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableContentValidationElement.java @@ -78,7 +78,7 @@ public Boolean getTableAllowEmptyCellAttribute() { (TableAllowEmptyCellAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "allow-empty-cell"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableAllowEmptyCellAttribute.DEFAULT_VALUE); } @@ -93,7 +93,7 @@ public void setTableAllowEmptyCellAttribute(Boolean tableAllowEmptyCellValue) { TableAllowEmptyCellAttribute attr = new TableAllowEmptyCellAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableAllowEmptyCellValue.booleanValue()); + attr.setValue(tableAllowEmptyCellValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotDisplayInfoElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotDisplayInfoElement.java index c2d321f538..4f4da92479 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotDisplayInfoElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotDisplayInfoElement.java @@ -139,7 +139,7 @@ public Boolean getTableEnabledAttribute() { TableEnabledAttribute attr = (TableEnabledAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "enabled"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -153,7 +153,7 @@ public Boolean getTableEnabledAttribute() { public void setTableEnabledAttribute(Boolean tableEnabledValue) { TableEnabledAttribute attr = new TableEnabledAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableEnabledValue.booleanValue()); + attr.setValue(tableEnabledValue.toString()); } /** @@ -169,7 +169,7 @@ public Integer getTableMemberCountAttribute() { TableMemberCountAttribute attr = (TableMemberCountAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "member-count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -183,7 +183,7 @@ public Integer getTableMemberCountAttribute() { public void setTableMemberCountAttribute(Integer tableMemberCountValue) { TableMemberCountAttribute attr = new TableMemberCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableMemberCountValue.intValue()); + attr.setValue(tableMemberCountValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotFieldElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotFieldElement.java index 73b0be21fc..a59d5fe32f 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotFieldElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotFieldElement.java @@ -225,7 +225,7 @@ public Integer getTableUsedHierarchyAttribute() { TableUsedHierarchyAttribute attr = (TableUsedHierarchyAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "used-hierarchy"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableUsedHierarchyAttribute.DEFAULT_VALUE); } @@ -240,7 +240,7 @@ public void setTableUsedHierarchyAttribute(Integer tableUsedHierarchyValue) { TableUsedHierarchyAttribute attr = new TableUsedHierarchyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableUsedHierarchyValue.intValue()); + attr.setValue(tableUsedHierarchyValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotGroupsElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotGroupsElement.java index 3735b3a37e..6828108a30 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotGroupsElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotGroupsElement.java @@ -132,7 +132,7 @@ public void setTableDateStartAttribute(String tableDateStartValue) { public Double getTableEndAttribute() { TableEndAttribute attr = (TableEndAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -146,7 +146,7 @@ public Double getTableEndAttribute() { public void setTableEndAttribute(Double tableEndValue) { TableEndAttribute attr = new TableEndAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(tableEndValue.doubleValue()); + attr.setValue(tableEndValue.toString()); } /** @@ -220,7 +220,7 @@ public Double getTableStartAttribute() { TableStartAttribute attr = (TableStartAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -234,7 +234,7 @@ public Double getTableStartAttribute() { public void setTableStartAttribute(Double tableStartValue) { TableStartAttribute attr = new TableStartAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(tableStartValue.doubleValue()); + attr.setValue(tableStartValue.toString()); } /** @@ -248,7 +248,7 @@ public Double getTableStepAttribute() { TableStepAttribute attr = (TableStepAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "step"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -262,7 +262,7 @@ public Double getTableStepAttribute() { public void setTableStepAttribute(Double tableStepValue) { TableStepAttribute attr = new TableStepAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(tableStepValue.doubleValue()); + attr.setValue(tableStepValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLayoutInfoElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLayoutInfoElement.java index 35154da984..0cc8bf7e25 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLayoutInfoElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLayoutInfoElement.java @@ -76,7 +76,7 @@ public Boolean getTableAddEmptyLinesAttribute() { (TableAddEmptyLinesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "add-empty-lines"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -91,7 +91,7 @@ public void setTableAddEmptyLinesAttribute(Boolean tableAddEmptyLinesValue) { TableAddEmptyLinesAttribute attr = new TableAddEmptyLinesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableAddEmptyLinesValue.booleanValue()); + attr.setValue(tableAddEmptyLinesValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLevelElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLevelElement.java index 5f0e36b20f..e7fbd6f4f4 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLevelElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotLevelElement.java @@ -71,7 +71,7 @@ public Boolean getTableShowEmptyAttribute() { TableShowEmptyAttribute attr = (TableShowEmptyAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "show-empty"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Boolean getTableShowEmptyAttribute() { public void setTableShowEmptyAttribute(Boolean tableShowEmptyValue) { TableShowEmptyAttribute attr = new TableShowEmptyAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableShowEmptyValue.booleanValue()); + attr.setValue(tableShowEmptyValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotMemberElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotMemberElement.java index 68937a828b..942590a977 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotMemberElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotMemberElement.java @@ -73,7 +73,7 @@ public Boolean getTableDisplayAttribute() { TableDisplayAttribute attr = (TableDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -87,7 +87,7 @@ public Boolean getTableDisplayAttribute() { public void setTableDisplayAttribute(Boolean tableDisplayValue) { TableDisplayAttribute attr = new TableDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayValue.booleanValue()); + attr.setValue(tableDisplayValue.toString()); } /** @@ -131,7 +131,7 @@ public Boolean getTableShowDetailsAttribute() { TableShowDetailsAttribute attr = (TableShowDetailsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "show-details"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -145,7 +145,7 @@ public Boolean getTableShowDetailsAttribute() { public void setTableShowDetailsAttribute(Boolean tableShowDetailsValue) { TableShowDetailsAttribute attr = new TableShowDetailsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableShowDetailsValue.booleanValue()); + attr.setValue(tableShowDetailsValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotTableElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotTableElement.java index bf5dd5a8b7..c0690d248c 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotTableElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDataPilotTableElement.java @@ -139,7 +139,7 @@ public Boolean getTableDrillDownOnDoubleClickAttribute() { (TableDrillDownOnDoubleClickAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "drill-down-on-double-click"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDrillDownOnDoubleClickAttribute.DEFAULT_VALUE); } @@ -154,7 +154,7 @@ public void setTableDrillDownOnDoubleClickAttribute(Boolean tableDrillDownOnDoub TableDrillDownOnDoubleClickAttribute attr = new TableDrillDownOnDoubleClickAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDrillDownOnDoubleClickValue.booleanValue()); + attr.setValue(tableDrillDownOnDoubleClickValue.toString()); } /** @@ -197,7 +197,7 @@ public Boolean getTableIdentifyCategoriesAttribute() { (TableIdentifyCategoriesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "identify-categories"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableIdentifyCategoriesAttribute.DEFAULT_VALUE); } @@ -212,7 +212,7 @@ public void setTableIdentifyCategoriesAttribute(Boolean tableIdentifyCategoriesV TableIdentifyCategoriesAttribute attr = new TableIdentifyCategoriesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableIdentifyCategoriesValue.booleanValue()); + attr.setValue(tableIdentifyCategoriesValue.toString()); } /** @@ -227,7 +227,7 @@ public Boolean getTableIgnoreEmptyRowsAttribute() { (TableIgnoreEmptyRowsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "ignore-empty-rows"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableIgnoreEmptyRowsAttribute.DEFAULT_VALUE); } @@ -242,7 +242,7 @@ public void setTableIgnoreEmptyRowsAttribute(Boolean tableIgnoreEmptyRowsValue) TableIgnoreEmptyRowsAttribute attr = new TableIgnoreEmptyRowsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableIgnoreEmptyRowsValue.booleanValue()); + attr.setValue(tableIgnoreEmptyRowsValue.toString()); } /** @@ -287,7 +287,7 @@ public Boolean getTableShowFilterButtonAttribute() { (TableShowFilterButtonAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "show-filter-button"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableShowFilterButtonAttribute.DEFAULT_VALUE); } @@ -302,7 +302,7 @@ public void setTableShowFilterButtonAttribute(Boolean tableShowFilterButtonValue TableShowFilterButtonAttribute attr = new TableShowFilterButtonAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableShowFilterButtonValue.booleanValue()); + attr.setValue(tableShowFilterButtonValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java index fb43d79892..4ba752f961 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDatabaseRangeElement.java @@ -81,7 +81,7 @@ public Boolean getTableContainsHeaderAttribute() { (TableContainsHeaderAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "contains-header"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableContainsHeaderAttribute.DEFAULT_VALUE); } @@ -96,7 +96,7 @@ public void setTableContainsHeaderAttribute(Boolean tableContainsHeaderValue) { TableContainsHeaderAttribute attr = new TableContainsHeaderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableContainsHeaderValue.booleanValue()); + attr.setValue(tableContainsHeaderValue.toString()); } /** @@ -111,7 +111,7 @@ public Boolean getTableDisplayFilterButtonsAttribute() { (TableDisplayFilterButtonsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display-filter-buttons"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayFilterButtonsAttribute.DEFAULT_VALUE); } @@ -126,7 +126,7 @@ public void setTableDisplayFilterButtonsAttribute(Boolean tableDisplayFilterButt TableDisplayFilterButtonsAttribute attr = new TableDisplayFilterButtonsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayFilterButtonsValue.booleanValue()); + attr.setValue(tableDisplayFilterButtonsValue.toString()); } /** @@ -141,7 +141,7 @@ public Boolean getTableHasPersistentDataAttribute() { (TableHasPersistentDataAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "has-persistent-data"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableHasPersistentDataAttribute.DEFAULT_VALUE); } @@ -156,7 +156,7 @@ public void setTableHasPersistentDataAttribute(Boolean tableHasPersistentDataVal TableHasPersistentDataAttribute attr = new TableHasPersistentDataAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableHasPersistentDataValue.booleanValue()); + attr.setValue(tableHasPersistentDataValue.toString()); } /** @@ -170,7 +170,7 @@ public Boolean getTableIsSelectionAttribute() { TableIsSelectionAttribute attr = (TableIsSelectionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "is-selection"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableIsSelectionAttribute.DEFAULT_VALUE); } @@ -184,7 +184,7 @@ public Boolean getTableIsSelectionAttribute() { public void setTableIsSelectionAttribute(Boolean tableIsSelectionValue) { TableIsSelectionAttribute attr = new TableIsSelectionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableIsSelectionValue.booleanValue()); + attr.setValue(tableIsSelectionValue.toString()); } /** @@ -227,7 +227,7 @@ public Boolean getTableOnUpdateKeepSizeAttribute() { (TableOnUpdateKeepSizeAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "on-update-keep-size"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableOnUpdateKeepSizeAttribute.DEFAULT_VALUE); } @@ -242,7 +242,7 @@ public void setTableOnUpdateKeepSizeAttribute(Boolean tableOnUpdateKeepSizeValue TableOnUpdateKeepSizeAttribute attr = new TableOnUpdateKeepSizeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableOnUpdateKeepSizeValue.booleanValue()); + attr.setValue(tableOnUpdateKeepSizeValue.toString()); } /** @@ -257,7 +257,7 @@ public Boolean getTableOnUpdateKeepStylesAttribute() { (TableOnUpdateKeepStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "on-update-keep-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableOnUpdateKeepStylesAttribute.DEFAULT_VALUE); } @@ -272,7 +272,7 @@ public void setTableOnUpdateKeepStylesAttribute(Boolean tableOnUpdateKeepStylesV TableOnUpdateKeepStylesAttribute attr = new TableOnUpdateKeepStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableOnUpdateKeepStylesValue.booleanValue()); + attr.setValue(tableOnUpdateKeepStylesValue.toString()); } /** @@ -307,14 +307,14 @@ public void setTableOrientationAttribute(String tableOrientationValue) { * Receives the value of the ODFDOM attribute representation TableRefreshDelayAttribute * , See {@odf.attribute table:refresh-delay} * - * @return - the String , the value or null, if the attribute is not set - * and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not + * set and no default value defined. */ - public String getTableRefreshDelayAttribute() { + public Boolean getTableRefreshDelayAttribute() { TableRefreshDelayAttribute attr = (TableRefreshDelayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "refresh-delay"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.getValue()); } return null; } @@ -323,13 +323,13 @@ public String getTableRefreshDelayAttribute() { * Sets the value of ODFDOM attribute representation TableRefreshDelayAttribute , See * {@odf.attribute table:refresh-delay} * - * @param tableRefreshDelayValue The type is String + * @param tableRefreshDelayValue The type is Boolean */ - public void setTableRefreshDelayAttribute(String tableRefreshDelayValue) { + public void setTableRefreshDelayAttribute(Boolean tableRefreshDelayValue) { TableRefreshDelayAttribute attr = new TableRefreshDelayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(tableRefreshDelayValue); + attr.setValue(tableRefreshDelayValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDatabaseSourceSqlElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDatabaseSourceSqlElement.java index 300940b5e1..5187cea8e0 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDatabaseSourceSqlElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDatabaseSourceSqlElement.java @@ -106,7 +106,7 @@ public Boolean getTableParseSqlStatementAttribute() { (TableParseSqlStatementAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "parse-sql-statement"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableParseSqlStatementAttribute.DEFAULT_VALUE); } @@ -121,7 +121,7 @@ public void setTableParseSqlStatementAttribute(Boolean tableParseSqlStatementVal TableParseSqlStatementAttribute attr = new TableParseSqlStatementAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableParseSqlStatementValue.booleanValue()); + attr.setValue(tableParseSqlStatementValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDeletionElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDeletionElement.java index dc43e6eaf5..393fdd7aa8 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDeletionElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableDeletionElement.java @@ -138,7 +138,7 @@ public Integer getTableMultiDeletionSpannedAttribute() { (TableMultiDeletionSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "multi-deletion-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -153,7 +153,7 @@ public void setTableMultiDeletionSpannedAttribute(Integer tableMultiDeletionSpan TableMultiDeletionSpannedAttribute attr = new TableMultiDeletionSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableMultiDeletionSpannedValue.intValue()); + attr.setValue(tableMultiDeletionSpannedValue.toString()); } /** @@ -169,7 +169,7 @@ public Integer getTablePositionAttribute() { TablePositionAttribute attr = (TablePositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -183,7 +183,7 @@ public Integer getTablePositionAttribute() { public void setTablePositionAttribute(Integer tablePositionValue) { TablePositionAttribute attr = new TablePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tablePositionValue.intValue()); + attr.setValue(tablePositionValue.toString()); } /** @@ -227,7 +227,7 @@ public Integer getTableTableAttribute() { TableTableAttribute attr = (TableTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -241,7 +241,7 @@ public Integer getTableTableAttribute() { public void setTableTableAttribute(Integer tableTableValue) { TableTableAttribute attr = new TableTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableTableValue.intValue()); + attr.setValue(tableTableValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableErrorMacroElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableErrorMacroElement.java index 249a0de2a3..286f6dbbdb 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableErrorMacroElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableErrorMacroElement.java @@ -71,7 +71,7 @@ public Boolean getTableExecuteAttribute() { TableExecuteAttribute attr = (TableExecuteAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "execute"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableExecuteAttribute.DEFAULT_VALUE); } @@ -85,7 +85,7 @@ public Boolean getTableExecuteAttribute() { public void setTableExecuteAttribute(Boolean tableExecuteValue) { TableExecuteAttribute attr = new TableExecuteAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableExecuteValue.booleanValue()); + attr.setValue(tableExecuteValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableErrorMessageElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableErrorMessageElement.java index 58301cc0a7..d83d4266c2 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableErrorMessageElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableErrorMessageElement.java @@ -74,7 +74,7 @@ public Boolean getTableDisplayAttribute() { TableDisplayAttribute attr = (TableDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayAttribute.DEFAULT_VALUE_FALSE); } @@ -88,7 +88,7 @@ public Boolean getTableDisplayAttribute() { public void setTableDisplayAttribute(Boolean tableDisplayValue) { TableDisplayAttribute attr = new TableDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayValue.booleanValue()); + attr.setValue(tableDisplayValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableFilterConditionElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableFilterConditionElement.java index e04d5516a5..79383f1ff7 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableFilterConditionElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableFilterConditionElement.java @@ -134,7 +134,7 @@ public Integer getTableFieldNumberAttribute() { TableFieldNumberAttribute attr = (TableFieldNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "field-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -148,7 +148,7 @@ public Integer getTableFieldNumberAttribute() { public void setTableFieldNumberAttribute(Integer tableFieldNumberValue) { TableFieldNumberAttribute attr = new TableFieldNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableFieldNumberValue.intValue()); + attr.setValue(tableFieldNumberValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableFilterElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableFilterElement.java index d540c60b77..3c1dbfab1a 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableFilterElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableFilterElement.java @@ -137,7 +137,7 @@ public Boolean getTableDisplayDuplicatesAttribute() { (TableDisplayDuplicatesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display-duplicates"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayDuplicatesAttribute.DEFAULT_VALUE); } @@ -152,7 +152,7 @@ public void setTableDisplayDuplicatesAttribute(Boolean tableDisplayDuplicatesVal TableDisplayDuplicatesAttribute attr = new TableDisplayDuplicatesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayDuplicatesValue.booleanValue()); + attr.setValue(tableDisplayDuplicatesValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableHelpMessageElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableHelpMessageElement.java index e186a004b8..6200ee5993 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableHelpMessageElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableHelpMessageElement.java @@ -73,7 +73,7 @@ public Boolean getTableDisplayAttribute() { TableDisplayAttribute attr = (TableDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayAttribute.DEFAULT_VALUE_FALSE); } @@ -87,7 +87,7 @@ public Boolean getTableDisplayAttribute() { public void setTableDisplayAttribute(Boolean tableDisplayValue) { TableDisplayAttribute attr = new TableDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayValue.booleanValue()); + attr.setValue(tableDisplayValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableHighlightedRangeElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableHighlightedRangeElement.java index bff76314d8..acc472ad8d 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableHighlightedRangeElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableHighlightedRangeElement.java @@ -104,7 +104,7 @@ public Boolean getTableContainsErrorAttribute() { TableContainsErrorAttribute attr = (TableContainsErrorAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "contains-error"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableContainsErrorAttribute.DEFAULT_VALUE); } @@ -119,7 +119,7 @@ public void setTableContainsErrorAttribute(Boolean tableContainsErrorValue) { TableContainsErrorAttribute attr = new TableContainsErrorAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableContainsErrorValue.booleanValue()); + attr.setValue(tableContainsErrorValue.toString()); } /** @@ -161,7 +161,7 @@ public Boolean getTableMarkedInvalidAttribute() { TableMarkedInvalidAttribute attr = (TableMarkedInvalidAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "marked-invalid"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -176,7 +176,7 @@ public void setTableMarkedInvalidAttribute(Boolean tableMarkedInvalidValue) { TableMarkedInvalidAttribute attr = new TableMarkedInvalidAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableMarkedInvalidValue.booleanValue()); + attr.setValue(tableMarkedInvalidValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableInsertionCutOffElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableInsertionCutOffElement.java index a73f7e48f9..2114ca624f 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableInsertionCutOffElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableInsertionCutOffElement.java @@ -103,7 +103,7 @@ public Integer getTablePositionAttribute() { TablePositionAttribute attr = (TablePositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -117,7 +117,7 @@ public Integer getTablePositionAttribute() { public void setTablePositionAttribute(Integer tablePositionValue) { TablePositionAttribute attr = new TablePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tablePositionValue.intValue()); + attr.setValue(tablePositionValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableInsertionElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableInsertionElement.java index 820af2480c..609dbe2658 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableInsertionElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableInsertionElement.java @@ -108,7 +108,7 @@ public Integer getTableCountAttribute() { TableCountAttribute attr = (TableCountAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "count"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableCountAttribute.DEFAULT_VALUE); } @@ -122,7 +122,7 @@ public Integer getTableCountAttribute() { public void setTableCountAttribute(Integer tableCountValue) { TableCountAttribute attr = new TableCountAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableCountValue.intValue()); + attr.setValue(tableCountValue.toString()); } /** @@ -167,7 +167,7 @@ public Integer getTablePositionAttribute() { TablePositionAttribute attr = (TablePositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -181,7 +181,7 @@ public Integer getTablePositionAttribute() { public void setTablePositionAttribute(Integer tablePositionValue) { TablePositionAttribute attr = new TablePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tablePositionValue.intValue()); + attr.setValue(tablePositionValue.toString()); } /** @@ -225,7 +225,7 @@ public Integer getTableTableAttribute() { TableTableAttribute attr = (TableTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -239,7 +239,7 @@ public Integer getTableTableAttribute() { public void setTableTableAttribute(Integer tableTableValue) { TableTableAttribute attr = new TableTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableTableValue.intValue()); + attr.setValue(tableTableValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableIterationElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableIterationElement.java index 2ad45bf0f4..77cf8a0a7b 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableIterationElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableIterationElement.java @@ -74,7 +74,7 @@ public Double getTableMaximumDifferenceAttribute() { (TableMaximumDifferenceAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "maximum-difference"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return Double.valueOf(TableMaximumDifferenceAttribute.DEFAULT_VALUE); } @@ -89,7 +89,7 @@ public void setTableMaximumDifferenceAttribute(Double tableMaximumDifferenceValu TableMaximumDifferenceAttribute attr = new TableMaximumDifferenceAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(tableMaximumDifferenceValue.doubleValue()); + attr.setValue(tableMaximumDifferenceValue.toString()); } /** @@ -131,7 +131,7 @@ public Integer getTableStepsAttribute() { TableStepsAttribute attr = (TableStepsAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "steps"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableStepsAttribute.DEFAULT_VALUE); } @@ -145,7 +145,7 @@ public Integer getTableStepsAttribute() { public void setTableStepsAttribute(Integer tableStepsValue) { TableStepsAttribute attr = new TableStepsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStepsValue.intValue()); + attr.setValue(tableStepsValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableMovementCutOffElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableMovementCutOffElement.java index 8e248ce12f..036a13d365 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableMovementCutOffElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableMovementCutOffElement.java @@ -73,7 +73,7 @@ public Integer getTableEndPositionAttribute() { TableEndPositionAttribute attr = (TableEndPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -87,7 +87,7 @@ public Integer getTableEndPositionAttribute() { public void setTableEndPositionAttribute(Integer tableEndPositionValue) { TableEndPositionAttribute attr = new TableEndPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndPositionValue.intValue()); + attr.setValue(tableEndPositionValue.toString()); } /** @@ -101,7 +101,7 @@ public Integer getTablePositionAttribute() { TablePositionAttribute attr = (TablePositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -115,7 +115,7 @@ public Integer getTablePositionAttribute() { public void setTablePositionAttribute(Integer tablePositionValue) { TablePositionAttribute attr = new TablePositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tablePositionValue.intValue()); + attr.setValue(tablePositionValue.toString()); } /** @@ -129,7 +129,7 @@ public Integer getTableStartPositionAttribute() { TableStartPositionAttribute attr = (TableStartPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -144,7 +144,7 @@ public void setTableStartPositionAttribute(Integer tableStartPositionValue) { TableStartPositionAttribute attr = new TableStartPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartPositionValue.intValue()); + attr.setValue(tableStartPositionValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableOperationElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableOperationElement.java index c03aabaa77..87b39603a9 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableOperationElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableOperationElement.java @@ -74,7 +74,7 @@ public Integer getTableIndexAttribute() { TableIndexAttribute attr = (TableIndexAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "index"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -88,7 +88,7 @@ public Integer getTableIndexAttribute() { public void setTableIndexAttribute(Integer tableIndexValue) { TableIndexAttribute attr = new TableIndexAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableIndexValue.intValue()); + attr.setValue(tableIndexValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableScenarioElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableScenarioElement.java index 8a320ac411..4e4a79236a 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableScenarioElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableScenarioElement.java @@ -135,7 +135,7 @@ public Boolean getTableCopyBackAttribute() { TableCopyBackAttribute attr = (TableCopyBackAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "copy-back"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableCopyBackAttribute.DEFAULT_VALUE); } @@ -149,7 +149,7 @@ public Boolean getTableCopyBackAttribute() { public void setTableCopyBackAttribute(Boolean tableCopyBackValue) { TableCopyBackAttribute attr = new TableCopyBackAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableCopyBackValue.booleanValue()); + attr.setValue(tableCopyBackValue.toString()); } /** @@ -163,7 +163,7 @@ public Boolean getTableCopyFormulasAttribute() { TableCopyFormulasAttribute attr = (TableCopyFormulasAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "copy-formulas"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableCopyFormulasAttribute.DEFAULT_VALUE); } @@ -178,7 +178,7 @@ public void setTableCopyFormulasAttribute(Boolean tableCopyFormulasValue) { TableCopyFormulasAttribute attr = new TableCopyFormulasAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableCopyFormulasValue.booleanValue()); + attr.setValue(tableCopyFormulasValue.toString()); } /** @@ -192,7 +192,7 @@ public Boolean getTableCopyStylesAttribute() { TableCopyStylesAttribute attr = (TableCopyStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "copy-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableCopyStylesAttribute.DEFAULT_VALUE); } @@ -206,7 +206,7 @@ public Boolean getTableCopyStylesAttribute() { public void setTableCopyStylesAttribute(Boolean tableCopyStylesValue) { TableCopyStylesAttribute attr = new TableCopyStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableCopyStylesValue.booleanValue()); + attr.setValue(tableCopyStylesValue.toString()); } /** @@ -220,7 +220,7 @@ public Boolean getTableDisplayBorderAttribute() { TableDisplayBorderAttribute attr = (TableDisplayBorderAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display-border"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayBorderAttribute.DEFAULT_VALUE); } @@ -235,7 +235,7 @@ public void setTableDisplayBorderAttribute(Boolean tableDisplayBorderValue) { TableDisplayBorderAttribute attr = new TableDisplayBorderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayBorderValue.booleanValue()); + attr.setValue(tableDisplayBorderValue.toString()); } /** @@ -251,7 +251,7 @@ public Boolean getTableIsActiveAttribute() { TableIsActiveAttribute attr = (TableIsActiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "is-active"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -265,7 +265,7 @@ public Boolean getTableIsActiveAttribute() { public void setTableIsActiveAttribute(Boolean tableIsActiveValue) { TableIsActiveAttribute attr = new TableIsActiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableIsActiveValue.booleanValue()); + attr.setValue(tableIsActiveValue.toString()); } /** @@ -279,7 +279,7 @@ public Boolean getTableProtectedAttribute() { TableProtectedAttribute attr = (TableProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -293,7 +293,7 @@ public Boolean getTableProtectedAttribute() { public void setTableProtectedAttribute(Boolean tableProtectedValue) { TableProtectedAttribute attr = new TableProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableProtectedValue.booleanValue()); + attr.setValue(tableProtectedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableSortByElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableSortByElement.java index 3e6a70b830..3c6b7195b8 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableSortByElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableSortByElement.java @@ -102,7 +102,7 @@ public Integer getTableFieldNumberAttribute() { TableFieldNumberAttribute attr = (TableFieldNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "field-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -116,7 +116,7 @@ public Integer getTableFieldNumberAttribute() { public void setTableFieldNumberAttribute(Integer tableFieldNumberValue) { TableFieldNumberAttribute attr = new TableFieldNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableFieldNumberValue.intValue()); + attr.setValue(tableFieldNumberValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java index 1db668b932..4fdcc4e3d7 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableSortElement.java @@ -107,7 +107,7 @@ public Boolean getTableBindStylesToContentAttribute() { (TableBindStylesToContentAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "bind-styles-to-content"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableBindStylesToContentAttribute.DEFAULT_VALUE); } @@ -122,36 +122,36 @@ public void setTableBindStylesToContentAttribute(Boolean tableBindStylesToConten TableBindStylesToContentAttribute attr = new TableBindStylesToContentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableBindStylesToContentValue.booleanValue()); + attr.setValue(tableBindStylesToContentValue.toString()); } /** * Receives the value of the ODFDOM attribute representation TableCaseSensitiveAttribute * , See {@odf.attribute table:case-sensitive} * - * @return - the String , the value or null, if the attribute is not set - * and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not + * set and no default value defined. */ - public String getTableCaseSensitiveAttribute() { + public Boolean getTableCaseSensitiveAttribute() { TableCaseSensitiveAttribute attr = (TableCaseSensitiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "case-sensitive"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.getValue()); } - return TableCaseSensitiveAttribute.DEFAULT_VALUE_FALSE; + return Boolean.valueOf(TableCaseSensitiveAttribute.DEFAULT_VALUE_FALSE); } /** * Sets the value of ODFDOM attribute representation TableCaseSensitiveAttribute , * See {@odf.attribute table:case-sensitive} * - * @param tableCaseSensitiveValue The type is String + * @param tableCaseSensitiveValue The type is Boolean */ - public void setTableCaseSensitiveAttribute(String tableCaseSensitiveValue) { + public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { TableCaseSensitiveAttribute attr = new TableCaseSensitiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(tableCaseSensitiveValue); + attr.setValue(tableCaseSensitiveValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableSourceRangeAddressElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableSourceRangeAddressElement.java index 13feb2c578..be250420e9 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableSourceRangeAddressElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableSourceRangeAddressElement.java @@ -80,7 +80,7 @@ public Integer getTableColumnAttribute() { TableColumnAttribute attr = (TableColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -94,7 +94,7 @@ public Integer getTableColumnAttribute() { public void setTableColumnAttribute(Integer tableColumnValue) { TableColumnAttribute attr = new TableColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableColumnValue.intValue()); + attr.setValue(tableColumnValue.toString()); } /** @@ -108,7 +108,7 @@ public Integer getTableEndColumnAttribute() { TableEndColumnAttribute attr = (TableEndColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -122,7 +122,7 @@ public Integer getTableEndColumnAttribute() { public void setTableEndColumnAttribute(Integer tableEndColumnValue) { TableEndColumnAttribute attr = new TableEndColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndColumnValue.intValue()); + attr.setValue(tableEndColumnValue.toString()); } /** @@ -136,7 +136,7 @@ public Integer getTableEndRowAttribute() { TableEndRowAttribute attr = (TableEndRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -150,7 +150,7 @@ public Integer getTableEndRowAttribute() { public void setTableEndRowAttribute(Integer tableEndRowValue) { TableEndRowAttribute attr = new TableEndRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndRowValue.intValue()); + attr.setValue(tableEndRowValue.toString()); } /** @@ -164,7 +164,7 @@ public Integer getTableEndTableAttribute() { TableEndTableAttribute attr = (TableEndTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -178,7 +178,7 @@ public Integer getTableEndTableAttribute() { public void setTableEndTableAttribute(Integer tableEndTableValue) { TableEndTableAttribute attr = new TableEndTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndTableValue.intValue()); + attr.setValue(tableEndTableValue.toString()); } /** @@ -191,7 +191,7 @@ public void setTableEndTableAttribute(Integer tableEndTableValue) { public Integer getTableRowAttribute() { TableRowAttribute attr = (TableRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -205,7 +205,7 @@ public Integer getTableRowAttribute() { public void setTableRowAttribute(Integer tableRowValue) { TableRowAttribute attr = new TableRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableRowValue.intValue()); + attr.setValue(tableRowValue.toString()); } /** @@ -219,7 +219,7 @@ public Integer getTableStartColumnAttribute() { TableStartColumnAttribute attr = (TableStartColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -233,7 +233,7 @@ public Integer getTableStartColumnAttribute() { public void setTableStartColumnAttribute(Integer tableStartColumnValue) { TableStartColumnAttribute attr = new TableStartColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartColumnValue.intValue()); + attr.setValue(tableStartColumnValue.toString()); } /** @@ -247,7 +247,7 @@ public Integer getTableStartRowAttribute() { TableStartRowAttribute attr = (TableStartRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -261,7 +261,7 @@ public Integer getTableStartRowAttribute() { public void setTableStartRowAttribute(Integer tableStartRowValue) { TableStartRowAttribute attr = new TableStartRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartRowValue.intValue()); + attr.setValue(tableStartRowValue.toString()); } /** @@ -275,7 +275,7 @@ public Integer getTableStartTableAttribute() { TableStartTableAttribute attr = (TableStartTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -289,7 +289,7 @@ public Integer getTableStartTableAttribute() { public void setTableStartTableAttribute(Integer tableStartTableValue) { TableStartTableAttribute attr = new TableStartTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartTableValue.intValue()); + attr.setValue(tableStartTableValue.toString()); } /** @@ -303,7 +303,7 @@ public Integer getTableTableAttribute() { TableTableAttribute attr = (TableTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -317,7 +317,7 @@ public Integer getTableTableAttribute() { public void setTableTableAttribute(Integer tableTableValue) { TableTableAttribute attr = new TableTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableTableValue.intValue()); + attr.setValue(tableTableValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableSubtotalFieldElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableSubtotalFieldElement.java index 25fe3ad374..51efcffad7 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableSubtotalFieldElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableSubtotalFieldElement.java @@ -74,7 +74,7 @@ public Integer getTableFieldNumberAttribute() { TableFieldNumberAttribute attr = (TableFieldNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "field-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -88,7 +88,7 @@ public Integer getTableFieldNumberAttribute() { public void setTableFieldNumberAttribute(Integer tableFieldNumberValue) { TableFieldNumberAttribute attr = new TableFieldNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableFieldNumberValue.intValue()); + attr.setValue(tableFieldNumberValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRuleElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRuleElement.java index 90ee0226b1..14523d0c7c 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRuleElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRuleElement.java @@ -74,7 +74,7 @@ public Integer getTableGroupByFieldNumberAttribute() { (TableGroupByFieldNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "group-by-field-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -89,7 +89,7 @@ public void setTableGroupByFieldNumberAttribute(Integer tableGroupByFieldNumberV TableGroupByFieldNumberAttribute attr = new TableGroupByFieldNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableGroupByFieldNumberValue.intValue()); + attr.setValue(tableGroupByFieldNumberValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java index cfeb86858b..955ef3c976 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableSubtotalRulesElement.java @@ -74,7 +74,7 @@ public Boolean getTableBindStylesToContentAttribute() { (TableBindStylesToContentAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "bind-styles-to-content"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableBindStylesToContentAttribute.DEFAULT_VALUE); } @@ -89,36 +89,36 @@ public void setTableBindStylesToContentAttribute(Boolean tableBindStylesToConten TableBindStylesToContentAttribute attr = new TableBindStylesToContentAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableBindStylesToContentValue.booleanValue()); + attr.setValue(tableBindStylesToContentValue.toString()); } /** * Receives the value of the ODFDOM attribute representation TableCaseSensitiveAttribute * , See {@odf.attribute table:case-sensitive} * - * @return - the String , the value or null, if the attribute is not set - * and no default value defined. + * @return - the Boolean , the value or null, if the attribute is not + * set and no default value defined. */ - public String getTableCaseSensitiveAttribute() { + public Boolean getTableCaseSensitiveAttribute() { TableCaseSensitiveAttribute attr = (TableCaseSensitiveAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "case-sensitive"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Boolean.valueOf(attr.getValue()); } - return TableCaseSensitiveAttribute.DEFAULT_VALUE_FALSE; + return Boolean.valueOf(TableCaseSensitiveAttribute.DEFAULT_VALUE_FALSE); } /** * Sets the value of ODFDOM attribute representation TableCaseSensitiveAttribute , * See {@odf.attribute table:case-sensitive} * - * @param tableCaseSensitiveValue The type is String + * @param tableCaseSensitiveValue The type is Boolean */ - public void setTableCaseSensitiveAttribute(String tableCaseSensitiveValue) { + public void setTableCaseSensitiveAttribute(Boolean tableCaseSensitiveValue) { TableCaseSensitiveAttribute attr = new TableCaseSensitiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(tableCaseSensitiveValue); + attr.setValue(tableCaseSensitiveValue.toString()); } /** @@ -134,7 +134,7 @@ public Boolean getTablePageBreaksOnGroupChangeAttribute() { (TablePageBreaksOnGroupChangeAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "page-breaks-on-group-change"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TablePageBreaksOnGroupChangeAttribute.DEFAULT_VALUE); } @@ -149,7 +149,7 @@ public void setTablePageBreaksOnGroupChangeAttribute(Boolean tablePageBreaksOnGr TablePageBreaksOnGroupChangeAttribute attr = new TablePageBreaksOnGroupChangeAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tablePageBreaksOnGroupChangeValue.booleanValue()); + attr.setValue(tablePageBreaksOnGroupChangeValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableCellElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableCellElement.java index 19ec6697f3..cf7cfffb64 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableCellElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableCellElement.java @@ -79,7 +79,7 @@ public Integer getTableNumberColumnsSpannedAttribute() { (TableNumberColumnsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-columns-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNumberColumnsSpannedAttribute.DEFAULT_VALUE); } @@ -94,7 +94,7 @@ public void setTableNumberColumnsSpannedAttribute(Integer tableNumberColumnsSpan TableNumberColumnsSpannedAttribute attr = new TableNumberColumnsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberColumnsSpannedValue.intValue()); + attr.setValue(tableNumberColumnsSpannedValue.toString()); } /** @@ -110,7 +110,7 @@ public Integer getTableNumberMatrixColumnsSpannedAttribute() { (TableNumberMatrixColumnsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-matrix-columns-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -127,7 +127,7 @@ public void setTableNumberMatrixColumnsSpannedAttribute( TableNumberMatrixColumnsSpannedAttribute attr = new TableNumberMatrixColumnsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberMatrixColumnsSpannedValue.intValue()); + attr.setValue(tableNumberMatrixColumnsSpannedValue.toString()); } /** @@ -143,7 +143,7 @@ public Integer getTableNumberMatrixRowsSpannedAttribute() { (TableNumberMatrixRowsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-matrix-rows-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -158,7 +158,7 @@ public void setTableNumberMatrixRowsSpannedAttribute(Integer tableNumberMatrixRo TableNumberMatrixRowsSpannedAttribute attr = new TableNumberMatrixRowsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberMatrixRowsSpannedValue.intValue()); + attr.setValue(tableNumberMatrixRowsSpannedValue.toString()); } /** @@ -173,7 +173,7 @@ public Integer getTableNumberRowsSpannedAttribute() { (TableNumberRowsSpannedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-rows-spanned"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNumberRowsSpannedAttribute.DEFAULT_VALUE); } @@ -188,7 +188,7 @@ public void setTableNumberRowsSpannedAttribute(Integer tableNumberRowsSpannedVal TableNumberRowsSpannedAttribute attr = new TableNumberRowsSpannedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberRowsSpannedValue.intValue()); + attr.setValue(tableNumberRowsSpannedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableCellElementBase.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableCellElementBase.java index b28787d718..af891d24c5 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableCellElementBase.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableCellElementBase.java @@ -116,7 +116,7 @@ public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -131,7 +131,7 @@ public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -258,7 +258,7 @@ public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -272,7 +272,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** @@ -373,7 +373,7 @@ public Integer getTableNumberColumnsRepeatedAttribute() { (TableNumberColumnsRepeatedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-columns-repeated"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNumberColumnsRepeatedAttribute.DEFAULT_VALUE); } @@ -388,7 +388,7 @@ public void setTableNumberColumnsRepeatedAttribute(Integer tableNumberColumnsRep TableNumberColumnsRepeatedAttribute attr = new TableNumberColumnsRepeatedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberColumnsRepeatedValue.intValue()); + attr.setValue(tableNumberColumnsRepeatedValue.toString()); } /** @@ -402,7 +402,7 @@ public Boolean getTableProtectAttribute() { TableProtectAttribute attr = (TableProtectAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "protect"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableProtectAttribute.DEFAULT_VALUE); } @@ -416,7 +416,7 @@ public Boolean getTableProtectAttribute() { public void setTableProtectAttribute(Boolean tableProtectValue) { TableProtectAttribute attr = new TableProtectAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableProtectValue.booleanValue()); + attr.setValue(tableProtectValue.toString()); } /** @@ -430,7 +430,7 @@ public Boolean getTableProtectedAttribute() { TableProtectedAttribute attr = (TableProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableProtectedAttribute.DEFAULT_VALUE); } @@ -444,7 +444,7 @@ public Boolean getTableProtectedAttribute() { public void setTableProtectedAttribute(Boolean tableProtectedValue) { TableProtectedAttribute attr = new TableProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableProtectedValue.booleanValue()); + attr.setValue(tableProtectedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableColumnElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableColumnElement.java index be7bfaa72f..eca02f22d6 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableColumnElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableColumnElement.java @@ -113,7 +113,7 @@ public Integer getTableNumberColumnsRepeatedAttribute() { (TableNumberColumnsRepeatedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-columns-repeated"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNumberColumnsRepeatedAttribute.DEFAULT_VALUE); } @@ -128,7 +128,7 @@ public void setTableNumberColumnsRepeatedAttribute(Integer tableNumberColumnsRep TableNumberColumnsRepeatedAttribute attr = new TableNumberColumnsRepeatedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberColumnsRepeatedValue.intValue()); + attr.setValue(tableNumberColumnsRepeatedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableColumnGroupElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableColumnGroupElement.java index 9a34b58a2a..3d198149c4 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableColumnGroupElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableColumnGroupElement.java @@ -72,7 +72,7 @@ public Boolean getTableDisplayAttribute() { TableDisplayAttribute attr = (TableDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayAttribute.DEFAULT_VALUE_TRUE); } @@ -86,7 +86,7 @@ public Boolean getTableDisplayAttribute() { public void setTableDisplayAttribute(Boolean tableDisplayValue) { TableDisplayAttribute attr = new TableDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayValue.booleanValue()); + attr.setValue(tableDisplayValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableElement.java index 11141360af..2206f76363 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableElement.java @@ -93,7 +93,7 @@ public Boolean getTableIsSubTableAttribute() { TableIsSubTableAttribute attr = (TableIsSubTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "is-sub-table"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableIsSubTableAttribute.DEFAULT_VALUE); } @@ -107,7 +107,7 @@ public Boolean getTableIsSubTableAttribute() { public void setTableIsSubTableAttribute(Boolean tableIsSubTableValue) { TableIsSubTableAttribute attr = new TableIsSubTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableIsSubTableValue.booleanValue()); + attr.setValue(tableIsSubTableValue.toString()); } /** @@ -149,7 +149,7 @@ public Boolean getTablePrintAttribute() { TablePrintAttribute attr = (TablePrintAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "print"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TablePrintAttribute.DEFAULT_VALUE); } @@ -163,7 +163,7 @@ public Boolean getTablePrintAttribute() { public void setTablePrintAttribute(Boolean tablePrintValue) { TablePrintAttribute attr = new TablePrintAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tablePrintValue.booleanValue()); + attr.setValue(tablePrintValue.toString()); } /** @@ -205,7 +205,7 @@ public Boolean getTableProtectedAttribute() { TableProtectedAttribute attr = (TableProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableProtectedAttribute.DEFAULT_VALUE); } @@ -219,7 +219,7 @@ public Boolean getTableProtectedAttribute() { public void setTableProtectedAttribute(Boolean tableProtectedValue) { TableProtectedAttribute attr = new TableProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableProtectedValue.booleanValue()); + attr.setValue(tableProtectedValue.toString()); } /** @@ -354,7 +354,7 @@ public Boolean getTableUseBandingColumnsStylesAttribute() { (TableUseBandingColumnsStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "use-banding-columns-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableUseBandingColumnsStylesAttribute.DEFAULT_VALUE); } @@ -369,7 +369,7 @@ public void setTableUseBandingColumnsStylesAttribute(Boolean tableUseBandingColu TableUseBandingColumnsStylesAttribute attr = new TableUseBandingColumnsStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableUseBandingColumnsStylesValue.booleanValue()); + attr.setValue(tableUseBandingColumnsStylesValue.toString()); } /** @@ -384,7 +384,7 @@ public Boolean getTableUseBandingRowsStylesAttribute() { (TableUseBandingRowsStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "use-banding-rows-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableUseBandingRowsStylesAttribute.DEFAULT_VALUE); } @@ -399,7 +399,7 @@ public void setTableUseBandingRowsStylesAttribute(Boolean tableUseBandingRowsSty TableUseBandingRowsStylesAttribute attr = new TableUseBandingRowsStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableUseBandingRowsStylesValue.booleanValue()); + attr.setValue(tableUseBandingRowsStylesValue.toString()); } /** @@ -414,7 +414,7 @@ public Boolean getTableUseFirstColumnStylesAttribute() { (TableUseFirstColumnStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "use-first-column-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableUseFirstColumnStylesAttribute.DEFAULT_VALUE); } @@ -429,7 +429,7 @@ public void setTableUseFirstColumnStylesAttribute(Boolean tableUseFirstColumnSty TableUseFirstColumnStylesAttribute attr = new TableUseFirstColumnStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableUseFirstColumnStylesValue.booleanValue()); + attr.setValue(tableUseFirstColumnStylesValue.toString()); } /** @@ -444,7 +444,7 @@ public Boolean getTableUseFirstRowStylesAttribute() { (TableUseFirstRowStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "use-first-row-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableUseFirstRowStylesAttribute.DEFAULT_VALUE); } @@ -459,7 +459,7 @@ public void setTableUseFirstRowStylesAttribute(Boolean tableUseFirstRowStylesVal TableUseFirstRowStylesAttribute attr = new TableUseFirstRowStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableUseFirstRowStylesValue.booleanValue()); + attr.setValue(tableUseFirstRowStylesValue.toString()); } /** @@ -474,7 +474,7 @@ public Boolean getTableUseLastColumnStylesAttribute() { (TableUseLastColumnStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "use-last-column-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableUseLastColumnStylesAttribute.DEFAULT_VALUE); } @@ -489,7 +489,7 @@ public void setTableUseLastColumnStylesAttribute(Boolean tableUseLastColumnStyle TableUseLastColumnStylesAttribute attr = new TableUseLastColumnStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableUseLastColumnStylesValue.booleanValue()); + attr.setValue(tableUseLastColumnStylesValue.toString()); } /** @@ -504,7 +504,7 @@ public Boolean getTableUseLastRowStylesAttribute() { (TableUseLastRowStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "use-last-row-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableUseLastRowStylesAttribute.DEFAULT_VALUE); } @@ -519,7 +519,7 @@ public void setTableUseLastRowStylesAttribute(Boolean tableUseLastRowStylesValue TableUseLastRowStylesAttribute attr = new TableUseLastRowStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableUseLastRowStylesValue.booleanValue()); + attr.setValue(tableUseLastRowStylesValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableRowElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableRowElement.java index 46af5f546d..1c037bd59c 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableRowElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableRowElement.java @@ -113,7 +113,7 @@ public Integer getTableNumberRowsRepeatedAttribute() { (TableNumberRowsRepeatedAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "number-rows-repeated"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TableNumberRowsRepeatedAttribute.DEFAULT_VALUE); } @@ -128,7 +128,7 @@ public void setTableNumberRowsRepeatedAttribute(Integer tableNumberRowsRepeatedV TableNumberRowsRepeatedAttribute attr = new TableNumberRowsRepeatedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableNumberRowsRepeatedValue.intValue()); + attr.setValue(tableNumberRowsRepeatedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableRowGroupElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableRowGroupElement.java index d7c24ee505..5678ef35ee 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableRowGroupElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableRowGroupElement.java @@ -72,7 +72,7 @@ public Boolean getTableDisplayAttribute() { TableDisplayAttribute attr = (TableDisplayAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "display"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableDisplayAttribute.DEFAULT_VALUE_TRUE); } @@ -86,7 +86,7 @@ public Boolean getTableDisplayAttribute() { public void setTableDisplayAttribute(Boolean tableDisplayValue) { TableDisplayAttribute attr = new TableDisplayAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableDisplayValue.booleanValue()); + attr.setValue(tableDisplayValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTargetRangeAddressElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTargetRangeAddressElement.java index 4e177ee648..76a9dfd44d 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTargetRangeAddressElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTargetRangeAddressElement.java @@ -80,7 +80,7 @@ public Integer getTableColumnAttribute() { TableColumnAttribute attr = (TableColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -94,7 +94,7 @@ public Integer getTableColumnAttribute() { public void setTableColumnAttribute(Integer tableColumnValue) { TableColumnAttribute attr = new TableColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableColumnValue.intValue()); + attr.setValue(tableColumnValue.toString()); } /** @@ -108,7 +108,7 @@ public Integer getTableEndColumnAttribute() { TableEndColumnAttribute attr = (TableEndColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -122,7 +122,7 @@ public Integer getTableEndColumnAttribute() { public void setTableEndColumnAttribute(Integer tableEndColumnValue) { TableEndColumnAttribute attr = new TableEndColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndColumnValue.intValue()); + attr.setValue(tableEndColumnValue.toString()); } /** @@ -136,7 +136,7 @@ public Integer getTableEndRowAttribute() { TableEndRowAttribute attr = (TableEndRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -150,7 +150,7 @@ public Integer getTableEndRowAttribute() { public void setTableEndRowAttribute(Integer tableEndRowValue) { TableEndRowAttribute attr = new TableEndRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndRowValue.intValue()); + attr.setValue(tableEndRowValue.toString()); } /** @@ -164,7 +164,7 @@ public Integer getTableEndTableAttribute() { TableEndTableAttribute attr = (TableEndTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "end-table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -178,7 +178,7 @@ public Integer getTableEndTableAttribute() { public void setTableEndTableAttribute(Integer tableEndTableValue) { TableEndTableAttribute attr = new TableEndTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableEndTableValue.intValue()); + attr.setValue(tableEndTableValue.toString()); } /** @@ -191,7 +191,7 @@ public void setTableEndTableAttribute(Integer tableEndTableValue) { public Integer getTableRowAttribute() { TableRowAttribute attr = (TableRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -205,7 +205,7 @@ public Integer getTableRowAttribute() { public void setTableRowAttribute(Integer tableRowValue) { TableRowAttribute attr = new TableRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableRowValue.intValue()); + attr.setValue(tableRowValue.toString()); } /** @@ -219,7 +219,7 @@ public Integer getTableStartColumnAttribute() { TableStartColumnAttribute attr = (TableStartColumnAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-column"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -233,7 +233,7 @@ public Integer getTableStartColumnAttribute() { public void setTableStartColumnAttribute(Integer tableStartColumnValue) { TableStartColumnAttribute attr = new TableStartColumnAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartColumnValue.intValue()); + attr.setValue(tableStartColumnValue.toString()); } /** @@ -247,7 +247,7 @@ public Integer getTableStartRowAttribute() { TableStartRowAttribute attr = (TableStartRowAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-row"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -261,7 +261,7 @@ public Integer getTableStartRowAttribute() { public void setTableStartRowAttribute(Integer tableStartRowValue) { TableStartRowAttribute attr = new TableStartRowAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartRowValue.intValue()); + attr.setValue(tableStartRowValue.toString()); } /** @@ -275,7 +275,7 @@ public Integer getTableStartTableAttribute() { TableStartTableAttribute attr = (TableStartTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "start-table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -289,7 +289,7 @@ public Integer getTableStartTableAttribute() { public void setTableStartTableAttribute(Integer tableStartTableValue) { TableStartTableAttribute attr = new TableStartTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableStartTableValue.intValue()); + attr.setValue(tableStartTableValue.toString()); } /** @@ -303,7 +303,7 @@ public Integer getTableTableAttribute() { TableTableAttribute attr = (TableTableAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "table"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -317,7 +317,7 @@ public Integer getTableTableAttribute() { public void setTableTableAttribute(Integer tableTableValue) { TableTableAttribute attr = new TableTableAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(tableTableValue.intValue()); + attr.setValue(tableTableValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTrackedChangesElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTrackedChangesElement.java index d52499ab01..103bc4c344 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTrackedChangesElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTrackedChangesElement.java @@ -71,7 +71,7 @@ public Boolean getTableTrackChangesAttribute() { TableTrackChangesAttribute attr = (TableTrackChangesAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "track-changes"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TableTrackChangesAttribute.DEFAULT_VALUE); } @@ -86,7 +86,7 @@ public void setTableTrackChangesAttribute(Boolean tableTrackChangesValue) { TableTrackChangesAttribute attr = new TableTrackChangesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(tableTrackChangesValue.booleanValue()); + attr.setValue(tableTrackChangesValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexElement.java index 39825dfcba..45d31e7d40 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexElement.java @@ -110,7 +110,7 @@ public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -124,7 +124,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexEntryTemplateElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexEntryTemplateElement.java index 30e7e92bf6..77e0990fe4 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexEntryTemplateElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexEntryTemplateElement.java @@ -75,14 +75,14 @@ public OdfName getOdfName() { * *

    Attribute is mandatory. * - * @return - the Integer , the value or null, if the attribute is not - * set and no default value defined. + * @return - the String , the value or null, if the attribute is not set + * and no default value defined. */ - public Integer getTextOutlineLevelAttribute() { + public String getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); - if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + if (attr != null) { + return String.valueOf(attr.getValue()); } return null; } @@ -91,12 +91,12 @@ public Integer getTextOutlineLevelAttribute() { * Sets the value of ODFDOM attribute representation TextOutlineLevelAttribute , See * {@odf.attribute text:outline-level} * - * @param textOutlineLevelValue The type is Integer + * @param textOutlineLevelValue The type is String */ - public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { + public void setTextOutlineLevelAttribute(String textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkElement.java index 60b70ee195..60beb6e52f 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkElement.java @@ -188,7 +188,7 @@ public Boolean getTextMainEntryAttribute() { TextMainEntryAttribute attr = (TextMainEntryAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "main-entry"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextMainEntryAttribute.DEFAULT_VALUE); } @@ -202,7 +202,7 @@ public Boolean getTextMainEntryAttribute() { public void setTextMainEntryAttribute(Boolean textMainEntryValue) { TextMainEntryAttribute attr = new TextMainEntryAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textMainEntryValue.booleanValue()); + attr.setValue(textMainEntryValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkStartElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkStartElement.java index 2c02335e0b..58d469107e 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkStartElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexMarkStartElement.java @@ -217,7 +217,7 @@ public Boolean getTextMainEntryAttribute() { TextMainEntryAttribute attr = (TextMainEntryAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "main-entry"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextMainEntryAttribute.DEFAULT_VALUE); } @@ -231,7 +231,7 @@ public Boolean getTextMainEntryAttribute() { public void setTextMainEntryAttribute(Boolean textMainEntryValue) { TextMainEntryAttribute attr = new TextMainEntryAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textMainEntryValue.booleanValue()); + attr.setValue(textMainEntryValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexSourceElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexSourceElement.java index 03ba8c7c85..6d3e3ff822 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexSourceElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAlphabeticalIndexSourceElement.java @@ -201,7 +201,7 @@ public Boolean getTextAlphabeticalSeparatorsAttribute() { (TextAlphabeticalSeparatorsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "alphabetical-separators"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextAlphabeticalSeparatorsAttribute.DEFAULT_VALUE); } @@ -216,7 +216,7 @@ public void setTextAlphabeticalSeparatorsAttribute(Boolean textAlphabeticalSepar TextAlphabeticalSeparatorsAttribute attr = new TextAlphabeticalSeparatorsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textAlphabeticalSeparatorsValue.booleanValue()); + attr.setValue(textAlphabeticalSeparatorsValue.toString()); } /** @@ -231,7 +231,7 @@ public Boolean getTextCapitalizeEntriesAttribute() { (TextCapitalizeEntriesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "capitalize-entries"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCapitalizeEntriesAttribute.DEFAULT_VALUE); } @@ -246,7 +246,7 @@ public void setTextCapitalizeEntriesAttribute(Boolean textCapitalizeEntriesValue TextCapitalizeEntriesAttribute attr = new TextCapitalizeEntriesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCapitalizeEntriesValue.booleanValue()); + attr.setValue(textCapitalizeEntriesValue.toString()); } /** @@ -260,7 +260,7 @@ public Boolean getTextCombineEntriesAttribute() { TextCombineEntriesAttribute attr = (TextCombineEntriesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "combine-entries"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCombineEntriesAttribute.DEFAULT_VALUE); } @@ -275,7 +275,7 @@ public void setTextCombineEntriesAttribute(Boolean textCombineEntriesValue) { TextCombineEntriesAttribute attr = new TextCombineEntriesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCombineEntriesValue.booleanValue()); + attr.setValue(textCombineEntriesValue.toString()); } /** @@ -291,7 +291,7 @@ public Boolean getTextCombineEntriesWithDashAttribute() { (TextCombineEntriesWithDashAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "combine-entries-with-dash"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCombineEntriesWithDashAttribute.DEFAULT_VALUE); } @@ -306,7 +306,7 @@ public void setTextCombineEntriesWithDashAttribute(Boolean textCombineEntriesWit TextCombineEntriesWithDashAttribute attr = new TextCombineEntriesWithDashAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCombineEntriesWithDashValue.booleanValue()); + attr.setValue(textCombineEntriesWithDashValue.toString()); } /** @@ -321,7 +321,7 @@ public Boolean getTextCombineEntriesWithPpAttribute() { (TextCombineEntriesWithPpAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "combine-entries-with-pp"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCombineEntriesWithPpAttribute.DEFAULT_VALUE); } @@ -336,7 +336,7 @@ public void setTextCombineEntriesWithPpAttribute(Boolean textCombineEntriesWithP TextCombineEntriesWithPpAttribute attr = new TextCombineEntriesWithPpAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCombineEntriesWithPpValue.booleanValue()); + attr.setValue(textCombineEntriesWithPpValue.toString()); } /** @@ -350,7 +350,7 @@ public Boolean getTextCommaSeparatedAttribute() { TextCommaSeparatedAttribute attr = (TextCommaSeparatedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "comma-separated"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCommaSeparatedAttribute.DEFAULT_VALUE); } @@ -365,7 +365,7 @@ public void setTextCommaSeparatedAttribute(Boolean textCommaSeparatedValue) { TextCommaSeparatedAttribute attr = new TextCommaSeparatedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCommaSeparatedValue.booleanValue()); + attr.setValue(textCommaSeparatedValue.toString()); } /** @@ -379,7 +379,7 @@ public Boolean getTextIgnoreCaseAttribute() { TextIgnoreCaseAttribute attr = (TextIgnoreCaseAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "ignore-case"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextIgnoreCaseAttribute.DEFAULT_VALUE); } @@ -393,7 +393,7 @@ public Boolean getTextIgnoreCaseAttribute() { public void setTextIgnoreCaseAttribute(Boolean textIgnoreCaseValue) { TextIgnoreCaseAttribute attr = new TextIgnoreCaseAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textIgnoreCaseValue.booleanValue()); + attr.setValue(textIgnoreCaseValue.toString()); } /** @@ -467,7 +467,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRelativeTabStopPositionAttribute.DEFAULT_VALUE); } @@ -482,7 +482,7 @@ public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopP TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -526,7 +526,7 @@ public Boolean getTextUseKeysAsEntriesAttribute() { (TextUseKeysAsEntriesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-keys-as-entries"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseKeysAsEntriesAttribute.DEFAULT_VALUE); } @@ -541,20 +541,20 @@ public void setTextUseKeysAsEntriesAttribute(Boolean textUseKeysAsEntriesValue) TextUseKeysAsEntriesAttribute attr = new TextUseKeysAsEntriesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseKeysAsEntriesValue.booleanValue()); + attr.setValue(textUseKeysAsEntriesValue.toString()); } /** * Create child element {@odf.element text:alphabetical-index-entry-template}. * - * @param textOutlineLevelValue the Integer value of TextOutlineLevelAttribute + * @param textOutlineLevelValue the String value of TextOutlineLevelAttribute * , see {@odf.attribute text:outline-level} at specification * @param textStyleNameValue the String value of TextStyleNameAttribute, * see {@odf.attribute text:style-name} at specification * @return the element {@odf.element text:alphabetical-index-entry-template} */ public TextAlphabeticalIndexEntryTemplateElement newTextAlphabeticalIndexEntryTemplateElement( - int textOutlineLevelValue, String textStyleNameValue) { + String textOutlineLevelValue, String textStyleNameValue) { TextAlphabeticalIndexEntryTemplateElement textAlphabeticalIndexEntryTemplate = ((OdfFileDom) this.ownerDocument) .newOdfElement(TextAlphabeticalIndexEntryTemplateElement.class); diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAuthorInitialsElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAuthorInitialsElement.java index 93353dbfa1..4600af1b6d 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAuthorInitialsElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAuthorInitialsElement.java @@ -71,7 +71,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAuthorNameElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAuthorNameElement.java index 1f7ffe0fcf..95c2290789 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAuthorNameElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAuthorNameElement.java @@ -71,7 +71,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextBibliographyConfigurationElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextBibliographyConfigurationElement.java index 0d5dc54509..5d16f0085a 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextBibliographyConfigurationElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextBibliographyConfigurationElement.java @@ -194,7 +194,7 @@ public Boolean getTextNumberedEntriesAttribute() { (TextNumberedEntriesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "numbered-entries"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextNumberedEntriesAttribute.DEFAULT_VALUE); } @@ -209,7 +209,7 @@ public void setTextNumberedEntriesAttribute(Boolean textNumberedEntriesValue) { TextNumberedEntriesAttribute attr = new TextNumberedEntriesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textNumberedEntriesValue.booleanValue()); + attr.setValue(textNumberedEntriesValue.toString()); } /** @@ -281,7 +281,7 @@ public Boolean getTextSortByPositionAttribute() { (TextSortByPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "sort-by-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextSortByPositionAttribute.DEFAULT_VALUE); } @@ -296,7 +296,7 @@ public void setTextSortByPositionAttribute(Boolean textSortByPositionValue) { TextSortByPositionAttribute attr = new TextSortByPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textSortByPositionValue.booleanValue()); + attr.setValue(textSortByPositionValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextBibliographyElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextBibliographyElement.java index 7499498401..94f89ea5b2 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextBibliographyElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextBibliographyElement.java @@ -110,7 +110,7 @@ public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -124,7 +124,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextChapterElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextChapterElement.java index 0a273283a3..717faf7df1 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextChapterElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextChapterElement.java @@ -103,7 +103,7 @@ public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -117,7 +117,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextCharacterCountElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextCharacterCountElement.java index 47712c09f2..f9b409e8fb 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextCharacterCountElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextCharacterCountElement.java @@ -103,7 +103,7 @@ public Boolean getStyleNumLetterSyncAttribute() { (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -118,7 +118,7 @@ public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextConditionalTextElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextConditionalTextElement.java index dcca6fd98f..c9f9ea080a 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextConditionalTextElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextConditionalTextElement.java @@ -104,7 +104,7 @@ public Boolean getTextCurrentValueAttribute() { TextCurrentValueAttribute attr = (TextCurrentValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "current-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -118,7 +118,7 @@ public Boolean getTextCurrentValueAttribute() { public void setTextCurrentValueAttribute(Boolean textCurrentValueValue) { TextCurrentValueAttribute attr = new TextCurrentValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCurrentValueValue.booleanValue()); + attr.setValue(textCurrentValueValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextCreationDateElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextCreationDateElement.java index d1f8092200..65fac9e8ae 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextCreationDateElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextCreationDateElement.java @@ -131,7 +131,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -145,7 +145,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextCreationTimeElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextCreationTimeElement.java index 61200dff06..680723038f 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextCreationTimeElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextCreationTimeElement.java @@ -103,7 +103,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -117,7 +117,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextCreatorElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextCreatorElement.java index 9f154bbf5e..6225a8e052 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextCreatorElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextCreatorElement.java @@ -70,7 +70,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -84,7 +84,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowNumberElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowNumberElement.java index 530fae72b4..2dd05cc000 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowNumberElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowNumberElement.java @@ -109,7 +109,7 @@ public Boolean getStyleNumLetterSyncAttribute() { (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -124,7 +124,7 @@ public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -217,14 +217,14 @@ public void setTextTableTypeAttribute(String textTableTypeValue) { * Receives the value of the ODFDOM attribute representation TextValueAttribute , See * {@odf.attribute text:value} * - * @return - the String , the value or null, if the attribute is not set - * and no default value defined. + * @return - the Integer , the value or null, if the attribute is not + * set and no default value defined. */ - public String getTextValueAttribute() { + public Integer getTextValueAttribute() { TextValueAttribute attr = (TextValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "value"); - if (attr != null) { - return String.valueOf(attr.getValue()); + if (attr != null && !attr.getValue().isEmpty()) { + return Integer.valueOf(attr.getValue()); } return null; } @@ -233,12 +233,12 @@ public String getTextValueAttribute() { * Sets the value of ODFDOM attribute representation TextValueAttribute , See * {@odf.attribute text:value} * - * @param textValueValue The type is String + * @param textValueValue The type is Integer */ - public void setTextValueAttribute(String textValueValue) { + public void setTextValueAttribute(Integer textValueValue) { TextValueAttribute attr = new TextValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setValue(textValueValue); + attr.setValue(textValueValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowSelectElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowSelectElement.java index 282d8ae989..4ae3aba1e7 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowSelectElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDatabaseRowSelectElement.java @@ -133,7 +133,7 @@ public Integer getTextRowNumberAttribute() { TextRowNumberAttribute attr = (TextRowNumberAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "row-number"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -147,7 +147,7 @@ public Integer getTextRowNumberAttribute() { public void setTextRowNumberAttribute(Integer textRowNumberValue) { TextRowNumberAttribute attr = new TextRowNumberAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textRowNumberValue.intValue()); + attr.setValue(textRowNumberValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDateElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDateElement.java index f7b9ce4363..02d147dd69 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDateElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDateElement.java @@ -159,7 +159,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -173,7 +173,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDdeConnectionDeclElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDdeConnectionDeclElement.java index e375d59389..a7514be472 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDdeConnectionDeclElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDdeConnectionDeclElement.java @@ -77,7 +77,7 @@ public Boolean getOfficeAutomaticUpdateAttribute() { (OfficeAutomaticUpdateAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "automatic-update"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(OfficeAutomaticUpdateAttribute.DEFAULT_VALUE); } @@ -92,7 +92,7 @@ public void setOfficeAutomaticUpdateAttribute(Boolean officeAutomaticUpdateValue OfficeAutomaticUpdateAttribute attr = new OfficeAutomaticUpdateAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeAutomaticUpdateValue.booleanValue()); + attr.setValue(officeAutomaticUpdateValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDescriptionElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDescriptionElement.java index 39d8f0ff87..ab76ce43e7 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDescriptionElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDescriptionElement.java @@ -71,7 +71,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextEditingCyclesElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextEditingCyclesElement.java index c564e164d6..9653263710 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextEditingCyclesElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextEditingCyclesElement.java @@ -71,7 +71,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextEditingDurationElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextEditingDurationElement.java index 83a2b80f9a..8710dc0180 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextEditingDurationElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextEditingDurationElement.java @@ -131,7 +131,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -145,7 +145,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextExpressionElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextExpressionElement.java index f5296c40d8..6aa727dcce 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextExpressionElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextExpressionElement.java @@ -80,7 +80,7 @@ public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -95,7 +95,7 @@ public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -224,7 +224,7 @@ public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -238,7 +238,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextFileNameElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextFileNameElement.java index 3b1b6c474d..0735dbbf8e 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextFileNameElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextFileNameElement.java @@ -100,7 +100,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -114,7 +114,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextHElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextHElement.java index 6bfbc5a296..45bdeb8ca0 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextHElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextHElement.java @@ -82,7 +82,7 @@ public Boolean getTextIsListHeaderAttribute() { TextIsListHeaderAttribute attr = (TextIsListHeaderAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "is-list-header"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextIsListHeaderAttribute.DEFAULT_VALUE); } @@ -96,7 +96,7 @@ public Boolean getTextIsListHeaderAttribute() { public void setTextIsListHeaderAttribute(Boolean textIsListHeaderValue) { TextIsListHeaderAttribute attr = new TextIsListHeaderAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textIsListHeaderValue.booleanValue()); + attr.setValue(textIsListHeaderValue.toString()); } /** @@ -112,7 +112,7 @@ public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -126,7 +126,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** @@ -141,7 +141,7 @@ public Boolean getTextRestartNumberingAttribute() { (TextRestartNumberingAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "restart-numbering"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRestartNumberingAttribute.DEFAULT_VALUE); } @@ -156,7 +156,7 @@ public void setTextRestartNumberingAttribute(Boolean textRestartNumberingValue) TextRestartNumberingAttribute attr = new TextRestartNumberingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRestartNumberingValue.booleanValue()); + attr.setValue(textRestartNumberingValue.toString()); } /** @@ -170,7 +170,7 @@ public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -184,7 +184,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextHiddenParagraphElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextHiddenParagraphElement.java index 8d6084c4bd..acd0594ece 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextHiddenParagraphElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextHiddenParagraphElement.java @@ -102,7 +102,7 @@ public Boolean getTextIsHiddenAttribute() { TextIsHiddenAttribute attr = (TextIsHiddenAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "is-hidden"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -116,7 +116,7 @@ public Boolean getTextIsHiddenAttribute() { public void setTextIsHiddenAttribute(Boolean textIsHiddenValue) { TextIsHiddenAttribute attr = new TextIsHiddenAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textIsHiddenValue.booleanValue()); + attr.setValue(textIsHiddenValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextHiddenTextElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextHiddenTextElement.java index 3f16cad208..003ace8a0f 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextHiddenTextElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextHiddenTextElement.java @@ -103,7 +103,7 @@ public Boolean getTextIsHiddenAttribute() { TextIsHiddenAttribute attr = (TextIsHiddenAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "is-hidden"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -117,7 +117,7 @@ public Boolean getTextIsHiddenAttribute() { public void setTextIsHiddenAttribute(Boolean textIsHiddenValue) { TextIsHiddenAttribute attr = new TextIsHiddenAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textIsHiddenValue.booleanValue()); + attr.setValue(textIsHiddenValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexElement.java index 75e31127cc..eac14da46e 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexElement.java @@ -110,7 +110,7 @@ public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -124,7 +124,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexSourceElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexSourceElement.java index 5d35c13ea7..2cf89734e1 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexSourceElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextIllustrationIndexSourceElement.java @@ -166,7 +166,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRelativeTabStopPositionAttribute.DEFAULT_VALUE); } @@ -181,7 +181,7 @@ public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopP TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -195,7 +195,7 @@ public Boolean getTextUseCaptionAttribute() { TextUseCaptionAttribute attr = (TextUseCaptionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-caption"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseCaptionAttribute.DEFAULT_VALUE); } @@ -209,7 +209,7 @@ public Boolean getTextUseCaptionAttribute() { public void setTextUseCaptionAttribute(Boolean textUseCaptionValue) { TextUseCaptionAttribute attr = new TextUseCaptionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseCaptionValue.booleanValue()); + attr.setValue(textUseCaptionValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextImageCountElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextImageCountElement.java index e52ce78ec6..a6cb4ceafd 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextImageCountElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextImageCountElement.java @@ -103,7 +103,7 @@ public Boolean getStyleNumLetterSyncAttribute() { (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -118,7 +118,7 @@ public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextIndexEntryChapterElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextIndexEntryChapterElement.java index 36858ec736..b663766729 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextIndexEntryChapterElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextIndexEntryChapterElement.java @@ -107,7 +107,7 @@ public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -121,7 +121,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextIndexSourceStylesElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextIndexSourceStylesElement.java index 4e221a0b9f..c6cdabdccf 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextIndexSourceStylesElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextIndexSourceStylesElement.java @@ -74,7 +74,7 @@ public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -88,7 +88,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextIndexTitleElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextIndexTitleElement.java index 89d9d1055b..0ce24e87fa 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextIndexTitleElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextIndexTitleElement.java @@ -129,7 +129,7 @@ public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -143,7 +143,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextInitialCreatorElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextInitialCreatorElement.java index 36a3f39859..738e658615 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextInitialCreatorElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextInitialCreatorElement.java @@ -71,7 +71,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextKeywordsElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextKeywordsElement.java index 67978e8f04..6d44f3fb06 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextKeywordsElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextKeywordsElement.java @@ -70,7 +70,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -84,7 +84,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextLabelElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextLabelElement.java index b3e11f881c..49c05f1349 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextLabelElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextLabelElement.java @@ -72,7 +72,7 @@ public Boolean getTextCurrentSelectedAttribute() { (TextCurrentSelectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "current-selected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -87,7 +87,7 @@ public void setTextCurrentSelectedAttribute(Boolean textCurrentSelectedValue) { TextCurrentSelectedAttribute attr = new TextCurrentSelectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCurrentSelectedValue.booleanValue()); + attr.setValue(textCurrentSelectedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingConfigurationElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingConfigurationElement.java index fcae21b23b..7ce9223628 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingConfigurationElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingConfigurationElement.java @@ -117,7 +117,7 @@ public Boolean getStyleNumLetterSyncAttribute() { (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -132,7 +132,7 @@ public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -147,7 +147,7 @@ public Boolean getTextCountEmptyLinesAttribute() { (TextCountEmptyLinesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "count-empty-lines"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCountEmptyLinesAttribute.DEFAULT_VALUE); } @@ -162,7 +162,7 @@ public void setTextCountEmptyLinesAttribute(Boolean textCountEmptyLinesValue) { TextCountEmptyLinesAttribute attr = new TextCountEmptyLinesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCountEmptyLinesValue.booleanValue()); + attr.setValue(textCountEmptyLinesValue.toString()); } /** @@ -177,7 +177,7 @@ public Boolean getTextCountInTextBoxesAttribute() { (TextCountInTextBoxesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "count-in-text-boxes"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCountInTextBoxesAttribute.DEFAULT_VALUE); } @@ -192,7 +192,7 @@ public void setTextCountInTextBoxesAttribute(Boolean textCountInTextBoxesValue) TextCountInTextBoxesAttribute attr = new TextCountInTextBoxesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCountInTextBoxesValue.booleanValue()); + attr.setValue(textCountInTextBoxesValue.toString()); } /** @@ -206,7 +206,7 @@ public Integer getTextIncrementAttribute() { TextIncrementAttribute attr = (TextIncrementAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "increment"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -220,7 +220,7 @@ public Integer getTextIncrementAttribute() { public void setTextIncrementAttribute(Integer textIncrementValue) { TextIncrementAttribute attr = new TextIncrementAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textIncrementValue.intValue()); + attr.setValue(textIncrementValue.toString()); } /** @@ -234,7 +234,7 @@ public Boolean getTextNumberLinesAttribute() { TextNumberLinesAttribute attr = (TextNumberLinesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "number-lines"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextNumberLinesAttribute.DEFAULT_VALUE); } @@ -248,7 +248,7 @@ public Boolean getTextNumberLinesAttribute() { public void setTextNumberLinesAttribute(Boolean textNumberLinesValue) { TextNumberLinesAttribute attr = new TextNumberLinesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textNumberLinesValue.booleanValue()); + attr.setValue(textNumberLinesValue.toString()); } /** @@ -319,7 +319,7 @@ public Boolean getTextRestartOnPageAttribute() { TextRestartOnPageAttribute attr = (TextRestartOnPageAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "restart-on-page"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRestartOnPageAttribute.DEFAULT_VALUE); } @@ -334,7 +334,7 @@ public void setTextRestartOnPageAttribute(Boolean textRestartOnPageValue) { TextRestartOnPageAttribute attr = new TextRestartOnPageAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRestartOnPageValue.booleanValue()); + attr.setValue(textRestartOnPageValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingSeparatorElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingSeparatorElement.java index e86e07c126..e5366d6b48 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingSeparatorElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextLinenumberingSeparatorElement.java @@ -72,7 +72,7 @@ public Integer getTextIncrementAttribute() { TextIncrementAttribute attr = (TextIncrementAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "increment"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -86,7 +86,7 @@ public Integer getTextIncrementAttribute() { public void setTextIncrementAttribute(Integer textIncrementValue) { TextIncrementAttribute attr = new TextIncrementAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textIncrementValue.intValue()); + attr.setValue(textIncrementValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextListElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextListElement.java index 4eb4c002c5..c7f46feffa 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextListElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextListElement.java @@ -102,7 +102,7 @@ public Boolean getTextContinueNumberingAttribute() { (TextContinueNumberingAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "continue-numbering"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -117,7 +117,7 @@ public void setTextContinueNumberingAttribute(Boolean textContinueNumberingValue TextContinueNumberingAttribute attr = new TextContinueNumberingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textContinueNumberingValue.booleanValue()); + attr.setValue(textContinueNumberingValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextListItemElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextListItemElement.java index 1af2461dd9..43e1b7f5cb 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextListItemElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextListItemElement.java @@ -73,7 +73,7 @@ public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -87,7 +87,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleElementBase.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleElementBase.java index 2f50e237b3..9c6baef887 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleElementBase.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleElementBase.java @@ -59,7 +59,7 @@ public Integer getTextLevelAttribute() { TextLevelAttribute attr = (TextLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -73,7 +73,7 @@ public Integer getTextLevelAttribute() { public void setTextLevelAttribute(Integer textLevelValue) { TextLevelAttribute attr = new TextLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textLevelValue.intValue()); + attr.setValue(textLevelValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleNumberElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleNumberElement.java index fc33ac26c7..6836aa1950 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleNumberElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextListLevelStyleNumberElement.java @@ -109,7 +109,7 @@ public Boolean getStyleNumLetterSyncAttribute() { (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -124,7 +124,7 @@ public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -194,7 +194,7 @@ public Integer getTextDisplayLevelsAttribute() { TextDisplayLevelsAttribute attr = (TextDisplayLevelsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "display-levels"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextDisplayLevelsAttribute.DEFAULT_VALUE); } @@ -209,7 +209,7 @@ public void setTextDisplayLevelsAttribute(Integer textDisplayLevelsValue) { TextDisplayLevelsAttribute attr = new TextDisplayLevelsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textDisplayLevelsValue.intValue()); + attr.setValue(textDisplayLevelsValue.toString()); } /** @@ -223,7 +223,7 @@ public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextStartValueAttribute.DEFAULT_VALUE); } @@ -237,7 +237,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextListStyleElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextListStyleElement.java index 1c06c2fb41..ac31bf0238 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextListStyleElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextListStyleElement.java @@ -132,7 +132,7 @@ public Boolean getTextConsecutiveNumberingAttribute() { (TextConsecutiveNumberingAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "consecutive-numbering"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextConsecutiveNumberingAttribute.DEFAULT_VALUE); } @@ -147,7 +147,7 @@ public void setTextConsecutiveNumberingAttribute(Boolean textConsecutiveNumberin TextConsecutiveNumberingAttribute attr = new TextConsecutiveNumberingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textConsecutiveNumberingValue.booleanValue()); + attr.setValue(textConsecutiveNumberingValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextModificationDateElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextModificationDateElement.java index 112f8d78ae..6778cb0e2d 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextModificationDateElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextModificationDateElement.java @@ -131,7 +131,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -145,7 +145,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextModificationTimeElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextModificationTimeElement.java index ff8a8c7770..0b38c37049 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextModificationTimeElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextModificationTimeElement.java @@ -103,7 +103,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -117,7 +117,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextNotesConfigurationElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextNotesConfigurationElement.java index 830cb76400..2e2ce5a706 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextNotesConfigurationElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextNotesConfigurationElement.java @@ -114,7 +114,7 @@ public Boolean getStyleNumLetterSyncAttribute() { (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -129,7 +129,7 @@ public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -409,7 +409,7 @@ public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextStartValueAttribute.DEFAULT_VALUE); } @@ -423,7 +423,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextNumberedParagraphElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextNumberedParagraphElement.java index 5d09a77048..f332bf2596 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextNumberedParagraphElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextNumberedParagraphElement.java @@ -82,7 +82,7 @@ public Boolean getTextContinueNumberingAttribute() { (TextContinueNumberingAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "continue-numbering"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -97,7 +97,7 @@ public void setTextContinueNumberingAttribute(Boolean textContinueNumberingValue TextContinueNumberingAttribute attr = new TextContinueNumberingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textContinueNumberingValue.booleanValue()); + attr.setValue(textContinueNumberingValue.toString()); } /** @@ -111,7 +111,7 @@ public Integer getTextLevelAttribute() { TextLevelAttribute attr = (TextLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextLevelAttribute.DEFAULT_VALUE); } @@ -125,7 +125,7 @@ public Integer getTextLevelAttribute() { public void setTextLevelAttribute(Integer textLevelValue) { TextLevelAttribute attr = new TextLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textLevelValue.intValue()); + attr.setValue(textLevelValue.toString()); } /** @@ -169,7 +169,7 @@ public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -183,7 +183,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextObjectCountElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextObjectCountElement.java index c6132944d6..60d967bf47 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextObjectCountElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextObjectCountElement.java @@ -103,7 +103,7 @@ public Boolean getStyleNumLetterSyncAttribute() { (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -118,7 +118,7 @@ public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexElement.java index 4eebb3ec90..dfe4a47703 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexElement.java @@ -110,7 +110,7 @@ public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -124,7 +124,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexSourceElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexSourceElement.java index e5940c2b18..3bc2e441b3 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexSourceElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextObjectIndexSourceElement.java @@ -108,7 +108,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRelativeTabStopPositionAttribute.DEFAULT_VALUE); } @@ -123,7 +123,7 @@ public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopP TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -138,7 +138,7 @@ public Boolean getTextUseChartObjectsAttribute() { (TextUseChartObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-chart-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseChartObjectsAttribute.DEFAULT_VALUE); } @@ -153,7 +153,7 @@ public void setTextUseChartObjectsAttribute(Boolean textUseChartObjectsValue) { TextUseChartObjectsAttribute attr = new TextUseChartObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseChartObjectsValue.booleanValue()); + attr.setValue(textUseChartObjectsValue.toString()); } /** @@ -168,7 +168,7 @@ public Boolean getTextUseDrawObjectsAttribute() { (TextUseDrawObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-draw-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseDrawObjectsAttribute.DEFAULT_VALUE); } @@ -183,7 +183,7 @@ public void setTextUseDrawObjectsAttribute(Boolean textUseDrawObjectsValue) { TextUseDrawObjectsAttribute attr = new TextUseDrawObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseDrawObjectsValue.booleanValue()); + attr.setValue(textUseDrawObjectsValue.toString()); } /** @@ -198,7 +198,7 @@ public Boolean getTextUseMathObjectsAttribute() { (TextUseMathObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-math-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseMathObjectsAttribute.DEFAULT_VALUE); } @@ -213,7 +213,7 @@ public void setTextUseMathObjectsAttribute(Boolean textUseMathObjectsValue) { TextUseMathObjectsAttribute attr = new TextUseMathObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseMathObjectsValue.booleanValue()); + attr.setValue(textUseMathObjectsValue.toString()); } /** @@ -228,7 +228,7 @@ public Boolean getTextUseOtherObjectsAttribute() { (TextUseOtherObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-other-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseOtherObjectsAttribute.DEFAULT_VALUE); } @@ -243,7 +243,7 @@ public void setTextUseOtherObjectsAttribute(Boolean textUseOtherObjectsValue) { TextUseOtherObjectsAttribute attr = new TextUseOtherObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseOtherObjectsValue.booleanValue()); + attr.setValue(textUseOtherObjectsValue.toString()); } /** @@ -258,7 +258,7 @@ public Boolean getTextUseSpreadsheetObjectsAttribute() { (TextUseSpreadsheetObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-spreadsheet-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseSpreadsheetObjectsAttribute.DEFAULT_VALUE); } @@ -273,7 +273,7 @@ public void setTextUseSpreadsheetObjectsAttribute(Boolean textUseSpreadsheetObje TextUseSpreadsheetObjectsAttribute attr = new TextUseSpreadsheetObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseSpreadsheetObjectsValue.booleanValue()); + attr.setValue(textUseSpreadsheetObjectsValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextOutlineLevelStyleElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextOutlineLevelStyleElement.java index ee82092489..9356252bc9 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextOutlineLevelStyleElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextOutlineLevelStyleElement.java @@ -112,7 +112,7 @@ public Boolean getStyleNumLetterSyncAttribute() { (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -127,7 +127,7 @@ public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -197,7 +197,7 @@ public Integer getTextDisplayLevelsAttribute() { TextDisplayLevelsAttribute attr = (TextDisplayLevelsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "display-levels"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextDisplayLevelsAttribute.DEFAULT_VALUE); } @@ -212,7 +212,7 @@ public void setTextDisplayLevelsAttribute(Integer textDisplayLevelsValue) { TextDisplayLevelsAttribute attr = new TextDisplayLevelsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textDisplayLevelsValue.intValue()); + attr.setValue(textDisplayLevelsValue.toString()); } /** @@ -228,7 +228,7 @@ public Integer getTextLevelAttribute() { TextLevelAttribute attr = (TextLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -242,7 +242,7 @@ public Integer getTextLevelAttribute() { public void setTextLevelAttribute(Integer textLevelValue) { TextLevelAttribute attr = new TextLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textLevelValue.intValue()); + attr.setValue(textLevelValue.toString()); } /** @@ -256,7 +256,7 @@ public Integer getTextStartValueAttribute() { TextStartValueAttribute attr = (TextStartValueAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "start-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextStartValueAttribute.DEFAULT_VALUE); } @@ -270,7 +270,7 @@ public Integer getTextStartValueAttribute() { public void setTextStartValueAttribute(Integer textStartValueValue) { TextStartValueAttribute attr = new TextStartValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textStartValueValue.intValue()); + attr.setValue(textStartValueValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextPageCountElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextPageCountElement.java index dd293f2eab..aa4fa74175 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextPageCountElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextPageCountElement.java @@ -103,7 +103,7 @@ public Boolean getStyleNumLetterSyncAttribute() { (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -118,7 +118,7 @@ public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextPageNumberElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextPageNumberElement.java index 6c80c2a61a..438768b1b8 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextPageNumberElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextPageNumberElement.java @@ -106,7 +106,7 @@ public Boolean getStyleNumLetterSyncAttribute() { (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -121,7 +121,7 @@ public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** @@ -135,7 +135,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -149,7 +149,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** @@ -163,7 +163,7 @@ public Integer getTextPageAdjustAttribute() { TextPageAdjustAttribute attr = (TextPageAdjustAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "page-adjust"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -177,7 +177,7 @@ public Integer getTextPageAdjustAttribute() { public void setTextPageAdjustAttribute(Integer textPageAdjustValue) { TextPageAdjustAttribute attr = new TextPageAdjustAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textPageAdjustValue.intValue()); + attr.setValue(textPageAdjustValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextPageVariableGetElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextPageVariableGetElement.java index 213a88e21f..8973a9c11e 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextPageVariableGetElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextPageVariableGetElement.java @@ -103,7 +103,7 @@ public Boolean getStyleNumLetterSyncAttribute() { (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -118,7 +118,7 @@ public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextPageVariableSetElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextPageVariableSetElement.java index e7b731f88d..cc28862651 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextPageVariableSetElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextPageVariableSetElement.java @@ -72,7 +72,7 @@ public Boolean getTextActiveAttribute() { TextActiveAttribute attr = (TextActiveAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "active"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -86,7 +86,7 @@ public Boolean getTextActiveAttribute() { public void setTextActiveAttribute(Boolean textActiveValue) { TextActiveAttribute attr = new TextActiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textActiveValue.booleanValue()); + attr.setValue(textActiveValue.toString()); } /** @@ -100,7 +100,7 @@ public Integer getTextPageAdjustAttribute() { TextPageAdjustAttribute attr = (TextPageAdjustAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "page-adjust"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -114,7 +114,7 @@ public Integer getTextPageAdjustAttribute() { public void setTextPageAdjustAttribute(Integer textPageAdjustValue) { TextPageAdjustAttribute attr = new TextPageAdjustAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textPageAdjustValue.intValue()); + attr.setValue(textPageAdjustValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextParagraphCountElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextParagraphCountElement.java index 0edb09c745..8c043b6ec8 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextParagraphCountElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextParagraphCountElement.java @@ -103,7 +103,7 @@ public Boolean getStyleNumLetterSyncAttribute() { (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -118,7 +118,7 @@ public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextPrintDateElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextPrintDateElement.java index e1369942c4..6f77c94be9 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextPrintDateElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextPrintDateElement.java @@ -131,7 +131,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -145,7 +145,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextPrintTimeElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextPrintTimeElement.java index d02c030986..f7c3e8883c 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextPrintTimeElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextPrintTimeElement.java @@ -103,7 +103,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -117,7 +117,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextPrintedByElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextPrintedByElement.java index a417de54bf..1afb3b1b92 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextPrintedByElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextPrintedByElement.java @@ -71,7 +71,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSElement.java index 7ac13d3172..5afc4db281 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSElement.java @@ -70,7 +70,7 @@ public OdfName getOdfName() { public Integer getTextCAttribute() { TextCAttribute attr = (TextCAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "c"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return Integer.valueOf(TextCAttribute.DEFAULT_VALUE); } @@ -84,7 +84,7 @@ public Integer getTextCAttribute() { public void setTextCAttribute(Integer textCValue) { TextCAttribute attr = new TextCAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textCValue.intValue()); + attr.setValue(textCValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSectionElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSectionElement.java index 529cf691a8..3987fb85a1 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSectionElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSectionElement.java @@ -189,7 +189,7 @@ public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -203,7 +203,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderCityElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderCityElement.java index c340228f57..0957d7234d 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderCityElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderCityElement.java @@ -71,7 +71,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderCompanyElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderCompanyElement.java index ec0baea818..fbf9c6f38f 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderCompanyElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderCompanyElement.java @@ -71,7 +71,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderCountryElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderCountryElement.java index 373f683bdf..e9a6fc4a2d 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderCountryElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderCountryElement.java @@ -71,7 +71,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderEmailElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderEmailElement.java index b9f42e405e..828522c0d9 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderEmailElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderEmailElement.java @@ -71,7 +71,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderFaxElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderFaxElement.java index cdb70b51e8..c7021ec1e8 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderFaxElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderFaxElement.java @@ -71,7 +71,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderFirstnameElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderFirstnameElement.java index 517c8b1094..15e6d9ef0e 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderFirstnameElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderFirstnameElement.java @@ -71,7 +71,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderInitialsElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderInitialsElement.java index d434c2828d..cfa29e66d1 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderInitialsElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderInitialsElement.java @@ -71,7 +71,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderLastnameElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderLastnameElement.java index 22ceb39a10..47a355aeaf 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderLastnameElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderLastnameElement.java @@ -71,7 +71,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderPhonePrivateElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderPhonePrivateElement.java index 4da9f66569..2555585852 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderPhonePrivateElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderPhonePrivateElement.java @@ -72,7 +72,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -86,7 +86,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderPhoneWorkElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderPhoneWorkElement.java index c6a5396505..4d474ff441 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderPhoneWorkElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderPhoneWorkElement.java @@ -71,7 +71,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderPositionElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderPositionElement.java index 5a7a50ccbe..0e709d8878 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderPositionElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderPositionElement.java @@ -71,7 +71,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderPostalCodeElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderPostalCodeElement.java index 4b17294064..3e45f530cd 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderPostalCodeElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderPostalCodeElement.java @@ -71,7 +71,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderStateOrProvinceElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderStateOrProvinceElement.java index 78e4e38069..a172428e15 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderStateOrProvinceElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderStateOrProvinceElement.java @@ -72,7 +72,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -86,7 +86,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderStreetElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderStreetElement.java index 1af30e13ea..5688112c74 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderStreetElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderStreetElement.java @@ -71,7 +71,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderTitleElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderTitleElement.java index 3d63a9d229..6e0771aabb 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderTitleElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSenderTitleElement.java @@ -71,7 +71,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSequenceDeclElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSequenceDeclElement.java index f07a1d3246..7f4d2f0319 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSequenceDeclElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSequenceDeclElement.java @@ -76,7 +76,7 @@ public Integer getTextDisplayOutlineLevelAttribute() { (TextDisplayOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "display-outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -91,7 +91,7 @@ public void setTextDisplayOutlineLevelAttribute(Integer textDisplayOutlineLevelV TextDisplayOutlineLevelAttribute attr = new TextDisplayOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textDisplayOutlineLevelValue.intValue()); + attr.setValue(textDisplayOutlineLevelValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSequenceElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSequenceElement.java index 2da2194fb5..34cf01271d 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSequenceElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSequenceElement.java @@ -105,7 +105,7 @@ public Boolean getStyleNumLetterSyncAttribute() { (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -120,7 +120,7 @@ public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSortKeyElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSortKeyElement.java index dc7f51de3e..e6b7851e01 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSortKeyElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSortKeyElement.java @@ -100,7 +100,7 @@ public Boolean getTextSortAscendingAttribute() { TextSortAscendingAttribute attr = (TextSortAscendingAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "sort-ascending"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextSortAscendingAttribute.DEFAULT_VALUE); } @@ -115,7 +115,7 @@ public void setTextSortAscendingAttribute(Boolean textSortAscendingValue) { TextSortAscendingAttribute attr = new TextSortAscendingAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textSortAscendingValue.booleanValue()); + attr.setValue(textSortAscendingValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSubjectElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSubjectElement.java index 5b38c4cddc..2186823768 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSubjectElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextSubjectElement.java @@ -70,7 +70,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -84,7 +84,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTabElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTabElement.java index 1d9176fdf3..896e3e2b46 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTabElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTabElement.java @@ -70,7 +70,7 @@ public Integer getTextTabRefAttribute() { TextTabRefAttribute attr = (TextTabRefAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "tab-ref"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -84,7 +84,7 @@ public Integer getTextTabRefAttribute() { public void setTextTabRefAttribute(Integer textTabRefValue) { TextTabRefAttribute attr = new TextTabRefAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textTabRefValue.intValue()); + attr.setValue(textTabRefValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTableCountElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTableCountElement.java index bb22ecbd24..0ee155e890 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTableCountElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTableCountElement.java @@ -103,7 +103,7 @@ public Boolean getStyleNumLetterSyncAttribute() { (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -118,7 +118,7 @@ public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTableIndexElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTableIndexElement.java index a741e99193..5dd421735e 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTableIndexElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTableIndexElement.java @@ -110,7 +110,7 @@ public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -124,7 +124,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTableIndexSourceElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTableIndexSourceElement.java index b5e4df5c3b..b9f23088df 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTableIndexSourceElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTableIndexSourceElement.java @@ -165,7 +165,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRelativeTabStopPositionAttribute.DEFAULT_VALUE); } @@ -180,7 +180,7 @@ public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopP TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -194,7 +194,7 @@ public Boolean getTextUseCaptionAttribute() { TextUseCaptionAttribute attr = (TextUseCaptionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-caption"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseCaptionAttribute.DEFAULT_VALUE); } @@ -208,7 +208,7 @@ public Boolean getTextUseCaptionAttribute() { public void setTextUseCaptionAttribute(Boolean textUseCaptionValue) { TextUseCaptionAttribute attr = new TextUseCaptionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseCaptionValue.booleanValue()); + attr.setValue(textUseCaptionValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentElement.java index e04c51ff2d..da7cc041be 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentElement.java @@ -110,7 +110,7 @@ public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -124,7 +124,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentEntryTemplateElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentEntryTemplateElement.java index b924baed0a..4d5dec8806 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentEntryTemplateElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentEntryTemplateElement.java @@ -82,7 +82,7 @@ public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -96,7 +96,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentSourceElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentSourceElement.java index 880ab5770c..88f5179f98 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentSourceElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTableOfContentSourceElement.java @@ -105,7 +105,7 @@ public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -119,7 +119,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** @@ -135,7 +135,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -150,7 +150,7 @@ public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopP TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -164,7 +164,7 @@ public Boolean getTextUseIndexMarksAttribute() { TextUseIndexMarksAttribute attr = (TextUseIndexMarksAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-index-marks"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -179,7 +179,7 @@ public void setTextUseIndexMarksAttribute(Boolean textUseIndexMarksValue) { TextUseIndexMarksAttribute attr = new TextUseIndexMarksAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseIndexMarksValue.booleanValue()); + attr.setValue(textUseIndexMarksValue.toString()); } /** @@ -194,7 +194,7 @@ public Boolean getTextUseIndexSourceStylesAttribute() { (TextUseIndexSourceStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-index-source-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -209,7 +209,7 @@ public void setTextUseIndexSourceStylesAttribute(Boolean textUseIndexSourceStyle TextUseIndexSourceStylesAttribute attr = new TextUseIndexSourceStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseIndexSourceStylesValue.booleanValue()); + attr.setValue(textUseIndexSourceStylesValue.toString()); } /** @@ -224,7 +224,7 @@ public Boolean getTextUseOutlineLevelAttribute() { (TextUseOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseOutlineLevelAttribute.DEFAULT_VALUE); } @@ -239,7 +239,7 @@ public void setTextUseOutlineLevelAttribute(Boolean textUseOutlineLevelValue) { TextUseOutlineLevelAttribute attr = new TextUseOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseOutlineLevelValue.booleanValue()); + attr.setValue(textUseOutlineLevelValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTimeElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTimeElement.java index c41bd7ec0d..d35ebbf198 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTimeElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTimeElement.java @@ -103,7 +103,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -117,7 +117,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTitleElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTitleElement.java index 91446e0c77..af3614ee9b 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTitleElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTitleElement.java @@ -70,7 +70,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -84,7 +84,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTocMarkElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTocMarkElement.java index de5fb507ff..1abe2aba15 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTocMarkElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTocMarkElement.java @@ -71,7 +71,7 @@ public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -85,7 +85,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTocMarkStartElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTocMarkStartElement.java index a82275d706..b022293b13 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTocMarkStartElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTocMarkStartElement.java @@ -101,7 +101,7 @@ public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -115,7 +115,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTrackedChangesElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTrackedChangesElement.java index 1c5cef2d96..5a641179fc 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTrackedChangesElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextTrackedChangesElement.java @@ -71,7 +71,7 @@ public Boolean getTextTrackChangesAttribute() { TextTrackChangesAttribute attr = (TextTrackChangesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "track-changes"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextTrackChangesAttribute.DEFAULT_VALUE); } @@ -85,7 +85,7 @@ public Boolean getTextTrackChangesAttribute() { public void setTextTrackChangesAttribute(Boolean textTrackChangesValue) { TextTrackChangesAttribute attr = new TextTrackChangesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textTrackChangesValue.booleanValue()); + attr.setValue(textTrackChangesValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserDefinedElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserDefinedElement.java index 6a0028c58f..749ac8cb02 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserDefinedElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserDefinedElement.java @@ -78,7 +78,7 @@ public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -93,7 +93,7 @@ public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -192,7 +192,7 @@ public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -206,7 +206,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** @@ -250,7 +250,7 @@ public Boolean getTextFixedAttribute() { TextFixedAttribute attr = (TextFixedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "fixed"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -264,7 +264,7 @@ public Boolean getTextFixedAttribute() { public void setTextFixedAttribute(Boolean textFixedValue) { TextFixedAttribute attr = new TextFixedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textFixedValue.booleanValue()); + attr.setValue(textFixedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserFieldDeclElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserFieldDeclElement.java index 79366ac8c5..7b474e0d97 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserFieldDeclElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserFieldDeclElement.java @@ -79,7 +79,7 @@ public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -94,7 +94,7 @@ public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -223,7 +223,7 @@ public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -237,7 +237,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserIndexElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserIndexElement.java index ef085b2901..70bd12bf71 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserIndexElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserIndexElement.java @@ -110,7 +110,7 @@ public Boolean getTextProtectedAttribute() { TextProtectedAttribute attr = (TextProtectedAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "protected"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -124,7 +124,7 @@ public Boolean getTextProtectedAttribute() { public void setTextProtectedAttribute(Boolean textProtectedValue) { TextProtectedAttribute attr = new TextProtectedAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textProtectedValue.booleanValue()); + attr.setValue(textProtectedValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserIndexEntryTemplateElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserIndexEntryTemplateElement.java index 0c24e8a674..23138bc8e5 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserIndexEntryTemplateElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserIndexEntryTemplateElement.java @@ -80,7 +80,7 @@ public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -94,7 +94,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkElement.java index 31c3fad3af..c0eb2bf245 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkElement.java @@ -103,7 +103,7 @@ public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -117,7 +117,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkStartElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkStartElement.java index dc1cc5d74a..c76a948bae 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkStartElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkStartElement.java @@ -133,7 +133,7 @@ public Integer getTextOutlineLevelAttribute() { TextOutlineLevelAttribute attr = (TextOutlineLevelAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "outline-level"); if (attr != null && !attr.getValue().isEmpty()) { - return Integer.valueOf(attr.intValue()); + return Integer.valueOf(attr.getValue()); } return null; } @@ -147,7 +147,7 @@ public Integer getTextOutlineLevelAttribute() { public void setTextOutlineLevelAttribute(Integer textOutlineLevelValue) { TextOutlineLevelAttribute attr = new TextOutlineLevelAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setIntValue(textOutlineLevelValue.intValue()); + attr.setValue(textOutlineLevelValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserIndexSourceElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserIndexSourceElement.java index 59300141f9..1991177c75 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserIndexSourceElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextUserIndexSourceElement.java @@ -81,7 +81,7 @@ public Boolean getTextCopyOutlineLevelsAttribute() { (TextCopyOutlineLevelsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "copy-outline-levels"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextCopyOutlineLevelsAttribute.DEFAULT_VALUE); } @@ -96,7 +96,7 @@ public void setTextCopyOutlineLevelsAttribute(Boolean textCopyOutlineLevelsValue TextCopyOutlineLevelsAttribute attr = new TextCopyOutlineLevelsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textCopyOutlineLevelsValue.booleanValue()); + attr.setValue(textCopyOutlineLevelsValue.toString()); } /** @@ -170,7 +170,7 @@ public Boolean getTextRelativeTabStopPositionAttribute() { (TextRelativeTabStopPositionAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "relative-tab-stop-position"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextRelativeTabStopPositionAttribute.DEFAULT_VALUE); } @@ -185,7 +185,7 @@ public void setTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopP TextRelativeTabStopPositionAttribute attr = new TextRelativeTabStopPositionAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textRelativeTabStopPositionValue.booleanValue()); + attr.setValue(textRelativeTabStopPositionValue.toString()); } /** @@ -200,7 +200,7 @@ public Boolean getTextUseFloatingFramesAttribute() { (TextUseFloatingFramesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-floating-frames"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseFloatingFramesAttribute.DEFAULT_VALUE); } @@ -215,7 +215,7 @@ public void setTextUseFloatingFramesAttribute(Boolean textUseFloatingFramesValue TextUseFloatingFramesAttribute attr = new TextUseFloatingFramesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseFloatingFramesValue.booleanValue()); + attr.setValue(textUseFloatingFramesValue.toString()); } /** @@ -229,7 +229,7 @@ public Boolean getTextUseGraphicsAttribute() { TextUseGraphicsAttribute attr = (TextUseGraphicsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-graphics"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseGraphicsAttribute.DEFAULT_VALUE); } @@ -243,7 +243,7 @@ public Boolean getTextUseGraphicsAttribute() { public void setTextUseGraphicsAttribute(Boolean textUseGraphicsValue) { TextUseGraphicsAttribute attr = new TextUseGraphicsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseGraphicsValue.booleanValue()); + attr.setValue(textUseGraphicsValue.toString()); } /** @@ -257,7 +257,7 @@ public Boolean getTextUseIndexMarksAttribute() { TextUseIndexMarksAttribute attr = (TextUseIndexMarksAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-index-marks"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseIndexMarksAttribute.DEFAULT_VALUE); } @@ -272,7 +272,7 @@ public void setTextUseIndexMarksAttribute(Boolean textUseIndexMarksValue) { TextUseIndexMarksAttribute attr = new TextUseIndexMarksAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseIndexMarksValue.booleanValue()); + attr.setValue(textUseIndexMarksValue.toString()); } /** @@ -287,7 +287,7 @@ public Boolean getTextUseIndexSourceStylesAttribute() { (TextUseIndexSourceStylesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-index-source-styles"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseIndexSourceStylesAttribute.DEFAULT_VALUE); } @@ -302,7 +302,7 @@ public void setTextUseIndexSourceStylesAttribute(Boolean textUseIndexSourceStyle TextUseIndexSourceStylesAttribute attr = new TextUseIndexSourceStylesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseIndexSourceStylesValue.booleanValue()); + attr.setValue(textUseIndexSourceStylesValue.toString()); } /** @@ -316,7 +316,7 @@ public Boolean getTextUseObjectsAttribute() { TextUseObjectsAttribute attr = (TextUseObjectsAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-objects"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseObjectsAttribute.DEFAULT_VALUE); } @@ -330,7 +330,7 @@ public Boolean getTextUseObjectsAttribute() { public void setTextUseObjectsAttribute(Boolean textUseObjectsValue) { TextUseObjectsAttribute attr = new TextUseObjectsAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseObjectsValue.booleanValue()); + attr.setValue(textUseObjectsValue.toString()); } /** @@ -344,7 +344,7 @@ public Boolean getTextUseTablesAttribute() { TextUseTablesAttribute attr = (TextUseTablesAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "use-tables"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return Boolean.valueOf(TextUseTablesAttribute.DEFAULT_VALUE); } @@ -358,7 +358,7 @@ public Boolean getTextUseTablesAttribute() { public void setTextUseTablesAttribute(Boolean textUseTablesValue) { TextUseTablesAttribute attr = new TextUseTablesAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(textUseTablesValue.booleanValue()); + attr.setValue(textUseTablesValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextVariableSetElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextVariableSetElement.java index c33752d68f..cc6b45cf08 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextVariableSetElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextVariableSetElement.java @@ -81,7 +81,7 @@ public Boolean getOfficeBooleanValueAttribute() { OfficeBooleanValueAttribute attr = (OfficeBooleanValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "boolean-value"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -96,7 +96,7 @@ public void setOfficeBooleanValueAttribute(Boolean officeBooleanValueValue) { OfficeBooleanValueAttribute attr = new OfficeBooleanValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(officeBooleanValueValue.booleanValue()); + attr.setValue(officeBooleanValueValue.toString()); } /** @@ -225,7 +225,7 @@ public Double getOfficeValueAttribute() { OfficeValueAttribute attr = (OfficeValueAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value"); if (attr != null && !attr.getValue().isEmpty()) { - return Double.valueOf(attr.doubleValue()); + return Double.valueOf(attr.getValue()); } return null; } @@ -239,7 +239,7 @@ public Double getOfficeValueAttribute() { public void setOfficeValueAttribute(Double officeValueValue) { OfficeValueAttribute attr = new OfficeValueAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setDoubleValue(officeValueValue.doubleValue()); + attr.setValue(officeValueValue.toString()); } /** diff --git a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextWordCountElement.java b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextWordCountElement.java index d671ca5c23..4b4c02cbbb 100644 --- a/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextWordCountElement.java +++ b/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextWordCountElement.java @@ -103,7 +103,7 @@ public Boolean getStyleNumLetterSyncAttribute() { (StyleNumLetterSyncAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "num-letter-sync"); if (attr != null && !attr.getValue().isEmpty()) { - return Boolean.valueOf(attr.booleanValue()); + return Boolean.valueOf(attr.getValue()); } return null; } @@ -118,7 +118,7 @@ public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue) { StyleNumLetterSyncAttribute attr = new StyleNumLetterSyncAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); - attr.setBooleanValue(styleNumLetterSyncValue.booleanValue()); + attr.setValue(styleNumLetterSyncValue.toString()); } /** From 9e2eae3fa7b20231d536345fdedc018a5f410447 Mon Sep 17 00:00:00 2001 From: Svante Schubert Date: Fri, 3 Mar 2023 21:38:07 +0100 Subject: [PATCH 15/15] Taking PuzzlePiece parent (if existent) into account of the hash, to differentiate equal named elements with different parents --- .../java/schema2template/grammar/PuzzlePiece.java | 6 +++++- .../grammar/GenerationOdfdomPythonTest.java | 6 ++++-- .../odfdom-python/odf-schema-1.0/hierarchy.py | 14 +++++++------- .../odfdom-python/odf-schema-1.1/hierarchy.py | 14 +++++++------- .../odfdom-python/odf-schema-1.2/hierarchy.py | 12 ++++++------ .../odfdom-python/odf-schema-1.3/hierarchy.py | 14 +++++++------- 6 files changed, 36 insertions(+), 30 deletions(-) diff --git a/generator/schema2template/src/main/java/schema2template/grammar/PuzzlePiece.java b/generator/schema2template/src/main/java/schema2template/grammar/PuzzlePiece.java index 438396725f..6678b59554 100644 --- a/generator/schema2template/src/main/java/schema2template/grammar/PuzzlePiece.java +++ b/generator/schema2template/src/main/java/schema2template/grammar/PuzzlePiece.java @@ -184,7 +184,11 @@ public boolean equals(Object b) { * a distinct Hash Code. */ public int hashCode() { - return (mName.hashCode()) ^ mExpression.hashCode(); + if(mParentExpression != null){ + return (mName.hashCode()) ^ mExpression.hashCode() ^ mParentExpression.hashCode(); + }else{ + return (mName.hashCode()) ^ mExpression.hashCode(); + } } /** diff --git a/generator/schema2template/src/test/java/schema2template/grammar/GenerationOdfdomPythonTest.java b/generator/schema2template/src/test/java/schema2template/grammar/GenerationOdfdomPythonTest.java index 994ae47a0e..2f51f9851e 100644 --- a/generator/schema2template/src/test/java/schema2template/grammar/GenerationOdfdomPythonTest.java +++ b/generator/schema2template/src/test/java/schema2template/grammar/GenerationOdfdomPythonTest.java @@ -30,6 +30,8 @@ import org.junit.Test; import schema2template.GenerationParameters; import schema2template.SchemaToTemplate; +import static schema2template.grammar.ConstantsBuildEnv.GENERATION_REFERENCE_BASE_DIR; +import static schema2template.grammar.DirectoryCompare.compareDirectories; public class GenerationOdfdomPythonTest { @@ -78,8 +80,8 @@ public void testAllExampleGenerations() { throw new RuntimeException(e); } // Changing order of multiple puzzlepieces makes file comparison unuseable - /*compareDirectories( + compareDirectories( GENERATION_TARGET_BASE_DIR + ODFDOM_PYTHON_DIRECTORY, - GENERATION_REFERENCE_BASE_DIR + ODFDOM_PYTHON_DIRECTORY);*/ + GENERATION_REFERENCE_BASE_DIR + ODFDOM_PYTHON_DIRECTORY); } } diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.0/hierarchy.py b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.0/hierarchy.py index 499e91d580..4ae9edb901 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.0/hierarchy.py +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.0/hierarchy.py @@ -4247,26 +4247,26 @@ 'office:value-type', \ ), 'form:list-value' : ( \ - 'office:value', \ + 'office:string-value', \ ), 'form:list-value' : ( \ - 'office:time-value', \ + 'office:boolean-value', \ ), 'form:list-value' : ( \ 'office:value', \ ), 'form:list-value' : ( \ - 'office:currency', \ - 'office:value', \ + 'office:date-value', \ ), 'form:list-value' : ( \ - 'office:string-value', \ + 'office:currency', \ + 'office:value', \ ), 'form:list-value' : ( \ - 'office:date-value', \ + 'office:value', \ ), 'form:list-value' : ( \ - 'office:boolean-value', \ + 'office:time-value', \ ), 'form:listbox' : ( \ 'form:bound-column', \ diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.1/hierarchy.py b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.1/hierarchy.py index 4904bb059d..b7b3099aba 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.1/hierarchy.py +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.1/hierarchy.py @@ -4410,26 +4410,26 @@ 'office:value-type', \ ), 'form:list-value' : ( \ + 'office:currency', \ 'office:value', \ ), 'form:list-value' : ( \ - 'office:time-value', \ + 'office:date-value', \ ), 'form:list-value' : ( \ - 'office:boolean-value', \ + 'office:value', \ ), 'form:list-value' : ( \ - 'office:date-value', \ + 'office:boolean-value', \ ), 'form:list-value' : ( \ - 'office:currency', \ - 'office:value', \ + 'office:time-value', \ ), 'form:list-value' : ( \ - 'office:value', \ + 'office:string-value', \ ), 'form:list-value' : ( \ - 'office:string-value', \ + 'office:value', \ ), 'form:listbox' : ( \ 'form:bound-column', \ diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.2/hierarchy.py b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.2/hierarchy.py index 5e77fdf932..2e4dacee14 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.2/hierarchy.py +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.2/hierarchy.py @@ -5377,25 +5377,25 @@ 'office:value-type', \ ), 'form:list-value' : ( \ - 'office:boolean-value', \ + 'office:date-value', \ ), 'form:list-value' : ( \ 'office:value', \ ), 'form:list-value' : ( \ - 'office:currency', \ - 'office:value', \ + 'office:boolean-value', \ ), 'form:list-value' : ( \ - 'office:date-value', \ + 'office:value', \ ), 'form:list-value' : ( \ - 'office:time-value', \ + 'office:string-value', \ ), 'form:list-value' : ( \ - 'office:string-value', \ + 'office:time-value', \ ), 'form:list-value' : ( \ + 'office:currency', \ 'office:value', \ ), 'form:listbox' : ( \ diff --git a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.3/hierarchy.py b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.3/hierarchy.py index fe6259bd6e..6985f666aa 100644 --- a/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.3/hierarchy.py +++ b/generator/schema2template/src/test/resources/test-reference/odf/generation/odfdom-python/odf-schema-1.3/hierarchy.py @@ -5495,25 +5495,25 @@ 'office:value-type', \ ), 'form:list-value' : ( \ - 'office:time-value', \ + 'office:date-value', \ ), 'form:list-value' : ( \ - 'office:string-value', \ + 'office:boolean-value', \ ), 'form:list-value' : ( \ - 'office:value', \ + 'office:string-value', \ ), 'form:list-value' : ( \ - 'office:currency', \ - 'office:value', \ + 'office:time-value', \ ), 'form:list-value' : ( \ - 'office:boolean-value', \ + 'office:value', \ ), 'form:list-value' : ( \ - 'office:date-value', \ + 'office:value', \ ), 'form:list-value' : ( \ + 'office:currency', \ 'office:value', \ ), 'form:listbox' : ( \